Gutenberg Blocks and Template Library by Otter - Version 2.1.2

Version Description

Download this release

Release Info

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

Code changes from version 2.1.1 to 2.1.2

CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ##### [Version 2.1.1](https://github.com/Codeinwp/otter-blocks/compare/v2.1.0...v2.1.1) (2022-11-01)
2
 
3
  - Fix Media Modal not appearing properly if used inside a Popup
1
+ ##### [Version 2.1.2](https://github.com/Codeinwp/otter-blocks/compare/v2.1.1...v2.1.2) (2022-11-09)
2
+
3
+ - Section Enhancements
4
+ - Flip Block Enhancements
5
+ - Accordion Block Enhancements
6
+ - Popup Block Enhancements
7
+ - Icon List Block Enhancements
8
+ - New Copy & Paste Style Feature
9
+ - Add .lottie files support to Lottie Block
10
+ - Add Background Overlay to Column Block
11
+ - Add Text Color option to Section & Column Block
12
+ - Add Structured FAQ Data option to Accordion Block
13
+ - Fix some Lottie features not working in Reverse Mode
14
+ - Fix Sharing Icon inconsistency in Editor/Frontend
15
+ - Fix Shape Divider not working in Section Block when used in a particular way
16
+ - Fix Evergreen Countdown stopping after sometime
17
+
18
  ##### [Version 2.1.1](https://github.com/Codeinwp/otter-blocks/compare/v2.1.0...v2.1.1) (2022-11-01)
19
 
20
  - Fix Media Modal not appearing properly if used inside a Popup
assets/fontawesome/fa-icons.json ADDED
@@ -0,0 +1,10222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "500px": {
3
+ "styles": [
4
+ "brands"
5
+ ],
6
+ "unicode": "f26e",
7
+ "label": "500px"
8
+ },
9
+ "accessible-icon": {
10
+ "styles": [
11
+ "brands"
12
+ ],
13
+ "unicode": "f368",
14
+ "label": "Accessible Icon"
15
+ },
16
+ "accusoft": {
17
+ "styles": [
18
+ "brands"
19
+ ],
20
+ "unicode": "f369",
21
+ "label": "Accusoft"
22
+ },
23
+ "acquisitions-incorporated": {
24
+ "styles": [
25
+ "brands"
26
+ ],
27
+ "unicode": "f6af",
28
+ "label": "Acquisitions Incorporated"
29
+ },
30
+ "ad": {
31
+ "styles": [
32
+ "solid"
33
+ ],
34
+ "unicode": "f641",
35
+ "label": "Ad"
36
+ },
37
+ "address-book": {
38
+ "styles": [
39
+ "solid",
40
+ "regular"
41
+ ],
42
+ "unicode": "f2b9",
43
+ "label": "Address Book"
44
+ },
45
+ "address-card": {
46
+ "styles": [
47
+ "solid",
48
+ "regular"
49
+ ],
50
+ "unicode": "f2bb",
51
+ "label": "Address Card"
52
+ },
53
+ "adjust": {
54
+ "styles": [
55
+ "solid"
56
+ ],
57
+ "unicode": "f042",
58
+ "label": "adjust"
59
+ },
60
+ "adn": {
61
+ "styles": [
62
+ "brands"
63
+ ],
64
+ "unicode": "f170",
65
+ "label": "App.net"
66
+ },
67
+ "adobe": {
68
+ "styles": [
69
+ "brands"
70
+ ],
71
+ "unicode": "f778",
72
+ "label": "Adobe"
73
+ },
74
+ "adversal": {
75
+ "styles": [
76
+ "brands"
77
+ ],
78
+ "unicode": "f36a",
79
+ "label": "Adversal"
80
+ },
81
+ "affiliatetheme": {
82
+ "styles": [
83
+ "brands"
84
+ ],
85
+ "unicode": "f36b",
86
+ "label": "affiliatetheme"
87
+ },
88
+ "air-freshener": {
89
+ "styles": [
90
+ "solid"
91
+ ],
92
+ "unicode": "f5d0",
93
+ "label": "Air Freshener"
94
+ },
95
+ "airbnb": {
96
+ "styles": [
97
+ "brands"
98
+ ],
99
+ "unicode": "f834",
100
+ "label": "Airbnb"
101
+ },
102
+ "algolia": {
103
+ "styles": [
104
+ "brands"
105
+ ],
106
+ "unicode": "f36c",
107
+ "label": "Algolia"
108
+ },
109
+ "align-center": {
110
+ "styles": [
111
+ "solid"
112
+ ],
113
+ "unicode": "f037",
114
+ "label": "align-center"
115
+ },
116
+ "align-justify": {
117
+ "styles": [
118
+ "solid"
119
+ ],
120
+ "unicode": "f039",
121
+ "label": "align-justify"
122
+ },
123
+ "align-left": {
124
+ "styles": [
125
+ "solid"
126
+ ],
127
+ "unicode": "f036",
128
+ "label": "align-left"
129
+ },
130
+ "align-right": {
131
+ "styles": [
132
+ "solid"
133
+ ],
134
+ "unicode": "f038",
135
+ "label": "align-right"
136
+ },
137
+ "alipay": {
138
+ "styles": [
139
+ "brands"
140
+ ],
141
+ "unicode": "f642",
142
+ "label": "Alipay"
143
+ },
144
+ "allergies": {
145
+ "styles": [
146
+ "solid"
147
+ ],
148
+ "unicode": "f461",
149
+ "label": "Allergies"
150
+ },
151
+ "amazon": {
152
+ "styles": [
153
+ "brands"
154
+ ],
155
+ "unicode": "f270",
156
+ "label": "Amazon"
157
+ },
158
+ "amazon-pay": {
159
+ "styles": [
160
+ "brands"
161
+ ],
162
+ "unicode": "f42c",
163
+ "label": "Amazon Pay"
164
+ },
165
+ "ambulance": {
166
+ "styles": [
167
+ "solid"
168
+ ],
169
+ "unicode": "f0f9",
170
+ "label": "ambulance"
171
+ },
172
+ "american-sign-language-interpreting": {
173
+ "styles": [
174
+ "solid"
175
+ ],
176
+ "unicode": "f2a3",
177
+ "label": "American Sign Language Interpreting"
178
+ },
179
+ "amilia": {
180
+ "styles": [
181
+ "brands"
182
+ ],
183
+ "unicode": "f36d",
184
+ "label": "Amilia"
185
+ },
186
+ "anchor": {
187
+ "styles": [
188
+ "solid"
189
+ ],
190
+ "unicode": "f13d",
191
+ "label": "Anchor"
192
+ },
193
+ "android": {
194
+ "styles": [
195
+ "brands"
196
+ ],
197
+ "unicode": "f17b",
198
+ "label": "Android"
199
+ },
200
+ "angellist": {
201
+ "styles": [
202
+ "brands"
203
+ ],
204
+ "unicode": "f209",
205
+ "label": "AngelList"
206
+ },
207
+ "angle-double-down": {
208
+ "styles": [
209
+ "solid"
210
+ ],
211
+ "unicode": "f103",
212
+ "label": "Angle Double Down"
213
+ },
214
+ "angle-double-left": {
215
+ "styles": [
216
+ "solid"
217
+ ],
218
+ "unicode": "f100",
219
+ "label": "Angle Double Left"
220
+ },
221
+ "angle-double-right": {
222
+ "styles": [
223
+ "solid"
224
+ ],
225
+ "unicode": "f101",
226
+ "label": "Angle Double Right"
227
+ },
228
+ "angle-double-up": {
229
+ "styles": [
230
+ "solid"
231
+ ],
232
+ "unicode": "f102",
233
+ "label": "Angle Double Up"
234
+ },
235
+ "angle-down": {
236
+ "styles": [
237
+ "solid"
238
+ ],
239
+ "unicode": "f107",
240
+ "label": "angle-down"
241
+ },
242
+ "angle-left": {
243
+ "styles": [
244
+ "solid"
245
+ ],
246
+ "unicode": "f104",
247
+ "label": "angle-left"
248
+ },
249
+ "angle-right": {
250
+ "styles": [
251
+ "solid"
252
+ ],
253
+ "unicode": "f105",
254
+ "label": "angle-right"
255
+ },
256
+ "angle-up": {
257
+ "styles": [
258
+ "solid"
259
+ ],
260
+ "unicode": "f106",
261
+ "label": "angle-up"
262
+ },
263
+ "angry": {
264
+ "styles": [
265
+ "solid",
266
+ "regular"
267
+ ],
268
+ "unicode": "f556",
269
+ "label": "Angry Face"
270
+ },
271
+ "angrycreative": {
272
+ "styles": [
273
+ "brands"
274
+ ],
275
+ "unicode": "f36e",
276
+ "label": "Angry Creative"
277
+ },
278
+ "angular": {
279
+ "styles": [
280
+ "brands"
281
+ ],
282
+ "unicode": "f420",
283
+ "label": "Angular"
284
+ },
285
+ "ankh": {
286
+ "styles": [
287
+ "solid"
288
+ ],
289
+ "unicode": "f644",
290
+ "label": "Ankh"
291
+ },
292
+ "app-store": {
293
+ "styles": [
294
+ "brands"
295
+ ],
296
+ "unicode": "f36f",
297
+ "label": "App Store"
298
+ },
299
+ "app-store-ios": {
300
+ "styles": [
301
+ "brands"
302
+ ],
303
+ "unicode": "f370",
304
+ "label": "iOS App Store"
305
+ },
306
+ "apper": {
307
+ "styles": [
308
+ "brands"
309
+ ],
310
+ "unicode": "f371",
311
+ "label": "Apper Systems AB"
312
+ },
313
+ "apple": {
314
+ "styles": [
315
+ "brands"
316
+ ],
317
+ "unicode": "f179",
318
+ "label": "Apple"
319
+ },
320
+ "apple-alt": {
321
+ "styles": [
322
+ "solid"
323
+ ],
324
+ "unicode": "f5d1",
325
+ "label": "Fruit Apple"
326
+ },
327
+ "apple-pay": {
328
+ "styles": [
329
+ "brands"
330
+ ],
331
+ "unicode": "f415",
332
+ "label": "Apple Pay"
333
+ },
334
+ "archive": {
335
+ "styles": [
336
+ "solid"
337
+ ],
338
+ "unicode": "f187",
339
+ "label": "Archive"
340
+ },
341
+ "archway": {
342
+ "styles": [
343
+ "solid"
344
+ ],
345
+ "unicode": "f557",
346
+ "label": "Archway"
347
+ },
348
+ "arrow-alt-circle-down": {
349
+ "styles": [
350
+ "solid",
351
+ "regular"
352
+ ],
353
+ "unicode": "f358",
354
+ "label": "Alternate Arrow Circle Down"
355
+ },
356
+ "arrow-alt-circle-left": {
357
+ "styles": [
358
+ "solid",
359
+ "regular"
360
+ ],
361
+ "unicode": "f359",
362
+ "label": "Alternate Arrow Circle Left"
363
+ },
364
+ "arrow-alt-circle-right": {
365
+ "styles": [
366
+ "solid",
367
+ "regular"
368
+ ],
369
+ "unicode": "f35a",
370
+ "label": "Alternate Arrow Circle Right"
371
+ },
372
+ "arrow-alt-circle-up": {
373
+ "styles": [
374
+ "solid",
375
+ "regular"
376
+ ],
377
+ "unicode": "f35b",
378
+ "label": "Alternate Arrow Circle Up"
379
+ },
380
+ "arrow-circle-down": {
381
+ "styles": [
382
+ "solid"
383
+ ],
384
+ "unicode": "f0ab",
385
+ "label": "Arrow Circle Down"
386
+ },
387
+ "arrow-circle-left": {
388
+ "styles": [
389
+ "solid"
390
+ ],
391
+ "unicode": "f0a8",
392
+ "label": "Arrow Circle Left"
393
+ },
394
+ "arrow-circle-right": {
395
+ "styles": [
396
+ "solid"
397
+ ],
398
+ "unicode": "f0a9",
399
+ "label": "Arrow Circle Right"
400
+ },
401
+ "arrow-circle-up": {
402
+ "styles": [
403
+ "solid"
404
+ ],
405
+ "unicode": "f0aa",
406
+ "label": "Arrow Circle Up"
407
+ },
408
+ "arrow-down": {
409
+ "styles": [
410
+ "solid"
411
+ ],
412
+ "unicode": "f063",
413
+ "label": "arrow-down"
414
+ },
415
+ "arrow-left": {
416
+ "styles": [
417
+ "solid"
418
+ ],
419
+ "unicode": "f060",
420
+ "label": "arrow-left"
421
+ },
422
+ "arrow-right": {
423
+ "styles": [
424
+ "solid"
425
+ ],
426
+ "unicode": "f061",
427
+ "label": "arrow-right"
428
+ },
429
+ "arrow-up": {
430
+ "styles": [
431
+ "solid"
432
+ ],
433
+ "unicode": "f062",
434
+ "label": "arrow-up"
435
+ },
436
+ "arrows-alt": {
437
+ "styles": [
438
+ "solid"
439
+ ],
440
+ "unicode": "f0b2",
441
+ "label": "Alternate Arrows"
442
+ },
443
+ "arrows-alt-h": {
444
+ "styles": [
445
+ "solid"
446
+ ],
447
+ "unicode": "f337",
448
+ "label": "Alternate Arrows Horizontal"
449
+ },
450
+ "arrows-alt-v": {
451
+ "styles": [
452
+ "solid"
453
+ ],
454
+ "unicode": "f338",
455
+ "label": "Alternate Arrows Vertical"
456
+ },
457
+ "artstation": {
458
+ "styles": [
459
+ "brands"
460
+ ],
461
+ "unicode": "f77a",
462
+ "label": "Artstation"
463
+ },
464
+ "assistive-listening-systems": {
465
+ "styles": [
466
+ "solid"
467
+ ],
468
+ "unicode": "f2a2",
469
+ "label": "Assistive Listening Systems"
470
+ },
471
+ "asterisk": {
472
+ "styles": [
473
+ "solid"
474
+ ],
475
+ "unicode": "f069",
476
+ "label": "asterisk"
477
+ },
478
+ "asymmetrik": {
479
+ "styles": [
480
+ "brands"
481
+ ],
482
+ "unicode": "f372",
483
+ "label": "Asymmetrik, Ltd."
484
+ },
485
+ "at": {
486
+ "styles": [
487
+ "solid"
488
+ ],
489
+ "unicode": "f1fa",
490
+ "label": "At"
491
+ },
492
+ "atlas": {
493
+ "styles": [
494
+ "solid"
495
+ ],
496
+ "unicode": "f558",
497
+ "label": "Atlas"
498
+ },
499
+ "atlassian": {
500
+ "styles": [
501
+ "brands"
502
+ ],
503
+ "unicode": "f77b",
504
+ "label": "Atlassian"
505
+ },
506
+ "atom": {
507
+ "styles": [
508
+ "solid"
509
+ ],
510
+ "unicode": "f5d2",
511
+ "label": "Atom"
512
+ },
513
+ "audible": {
514
+ "styles": [
515
+ "brands"
516
+ ],
517
+ "unicode": "f373",
518
+ "label": "Audible"
519
+ },
520
+ "audio-description": {
521
+ "styles": [
522
+ "solid"
523
+ ],
524
+ "unicode": "f29e",
525
+ "label": "Audio Description"
526
+ },
527
+ "autoprefixer": {
528
+ "styles": [
529
+ "brands"
530
+ ],
531
+ "unicode": "f41c",
532
+ "label": "Autoprefixer"
533
+ },
534
+ "avianex": {
535
+ "styles": [
536
+ "brands"
537
+ ],
538
+ "unicode": "f374",
539
+ "label": "avianex"
540
+ },
541
+ "aviato": {
542
+ "styles": [
543
+ "brands"
544
+ ],
545
+ "unicode": "f421",
546
+ "label": "Aviato"
547
+ },
548
+ "award": {
549
+ "styles": [
550
+ "solid"
551
+ ],
552
+ "unicode": "f559",
553
+ "label": "Award"
554
+ },
555
+ "aws": {
556
+ "styles": [
557
+ "brands"
558
+ ],
559
+ "unicode": "f375",
560
+ "label": "Amazon Web Services (AWS)"
561
+ },
562
+ "baby": {
563
+ "styles": [
564
+ "solid"
565
+ ],
566
+ "unicode": "f77c",
567
+ "label": "Baby"
568
+ },
569
+ "baby-carriage": {
570
+ "styles": [
571
+ "solid"
572
+ ],
573
+ "unicode": "f77d",
574
+ "label": "Baby Carriage"
575
+ },
576
+ "backspace": {
577
+ "styles": [
578
+ "solid"
579
+ ],
580
+ "unicode": "f55a",
581
+ "label": "Backspace"
582
+ },
583
+ "backward": {
584
+ "styles": [
585
+ "solid"
586
+ ],
587
+ "unicode": "f04a",
588
+ "label": "backward"
589
+ },
590
+ "bacon": {
591
+ "styles": [
592
+ "solid"
593
+ ],
594
+ "unicode": "f7e5",
595
+ "label": "Bacon"
596
+ },
597
+ "bahai": {
598
+ "styles": [
599
+ "solid"
600
+ ],
601
+ "unicode": "f666",
602
+ "label": "Bahá'í"
603
+ },
604
+ "balance-scale": {
605
+ "styles": [
606
+ "solid"
607
+ ],
608
+ "unicode": "f24e",
609
+ "label": "Balance Scale"
610
+ },
611
+ "balance-scale-left": {
612
+ "styles": [
613
+ "solid"
614
+ ],
615
+ "unicode": "f515",
616
+ "label": "Balance Scale (Left-Weighted)"
617
+ },
618
+ "balance-scale-right": {
619
+ "styles": [
620
+ "solid"
621
+ ],
622
+ "unicode": "f516",
623
+ "label": "Balance Scale (Right-Weighted)"
624
+ },
625
+ "ban": {
626
+ "styles": [
627
+ "solid"
628
+ ],
629
+ "unicode": "f05e",
630
+ "label": "ban"
631
+ },
632
+ "band-aid": {
633
+ "styles": [
634
+ "solid"
635
+ ],
636
+ "unicode": "f462",
637
+ "label": "Band-Aid"
638
+ },
639
+ "bandcamp": {
640
+ "styles": [
641
+ "brands"
642
+ ],
643
+ "unicode": "f2d5",
644
+ "label": "Bandcamp"
645
+ },
646
+ "barcode": {
647
+ "styles": [
648
+ "solid"
649
+ ],
650
+ "unicode": "f02a",
651
+ "label": "barcode"
652
+ },
653
+ "bars": {
654
+ "styles": [
655
+ "solid"
656
+ ],
657
+ "unicode": "f0c9",
658
+ "label": "Bars"
659
+ },
660
+ "baseball-ball": {
661
+ "styles": [
662
+ "solid"
663
+ ],
664
+ "unicode": "f433",
665
+ "label": "Baseball Ball"
666
+ },
667
+ "basketball-ball": {
668
+ "styles": [
669
+ "solid"
670
+ ],
671
+ "unicode": "f434",
672
+ "label": "Basketball Ball"
673
+ },
674
+ "bath": {
675
+ "styles": [
676
+ "solid"
677
+ ],
678
+ "unicode": "f2cd",
679
+ "label": "Bath"
680
+ },
681
+ "battery-empty": {
682
+ "styles": [
683
+ "solid"
684
+ ],
685
+ "unicode": "f244",
686
+ "label": "Battery Empty"
687
+ },
688
+ "battery-full": {
689
+ "styles": [
690
+ "solid"
691
+ ],
692
+ "unicode": "f240",
693
+ "label": "Battery Full"
694
+ },
695
+ "battery-half": {
696
+ "styles": [
697
+ "solid"
698
+ ],
699
+ "unicode": "f242",
700
+ "label": "Battery 1/2 Full"
701
+ },
702
+ "battery-quarter": {
703
+ "styles": [
704
+ "solid"
705
+ ],
706
+ "unicode": "f243",
707
+ "label": "Battery 1/4 Full"
708
+ },
709
+ "battery-three-quarters": {
710
+ "styles": [
711
+ "solid"
712
+ ],
713
+ "unicode": "f241",
714
+ "label": "Battery 3/4 Full"
715
+ },
716
+ "battle-net": {
717
+ "styles": [
718
+ "brands"
719
+ ],
720
+ "unicode": "f835",
721
+ "label": "Battle.net"
722
+ },
723
+ "bed": {
724
+ "styles": [
725
+ "solid"
726
+ ],
727
+ "unicode": "f236",
728
+ "label": "Bed"
729
+ },
730
+ "beer": {
731
+ "styles": [
732
+ "solid"
733
+ ],
734
+ "unicode": "f0fc",
735
+ "label": "beer"
736
+ },
737
+ "behance": {
738
+ "styles": [
739
+ "brands"
740
+ ],
741
+ "unicode": "f1b4",
742
+ "label": "Behance"
743
+ },
744
+ "behance-square": {
745
+ "styles": [
746
+ "brands"
747
+ ],
748
+ "unicode": "f1b5",
749
+ "label": "Behance Square"
750
+ },
751
+ "bell": {
752
+ "styles": [
753
+ "solid",
754
+ "regular"
755
+ ],
756
+ "unicode": "f0f3",
757
+ "label": "bell"
758
+ },
759
+ "bell-slash": {
760
+ "styles": [
761
+ "solid",
762
+ "regular"
763
+ ],
764
+ "unicode": "f1f6",
765
+ "label": "Bell Slash"
766
+ },
767
+ "bezier-curve": {
768
+ "styles": [
769
+ "solid"
770
+ ],
771
+ "unicode": "f55b",
772
+ "label": "Bezier Curve"
773
+ },
774
+ "bible": {
775
+ "styles": [
776
+ "solid"
777
+ ],
778
+ "unicode": "f647",
779
+ "label": "Bible"
780
+ },
781
+ "bicycle": {
782
+ "styles": [
783
+ "solid"
784
+ ],
785
+ "unicode": "f206",
786
+ "label": "Bicycle"
787
+ },
788
+ "biking": {
789
+ "styles": [
790
+ "solid"
791
+ ],
792
+ "unicode": "f84a",
793
+ "label": "Biking"
794
+ },
795
+ "bimobject": {
796
+ "styles": [
797
+ "brands"
798
+ ],
799
+ "unicode": "f378",
800
+ "label": "BIMobject"
801
+ },
802
+ "binoculars": {
803
+ "styles": [
804
+ "solid"
805
+ ],
806
+ "unicode": "f1e5",
807
+ "label": "Binoculars"
808
+ },
809
+ "biohazard": {
810
+ "styles": [
811
+ "solid"
812
+ ],
813
+ "unicode": "f780",
814
+ "label": "Biohazard"
815
+ },
816
+ "birthday-cake": {
817
+ "styles": [
818
+ "solid"
819
+ ],
820
+ "unicode": "f1fd",
821
+ "label": "Birthday Cake"
822
+ },
823
+ "bitbucket": {
824
+ "styles": [
825
+ "brands"
826
+ ],
827
+ "unicode": "f171",
828
+ "label": "Bitbucket"
829
+ },
830
+ "bitcoin": {
831
+ "styles": [
832
+ "brands"
833
+ ],
834
+ "unicode": "f379",
835
+ "label": "Bitcoin"
836
+ },
837
+ "bity": {
838
+ "styles": [
839
+ "brands"
840
+ ],
841
+ "unicode": "f37a",
842
+ "label": "Bity"
843
+ },
844
+ "black-tie": {
845
+ "styles": [
846
+ "brands"
847
+ ],
848
+ "unicode": "f27e",
849
+ "label": "Font Awesome Black Tie"
850
+ },
851
+ "blackberry": {
852
+ "styles": [
853
+ "brands"
854
+ ],
855
+ "unicode": "f37b",
856
+ "label": "BlackBerry"
857
+ },
858
+ "blender": {
859
+ "styles": [
860
+ "solid"
861
+ ],
862
+ "unicode": "f517",
863
+ "label": "Blender"
864
+ },
865
+ "blender-phone": {
866
+ "styles": [
867
+ "solid"
868
+ ],
869
+ "unicode": "f6b6",
870
+ "label": "Blender Phone"
871
+ },
872
+ "blind": {
873
+ "styles": [
874
+ "solid"
875
+ ],
876
+ "unicode": "f29d",
877
+ "label": "Blind"
878
+ },
879
+ "blog": {
880
+ "styles": [
881
+ "solid"
882
+ ],
883
+ "unicode": "f781",
884
+ "label": "Blog"
885
+ },
886
+ "blogger": {
887
+ "styles": [
888
+ "brands"
889
+ ],
890
+ "unicode": "f37c",
891
+ "label": "Blogger"
892
+ },
893
+ "blogger-b": {
894
+ "styles": [
895
+ "brands"
896
+ ],
897
+ "unicode": "f37d",
898
+ "label": "Blogger B"
899
+ },
900
+ "bluetooth": {
901
+ "styles": [
902
+ "brands"
903
+ ],
904
+ "unicode": "f293",
905
+ "label": "Bluetooth"
906
+ },
907
+ "bluetooth-b": {
908
+ "styles": [
909
+ "brands"
910
+ ],
911
+ "unicode": "f294",
912
+ "label": "Bluetooth"
913
+ },
914
+ "bold": {
915
+ "styles": [
916
+ "solid"
917
+ ],
918
+ "unicode": "f032",
919
+ "label": "bold"
920
+ },
921
+ "bolt": {
922
+ "styles": [
923
+ "solid"
924
+ ],
925
+ "unicode": "f0e7",
926
+ "label": "Lightning Bolt"
927
+ },
928
+ "bomb": {
929
+ "styles": [
930
+ "solid"
931
+ ],
932
+ "unicode": "f1e2",
933
+ "label": "Bomb"
934
+ },
935
+ "bone": {
936
+ "styles": [
937
+ "solid"
938
+ ],
939
+ "unicode": "f5d7",
940
+ "label": "Bone"
941
+ },
942
+ "bong": {
943
+ "styles": [
944
+ "solid"
945
+ ],
946
+ "unicode": "f55c",
947
+ "label": "Bong"
948
+ },
949
+ "book": {
950
+ "styles": [
951
+ "solid"
952
+ ],
953
+ "unicode": "f02d",
954
+ "label": "book"
955
+ },
956
+ "book-dead": {
957
+ "styles": [
958
+ "solid"
959
+ ],
960
+ "unicode": "f6b7",
961
+ "label": "Book of the Dead"
962
+ },
963
+ "book-medical": {
964
+ "styles": [
965
+ "solid"
966
+ ],
967
+ "unicode": "f7e6",
968
+ "label": "Medical Book"
969
+ },
970
+ "book-open": {
971
+ "styles": [
972
+ "solid"
973
+ ],
974
+ "unicode": "f518",
975
+ "label": "Book Open"
976
+ },
977
+ "book-reader": {
978
+ "styles": [
979
+ "solid"
980
+ ],
981
+ "unicode": "f5da",
982
+ "label": "Book Reader"
983
+ },
984
+ "bookmark": {
985
+ "styles": [
986
+ "solid",
987
+ "regular"
988
+ ],
989
+ "unicode": "f02e",
990
+ "label": "bookmark"
991
+ },
992
+ "bootstrap": {
993
+ "styles": [
994
+ "brands"
995
+ ],
996
+ "unicode": "f836",
997
+ "label": "Bootstrap"
998
+ },
999
+ "border-all": {
1000
+ "styles": [
1001
+ "solid"
1002
+ ],
1003
+ "unicode": "f84c",
1004
+ "label": "Border All"
1005
+ },
1006
+ "border-none": {
1007
+ "styles": [
1008
+ "solid"
1009
+ ],
1010
+ "unicode": "f850",
1011
+ "label": "Border None"
1012
+ },
1013
+ "border-style": {
1014
+ "styles": [
1015
+ "solid"
1016
+ ],
1017
+ "unicode": "f853",
1018
+ "label": "Border Style"
1019
+ },
1020
+ "bowling-ball": {
1021
+ "styles": [
1022
+ "solid"
1023
+ ],
1024
+ "unicode": "f436",
1025
+ "label": "Bowling Ball"
1026
+ },
1027
+ "box": {
1028
+ "styles": [
1029
+ "solid"
1030
+ ],
1031
+ "unicode": "f466",
1032
+ "label": "Box"
1033
+ },
1034
+ "box-open": {
1035
+ "styles": [
1036
+ "solid"
1037
+ ],
1038
+ "unicode": "f49e",
1039
+ "label": "Box Open"
1040
+ },
1041
+ "box-tissue": {
1042
+ "styles": [
1043
+ "solid"
1044
+ ],
1045
+ "unicode": "f95b",
1046
+ "label": "Tissue Box"
1047
+ },
1048
+ "boxes": {
1049
+ "styles": [
1050
+ "solid"
1051
+ ],
1052
+ "unicode": "f468",
1053
+ "label": "Boxes"
1054
+ },
1055
+ "braille": {
1056
+ "styles": [
1057
+ "solid"
1058
+ ],
1059
+ "unicode": "f2a1",
1060
+ "label": "Braille"
1061
+ },
1062
+ "brain": {
1063
+ "styles": [
1064
+ "solid"
1065
+ ],
1066
+ "unicode": "f5dc",
1067
+ "label": "Brain"
1068
+ },
1069
+ "bread-slice": {
1070
+ "styles": [
1071
+ "solid"
1072
+ ],
1073
+ "unicode": "f7ec",
1074
+ "label": "Bread Slice"
1075
+ },
1076
+ "briefcase": {
1077
+ "styles": [
1078
+ "solid"
1079
+ ],
1080
+ "unicode": "f0b1",
1081
+ "label": "Briefcase"
1082
+ },
1083
+ "briefcase-medical": {
1084
+ "styles": [
1085
+ "solid"
1086
+ ],
1087
+ "unicode": "f469",
1088
+ "label": "Medical Briefcase"
1089
+ },
1090
+ "broadcast-tower": {
1091
+ "styles": [
1092
+ "solid"
1093
+ ],
1094
+ "unicode": "f519",
1095
+ "label": "Broadcast Tower"
1096
+ },
1097
+ "broom": {
1098
+ "styles": [
1099
+ "solid"
1100
+ ],
1101
+ "unicode": "f51a",
1102
+ "label": "Broom"
1103
+ },
1104
+ "brush": {
1105
+ "styles": [
1106
+ "solid"
1107
+ ],
1108
+ "unicode": "f55d",
1109
+ "label": "Brush"
1110
+ },
1111
+ "btc": {
1112
+ "styles": [
1113
+ "brands"
1114
+ ],
1115
+ "unicode": "f15a",
1116
+ "label": "BTC"
1117
+ },
1118
+ "buffer": {
1119
+ "styles": [
1120
+ "brands"
1121
+ ],
1122
+ "unicode": "f837",
1123
+ "label": "Buffer"
1124
+ },
1125
+ "bug": {
1126
+ "styles": [
1127
+ "solid"
1128
+ ],
1129
+ "unicode": "f188",
1130
+ "label": "Bug"
1131
+ },
1132
+ "building": {
1133
+ "styles": [
1134
+ "solid",
1135
+ "regular"
1136
+ ],
1137
+ "unicode": "f1ad",
1138
+ "label": "Building"
1139
+ },
1140
+ "bullhorn": {
1141
+ "styles": [
1142
+ "solid"
1143
+ ],
1144
+ "unicode": "f0a1",
1145
+ "label": "bullhorn"
1146
+ },
1147
+ "bullseye": {
1148
+ "styles": [
1149
+ "solid"
1150
+ ],
1151
+ "unicode": "f140",
1152
+ "label": "Bullseye"
1153
+ },
1154
+ "burn": {
1155
+ "styles": [
1156
+ "solid"
1157
+ ],
1158
+ "unicode": "f46a",
1159
+ "label": "Burn"
1160
+ },
1161
+ "buromobelexperte": {
1162
+ "styles": [
1163
+ "brands"
1164
+ ],
1165
+ "unicode": "f37f",
1166
+ "label": "Büromöbel-Experte GmbH & Co. KG."
1167
+ },
1168
+ "bus": {
1169
+ "styles": [
1170
+ "solid"
1171
+ ],
1172
+ "unicode": "f207",
1173
+ "label": "Bus"
1174
+ },
1175
+ "bus-alt": {
1176
+ "styles": [
1177
+ "solid"
1178
+ ],
1179
+ "unicode": "f55e",
1180
+ "label": "Bus Alt"
1181
+ },
1182
+ "business-time": {
1183
+ "styles": [
1184
+ "solid"
1185
+ ],
1186
+ "unicode": "f64a",
1187
+ "label": "Business Time"
1188
+ },
1189
+ "buy-n-large": {
1190
+ "styles": [
1191
+ "brands"
1192
+ ],
1193
+ "unicode": "f8a6",
1194
+ "label": "Buy n Large"
1195
+ },
1196
+ "buysellads": {
1197
+ "styles": [
1198
+ "brands"
1199
+ ],
1200
+ "unicode": "f20d",
1201
+ "label": "BuySellAds"
1202
+ },
1203
+ "calculator": {
1204
+ "styles": [
1205
+ "solid"
1206
+ ],
1207
+ "unicode": "f1ec",
1208
+ "label": "Calculator"
1209
+ },
1210
+ "calendar": {
1211
+ "styles": [
1212
+ "solid",
1213
+ "regular"
1214
+ ],
1215
+ "unicode": "f133",
1216
+ "label": "Calendar"
1217
+ },
1218
+ "calendar-alt": {
1219
+ "styles": [
1220
+ "solid",
1221
+ "regular"
1222
+ ],
1223
+ "unicode": "f073",
1224
+ "label": "Alternate Calendar"
1225
+ },
1226
+ "calendar-check": {
1227
+ "styles": [
1228
+ "solid",
1229
+ "regular"
1230
+ ],
1231
+ "unicode": "f274",
1232
+ "label": "Calendar Check"
1233
+ },
1234
+ "calendar-day": {
1235
+ "styles": [
1236
+ "solid"
1237
+ ],
1238
+ "unicode": "f783",
1239
+ "label": "Calendar with Day Focus"
1240
+ },
1241
+ "calendar-minus": {
1242
+ "styles": [
1243
+ "solid",
1244
+ "regular"
1245
+ ],
1246
+ "unicode": "f272",
1247
+ "label": "Calendar Minus"
1248
+ },
1249
+ "calendar-plus": {
1250
+ "styles": [
1251
+ "solid",
1252
+ "regular"
1253
+ ],
1254
+ "unicode": "f271",
1255
+ "label": "Calendar Plus"
1256
+ },
1257
+ "calendar-times": {
1258
+ "styles": [
1259
+ "solid",
1260
+ "regular"
1261
+ ],
1262
+ "unicode": "f273",
1263
+ "label": "Calendar Times"
1264
+ },
1265
+ "calendar-week": {
1266
+ "styles": [
1267
+ "solid"
1268
+ ],
1269
+ "unicode": "f784",
1270
+ "label": "Calendar with Week Focus"
1271
+ },
1272
+ "camera": {
1273
+ "styles": [
1274
+ "solid"
1275
+ ],
1276
+ "unicode": "f030",
1277
+ "label": "camera"
1278
+ },
1279
+ "camera-retro": {
1280
+ "styles": [
1281
+ "solid"
1282
+ ],
1283
+ "unicode": "f083",
1284
+ "label": "Retro Camera"
1285
+ },
1286
+ "campground": {
1287
+ "styles": [
1288
+ "solid"
1289
+ ],
1290
+ "unicode": "f6bb",
1291
+ "label": "Campground"
1292
+ },
1293
+ "canadian-maple-leaf": {
1294
+ "styles": [
1295
+ "brands"
1296
+ ],
1297
+ "unicode": "f785",
1298
+ "label": "Canadian Maple Leaf"
1299
+ },
1300
+ "candy-cane": {
1301
+ "styles": [
1302
+ "solid"
1303
+ ],
1304
+ "unicode": "f786",
1305
+ "label": "Candy Cane"
1306
+ },
1307
+ "cannabis": {
1308
+ "styles": [
1309
+ "solid"
1310
+ ],
1311
+ "unicode": "f55f",
1312
+ "label": "Cannabis"
1313
+ },
1314
+ "capsules": {
1315
+ "styles": [
1316
+ "solid"
1317
+ ],
1318
+ "unicode": "f46b",
1319
+ "label": "Capsules"
1320
+ },
1321
+ "car": {
1322
+ "styles": [
1323
+ "solid"
1324
+ ],
1325
+ "unicode": "f1b9",
1326
+ "label": "Car"
1327
+ },
1328
+ "car-alt": {
1329
+ "styles": [
1330
+ "solid"
1331
+ ],
1332
+ "unicode": "f5de",
1333
+ "label": "Alternate Car"
1334
+ },
1335
+ "car-battery": {
1336
+ "styles": [
1337
+ "solid"
1338
+ ],
1339
+ "unicode": "f5df",
1340
+ "label": "Car Battery"
1341
+ },
1342
+ "car-crash": {
1343
+ "styles": [
1344
+ "solid"
1345
+ ],
1346
+ "unicode": "f5e1",
1347
+ "label": "Car Crash"
1348
+ },
1349
+ "car-side": {
1350
+ "styles": [
1351
+ "solid"
1352
+ ],
1353
+ "unicode": "f5e4",
1354
+ "label": "Car Side"
1355
+ },
1356
+ "caravan": {
1357
+ "styles": [
1358
+ "solid"
1359
+ ],
1360
+ "unicode": "f8ff",
1361
+ "label": "Caravan"
1362
+ },
1363
+ "caret-down": {
1364
+ "styles": [
1365
+ "solid"
1366
+ ],
1367
+ "unicode": "f0d7",
1368
+ "label": "Caret Down"
1369
+ },
1370
+ "caret-left": {
1371
+ "styles": [
1372
+ "solid"
1373
+ ],
1374
+ "unicode": "f0d9",
1375
+ "label": "Caret Left"
1376
+ },
1377
+ "caret-right": {
1378
+ "styles": [
1379
+ "solid"
1380
+ ],
1381
+ "unicode": "f0da",
1382
+ "label": "Caret Right"
1383
+ },
1384
+ "caret-square-down": {
1385
+ "styles": [
1386
+ "solid",
1387
+ "regular"
1388
+ ],
1389
+ "unicode": "f150",
1390
+ "label": "Caret Square Down"
1391
+ },
1392
+ "caret-square-left": {
1393
+ "styles": [
1394
+ "solid",
1395
+ "regular"
1396
+ ],
1397
+ "unicode": "f191",
1398
+ "label": "Caret Square Left"
1399
+ },
1400
+ "caret-square-right": {
1401
+ "styles": [
1402
+ "solid",
1403
+ "regular"
1404
+ ],
1405
+ "unicode": "f152",
1406
+ "label": "Caret Square Right"
1407
+ },
1408
+ "caret-square-up": {
1409
+ "styles": [
1410
+ "solid",
1411
+ "regular"
1412
+ ],
1413
+ "unicode": "f151",
1414
+ "label": "Caret Square Up"
1415
+ },
1416
+ "caret-up": {
1417
+ "styles": [
1418
+ "solid"
1419
+ ],
1420
+ "unicode": "f0d8",
1421
+ "label": "Caret Up"
1422
+ },
1423
+ "carrot": {
1424
+ "styles": [
1425
+ "solid"
1426
+ ],
1427
+ "unicode": "f787",
1428
+ "label": "Carrot"
1429
+ },
1430
+ "cart-arrow-down": {
1431
+ "styles": [
1432
+ "solid"
1433
+ ],
1434
+ "unicode": "f218",
1435
+ "label": "Shopping Cart Arrow Down"
1436
+ },
1437
+ "cart-plus": {
1438
+ "styles": [
1439
+ "solid"
1440
+ ],
1441
+ "unicode": "f217",
1442
+ "label": "Add to Shopping Cart"
1443
+ },
1444
+ "cash-register": {
1445
+ "styles": [
1446
+ "solid"
1447
+ ],
1448
+ "unicode": "f788",
1449
+ "label": "Cash Register"
1450
+ },
1451
+ "cat": {
1452
+ "styles": [
1453
+ "solid"
1454
+ ],
1455
+ "unicode": "f6be",
1456
+ "label": "Cat"
1457
+ },
1458
+ "cc-amazon-pay": {
1459
+ "styles": [
1460
+ "brands"
1461
+ ],
1462
+ "unicode": "f42d",
1463
+ "label": "Amazon Pay Credit Card"
1464
+ },
1465
+ "cc-amex": {
1466
+ "styles": [
1467
+ "brands"
1468
+ ],
1469
+ "unicode": "f1f3",
1470
+ "label": "American Express Credit Card"
1471
+ },
1472
+ "cc-apple-pay": {
1473
+ "styles": [
1474
+ "brands"
1475
+ ],
1476
+ "unicode": "f416",
1477
+ "label": "Apple Pay Credit Card"
1478
+ },
1479
+ "cc-diners-club": {
1480
+ "styles": [
1481
+ "brands"
1482
+ ],
1483
+ "unicode": "f24c",
1484
+ "label": "Diner's Club Credit Card"
1485
+ },
1486
+ "cc-discover": {
1487
+ "styles": [
1488
+ "brands"
1489
+ ],
1490
+ "unicode": "f1f2",
1491
+ "label": "Discover Credit Card"
1492
+ },
1493
+ "cc-jcb": {
1494
+ "styles": [
1495
+ "brands"
1496
+ ],
1497
+ "unicode": "f24b",
1498
+ "label": "JCB Credit Card"
1499
+ },
1500
+ "cc-mastercard": {
1501
+ "styles": [
1502
+ "brands"
1503
+ ],
1504
+ "unicode": "f1f1",
1505
+ "label": "MasterCard Credit Card"
1506
+ },
1507
+ "cc-paypal": {
1508
+ "styles": [
1509
+ "brands"
1510
+ ],
1511
+ "unicode": "f1f4",
1512
+ "label": "Paypal Credit Card"
1513
+ },
1514
+ "cc-stripe": {
1515
+ "styles": [
1516
+ "brands"
1517
+ ],
1518
+ "unicode": "f1f5",
1519
+ "label": "Stripe Credit Card"
1520
+ },
1521
+ "cc-visa": {
1522
+ "styles": [
1523
+ "brands"
1524
+ ],
1525
+ "unicode": "f1f0",
1526
+ "label": "Visa Credit Card"
1527
+ },
1528
+ "centercode": {
1529
+ "styles": [
1530
+ "brands"
1531
+ ],
1532
+ "unicode": "f380",
1533
+ "label": "Centercode"
1534
+ },
1535
+ "centos": {
1536
+ "styles": [
1537
+ "brands"
1538
+ ],
1539
+ "unicode": "f789",
1540
+ "label": "Centos"
1541
+ },
1542
+ "certificate": {
1543
+ "styles": [
1544
+ "solid"
1545
+ ],
1546
+ "unicode": "f0a3",
1547
+ "label": "certificate"
1548
+ },
1549
+ "chair": {
1550
+ "styles": [
1551
+ "solid"
1552
+ ],
1553
+ "unicode": "f6c0",
1554
+ "label": "Chair"
1555
+ },
1556
+ "chalkboard": {
1557
+ "styles": [
1558
+ "solid"
1559
+ ],
1560
+ "unicode": "f51b",
1561
+ "label": "Chalkboard"
1562
+ },
1563
+ "chalkboard-teacher": {
1564
+ "styles": [
1565
+ "solid"
1566
+ ],
1567
+ "unicode": "f51c",
1568
+ "label": "Chalkboard Teacher"
1569
+ },
1570
+ "charging-station": {
1571
+ "styles": [
1572
+ "solid"
1573
+ ],
1574
+ "unicode": "f5e7",
1575
+ "label": "Charging Station"
1576
+ },
1577
+ "chart-area": {
1578
+ "styles": [
1579
+ "solid"
1580
+ ],
1581
+ "unicode": "f1fe",
1582
+ "label": "Area Chart"
1583
+ },
1584
+ "chart-bar": {
1585
+ "styles": [
1586
+ "solid",
1587
+ "regular"
1588
+ ],
1589
+ "unicode": "f080",
1590
+ "label": "Bar Chart"
1591
+ },
1592
+ "chart-line": {
1593
+ "styles": [
1594
+ "solid"
1595
+ ],
1596
+ "unicode": "f201",
1597
+ "label": "Line Chart"
1598
+ },
1599
+ "chart-pie": {
1600
+ "styles": [
1601
+ "solid"
1602
+ ],
1603
+ "unicode": "f200",
1604
+ "label": "Pie Chart"
1605
+ },
1606
+ "check": {
1607
+ "styles": [
1608
+ "solid"
1609
+ ],
1610
+ "unicode": "f00c",
1611
+ "label": "Check"
1612
+ },
1613
+ "check-circle": {
1614
+ "styles": [
1615
+ "solid",
1616
+ "regular"
1617
+ ],
1618
+ "unicode": "f058",
1619
+ "label": "Check Circle"
1620
+ },
1621
+ "check-double": {
1622
+ "styles": [
1623
+ "solid"
1624
+ ],
1625
+ "unicode": "f560",
1626
+ "label": "Double Check"
1627
+ },
1628
+ "check-square": {
1629
+ "styles": [
1630
+ "solid",
1631
+ "regular"
1632
+ ],
1633
+ "unicode": "f14a",
1634
+ "label": "Check Square"
1635
+ },
1636
+ "cheese": {
1637
+ "styles": [
1638
+ "solid"
1639
+ ],
1640
+ "unicode": "f7ef",
1641
+ "label": "Cheese"
1642
+ },
1643
+ "chess": {
1644
+ "styles": [
1645
+ "solid"
1646
+ ],
1647
+ "unicode": "f439",
1648
+ "label": "Chess"
1649
+ },
1650
+ "chess-bishop": {
1651
+ "styles": [
1652
+ "solid"
1653
+ ],
1654
+ "unicode": "f43a",
1655
+ "label": "Chess Bishop"
1656
+ },
1657
+ "chess-board": {
1658
+ "styles": [
1659
+ "solid"
1660
+ ],
1661
+ "unicode": "f43c",
1662
+ "label": "Chess Board"
1663
+ },
1664
+ "chess-king": {
1665
+ "styles": [
1666
+ "solid"
1667
+ ],
1668
+ "unicode": "f43f",
1669
+ "label": "Chess King"
1670
+ },
1671
+ "chess-knight": {
1672
+ "styles": [
1673
+ "solid"
1674
+ ],
1675
+ "unicode": "f441",
1676
+ "label": "Chess Knight"
1677
+ },
1678
+ "chess-pawn": {
1679
+ "styles": [
1680
+ "solid"
1681
+ ],
1682
+ "unicode": "f443",
1683
+ "label": "Chess Pawn"
1684
+ },
1685
+ "chess-queen": {
1686
+ "styles": [
1687
+ "solid"
1688
+ ],
1689
+ "unicode": "f445",
1690
+ "label": "Chess Queen"
1691
+ },
1692
+ "chess-rook": {
1693
+ "styles": [
1694
+ "solid"
1695
+ ],
1696
+ "unicode": "f447",
1697
+ "label": "Chess Rook"
1698
+ },
1699
+ "chevron-circle-down": {
1700
+ "styles": [
1701
+ "solid"
1702
+ ],
1703
+ "unicode": "f13a",
1704
+ "label": "Chevron Circle Down"
1705
+ },
1706
+ "chevron-circle-left": {
1707
+ "styles": [
1708
+ "solid"
1709
+ ],
1710
+ "unicode": "f137",
1711
+ "label": "Chevron Circle Left"
1712
+ },
1713
+ "chevron-circle-right": {
1714
+ "styles": [
1715
+ "solid"
1716
+ ],
1717
+ "unicode": "f138",
1718
+ "label": "Chevron Circle Right"
1719
+ },
1720
+ "chevron-circle-up": {
1721
+ "styles": [
1722
+ "solid"
1723
+ ],
1724
+ "unicode": "f139",
1725
+ "label": "Chevron Circle Up"
1726
+ },
1727
+ "chevron-down": {
1728
+ "styles": [
1729
+ "solid"
1730
+ ],
1731
+ "unicode": "f078",
1732
+ "label": "chevron-down"
1733
+ },
1734
+ "chevron-left": {
1735
+ "styles": [
1736
+ "solid"
1737
+ ],
1738
+ "unicode": "f053",
1739
+ "label": "chevron-left"
1740
+ },
1741
+ "chevron-right": {
1742
+ "styles": [
1743
+ "solid"
1744
+ ],
1745
+ "unicode": "f054",
1746
+ "label": "chevron-right"
1747
+ },
1748
+ "chevron-up": {
1749
+ "styles": [
1750
+ "solid"
1751
+ ],
1752
+ "unicode": "f077",
1753
+ "label": "chevron-up"
1754
+ },
1755
+ "child": {
1756
+ "styles": [
1757
+ "solid"
1758
+ ],
1759
+ "unicode": "f1ae",
1760
+ "label": "Child"
1761
+ },
1762
+ "chrome": {
1763
+ "styles": [
1764
+ "brands"
1765
+ ],
1766
+ "unicode": "f268",
1767
+ "label": "Chrome"
1768
+ },
1769
+ "chromecast": {
1770
+ "styles": [
1771
+ "brands"
1772
+ ],
1773
+ "unicode": "f838",
1774
+ "label": "Chromecast"
1775
+ },
1776
+ "church": {
1777
+ "styles": [
1778
+ "solid"
1779
+ ],
1780
+ "unicode": "f51d",
1781
+ "label": "Church"
1782
+ },
1783
+ "circle": {
1784
+ "styles": [
1785
+ "solid",
1786
+ "regular"
1787
+ ],
1788
+ "unicode": "f111",
1789
+ "label": "Circle"
1790
+ },
1791
+ "circle-notch": {
1792
+ "styles": [
1793
+ "solid"
1794
+ ],
1795
+ "unicode": "f1ce",
1796
+ "label": "Circle Notched"
1797
+ },
1798
+ "city": {
1799
+ "styles": [
1800
+ "solid"
1801
+ ],
1802
+ "unicode": "f64f",
1803
+ "label": "City"
1804
+ },
1805
+ "clinic-medical": {
1806
+ "styles": [
1807
+ "solid"
1808
+ ],
1809
+ "unicode": "f7f2",
1810
+ "label": "Medical Clinic"
1811
+ },
1812
+ "clipboard": {
1813
+ "styles": [
1814
+ "solid",
1815
+ "regular"
1816
+ ],
1817
+ "unicode": "f328",
1818
+ "label": "Clipboard"
1819
+ },
1820
+ "clipboard-check": {
1821
+ "styles": [
1822
+ "solid"
1823
+ ],
1824
+ "unicode": "f46c",
1825
+ "label": "Clipboard with Check"
1826
+ },
1827
+ "clipboard-list": {
1828
+ "styles": [
1829
+ "solid"
1830
+ ],
1831
+ "unicode": "f46d",
1832
+ "label": "Clipboard List"
1833
+ },
1834
+ "clock": {
1835
+ "styles": [
1836
+ "solid",
1837
+ "regular"
1838
+ ],
1839
+ "unicode": "f017",
1840
+ "label": "Clock"
1841
+ },
1842
+ "clone": {
1843
+ "styles": [
1844
+ "solid",
1845
+ "regular"
1846
+ ],
1847
+ "unicode": "f24d",
1848
+ "label": "Clone"
1849
+ },
1850
+ "closed-captioning": {
1851
+ "styles": [
1852
+ "solid",
1853
+ "regular"
1854
+ ],
1855
+ "unicode": "f20a",
1856
+ "label": "Closed Captioning"
1857
+ },
1858
+ "cloud": {
1859
+ "styles": [
1860
+ "solid"
1861
+ ],
1862
+ "unicode": "f0c2",
1863
+ "label": "Cloud"
1864
+ },
1865
+ "cloud-download-alt": {
1866
+ "styles": [
1867
+ "solid"
1868
+ ],
1869
+ "unicode": "f381",
1870
+ "label": "Alternate Cloud Download"
1871
+ },
1872
+ "cloud-meatball": {
1873
+ "styles": [
1874
+ "solid"
1875
+ ],
1876
+ "unicode": "f73b",
1877
+ "label": "Cloud with (a chance of) Meatball"
1878
+ },
1879
+ "cloud-moon": {
1880
+ "styles": [
1881
+ "solid"
1882
+ ],
1883
+ "unicode": "f6c3",
1884
+ "label": "Cloud with Moon"
1885
+ },
1886
+ "cloud-moon-rain": {
1887
+ "styles": [
1888
+ "solid"
1889
+ ],
1890
+ "unicode": "f73c",
1891
+ "label": "Cloud with Moon and Rain"
1892
+ },
1893
+ "cloud-rain": {
1894
+ "styles": [
1895
+ "solid"
1896
+ ],
1897
+ "unicode": "f73d",
1898
+ "label": "Cloud with Rain"
1899
+ },
1900
+ "cloud-showers-heavy": {
1901
+ "styles": [
1902
+ "solid"
1903
+ ],
1904
+ "unicode": "f740",
1905
+ "label": "Cloud with Heavy Showers"
1906
+ },
1907
+ "cloud-sun": {
1908
+ "styles": [
1909
+ "solid"
1910
+ ],
1911
+ "unicode": "f6c4",
1912
+ "label": "Cloud with Sun"
1913
+ },
1914
+ "cloud-sun-rain": {
1915
+ "styles": [
1916
+ "solid"
1917
+ ],
1918
+ "unicode": "f743",
1919
+ "label": "Cloud with Sun and Rain"
1920
+ },
1921
+ "cloud-upload-alt": {
1922
+ "styles": [
1923
+ "solid"
1924
+ ],
1925
+ "unicode": "f382",
1926
+ "label": "Alternate Cloud Upload"
1927
+ },
1928
+ "cloudscale": {
1929
+ "styles": [
1930
+ "brands"
1931
+ ],
1932
+ "unicode": "f383",
1933
+ "label": "cloudscale.ch"
1934
+ },
1935
+ "cloudsmith": {
1936
+ "styles": [
1937
+ "brands"
1938
+ ],
1939
+ "unicode": "f384",
1940
+ "label": "Cloudsmith"
1941
+ },
1942
+ "cloudversify": {
1943
+ "styles": [
1944
+ "brands"
1945
+ ],
1946
+ "unicode": "f385",
1947
+ "label": "cloudversify"
1948
+ },
1949
+ "cocktail": {
1950
+ "styles": [
1951
+ "solid"
1952
+ ],
1953
+ "unicode": "f561",
1954
+ "label": "Cocktail"
1955
+ },
1956
+ "code": {
1957
+ "styles": [
1958
+ "solid"
1959
+ ],
1960
+ "unicode": "f121",
1961
+ "label": "Code"
1962
+ },
1963
+ "code-branch": {
1964
+ "styles": [
1965
+ "solid"
1966
+ ],
1967
+ "unicode": "f126",
1968
+ "label": "Code Branch"
1969
+ },
1970
+ "codepen": {
1971
+ "styles": [
1972
+ "brands"
1973
+ ],
1974
+ "unicode": "f1cb",
1975
+ "label": "Codepen"
1976
+ },
1977
+ "codiepie": {
1978
+ "styles": [
1979
+ "brands"
1980
+ ],
1981
+ "unicode": "f284",
1982
+ "label": "Codie Pie"
1983
+ },
1984
+ "coffee": {
1985
+ "styles": [
1986
+ "solid"
1987
+ ],
1988
+ "unicode": "f0f4",
1989
+ "label": "Coffee"
1990
+ },
1991
+ "cog": {
1992
+ "styles": [
1993
+ "solid"
1994
+ ],
1995
+ "unicode": "f013",
1996
+ "label": "cog"
1997
+ },
1998
+ "cogs": {
1999
+ "styles": [
2000
+ "solid"
2001
+ ],
2002
+ "unicode": "f085",
2003
+ "label": "cogs"
2004
+ },
2005
+ "coins": {
2006
+ "styles": [
2007
+ "solid"
2008
+ ],
2009
+ "unicode": "f51e",
2010
+ "label": "Coins"
2011
+ },
2012
+ "columns": {
2013
+ "styles": [
2014
+ "solid"
2015
+ ],
2016
+ "unicode": "f0db",
2017
+ "label": "Columns"
2018
+ },
2019
+ "comment": {
2020
+ "styles": [
2021
+ "solid",
2022
+ "regular"
2023
+ ],
2024
+ "unicode": "f075",
2025
+ "label": "comment"
2026
+ },
2027
+ "comment-alt": {
2028
+ "styles": [
2029
+ "solid",
2030
+ "regular"
2031
+ ],
2032
+ "unicode": "f27a",
2033
+ "label": "Alternate Comment"
2034
+ },
2035
+ "comment-dollar": {
2036
+ "styles": [
2037
+ "solid"
2038
+ ],
2039
+ "unicode": "f651",
2040
+ "label": "Comment Dollar"
2041
+ },
2042
+ "comment-dots": {
2043
+ "styles": [
2044
+ "solid",
2045
+ "regular"
2046
+ ],
2047
+ "unicode": "f4ad",
2048
+ "label": "Comment Dots"
2049
+ },
2050
+ "comment-medical": {
2051
+ "styles": [
2052
+ "solid"
2053
+ ],
2054
+ "unicode": "f7f5",
2055
+ "label": "Alternate Medical Chat"
2056
+ },
2057
+ "comment-slash": {
2058
+ "styles": [
2059
+ "solid"
2060
+ ],
2061
+ "unicode": "f4b3",
2062
+ "label": "Comment Slash"
2063
+ },
2064
+ "comments": {
2065
+ "styles": [
2066
+ "solid",
2067
+ "regular"
2068
+ ],
2069
+ "unicode": "f086",
2070
+ "label": "comments"
2071
+ },
2072
+ "comments-dollar": {
2073
+ "styles": [
2074
+ "solid"
2075
+ ],
2076
+ "unicode": "f653",
2077
+ "label": "Comments Dollar"
2078
+ },
2079
+ "compact-disc": {
2080
+ "styles": [
2081
+ "solid"
2082
+ ],
2083
+ "unicode": "f51f",
2084
+ "label": "Compact Disc"
2085
+ },
2086
+ "compass": {
2087
+ "styles": [
2088
+ "solid",
2089
+ "regular"
2090
+ ],
2091
+ "unicode": "f14e",
2092
+ "label": "Compass"
2093
+ },
2094
+ "compress": {
2095
+ "styles": [
2096
+ "solid"
2097
+ ],
2098
+ "unicode": "f066",
2099
+ "label": "Compress"
2100
+ },
2101
+ "compress-alt": {
2102
+ "styles": [
2103
+ "solid"
2104
+ ],
2105
+ "unicode": "f422",
2106
+ "label": "Alternate Compress"
2107
+ },
2108
+ "compress-arrows-alt": {
2109
+ "styles": [
2110
+ "solid"
2111
+ ],
2112
+ "unicode": "f78c",
2113
+ "label": "Alternate Compress Arrows"
2114
+ },
2115
+ "concierge-bell": {
2116
+ "styles": [
2117
+ "solid"
2118
+ ],
2119
+ "unicode": "f562",
2120
+ "label": "Concierge Bell"
2121
+ },
2122
+ "confluence": {
2123
+ "styles": [
2124
+ "brands"
2125
+ ],
2126
+ "unicode": "f78d",
2127
+ "label": "Confluence"
2128
+ },
2129
+ "connectdevelop": {
2130
+ "styles": [
2131
+ "brands"
2132
+ ],
2133
+ "unicode": "f20e",
2134
+ "label": "Connect Develop"
2135
+ },
2136
+ "contao": {
2137
+ "styles": [
2138
+ "brands"
2139
+ ],
2140
+ "unicode": "f26d",
2141
+ "label": "Contao"
2142
+ },
2143
+ "cookie": {
2144
+ "styles": [
2145
+ "solid"
2146
+ ],
2147
+ "unicode": "f563",
2148
+ "label": "Cookie"
2149
+ },
2150
+ "cookie-bite": {
2151
+ "styles": [
2152
+ "solid"
2153
+ ],
2154
+ "unicode": "f564",
2155
+ "label": "Cookie Bite"
2156
+ },
2157
+ "copy": {
2158
+ "styles": [
2159
+ "solid",
2160
+ "regular"
2161
+ ],
2162
+ "unicode": "f0c5",
2163
+ "label": "Copy"
2164
+ },
2165
+ "copyright": {
2166
+ "styles": [
2167
+ "solid",
2168
+ "regular"
2169
+ ],
2170
+ "unicode": "f1f9",
2171
+ "label": "Copyright"
2172
+ },
2173
+ "cotton-bureau": {
2174
+ "styles": [
2175
+ "brands"
2176
+ ],
2177
+ "unicode": "f89e",
2178
+ "label": "Cotton Bureau"
2179
+ },
2180
+ "couch": {
2181
+ "styles": [
2182
+ "solid"
2183
+ ],
2184
+ "unicode": "f4b8",
2185
+ "label": "Couch"
2186
+ },
2187
+ "cpanel": {
2188
+ "styles": [
2189
+ "brands"
2190
+ ],
2191
+ "unicode": "f388",
2192
+ "label": "cPanel"
2193
+ },
2194
+ "creative-commons": {
2195
+ "styles": [
2196
+ "brands"
2197
+ ],
2198
+ "unicode": "f25e",
2199
+ "label": "Creative Commons"
2200
+ },
2201
+ "creative-commons-by": {
2202
+ "styles": [
2203
+ "brands"
2204
+ ],
2205
+ "unicode": "f4e7",
2206
+ "label": "Creative Commons Attribution"
2207
+ },
2208
+ "creative-commons-nc": {
2209
+ "styles": [
2210
+ "brands"
2211
+ ],
2212
+ "unicode": "f4e8",
2213
+ "label": "Creative Commons Noncommercial"
2214
+ },
2215
+ "creative-commons-nc-eu": {
2216
+ "styles": [
2217
+ "brands"
2218
+ ],
2219
+ "unicode": "f4e9",
2220
+ "label": "Creative Commons Noncommercial (Euro Sign)"
2221
+ },
2222
+ "creative-commons-nc-jp": {
2223
+ "styles": [
2224
+ "brands"
2225
+ ],
2226
+ "unicode": "f4ea",
2227
+ "label": "Creative Commons Noncommercial (Yen Sign)"
2228
+ },
2229
+ "creative-commons-nd": {
2230
+ "styles": [
2231
+ "brands"
2232
+ ],
2233
+ "unicode": "f4eb",
2234
+ "label": "Creative Commons No Derivative Works"
2235
+ },
2236
+ "creative-commons-pd": {
2237
+ "styles": [
2238
+ "brands"
2239
+ ],
2240
+ "unicode": "f4ec",
2241
+ "label": "Creative Commons Public Domain"
2242
+ },
2243
+ "creative-commons-pd-alt": {
2244
+ "styles": [
2245
+ "brands"
2246
+ ],
2247
+ "unicode": "f4ed",
2248
+ "label": "Alternate Creative Commons Public Domain"
2249
+ },
2250
+ "creative-commons-remix": {
2251
+ "styles": [
2252
+ "brands"
2253
+ ],
2254
+ "unicode": "f4ee",
2255
+ "label": "Creative Commons Remix"
2256
+ },
2257
+ "creative-commons-sa": {
2258
+ "styles": [
2259
+ "brands"
2260
+ ],
2261
+ "unicode": "f4ef",
2262
+ "label": "Creative Commons Share Alike"
2263
+ },
2264
+ "creative-commons-sampling": {
2265
+ "styles": [
2266
+ "brands"
2267
+ ],
2268
+ "unicode": "f4f0",
2269
+ "label": "Creative Commons Sampling"
2270
+ },
2271
+ "creative-commons-sampling-plus": {
2272
+ "styles": [
2273
+ "brands"
2274
+ ],
2275
+ "unicode": "f4f1",
2276
+ "label": "Creative Commons Sampling +"
2277
+ },
2278
+ "creative-commons-share": {
2279
+ "styles": [
2280
+ "brands"
2281
+ ],
2282
+ "unicode": "f4f2",
2283
+ "label": "Creative Commons Share"
2284
+ },
2285
+ "creative-commons-zero": {
2286
+ "styles": [
2287
+ "brands"
2288
+ ],
2289
+ "unicode": "f4f3",
2290
+ "label": "Creative Commons CC0"
2291
+ },
2292
+ "credit-card": {
2293
+ "styles": [
2294
+ "solid",
2295
+ "regular"
2296
+ ],
2297
+ "unicode": "f09d",
2298
+ "label": "Credit Card"
2299
+ },
2300
+ "critical-role": {
2301
+ "styles": [
2302
+ "brands"
2303
+ ],
2304
+ "unicode": "f6c9",
2305
+ "label": "Critical Role"
2306
+ },
2307
+ "crop": {
2308
+ "styles": [
2309
+ "solid"
2310
+ ],
2311
+ "unicode": "f125",
2312
+ "label": "crop"
2313
+ },
2314
+ "crop-alt": {
2315
+ "styles": [
2316
+ "solid"
2317
+ ],
2318
+ "unicode": "f565",
2319
+ "label": "Alternate Crop"
2320
+ },
2321
+ "cross": {
2322
+ "styles": [
2323
+ "solid"
2324
+ ],
2325
+ "unicode": "f654",
2326
+ "label": "Cross"
2327
+ },
2328
+ "crosshairs": {
2329
+ "styles": [
2330
+ "solid"
2331
+ ],
2332
+ "unicode": "f05b",
2333
+ "label": "Crosshairs"
2334
+ },
2335
+ "crow": {
2336
+ "styles": [
2337
+ "solid"
2338
+ ],
2339
+ "unicode": "f520",
2340
+ "label": "Crow"
2341
+ },
2342
+ "crown": {
2343
+ "styles": [
2344
+ "solid"
2345
+ ],
2346
+ "unicode": "f521",
2347
+ "label": "Crown"
2348
+ },
2349
+ "crutch": {
2350
+ "styles": [
2351
+ "solid"
2352
+ ],
2353
+ "unicode": "f7f7",
2354
+ "label": "Crutch"
2355
+ },
2356
+ "css3": {
2357
+ "styles": [
2358
+ "brands"
2359
+ ],
2360
+ "unicode": "f13c",
2361
+ "label": "CSS 3 Logo"
2362
+ },
2363
+ "css3-alt": {
2364
+ "styles": [
2365
+ "brands"
2366
+ ],
2367
+ "unicode": "f38b",
2368
+ "label": "Alternate CSS3 Logo"
2369
+ },
2370
+ "cube": {
2371
+ "styles": [
2372
+ "solid"
2373
+ ],
2374
+ "unicode": "f1b2",
2375
+ "label": "Cube"
2376
+ },
2377
+ "cubes": {
2378
+ "styles": [
2379
+ "solid"
2380
+ ],
2381
+ "unicode": "f1b3",
2382
+ "label": "Cubes"
2383
+ },
2384
+ "cut": {
2385
+ "styles": [
2386
+ "solid"
2387
+ ],
2388
+ "unicode": "f0c4",
2389
+ "label": "Cut"
2390
+ },
2391
+ "cuttlefish": {
2392
+ "styles": [
2393
+ "brands"
2394
+ ],
2395
+ "unicode": "f38c",
2396
+ "label": "Cuttlefish"
2397
+ },
2398
+ "d-and-d": {
2399
+ "styles": [
2400
+ "brands"
2401
+ ],
2402
+ "unicode": "f38d",
2403
+ "label": "Dungeons & Dragons"
2404
+ },
2405
+ "d-and-d-beyond": {
2406
+ "styles": [
2407
+ "brands"
2408
+ ],
2409
+ "unicode": "f6ca",
2410
+ "label": "D&D Beyond"
2411
+ },
2412
+ "dailymotion": {
2413
+ "styles": [
2414
+ "brands"
2415
+ ],
2416
+ "unicode": "f952",
2417
+ "label": "dailymotion"
2418
+ },
2419
+ "dashcube": {
2420
+ "styles": [
2421
+ "brands"
2422
+ ],
2423
+ "unicode": "f210",
2424
+ "label": "DashCube"
2425
+ },
2426
+ "database": {
2427
+ "styles": [
2428
+ "solid"
2429
+ ],
2430
+ "unicode": "f1c0",
2431
+ "label": "Database"
2432
+ },
2433
+ "deaf": {
2434
+ "styles": [
2435
+ "solid"
2436
+ ],
2437
+ "unicode": "f2a4",
2438
+ "label": "Deaf"
2439
+ },
2440
+ "delicious": {
2441
+ "styles": [
2442
+ "brands"
2443
+ ],
2444
+ "unicode": "f1a5",
2445
+ "label": "Delicious"
2446
+ },
2447
+ "democrat": {
2448
+ "styles": [
2449
+ "solid"
2450
+ ],
2451
+ "unicode": "f747",
2452
+ "label": "Democrat"
2453
+ },
2454
+ "deploydog": {
2455
+ "styles": [
2456
+ "brands"
2457
+ ],
2458
+ "unicode": "f38e",
2459
+ "label": "deploy.dog"
2460
+ },
2461
+ "deskpro": {
2462
+ "styles": [
2463
+ "brands"
2464
+ ],
2465
+ "unicode": "f38f",
2466
+ "label": "Deskpro"
2467
+ },
2468
+ "desktop": {
2469
+ "styles": [
2470
+ "solid"
2471
+ ],
2472
+ "unicode": "f108",
2473
+ "label": "Desktop"
2474
+ },
2475
+ "dev": {
2476
+ "styles": [
2477
+ "brands"
2478
+ ],
2479
+ "unicode": "f6cc",
2480
+ "label": "DEV"
2481
+ },
2482
+ "deviantart": {
2483
+ "styles": [
2484
+ "brands"
2485
+ ],
2486
+ "unicode": "f1bd",
2487
+ "label": "deviantART"
2488
+ },
2489
+ "dharmachakra": {
2490
+ "styles": [
2491
+ "solid"
2492
+ ],
2493
+ "unicode": "f655",
2494
+ "label": "Dharmachakra"
2495
+ },
2496
+ "dhl": {
2497
+ "styles": [
2498
+ "brands"
2499
+ ],
2500
+ "unicode": "f790",
2501
+ "label": "DHL"
2502
+ },
2503
+ "diagnoses": {
2504
+ "styles": [
2505
+ "solid"
2506
+ ],
2507
+ "unicode": "f470",
2508
+ "label": "Diagnoses"
2509
+ },
2510
+ "diaspora": {
2511
+ "styles": [
2512
+ "brands"
2513
+ ],
2514
+ "unicode": "f791",
2515
+ "label": "Diaspora"
2516
+ },
2517
+ "dice": {
2518
+ "styles": [
2519
+ "solid"
2520
+ ],
2521
+ "unicode": "f522",
2522
+ "label": "Dice"
2523
+ },
2524
+ "dice-d20": {
2525
+ "styles": [
2526
+ "solid"
2527
+ ],
2528
+ "unicode": "f6cf",
2529
+ "label": "Dice D20"
2530
+ },
2531
+ "dice-d6": {
2532
+ "styles": [
2533
+ "solid"
2534
+ ],
2535
+ "unicode": "f6d1",
2536
+ "label": "Dice D6"
2537
+ },
2538
+ "dice-five": {
2539
+ "styles": [
2540
+ "solid"
2541
+ ],
2542
+ "unicode": "f523",
2543
+ "label": "Dice Five"
2544
+ },
2545
+ "dice-four": {
2546
+ "styles": [
2547
+ "solid"
2548
+ ],
2549
+ "unicode": "f524",
2550
+ "label": "Dice Four"
2551
+ },
2552
+ "dice-one": {
2553
+ "styles": [
2554
+ "solid"
2555
+ ],
2556
+ "unicode": "f525",
2557
+ "label": "Dice One"
2558
+ },
2559
+ "dice-six": {
2560
+ "styles": [
2561
+ "solid"
2562
+ ],
2563
+ "unicode": "f526",
2564
+ "label": "Dice Six"
2565
+ },
2566
+ "dice-three": {
2567
+ "styles": [
2568
+ "solid"
2569
+ ],
2570
+ "unicode": "f527",
2571
+ "label": "Dice Three"
2572
+ },
2573
+ "dice-two": {
2574
+ "styles": [
2575
+ "solid"
2576
+ ],
2577
+ "unicode": "f528",
2578
+ "label": "Dice Two"
2579
+ },
2580
+ "digg": {
2581
+ "styles": [
2582
+ "brands"
2583
+ ],
2584
+ "unicode": "f1a6",
2585
+ "label": "Digg Logo"
2586
+ },
2587
+ "digital-ocean": {
2588
+ "styles": [
2589
+ "brands"
2590
+ ],
2591
+ "unicode": "f391",
2592
+ "label": "Digital Ocean"
2593
+ },
2594
+ "digital-tachograph": {
2595
+ "styles": [
2596
+ "solid"
2597
+ ],
2598
+ "unicode": "f566",
2599
+ "label": "Digital Tachograph"
2600
+ },
2601
+ "directions": {
2602
+ "styles": [
2603
+ "solid"
2604
+ ],
2605
+ "unicode": "f5eb",
2606
+ "label": "Directions"
2607
+ },
2608
+ "discord": {
2609
+ "styles": [
2610
+ "brands"
2611
+ ],
2612
+ "unicode": "f392",
2613
+ "label": "Discord"
2614
+ },
2615
+ "discourse": {
2616
+ "styles": [
2617
+ "brands"
2618
+ ],
2619
+ "unicode": "f393",
2620
+ "label": "Discourse"
2621
+ },
2622
+ "disease": {
2623
+ "styles": [
2624
+ "solid"
2625
+ ],
2626
+ "unicode": "f7fa",
2627
+ "label": "Disease"
2628
+ },
2629
+ "divide": {
2630
+ "styles": [
2631
+ "solid"
2632
+ ],
2633
+ "unicode": "f529",
2634
+ "label": "Divide"
2635
+ },
2636
+ "dizzy": {
2637
+ "styles": [
2638
+ "solid",
2639
+ "regular"
2640
+ ],
2641
+ "unicode": "f567",
2642
+ "label": "Dizzy Face"
2643
+ },
2644
+ "dna": {
2645
+ "styles": [
2646
+ "solid"
2647
+ ],
2648
+ "unicode": "f471",
2649
+ "label": "DNA"
2650
+ },
2651
+ "dochub": {
2652
+ "styles": [
2653
+ "brands"
2654
+ ],
2655
+ "unicode": "f394",
2656
+ "label": "DocHub"
2657
+ },
2658
+ "docker": {
2659
+ "styles": [
2660
+ "brands"
2661
+ ],
2662
+ "unicode": "f395",
2663
+ "label": "Docker"
2664
+ },
2665
+ "dog": {
2666
+ "styles": [
2667
+ "solid"
2668
+ ],
2669
+ "unicode": "f6d3",
2670
+ "label": "Dog"
2671
+ },
2672
+ "dollar-sign": {
2673
+ "styles": [
2674
+ "solid"
2675
+ ],
2676
+ "unicode": "f155",
2677
+ "label": "Dollar Sign"
2678
+ },
2679
+ "dolly": {
2680
+ "styles": [
2681
+ "solid"
2682
+ ],
2683
+ "unicode": "f472",
2684
+ "label": "Dolly"
2685
+ },
2686
+ "dolly-flatbed": {
2687
+ "styles": [
2688
+ "solid"
2689
+ ],
2690
+ "unicode": "f474",
2691
+ "label": "Dolly Flatbed"
2692
+ },
2693
+ "donate": {
2694
+ "styles": [
2695
+ "solid"
2696
+ ],
2697
+ "unicode": "f4b9",
2698
+ "label": "Donate"
2699
+ },
2700
+ "door-closed": {
2701
+ "styles": [
2702
+ "solid"
2703
+ ],
2704
+ "unicode": "f52a",
2705
+ "label": "Door Closed"
2706
+ },
2707
+ "door-open": {
2708
+ "styles": [
2709
+ "solid"
2710
+ ],
2711
+ "unicode": "f52b",
2712
+ "label": "Door Open"
2713
+ },
2714
+ "dot-circle": {
2715
+ "styles": [
2716
+ "solid",
2717
+ "regular"
2718
+ ],
2719
+ "unicode": "f192",
2720
+ "label": "Dot Circle"
2721
+ },
2722
+ "dove": {
2723
+ "styles": [
2724
+ "solid"
2725
+ ],
2726
+ "unicode": "f4ba",
2727
+ "label": "Dove"
2728
+ },
2729
+ "download": {
2730
+ "styles": [
2731
+ "solid"
2732
+ ],
2733
+ "unicode": "f019",
2734
+ "label": "Download"
2735
+ },
2736
+ "draft2digital": {
2737
+ "styles": [
2738
+ "brands"
2739
+ ],
2740
+ "unicode": "f396",
2741
+ "label": "Draft2digital"
2742
+ },
2743
+ "drafting-compass": {
2744
+ "styles": [
2745
+ "solid"
2746
+ ],
2747
+ "unicode": "f568",
2748
+ "label": "Drafting Compass"
2749
+ },
2750
+ "dragon": {
2751
+ "styles": [
2752
+ "solid"
2753
+ ],
2754
+ "unicode": "f6d5",
2755
+ "label": "Dragon"
2756
+ },
2757
+ "draw-polygon": {
2758
+ "styles": [
2759
+ "solid"
2760
+ ],
2761
+ "unicode": "f5ee",
2762
+ "label": "Draw Polygon"
2763
+ },
2764
+ "dribbble": {
2765
+ "styles": [
2766
+ "brands"
2767
+ ],
2768
+ "unicode": "f17d",
2769
+ "label": "Dribbble"
2770
+ },
2771
+ "dribbble-square": {
2772
+ "styles": [
2773
+ "brands"
2774
+ ],
2775
+ "unicode": "f397",
2776
+ "label": "Dribbble Square"
2777
+ },
2778
+ "dropbox": {
2779
+ "styles": [
2780
+ "brands"
2781
+ ],
2782
+ "unicode": "f16b",
2783
+ "label": "Dropbox"
2784
+ },
2785
+ "drum": {
2786
+ "styles": [
2787
+ "solid"
2788
+ ],
2789
+ "unicode": "f569",
2790
+ "label": "Drum"
2791
+ },
2792
+ "drum-steelpan": {
2793
+ "styles": [
2794
+ "solid"
2795
+ ],
2796
+ "unicode": "f56a",
2797
+ "label": "Drum Steelpan"
2798
+ },
2799
+ "drumstick-bite": {
2800
+ "styles": [
2801
+ "solid"
2802
+ ],
2803
+ "unicode": "f6d7",
2804
+ "label": "Drumstick with Bite Taken Out"
2805
+ },
2806
+ "drupal": {
2807
+ "styles": [
2808
+ "brands"
2809
+ ],
2810
+ "unicode": "f1a9",
2811
+ "label": "Drupal Logo"
2812
+ },
2813
+ "dumbbell": {
2814
+ "styles": [
2815
+ "solid"
2816
+ ],
2817
+ "unicode": "f44b",
2818
+ "label": "Dumbbell"
2819
+ },
2820
+ "dumpster": {
2821
+ "styles": [
2822
+ "solid"
2823
+ ],
2824
+ "unicode": "f793",
2825
+ "label": "Dumpster"
2826
+ },
2827
+ "dumpster-fire": {
2828
+ "styles": [
2829
+ "solid"
2830
+ ],
2831
+ "unicode": "f794",
2832
+ "label": "Dumpster Fire"
2833
+ },
2834
+ "dungeon": {
2835
+ "styles": [
2836
+ "solid"
2837
+ ],
2838
+ "unicode": "f6d9",
2839
+ "label": "Dungeon"
2840
+ },
2841
+ "dyalog": {
2842
+ "styles": [
2843
+ "brands"
2844
+ ],
2845
+ "unicode": "f399",
2846
+ "label": "Dyalog"
2847
+ },
2848
+ "earlybirds": {
2849
+ "styles": [
2850
+ "brands"
2851
+ ],
2852
+ "unicode": "f39a",
2853
+ "label": "Earlybirds"
2854
+ },
2855
+ "ebay": {
2856
+ "styles": [
2857
+ "brands"
2858
+ ],
2859
+ "unicode": "f4f4",
2860
+ "label": "eBay"
2861
+ },
2862
+ "edge": {
2863
+ "styles": [
2864
+ "brands"
2865
+ ],
2866
+ "unicode": "f282",
2867
+ "label": "Edge Browser"
2868
+ },
2869
+ "edit": {
2870
+ "styles": [
2871
+ "solid",
2872
+ "regular"
2873
+ ],
2874
+ "unicode": "f044",
2875
+ "label": "Edit"
2876
+ },
2877
+ "egg": {
2878
+ "styles": [
2879
+ "solid"
2880
+ ],
2881
+ "unicode": "f7fb",
2882
+ "label": "Egg"
2883
+ },
2884
+ "eject": {
2885
+ "styles": [
2886
+ "solid"
2887
+ ],
2888
+ "unicode": "f052",
2889
+ "label": "eject"
2890
+ },
2891
+ "elementor": {
2892
+ "styles": [
2893
+ "brands"
2894
+ ],
2895
+ "unicode": "f430",
2896
+ "label": "Elementor"
2897
+ },
2898
+ "ellipsis-h": {
2899
+ "styles": [
2900
+ "solid"
2901
+ ],
2902
+ "unicode": "f141",
2903
+ "label": "Horizontal Ellipsis"
2904
+ },
2905
+ "ellipsis-v": {
2906
+ "styles": [
2907
+ "solid"
2908
+ ],
2909
+ "unicode": "f142",
2910
+ "label": "Vertical Ellipsis"
2911
+ },
2912
+ "ello": {
2913
+ "styles": [
2914
+ "brands"
2915
+ ],
2916
+ "unicode": "f5f1",
2917
+ "label": "Ello"
2918
+ },
2919
+ "ember": {
2920
+ "styles": [
2921
+ "brands"
2922
+ ],
2923
+ "unicode": "f423",
2924
+ "label": "Ember"
2925
+ },
2926
+ "empire": {
2927
+ "styles": [
2928
+ "brands"
2929
+ ],
2930
+ "unicode": "f1d1",
2931
+ "label": "Galactic Empire"
2932
+ },
2933
+ "envelope": {
2934
+ "styles": [
2935
+ "solid",
2936
+ "regular"
2937
+ ],
2938
+ "unicode": "f0e0",
2939
+ "label": "Envelope"
2940
+ },
2941
+ "envelope-open": {
2942
+ "styles": [
2943
+ "solid",
2944
+ "regular"
2945
+ ],
2946
+ "unicode": "f2b6",
2947
+ "label": "Envelope Open"
2948
+ },
2949
+ "envelope-open-text": {
2950
+ "styles": [
2951
+ "solid"
2952
+ ],
2953
+ "unicode": "f658",
2954
+ "label": "Envelope Open-text"
2955
+ },
2956
+ "envelope-square": {
2957
+ "styles": [
2958
+ "solid"
2959
+ ],
2960
+ "unicode": "f199",
2961
+ "label": "Envelope Square"
2962
+ },
2963
+ "envira": {
2964
+ "styles": [
2965
+ "brands"
2966
+ ],
2967
+ "unicode": "f299",
2968
+ "label": "Envira Gallery"
2969
+ },
2970
+ "equals": {
2971
+ "styles": [
2972
+ "solid"
2973
+ ],
2974
+ "unicode": "f52c",
2975
+ "label": "Equals"
2976
+ },
2977
+ "eraser": {
2978
+ "styles": [
2979
+ "solid"
2980
+ ],
2981
+ "unicode": "f12d",
2982
+ "label": "eraser"
2983
+ },
2984
+ "erlang": {
2985
+ "styles": [
2986
+ "brands"
2987
+ ],
2988
+ "unicode": "f39d",
2989
+ "label": "Erlang"
2990
+ },
2991
+ "ethereum": {
2992
+ "styles": [
2993
+ "brands"
2994
+ ],
2995
+ "unicode": "f42e",
2996
+ "label": "Ethereum"
2997
+ },
2998
+ "ethernet": {
2999
+ "styles": [
3000
+ "solid"
3001
+ ],
3002
+ "unicode": "f796",
3003
+ "label": "Ethernet"
3004
+ },
3005
+ "etsy": {
3006
+ "styles": [
3007
+ "brands"
3008
+ ],
3009
+ "unicode": "f2d7",
3010
+ "label": "Etsy"
3011
+ },
3012
+ "euro-sign": {
3013
+ "styles": [
3014
+ "solid"
3015
+ ],
3016
+ "unicode": "f153",
3017
+ "label": "Euro Sign"
3018
+ },
3019
+ "evernote": {
3020
+ "styles": [
3021
+ "brands"
3022
+ ],
3023
+ "unicode": "f839",
3024
+ "label": "Evernote"
3025
+ },
3026
+ "exchange-alt": {
3027
+ "styles": [
3028
+ "solid"
3029
+ ],
3030
+ "unicode": "f362",
3031
+ "label": "Alternate Exchange"
3032
+ },
3033
+ "exclamation": {
3034
+ "styles": [
3035
+ "solid"
3036
+ ],
3037
+ "unicode": "f12a",
3038
+ "label": "exclamation"
3039
+ },
3040
+ "exclamation-circle": {
3041
+ "styles": [
3042
+ "solid"
3043
+ ],
3044
+ "unicode": "f06a",
3045
+ "label": "Exclamation Circle"
3046
+ },
3047
+ "exclamation-triangle": {
3048
+ "styles": [
3049
+ "solid"
3050
+ ],
3051
+ "unicode": "f071",
3052
+ "label": "Exclamation Triangle"
3053
+ },
3054
+ "expand": {
3055
+ "styles": [
3056
+ "solid"
3057
+ ],
3058
+ "unicode": "f065",
3059
+ "label": "Expand"
3060
+ },
3061
+ "expand-alt": {
3062
+ "styles": [
3063
+ "solid"
3064
+ ],
3065
+ "unicode": "f424",
3066
+ "label": "Alternate Expand"
3067
+ },
3068
+ "expand-arrows-alt": {
3069
+ "styles": [
3070
+ "solid"
3071
+ ],
3072
+ "unicode": "f31e",
3073
+ "label": "Alternate Expand Arrows"
3074
+ },
3075
+ "expeditedssl": {
3076
+ "styles": [
3077
+ "brands"
3078
+ ],
3079
+ "unicode": "f23e",
3080
+ "label": "ExpeditedSSL"
3081
+ },
3082
+ "external-link-alt": {
3083
+ "styles": [
3084
+ "solid"
3085
+ ],
3086
+ "unicode": "f35d",
3087
+ "label": "Alternate External Link"
3088
+ },
3089
+ "external-link-square-alt": {
3090
+ "styles": [
3091
+ "solid"
3092
+ ],
3093
+ "unicode": "f360",
3094
+ "label": "Alternate External Link Square"
3095
+ },
3096
+ "eye": {
3097
+ "styles": [
3098
+ "solid",
3099
+ "regular"
3100
+ ],
3101
+ "unicode": "f06e",
3102
+ "label": "Eye"
3103
+ },
3104
+ "eye-dropper": {
3105
+ "styles": [
3106
+ "solid"
3107
+ ],
3108
+ "unicode": "f1fb",
3109
+ "label": "Eye Dropper"
3110
+ },
3111
+ "eye-slash": {
3112
+ "styles": [
3113
+ "solid",
3114
+ "regular"
3115
+ ],
3116
+ "unicode": "f070",
3117
+ "label": "Eye Slash"
3118
+ },
3119
+ "facebook": {
3120
+ "styles": [
3121
+ "brands"
3122
+ ],
3123
+ "unicode": "f09a",
3124
+ "label": "Facebook"
3125
+ },
3126
+ "facebook-f": {
3127
+ "styles": [
3128
+ "brands"
3129
+ ],
3130
+ "unicode": "f39e",
3131
+ "label": "Facebook F"
3132
+ },
3133
+ "facebook-messenger": {
3134
+ "styles": [
3135
+ "brands"
3136
+ ],
3137
+ "unicode": "f39f",
3138
+ "label": "Facebook Messenger"
3139
+ },
3140
+ "facebook-square": {
3141
+ "styles": [
3142
+ "brands"
3143
+ ],
3144
+ "unicode": "f082",
3145
+ "label": "Facebook Square"
3146
+ },
3147
+ "fan": {
3148
+ "styles": [
3149
+ "solid"
3150
+ ],
3151
+ "unicode": "f863",
3152
+ "label": "Fan"
3153
+ },
3154
+ "fantasy-flight-games": {
3155
+ "styles": [
3156
+ "brands"
3157
+ ],
3158
+ "unicode": "f6dc",
3159
+ "label": "Fantasy Flight-games"
3160
+ },
3161
+ "fast-backward": {
3162
+ "styles": [
3163
+ "solid"
3164
+ ],
3165
+ "unicode": "f049",
3166
+ "label": "fast-backward"
3167
+ },
3168
+ "fast-forward": {
3169
+ "styles": [
3170
+ "solid"
3171
+ ],
3172
+ "unicode": "f050",
3173
+ "label": "fast-forward"
3174
+ },
3175
+ "faucet": {
3176
+ "styles": [
3177
+ "solid"
3178
+ ],
3179
+ "unicode": "f905",
3180
+ "label": "Faucet"
3181
+ },
3182
+ "fax": {
3183
+ "styles": [
3184
+ "solid"
3185
+ ],
3186
+ "unicode": "f1ac",
3187
+ "label": "Fax"
3188
+ },
3189
+ "feather": {
3190
+ "styles": [
3191
+ "solid"
3192
+ ],
3193
+ "unicode": "f52d",
3194
+ "label": "Feather"
3195
+ },
3196
+ "feather-alt": {
3197
+ "styles": [
3198
+ "solid"
3199
+ ],
3200
+ "unicode": "f56b",
3201
+ "label": "Alternate Feather"
3202
+ },
3203
+ "fedex": {
3204
+ "styles": [
3205
+ "brands"
3206
+ ],
3207
+ "unicode": "f797",
3208
+ "label": "FedEx"
3209
+ },
3210
+ "fedora": {
3211
+ "styles": [
3212
+ "brands"
3213
+ ],
3214
+ "unicode": "f798",
3215
+ "label": "Fedora"
3216
+ },
3217
+ "female": {
3218
+ "styles": [
3219
+ "solid"
3220
+ ],
3221
+ "unicode": "f182",
3222
+ "label": "Female"
3223
+ },
3224
+ "fighter-jet": {
3225
+ "styles": [
3226
+ "solid"
3227
+ ],
3228
+ "unicode": "f0fb",
3229
+ "label": "fighter-jet"
3230
+ },
3231
+ "figma": {
3232
+ "styles": [
3233
+ "brands"
3234
+ ],
3235
+ "unicode": "f799",
3236
+ "label": "Figma"
3237
+ },
3238
+ "file": {
3239
+ "styles": [
3240
+ "solid",
3241
+ "regular"
3242
+ ],
3243
+ "unicode": "f15b",
3244
+ "label": "File"
3245
+ },
3246
+ "file-alt": {
3247
+ "styles": [
3248
+ "solid",
3249
+ "regular"
3250
+ ],
3251
+ "unicode": "f15c",
3252
+ "label": "Alternate File"
3253
+ },
3254
+ "file-archive": {
3255
+ "styles": [
3256
+ "solid",
3257
+ "regular"
3258
+ ],
3259
+ "unicode": "f1c6",
3260
+ "label": "Archive File"
3261
+ },
3262
+ "file-audio": {
3263
+ "styles": [
3264
+ "solid",
3265
+ "regular"
3266
+ ],
3267
+ "unicode": "f1c7",
3268
+ "label": "Audio File"
3269
+ },
3270
+ "file-code": {
3271
+ "styles": [
3272
+ "solid",
3273
+ "regular"
3274
+ ],
3275
+ "unicode": "f1c9",
3276
+ "label": "Code File"
3277
+ },
3278
+ "file-contract": {
3279
+ "styles": [
3280
+ "solid"
3281
+ ],
3282
+ "unicode": "f56c",
3283
+ "label": "File Contract"
3284
+ },
3285
+ "file-csv": {
3286
+ "styles": [
3287
+ "solid"
3288
+ ],
3289
+ "unicode": "f6dd",
3290
+ "label": "File CSV"
3291
+ },
3292
+ "file-download": {
3293
+ "styles": [
3294
+ "solid"
3295
+ ],
3296
+ "unicode": "f56d",
3297
+ "label": "File Download"
3298
+ },
3299
+ "file-excel": {
3300
+ "styles": [
3301
+ "solid",
3302
+ "regular"
3303
+ ],
3304
+ "unicode": "f1c3",
3305
+ "label": "Excel File"
3306
+ },
3307
+ "file-export": {
3308
+ "styles": [
3309
+ "solid"
3310
+ ],
3311
+ "unicode": "f56e",
3312
+ "label": "File Export"
3313
+ },
3314
+ "file-image": {
3315
+ "styles": [
3316
+ "solid",
3317
+ "regular"
3318
+ ],
3319
+ "unicode": "f1c5",
3320
+ "label": "Image File"
3321
+ },
3322
+ "file-import": {
3323
+ "styles": [
3324
+ "solid"
3325
+ ],
3326
+ "unicode": "f56f",
3327
+ "label": "File Import"
3328
+ },
3329
+ "file-invoice": {
3330
+ "styles": [
3331
+ "solid"
3332
+ ],
3333
+ "unicode": "f570",
3334
+ "label": "File Invoice"
3335
+ },
3336
+ "file-invoice-dollar": {
3337
+ "styles": [
3338
+ "solid"
3339
+ ],
3340
+ "unicode": "f571",
3341
+ "label": "File Invoice with US Dollar"
3342
+ },
3343
+ "file-medical": {
3344
+ "styles": [
3345
+ "solid"
3346
+ ],
3347
+ "unicode": "f477",
3348
+ "label": "Medical File"
3349
+ },
3350
+ "file-medical-alt": {
3351
+ "styles": [
3352
+ "solid"
3353
+ ],
3354
+ "unicode": "f478",
3355
+ "label": "Alternate Medical File"
3356
+ },
3357
+ "file-pdf": {
3358
+ "styles": [
3359
+ "solid",
3360
+ "regular"
3361
+ ],
3362
+ "unicode": "f1c1",
3363
+ "label": "PDF File"
3364
+ },
3365
+ "file-powerpoint": {
3366
+ "styles": [
3367
+ "solid",
3368
+ "regular"
3369
+ ],
3370
+ "unicode": "f1c4",
3371
+ "label": "Powerpoint File"
3372
+ },
3373
+ "file-prescription": {
3374
+ "styles": [
3375
+ "solid"
3376
+ ],
3377
+ "unicode": "f572",
3378
+ "label": "File Prescription"
3379
+ },
3380
+ "file-signature": {
3381
+ "styles": [
3382
+ "solid"
3383
+ ],
3384
+ "unicode": "f573",
3385
+ "label": "File Signature"
3386
+ },
3387
+ "file-upload": {
3388
+ "styles": [
3389
+ "solid"
3390
+ ],
3391
+ "unicode": "f574",
3392
+ "label": "File Upload"
3393
+ },
3394
+ "file-video": {
3395
+ "styles": [
3396
+ "solid",
3397
+ "regular"
3398
+ ],
3399
+ "unicode": "f1c8",
3400
+ "label": "Video File"
3401
+ },
3402
+ "file-word": {
3403
+ "styles": [
3404
+ "solid",
3405
+ "regular"
3406
+ ],
3407
+ "unicode": "f1c2",
3408
+ "label": "Word File"
3409
+ },
3410
+ "fill": {
3411
+ "styles": [
3412
+ "solid"
3413
+ ],
3414
+ "unicode": "f575",
3415
+ "label": "Fill"
3416
+ },
3417
+ "fill-drip": {
3418
+ "styles": [
3419
+ "solid"
3420
+ ],
3421
+ "unicode": "f576",
3422
+ "label": "Fill Drip"
3423
+ },
3424
+ "film": {
3425
+ "styles": [
3426
+ "solid"
3427
+ ],
3428
+ "unicode": "f008",
3429
+ "label": "Film"
3430
+ },
3431
+ "filter": {
3432
+ "styles": [
3433
+ "solid"
3434
+ ],
3435
+ "unicode": "f0b0",
3436
+ "label": "Filter"
3437
+ },
3438
+ "fingerprint": {
3439
+ "styles": [
3440
+ "solid"
3441
+ ],
3442
+ "unicode": "f577",
3443
+ "label": "Fingerprint"
3444
+ },
3445
+ "fire": {
3446
+ "styles": [
3447
+ "solid"
3448
+ ],
3449
+ "unicode": "f06d",
3450
+ "label": "fire"
3451
+ },
3452
+ "fire-alt": {
3453
+ "styles": [
3454
+ "solid"
3455
+ ],
3456
+ "unicode": "f7e4",
3457
+ "label": "Alternate Fire"
3458
+ },
3459
+ "fire-extinguisher": {
3460
+ "styles": [
3461
+ "solid"
3462
+ ],
3463
+ "unicode": "f134",
3464
+ "label": "fire-extinguisher"
3465
+ },
3466
+ "firefox": {
3467
+ "styles": [
3468
+ "brands"
3469
+ ],
3470
+ "unicode": "f269",
3471
+ "label": "Firefox"
3472
+ },
3473
+ "firefox-browser": {
3474
+ "styles": [
3475
+ "brands"
3476
+ ],
3477
+ "unicode": "f907",
3478
+ "label": "Firefox Browser"
3479
+ },
3480
+ "first-aid": {
3481
+ "styles": [
3482
+ "solid"
3483
+ ],
3484
+ "unicode": "f479",
3485
+ "label": "First Aid"
3486
+ },
3487
+ "first-order": {
3488
+ "styles": [
3489
+ "brands"
3490
+ ],
3491
+ "unicode": "f2b0",
3492
+ "label": "First Order"
3493
+ },
3494
+ "first-order-alt": {
3495
+ "styles": [
3496
+ "brands"
3497
+ ],
3498
+ "unicode": "f50a",
3499
+ "label": "Alternate First Order"
3500
+ },
3501
+ "firstdraft": {
3502
+ "styles": [
3503
+ "brands"
3504
+ ],
3505
+ "unicode": "f3a1",
3506
+ "label": "firstdraft"
3507
+ },
3508
+ "fish": {
3509
+ "styles": [
3510
+ "solid"
3511
+ ],
3512
+ "unicode": "f578",
3513
+ "label": "Fish"
3514
+ },
3515
+ "fist-raised": {
3516
+ "styles": [
3517
+ "solid"
3518
+ ],
3519
+ "unicode": "f6de",
3520
+ "label": "Raised Fist"
3521
+ },
3522
+ "flag": {
3523
+ "styles": [
3524
+ "solid",
3525
+ "regular"
3526
+ ],
3527
+ "unicode": "f024",
3528
+ "label": "flag"
3529
+ },
3530
+ "flag-checkered": {
3531
+ "styles": [
3532
+ "solid"
3533
+ ],
3534
+ "unicode": "f11e",
3535
+ "label": "flag-checkered"
3536
+ },
3537
+ "flag-usa": {
3538
+ "styles": [
3539
+ "solid"
3540
+ ],
3541
+ "unicode": "f74d",
3542
+ "label": "United States of America Flag"
3543
+ },
3544
+ "flask": {
3545
+ "styles": [
3546
+ "solid"
3547
+ ],
3548
+ "unicode": "f0c3",
3549
+ "label": "Flask"
3550
+ },
3551
+ "flickr": {
3552
+ "styles": [
3553
+ "brands"
3554
+ ],
3555
+ "unicode": "f16e",
3556
+ "label": "Flickr"
3557
+ },
3558
+ "flipboard": {
3559
+ "styles": [
3560
+ "brands"
3561
+ ],
3562
+ "unicode": "f44d",
3563
+ "label": "Flipboard"
3564
+ },
3565
+ "flushed": {
3566
+ "styles": [
3567
+ "solid",
3568
+ "regular"
3569
+ ],
3570
+ "unicode": "f579",
3571
+ "label": "Flushed Face"
3572
+ },
3573
+ "fly": {
3574
+ "styles": [
3575
+ "brands"
3576
+ ],
3577
+ "unicode": "f417",
3578
+ "label": "Fly"
3579
+ },
3580
+ "folder": {
3581
+ "styles": [
3582
+ "solid",
3583
+ "regular"
3584
+ ],
3585
+ "unicode": "f07b",
3586
+ "label": "Folder"
3587
+ },
3588
+ "folder-minus": {
3589
+ "styles": [
3590
+ "solid"
3591
+ ],
3592
+ "unicode": "f65d",
3593
+ "label": "Folder Minus"
3594
+ },
3595
+ "folder-open": {
3596
+ "styles": [
3597
+ "solid",
3598
+ "regular"
3599
+ ],
3600
+ "unicode": "f07c",
3601
+ "label": "Folder Open"
3602
+ },
3603
+ "folder-plus": {
3604
+ "styles": [
3605
+ "solid"
3606
+ ],
3607
+ "unicode": "f65e",
3608
+ "label": "Folder Plus"
3609
+ },
3610
+ "font": {
3611
+ "styles": [
3612
+ "solid"
3613
+ ],
3614
+ "unicode": "f031",
3615
+ "label": "font"
3616
+ },
3617
+ "font-awesome": {
3618
+ "styles": [
3619
+ "brands"
3620
+ ],
3621
+ "unicode": "f2b4",
3622
+ "label": "Font Awesome"
3623
+ },
3624
+ "font-awesome-alt": {
3625
+ "styles": [
3626
+ "brands"
3627
+ ],
3628
+ "unicode": "f35c",
3629
+ "label": "Alternate Font Awesome"
3630
+ },
3631
+ "font-awesome-flag": {
3632
+ "styles": [
3633
+ "brands"
3634
+ ],
3635
+ "unicode": "f425",
3636
+ "label": "Font Awesome Flag"
3637
+ },
3638
+ "font-awesome-logo-full": {
3639
+ "styles": [
3640
+ "regular",
3641
+ "solid",
3642
+ "brands"
3643
+ ],
3644
+ "unicode": "f4e6",
3645
+ "label": "Font Awesome Full Logo",
3646
+ "private": true
3647
+ },
3648
+ "fonticons": {
3649
+ "styles": [
3650
+ "brands"
3651
+ ],
3652
+ "unicode": "f280",
3653
+ "label": "Fonticons"
3654
+ },
3655
+ "fonticons-fi": {
3656
+ "styles": [
3657
+ "brands"
3658
+ ],
3659
+ "unicode": "f3a2",
3660
+ "label": "Fonticons Fi"
3661
+ },
3662
+ "football-ball": {
3663
+ "styles": [
3664
+ "solid"
3665
+ ],
3666
+ "unicode": "f44e",
3667
+ "label": "Football Ball"
3668
+ },
3669
+ "fort-awesome": {
3670
+ "styles": [
3671
+ "brands"
3672
+ ],
3673
+ "unicode": "f286",
3674
+ "label": "Fort Awesome"
3675
+ },
3676
+ "fort-awesome-alt": {
3677
+ "styles": [
3678
+ "brands"
3679
+ ],
3680
+ "unicode": "f3a3",
3681
+ "label": "Alternate Fort Awesome"
3682
+ },
3683
+ "forumbee": {
3684
+ "styles": [
3685
+ "brands"
3686
+ ],
3687
+ "unicode": "f211",
3688
+ "label": "Forumbee"
3689
+ },
3690
+ "forward": {
3691
+ "styles": [
3692
+ "solid"
3693
+ ],
3694
+ "unicode": "f04e",
3695
+ "label": "forward"
3696
+ },
3697
+ "foursquare": {
3698
+ "styles": [
3699
+ "brands"
3700
+ ],
3701
+ "unicode": "f180",
3702
+ "label": "Foursquare"
3703
+ },
3704
+ "free-code-camp": {
3705
+ "styles": [
3706
+ "brands"
3707
+ ],
3708
+ "unicode": "f2c5",
3709
+ "label": "freeCodeCamp"
3710
+ },
3711
+ "freebsd": {
3712
+ "styles": [
3713
+ "brands"
3714
+ ],
3715
+ "unicode": "f3a4",
3716
+ "label": "FreeBSD"
3717
+ },
3718
+ "frog": {
3719
+ "styles": [
3720
+ "solid"
3721
+ ],
3722
+ "unicode": "f52e",
3723
+ "label": "Frog"
3724
+ },
3725
+ "frown": {
3726
+ "styles": [
3727
+ "solid",
3728
+ "regular"
3729
+ ],
3730
+ "unicode": "f119",
3731
+ "label": "Frowning Face"
3732
+ },
3733
+ "frown-open": {
3734
+ "styles": [
3735
+ "solid",
3736
+ "regular"
3737
+ ],
3738
+ "unicode": "f57a",
3739
+ "label": "Frowning Face With Open Mouth"
3740
+ },
3741
+ "fulcrum": {
3742
+ "styles": [
3743
+ "brands"
3744
+ ],
3745
+ "unicode": "f50b",
3746
+ "label": "Fulcrum"
3747
+ },
3748
+ "funnel-dollar": {
3749
+ "styles": [
3750
+ "solid"
3751
+ ],
3752
+ "unicode": "f662",
3753
+ "label": "Funnel Dollar"
3754
+ },
3755
+ "futbol": {
3756
+ "styles": [
3757
+ "solid",
3758
+ "regular"
3759
+ ],
3760
+ "unicode": "f1e3",
3761
+ "label": "Futbol"
3762
+ },
3763
+ "galactic-republic": {
3764
+ "styles": [
3765
+ "brands"
3766
+ ],
3767
+ "unicode": "f50c",
3768
+ "label": "Galactic Republic"
3769
+ },
3770
+ "galactic-senate": {
3771
+ "styles": [
3772
+ "brands"
3773
+ ],
3774
+ "unicode": "f50d",
3775
+ "label": "Galactic Senate"
3776
+ },
3777
+ "gamepad": {
3778
+ "styles": [
3779
+ "solid"
3780
+ ],
3781
+ "unicode": "f11b",
3782
+ "label": "Gamepad"
3783
+ },
3784
+ "gas-pump": {
3785
+ "styles": [
3786
+ "solid"
3787
+ ],
3788
+ "unicode": "f52f",
3789
+ "label": "Gas Pump"
3790
+ },
3791
+ "gavel": {
3792
+ "styles": [
3793
+ "solid"
3794
+ ],
3795
+ "unicode": "f0e3",
3796
+ "label": "Gavel"
3797
+ },
3798
+ "gem": {
3799
+ "styles": [
3800
+ "solid",
3801
+ "regular"
3802
+ ],
3803
+ "unicode": "f3a5",
3804
+ "label": "Gem"
3805
+ },
3806
+ "genderless": {
3807
+ "styles": [
3808
+ "solid"
3809
+ ],
3810
+ "unicode": "f22d",
3811
+ "label": "Genderless"
3812
+ },
3813
+ "get-pocket": {
3814
+ "styles": [
3815
+ "brands"
3816
+ ],
3817
+ "unicode": "f265",
3818
+ "label": "Get Pocket"
3819
+ },
3820
+ "gg": {
3821
+ "styles": [
3822
+ "brands"
3823
+ ],
3824
+ "unicode": "f260",
3825
+ "label": "GG Currency"
3826
+ },
3827
+ "gg-circle": {
3828
+ "styles": [
3829
+ "brands"
3830
+ ],
3831
+ "unicode": "f261",
3832
+ "label": "GG Currency Circle"
3833
+ },
3834
+ "ghost": {
3835
+ "styles": [
3836
+ "solid"
3837
+ ],
3838
+ "unicode": "f6e2",
3839
+ "label": "Ghost"
3840
+ },
3841
+ "gift": {
3842
+ "styles": [
3843
+ "solid"
3844
+ ],
3845
+ "unicode": "f06b",
3846
+ "label": "gift"
3847
+ },
3848
+ "gifts": {
3849
+ "styles": [
3850
+ "solid"
3851
+ ],
3852
+ "unicode": "f79c",
3853
+ "label": "Gifts"
3854
+ },
3855
+ "git": {
3856
+ "styles": [
3857
+ "brands"
3858
+ ],
3859
+ "unicode": "f1d3",
3860
+ "label": "Git"
3861
+ },
3862
+ "git-alt": {
3863
+ "styles": [
3864
+ "brands"
3865
+ ],
3866
+ "unicode": "f841",
3867
+ "label": "Git Alt"
3868
+ },
3869
+ "git-square": {
3870
+ "styles": [
3871
+ "brands"
3872
+ ],
3873
+ "unicode": "f1d2",
3874
+ "label": "Git Square"
3875
+ },
3876
+ "github": {
3877
+ "styles": [
3878
+ "brands"
3879
+ ],
3880
+ "unicode": "f09b",
3881
+ "label": "GitHub"
3882
+ },
3883
+ "github-alt": {
3884
+ "styles": [
3885
+ "brands"
3886
+ ],
3887
+ "unicode": "f113",
3888
+ "label": "Alternate GitHub"
3889
+ },
3890
+ "github-square": {
3891
+ "styles": [
3892
+ "brands"
3893
+ ],
3894
+ "unicode": "f092",
3895
+ "label": "GitHub Square"
3896
+ },
3897
+ "gitkraken": {
3898
+ "styles": [
3899
+ "brands"
3900
+ ],
3901
+ "unicode": "f3a6",
3902
+ "label": "GitKraken"
3903
+ },
3904
+ "gitlab": {
3905
+ "styles": [
3906
+ "brands"
3907
+ ],
3908
+ "unicode": "f296",
3909
+ "label": "GitLab"
3910
+ },
3911
+ "gitter": {
3912
+ "styles": [
3913
+ "brands"
3914
+ ],
3915
+ "unicode": "f426",
3916
+ "label": "Gitter"
3917
+ },
3918
+ "glass-cheers": {
3919
+ "styles": [
3920
+ "solid"
3921
+ ],
3922
+ "unicode": "f79f",
3923
+ "label": "Glass Cheers"
3924
+ },
3925
+ "glass-martini": {
3926
+ "styles": [
3927
+ "solid"
3928
+ ],
3929
+ "unicode": "f000",
3930
+ "label": "Martini Glass"
3931
+ },
3932
+ "glass-martini-alt": {
3933
+ "styles": [
3934
+ "solid"
3935
+ ],
3936
+ "unicode": "f57b",
3937
+ "label": "Alternate Glass Martini"
3938
+ },
3939
+ "glass-whiskey": {
3940
+ "styles": [
3941
+ "solid"
3942
+ ],
3943
+ "unicode": "f7a0",
3944
+ "label": "Glass Whiskey"
3945
+ },
3946
+ "glasses": {
3947
+ "styles": [
3948
+ "solid"
3949
+ ],
3950
+ "unicode": "f530",
3951
+ "label": "Glasses"
3952
+ },
3953
+ "glide": {
3954
+ "styles": [
3955
+ "brands"
3956
+ ],
3957
+ "unicode": "f2a5",
3958
+ "label": "Glide"
3959
+ },
3960
+ "glide-g": {
3961
+ "styles": [
3962
+ "brands"
3963
+ ],
3964
+ "unicode": "f2a6",
3965
+ "label": "Glide G"
3966
+ },
3967
+ "globe": {
3968
+ "styles": [
3969
+ "solid"
3970
+ ],
3971
+ "unicode": "f0ac",
3972
+ "label": "Globe"
3973
+ },
3974
+ "globe-africa": {
3975
+ "styles": [
3976
+ "solid"
3977
+ ],
3978
+ "unicode": "f57c",
3979
+ "label": "Globe with Africa shown"
3980
+ },
3981
+ "globe-americas": {
3982
+ "styles": [
3983
+ "solid"
3984
+ ],
3985
+ "unicode": "f57d",
3986
+ "label": "Globe with Americas shown"
3987
+ },
3988
+ "globe-asia": {
3989
+ "styles": [
3990
+ "solid"
3991
+ ],
3992
+ "unicode": "f57e",
3993
+ "label": "Globe with Asia shown"
3994
+ },
3995
+ "globe-europe": {
3996
+ "styles": [
3997
+ "solid"
3998
+ ],
3999
+ "unicode": "f7a2",
4000
+ "label": "Globe with Europe shown"
4001
+ },
4002
+ "gofore": {
4003
+ "styles": [
4004
+ "brands"
4005
+ ],
4006
+ "unicode": "f3a7",
4007
+ "label": "Gofore"
4008
+ },
4009
+ "golf-ball": {
4010
+ "styles": [
4011
+ "solid"
4012
+ ],
4013
+ "unicode": "f450",
4014
+ "label": "Golf Ball"
4015
+ },
4016
+ "goodreads": {
4017
+ "styles": [
4018
+ "brands"
4019
+ ],
4020
+ "unicode": "f3a8",
4021
+ "label": "Goodreads"
4022
+ },
4023
+ "goodreads-g": {
4024
+ "styles": [
4025
+ "brands"
4026
+ ],
4027
+ "unicode": "f3a9",
4028
+ "label": "Goodreads G"
4029
+ },
4030
+ "google": {
4031
+ "styles": [
4032
+ "brands"
4033
+ ],
4034
+ "unicode": "f1a0",
4035
+ "label": "Google Logo"
4036
+ },
4037
+ "google-drive": {
4038
+ "styles": [
4039
+ "brands"
4040
+ ],
4041
+ "unicode": "f3aa",
4042
+ "label": "Google Drive"
4043
+ },
4044
+ "google-play": {
4045
+ "styles": [
4046
+ "brands"
4047
+ ],
4048
+ "unicode": "f3ab",
4049
+ "label": "Google Play"
4050
+ },
4051
+ "google-plus": {
4052
+ "styles": [
4053
+ "brands"
4054
+ ],
4055
+ "unicode": "f2b3",
4056
+ "label": "Google Plus"
4057
+ },
4058
+ "google-plus-g": {
4059
+ "styles": [
4060
+ "brands"
4061
+ ],
4062
+ "unicode": "f0d5",
4063
+ "label": "Google Plus G"
4064
+ },
4065
+ "google-plus-square": {
4066
+ "styles": [
4067
+ "brands"
4068
+ ],
4069
+ "unicode": "f0d4",
4070
+ "label": "Google Plus Square"
4071
+ },
4072
+ "google-wallet": {
4073
+ "styles": [
4074
+ "brands"
4075
+ ],
4076
+ "unicode": "f1ee",
4077
+ "label": "Google Wallet"
4078
+ },
4079
+ "gopuram": {
4080
+ "styles": [
4081
+ "solid"
4082
+ ],
4083
+ "unicode": "f664",
4084
+ "label": "Gopuram"
4085
+ },
4086
+ "graduation-cap": {
4087
+ "styles": [
4088
+ "solid"
4089
+ ],
4090
+ "unicode": "f19d",
4091
+ "label": "Graduation Cap"
4092
+ },
4093
+ "gratipay": {
4094
+ "styles": [
4095
+ "brands"
4096
+ ],
4097
+ "unicode": "f184",
4098
+ "label": "Gratipay (Gittip)"
4099
+ },
4100
+ "grav": {
4101
+ "styles": [
4102
+ "brands"
4103
+ ],
4104
+ "unicode": "f2d6",
4105
+ "label": "Grav"
4106
+ },
4107
+ "greater-than": {
4108
+ "styles": [
4109
+ "solid"
4110
+ ],
4111
+ "unicode": "f531",
4112
+ "label": "Greater Than"
4113
+ },
4114
+ "greater-than-equal": {
4115
+ "styles": [
4116
+ "solid"
4117
+ ],
4118
+ "unicode": "f532",
4119
+ "label": "Greater Than Equal To"
4120
+ },
4121
+ "grimace": {
4122
+ "styles": [
4123
+ "solid",
4124
+ "regular"
4125
+ ],
4126
+ "unicode": "f57f",
4127
+ "label": "Grimacing Face"
4128
+ },
4129
+ "grin": {
4130
+ "styles": [
4131
+ "solid",
4132
+ "regular"
4133
+ ],
4134
+ "unicode": "f580",
4135
+ "label": "Grinning Face"
4136
+ },
4137
+ "grin-alt": {
4138
+ "styles": [
4139
+ "solid",
4140
+ "regular"
4141
+ ],
4142
+ "unicode": "f581",
4143
+ "label": "Alternate Grinning Face"
4144
+ },
4145
+ "grin-beam": {
4146
+ "styles": [
4147
+ "solid",
4148
+ "regular"
4149
+ ],
4150
+ "unicode": "f582",
4151
+ "label": "Grinning Face With Smiling Eyes"
4152
+ },
4153
+ "grin-beam-sweat": {
4154
+ "styles": [
4155
+ "solid",
4156
+ "regular"
4157
+ ],
4158
+ "unicode": "f583",
4159
+ "label": "Grinning Face With Sweat"
4160
+ },
4161
+ "grin-hearts": {
4162
+ "styles": [
4163
+ "solid",
4164
+ "regular"
4165
+ ],
4166
+ "unicode": "f584",
4167
+ "label": "Smiling Face With Heart-Eyes"
4168
+ },
4169
+ "grin-squint": {
4170
+ "styles": [
4171
+ "solid",
4172
+ "regular"
4173
+ ],
4174
+ "unicode": "f585",
4175
+ "label": "Grinning Squinting Face"
4176
+ },
4177
+ "grin-squint-tears": {
4178
+ "styles": [
4179
+ "solid",
4180
+ "regular"
4181
+ ],
4182
+ "unicode": "f586",
4183
+ "label": "Rolling on the Floor Laughing"
4184
+ },
4185
+ "grin-stars": {
4186
+ "styles": [
4187
+ "solid",
4188
+ "regular"
4189
+ ],
4190
+ "unicode": "f587",
4191
+ "label": "Star-Struck"
4192
+ },
4193
+ "grin-tears": {
4194
+ "styles": [
4195
+ "solid",
4196
+ "regular"
4197
+ ],
4198
+ "unicode": "f588",
4199
+ "label": "Face With Tears of Joy"
4200
+ },
4201
+ "grin-tongue": {
4202
+ "styles": [
4203
+ "solid",
4204
+ "regular"
4205
+ ],
4206
+ "unicode": "f589",
4207
+ "label": "Face With Tongue"
4208
+ },
4209
+ "grin-tongue-squint": {
4210
+ "styles": [
4211
+ "solid",
4212
+ "regular"
4213
+ ],
4214
+ "unicode": "f58a",
4215
+ "label": "Squinting Face With Tongue"
4216
+ },
4217
+ "grin-tongue-wink": {
4218
+ "styles": [
4219
+ "solid",
4220
+ "regular"
4221
+ ],
4222
+ "unicode": "f58b",
4223
+ "label": "Winking Face With Tongue"
4224
+ },
4225
+ "grin-wink": {
4226
+ "styles": [
4227
+ "solid",
4228
+ "regular"
4229
+ ],
4230
+ "unicode": "f58c",
4231
+ "label": "Grinning Winking Face"
4232
+ },
4233
+ "grip-horizontal": {
4234
+ "styles": [
4235
+ "solid"
4236
+ ],
4237
+ "unicode": "f58d",
4238
+ "label": "Grip Horizontal"
4239
+ },
4240
+ "grip-lines": {
4241
+ "styles": [
4242
+ "solid"
4243
+ ],
4244
+ "unicode": "f7a4",
4245
+ "label": "Grip Lines"
4246
+ },
4247
+ "grip-lines-vertical": {
4248
+ "styles": [
4249
+ "solid"
4250
+ ],
4251
+ "unicode": "f7a5",
4252
+ "label": "Grip Lines Vertical"
4253
+ },
4254
+ "grip-vertical": {
4255
+ "styles": [
4256
+ "solid"
4257
+ ],
4258
+ "unicode": "f58e",
4259
+ "label": "Grip Vertical"
4260
+ },
4261
+ "gripfire": {
4262
+ "styles": [
4263
+ "brands"
4264
+ ],
4265
+ "unicode": "f3ac",
4266
+ "label": "Gripfire, Inc."
4267
+ },
4268
+ "grunt": {
4269
+ "styles": [
4270
+ "brands"
4271
+ ],
4272
+ "unicode": "f3ad",
4273
+ "label": "Grunt"
4274
+ },
4275
+ "guitar": {
4276
+ "styles": [
4277
+ "solid"
4278
+ ],
4279
+ "unicode": "f7a6",
4280
+ "label": "Guitar"
4281
+ },
4282
+ "gulp": {
4283
+ "styles": [
4284
+ "brands"
4285
+ ],
4286
+ "unicode": "f3ae",
4287
+ "label": "Gulp"
4288
+ },
4289
+ "h-square": {
4290
+ "styles": [
4291
+ "solid"
4292
+ ],
4293
+ "unicode": "f0fd",
4294
+ "label": "H Square"
4295
+ },
4296
+ "hacker-news": {
4297
+ "styles": [
4298
+ "brands"
4299
+ ],
4300
+ "unicode": "f1d4",
4301
+ "label": "Hacker News"
4302
+ },
4303
+ "hacker-news-square": {
4304
+ "styles": [
4305
+ "brands"
4306
+ ],
4307
+ "unicode": "f3af",
4308
+ "label": "Hacker News Square"
4309
+ },
4310
+ "hackerrank": {
4311
+ "styles": [
4312
+ "brands"
4313
+ ],
4314
+ "unicode": "f5f7",
4315
+ "label": "Hackerrank"
4316
+ },
4317
+ "hamburger": {
4318
+ "styles": [
4319
+ "solid"
4320
+ ],
4321
+ "unicode": "f805",
4322
+ "label": "Hamburger"
4323
+ },
4324
+ "hammer": {
4325
+ "styles": [
4326
+ "solid"
4327
+ ],
4328
+ "unicode": "f6e3",
4329
+ "label": "Hammer"
4330
+ },
4331
+ "hamsa": {
4332
+ "styles": [
4333
+ "solid"
4334
+ ],
4335
+ "unicode": "f665",
4336
+ "label": "Hamsa"
4337
+ },
4338
+ "hand-holding": {
4339
+ "styles": [
4340
+ "solid"
4341
+ ],
4342
+ "unicode": "f4bd",
4343
+ "label": "Hand Holding"
4344
+ },
4345
+ "hand-holding-heart": {
4346
+ "styles": [
4347
+ "solid"
4348
+ ],
4349
+ "unicode": "f4be",
4350
+ "label": "Hand Holding Heart"
4351
+ },
4352
+ "hand-holding-medical": {
4353
+ "styles": [
4354
+ "solid"
4355
+ ],
4356
+ "unicode": "f95c",
4357
+ "label": "Hand Holding Medical Cross"
4358
+ },
4359
+ "hand-holding-usd": {
4360
+ "styles": [
4361
+ "solid"
4362
+ ],
4363
+ "unicode": "f4c0",
4364
+ "label": "Hand Holding US Dollar"
4365
+ },
4366
+ "hand-holding-water": {
4367
+ "styles": [
4368
+ "solid"
4369
+ ],
4370
+ "unicode": "f4c1",
4371
+ "label": "Hand Holding Water"
4372
+ },
4373
+ "hand-lizard": {
4374
+ "styles": [
4375
+ "solid",
4376
+ "regular"
4377
+ ],
4378
+ "unicode": "f258",
4379
+ "label": "Lizard (Hand)"
4380
+ },
4381
+ "hand-middle-finger": {
4382
+ "styles": [
4383
+ "solid"
4384
+ ],
4385
+ "unicode": "f806",
4386
+ "label": "Hand with Middle Finger Raised"
4387
+ },
4388
+ "hand-paper": {
4389
+ "styles": [
4390
+ "solid",
4391
+ "regular"
4392
+ ],
4393
+ "unicode": "f256",
4394
+ "label": "Paper (Hand)"
4395
+ },
4396
+ "hand-peace": {
4397
+ "styles": [
4398
+ "solid",
4399
+ "regular"
4400
+ ],
4401
+ "unicode": "f25b",
4402
+ "label": "Peace (Hand)"
4403
+ },
4404
+ "hand-point-down": {
4405
+ "styles": [
4406
+ "solid",
4407
+ "regular"
4408
+ ],
4409
+ "unicode": "f0a7",
4410
+ "label": "Hand Pointing Down"
4411
+ },
4412
+ "hand-point-left": {
4413
+ "styles": [
4414
+ "solid",
4415
+ "regular"
4416
+ ],
4417
+ "unicode": "f0a5",
4418
+ "label": "Hand Pointing Left"
4419
+ },
4420
+ "hand-point-right": {
4421
+ "styles": [
4422
+ "solid",
4423
+ "regular"
4424
+ ],
4425
+ "unicode": "f0a4",
4426
+ "label": "Hand Pointing Right"
4427
+ },
4428
+ "hand-point-up": {
4429
+ "styles": [
4430
+ "solid",
4431
+ "regular"
4432
+ ],
4433
+ "unicode": "f0a6",
4434
+ "label": "Hand Pointing Up"
4435
+ },
4436
+ "hand-pointer": {
4437
+ "styles": [
4438
+ "solid",
4439
+ "regular"
4440
+ ],
4441
+ "unicode": "f25a",
4442
+ "label": "Pointer (Hand)"
4443
+ },
4444
+ "hand-rock": {
4445
+ "styles": [
4446
+ "solid",
4447
+ "regular"
4448
+ ],
4449
+ "unicode": "f255",
4450
+ "label": "Rock (Hand)"
4451
+ },
4452
+ "hand-scissors": {
4453
+ "styles": [
4454
+ "solid",
4455
+ "regular"
4456
+ ],
4457
+ "unicode": "f257",
4458
+ "label": "Scissors (Hand)"
4459
+ },
4460
+ "hand-sparkles": {
4461
+ "styles": [
4462
+ "solid"
4463
+ ],
4464
+ "unicode": "f95d",
4465
+ "label": "Hand Sparkles"
4466
+ },
4467
+ "hand-spock": {
4468
+ "styles": [
4469
+ "solid",
4470
+ "regular"
4471
+ ],
4472
+ "unicode": "f259",
4473
+ "label": "Spock (Hand)"
4474
+ },
4475
+ "hands": {
4476
+ "styles": [
4477
+ "solid"
4478
+ ],
4479
+ "unicode": "f4c2",
4480
+ "label": "Hands"
4481
+ },
4482
+ "hands-helping": {
4483
+ "styles": [
4484
+ "solid"
4485
+ ],
4486
+ "unicode": "f4c4",
4487
+ "label": "Helping Hands"
4488
+ },
4489
+ "hands-wash": {
4490
+ "styles": [
4491
+ "solid"
4492
+ ],
4493
+ "unicode": "f95e",
4494
+ "label": "Hands Wash"
4495
+ },
4496
+ "handshake": {
4497
+ "styles": [
4498
+ "solid",
4499
+ "regular"
4500
+ ],
4501
+ "unicode": "f2b5",
4502
+ "label": "Handshake"
4503
+ },
4504
+ "handshake-alt-slash": {
4505
+ "styles": [
4506
+ "solid"
4507
+ ],
4508
+ "unicode": "f95f",
4509
+ "label": "Handshake Alternate Slash"
4510
+ },
4511
+ "handshake-slash": {
4512
+ "styles": [
4513
+ "solid"
4514
+ ],
4515
+ "unicode": "f960",
4516
+ "label": "Handshake Slash"
4517
+ },
4518
+ "hanukiah": {
4519
+ "styles": [
4520
+ "solid"
4521
+ ],
4522
+ "unicode": "f6e6",
4523
+ "label": "Hanukiah"
4524
+ },
4525
+ "hard-hat": {
4526
+ "styles": [
4527
+ "solid"
4528
+ ],
4529
+ "unicode": "f807",
4530
+ "label": "Hard Hat"
4531
+ },
4532
+ "hashtag": {
4533
+ "styles": [
4534
+ "solid"
4535
+ ],
4536
+ "unicode": "f292",
4537
+ "label": "Hashtag"
4538
+ },
4539
+ "hat-cowboy": {
4540
+ "styles": [
4541
+ "solid"
4542
+ ],
4543
+ "unicode": "f8c0",
4544
+ "label": "Cowboy Hat"
4545
+ },
4546
+ "hat-cowboy-side": {
4547
+ "styles": [
4548
+ "solid"
4549
+ ],
4550
+ "unicode": "f8c1",
4551
+ "label": "Cowboy Hat Side"
4552
+ },
4553
+ "hat-wizard": {
4554
+ "styles": [
4555
+ "solid"
4556
+ ],
4557
+ "unicode": "f6e8",
4558
+ "label": "Wizard's Hat"
4559
+ },
4560
+ "hdd": {
4561
+ "styles": [
4562
+ "solid",
4563
+ "regular"
4564
+ ],
4565
+ "unicode": "f0a0",
4566
+ "label": "HDD"
4567
+ },
4568
+ "head-side-cough": {
4569
+ "styles": [
4570
+ "solid"
4571
+ ],
4572
+ "unicode": "f961",
4573
+ "label": "Head Side Cough"
4574
+ },
4575
+ "head-side-cough-slash": {
4576
+ "styles": [
4577
+ "solid"
4578
+ ],
4579
+ "unicode": "f962",
4580
+ "label": "Head Side-cough-slash"
4581
+ },
4582
+ "head-side-mask": {
4583
+ "styles": [
4584
+ "solid"
4585
+ ],
4586
+ "unicode": "f963",
4587
+ "label": "Head Side Mask"
4588
+ },
4589
+ "head-side-virus": {
4590
+ "styles": [
4591
+ "solid"
4592
+ ],
4593
+ "unicode": "f964",
4594
+ "label": "Head Side Virus"
4595
+ },
4596
+ "heading": {
4597
+ "styles": [
4598
+ "solid"
4599
+ ],
4600
+ "unicode": "f1dc",
4601
+ "label": "heading"
4602
+ },
4603
+ "headphones": {
4604
+ "styles": [
4605
+ "solid"
4606
+ ],
4607
+ "unicode": "f025",
4608
+ "label": "headphones"
4609
+ },
4610
+ "headphones-alt": {
4611
+ "styles": [
4612
+ "solid"
4613
+ ],
4614
+ "unicode": "f58f",
4615
+ "label": "Alternate Headphones"
4616
+ },
4617
+ "headset": {
4618
+ "styles": [
4619
+ "solid"
4620
+ ],
4621
+ "unicode": "f590",
4622
+ "label": "Headset"
4623
+ },
4624
+ "heart": {
4625
+ "styles": [
4626
+ "solid",
4627
+ "regular"
4628
+ ],
4629
+ "unicode": "f004",
4630
+ "label": "Heart"
4631
+ },
4632
+ "heart-broken": {
4633
+ "styles": [
4634
+ "solid"
4635
+ ],
4636
+ "unicode": "f7a9",
4637
+ "label": "Heart Broken"
4638
+ },
4639
+ "heartbeat": {
4640
+ "styles": [
4641
+ "solid"
4642
+ ],
4643
+ "unicode": "f21e",
4644
+ "label": "Heartbeat"
4645
+ },
4646
+ "helicopter": {
4647
+ "styles": [
4648
+ "solid"
4649
+ ],
4650
+ "unicode": "f533",
4651
+ "label": "Helicopter"
4652
+ },
4653
+ "highlighter": {
4654
+ "styles": [
4655
+ "solid"
4656
+ ],
4657
+ "unicode": "f591",
4658
+ "label": "Highlighter"
4659
+ },
4660
+ "hiking": {
4661
+ "styles": [
4662
+ "solid"
4663
+ ],
4664
+ "unicode": "f6ec",
4665
+ "label": "Hiking"
4666
+ },
4667
+ "hippo": {
4668
+ "styles": [
4669
+ "solid"
4670
+ ],
4671
+ "unicode": "f6ed",
4672
+ "label": "Hippo"
4673
+ },
4674
+ "hips": {
4675
+ "styles": [
4676
+ "brands"
4677
+ ],
4678
+ "unicode": "f452",
4679
+ "label": "Hips"
4680
+ },
4681
+ "hire-a-helper": {
4682
+ "styles": [
4683
+ "brands"
4684
+ ],
4685
+ "unicode": "f3b0",
4686
+ "label": "HireAHelper"
4687
+ },
4688
+ "history": {
4689
+ "styles": [
4690
+ "solid"
4691
+ ],
4692
+ "unicode": "f1da",
4693
+ "label": "History"
4694
+ },
4695
+ "hockey-puck": {
4696
+ "styles": [
4697
+ "solid"
4698
+ ],
4699
+ "unicode": "f453",
4700
+ "label": "Hockey Puck"
4701
+ },
4702
+ "holly-berry": {
4703
+ "styles": [
4704
+ "solid"
4705
+ ],
4706
+ "unicode": "f7aa",
4707
+ "label": "Holly Berry"
4708
+ },
4709
+ "home": {
4710
+ "styles": [
4711
+ "solid"
4712
+ ],
4713
+ "unicode": "f015",
4714
+ "label": "home"
4715
+ },
4716
+ "hooli": {
4717
+ "styles": [
4718
+ "brands"
4719
+ ],
4720
+ "unicode": "f427",
4721
+ "label": "Hooli"
4722
+ },
4723
+ "hornbill": {
4724
+ "styles": [
4725
+ "brands"
4726
+ ],
4727
+ "unicode": "f592",
4728
+ "label": "Hornbill"
4729
+ },
4730
+ "horse": {
4731
+ "styles": [
4732
+ "solid"
4733
+ ],
4734
+ "unicode": "f6f0",
4735
+ "label": "Horse"
4736
+ },
4737
+ "horse-head": {
4738
+ "styles": [
4739
+ "solid"
4740
+ ],
4741
+ "unicode": "f7ab",
4742
+ "label": "Horse Head"
4743
+ },
4744
+ "hospital": {
4745
+ "styles": [
4746
+ "solid",
4747
+ "regular"
4748
+ ],
4749
+ "unicode": "f0f8",
4750
+ "label": "hospital"
4751
+ },
4752
+ "hospital-alt": {
4753
+ "styles": [
4754
+ "solid"
4755
+ ],
4756
+ "unicode": "f47d",
4757
+ "label": "Alternate Hospital"
4758
+ },
4759
+ "hospital-symbol": {
4760
+ "styles": [
4761
+ "solid"
4762
+ ],
4763
+ "unicode": "f47e",
4764
+ "label": "Hospital Symbol"
4765
+ },
4766
+ "hospital-user": {
4767
+ "styles": [
4768
+ "solid"
4769
+ ],
4770
+ "unicode": "f80d",
4771
+ "label": "Hospital with User"
4772
+ },
4773
+ "hot-tub": {
4774
+ "styles": [
4775
+ "solid"
4776
+ ],
4777
+ "unicode": "f593",
4778
+ "label": "Hot Tub"
4779
+ },
4780
+ "hotdog": {
4781
+ "styles": [
4782
+ "solid"
4783
+ ],
4784
+ "unicode": "f80f",
4785
+ "label": "Hot Dog"
4786
+ },
4787
+ "hotel": {
4788
+ "styles": [
4789
+ "solid"
4790
+ ],
4791
+ "unicode": "f594",
4792
+ "label": "Hotel"
4793
+ },
4794
+ "hotjar": {
4795
+ "styles": [
4796
+ "brands"
4797
+ ],
4798
+ "unicode": "f3b1",
4799
+ "label": "Hotjar"
4800
+ },
4801
+ "hourglass": {
4802
+ "styles": [
4803
+ "solid",
4804
+ "regular"
4805
+ ],
4806
+ "unicode": "f254",
4807
+ "label": "Hourglass"
4808
+ },
4809
+ "hourglass-end": {
4810
+ "styles": [
4811
+ "solid"
4812
+ ],
4813
+ "unicode": "f253",
4814
+ "label": "Hourglass End"
4815
+ },
4816
+ "hourglass-half": {
4817
+ "styles": [
4818
+ "solid"
4819
+ ],
4820
+ "unicode": "f252",
4821
+ "label": "Hourglass Half"
4822
+ },
4823
+ "hourglass-start": {
4824
+ "styles": [
4825
+ "solid"
4826
+ ],
4827
+ "unicode": "f251",
4828
+ "label": "Hourglass Start"
4829
+ },
4830
+ "house-damage": {
4831
+ "styles": [
4832
+ "solid"
4833
+ ],
4834
+ "unicode": "f6f1",
4835
+ "label": "Damaged House"
4836
+ },
4837
+ "house-user": {
4838
+ "styles": [
4839
+ "solid"
4840
+ ],
4841
+ "unicode": "f965",
4842
+ "label": "House User"
4843
+ },
4844
+ "houzz": {
4845
+ "styles": [
4846
+ "brands"
4847
+ ],
4848
+ "unicode": "f27c",
4849
+ "label": "Houzz"
4850
+ },
4851
+ "hryvnia": {
4852
+ "styles": [
4853
+ "solid"
4854
+ ],
4855
+ "unicode": "f6f2",
4856
+ "label": "Hryvnia"
4857
+ },
4858
+ "html5": {
4859
+ "styles": [
4860
+ "brands"
4861
+ ],
4862
+ "unicode": "f13b",
4863
+ "label": "HTML 5 Logo"
4864
+ },
4865
+ "hubspot": {
4866
+ "styles": [
4867
+ "brands"
4868
+ ],
4869
+ "unicode": "f3b2",
4870
+ "label": "HubSpot"
4871
+ },
4872
+ "i-cursor": {
4873
+ "styles": [
4874
+ "solid"
4875
+ ],
4876
+ "unicode": "f246",
4877
+ "label": "I Beam Cursor"
4878
+ },
4879
+ "ice-cream": {
4880
+ "styles": [
4881
+ "solid"
4882
+ ],
4883
+ "unicode": "f810",
4884
+ "label": "Ice Cream"
4885
+ },
4886
+ "icicles": {
4887
+ "styles": [
4888
+ "solid"
4889
+ ],
4890
+ "unicode": "f7ad",
4891
+ "label": "Icicles"
4892
+ },
4893
+ "icons": {
4894
+ "styles": [
4895
+ "solid"
4896
+ ],
4897
+ "unicode": "f86d",
4898
+ "label": "Icons"
4899
+ },
4900
+ "id-badge": {
4901
+ "styles": [
4902
+ "solid",
4903
+ "regular"
4904
+ ],
4905
+ "unicode": "f2c1",
4906
+ "label": "Identification Badge"
4907
+ },
4908
+ "id-card": {
4909
+ "styles": [
4910
+ "solid",
4911
+ "regular"
4912
+ ],
4913
+ "unicode": "f2c2",
4914
+ "label": "Identification Card"
4915
+ },
4916
+ "id-card-alt": {
4917
+ "styles": [
4918
+ "solid"
4919
+ ],
4920
+ "unicode": "f47f",
4921
+ "label": "Alternate Identification Card"
4922
+ },
4923
+ "ideal": {
4924
+ "styles": [
4925
+ "brands"
4926
+ ],
4927
+ "unicode": "f913",
4928
+ "label": "iDeal"
4929
+ },
4930
+ "igloo": {
4931
+ "styles": [
4932
+ "solid"
4933
+ ],
4934
+ "unicode": "f7ae",
4935
+ "label": "Igloo"
4936
+ },
4937
+ "image": {
4938
+ "styles": [
4939
+ "solid",
4940
+ "regular"
4941
+ ],
4942
+ "unicode": "f03e",
4943
+ "label": "Image"
4944
+ },
4945
+ "images": {
4946
+ "styles": [
4947
+ "solid",
4948
+ "regular"
4949
+ ],
4950
+ "unicode": "f302",
4951
+ "label": "Images"
4952
+ },
4953
+ "imdb": {
4954
+ "styles": [
4955
+ "brands"
4956
+ ],
4957
+ "unicode": "f2d8",
4958
+ "label": "IMDB"
4959
+ },
4960
+ "inbox": {
4961
+ "styles": [
4962
+ "solid"
4963
+ ],
4964
+ "unicode": "f01c",
4965
+ "label": "inbox"
4966
+ },
4967
+ "indent": {
4968
+ "styles": [
4969
+ "solid"
4970
+ ],
4971
+ "unicode": "f03c",
4972
+ "label": "Indent"
4973
+ },
4974
+ "industry": {
4975
+ "styles": [
4976
+ "solid"
4977
+ ],
4978
+ "unicode": "f275",
4979
+ "label": "Industry"
4980
+ },
4981
+ "infinity": {
4982
+ "styles": [
4983
+ "solid"
4984
+ ],
4985
+ "unicode": "f534",
4986
+ "label": "Infinity"
4987
+ },
4988
+ "info": {
4989
+ "styles": [
4990
+ "solid"
4991
+ ],
4992
+ "unicode": "f129",
4993
+ "label": "Info"
4994
+ },
4995
+ "info-circle": {
4996
+ "styles": [
4997
+ "solid"
4998
+ ],
4999
+ "unicode": "f05a",
5000
+ "label": "Info Circle"
5001
+ },
5002
+ "instagram": {
5003
+ "styles": [
5004
+ "brands"
5005
+ ],
5006
+ "unicode": "f16d",
5007
+ "label": "Instagram"
5008
+ },
5009
+ "instagram-square": {
5010
+ "styles": [
5011
+ "brands"
5012
+ ],
5013
+ "unicode": "f955",
5014
+ "label": "Instagram Square"
5015
+ },
5016
+ "intercom": {
5017
+ "styles": [
5018
+ "brands"
5019
+ ],
5020
+ "unicode": "f7af",
5021
+ "label": "Intercom"
5022
+ },
5023
+ "internet-explorer": {
5024
+ "styles": [
5025
+ "brands"
5026
+ ],
5027
+ "unicode": "f26b",
5028
+ "label": "Internet-explorer"
5029
+ },
5030
+ "invision": {
5031
+ "styles": [
5032
+ "brands"
5033
+ ],
5034
+ "unicode": "f7b0",
5035
+ "label": "InVision"
5036
+ },
5037
+ "ioxhost": {
5038
+ "styles": [
5039
+ "brands"
5040
+ ],
5041
+ "unicode": "f208",
5042
+ "label": "ioxhost"
5043
+ },
5044
+ "italic": {
5045
+ "styles": [
5046
+ "solid"
5047
+ ],
5048
+ "unicode": "f033",
5049
+ "label": "italic"
5050
+ },
5051
+ "itch-io": {
5052
+ "styles": [
5053
+ "brands"
5054
+ ],
5055
+ "unicode": "f83a",
5056
+ "label": "itch.io"
5057
+ },
5058
+ "itunes": {
5059
+ "styles": [
5060
+ "brands"
5061
+ ],
5062
+ "unicode": "f3b4",
5063
+ "label": "iTunes"
5064
+ },
5065
+ "itunes-note": {
5066
+ "styles": [
5067
+ "brands"
5068
+ ],
5069
+ "unicode": "f3b5",
5070
+ "label": "Itunes Note"
5071
+ },
5072
+ "java": {
5073
+ "styles": [
5074
+ "brands"
5075
+ ],
5076
+ "unicode": "f4e4",
5077
+ "label": "Java"
5078
+ },
5079
+ "jedi": {
5080
+ "styles": [
5081
+ "solid"
5082
+ ],
5083
+ "unicode": "f669",
5084
+ "label": "Jedi"
5085
+ },
5086
+ "jedi-order": {
5087
+ "styles": [
5088
+ "brands"
5089
+ ],
5090
+ "unicode": "f50e",
5091
+ "label": "Jedi Order"
5092
+ },
5093
+ "jenkins": {
5094
+ "styles": [
5095
+ "brands"
5096
+ ],
5097
+ "unicode": "f3b6",
5098
+ "label": "Jenkis"
5099
+ },
5100
+ "jira": {
5101
+ "styles": [
5102
+ "brands"
5103
+ ],
5104
+ "unicode": "f7b1",
5105
+ "label": "Jira"
5106
+ },
5107
+ "joget": {
5108
+ "styles": [
5109
+ "brands"
5110
+ ],
5111
+ "unicode": "f3b7",
5112
+ "label": "Joget"
5113
+ },
5114
+ "joint": {
5115
+ "styles": [
5116
+ "solid"
5117
+ ],
5118
+ "unicode": "f595",
5119
+ "label": "Joint"
5120
+ },
5121
+ "joomla": {
5122
+ "styles": [
5123
+ "brands"
5124
+ ],
5125
+ "unicode": "f1aa",
5126
+ "label": "Joomla Logo"
5127
+ },
5128
+ "journal-whills": {
5129
+ "styles": [
5130
+ "solid"
5131
+ ],
5132
+ "unicode": "f66a",
5133
+ "label": "Journal of the Whills"
5134
+ },
5135
+ "js": {
5136
+ "styles": [
5137
+ "brands"
5138
+ ],
5139
+ "unicode": "f3b8",
5140
+ "label": "JavaScript (JS)"
5141
+ },
5142
+ "js-square": {
5143
+ "styles": [
5144
+ "brands"
5145
+ ],
5146
+ "unicode": "f3b9",
5147
+ "label": "JavaScript (JS) Square"
5148
+ },
5149
+ "jsfiddle": {
5150
+ "styles": [
5151
+ "brands"
5152
+ ],
5153
+ "unicode": "f1cc",
5154
+ "label": "jsFiddle"
5155
+ },
5156
+ "kaaba": {
5157
+ "styles": [
5158
+ "solid"
5159
+ ],
5160
+ "unicode": "f66b",
5161
+ "label": "Kaaba"
5162
+ },
5163
+ "kaggle": {
5164
+ "styles": [
5165
+ "brands"
5166
+ ],
5167
+ "unicode": "f5fa",
5168
+ "label": "Kaggle"
5169
+ },
5170
+ "key": {
5171
+ "styles": [
5172
+ "solid"
5173
+ ],
5174
+ "unicode": "f084",
5175
+ "label": "key"
5176
+ },
5177
+ "keybase": {
5178
+ "styles": [
5179
+ "brands"
5180
+ ],
5181
+ "unicode": "f4f5",
5182
+ "label": "Keybase"
5183
+ },
5184
+ "keyboard": {
5185
+ "styles": [
5186
+ "solid",
5187
+ "regular"
5188
+ ],
5189
+ "unicode": "f11c",
5190
+ "label": "Keyboard"
5191
+ },
5192
+ "keycdn": {
5193
+ "styles": [
5194
+ "brands"
5195
+ ],
5196
+ "unicode": "f3ba",
5197
+ "label": "KeyCDN"
5198
+ },
5199
+ "khanda": {
5200
+ "styles": [
5201
+ "solid"
5202
+ ],
5203
+ "unicode": "f66d",
5204
+ "label": "Khanda"
5205
+ },
5206
+ "kickstarter": {
5207
+ "styles": [
5208
+ "brands"
5209
+ ],
5210
+ "unicode": "f3bb",
5211
+ "label": "Kickstarter"
5212
+ },
5213
+ "kickstarter-k": {
5214
+ "styles": [
5215
+ "brands"
5216
+ ],
5217
+ "unicode": "f3bc",
5218
+ "label": "Kickstarter K"
5219
+ },
5220
+ "kiss": {
5221
+ "styles": [
5222
+ "solid",
5223
+ "regular"
5224
+ ],
5225
+ "unicode": "f596",
5226
+ "label": "Kissing Face"
5227
+ },
5228
+ "kiss-beam": {
5229
+ "styles": [
5230
+ "solid",
5231
+ "regular"
5232
+ ],
5233
+ "unicode": "f597",
5234
+ "label": "Kissing Face With Smiling Eyes"
5235
+ },
5236
+ "kiss-wink-heart": {
5237
+ "styles": [
5238
+ "solid",
5239
+ "regular"
5240
+ ],
5241
+ "unicode": "f598",
5242
+ "label": "Face Blowing a Kiss"
5243
+ },
5244
+ "kiwi-bird": {
5245
+ "styles": [
5246
+ "solid"
5247
+ ],
5248
+ "unicode": "f535",
5249
+ "label": "Kiwi Bird"
5250
+ },
5251
+ "korvue": {
5252
+ "styles": [
5253
+ "brands"
5254
+ ],
5255
+ "unicode": "f42f",
5256
+ "label": "KORVUE"
5257
+ },
5258
+ "landmark": {
5259
+ "styles": [
5260
+ "solid"
5261
+ ],
5262
+ "unicode": "f66f",
5263
+ "label": "Landmark"
5264
+ },
5265
+ "language": {
5266
+ "styles": [
5267
+ "solid"
5268
+ ],
5269
+ "unicode": "f1ab",
5270
+ "label": "Language"
5271
+ },
5272
+ "laptop": {
5273
+ "styles": [
5274
+ "solid"
5275
+ ],
5276
+ "unicode": "f109",
5277
+ "label": "Laptop"
5278
+ },
5279
+ "laptop-code": {
5280
+ "styles": [
5281
+ "solid"
5282
+ ],
5283
+ "unicode": "f5fc",
5284
+ "label": "Laptop Code"
5285
+ },
5286
+ "laptop-house": {
5287
+ "styles": [
5288
+ "solid"
5289
+ ],
5290
+ "unicode": "f966",
5291
+ "label": "Laptop House"
5292
+ },
5293
+ "laptop-medical": {
5294
+ "styles": [
5295
+ "solid"
5296
+ ],
5297
+ "unicode": "f812",
5298
+ "label": "Laptop Medical"
5299
+ },
5300
+ "laravel": {
5301
+ "styles": [
5302
+ "brands"
5303
+ ],
5304
+ "unicode": "f3bd",
5305
+ "label": "Laravel"
5306
+ },
5307
+ "lastfm": {
5308
+ "styles": [
5309
+ "brands"
5310
+ ],
5311
+ "unicode": "f202",
5312
+ "label": "last.fm"
5313
+ },
5314
+ "lastfm-square": {
5315
+ "styles": [
5316
+ "brands"
5317
+ ],
5318
+ "unicode": "f203",
5319
+ "label": "last.fm Square"
5320
+ },
5321
+ "laugh": {
5322
+ "styles": [
5323
+ "solid",
5324
+ "regular"
5325
+ ],
5326
+ "unicode": "f599",
5327
+ "label": "Grinning Face With Big Eyes"
5328
+ },
5329
+ "laugh-beam": {
5330
+ "styles": [
5331
+ "solid",
5332
+ "regular"
5333
+ ],
5334
+ "unicode": "f59a",
5335
+ "label": "Laugh Face with Beaming Eyes"
5336
+ },
5337
+ "laugh-squint": {
5338
+ "styles": [
5339
+ "solid",
5340
+ "regular"
5341
+ ],
5342
+ "unicode": "f59b",
5343
+ "label": "Laughing Squinting Face"
5344
+ },
5345
+ "laugh-wink": {
5346
+ "styles": [
5347
+ "solid",
5348
+ "regular"
5349
+ ],
5350
+ "unicode": "f59c",
5351
+ "label": "Laughing Winking Face"
5352
+ },
5353
+ "layer-group": {
5354
+ "styles": [
5355
+ "solid"
5356
+ ],
5357
+ "unicode": "f5fd",
5358
+ "label": "Layer Group"
5359
+ },
5360
+ "leaf": {
5361
+ "styles": [
5362
+ "solid"
5363
+ ],
5364
+ "unicode": "f06c",
5365
+ "label": "leaf"
5366
+ },
5367
+ "leanpub": {
5368
+ "styles": [
5369
+ "brands"
5370
+ ],
5371
+ "unicode": "f212",
5372
+ "label": "Leanpub"
5373
+ },
5374
+ "lemon": {
5375
+ "styles": [
5376
+ "solid",
5377
+ "regular"
5378
+ ],
5379
+ "unicode": "f094",
5380
+ "label": "Lemon"
5381
+ },
5382
+ "less": {
5383
+ "styles": [
5384
+ "brands"
5385
+ ],
5386
+ "unicode": "f41d",
5387
+ "label": "Less"
5388
+ },
5389
+ "less-than": {
5390
+ "styles": [
5391
+ "solid"
5392
+ ],
5393
+ "unicode": "f536",
5394
+ "label": "Less Than"
5395
+ },
5396
+ "less-than-equal": {
5397
+ "styles": [
5398
+ "solid"
5399
+ ],
5400
+ "unicode": "f537",
5401
+ "label": "Less Than Equal To"
5402
+ },
5403
+ "level-down-alt": {
5404
+ "styles": [
5405
+ "solid"
5406
+ ],
5407
+ "unicode": "f3be",
5408
+ "label": "Alternate Level Down"
5409
+ },
5410
+ "level-up-alt": {
5411
+ "styles": [
5412
+ "solid"
5413
+ ],
5414
+ "unicode": "f3bf",
5415
+ "label": "Alternate Level Up"
5416
+ },
5417
+ "life-ring": {
5418
+ "styles": [
5419
+ "solid",
5420
+ "regular"
5421
+ ],
5422
+ "unicode": "f1cd",
5423
+ "label": "Life Ring"
5424
+ },
5425
+ "lightbulb": {
5426
+ "styles": [
5427
+ "solid",
5428
+ "regular"
5429
+ ],
5430
+ "unicode": "f0eb",
5431
+ "label": "Lightbulb"
5432
+ },
5433
+ "line": {
5434
+ "styles": [
5435
+ "brands"
5436
+ ],
5437
+ "unicode": "f3c0",
5438
+ "label": "Line"
5439
+ },
5440
+ "link": {
5441
+ "styles": [
5442
+ "solid"
5443
+ ],
5444
+ "unicode": "f0c1",
5445
+ "label": "Link"
5446
+ },
5447
+ "linkedin": {
5448
+ "styles": [
5449
+ "brands"
5450
+ ],
5451
+ "unicode": "f08c",
5452
+ "label": "LinkedIn"
5453
+ },
5454
+ "linkedin-in": {
5455
+ "styles": [
5456
+ "brands"
5457
+ ],
5458
+ "unicode": "f0e1",
5459
+ "label": "LinkedIn In"
5460
+ },
5461
+ "linode": {
5462
+ "styles": [
5463
+ "brands"
5464
+ ],
5465
+ "unicode": "f2b8",
5466
+ "label": "Linode"
5467
+ },
5468
+ "linux": {
5469
+ "styles": [
5470
+ "brands"
5471
+ ],
5472
+ "unicode": "f17c",
5473
+ "label": "Linux"
5474
+ },
5475
+ "lira-sign": {
5476
+ "styles": [
5477
+ "solid"
5478
+ ],
5479
+ "unicode": "f195",
5480
+ "label": "Turkish Lira Sign"
5481
+ },
5482
+ "list": {
5483
+ "styles": [
5484
+ "solid"
5485
+ ],
5486
+ "unicode": "f03a",
5487
+ "label": "List"
5488
+ },
5489
+ "list-alt": {
5490
+ "styles": [
5491
+ "solid",
5492
+ "regular"
5493
+ ],
5494
+ "unicode": "f022",
5495
+ "label": "Alternate List"
5496
+ },
5497
+ "list-ol": {
5498
+ "styles": [
5499
+ "solid"
5500
+ ],
5501
+ "unicode": "f0cb",
5502
+ "label": "list-ol"
5503
+ },
5504
+ "list-ul": {
5505
+ "styles": [
5506
+ "solid"
5507
+ ],
5508
+ "unicode": "f0ca",
5509
+ "label": "list-ul"
5510
+ },
5511
+ "location-arrow": {
5512
+ "styles": [
5513
+ "solid"
5514
+ ],
5515
+ "unicode": "f124",
5516
+ "label": "location-arrow"
5517
+ },
5518
+ "lock": {
5519
+ "styles": [
5520
+ "solid"
5521
+ ],
5522
+ "unicode": "f023",
5523
+ "label": "lock"
5524
+ },
5525
+ "lock-open": {
5526
+ "styles": [
5527
+ "solid"
5528
+ ],
5529
+ "unicode": "f3c1",
5530
+ "label": "Lock Open"
5531
+ },
5532
+ "long-arrow-alt-down": {
5533
+ "styles": [
5534
+ "solid"
5535
+ ],
5536
+ "unicode": "f309",
5537
+ "label": "Alternate Long Arrow Down"
5538
+ },
5539
+ "long-arrow-alt-left": {
5540
+ "styles": [
5541
+ "solid"
5542
+ ],
5543
+ "unicode": "f30a",
5544
+ "label": "Alternate Long Arrow Left"
5545
+ },
5546
+ "long-arrow-alt-right": {
5547
+ "styles": [
5548
+ "solid"
5549
+ ],
5550
+ "unicode": "f30b",
5551
+ "label": "Alternate Long Arrow Right"
5552
+ },
5553
+ "long-arrow-alt-up": {
5554
+ "styles": [
5555
+ "solid"
5556
+ ],
5557
+ "unicode": "f30c",
5558
+ "label": "Alternate Long Arrow Up"
5559
+ },
5560
+ "low-vision": {
5561
+ "styles": [
5562
+ "solid"
5563
+ ],
5564
+ "unicode": "f2a8",
5565
+ "label": "Low Vision"
5566
+ },
5567
+ "luggage-cart": {
5568
+ "styles": [
5569
+ "solid"
5570
+ ],
5571
+ "unicode": "f59d",
5572
+ "label": "Luggage Cart"
5573
+ },
5574
+ "lungs": {
5575
+ "styles": [
5576
+ "solid"
5577
+ ],
5578
+ "unicode": "f604",
5579
+ "label": "Lungs"
5580
+ },
5581
+ "lungs-virus": {
5582
+ "styles": [
5583
+ "solid"
5584
+ ],
5585
+ "unicode": "f967",
5586
+ "label": "Lungs Virus"
5587
+ },
5588
+ "lyft": {
5589
+ "styles": [
5590
+ "brands"
5591
+ ],
5592
+ "unicode": "f3c3",
5593
+ "label": "lyft"
5594
+ },
5595
+ "magento": {
5596
+ "styles": [
5597
+ "brands"
5598
+ ],
5599
+ "unicode": "f3c4",
5600
+ "label": "Magento"
5601
+ },
5602
+ "magic": {
5603
+ "styles": [
5604
+ "solid"
5605
+ ],
5606
+ "unicode": "f0d0",
5607
+ "label": "magic"
5608
+ },
5609
+ "magnet": {
5610
+ "styles": [
5611
+ "solid"
5612
+ ],
5613
+ "unicode": "f076",
5614
+ "label": "magnet"
5615
+ },
5616
+ "mail-bulk": {
5617
+ "styles": [
5618
+ "solid"
5619
+ ],
5620
+ "unicode": "f674",
5621
+ "label": "Mail Bulk"
5622
+ },
5623
+ "mailchimp": {
5624
+ "styles": [
5625
+ "brands"
5626
+ ],
5627
+ "unicode": "f59e",
5628
+ "label": "Mailchimp"
5629
+ },
5630
+ "male": {
5631
+ "styles": [
5632
+ "solid"
5633
+ ],
5634
+ "unicode": "f183",
5635
+ "label": "Male"
5636
+ },
5637
+ "mandalorian": {
5638
+ "styles": [
5639
+ "brands"
5640
+ ],
5641
+ "unicode": "f50f",
5642
+ "label": "Mandalorian"
5643
+ },
5644
+ "map": {
5645
+ "styles": [
5646
+ "solid",
5647
+ "regular"
5648
+ ],
5649
+ "unicode": "f279",
5650
+ "label": "Map"
5651
+ },
5652
+ "map-marked": {
5653
+ "styles": [
5654
+ "solid"
5655
+ ],
5656
+ "unicode": "f59f",
5657
+ "label": "Map Marked"
5658
+ },
5659
+ "map-marked-alt": {
5660
+ "styles": [
5661
+ "solid"
5662
+ ],
5663
+ "unicode": "f5a0",
5664
+ "label": "Alternate Map Marked"
5665
+ },
5666
+ "map-marker": {
5667
+ "styles": [
5668
+ "solid"
5669
+ ],
5670
+ "unicode": "f041",
5671
+ "label": "map-marker"
5672
+ },
5673
+ "map-marker-alt": {
5674
+ "styles": [
5675
+ "solid"
5676
+ ],
5677
+ "unicode": "f3c5",
5678
+ "label": "Alternate Map Marker"
5679
+ },
5680
+ "map-pin": {
5681
+ "styles": [
5682
+ "solid"
5683
+ ],
5684
+ "unicode": "f276",
5685
+ "label": "Map Pin"
5686
+ },
5687
+ "map-signs": {
5688
+ "styles": [
5689
+ "solid"
5690
+ ],
5691
+ "unicode": "f277",
5692
+ "label": "Map Signs"
5693
+ },
5694
+ "markdown": {
5695
+ "styles": [
5696
+ "brands"
5697
+ ],
5698
+ "unicode": "f60f",
5699
+ "label": "Markdown"
5700
+ },
5701
+ "marker": {
5702
+ "styles": [
5703
+ "solid"
5704
+ ],
5705
+ "unicode": "f5a1",
5706
+ "label": "Marker"
5707
+ },
5708
+ "mars": {
5709
+ "styles": [
5710
+ "solid"
5711
+ ],
5712
+ "unicode": "f222",
5713
+ "label": "Mars"
5714
+ },
5715
+ "mars-double": {
5716
+ "styles": [
5717
+ "solid"
5718
+ ],
5719
+ "unicode": "f227",
5720
+ "label": "Mars Double"
5721
+ },
5722
+ "mars-stroke": {
5723
+ "styles": [
5724
+ "solid"
5725
+ ],
5726
+ "unicode": "f229",
5727
+ "label": "Mars Stroke"
5728
+ },
5729
+ "mars-stroke-h": {
5730
+ "styles": [
5731
+ "solid"
5732
+ ],
5733
+ "unicode": "f22b",
5734
+ "label": "Mars Stroke Horizontal"
5735
+ },
5736
+ "mars-stroke-v": {
5737
+ "styles": [
5738
+ "solid"
5739
+ ],
5740
+ "unicode": "f22a",
5741
+ "label": "Mars Stroke Vertical"
5742
+ },
5743
+ "mask": {
5744
+ "styles": [
5745
+ "solid"
5746
+ ],
5747
+ "unicode": "f6fa",
5748
+ "label": "Mask"
5749
+ },
5750
+ "mastodon": {
5751
+ "styles": [
5752
+ "brands"
5753
+ ],
5754
+ "unicode": "f4f6",
5755
+ "label": "Mastodon"
5756
+ },
5757
+ "maxcdn": {
5758
+ "styles": [
5759
+ "brands"
5760
+ ],
5761
+ "unicode": "f136",
5762
+ "label": "MaxCDN"
5763
+ },
5764
+ "mdb": {
5765
+ "styles": [
5766
+ "brands"
5767
+ ],
5768
+ "unicode": "f8ca",
5769
+ "label": "Material Design for Bootstrap"
5770
+ },
5771
+ "medal": {
5772
+ "styles": [
5773
+ "solid"
5774
+ ],
5775
+ "unicode": "f5a2",
5776
+ "label": "Medal"
5777
+ },
5778
+ "medapps": {
5779
+ "styles": [
5780
+ "brands"
5781
+ ],
5782
+ "unicode": "f3c6",
5783
+ "label": "MedApps"
5784
+ },
5785
+ "medium": {
5786
+ "styles": [
5787
+ "brands"
5788
+ ],
5789
+ "unicode": "f23a",
5790
+ "label": "Medium"
5791
+ },
5792
+ "medium-m": {
5793
+ "styles": [
5794
+ "brands"
5795
+ ],
5796
+ "unicode": "f3c7",
5797
+ "label": "Medium M"
5798
+ },
5799
+ "medkit": {
5800
+ "styles": [
5801
+ "solid"
5802
+ ],
5803
+ "unicode": "f0fa",
5804
+ "label": "medkit"
5805
+ },
5806
+ "medrt": {
5807
+ "styles": [
5808
+ "brands"
5809
+ ],
5810
+ "unicode": "f3c8",
5811
+ "label": "MRT"
5812
+ },
5813
+ "meetup": {
5814
+ "styles": [
5815
+ "brands"
5816
+ ],
5817
+ "unicode": "f2e0",
5818
+ "label": "Meetup"
5819
+ },
5820
+ "megaport": {
5821
+ "styles": [
5822
+ "brands"
5823
+ ],
5824
+ "unicode": "f5a3",
5825
+ "label": "Megaport"
5826
+ },
5827
+ "meh": {
5828
+ "styles": [
5829
+ "solid",
5830
+ "regular"
5831
+ ],
5832
+ "unicode": "f11a",
5833
+ "label": "Neutral Face"
5834
+ },
5835
+ "meh-blank": {
5836
+ "styles": [
5837
+ "solid",
5838
+ "regular"
5839
+ ],
5840
+ "unicode": "f5a4",
5841
+ "label": "Face Without Mouth"
5842
+ },
5843
+ "meh-rolling-eyes": {
5844
+ "styles": [
5845
+ "solid",
5846
+ "regular"
5847
+ ],
5848
+ "unicode": "f5a5",
5849
+ "label": "Face With Rolling Eyes"
5850
+ },
5851
+ "memory": {
5852
+ "styles": [
5853
+ "solid"
5854
+ ],
5855
+ "unicode": "f538",
5856
+ "label": "Memory"
5857
+ },
5858
+ "mendeley": {
5859
+ "styles": [
5860
+ "brands"
5861
+ ],
5862
+ "unicode": "f7b3",
5863
+ "label": "Mendeley"
5864
+ },
5865
+ "menorah": {
5866
+ "styles": [
5867
+ "solid"
5868
+ ],
5869
+ "unicode": "f676",
5870
+ "label": "Menorah"
5871
+ },
5872
+ "mercury": {
5873
+ "styles": [
5874
+ "solid"
5875
+ ],
5876
+ "unicode": "f223",
5877
+ "label": "Mercury"
5878
+ },
5879
+ "meteor": {
5880
+ "styles": [
5881
+ "solid"
5882
+ ],
5883
+ "unicode": "f753",
5884
+ "label": "Meteor"
5885
+ },
5886
+ "microblog": {
5887
+ "styles": [
5888
+ "brands"
5889
+ ],
5890
+ "unicode": "f91a",
5891
+ "label": "Micro.blog"
5892
+ },
5893
+ "microchip": {
5894
+ "styles": [
5895
+ "solid"
5896
+ ],
5897
+ "unicode": "f2db",
5898
+ "label": "Microchip"
5899
+ },
5900
+ "microphone": {
5901
+ "styles": [
5902
+ "solid"
5903
+ ],
5904
+ "unicode": "f130",
5905
+ "label": "microphone"
5906
+ },
5907
+ "microphone-alt": {
5908
+ "styles": [
5909
+ "solid"
5910
+ ],
5911
+ "unicode": "f3c9",
5912
+ "label": "Alternate Microphone"
5913
+ },
5914
+ "microphone-alt-slash": {
5915
+ "styles": [
5916
+ "solid"
5917
+ ],
5918
+ "unicode": "f539",
5919
+ "label": "Alternate Microphone Slash"
5920
+ },
5921
+ "microphone-slash": {
5922
+ "styles": [
5923
+ "solid"
5924
+ ],
5925
+ "unicode": "f131",
5926
+ "label": "Microphone Slash"
5927
+ },
5928
+ "microscope": {
5929
+ "styles": [
5930
+ "solid"
5931
+ ],
5932
+ "unicode": "f610",
5933
+ "label": "Microscope"
5934
+ },
5935
+ "microsoft": {
5936
+ "styles": [
5937
+ "brands"
5938
+ ],
5939
+ "unicode": "f3ca",
5940
+ "label": "Microsoft"
5941
+ },
5942
+ "minus": {
5943
+ "styles": [
5944
+ "solid"
5945
+ ],
5946
+ "unicode": "f068",
5947
+ "label": "minus"
5948
+ },
5949
+ "minus-circle": {
5950
+ "styles": [
5951
+ "solid"
5952
+ ],
5953
+ "unicode": "f056",
5954
+ "label": "Minus Circle"
5955
+ },
5956
+ "minus-square": {
5957
+ "styles": [
5958
+ "solid",
5959
+ "regular"
5960
+ ],
5961
+ "unicode": "f146",
5962
+ "label": "Minus Square"
5963
+ },
5964
+ "mitten": {
5965
+ "styles": [
5966
+ "solid"
5967
+ ],
5968
+ "unicode": "f7b5",
5969
+ "label": "Mitten"
5970
+ },
5971
+ "mix": {
5972
+ "styles": [
5973
+ "brands"
5974
+ ],
5975
+ "unicode": "f3cb",
5976
+ "label": "Mix"
5977
+ },
5978
+ "mixcloud": {
5979
+ "styles": [
5980
+ "brands"
5981
+ ],
5982
+ "unicode": "f289",
5983
+ "label": "Mixcloud"
5984
+ },
5985
+ "mixer": {
5986
+ "styles": [
5987
+ "brands"
5988
+ ],
5989
+ "unicode": "f956",
5990
+ "label": "Mixer"
5991
+ },
5992
+ "mizuni": {
5993
+ "styles": [
5994
+ "brands"
5995
+ ],
5996
+ "unicode": "f3cc",
5997
+ "label": "Mizuni"
5998
+ },
5999
+ "mobile": {
6000
+ "styles": [
6001
+ "solid"
6002
+ ],
6003
+ "unicode": "f10b",
6004
+ "label": "Mobile Phone"
6005
+ },
6006
+ "mobile-alt": {
6007
+ "styles": [
6008
+ "solid"
6009
+ ],
6010
+ "unicode": "f3cd",
6011
+ "label": "Alternate Mobile"
6012
+ },
6013
+ "modx": {
6014
+ "styles": [
6015
+ "brands"
6016
+ ],
6017
+ "unicode": "f285",
6018
+ "label": "MODX"
6019
+ },
6020
+ "monero": {
6021
+ "styles": [
6022
+ "brands"
6023
+ ],
6024
+ "unicode": "f3d0",
6025
+ "label": "Monero"
6026
+ },
6027
+ "money-bill": {
6028
+ "styles": [
6029
+ "solid"
6030
+ ],
6031
+ "unicode": "f0d6",
6032
+ "label": "Money Bill"
6033
+ },
6034
+ "money-bill-alt": {
6035
+ "styles": [
6036
+ "solid",
6037
+ "regular"
6038
+ ],
6039
+ "unicode": "f3d1",
6040
+ "label": "Alternate Money Bill"
6041
+ },
6042
+ "money-bill-wave": {
6043
+ "styles": [
6044
+ "solid"
6045
+ ],
6046
+ "unicode": "f53a",
6047
+ "label": "Wavy Money Bill"
6048
+ },
6049
+ "money-bill-wave-alt": {
6050
+ "styles": [
6051
+ "solid"
6052
+ ],
6053
+ "unicode": "f53b",
6054
+ "label": "Alternate Wavy Money Bill"
6055
+ },
6056
+ "money-check": {
6057
+ "styles": [
6058
+ "solid"
6059
+ ],
6060
+ "unicode": "f53c",
6061
+ "label": "Money Check"
6062
+ },
6063
+ "money-check-alt": {
6064
+ "styles": [
6065
+ "solid"
6066
+ ],
6067
+ "unicode": "f53d",
6068
+ "label": "Alternate Money Check"
6069
+ },
6070
+ "monument": {
6071
+ "styles": [
6072
+ "solid"
6073
+ ],
6074
+ "unicode": "f5a6",
6075
+ "label": "Monument"
6076
+ },
6077
+ "moon": {
6078
+ "styles": [
6079
+ "solid",
6080
+ "regular"
6081
+ ],
6082
+ "unicode": "f186",
6083
+ "label": "Moon"
6084
+ },
6085
+ "mortar-pestle": {
6086
+ "styles": [
6087
+ "solid"
6088
+ ],
6089
+ "unicode": "f5a7",
6090
+ "label": "Mortar Pestle"
6091
+ },
6092
+ "mosque": {
6093
+ "styles": [
6094
+ "solid"
6095
+ ],
6096
+ "unicode": "f678",
6097
+ "label": "Mosque"
6098
+ },
6099
+ "motorcycle": {
6100
+ "styles": [
6101
+ "solid"
6102
+ ],
6103
+ "unicode": "f21c",
6104
+ "label": "Motorcycle"
6105
+ },
6106
+ "mountain": {
6107
+ "styles": [
6108
+ "solid"
6109
+ ],
6110
+ "unicode": "f6fc",
6111
+ "label": "Mountain"
6112
+ },
6113
+ "mouse": {
6114
+ "styles": [
6115
+ "solid"
6116
+ ],
6117
+ "unicode": "f8cc",
6118
+ "label": "Mouse"
6119
+ },
6120
+ "mouse-pointer": {
6121
+ "styles": [
6122
+ "solid"
6123
+ ],
6124
+ "unicode": "f245",
6125
+ "label": "Mouse Pointer"
6126
+ },
6127
+ "mug-hot": {
6128
+ "styles": [
6129
+ "solid"
6130
+ ],
6131
+ "unicode": "f7b6",
6132
+ "label": "Mug Hot"
6133
+ },
6134
+ "music": {
6135
+ "styles": [
6136
+ "solid"
6137
+ ],
6138
+ "unicode": "f001",
6139
+ "label": "Music"
6140
+ },
6141
+ "napster": {
6142
+ "styles": [
6143
+ "brands"
6144
+ ],
6145
+ "unicode": "f3d2",
6146
+ "label": "Napster"
6147
+ },
6148
+ "neos": {
6149
+ "styles": [
6150
+ "brands"
6151
+ ],
6152
+ "unicode": "f612",
6153
+ "label": "Neos"
6154
+ },
6155
+ "network-wired": {
6156
+ "styles": [
6157
+ "solid"
6158
+ ],
6159
+ "unicode": "f6ff",
6160
+ "label": "Wired Network"
6161
+ },
6162
+ "neuter": {
6163
+ "styles": [
6164
+ "solid"
6165
+ ],
6166
+ "unicode": "f22c",
6167
+ "label": "Neuter"
6168
+ },
6169
+ "newspaper": {
6170
+ "styles": [
6171
+ "solid",
6172
+ "regular"
6173
+ ],
6174
+ "unicode": "f1ea",
6175
+ "label": "Newspaper"
6176
+ },
6177
+ "nimblr": {
6178
+ "styles": [
6179
+ "brands"
6180
+ ],
6181
+ "unicode": "f5a8",
6182
+ "label": "Nimblr"
6183
+ },
6184
+ "node": {
6185
+ "styles": [
6186
+ "brands"
6187
+ ],
6188
+ "unicode": "f419",
6189
+ "label": "Node.js"
6190
+ },
6191
+ "node-js": {
6192
+ "styles": [
6193
+ "brands"
6194
+ ],
6195
+ "unicode": "f3d3",
6196
+ "label": "Node.js JS"
6197
+ },
6198
+ "not-equal": {
6199
+ "styles": [
6200
+ "solid"
6201
+ ],
6202
+ "unicode": "f53e",
6203
+ "label": "Not Equal"
6204
+ },
6205
+ "notes-medical": {
6206
+ "styles": [
6207
+ "solid"
6208
+ ],
6209
+ "unicode": "f481",
6210
+ "label": "Medical Notes"
6211
+ },
6212
+ "npm": {
6213
+ "styles": [
6214
+ "brands"
6215
+ ],
6216
+ "unicode": "f3d4",
6217
+ "label": "npm"
6218
+ },
6219
+ "ns8": {
6220
+ "styles": [
6221
+ "brands"
6222
+ ],
6223
+ "unicode": "f3d5",
6224
+ "label": "NS8"
6225
+ },
6226
+ "nutritionix": {
6227
+ "styles": [
6228
+ "brands"
6229
+ ],
6230
+ "unicode": "f3d6",
6231
+ "label": "Nutritionix"
6232
+ },
6233
+ "object-group": {
6234
+ "styles": [
6235
+ "solid",
6236
+ "regular"
6237
+ ],
6238
+ "unicode": "f247",
6239
+ "label": "Object Group"
6240
+ },
6241
+ "object-ungroup": {
6242
+ "styles": [
6243
+ "solid",
6244
+ "regular"
6245
+ ],
6246
+ "unicode": "f248",
6247
+ "label": "Object Ungroup"
6248
+ },
6249
+ "odnoklassniki": {
6250
+ "styles": [
6251
+ "brands"
6252
+ ],
6253
+ "unicode": "f263",
6254
+ "label": "Odnoklassniki"
6255
+ },
6256
+ "odnoklassniki-square": {
6257
+ "styles": [
6258
+ "brands"
6259
+ ],
6260
+ "unicode": "f264",
6261
+ "label": "Odnoklassniki Square"
6262
+ },
6263
+ "oil-can": {
6264
+ "styles": [
6265
+ "solid"
6266
+ ],
6267
+ "unicode": "f613",
6268
+ "label": "Oil Can"
6269
+ },
6270
+ "old-republic": {
6271
+ "styles": [
6272
+ "brands"
6273
+ ],
6274
+ "unicode": "f510",
6275
+ "label": "Old Republic"
6276
+ },
6277
+ "om": {
6278
+ "styles": [
6279
+ "solid"
6280
+ ],
6281
+ "unicode": "f679",
6282
+ "label": "Om"
6283
+ },
6284
+ "opencart": {
6285
+ "styles": [
6286
+ "brands"
6287
+ ],
6288
+ "unicode": "f23d",
6289
+ "label": "OpenCart"
6290
+ },
6291
+ "openid": {
6292
+ "styles": [
6293
+ "brands"
6294
+ ],
6295
+ "unicode": "f19b",
6296
+ "label": "OpenID"
6297
+ },
6298
+ "opera": {
6299
+ "styles": [
6300
+ "brands"
6301
+ ],
6302
+ "unicode": "f26a",
6303
+ "label": "Opera"
6304
+ },
6305
+ "optin-monster": {
6306
+ "styles": [
6307
+ "brands"
6308
+ ],
6309
+ "unicode": "f23c",
6310
+ "label": "Optin Monster"
6311
+ },
6312
+ "orcid": {
6313
+ "styles": [
6314
+ "brands"
6315
+ ],
6316
+ "unicode": "f8d2",
6317
+ "label": "ORCID"
6318
+ },
6319
+ "osi": {
6320
+ "styles": [
6321
+ "brands"
6322
+ ],
6323
+ "unicode": "f41a",
6324
+ "label": "Open Source Initiative"
6325
+ },
6326
+ "otter": {
6327
+ "styles": [
6328
+ "solid"
6329
+ ],
6330
+ "unicode": "f700",
6331
+ "label": "Otter"
6332
+ },
6333
+ "outdent": {
6334
+ "styles": [
6335
+ "solid"
6336
+ ],
6337
+ "unicode": "f03b",
6338
+ "label": "Outdent"
6339
+ },
6340
+ "page4": {
6341
+ "styles": [
6342
+ "brands"
6343
+ ],
6344
+ "unicode": "f3d7",
6345
+ "label": "page4 Corporation"
6346
+ },
6347
+ "pagelines": {
6348
+ "styles": [
6349
+ "brands"
6350
+ ],
6351
+ "unicode": "f18c",
6352
+ "label": "Pagelines"
6353
+ },
6354
+ "pager": {
6355
+ "styles": [
6356
+ "solid"
6357
+ ],
6358
+ "unicode": "f815",
6359
+ "label": "Pager"
6360
+ },
6361
+ "paint-brush": {
6362
+ "styles": [
6363
+ "solid"
6364
+ ],
6365
+ "unicode": "f1fc",
6366
+ "label": "Paint Brush"
6367
+ },
6368
+ "paint-roller": {
6369
+ "styles": [
6370
+ "solid"
6371
+ ],
6372
+ "unicode": "f5aa",
6373
+ "label": "Paint Roller"
6374
+ },
6375
+ "palette": {
6376
+ "styles": [
6377
+ "solid"
6378
+ ],
6379
+ "unicode": "f53f",
6380
+ "label": "Palette"
6381
+ },
6382
+ "palfed": {
6383
+ "styles": [
6384
+ "brands"
6385
+ ],
6386
+ "unicode": "f3d8",
6387
+ "label": "Palfed"
6388
+ },
6389
+ "pallet": {
6390
+ "styles": [
6391
+ "solid"
6392
+ ],
6393
+ "unicode": "f482",
6394
+ "label": "Pallet"
6395
+ },
6396
+ "paper-plane": {
6397
+ "styles": [
6398
+ "solid",
6399
+ "regular"
6400
+ ],
6401
+ "unicode": "f1d8",
6402
+ "label": "Paper Plane"
6403
+ },
6404
+ "paperclip": {
6405
+ "styles": [
6406
+ "solid"
6407
+ ],
6408
+ "unicode": "f0c6",
6409
+ "label": "Paperclip"
6410
+ },
6411
+ "parachute-box": {
6412
+ "styles": [
6413
+ "solid"
6414
+ ],
6415
+ "unicode": "f4cd",
6416
+ "label": "Parachute Box"
6417
+ },
6418
+ "paragraph": {
6419
+ "styles": [
6420
+ "solid"
6421
+ ],
6422
+ "unicode": "f1dd",
6423
+ "label": "paragraph"
6424
+ },
6425
+ "parking": {
6426
+ "styles": [
6427
+ "solid"
6428
+ ],
6429
+ "unicode": "f540",
6430
+ "label": "Parking"
6431
+ },
6432
+ "passport": {
6433
+ "styles": [
6434
+ "solid"
6435
+ ],
6436
+ "unicode": "f5ab",
6437
+ "label": "Passport"
6438
+ },
6439
+ "pastafarianism": {
6440
+ "styles": [
6441
+ "solid"
6442
+ ],
6443
+ "unicode": "f67b",
6444
+ "label": "Pastafarianism"
6445
+ },
6446
+ "paste": {
6447
+ "styles": [
6448
+ "solid"
6449
+ ],
6450
+ "unicode": "f0ea",
6451
+ "label": "Paste"
6452
+ },
6453
+ "patreon": {
6454
+ "styles": [
6455
+ "brands"
6456
+ ],
6457
+ "unicode": "f3d9",
6458
+ "label": "Patreon"
6459
+ },
6460
+ "pause": {
6461
+ "styles": [
6462
+ "solid"
6463
+ ],
6464
+ "unicode": "f04c",
6465
+ "label": "pause"
6466
+ },
6467
+ "pause-circle": {
6468
+ "styles": [
6469
+ "solid",
6470
+ "regular"
6471
+ ],
6472
+ "unicode": "f28b",
6473
+ "label": "Pause Circle"
6474
+ },
6475
+ "paw": {
6476
+ "styles": [
6477
+ "solid"
6478
+ ],
6479
+ "unicode": "f1b0",
6480
+ "label": "Paw"
6481
+ },
6482
+ "paypal": {
6483
+ "styles": [
6484
+ "brands"
6485
+ ],
6486
+ "unicode": "f1ed",
6487
+ "label": "Paypal"
6488
+ },
6489
+ "peace": {
6490
+ "styles": [
6491
+ "solid"
6492
+ ],
6493
+ "unicode": "f67c",
6494
+ "label": "Peace"
6495
+ },
6496
+ "pen": {
6497
+ "styles": [
6498
+ "solid"
6499
+ ],
6500
+ "unicode": "f304",
6501
+ "label": "Pen"
6502
+ },
6503
+ "pen-alt": {
6504
+ "styles": [
6505
+ "solid"
6506
+ ],
6507
+ "unicode": "f305",
6508
+ "label": "Alternate Pen"
6509
+ },
6510
+ "pen-fancy": {
6511
+ "styles": [
6512
+ "solid"
6513
+ ],
6514
+ "unicode": "f5ac",
6515
+ "label": "Pen Fancy"
6516
+ },
6517
+ "pen-nib": {
6518
+ "styles": [
6519
+ "solid"
6520
+ ],
6521
+ "unicode": "f5ad",
6522
+ "label": "Pen Nib"
6523
+ },
6524
+ "pen-square": {
6525
+ "styles": [
6526
+ "solid"
6527
+ ],
6528
+ "unicode": "f14b",
6529
+ "label": "Pen Square"
6530
+ },
6531
+ "pencil-alt": {
6532
+ "styles": [
6533
+ "solid"
6534
+ ],
6535
+ "unicode": "f303",
6536
+ "label": "Alternate Pencil"
6537
+ },
6538
+ "pencil-ruler": {
6539
+ "styles": [
6540
+ "solid"
6541
+ ],
6542
+ "unicode": "f5ae",
6543
+ "label": "Pencil Ruler"
6544
+ },
6545
+ "penny-arcade": {
6546
+ "styles": [
6547
+ "brands"
6548
+ ],
6549
+ "unicode": "f704",
6550
+ "label": "Penny Arcade"
6551
+ },
6552
+ "people-arrows": {
6553
+ "styles": [
6554
+ "solid"
6555
+ ],
6556
+ "unicode": "f968",
6557
+ "label": "People Arrows"
6558
+ },
6559
+ "people-carry": {
6560
+ "styles": [
6561
+ "solid"
6562
+ ],
6563
+ "unicode": "f4ce",
6564
+ "label": "People Carry"
6565
+ },
6566
+ "pepper-hot": {
6567
+ "styles": [
6568
+ "solid"
6569
+ ],
6570
+ "unicode": "f816",
6571
+ "label": "Hot Pepper"
6572
+ },
6573
+ "percent": {
6574
+ "styles": [
6575
+ "solid"
6576
+ ],
6577
+ "unicode": "f295",
6578
+ "label": "Percent"
6579
+ },
6580
+ "percentage": {
6581
+ "styles": [
6582
+ "solid"
6583
+ ],
6584
+ "unicode": "f541",
6585
+ "label": "Percentage"
6586
+ },
6587
+ "periscope": {
6588
+ "styles": [
6589
+ "brands"
6590
+ ],
6591
+ "unicode": "f3da",
6592
+ "label": "Periscope"
6593
+ },
6594
+ "person-booth": {
6595
+ "styles": [
6596
+ "solid"
6597
+ ],
6598
+ "unicode": "f756",
6599
+ "label": "Person Entering Booth"
6600
+ },
6601
+ "phabricator": {
6602
+ "styles": [
6603
+ "brands"
6604
+ ],
6605
+ "unicode": "f3db",
6606
+ "label": "Phabricator"
6607
+ },
6608
+ "phoenix-framework": {
6609
+ "styles": [
6610
+ "brands"
6611
+ ],
6612
+ "unicode": "f3dc",
6613
+ "label": "Phoenix Framework"
6614
+ },
6615
+ "phoenix-squadron": {
6616
+ "styles": [
6617
+ "brands"
6618
+ ],
6619
+ "unicode": "f511",
6620
+ "label": "Phoenix Squadron"
6621
+ },
6622
+ "phone": {
6623
+ "styles": [
6624
+ "solid"
6625
+ ],
6626
+ "unicode": "f095",
6627
+ "label": "Phone"
6628
+ },
6629
+ "phone-alt": {
6630
+ "styles": [
6631
+ "solid"
6632
+ ],
6633
+ "unicode": "f879",
6634
+ "label": "Alternate Phone"
6635
+ },
6636
+ "phone-slash": {
6637
+ "styles": [
6638
+ "solid"
6639
+ ],
6640
+ "unicode": "f3dd",
6641
+ "label": "Phone Slash"
6642
+ },
6643
+ "phone-square": {
6644
+ "styles": [
6645
+ "solid"
6646
+ ],
6647
+ "unicode": "f098",
6648
+ "label": "Phone Square"
6649
+ },
6650
+ "phone-square-alt": {
6651
+ "styles": [
6652
+ "solid"
6653
+ ],
6654
+ "unicode": "f87b",
6655
+ "label": "Alternate Phone Square"
6656
+ },
6657
+ "phone-volume": {
6658
+ "styles": [
6659
+ "solid"
6660
+ ],
6661
+ "unicode": "f2a0",
6662
+ "label": "Phone Volume"
6663
+ },
6664
+ "photo-video": {
6665
+ "styles": [
6666
+ "solid"
6667
+ ],
6668
+ "unicode": "f87c",
6669
+ "label": "Photo Video"
6670
+ },
6671
+ "php": {
6672
+ "styles": [
6673
+ "brands"
6674
+ ],
6675
+ "unicode": "f457",
6676
+ "label": "PHP"
6677
+ },
6678
+ "pied-piper": {
6679
+ "styles": [
6680
+ "brands"
6681
+ ],
6682
+ "unicode": "f2ae",
6683
+ "label": "Pied Piper Logo"
6684
+ },
6685
+ "pied-piper-alt": {
6686
+ "styles": [
6687
+ "brands"
6688
+ ],
6689
+ "unicode": "f1a8",
6690
+ "label": "Alternate Pied Piper Logo (Old)"
6691
+ },
6692
+ "pied-piper-hat": {
6693
+ "styles": [
6694
+ "brands"
6695
+ ],
6696
+ "unicode": "f4e5",
6697
+ "label": "Pied Piper Hat (Old)"
6698
+ },
6699
+ "pied-piper-pp": {
6700
+ "styles": [
6701
+ "brands"
6702
+ ],
6703
+ "unicode": "f1a7",
6704
+ "label": "Pied Piper PP Logo (Old)"
6705
+ },
6706
+ "pied-piper-square": {
6707
+ "styles": [
6708
+ "brands"
6709
+ ],
6710
+ "unicode": "f91e",
6711
+ "label": "Pied Piper Square Logo (Old)"
6712
+ },
6713
+ "piggy-bank": {
6714
+ "styles": [
6715
+ "solid"
6716
+ ],
6717
+ "unicode": "f4d3",
6718
+ "label": "Piggy Bank"
6719
+ },
6720
+ "pills": {
6721
+ "styles": [
6722
+ "solid"
6723
+ ],
6724
+ "unicode": "f484",
6725
+ "label": "Pills"
6726
+ },
6727
+ "pinterest": {
6728
+ "styles": [
6729
+ "brands"
6730
+ ],
6731
+ "unicode": "f0d2",
6732
+ "label": "Pinterest"
6733
+ },
6734
+ "pinterest-p": {
6735
+ "styles": [
6736
+ "brands"
6737
+ ],
6738
+ "unicode": "f231",
6739
+ "label": "Pinterest P"
6740
+ },
6741
+ "pinterest-square": {
6742
+ "styles": [
6743
+ "brands"
6744
+ ],
6745
+ "unicode": "f0d3",
6746
+ "label": "Pinterest Square"
6747
+ },
6748
+ "pizza-slice": {
6749
+ "styles": [
6750
+ "solid"
6751
+ ],
6752
+ "unicode": "f818",
6753
+ "label": "Pizza Slice"
6754
+ },
6755
+ "place-of-worship": {
6756
+ "styles": [
6757
+ "solid"
6758
+ ],
6759
+ "unicode": "f67f",
6760
+ "label": "Place of Worship"
6761
+ },
6762
+ "plane": {
6763
+ "styles": [
6764
+ "solid"
6765
+ ],
6766
+ "unicode": "f072",
6767
+ "label": "plane"
6768
+ },
6769
+ "plane-arrival": {
6770
+ "styles": [
6771
+ "solid"
6772
+ ],
6773
+ "unicode": "f5af",
6774
+ "label": "Plane Arrival"
6775
+ },
6776
+ "plane-departure": {
6777
+ "styles": [
6778
+ "solid"
6779
+ ],
6780
+ "unicode": "f5b0",
6781
+ "label": "Plane Departure"
6782
+ },
6783
+ "plane-slash": {
6784
+ "styles": [
6785
+ "solid"
6786
+ ],
6787
+ "unicode": "f969",
6788
+ "label": "Plane Slash"
6789
+ },
6790
+ "play": {
6791
+ "styles": [
6792
+ "solid"
6793
+ ],
6794
+ "unicode": "f04b",
6795
+ "label": "play"
6796
+ },
6797
+ "play-circle": {
6798
+ "styles": [
6799
+ "solid",
6800
+ "regular"
6801
+ ],
6802
+ "unicode": "f144",
6803
+ "label": "Play Circle"
6804
+ },
6805
+ "playstation": {
6806
+ "styles": [
6807
+ "brands"
6808
+ ],
6809
+ "unicode": "f3df",
6810
+ "label": "PlayStation"
6811
+ },
6812
+ "plug": {
6813
+ "styles": [
6814
+ "solid"
6815
+ ],
6816
+ "unicode": "f1e6",
6817
+ "label": "Plug"
6818
+ },
6819
+ "plus": {
6820
+ "styles": [
6821
+ "solid"
6822
+ ],
6823
+ "unicode": "f067",
6824
+ "label": "plus"
6825
+ },
6826
+ "plus-circle": {
6827
+ "styles": [
6828
+ "solid"
6829
+ ],
6830
+ "unicode": "f055",
6831
+ "label": "Plus Circle"
6832
+ },
6833
+ "plus-square": {
6834
+ "styles": [
6835
+ "solid",
6836
+ "regular"
6837
+ ],
6838
+ "unicode": "f0fe",
6839
+ "label": "Plus Square"
6840
+ },
6841
+ "podcast": {
6842
+ "styles": [
6843
+ "solid"
6844
+ ],
6845
+ "unicode": "f2ce",
6846
+ "label": "Podcast"
6847
+ },
6848
+ "poll": {
6849
+ "styles": [
6850
+ "solid"
6851
+ ],
6852
+ "unicode": "f681",
6853
+ "label": "Poll"
6854
+ },
6855
+ "poll-h": {
6856
+ "styles": [
6857
+ "solid"
6858
+ ],
6859
+ "unicode": "f682",
6860
+ "label": "Poll H"
6861
+ },
6862
+ "poo": {
6863
+ "styles": [
6864
+ "solid"
6865
+ ],
6866
+ "unicode": "f2fe",
6867
+ "label": "Poo"
6868
+ },
6869
+ "poo-storm": {
6870
+ "styles": [
6871
+ "solid"
6872
+ ],
6873
+ "unicode": "f75a",
6874
+ "label": "Poo Storm"
6875
+ },
6876
+ "poop": {
6877
+ "styles": [
6878
+ "solid"
6879
+ ],
6880
+ "unicode": "f619",
6881
+ "label": "Poop"
6882
+ },
6883
+ "portrait": {
6884
+ "styles": [
6885
+ "solid"
6886
+ ],
6887
+ "unicode": "f3e0",
6888
+ "label": "Portrait"
6889
+ },
6890
+ "pound-sign": {
6891
+ "styles": [
6892
+ "solid"
6893
+ ],
6894
+ "unicode": "f154",
6895
+ "label": "Pound Sign"
6896
+ },
6897
+ "power-off": {
6898
+ "styles": [
6899
+ "solid"
6900
+ ],
6901
+ "unicode": "f011",
6902
+ "label": "Power Off"
6903
+ },
6904
+ "pray": {
6905
+ "styles": [
6906
+ "solid"
6907
+ ],
6908
+ "unicode": "f683",
6909
+ "label": "Pray"
6910
+ },
6911
+ "praying-hands": {
6912
+ "styles": [
6913
+ "solid"
6914
+ ],
6915
+ "unicode": "f684",
6916
+ "label": "Praying Hands"
6917
+ },
6918
+ "prescription": {
6919
+ "styles": [
6920
+ "solid"
6921
+ ],
6922
+ "unicode": "f5b1",
6923
+ "label": "Prescription"
6924
+ },
6925
+ "prescription-bottle": {
6926
+ "styles": [
6927
+ "solid"
6928
+ ],
6929
+ "unicode": "f485",
6930
+ "label": "Prescription Bottle"
6931
+ },
6932
+ "prescription-bottle-alt": {
6933
+ "styles": [
6934
+ "solid"
6935
+ ],
6936
+ "unicode": "f486",
6937
+ "label": "Alternate Prescription Bottle"
6938
+ },
6939
+ "print": {
6940
+ "styles": [
6941
+ "solid"
6942
+ ],
6943
+ "unicode": "f02f",
6944
+ "label": "print"
6945
+ },
6946
+ "procedures": {
6947
+ "styles": [
6948
+ "solid"
6949
+ ],
6950
+ "unicode": "f487",
6951
+ "label": "Procedures"
6952
+ },
6953
+ "product-hunt": {
6954
+ "styles": [
6955
+ "brands"
6956
+ ],
6957
+ "unicode": "f288",
6958
+ "label": "Product Hunt"
6959
+ },
6960
+ "project-diagram": {
6961
+ "styles": [
6962
+ "solid"
6963
+ ],
6964
+ "unicode": "f542",
6965
+ "label": "Project Diagram"
6966
+ },
6967
+ "pump-medical": {
6968
+ "styles": [
6969
+ "solid"
6970
+ ],
6971
+ "unicode": "f96a",
6972
+ "label": "Pump Medical"
6973
+ },
6974
+ "pump-soap": {
6975
+ "styles": [
6976
+ "solid"
6977
+ ],
6978
+ "unicode": "f96b",
6979
+ "label": "Pump Soap"
6980
+ },
6981
+ "pushed": {
6982
+ "styles": [
6983
+ "brands"
6984
+ ],
6985
+ "unicode": "f3e1",
6986
+ "label": "Pushed"
6987
+ },
6988
+ "puzzle-piece": {
6989
+ "styles": [
6990
+ "solid"
6991
+ ],
6992
+ "unicode": "f12e",
6993
+ "label": "Puzzle Piece"
6994
+ },
6995
+ "python": {
6996
+ "styles": [
6997
+ "brands"
6998
+ ],
6999
+ "unicode": "f3e2",
7000
+ "label": "Python"
7001
+ },
7002
+ "qq": {
7003
+ "styles": [
7004
+ "brands"
7005
+ ],
7006
+ "unicode": "f1d6",
7007
+ "label": "QQ"
7008
+ },
7009
+ "qrcode": {
7010
+ "styles": [
7011
+ "solid"
7012
+ ],
7013
+ "unicode": "f029",
7014
+ "label": "qrcode"
7015
+ },
7016
+ "question": {
7017
+ "styles": [
7018
+ "solid"
7019
+ ],
7020
+ "unicode": "f128",
7021
+ "label": "Question"
7022
+ },
7023
+ "question-circle": {
7024
+ "styles": [
7025
+ "solid",
7026
+ "regular"
7027
+ ],
7028
+ "unicode": "f059",
7029
+ "label": "Question Circle"
7030
+ },
7031
+ "quidditch": {
7032
+ "styles": [
7033
+ "solid"
7034
+ ],
7035
+ "unicode": "f458",
7036
+ "label": "Quidditch"
7037
+ },
7038
+ "quinscape": {
7039
+ "styles": [
7040
+ "brands"
7041
+ ],
7042
+ "unicode": "f459",
7043
+ "label": "QuinScape"
7044
+ },
7045
+ "quora": {
7046
+ "styles": [
7047
+ "brands"
7048
+ ],
7049
+ "unicode": "f2c4",
7050
+ "label": "Quora"
7051
+ },
7052
+ "quote-left": {
7053
+ "styles": [
7054
+ "solid"
7055
+ ],
7056
+ "unicode": "f10d",
7057
+ "label": "quote-left"
7058
+ },
7059
+ "quote-right": {
7060
+ "styles": [
7061
+ "solid"
7062
+ ],
7063
+ "unicode": "f10e",
7064
+ "label": "quote-right"
7065
+ },
7066
+ "quran": {
7067
+ "styles": [
7068
+ "solid"
7069
+ ],
7070
+ "unicode": "f687",
7071
+ "label": "Quran"
7072
+ },
7073
+ "r-project": {
7074
+ "styles": [
7075
+ "brands"
7076
+ ],
7077
+ "unicode": "f4f7",
7078
+ "label": "R Project"
7079
+ },
7080
+ "radiation": {
7081
+ "styles": [
7082
+ "solid"
7083
+ ],
7084
+ "unicode": "f7b9",
7085
+ "label": "Radiation"
7086
+ },
7087
+ "radiation-alt": {
7088
+ "styles": [
7089
+ "solid"
7090
+ ],
7091
+ "unicode": "f7ba",
7092
+ "label": "Alternate Radiation"
7093
+ },
7094
+ "rainbow": {
7095
+ "styles": [
7096
+ "solid"
7097
+ ],
7098
+ "unicode": "f75b",
7099
+ "label": "Rainbow"
7100
+ },
7101
+ "random": {
7102
+ "styles": [
7103
+ "solid"
7104
+ ],
7105
+ "unicode": "f074",
7106
+ "label": "random"
7107
+ },
7108
+ "raspberry-pi": {
7109
+ "styles": [
7110
+ "brands"
7111
+ ],
7112
+ "unicode": "f7bb",
7113
+ "label": "Raspberry Pi"
7114
+ },
7115
+ "ravelry": {
7116
+ "styles": [
7117
+ "brands"
7118
+ ],
7119
+ "unicode": "f2d9",
7120
+ "label": "Ravelry"
7121
+ },
7122
+ "react": {
7123
+ "styles": [
7124
+ "brands"
7125
+ ],
7126
+ "unicode": "f41b",
7127
+ "label": "React"
7128
+ },
7129
+ "reacteurope": {
7130
+ "styles": [
7131
+ "brands"
7132
+ ],
7133
+ "unicode": "f75d",
7134
+ "label": "ReactEurope"
7135
+ },
7136
+ "readme": {
7137
+ "styles": [
7138
+ "brands"
7139
+ ],
7140
+ "unicode": "f4d5",
7141
+ "label": "ReadMe"
7142
+ },
7143
+ "rebel": {
7144
+ "styles": [
7145
+ "brands"
7146
+ ],
7147
+ "unicode": "f1d0",
7148
+ "label": "Rebel Alliance"
7149
+ },
7150
+ "receipt": {
7151
+ "styles": [
7152
+ "solid"
7153
+ ],
7154
+ "unicode": "f543",
7155
+ "label": "Receipt"
7156
+ },
7157
+ "record-vinyl": {
7158
+ "styles": [
7159
+ "solid"
7160
+ ],
7161
+ "unicode": "f8d9",
7162
+ "label": "Record Vinyl"
7163
+ },
7164
+ "recycle": {
7165
+ "styles": [
7166
+ "solid"
7167
+ ],
7168
+ "unicode": "f1b8",
7169
+ "label": "Recycle"
7170
+ },
7171
+ "red-river": {
7172
+ "styles": [
7173
+ "brands"
7174
+ ],
7175
+ "unicode": "f3e3",
7176
+ "label": "red river"
7177
+ },
7178
+ "reddit": {
7179
+ "styles": [
7180
+ "brands"
7181
+ ],
7182
+ "unicode": "f1a1",
7183
+ "label": "reddit Logo"
7184
+ },
7185
+ "reddit-alien": {
7186
+ "styles": [
7187
+ "brands"
7188
+ ],
7189
+ "unicode": "f281",
7190
+ "label": "reddit Alien"
7191
+ },
7192
+ "reddit-square": {
7193
+ "styles": [
7194
+ "brands"
7195
+ ],
7196
+ "unicode": "f1a2",
7197
+ "label": "reddit Square"
7198
+ },
7199
+ "redhat": {
7200
+ "styles": [
7201
+ "brands"
7202
+ ],
7203
+ "unicode": "f7bc",
7204
+ "label": "Redhat"
7205
+ },
7206
+ "redo": {
7207
+ "styles": [
7208
+ "solid"
7209
+ ],
7210
+ "unicode": "f01e",
7211
+ "label": "Redo"
7212
+ },
7213
+ "redo-alt": {
7214
+ "styles": [
7215
+ "solid"
7216
+ ],
7217
+ "unicode": "f2f9",
7218
+ "label": "Alternate Redo"
7219
+ },
7220
+ "registered": {
7221
+ "styles": [
7222
+ "solid",
7223
+ "regular"
7224
+ ],
7225
+ "unicode": "f25d",
7226
+ "label": "Registered Trademark"
7227
+ },
7228
+ "remove-format": {
7229
+ "styles": [
7230
+ "solid"
7231
+ ],
7232
+ "unicode": "f87d",
7233
+ "label": "Remove Format"
7234
+ },
7235
+ "renren": {
7236
+ "styles": [
7237
+ "brands"
7238
+ ],
7239
+ "unicode": "f18b",
7240
+ "label": "Renren"
7241
+ },
7242
+ "reply": {
7243
+ "styles": [
7244
+ "solid"
7245
+ ],
7246
+ "unicode": "f3e5",
7247
+ "label": "Reply"
7248
+ },
7249
+ "reply-all": {
7250
+ "styles": [
7251
+ "solid"
7252
+ ],
7253
+ "unicode": "f122",
7254
+ "label": "reply-all"
7255
+ },
7256
+ "replyd": {
7257
+ "styles": [
7258
+ "brands"
7259
+ ],
7260
+ "unicode": "f3e6",
7261
+ "label": "replyd"
7262
+ },
7263
+ "republican": {
7264
+ "styles": [
7265
+ "solid"
7266
+ ],
7267
+ "unicode": "f75e",
7268
+ "label": "Republican"
7269
+ },
7270
+ "researchgate": {
7271
+ "styles": [
7272
+ "brands"
7273
+ ],
7274
+ "unicode": "f4f8",
7275
+ "label": "Researchgate"
7276
+ },
7277
+ "resolving": {
7278
+ "styles": [
7279
+ "brands"
7280
+ ],
7281
+ "unicode": "f3e7",
7282
+ "label": "Resolving"
7283
+ },
7284
+ "restroom": {
7285
+ "styles": [
7286
+ "solid"
7287
+ ],
7288
+ "unicode": "f7bd",
7289
+ "label": "Restroom"
7290
+ },
7291
+ "retweet": {
7292
+ "styles": [
7293
+ "solid"
7294
+ ],
7295
+ "unicode": "f079",
7296
+ "label": "Retweet"
7297
+ },
7298
+ "rev": {
7299
+ "styles": [
7300
+ "brands"
7301
+ ],
7302
+ "unicode": "f5b2",
7303
+ "label": "Rev.io"
7304
+ },
7305
+ "ribbon": {
7306
+ "styles": [
7307
+ "solid"
7308
+ ],
7309
+ "unicode": "f4d6",
7310
+ "label": "Ribbon"
7311
+ },
7312
+ "ring": {
7313
+ "styles": [
7314
+ "solid"
7315
+ ],
7316
+ "unicode": "f70b",
7317
+ "label": "Ring"
7318
+ },
7319
+ "road": {
7320
+ "styles": [
7321
+ "solid"
7322
+ ],
7323
+ "unicode": "f018",
7324
+ "label": "road"
7325
+ },
7326
+ "robot": {
7327
+ "styles": [
7328
+ "solid"
7329
+ ],
7330
+ "unicode": "f544",
7331
+ "label": "Robot"
7332
+ },
7333
+ "rocket": {
7334
+ "styles": [
7335
+ "solid"
7336
+ ],
7337
+ "unicode": "f135",
7338
+ "label": "rocket"
7339
+ },
7340
+ "rocketchat": {
7341
+ "styles": [
7342
+ "brands"
7343
+ ],
7344
+ "unicode": "f3e8",
7345
+ "label": "Rocket.Chat"
7346
+ },
7347
+ "rockrms": {
7348
+ "styles": [
7349
+ "brands"
7350
+ ],
7351
+ "unicode": "f3e9",
7352
+ "label": "Rockrms"
7353
+ },
7354
+ "route": {
7355
+ "styles": [
7356
+ "solid"
7357
+ ],
7358
+ "unicode": "f4d7",
7359
+ "label": "Route"
7360
+ },
7361
+ "rss": {
7362
+ "styles": [
7363
+ "solid"
7364
+ ],
7365
+ "unicode": "f09e",
7366
+ "label": "rss"
7367
+ },
7368
+ "rss-square": {
7369
+ "styles": [
7370
+ "solid"
7371
+ ],
7372
+ "unicode": "f143",
7373
+ "label": "RSS Square"
7374
+ },
7375
+ "ruble-sign": {
7376
+ "styles": [
7377
+ "solid"
7378
+ ],
7379
+ "unicode": "f158",
7380
+ "label": "Ruble Sign"
7381
+ },
7382
+ "ruler": {
7383
+ "styles": [
7384
+ "solid"
7385
+ ],
7386
+ "unicode": "f545",
7387
+ "label": "Ruler"
7388
+ },
7389
+ "ruler-combined": {
7390
+ "styles": [
7391
+ "solid"
7392
+ ],
7393
+ "unicode": "f546",
7394
+ "label": "Ruler Combined"
7395
+ },
7396
+ "ruler-horizontal": {
7397
+ "styles": [
7398
+ "solid"
7399
+ ],
7400
+ "unicode": "f547",
7401
+ "label": "Ruler Horizontal"
7402
+ },
7403
+ "ruler-vertical": {
7404
+ "styles": [
7405
+ "solid"
7406
+ ],
7407
+ "unicode": "f548",
7408
+ "label": "Ruler Vertical"
7409
+ },
7410
+ "running": {
7411
+ "styles": [
7412
+ "solid"
7413
+ ],
7414
+ "unicode": "f70c",
7415
+ "label": "Running"
7416
+ },
7417
+ "rupee-sign": {
7418
+ "styles": [
7419
+ "solid"
7420
+ ],
7421
+ "unicode": "f156",
7422
+ "label": "Indian Rupee Sign"
7423
+ },
7424
+ "sad-cry": {
7425
+ "styles": [
7426
+ "solid",
7427
+ "regular"
7428
+ ],
7429
+ "unicode": "f5b3",
7430
+ "label": "Crying Face"
7431
+ },
7432
+ "sad-tear": {
7433
+ "styles": [
7434
+ "solid",
7435
+ "regular"
7436
+ ],
7437
+ "unicode": "f5b4",
7438
+ "label": "Loudly Crying Face"
7439
+ },
7440
+ "safari": {
7441
+ "styles": [
7442
+ "brands"
7443
+ ],
7444
+ "unicode": "f267",
7445
+ "label": "Safari"
7446
+ },
7447
+ "salesforce": {
7448
+ "styles": [
7449
+ "brands"
7450
+ ],
7451
+ "unicode": "f83b",
7452
+ "label": "Salesforce"
7453
+ },
7454
+ "sass": {
7455
+ "styles": [
7456
+ "brands"
7457
+ ],
7458
+ "unicode": "f41e",
7459
+ "label": "Sass"
7460
+ },
7461
+ "satellite": {
7462
+ "styles": [
7463
+ "solid"
7464
+ ],
7465
+ "unicode": "f7bf",
7466
+ "label": "Satellite"
7467
+ },
7468
+ "satellite-dish": {
7469
+ "styles": [
7470
+ "solid"
7471
+ ],
7472
+ "unicode": "f7c0",
7473
+ "label": "Satellite Dish"
7474
+ },
7475
+ "save": {
7476
+ "styles": [
7477
+ "solid",
7478
+ "regular"
7479
+ ],
7480
+ "unicode": "f0c7",
7481
+ "label": "Save"
7482
+ },
7483
+ "schlix": {
7484
+ "styles": [
7485
+ "brands"
7486
+ ],
7487
+ "unicode": "f3ea",
7488
+ "label": "SCHLIX"
7489
+ },
7490
+ "school": {
7491
+ "styles": [
7492
+ "solid"
7493
+ ],
7494
+ "unicode": "f549",
7495
+ "label": "School"
7496
+ },
7497
+ "screwdriver": {
7498
+ "styles": [
7499
+ "solid"
7500
+ ],
7501
+ "unicode": "f54a",
7502
+ "label": "Screwdriver"
7503
+ },
7504
+ "scribd": {
7505
+ "styles": [
7506
+ "brands"
7507
+ ],
7508
+ "unicode": "f28a",
7509
+ "label": "Scribd"
7510
+ },
7511
+ "scroll": {
7512
+ "styles": [
7513
+ "solid"
7514
+ ],
7515
+ "unicode": "f70e",
7516
+ "label": "Scroll"
7517
+ },
7518
+ "sd-card": {
7519
+ "styles": [
7520
+ "solid"
7521
+ ],
7522
+ "unicode": "f7c2",
7523
+ "label": "Sd Card"
7524
+ },
7525
+ "search": {
7526
+ "styles": [
7527
+ "solid"
7528
+ ],
7529
+ "unicode": "f002",
7530
+ "label": "Search"
7531
+ },
7532
+ "search-dollar": {
7533
+ "styles": [
7534
+ "solid"
7535
+ ],
7536
+ "unicode": "f688",
7537
+ "label": "Search Dollar"
7538
+ },
7539
+ "search-location": {
7540
+ "styles": [
7541
+ "solid"
7542
+ ],
7543
+ "unicode": "f689",
7544
+ "label": "Search Location"
7545
+ },
7546
+ "search-minus": {
7547
+ "styles": [
7548
+ "solid"
7549
+ ],
7550
+ "unicode": "f010",
7551
+ "label": "Search Minus"
7552
+ },
7553
+ "search-plus": {
7554
+ "styles": [
7555
+ "solid"
7556
+ ],
7557
+ "unicode": "f00e",
7558
+ "label": "Search Plus"
7559
+ },
7560
+ "searchengin": {
7561
+ "styles": [
7562
+ "brands"
7563
+ ],
7564
+ "unicode": "f3eb",
7565
+ "label": "Searchengin"
7566
+ },
7567
+ "seedling": {
7568
+ "styles": [
7569
+ "solid"
7570
+ ],
7571
+ "unicode": "f4d8",
7572
+ "label": "Seedling"
7573
+ },
7574
+ "sellcast": {
7575
+ "styles": [
7576
+ "brands"
7577
+ ],
7578
+ "unicode": "f2da",
7579
+ "label": "Sellcast"
7580
+ },
7581
+ "sellsy": {
7582
+ "styles": [
7583
+ "brands"
7584
+ ],
7585
+ "unicode": "f213",
7586
+ "label": "Sellsy"
7587
+ },
7588
+ "server": {
7589
+ "styles": [
7590
+ "solid"
7591
+ ],
7592
+ "unicode": "f233",
7593
+ "label": "Server"
7594
+ },
7595
+ "servicestack": {
7596
+ "styles": [
7597
+ "brands"
7598
+ ],
7599
+ "unicode": "f3ec",
7600
+ "label": "Servicestack"
7601
+ },
7602
+ "shapes": {
7603
+ "styles": [
7604
+ "solid"
7605
+ ],
7606
+ "unicode": "f61f",
7607
+ "label": "Shapes"
7608
+ },
7609
+ "share": {
7610
+ "styles": [
7611
+ "solid"
7612
+ ],
7613
+ "unicode": "f064",
7614
+ "label": "Share"
7615
+ },
7616
+ "share-alt": {
7617
+ "styles": [
7618
+ "solid"
7619
+ ],
7620
+ "unicode": "f1e0",
7621
+ "label": "Alternate Share"
7622
+ },
7623
+ "share-alt-square": {
7624
+ "styles": [
7625
+ "solid"
7626
+ ],
7627
+ "unicode": "f1e1",
7628
+ "label": "Alternate Share Square"
7629
+ },
7630
+ "share-square": {
7631
+ "styles": [
7632
+ "solid",
7633
+ "regular"
7634
+ ],
7635
+ "unicode": "f14d",
7636
+ "label": "Share Square"
7637
+ },
7638
+ "shekel-sign": {
7639
+ "styles": [
7640
+ "solid"
7641
+ ],
7642
+ "unicode": "f20b",
7643
+ "label": "Shekel Sign"
7644
+ },
7645
+ "shield-alt": {
7646
+ "styles": [
7647
+ "solid"
7648
+ ],
7649
+ "unicode": "f3ed",
7650
+ "label": "Alternate Shield"
7651
+ },
7652
+ "shield-virus": {
7653
+ "styles": [
7654
+ "solid"
7655
+ ],
7656
+ "unicode": "f96c",
7657
+ "label": "Shield Virus"
7658
+ },
7659
+ "ship": {
7660
+ "styles": [
7661
+ "solid"
7662
+ ],
7663
+ "unicode": "f21a",
7664
+ "label": "Ship"
7665
+ },
7666
+ "shipping-fast": {
7667
+ "styles": [
7668
+ "solid"
7669
+ ],
7670
+ "unicode": "f48b",
7671
+ "label": "Shipping Fast"
7672
+ },
7673
+ "shirtsinbulk": {
7674
+ "styles": [
7675
+ "brands"
7676
+ ],
7677
+ "unicode": "f214",
7678
+ "label": "Shirts in Bulk"
7679
+ },
7680
+ "shoe-prints": {
7681
+ "styles": [
7682
+ "solid"
7683
+ ],
7684
+ "unicode": "f54b",
7685
+ "label": "Shoe Prints"
7686
+ },
7687
+ "shopify": {
7688
+ "styles": [
7689
+ "brands"
7690
+ ],
7691
+ "unicode": "f957",
7692
+ "label": "Shopify"
7693
+ },
7694
+ "shopping-bag": {
7695
+ "styles": [
7696
+ "solid"
7697
+ ],
7698
+ "unicode": "f290",
7699
+ "label": "Shopping Bag"
7700
+ },
7701
+ "shopping-basket": {
7702
+ "styles": [
7703
+ "solid"
7704
+ ],
7705
+ "unicode": "f291",
7706
+ "label": "Shopping Basket"
7707
+ },
7708
+ "shopping-cart": {
7709
+ "styles": [
7710
+ "solid"
7711
+ ],
7712
+ "unicode": "f07a",
7713
+ "label": "shopping-cart"
7714
+ },
7715
+ "shopware": {
7716
+ "styles": [
7717
+ "brands"
7718
+ ],
7719
+ "unicode": "f5b5",
7720
+ "label": "Shopware"
7721
+ },
7722
+ "shower": {
7723
+ "styles": [
7724
+ "solid"
7725
+ ],
7726
+ "unicode": "f2cc",
7727
+ "label": "Shower"
7728
+ },
7729
+ "shuttle-van": {
7730
+ "styles": [
7731
+ "solid"
7732
+ ],
7733
+ "unicode": "f5b6",
7734
+ "label": "Shuttle Van"
7735
+ },
7736
+ "sign": {
7737
+ "styles": [
7738
+ "solid"
7739
+ ],
7740
+ "unicode": "f4d9",
7741
+ "label": "Sign"
7742
+ },
7743
+ "sign-in-alt": {
7744
+ "styles": [
7745
+ "solid"
7746
+ ],
7747
+ "unicode": "f2f6",
7748
+ "label": "Alternate Sign In"
7749
+ },
7750
+ "sign-language": {
7751
+ "styles": [
7752
+ "solid"
7753
+ ],
7754
+ "unicode": "f2a7",
7755
+ "label": "Sign Language"
7756
+ },
7757
+ "sign-out-alt": {
7758
+ "styles": [
7759
+ "solid"
7760
+ ],
7761
+ "unicode": "f2f5",
7762
+ "label": "Alternate Sign Out"
7763
+ },
7764
+ "signal": {
7765
+ "styles": [
7766
+ "solid"
7767
+ ],
7768
+ "unicode": "f012",
7769
+ "label": "signal"
7770
+ },
7771
+ "signature": {
7772
+ "styles": [
7773
+ "solid"
7774
+ ],
7775
+ "unicode": "f5b7",
7776
+ "label": "Signature"
7777
+ },
7778
+ "sim-card": {
7779
+ "styles": [
7780
+ "solid"
7781
+ ],
7782
+ "unicode": "f7c4",
7783
+ "label": "SIM Card"
7784
+ },
7785
+ "simplybuilt": {
7786
+ "styles": [
7787
+ "brands"
7788
+ ],
7789
+ "unicode": "f215",
7790
+ "label": "SimplyBuilt"
7791
+ },
7792
+ "sistrix": {
7793
+ "styles": [
7794
+ "brands"
7795
+ ],
7796
+ "unicode": "f3ee",
7797
+ "label": "SISTRIX"
7798
+ },
7799
+ "sitemap": {
7800
+ "styles": [
7801
+ "solid"
7802
+ ],
7803
+ "unicode": "f0e8",
7804
+ "label": "Sitemap"
7805
+ },
7806
+ "sith": {
7807
+ "styles": [
7808
+ "brands"
7809
+ ],
7810
+ "unicode": "f512",
7811
+ "label": "Sith"
7812
+ },
7813
+ "skating": {
7814
+ "styles": [
7815
+ "solid"
7816
+ ],
7817
+ "unicode": "f7c5",
7818
+ "label": "Skating"
7819
+ },
7820
+ "sketch": {
7821
+ "styles": [
7822
+ "brands"
7823
+ ],
7824
+ "unicode": "f7c6",
7825
+ "label": "Sketch"
7826
+ },
7827
+ "skiing": {
7828
+ "styles": [
7829
+ "solid"
7830
+ ],
7831
+ "unicode": "f7c9",
7832
+ "label": "Skiing"
7833
+ },
7834
+ "skiing-nordic": {
7835
+ "styles": [
7836
+ "solid"
7837
+ ],
7838
+ "unicode": "f7ca",
7839
+ "label": "Skiing Nordic"
7840
+ },
7841
+ "skull": {
7842
+ "styles": [
7843
+ "solid"
7844
+ ],
7845
+ "unicode": "f54c",
7846
+ "label": "Skull"
7847
+ },
7848
+ "skull-crossbones": {
7849
+ "styles": [
7850
+ "solid"
7851
+ ],
7852
+ "unicode": "f714",
7853
+ "label": "Skull & Crossbones"
7854
+ },
7855
+ "skyatlas": {
7856
+ "styles": [
7857
+ "brands"
7858
+ ],
7859
+ "unicode": "f216",
7860
+ "label": "skyatlas"
7861
+ },
7862
+ "skype": {
7863
+ "styles": [
7864
+ "brands"
7865
+ ],
7866
+ "unicode": "f17e",
7867
+ "label": "Skype"
7868
+ },
7869
+ "slack": {
7870
+ "styles": [
7871
+ "brands"
7872
+ ],
7873
+ "unicode": "f198",
7874
+ "label": "Slack Logo"
7875
+ },
7876
+ "slack-hash": {
7877
+ "styles": [
7878
+ "brands"
7879
+ ],
7880
+ "unicode": "f3ef",
7881
+ "label": "Slack Hashtag"
7882
+ },
7883
+ "slash": {
7884
+ "styles": [
7885
+ "solid"
7886
+ ],
7887
+ "unicode": "f715",
7888
+ "label": "Slash"
7889
+ },
7890
+ "sleigh": {
7891
+ "styles": [
7892
+ "solid"
7893
+ ],
7894
+ "unicode": "f7cc",
7895
+ "label": "Sleigh"
7896
+ },
7897
+ "sliders-h": {
7898
+ "styles": [
7899
+ "solid"
7900
+ ],
7901
+ "unicode": "f1de",
7902
+ "label": "Horizontal Sliders"
7903
+ },
7904
+ "slideshare": {
7905
+ "styles": [
7906
+ "brands"
7907
+ ],
7908
+ "unicode": "f1e7",
7909
+ "label": "Slideshare"
7910
+ },
7911
+ "smile": {
7912
+ "styles": [
7913
+ "solid",
7914
+ "regular"
7915
+ ],
7916
+ "unicode": "f118",
7917
+ "label": "Smiling Face"
7918
+ },
7919
+ "smile-beam": {
7920
+ "styles": [
7921
+ "solid",
7922
+ "regular"
7923
+ ],
7924
+ "unicode": "f5b8",
7925
+ "label": "Beaming Face With Smiling Eyes"
7926
+ },
7927
+ "smile-wink": {
7928
+ "styles": [
7929
+ "solid",
7930
+ "regular"
7931
+ ],
7932
+ "unicode": "f4da",
7933
+ "label": "Winking Face"
7934
+ },
7935
+ "smog": {
7936
+ "styles": [
7937
+ "solid"
7938
+ ],
7939
+ "unicode": "f75f",
7940
+ "label": "Smog"
7941
+ },
7942
+ "smoking": {
7943
+ "styles": [
7944
+ "solid"
7945
+ ],
7946
+ "unicode": "f48d",
7947
+ "label": "Smoking"
7948
+ },
7949
+ "smoking-ban": {
7950
+ "styles": [
7951
+ "solid"
7952
+ ],
7953
+ "unicode": "f54d",
7954
+ "label": "Smoking Ban"
7955
+ },
7956
+ "sms": {
7957
+ "styles": [
7958
+ "solid"
7959
+ ],
7960
+ "unicode": "f7cd",
7961
+ "label": "SMS"
7962
+ },
7963
+ "snapchat": {
7964
+ "styles": [
7965
+ "brands"
7966
+ ],
7967
+ "unicode": "f2ab",
7968
+ "label": "Snapchat"
7969
+ },
7970
+ "snapchat-ghost": {
7971
+ "styles": [
7972
+ "brands"
7973
+ ],
7974
+ "unicode": "f2ac",
7975
+ "label": "Snapchat Ghost"
7976
+ },
7977
+ "snapchat-square": {
7978
+ "styles": [
7979
+ "brands"
7980
+ ],
7981
+ "unicode": "f2ad",
7982
+ "label": "Snapchat Square"
7983
+ },
7984
+ "snowboarding": {
7985
+ "styles": [
7986
+ "solid"
7987
+ ],
7988
+ "unicode": "f7ce",
7989
+ "label": "Snowboarding"
7990
+ },
7991
+ "snowflake": {
7992
+ "styles": [
7993
+ "solid",
7994
+ "regular"
7995
+ ],
7996
+ "unicode": "f2dc",
7997
+ "label": "Snowflake"
7998
+ },
7999
+ "snowman": {
8000
+ "styles": [
8001
+ "solid"
8002
+ ],
8003
+ "unicode": "f7d0",
8004
+ "label": "Snowman"
8005
+ },
8006
+ "snowplow": {
8007
+ "styles": [
8008
+ "solid"
8009
+ ],
8010
+ "unicode": "f7d2",
8011
+ "label": "Snowplow"
8012
+ },
8013
+ "soap": {
8014
+ "styles": [
8015
+ "solid"
8016
+ ],
8017
+ "unicode": "f96e",
8018
+ "label": "Soap"
8019
+ },
8020
+ "socks": {
8021
+ "styles": [
8022
+ "solid"
8023
+ ],
8024
+ "unicode": "f696",
8025
+ "label": "Socks"
8026
+ },
8027
+ "solar-panel": {
8028
+ "styles": [
8029
+ "solid"
8030
+ ],
8031
+ "unicode": "f5ba",
8032
+ "label": "Solar Panel"
8033
+ },
8034
+ "sort": {
8035
+ "styles": [
8036
+ "solid"
8037
+ ],
8038
+ "unicode": "f0dc",
8039
+ "label": "Sort"
8040
+ },
8041
+ "sort-alpha-down": {
8042
+ "styles": [
8043
+ "solid"
8044
+ ],
8045
+ "unicode": "f15d",
8046
+ "label": "Sort Alphabetical Down"
8047
+ },
8048
+ "sort-alpha-down-alt": {
8049
+ "styles": [
8050
+ "solid"
8051
+ ],
8052
+ "unicode": "f881",
8053
+ "label": "Alternate Sort Alphabetical Down"
8054
+ },
8055
+ "sort-alpha-up": {
8056
+ "styles": [
8057
+ "solid"
8058
+ ],
8059
+ "unicode": "f15e",
8060
+ "label": "Sort Alphabetical Up"
8061
+ },
8062
+ "sort-alpha-up-alt": {
8063
+ "styles": [
8064
+ "solid"
8065
+ ],
8066
+ "unicode": "f882",
8067
+ "label": "Alternate Sort Alphabetical Up"
8068
+ },
8069
+ "sort-amount-down": {
8070
+ "styles": [
8071
+ "solid"
8072
+ ],
8073
+ "unicode": "f160",
8074
+ "label": "Sort Amount Down"
8075
+ },
8076
+ "sort-amount-down-alt": {
8077
+ "styles": [
8078
+ "solid"
8079
+ ],
8080
+ "unicode": "f884",
8081
+ "label": "Alternate Sort Amount Down"
8082
+ },
8083
+ "sort-amount-up": {
8084
+ "styles": [
8085
+ "solid"
8086
+ ],
8087
+ "unicode": "f161",
8088
+ "label": "Sort Amount Up"
8089
+ },
8090
+ "sort-amount-up-alt": {
8091
+ "styles": [
8092
+ "solid"
8093
+ ],
8094
+ "unicode": "f885",
8095
+ "label": "Alternate Sort Amount Up"
8096
+ },
8097
+ "sort-down": {
8098
+ "styles": [
8099
+ "solid"
8100
+ ],
8101
+ "unicode": "f0dd",
8102
+ "label": "Sort Down (Descending)"
8103
+ },
8104
+ "sort-numeric-down": {
8105
+ "styles": [
8106
+ "solid"
8107
+ ],
8108
+ "unicode": "f162",
8109
+ "label": "Sort Numeric Down"
8110
+ },
8111
+ "sort-numeric-down-alt": {
8112
+ "styles": [
8113
+ "solid"
8114
+ ],
8115
+ "unicode": "f886",
8116
+ "label": "Alternate Sort Numeric Down"
8117
+ },
8118
+ "sort-numeric-up": {
8119
+ "styles": [
8120
+ "solid"
8121
+ ],
8122
+ "unicode": "f163",
8123
+ "label": "Sort Numeric Up"
8124
+ },
8125
+ "sort-numeric-up-alt": {
8126
+ "styles": [
8127
+ "solid"
8128
+ ],
8129
+ "unicode": "f887",
8130
+ "label": "Alternate Sort Numeric Up"
8131
+ },
8132
+ "sort-up": {
8133
+ "styles": [
8134
+ "solid"
8135
+ ],
8136
+ "unicode": "f0de",
8137
+ "label": "Sort Up (Ascending)"
8138
+ },
8139
+ "soundcloud": {
8140
+ "styles": [
8141
+ "brands"
8142
+ ],
8143
+ "unicode": "f1be",
8144
+ "label": "SoundCloud"
8145
+ },
8146
+ "sourcetree": {
8147
+ "styles": [
8148
+ "brands"
8149
+ ],
8150
+ "unicode": "f7d3",
8151
+ "label": "Sourcetree"
8152
+ },
8153
+ "spa": {
8154
+ "styles": [
8155
+ "solid"
8156
+ ],
8157
+ "unicode": "f5bb",
8158
+ "label": "Spa"
8159
+ },
8160
+ "space-shuttle": {
8161
+ "styles": [
8162
+ "solid"
8163
+ ],
8164
+ "unicode": "f197",
8165
+ "label": "Space Shuttle"
8166
+ },
8167
+ "speakap": {
8168
+ "styles": [
8169
+ "brands"
8170
+ ],
8171
+ "unicode": "f3f3",
8172
+ "label": "Speakap"
8173
+ },
8174
+ "speaker-deck": {
8175
+ "styles": [
8176
+ "brands"
8177
+ ],
8178
+ "unicode": "f83c",
8179
+ "label": "Speaker Deck"
8180
+ },
8181
+ "spell-check": {
8182
+ "styles": [
8183
+ "solid"
8184
+ ],
8185
+ "unicode": "f891",
8186
+ "label": "Spell Check"
8187
+ },
8188
+ "spider": {
8189
+ "styles": [
8190
+ "solid"
8191
+ ],
8192
+ "unicode": "f717",
8193
+ "label": "Spider"
8194
+ },
8195
+ "spinner": {
8196
+ "styles": [
8197
+ "solid"
8198
+ ],
8199
+ "unicode": "f110",
8200
+ "label": "Spinner"
8201
+ },
8202
+ "splotch": {
8203
+ "styles": [
8204
+ "solid"
8205
+ ],
8206
+ "unicode": "f5bc",
8207
+ "label": "Splotch"
8208
+ },
8209
+ "spotify": {
8210
+ "styles": [
8211
+ "brands"
8212
+ ],
8213
+ "unicode": "f1bc",
8214
+ "label": "Spotify"
8215
+ },
8216
+ "spray-can": {
8217
+ "styles": [
8218
+ "solid"
8219
+ ],
8220
+ "unicode": "f5bd",
8221
+ "label": "Spray Can"
8222
+ },
8223
+ "square": {
8224
+ "styles": [
8225
+ "solid",
8226
+ "regular"
8227
+ ],
8228
+ "unicode": "f0c8",
8229
+ "label": "Square"
8230
+ },
8231
+ "square-full": {
8232
+ "styles": [
8233
+ "solid"
8234
+ ],
8235
+ "unicode": "f45c",
8236
+ "label": "Square Full"
8237
+ },
8238
+ "square-root-alt": {
8239
+ "styles": [
8240
+ "solid"
8241
+ ],
8242
+ "unicode": "f698",
8243
+ "label": "Alternate Square Root"
8244
+ },
8245
+ "squarespace": {
8246
+ "styles": [
8247
+ "brands"
8248
+ ],
8249
+ "unicode": "f5be",
8250
+ "label": "Squarespace"
8251
+ },
8252
+ "stack-exchange": {
8253
+ "styles": [
8254
+ "brands"
8255
+ ],
8256
+ "unicode": "f18d",
8257
+ "label": "Stack Exchange"
8258
+ },
8259
+ "stack-overflow": {
8260
+ "styles": [
8261
+ "brands"
8262
+ ],
8263
+ "unicode": "f16c",
8264
+ "label": "Stack Overflow"
8265
+ },
8266
+ "stackpath": {
8267
+ "styles": [
8268
+ "brands"
8269
+ ],
8270
+ "unicode": "f842",
8271
+ "label": "Stackpath"
8272
+ },
8273
+ "stamp": {
8274
+ "styles": [
8275
+ "solid"
8276
+ ],
8277
+ "unicode": "f5bf",
8278
+ "label": "Stamp"
8279
+ },
8280
+ "star": {
8281
+ "styles": [
8282
+ "solid",
8283
+ "regular"
8284
+ ],
8285
+ "unicode": "f005",
8286
+ "label": "Star"
8287
+ },
8288
+ "star-and-crescent": {
8289
+ "styles": [
8290
+ "solid"
8291
+ ],
8292
+ "unicode": "f699",
8293
+ "label": "Star and Crescent"
8294
+ },
8295
+ "star-half": {
8296
+ "styles": [
8297
+ "solid",
8298
+ "regular"
8299
+ ],
8300
+ "unicode": "f089",
8301
+ "label": "star-half"
8302
+ },
8303
+ "star-half-alt": {
8304
+ "styles": [
8305
+ "solid"
8306
+ ],
8307
+ "unicode": "f5c0",
8308
+ "label": "Alternate Star Half"
8309
+ },
8310
+ "star-of-david": {
8311
+ "styles": [
8312
+ "solid"
8313
+ ],
8314
+ "unicode": "f69a",
8315
+ "label": "Star of David"
8316
+ },
8317
+ "star-of-life": {
8318
+ "styles": [
8319
+ "solid"
8320
+ ],
8321
+ "unicode": "f621",
8322
+ "label": "Star of Life"
8323
+ },
8324
+ "staylinked": {
8325
+ "styles": [
8326
+ "brands"
8327
+ ],
8328
+ "unicode": "f3f5",
8329
+ "label": "StayLinked"
8330
+ },
8331
+ "steam": {
8332
+ "styles": [
8333
+ "brands"
8334
+ ],
8335
+ "unicode": "f1b6",
8336
+ "label": "Steam"
8337
+ },
8338
+ "steam-square": {
8339
+ "styles": [
8340
+ "brands"
8341
+ ],
8342
+ "unicode": "f1b7",
8343
+ "label": "Steam Square"
8344
+ },
8345
+ "steam-symbol": {
8346
+ "styles": [
8347
+ "brands"
8348
+ ],
8349
+ "unicode": "f3f6",
8350
+ "label": "Steam Symbol"
8351
+ },
8352
+ "step-backward": {
8353
+ "styles": [
8354
+ "solid"
8355
+ ],
8356
+ "unicode": "f048",
8357
+ "label": "step-backward"
8358
+ },
8359
+ "step-forward": {
8360
+ "styles": [
8361
+ "solid"
8362
+ ],
8363
+ "unicode": "f051",
8364
+ "label": "step-forward"
8365
+ },
8366
+ "stethoscope": {
8367
+ "styles": [
8368
+ "solid"
8369
+ ],
8370
+ "unicode": "f0f1",
8371
+ "label": "Stethoscope"
8372
+ },
8373
+ "sticker-mule": {
8374
+ "styles": [
8375
+ "brands"
8376
+ ],
8377
+ "unicode": "f3f7",
8378
+ "label": "Sticker Mule"
8379
+ },
8380
+ "sticky-note": {
8381
+ "styles": [
8382
+ "solid",
8383
+ "regular"
8384
+ ],
8385
+ "unicode": "f249",
8386
+ "label": "Sticky Note"
8387
+ },
8388
+ "stop": {
8389
+ "styles": [
8390
+ "solid"
8391
+ ],
8392
+ "unicode": "f04d",
8393
+ "label": "stop"
8394
+ },
8395
+ "stop-circle": {
8396
+ "styles": [
8397
+ "solid",
8398
+ "regular"
8399
+ ],
8400
+ "unicode": "f28d",
8401
+ "label": "Stop Circle"
8402
+ },
8403
+ "stopwatch": {
8404
+ "styles": [
8405
+ "solid"
8406
+ ],
8407
+ "unicode": "f2f2",
8408
+ "label": "Stopwatch"
8409
+ },
8410
+ "stopwatch-20": {
8411
+ "styles": [
8412
+ "solid"
8413
+ ],
8414
+ "unicode": "f96f",
8415
+ "label": "Stopwatch 20"
8416
+ },
8417
+ "store": {
8418
+ "styles": [
8419
+ "solid"
8420
+ ],
8421
+ "unicode": "f54e",
8422
+ "label": "Store"
8423
+ },
8424
+ "store-alt": {
8425
+ "styles": [
8426
+ "solid"
8427
+ ],
8428
+ "unicode": "f54f",
8429
+ "label": "Alternate Store"
8430
+ },
8431
+ "store-alt-slash": {
8432
+ "styles": [
8433
+ "solid"
8434
+ ],
8435
+ "unicode": "f970",
8436
+ "label": "Alternate Store Slash"
8437
+ },
8438
+ "store-slash": {
8439
+ "styles": [
8440
+ "solid"
8441
+ ],
8442
+ "unicode": "f971",
8443
+ "label": "Store Slash"
8444
+ },
8445
+ "strava": {
8446
+ "styles": [
8447
+ "brands"
8448
+ ],
8449
+ "unicode": "f428",
8450
+ "label": "Strava"
8451
+ },
8452
+ "stream": {
8453
+ "styles": [
8454
+ "solid"
8455
+ ],
8456
+ "unicode": "f550",
8457
+ "label": "Stream"
8458
+ },
8459
+ "street-view": {
8460
+ "styles": [
8461
+ "solid"
8462
+ ],
8463
+ "unicode": "f21d",
8464
+ "label": "Street View"
8465
+ },
8466
+ "strikethrough": {
8467
+ "styles": [
8468
+ "solid"
8469
+ ],
8470
+ "unicode": "f0cc",
8471
+ "label": "Strikethrough"
8472
+ },
8473
+ "stripe": {
8474
+ "styles": [
8475
+ "brands"
8476
+ ],
8477
+ "unicode": "f429",
8478
+ "label": "Stripe"
8479
+ },
8480
+ "stripe-s": {
8481
+ "styles": [
8482
+ "brands"
8483
+ ],
8484
+ "unicode": "f42a",
8485
+ "label": "Stripe S"
8486
+ },
8487
+ "stroopwafel": {
8488
+ "styles": [
8489
+ "solid"
8490
+ ],
8491
+ "unicode": "f551",
8492
+ "label": "Stroopwafel"
8493
+ },
8494
+ "studiovinari": {
8495
+ "styles": [
8496
+ "brands"
8497
+ ],
8498
+ "unicode": "f3f8",
8499
+ "label": "Studio Vinari"
8500
+ },
8501
+ "stumbleupon": {
8502
+ "styles": [
8503
+ "brands"
8504
+ ],
8505
+ "unicode": "f1a4",
8506
+ "label": "StumbleUpon Logo"
8507
+ },
8508
+ "stumbleupon-circle": {
8509
+ "styles": [
8510
+ "brands"
8511
+ ],
8512
+ "unicode": "f1a3",
8513
+ "label": "StumbleUpon Circle"
8514
+ },
8515
+ "subscript": {
8516
+ "styles": [
8517
+ "solid"
8518
+ ],
8519
+ "unicode": "f12c",
8520
+ "label": "subscript"
8521
+ },
8522
+ "subway": {
8523
+ "styles": [
8524
+ "solid"
8525
+ ],
8526
+ "unicode": "f239",
8527
+ "label": "Subway"
8528
+ },
8529
+ "suitcase": {
8530
+ "styles": [
8531
+ "solid"
8532
+ ],
8533
+ "unicode": "f0f2",
8534
+ "label": "Suitcase"
8535
+ },
8536
+ "suitcase-rolling": {
8537
+ "styles": [
8538
+ "solid"
8539
+ ],
8540
+ "unicode": "f5c1",
8541
+ "label": "Suitcase Rolling"
8542
+ },
8543
+ "sun": {
8544
+ "styles": [
8545
+ "solid",
8546
+ "regular"
8547
+ ],
8548
+ "unicode": "f185",
8549
+ "label": "Sun"
8550
+ },
8551
+ "superpowers": {
8552
+ "styles": [
8553
+ "brands"
8554
+ ],
8555
+ "unicode": "f2dd",
8556
+ "label": "Superpowers"
8557
+ },
8558
+ "superscript": {
8559
+ "styles": [
8560
+ "solid"
8561
+ ],
8562
+ "unicode": "f12b",
8563
+ "label": "superscript"
8564
+ },
8565
+ "supple": {
8566
+ "styles": [
8567
+ "brands"
8568
+ ],
8569
+ "unicode": "f3f9",
8570
+ "label": "Supple"
8571
+ },
8572
+ "surprise": {
8573
+ "styles": [
8574
+ "solid",
8575
+ "regular"
8576
+ ],
8577
+ "unicode": "f5c2",
8578
+ "label": "Hushed Face"
8579
+ },
8580
+ "suse": {
8581
+ "styles": [
8582
+ "brands"
8583
+ ],
8584
+ "unicode": "f7d6",
8585
+ "label": "Suse"
8586
+ },
8587
+ "swatchbook": {
8588
+ "styles": [
8589
+ "solid"
8590
+ ],
8591
+ "unicode": "f5c3",
8592
+ "label": "Swatchbook"
8593
+ },
8594
+ "swift": {
8595
+ "styles": [
8596
+ "brands"
8597
+ ],
8598
+ "unicode": "f8e1",
8599
+ "label": "Swift"
8600
+ },
8601
+ "swimmer": {
8602
+ "styles": [
8603
+ "solid"
8604
+ ],
8605
+ "unicode": "f5c4",
8606
+ "label": "Swimmer"
8607
+ },
8608
+ "swimming-pool": {
8609
+ "styles": [
8610
+ "solid"
8611
+ ],
8612
+ "unicode": "f5c5",
8613
+ "label": "Swimming Pool"
8614
+ },
8615
+ "symfony": {
8616
+ "styles": [
8617
+ "brands"
8618
+ ],
8619
+ "unicode": "f83d",
8620
+ "label": "Symfony"
8621
+ },
8622
+ "synagogue": {
8623
+ "styles": [
8624
+ "solid"
8625
+ ],
8626
+ "unicode": "f69b",
8627
+ "label": "Synagogue"
8628
+ },
8629
+ "sync": {
8630
+ "styles": [
8631
+ "solid"
8632
+ ],
8633
+ "unicode": "f021",
8634
+ "label": "Sync"
8635
+ },
8636
+ "sync-alt": {
8637
+ "styles": [
8638
+ "solid"
8639
+ ],
8640
+ "unicode": "f2f1",
8641
+ "label": "Alternate Sync"
8642
+ },
8643
+ "syringe": {
8644
+ "styles": [
8645
+ "solid"
8646
+ ],
8647
+ "unicode": "f48e",
8648
+ "label": "Syringe"
8649
+ },
8650
+ "table": {
8651
+ "styles": [
8652
+ "solid"
8653
+ ],
8654
+ "unicode": "f0ce",
8655
+ "label": "table"
8656
+ },
8657
+ "table-tennis": {
8658
+ "styles": [
8659
+ "solid"
8660
+ ],
8661
+ "unicode": "f45d",
8662
+ "label": "Table Tennis"
8663
+ },
8664
+ "tablet": {
8665
+ "styles": [
8666
+ "solid"
8667
+ ],
8668
+ "unicode": "f10a",
8669
+ "label": "tablet"
8670
+ },
8671
+ "tablet-alt": {
8672
+ "styles": [
8673
+ "solid"
8674
+ ],
8675
+ "unicode": "f3fa",
8676
+ "label": "Alternate Tablet"
8677
+ },
8678
+ "tablets": {
8679
+ "styles": [
8680
+ "solid"
8681
+ ],
8682
+ "unicode": "f490",
8683
+ "label": "Tablets"
8684
+ },
8685
+ "tachometer-alt": {
8686
+ "styles": [
8687
+ "solid"
8688
+ ],
8689
+ "unicode": "f3fd",
8690
+ "label": "Alternate Tachometer"
8691
+ },
8692
+ "tag": {
8693
+ "styles": [
8694
+ "solid"
8695
+ ],
8696
+ "unicode": "f02b",
8697
+ "label": "tag"
8698
+ },
8699
+ "tags": {
8700
+ "styles": [
8701
+ "solid"
8702
+ ],
8703
+ "unicode": "f02c",
8704
+ "label": "tags"
8705
+ },
8706
+ "tape": {
8707
+ "styles": [
8708
+ "solid"
8709
+ ],
8710
+ "unicode": "f4db",
8711
+ "label": "Tape"
8712
+ },
8713
+ "tasks": {
8714
+ "styles": [
8715
+ "solid"
8716
+ ],
8717
+ "unicode": "f0ae",
8718
+ "label": "Tasks"
8719
+ },
8720
+ "taxi": {
8721
+ "styles": [
8722
+ "solid"
8723
+ ],
8724
+ "unicode": "f1ba",
8725
+ "label": "Taxi"
8726
+ },
8727
+ "teamspeak": {
8728
+ "styles": [
8729
+ "brands"
8730
+ ],
8731
+ "unicode": "f4f9",
8732
+ "label": "TeamSpeak"
8733
+ },
8734
+ "teeth": {
8735
+ "styles": [
8736
+ "solid"
8737
+ ],
8738
+ "unicode": "f62e",
8739
+ "label": "Teeth"
8740
+ },
8741
+ "teeth-open": {
8742
+ "styles": [
8743
+ "solid"
8744
+ ],
8745
+ "unicode": "f62f",
8746
+ "label": "Teeth Open"
8747
+ },
8748
+ "telegram": {
8749
+ "styles": [
8750
+ "brands"
8751
+ ],
8752
+ "unicode": "f2c6",
8753
+ "label": "Telegram"
8754
+ },
8755
+ "telegram-plane": {
8756
+ "styles": [
8757
+ "brands"
8758
+ ],
8759
+ "unicode": "f3fe",
8760
+ "label": "Telegram Plane"
8761
+ },
8762
+ "temperature-high": {
8763
+ "styles": [
8764
+ "solid"
8765
+ ],
8766
+ "unicode": "f769",
8767
+ "label": "High Temperature"
8768
+ },
8769
+ "temperature-low": {
8770
+ "styles": [
8771
+ "solid"
8772
+ ],
8773
+ "unicode": "f76b",
8774
+ "label": "Low Temperature"
8775
+ },
8776
+ "tencent-weibo": {
8777
+ "styles": [
8778
+ "brands"
8779
+ ],
8780
+ "unicode": "f1d5",
8781
+ "label": "Tencent Weibo"
8782
+ },
8783
+ "tenge": {
8784
+ "styles": [
8785
+ "solid"
8786
+ ],
8787
+ "unicode": "f7d7",
8788
+ "label": "Tenge"
8789
+ },
8790
+ "terminal": {
8791
+ "styles": [
8792
+ "solid"
8793
+ ],
8794
+ "unicode": "f120",
8795
+ "label": "Terminal"
8796
+ },
8797
+ "text-height": {
8798
+ "styles": [
8799
+ "solid"
8800
+ ],
8801
+ "unicode": "f034",
8802
+ "label": "text-height"
8803
+ },
8804
+ "text-width": {
8805
+ "styles": [
8806
+ "solid"
8807
+ ],
8808
+ "unicode": "f035",
8809
+ "label": "Text Width"
8810
+ },
8811
+ "th": {
8812
+ "styles": [
8813
+ "solid"
8814
+ ],
8815
+ "unicode": "f00a",
8816
+ "label": "th"
8817
+ },
8818
+ "th-large": {
8819
+ "styles": [
8820
+ "solid"
8821
+ ],
8822
+ "unicode": "f009",
8823
+ "label": "th-large"
8824
+ },
8825
+ "th-list": {
8826
+ "styles": [
8827
+ "solid"
8828
+ ],
8829
+ "unicode": "f00b",
8830
+ "label": "th-list"
8831
+ },
8832
+ "the-red-yeti": {
8833
+ "styles": [
8834
+ "brands"
8835
+ ],
8836
+ "unicode": "f69d",
8837
+ "label": "The Red Yeti"
8838
+ },
8839
+ "theater-masks": {
8840
+ "styles": [
8841
+ "solid"
8842
+ ],
8843
+ "unicode": "f630",
8844
+ "label": "Theater Masks"
8845
+ },
8846
+ "themeco": {
8847
+ "styles": [
8848
+ "brands"
8849
+ ],
8850
+ "unicode": "f5c6",
8851
+ "label": "Themeco"
8852
+ },
8853
+ "themeisle": {
8854
+ "styles": [
8855
+ "brands"
8856
+ ],
8857
+ "unicode": "f2b2",
8858
+ "label": "ThemeIsle"
8859
+ },
8860
+ "thermometer": {
8861
+ "styles": [
8862
+ "solid"
8863
+ ],
8864
+ "unicode": "f491",
8865
+ "label": "Thermometer"
8866
+ },
8867
+ "thermometer-empty": {
8868
+ "styles": [
8869
+ "solid"
8870
+ ],
8871
+ "unicode": "f2cb",
8872
+ "label": "Thermometer Empty"
8873
+ },
8874
+ "thermometer-full": {
8875
+ "styles": [
8876
+ "solid"
8877
+ ],
8878
+ "unicode": "f2c7",
8879
+ "label": "Thermometer Full"
8880
+ },
8881
+ "thermometer-half": {
8882
+ "styles": [
8883
+ "solid"
8884
+ ],
8885
+ "unicode": "f2c9",
8886
+ "label": "Thermometer 1/2 Full"
8887
+ },
8888
+ "thermometer-quarter": {
8889
+ "styles": [
8890
+ "solid"
8891
+ ],
8892
+ "unicode": "f2ca",
8893
+ "label": "Thermometer 1/4 Full"
8894
+ },
8895
+ "thermometer-three-quarters": {
8896
+ "styles": [
8897
+ "solid"
8898
+ ],
8899
+ "unicode": "f2c8",
8900
+ "label": "Thermometer 3/4 Full"
8901
+ },
8902
+ "think-peaks": {
8903
+ "styles": [
8904
+ "brands"
8905
+ ],
8906
+ "unicode": "f731",
8907
+ "label": "Think Peaks"
8908
+ },
8909
+ "thumbs-down": {
8910
+ "styles": [
8911
+ "solid",
8912
+ "regular"
8913
+ ],
8914
+ "unicode": "f165",
8915
+ "label": "thumbs-down"
8916
+ },
8917
+ "thumbs-up": {
8918
+ "styles": [
8919
+ "solid",
8920
+ "regular"
8921
+ ],
8922
+ "unicode": "f164",
8923
+ "label": "thumbs-up"
8924
+ },
8925
+ "thumbtack": {
8926
+ "styles": [
8927
+ "solid"
8928
+ ],
8929
+ "unicode": "f08d",
8930
+ "label": "Thumbtack"
8931
+ },
8932
+ "ticket-alt": {
8933
+ "styles": [
8934
+ "solid"
8935
+ ],
8936
+ "unicode": "f3ff",
8937
+ "label": "Alternate Ticket"
8938
+ },
8939
+ "times": {
8940
+ "styles": [
8941
+ "solid"
8942
+ ],
8943
+ "unicode": "f00d",
8944
+ "label": "Times"
8945
+ },
8946
+ "times-circle": {
8947
+ "styles": [
8948
+ "solid",
8949
+ "regular"
8950
+ ],
8951
+ "unicode": "f057",
8952
+ "label": "Times Circle"
8953
+ },
8954
+ "tint": {
8955
+ "styles": [
8956
+ "solid"
8957
+ ],
8958
+ "unicode": "f043",
8959
+ "label": "tint"
8960
+ },
8961
+ "tint-slash": {
8962
+ "styles": [
8963
+ "solid"
8964
+ ],
8965
+ "unicode": "f5c7",
8966
+ "label": "Tint Slash"
8967
+ },
8968
+ "tired": {
8969
+ "styles": [
8970
+ "solid",
8971
+ "regular"
8972
+ ],
8973
+ "unicode": "f5c8",
8974
+ "label": "Tired Face"
8975
+ },
8976
+ "toggle-off": {
8977
+ "styles": [
8978
+ "solid"
8979
+ ],
8980
+ "unicode": "f204",
8981
+ "label": "Toggle Off"
8982
+ },
8983
+ "toggle-on": {
8984
+ "styles": [
8985
+ "solid"
8986
+ ],
8987
+ "unicode": "f205",
8988
+ "label": "Toggle On"
8989
+ },
8990
+ "toilet": {
8991
+ "styles": [
8992
+ "solid"
8993
+ ],
8994
+ "unicode": "f7d8",
8995
+ "label": "Toilet"
8996
+ },
8997
+ "toilet-paper": {
8998
+ "styles": [
8999
+ "solid"
9000
+ ],
9001
+ "unicode": "f71e",
9002
+ "label": "Toilet Paper"
9003
+ },
9004
+ "toilet-paper-slash": {
9005
+ "styles": [
9006
+ "solid"
9007
+ ],
9008
+ "unicode": "f972",
9009
+ "label": "Toilet Paper Slash"
9010
+ },
9011
+ "toolbox": {
9012
+ "styles": [
9013
+ "solid"
9014
+ ],
9015
+ "unicode": "f552",
9016
+ "label": "Toolbox"
9017
+ },
9018
+ "tools": {
9019
+ "styles": [
9020
+ "solid"
9021
+ ],
9022
+ "unicode": "f7d9",
9023
+ "label": "Tools"
9024
+ },
9025
+ "tooth": {
9026
+ "styles": [
9027
+ "solid"
9028
+ ],
9029
+ "unicode": "f5c9",
9030
+ "label": "Tooth"
9031
+ },
9032
+ "torah": {
9033
+ "styles": [
9034
+ "solid"
9035
+ ],
9036
+ "unicode": "f6a0",
9037
+ "label": "Torah"
9038
+ },
9039
+ "torii-gate": {
9040
+ "styles": [
9041
+ "solid"
9042
+ ],
9043
+ "unicode": "f6a1",
9044
+ "label": "Torii Gate"
9045
+ },
9046
+ "tractor": {
9047
+ "styles": [
9048
+ "solid"
9049
+ ],
9050
+ "unicode": "f722",
9051
+ "label": "Tractor"
9052
+ },
9053
+ "trade-federation": {
9054
+ "styles": [
9055
+ "brands"
9056
+ ],
9057
+ "unicode": "f513",
9058
+ "label": "Trade Federation"
9059
+ },
9060
+ "trademark": {
9061
+ "styles": [
9062
+ "solid"
9063
+ ],
9064
+ "unicode": "f25c",
9065
+ "label": "Trademark"
9066
+ },
9067
+ "traffic-light": {
9068
+ "styles": [
9069
+ "solid"
9070
+ ],
9071
+ "unicode": "f637",
9072
+ "label": "Traffic Light"
9073
+ },
9074
+ "trailer": {
9075
+ "styles": [
9076
+ "solid"
9077
+ ],
9078
+ "unicode": "f941",
9079
+ "label": "Trailer"
9080
+ },
9081
+ "train": {
9082
+ "styles": [
9083
+ "solid"
9084
+ ],
9085
+ "unicode": "f238",
9086
+ "label": "Train"
9087
+ },
9088
+ "tram": {
9089
+ "styles": [
9090
+ "solid"
9091
+ ],
9092
+ "unicode": "f7da",
9093
+ "label": "Tram"
9094
+ },
9095
+ "transgender": {
9096
+ "styles": [
9097
+ "solid"
9098
+ ],
9099
+ "unicode": "f224",
9100
+ "label": "Transgender"
9101
+ },
9102
+ "transgender-alt": {
9103
+ "styles": [
9104
+ "solid"
9105
+ ],
9106
+ "unicode": "f225",
9107
+ "label": "Alternate Transgender"
9108
+ },
9109
+ "trash": {
9110
+ "styles": [
9111
+ "solid"
9112
+ ],
9113
+ "unicode": "f1f8",
9114
+ "label": "Trash"
9115
+ },
9116
+ "trash-alt": {
9117
+ "styles": [
9118
+ "solid",
9119
+ "regular"
9120
+ ],
9121
+ "unicode": "f2ed",
9122
+ "label": "Alternate Trash"
9123
+ },
9124
+ "trash-restore": {
9125
+ "styles": [
9126
+ "solid"
9127
+ ],
9128
+ "unicode": "f829",
9129
+ "label": "Trash Restore"
9130
+ },
9131
+ "trash-restore-alt": {
9132
+ "styles": [
9133
+ "solid"
9134
+ ],
9135
+ "unicode": "f82a",
9136
+ "label": "Alternative Trash Restore"
9137
+ },
9138
+ "tree": {
9139
+ "styles": [
9140
+ "solid"
9141
+ ],
9142
+ "unicode": "f1bb",
9143
+ "label": "Tree"
9144
+ },
9145
+ "trello": {
9146
+ "styles": [
9147
+ "brands"
9148
+ ],
9149
+ "unicode": "f181",
9150
+ "label": "Trello"
9151
+ },
9152
+ "tripadvisor": {
9153
+ "styles": [
9154
+ "brands"
9155
+ ],
9156
+ "unicode": "f262",
9157
+ "label": "TripAdvisor"
9158
+ },
9159
+ "trophy": {
9160
+ "styles": [
9161
+ "solid"
9162
+ ],
9163
+ "unicode": "f091",
9164
+ "label": "trophy"
9165
+ },
9166
+ "truck": {
9167
+ "styles": [
9168
+ "solid"
9169
+ ],
9170
+ "unicode": "f0d1",
9171
+ "label": "truck"
9172
+ },
9173
+ "truck-loading": {
9174
+ "styles": [
9175
+ "solid"
9176
+ ],
9177
+ "unicode": "f4de",
9178
+ "label": "Truck Loading"
9179
+ },
9180
+ "truck-monster": {
9181
+ "styles": [
9182
+ "solid"
9183
+ ],
9184
+ "unicode": "f63b",
9185
+ "label": "Truck Monster"
9186
+ },
9187
+ "truck-moving": {
9188
+ "styles": [
9189
+ "solid"
9190
+ ],
9191
+ "unicode": "f4df",
9192
+ "label": "Truck Moving"
9193
+ },
9194
+ "truck-pickup": {
9195
+ "styles": [
9196
+ "solid"
9197
+ ],
9198
+ "unicode": "f63c",
9199
+ "label": "Truck Side"
9200
+ },
9201
+ "tshirt": {
9202
+ "styles": [
9203
+ "solid"
9204
+ ],
9205
+ "unicode": "f553",
9206
+ "label": "T-Shirt"
9207
+ },
9208
+ "tty": {
9209
+ "styles": [
9210
+ "solid"
9211
+ ],
9212
+ "unicode": "f1e4",
9213
+ "label": "TTY"
9214
+ },
9215
+ "tumblr": {
9216
+ "styles": [
9217
+ "brands"
9218
+ ],
9219
+ "unicode": "f173",
9220
+ "label": "Tumblr"
9221
+ },
9222
+ "tumblr-square": {
9223
+ "styles": [
9224
+ "brands"
9225
+ ],
9226
+ "unicode": "f174",
9227
+ "label": "Tumblr Square"
9228
+ },
9229
+ "tv": {
9230
+ "styles": [
9231
+ "solid"
9232
+ ],
9233
+ "unicode": "f26c",
9234
+ "label": "Television"
9235
+ },
9236
+ "twitch": {
9237
+ "styles": [
9238
+ "brands"
9239
+ ],
9240
+ "unicode": "f1e8",
9241
+ "label": "Twitch"
9242
+ },
9243
+ "twitter": {
9244
+ "styles": [
9245
+ "brands"
9246
+ ],
9247
+ "unicode": "f099",
9248
+ "label": "Twitter"
9249
+ },
9250
+ "twitter-square": {
9251
+ "styles": [
9252
+ "brands"
9253
+ ],
9254
+ "unicode": "f081",
9255
+ "label": "Twitter Square"
9256
+ },
9257
+ "typo3": {
9258
+ "styles": [
9259
+ "brands"
9260
+ ],
9261
+ "unicode": "f42b",
9262
+ "label": "Typo3"
9263
+ },
9264
+ "uber": {
9265
+ "styles": [
9266
+ "brands"
9267
+ ],
9268
+ "unicode": "f402",
9269
+ "label": "Uber"
9270
+ },
9271
+ "ubuntu": {
9272
+ "styles": [
9273
+ "brands"
9274
+ ],
9275
+ "unicode": "f7df",
9276
+ "label": "Ubuntu"
9277
+ },
9278
+ "uikit": {
9279
+ "styles": [
9280
+ "brands"
9281
+ ],
9282
+ "unicode": "f403",
9283
+ "label": "UIkit"
9284
+ },
9285
+ "umbraco": {
9286
+ "styles": [
9287
+ "brands"
9288
+ ],
9289
+ "unicode": "f8e8",
9290
+ "label": "Umbraco"
9291
+ },
9292
+ "umbrella": {
9293
+ "styles": [
9294
+ "solid"
9295
+ ],
9296
+ "unicode": "f0e9",
9297
+ "label": "Umbrella"
9298
+ },
9299
+ "umbrella-beach": {
9300
+ "styles": [
9301
+ "solid"
9302
+ ],
9303
+ "unicode": "f5ca",
9304
+ "label": "Umbrella Beach"
9305
+ },
9306
+ "underline": {
9307
+ "styles": [
9308
+ "solid"
9309
+ ],
9310
+ "unicode": "f0cd",
9311
+ "label": "Underline"
9312
+ },
9313
+ "undo": {
9314
+ "styles": [
9315
+ "solid"
9316
+ ],
9317
+ "unicode": "f0e2",
9318
+ "label": "Undo"
9319
+ },
9320
+ "undo-alt": {
9321
+ "styles": [
9322
+ "solid"
9323
+ ],
9324
+ "unicode": "f2ea",
9325
+ "label": "Alternate Undo"
9326
+ },
9327
+ "uniregistry": {
9328
+ "styles": [
9329
+ "brands"
9330
+ ],
9331
+ "unicode": "f404",
9332
+ "label": "Uniregistry"
9333
+ },
9334
+ "unity": {
9335
+ "styles": [
9336
+ "brands"
9337
+ ],
9338
+ "unicode": "f949",
9339
+ "label": "Unity 3D"
9340
+ },
9341
+ "universal-access": {
9342
+ "styles": [
9343
+ "solid"
9344
+ ],
9345
+ "unicode": "f29a",
9346
+ "label": "Universal Access"
9347
+ },
9348
+ "university": {
9349
+ "styles": [
9350
+ "solid"
9351
+ ],
9352
+ "unicode": "f19c",
9353
+ "label": "University"
9354
+ },
9355
+ "unlink": {
9356
+ "styles": [
9357
+ "solid"
9358
+ ],
9359
+ "unicode": "f127",
9360
+ "label": "unlink"
9361
+ },
9362
+ "unlock": {
9363
+ "styles": [
9364
+ "solid"
9365
+ ],
9366
+ "unicode": "f09c",
9367
+ "label": "unlock"
9368
+ },
9369
+ "unlock-alt": {
9370
+ "styles": [
9371
+ "solid"
9372
+ ],
9373
+ "unicode": "f13e",
9374
+ "label": "Alternate Unlock"
9375
+ },
9376
+ "untappd": {
9377
+ "styles": [
9378
+ "brands"
9379
+ ],
9380
+ "unicode": "f405",
9381
+ "label": "Untappd"
9382
+ },
9383
+ "upload": {
9384
+ "styles": [
9385
+ "solid"
9386
+ ],
9387
+ "unicode": "f093",
9388
+ "label": "Upload"
9389
+ },
9390
+ "ups": {
9391
+ "styles": [
9392
+ "brands"
9393
+ ],
9394
+ "unicode": "f7e0",
9395
+ "label": "UPS"
9396
+ },
9397
+ "usb": {
9398
+ "styles": [
9399
+ "brands"
9400
+ ],
9401
+ "unicode": "f287",
9402
+ "label": "USB"
9403
+ },
9404
+ "user": {
9405
+ "styles": [
9406
+ "solid",
9407
+ "regular"
9408
+ ],
9409
+ "unicode": "f007",
9410
+ "label": "User"
9411
+ },
9412
+ "user-alt": {
9413
+ "styles": [
9414
+ "solid"
9415
+ ],
9416
+ "unicode": "f406",
9417
+ "label": "Alternate User"
9418
+ },
9419
+ "user-alt-slash": {
9420
+ "styles": [
9421
+ "solid"
9422
+ ],
9423
+ "unicode": "f4fa",
9424
+ "label": "Alternate User Slash"
9425
+ },
9426
+ "user-astronaut": {
9427
+ "styles": [
9428
+ "solid"
9429
+ ],
9430
+ "unicode": "f4fb",
9431
+ "label": "User Astronaut"
9432
+ },
9433
+ "user-check": {
9434
+ "styles": [
9435
+ "solid"
9436
+ ],
9437
+ "unicode": "f4fc",
9438
+ "label": "User Check"
9439
+ },
9440
+ "user-circle": {
9441
+ "styles": [
9442
+ "solid",
9443
+ "regular"
9444
+ ],
9445
+ "unicode": "f2bd",
9446
+ "label": "User Circle"
9447
+ },
9448
+ "user-clock": {
9449
+ "styles": [
9450
+ "solid"
9451
+ ],
9452
+ "unicode": "f4fd",
9453
+ "label": "User Clock"
9454
+ },
9455
+ "user-cog": {
9456
+ "styles": [
9457
+ "solid"
9458
+ ],
9459
+ "unicode": "f4fe",
9460
+ "label": "User Cog"
9461
+ },
9462
+ "user-edit": {
9463
+ "styles": [
9464
+ "solid"
9465
+ ],
9466
+ "unicode": "f4ff",
9467
+ "label": "User Edit"
9468
+ },
9469
+ "user-friends": {
9470
+ "styles": [
9471
+ "solid"
9472
+ ],
9473
+ "unicode": "f500",
9474
+ "label": "User Friends"
9475
+ },
9476
+ "user-graduate": {
9477
+ "styles": [
9478
+ "solid"
9479
+ ],
9480
+ "unicode": "f501",
9481
+ "label": "User Graduate"
9482
+ },
9483
+ "user-injured": {
9484
+ "styles": [
9485
+ "solid"
9486
+ ],
9487
+ "unicode": "f728",
9488
+ "label": "User Injured"
9489
+ },
9490
+ "user-lock": {
9491
+ "styles": [
9492
+ "solid"
9493
+ ],
9494
+ "unicode": "f502",
9495
+ "label": "User Lock"
9496
+ },
9497
+ "user-md": {
9498
+ "styles": [
9499
+ "solid"
9500
+ ],
9501
+ "unicode": "f0f0",
9502
+ "label": "Doctor"
9503
+ },
9504
+ "user-minus": {
9505
+ "styles": [
9506
+ "solid"
9507
+ ],
9508
+ "unicode": "f503",
9509
+ "label": "User Minus"
9510
+ },
9511
+ "user-ninja": {
9512
+ "styles": [
9513
+ "solid"
9514
+ ],
9515
+ "unicode": "f504",
9516
+ "label": "User Ninja"
9517
+ },
9518
+ "user-nurse": {
9519
+ "styles": [
9520
+ "solid"
9521
+ ],
9522
+ "unicode": "f82f",
9523
+ "label": "Nurse"
9524
+ },
9525
+ "user-plus": {
9526
+ "styles": [
9527
+ "solid"
9528
+ ],
9529
+ "unicode": "f234",
9530
+ "label": "User Plus"
9531
+ },
9532
+ "user-secret": {
9533
+ "styles": [
9534
+ "solid"
9535
+ ],
9536
+ "unicode": "f21b",
9537
+ "label": "User Secret"
9538
+ },
9539
+ "user-shield": {
9540
+ "styles": [
9541
+ "solid"
9542
+ ],
9543
+ "unicode": "f505",
9544
+ "label": "User Shield"
9545
+ },
9546
+ "user-slash": {
9547
+ "styles": [
9548
+ "solid"
9549
+ ],
9550
+ "unicode": "f506",
9551
+ "label": "User Slash"
9552
+ },
9553
+ "user-tag": {
9554
+ "styles": [
9555
+ "solid"
9556
+ ],
9557
+ "unicode": "f507",
9558
+ "label": "User Tag"
9559
+ },
9560
+ "user-tie": {
9561
+ "styles": [
9562
+ "solid"
9563
+ ],
9564
+ "unicode": "f508",
9565
+ "label": "User Tie"
9566
+ },
9567
+ "user-times": {
9568
+ "styles": [
9569
+ "solid"
9570
+ ],
9571
+ "unicode": "f235",
9572
+ "label": "Remove User"
9573
+ },
9574
+ "users": {
9575
+ "styles": [
9576
+ "solid"
9577
+ ],
9578
+ "unicode": "f0c0",
9579
+ "label": "Users"
9580
+ },
9581
+ "users-cog": {
9582
+ "styles": [
9583
+ "solid"
9584
+ ],
9585
+ "unicode": "f509",
9586
+ "label": "Users Cog"
9587
+ },
9588
+ "usps": {
9589
+ "styles": [
9590
+ "brands"
9591
+ ],
9592
+ "unicode": "f7e1",
9593
+ "label": "United States Postal Service"
9594
+ },
9595
+ "ussunnah": {
9596
+ "styles": [
9597
+ "brands"
9598
+ ],
9599
+ "unicode": "f407",
9600
+ "label": "us-Sunnah Foundation"
9601
+ },
9602
+ "utensil-spoon": {
9603
+ "styles": [
9604
+ "solid"
9605
+ ],
9606
+ "unicode": "f2e5",
9607
+ "label": "Utensil Spoon"
9608
+ },
9609
+ "utensils": {
9610
+ "styles": [
9611
+ "solid"
9612
+ ],
9613
+ "unicode": "f2e7",
9614
+ "label": "Utensils"
9615
+ },
9616
+ "vaadin": {
9617
+ "styles": [
9618
+ "brands"
9619
+ ],
9620
+ "unicode": "f408",
9621
+ "label": "Vaadin"
9622
+ },
9623
+ "vector-square": {
9624
+ "styles": [
9625
+ "solid"
9626
+ ],
9627
+ "unicode": "f5cb",
9628
+ "label": "Vector Square"
9629
+ },
9630
+ "venus": {
9631
+ "styles": [
9632
+ "solid"
9633
+ ],
9634
+ "unicode": "f221",
9635
+ "label": "Venus"
9636
+ },
9637
+ "venus-double": {
9638
+ "styles": [
9639
+ "solid"
9640
+ ],
9641
+ "unicode": "f226",
9642
+ "label": "Venus Double"
9643
+ },
9644
+ "venus-mars": {
9645
+ "styles": [
9646
+ "solid"
9647
+ ],
9648
+ "unicode": "f228",
9649
+ "label": "Venus Mars"
9650
+ },
9651
+ "viacoin": {
9652
+ "styles": [
9653
+ "brands"
9654
+ ],
9655
+ "unicode": "f237",
9656
+ "label": "Viacoin"
9657
+ },
9658
+ "viadeo": {
9659
+ "styles": [
9660
+ "brands"
9661
+ ],
9662
+ "unicode": "f2a9",
9663
+ "label": "Video"
9664
+ },
9665
+ "viadeo-square": {
9666
+ "styles": [
9667
+ "brands"
9668
+ ],
9669
+ "unicode": "f2aa",
9670
+ "label": "Video Square"
9671
+ },
9672
+ "vial": {
9673
+ "styles": [
9674
+ "solid"
9675
+ ],
9676
+ "unicode": "f492",
9677
+ "label": "Vial"
9678
+ },
9679
+ "vials": {
9680
+ "styles": [
9681
+ "solid"
9682
+ ],
9683
+ "unicode": "f493",
9684
+ "label": "Vials"
9685
+ },
9686
+ "viber": {
9687
+ "styles": [
9688
+ "brands"
9689
+ ],
9690
+ "unicode": "f409",
9691
+ "label": "Viber"
9692
+ },
9693
+ "video": {
9694
+ "styles": [
9695
+ "solid"
9696
+ ],
9697
+ "unicode": "f03d",
9698
+ "label": "Video"
9699
+ },
9700
+ "video-slash": {
9701
+ "styles": [
9702
+ "solid"
9703
+ ],
9704
+ "unicode": "f4e2",
9705
+ "label": "Video Slash"
9706
+ },
9707
+ "vihara": {
9708
+ "styles": [
9709
+ "solid"
9710
+ ],
9711
+ "unicode": "f6a7",
9712
+ "label": "Vihara"
9713
+ },
9714
+ "vimeo": {
9715
+ "styles": [
9716
+ "brands"
9717
+ ],
9718
+ "unicode": "f40a",
9719
+ "label": "Vimeo"
9720
+ },
9721
+ "vimeo-square": {
9722
+ "styles": [
9723
+ "brands"
9724
+ ],
9725
+ "unicode": "f194",
9726
+ "label": "Vimeo Square"
9727
+ },
9728
+ "vimeo-v": {
9729
+ "styles": [
9730
+ "brands"
9731
+ ],
9732
+ "unicode": "f27d",
9733
+ "label": "Vimeo"
9734
+ },
9735
+ "vine": {
9736
+ "styles": [
9737
+ "brands"
9738
+ ],
9739
+ "unicode": "f1ca",
9740
+ "label": "Vine"
9741
+ },
9742
+ "virus": {
9743
+ "styles": [
9744
+ "solid"
9745
+ ],
9746
+ "unicode": "f974",
9747
+ "label": "Virus"
9748
+ },
9749
+ "virus-slash": {
9750
+ "styles": [
9751
+ "solid"
9752
+ ],
9753
+ "unicode": "f975",
9754
+ "label": "Virus Slash"
9755
+ },
9756
+ "viruses": {
9757
+ "styles": [
9758
+ "solid"
9759
+ ],
9760
+ "unicode": "f976",
9761
+ "label": "Viruses"
9762
+ },
9763
+ "vk": {
9764
+ "styles": [
9765
+ "brands"
9766
+ ],
9767
+ "unicode": "f189",
9768
+ "label": "VK"
9769
+ },
9770
+ "vnv": {
9771
+ "styles": [
9772
+ "brands"
9773
+ ],
9774
+ "unicode": "f40b",
9775
+ "label": "VNV"
9776
+ },
9777
+ "voicemail": {
9778
+ "styles": [
9779
+ "solid"
9780
+ ],
9781
+ "unicode": "f897",
9782
+ "label": "Voicemail"
9783
+ },
9784
+ "volleyball-ball": {
9785
+ "styles": [
9786
+ "solid"
9787
+ ],
9788
+ "unicode": "f45f",
9789
+ "label": "Volleyball Ball"
9790
+ },
9791
+ "volume-down": {
9792
+ "styles": [
9793
+ "solid"
9794
+ ],
9795
+ "unicode": "f027",
9796
+ "label": "Volume Down"
9797
+ },
9798
+ "volume-mute": {
9799
+ "styles": [
9800
+ "solid"
9801
+ ],
9802
+ "unicode": "f6a9",
9803
+ "label": "Volume Mute"
9804
+ },
9805
+ "volume-off": {
9806
+ "styles": [
9807
+ "solid"
9808
+ ],
9809
+ "unicode": "f026",
9810
+ "label": "Volume Off"
9811
+ },
9812
+ "volume-up": {
9813
+ "styles": [
9814
+ "solid"
9815
+ ],
9816
+ "unicode": "f028",
9817
+ "label": "Volume Up"
9818
+ },
9819
+ "vote-yea": {
9820
+ "styles": [
9821
+ "solid"
9822
+ ],
9823
+ "unicode": "f772",
9824
+ "label": "Vote Yea"
9825
+ },
9826
+ "vr-cardboard": {
9827
+ "styles": [
9828
+ "solid"
9829
+ ],
9830
+ "unicode": "f729",
9831
+ "label": "Cardboard VR"
9832
+ },
9833
+ "vuejs": {
9834
+ "styles": [
9835
+ "brands"
9836
+ ],
9837
+ "unicode": "f41f",
9838
+ "label": "Vue.js"
9839
+ },
9840
+ "walking": {
9841
+ "styles": [
9842
+ "solid"
9843
+ ],
9844
+ "unicode": "f554",
9845
+ "label": "Walking"
9846
+ },
9847
+ "wallet": {
9848
+ "styles": [
9849
+ "solid"
9850
+ ],
9851
+ "unicode": "f555",
9852
+ "label": "Wallet"
9853
+ },
9854
+ "warehouse": {
9855
+ "styles": [
9856
+ "solid"
9857
+ ],
9858
+ "unicode": "f494",
9859
+ "label": "Warehouse"
9860
+ },
9861
+ "water": {
9862
+ "styles": [
9863
+ "solid"
9864
+ ],
9865
+ "unicode": "f773",
9866
+ "label": "Water"
9867
+ },
9868
+ "wave-square": {
9869
+ "styles": [
9870
+ "solid"
9871
+ ],
9872
+ "unicode": "f83e",
9873
+ "label": "Square Wave"
9874
+ },
9875
+ "waze": {
9876
+ "styles": [
9877
+ "brands"
9878
+ ],
9879
+ "unicode": "f83f",
9880
+ "label": "Waze"
9881
+ },
9882
+ "weebly": {
9883
+ "styles": [
9884
+ "brands"
9885
+ ],
9886
+ "unicode": "f5cc",
9887
+ "label": "Weebly"
9888
+ },
9889
+ "weibo": {
9890
+ "styles": [
9891
+ "brands"
9892
+ ],
9893
+ "unicode": "f18a",
9894
+ "label": "Weibo"
9895
+ },
9896
+ "weight": {
9897
+ "styles": [
9898
+ "solid"
9899
+ ],
9900
+ "unicode": "f496",
9901
+ "label": "Weight"
9902
+ },
9903
+ "weight-hanging": {
9904
+ "styles": [
9905
+ "solid"
9906
+ ],
9907
+ "unicode": "f5cd",
9908
+ "label": "Hanging Weight"
9909
+ },
9910
+ "weixin": {
9911
+ "styles": [
9912
+ "brands"
9913
+ ],
9914
+ "unicode": "f1d7",
9915
+ "label": "Weixin (WeChat)"
9916
+ },
9917
+ "whatsapp": {
9918
+ "styles": [
9919
+ "brands"
9920
+ ],
9921
+ "unicode": "f232",
9922
+ "label": "What's App"
9923
+ },
9924
+ "whatsapp-square": {
9925
+ "styles": [
9926
+ "brands"
9927
+ ],
9928
+ "unicode": "f40c",
9929
+ "label": "What's App Square"
9930
+ },
9931
+ "wheelchair": {
9932
+ "styles": [
9933
+ "solid"
9934
+ ],
9935
+ "unicode": "f193",
9936
+ "label": "Wheelchair"
9937
+ },
9938
+ "whmcs": {
9939
+ "styles": [
9940
+ "brands"
9941
+ ],
9942
+ "unicode": "f40d",
9943
+ "label": "WHMCS"
9944
+ },
9945
+ "wifi": {
9946
+ "styles": [
9947
+ "solid"
9948
+ ],
9949
+ "unicode": "f1eb",
9950
+ "label": "WiFi"
9951
+ },
9952
+ "wikipedia-w": {
9953
+ "styles": [
9954
+ "brands"
9955
+ ],
9956
+ "unicode": "f266",
9957
+ "label": "Wikipedia W"
9958
+ },
9959
+ "wind": {
9960
+ "styles": [
9961
+ "solid"
9962
+ ],
9963
+ "unicode": "f72e",
9964
+ "label": "Wind"
9965
+ },
9966
+ "window-close": {
9967
+ "styles": [
9968
+ "solid",
9969
+ "regular"
9970
+ ],
9971
+ "unicode": "f410",
9972
+ "label": "Window Close"
9973
+ },
9974
+ "window-maximize": {
9975
+ "styles": [
9976
+ "solid",
9977
+ "regular"
9978
+ ],
9979
+ "unicode": "f2d0",
9980
+ "label": "Window Maximize"
9981
+ },
9982
+ "window-minimize": {
9983
+ "styles": [
9984
+ "solid",
9985
+ "regular"
9986
+ ],
9987
+ "unicode": "f2d1",
9988
+ "label": "Window Minimize"
9989
+ },
9990
+ "window-restore": {
9991
+ "styles": [
9992
+ "solid",
9993
+ "regular"
9994
+ ],
9995
+ "unicode": "f2d2",
9996
+ "label": "Window Restore"
9997
+ },
9998
+ "windows": {
9999
+ "styles": [
10000
+ "brands"
10001
+ ],
10002
+ "unicode": "f17a",
10003
+ "label": "Windows"
10004
+ },
10005
+ "wine-bottle": {
10006
+ "styles": [
10007
+ "solid"
10008
+ ],
10009
+ "unicode": "f72f",
10010
+ "label": "Wine Bottle"
10011
+ },
10012
+ "wine-glass": {
10013
+ "styles": [
10014
+ "solid"
10015
+ ],
10016
+ "unicode": "f4e3",
10017
+ "label": "Wine Glass"
10018
+ },
10019
+ "wine-glass-alt": {
10020
+ "styles": [
10021
+ "solid"
10022
+ ],
10023
+ "unicode": "f5ce",
10024
+ "label": "Alternate Wine Glas"
10025
+ },
10026
+ "wix": {
10027
+ "styles": [
10028
+ "brands"
10029
+ ],
10030
+ "unicode": "f5cf",
10031
+ "label": "Wix"
10032
+ },
10033
+ "wizards-of-the-coast": {
10034
+ "styles": [
10035
+ "brands"
10036
+ ],
10037
+ "unicode": "f730",
10038
+ "label": "Wizards of the Coast"
10039
+ },
10040
+ "wolf-pack-battalion": {
10041
+ "styles": [
10042
+ "brands"
10043
+ ],
10044
+ "unicode": "f514",
10045
+ "label": "Wolf Pack Battalion"
10046
+ },
10047
+ "won-sign": {
10048
+ "styles": [
10049
+ "solid"
10050
+ ],
10051
+ "unicode": "f159",
10052
+ "label": "Won Sign"
10053
+ },
10054
+ "wordpress": {
10055
+ "styles": [
10056
+ "brands"
10057
+ ],
10058
+ "unicode": "f19a",
10059
+ "label": "WordPress Logo"
10060
+ },
10061
+ "wordpress-simple": {
10062
+ "styles": [
10063
+ "brands"
10064
+ ],
10065
+ "unicode": "f411",
10066
+ "label": "Wordpress Simple"
10067
+ },
10068
+ "wpbeginner": {
10069
+ "styles": [
10070
+ "brands"
10071
+ ],
10072
+ "unicode": "f297",
10073
+ "label": "WPBeginner"
10074
+ },
10075
+ "wpexplorer": {
10076
+ "styles": [
10077
+ "brands"
10078
+ ],
10079
+ "unicode": "f2de",
10080
+ "label": "WPExplorer"
10081
+ },
10082
+ "wpforms": {
10083
+ "styles": [
10084
+ "brands"
10085
+ ],
10086
+ "unicode": "f298",
10087
+ "label": "WPForms"
10088
+ },
10089
+ "wpressr": {
10090
+ "styles": [
10091
+ "brands"
10092
+ ],
10093
+ "unicode": "f3e4",
10094
+ "label": "wpressr"
10095
+ },
10096
+ "wrench": {
10097
+ "styles": [
10098
+ "solid"
10099
+ ],
10100
+ "unicode": "f0ad",
10101
+ "label": "Wrench"
10102
+ },
10103
+ "x-ray": {
10104
+ "styles": [
10105
+ "solid"
10106
+ ],
10107
+ "unicode": "f497",
10108
+ "label": "X-Ray"
10109
+ },
10110
+ "xbox": {
10111
+ "styles": [
10112
+ "brands"
10113
+ ],
10114
+ "unicode": "f412",
10115
+ "label": "Xbox"
10116
+ },
10117
+ "xing": {
10118
+ "styles": [
10119
+ "brands"
10120
+ ],
10121
+ "unicode": "f168",
10122
+ "label": "Xing"
10123
+ },
10124
+ "xing-square": {
10125
+ "styles": [
10126
+ "brands"
10127
+ ],
10128
+ "unicode": "f169",
10129
+ "label": "Xing Square"
10130
+ },
10131
+ "y-combinator": {
10132
+ "styles": [
10133
+ "brands"
10134
+ ],
10135
+ "unicode": "f23b",
10136
+ "label": "Y Combinator"
10137
+ },
10138
+ "yahoo": {
10139
+ "styles": [
10140
+ "brands"
10141
+ ],
10142
+ "unicode": "f19e",
10143
+ "label": "Yahoo Logo"
10144
+ },
10145
+ "yammer": {
10146
+ "styles": [
10147
+ "brands"
10148
+ ],
10149
+ "unicode": "f840",
10150
+ "label": "Yammer"
10151
+ },
10152
+ "yandex": {
10153
+ "styles": [
10154
+ "brands"
10155
+ ],
10156
+ "unicode": "f413",
10157
+ "label": "Yandex"
10158
+ },
10159
+ "yandex-international": {
10160
+ "styles": [
10161
+ "brands"
10162
+ ],
10163
+ "unicode": "f414",
10164
+ "label": "Yandex International"
10165
+ },
10166
+ "yarn": {
10167
+ "styles": [
10168
+ "brands"
10169
+ ],
10170
+ "unicode": "f7e3",
10171
+ "label": "Yarn"
10172
+ },
10173
+ "yelp": {
10174
+ "styles": [
10175
+ "brands"
10176
+ ],
10177
+ "unicode": "f1e9",
10178
+ "label": "Yelp"
10179
+ },
10180
+ "yen-sign": {
10181
+ "styles": [
10182
+ "solid"
10183
+ ],
10184
+ "unicode": "f157",
10185
+ "label": "Yen Sign"
10186
+ },
10187
+ "yin-yang": {
10188
+ "styles": [
10189
+ "solid"
10190
+ ],
10191
+ "unicode": "f6ad",
10192
+ "label": "Yin Yang"
10193
+ },
10194
+ "yoast": {
10195
+ "styles": [
10196
+ "brands"
10197
+ ],
10198
+ "unicode": "f2b1",
10199
+ "label": "Yoast"
10200
+ },
10201
+ "youtube": {
10202
+ "styles": [
10203
+ "brands"
10204
+ ],
10205
+ "unicode": "f167",
10206
+ "label": "YouTube"
10207
+ },
10208
+ "youtube-square": {
10209
+ "styles": [
10210
+ "brands"
10211
+ ],
10212
+ "unicode": "f431",
10213
+ "label": "YouTube Square"
10214
+ },
10215
+ "zhihu": {
10216
+ "styles": [
10217
+ "brands"
10218
+ ],
10219
+ "unicode": "f63f",
10220
+ "label": "Zhihu"
10221
+ }
10222
+ }
assets/lottie/dotlottie-player.min.js ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["dotlottie-player"]={})}(this,(function(exports){"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var REACT_ELEMENT_TYPE;function _jsx(t,e,r,i){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var n=t&&t.defaultProps,s=arguments.length-3;if(e||0===s||(e={children:void 0}),1===s)e.children=i;else if(s>1){for(var a=new Array(s),o=0;o<s;o++)a[o]=arguments[o+3];e.children=a}if(e&&n)for(var h in n)void 0===e[h]&&(e[h]=n[h]);else e||(e=n||{});return{$$typeof:REACT_ELEMENT_TYPE,type:t,key:void 0===r?null:""+r,ref:null,props:e,_owner:null}}function _asyncIterator(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}function _AwaitValue(t){this.wrapped=t}function _AsyncGenerator(t){var e,r;function i(e,r){try{var s=t[e](r),a=s.value,o=a instanceof _AwaitValue;Promise.resolve(o?a.wrapped:a).then((function(t){o?i("return"===e?"return":"next",t):n(s.done?"return":"normal",t)}),(function(t){i("throw",t)}))}catch(t){n("throw",t)}}function n(t,n){switch(t){case"return":e.resolve({value:n,done:!0});break;case"throw":e.reject(n);break;default:e.resolve({value:n,done:!1})}(e=e.next)?i(e.key,e.arg):r=null}this._invoke=function(t,n){return new Promise((function(s,a){var o={key:t,arg:n,resolve:s,reject:a,next:null};r?r=r.next=o:(e=r=o,i(t,n))}))},"function"!=typeof t.return&&(this.return=void 0)}function _wrapAsyncGenerator(t){return function(){return new _AsyncGenerator(t.apply(this,arguments))}}function _awaitAsyncGenerator(t){return new _AwaitValue(t)}function _asyncGeneratorDelegate(t,e){var r={},i=!1;function n(r,n){return i=!0,n=new Promise((function(e){e(t[r](n))})),{done:!1,value:e(n)}}return"function"==typeof Symbol&&Symbol.iterator&&(r[Symbol.iterator]=function(){return this}),r.next=function(t){return i?(i=!1,t):n("next",t)},"function"==typeof t.throw&&(r.throw=function(t){if(i)throw i=!1,t;return n("throw",t)}),"function"==typeof t.return&&(r.return=function(t){return i?(i=!1,t):n("return",t)}),r}function asyncGeneratorStep(t,e,r,i,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void r(t)}o.done?e(h):Promise.resolve(h).then(i,n)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var s=t.apply(e,r);function a(t){asyncGeneratorStep(s,i,n,a,o,"next",t)}function o(t){asyncGeneratorStep(s,i,n,a,o,"throw",t)}a(void 0)}))}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _createClass(t,e,r){return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),t}function _defineEnumerableProperties(t,e){for(var r in e){(s=e[r]).configurable=s.enumerable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,r,s)}if(Object.getOwnPropertySymbols)for(var i=Object.getOwnPropertySymbols(e),n=0;n<i.length;n++){var s,a=i[n];(s=e[a]).configurable=s.enumerable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,a,s)}return t}function _defaults(t,e){for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var n=r[i],s=Object.getOwnPropertyDescriptor(e,n);s&&s.configurable&&void 0===t[n]&&Object.defineProperty(t,n,s)}return t}function _defineProperty(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?Object(arguments[e]):{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){_defineProperty(t,e,r[e])}))}return t}function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach((function(e){_defineProperty(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,_setPrototypeOf(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,e,r){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&_setPrototypeOf(n,r.prototype),n}).apply(null,arguments)}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,t)})(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return _getRequireWildcardCache=function(){return t},t}function _interopRequireWildcard(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=_getRequireWildcardCache();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=i?Object.getOwnPropertyDescriptor(t,n):null;s&&(s.get||s.set)?Object.defineProperty(r,n,s):r[n]=t[n]}return r.default=t,e&&e.set(t,r),r}function _newArrowCheck(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure undefined")}function _objectWithoutPropertiesLoose(t,e){if(null==t)return{};var r,i,n={},s=Object.keys(t);for(i=0;i<s.length;i++)r=s[i],e.indexOf(r)>=0||(n[r]=t[r]);return n}function _objectWithoutProperties(t,e){if(null==t)return{};var r,i,n=_objectWithoutPropertiesLoose(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)r=s[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _possibleConstructorReturn(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?_assertThisInitialized(t):e}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var r,i=_getPrototypeOf(t);if(e){var n=_getPrototypeOf(this).constructor;r=Reflect.construct(i,arguments,n)}else r=i.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _get(t,e,r){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var i=_superPropBase(t,e);if(i){var n=Object.getOwnPropertyDescriptor(i,e);return n.get?n.get.call(r):n.value}})(t,e,r||t)}function set(t,e,r,i){return(set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(t,e,r,i){var n,s=_superPropBase(t,e);if(s){if((n=Object.getOwnPropertyDescriptor(s,e)).set)return n.set.call(i,r),!0;if(!n.writable)return!1}if(n=Object.getOwnPropertyDescriptor(i,e)){if(!n.writable)return!1;n.value=r,Object.defineProperty(i,e,n)}else _defineProperty(i,e,r);return!0})(t,e,r,i)}function _set(t,e,r,i,n){if(!set(t,e,r,i||t)&&n)throw new Error("failed to set property");return r}function _taggedTemplateLiteral(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function _taggedTemplateLiteralLoose(t,e){return e||(e=t.slice(0)),t.raw=e,t}function _readOnlyError(t){throw new TypeError('"'+t+'" is read-only')}function _writeOnlyError(t){throw new TypeError('"'+t+'" is write-only')}function _classNameTDZError(t){throw new Error('Class "'+t+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(t){throw new ReferenceError(t+" is not defined - temporal dead zone")}function _temporalRef(t,e){return t===_temporalUndefined?_tdz(e):t}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _slicedToArrayLoose(t,e){return _arrayWithHoles(t)||_iterableToArrayLimitLoose(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _toArray(t){return _arrayWithHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _maybeArrayLike(t,e,r){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var i=e.length;return _arrayLikeToArray(e,void 0!==r&&r<i?r:i)}return t(e,r)}function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function _iterableToArrayLimit(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],i=!0,n=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);i=!0);}catch(t){n=!0,s=t}finally{try{i||null==o.return||o.return()}finally{if(n)throw s}}return r}}function _iterableToArrayLimitLoose(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){for(var r,i=[],n=t[Symbol.iterator]();!(r=n.next()).done&&(i.push(r.value),!e||i.length!==e););return i}}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _createForOfIteratorHelper(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,o=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,s=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw s}}}}function _createForOfIteratorHelperLoose(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=t[Symbol.iterator]()).next.bind(r)}function _skipFirstGeneratorNext(t){return function(){var e=t.apply(this,arguments);return e.next(),e}}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}function _initializerWarningHelper(t,e){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(t,e,r,i){r&&Object.defineProperty(t,e,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function _applyDecoratedDescriptor(t,e,r,i,n){var s={};return Object.keys(i).forEach((function(t){s[t]=i[t]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=r.slice().reverse().reduce((function(r,i){return i(t,e,r)||r}),s),n&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(n):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(t,e,s),s=null),s}"function"==typeof Symbol&&Symbol.asyncIterator&&(_AsyncGenerator.prototype[Symbol.asyncIterator]=function(){return this}),_AsyncGenerator.prototype.next=function(t){return this._invoke("next",t)},_AsyncGenerator.prototype.throw=function(t){return this._invoke("throw",t)},_AsyncGenerator.prototype.return=function(t){return this._invoke("return",t)};var id=0;function _classPrivateFieldLooseKey(t){return"__private_"+id+++"_"+t}function _classPrivateFieldLooseBase(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}function _classPrivateFieldGet(t,e){return _classApplyDescriptorGet(t,_classExtractFieldDescriptor(t,e,"get"))}function _classPrivateFieldSet(t,e,r){return _classApplyDescriptorSet(t,_classExtractFieldDescriptor(t,e,"set"),r),r}function _classPrivateFieldDestructureSet(t,e){return _classApplyDescriptorDestructureSet(t,_classExtractFieldDescriptor(t,e,"set"))}function _classExtractFieldDescriptor(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function _classStaticPrivateFieldSpecGet(t,e,r){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"get"),_classApplyDescriptorGet(t,r)}function _classStaticPrivateFieldSpecSet(t,e,r,i){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorSet(t,r,i),i}function _classStaticPrivateMethodGet(t,e,r){return _classCheckPrivateStaticAccess(t,e),r}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(t,e){return e.get?e.get.call(t):e.value}function _classApplyDescriptorSet(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _classApplyDescriptorDestructureSet(t,e){if(e.set)return"__destrObj"in e||(e.__destrObj={set value(r){e.set.call(t,r)}}),e.__destrObj;if(!e.writable)throw new TypeError("attempted to set read only private field");return e}function _classStaticPrivateFieldDestructureSet(t,e,r){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorDestructureSet(t,r)}function _classCheckPrivateStaticAccess(t,e){if(t!==e)throw new TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}function _decorate(t,e,r,i){var n=_getDecoratorsApi();if(i)for(var s=0;s<i.length;s++)n=i[s](n);var a=e((function(t){n.initializeInstanceElements(t,o.elements)}),r),o=n.decorateClass(_coalesceClassElements(a.d.map(_createElementDescriptor)),t);return n.initializeClassElements(a.F,o.elements),n.runClassFinishers(a.F,o.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(r){e.forEach((function(e){e.kind===r&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var r=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var n=e.placement;if(e.kind===i&&("static"===n||"prototype"===n)){var s="static"===n?t:r;this.defineClassElement(s,e)}}),this)}),this)},defineClassElement:function(t,e){var r=e.descriptor;if("field"===e.kind){var i=e.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,r)},decorateClass:function(t,e){var r=[],i=[],n={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,n)}),this),t.forEach((function(t){if(!_hasDecorators(t))return r.push(t);var e=this.decorateElement(t,n);r.push(e.element),r.push.apply(r,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:r,finishers:i};var s=this.decorateConstructor(r,e);return i.push.apply(i,s.finishers),s.finishers=i,s},addElementPlacement:function(t,e,r){var i=e[t.placement];if(!r&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var r=[],i=[],n=t.decorators,s=n.length-1;s>=0;s--){var a=e[t.placement];a.splice(a.indexOf(t.key),1);var o=this.fromElementDescriptor(t),h=this.toElementFinisherExtras((0,n[s])(o)||o);t=h.element,this.addElementPlacement(t,e),h.finisher&&i.push(h.finisher);var l=h.extras;if(l){for(var p=0;p<l.length;p++)this.addElementPlacement(l[p],e);r.push.apply(r,l)}}return{element:t,finishers:i,extras:r}},decorateConstructor:function(t,e){for(var r=[],i=e.length-1;i>=0;i--){var n=this.fromClassDescriptor(t),s=this.toClassDescriptor((0,e[i])(n)||n);if(void 0!==s.finisher&&r.push(s.finisher),void 0!==s.elements){t=s.elements;for(var a=0;a<t.length-1;a++)for(var o=a+1;o<t.length;o++)if(t[a].key===t[o].key&&t[a].placement===t[o].placement)throw new TypeError("Duplicated element ("+t[a].key+")")}}return{elements:t,finishers:r}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){if(void 0!==t)return _toArray(t).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var r=_toPropertyKey(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var s={kind:e,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),s.initializer=t.initializer),s},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:_optionalCallableProperty(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var r=_optionalCallableProperty(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:r}},runClassFinishers:function(t,e){for(var r=0;r<e.length;r++){var i=(0,e[r])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,r){if(void 0!==t[e])throw new TypeError(r+" can't have a ."+e+" property.")}};return t}function _createElementDescriptor(t){var e,r=_toPropertyKey(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:r,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function _coalesceGetterSetter(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function _coalesceClassElements(t){for(var e=[],r=function(t){return"method"===t.kind&&t.key===s.key&&t.placement===s.placement},i=0;i<t.length;i++){var n,s=t[i];if("method"===s.kind&&(n=e.find(r)))if(_isDataDescriptor(s.descriptor)||_isDataDescriptor(n.descriptor)){if(_hasDecorators(s)||_hasDecorators(n))throw new ReferenceError("Duplicated methods ("+s.key+") can't be decorated.");n.descriptor=s.descriptor}else{if(_hasDecorators(s)){if(_hasDecorators(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+s.key+").");n.decorators=s.decorators}_coalesceGetterSetter(s,n)}else e.push(s)}return e}function _hasDecorators(t){return t.decorators&&t.decorators.length}function _isDataDescriptor(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function _optionalCallableProperty(t,e){var r=t[e];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+e+"' to be a function");return r}function _classPrivateMethodGet(t,e,r){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return r}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}function _wrapRegExp(t,e){_wrapRegExp=function(t,e){return new s(t,void 0,e)};var r=_wrapNativeSuper(RegExp),i=RegExp.prototype,n=new WeakMap;function s(t,e,i){var s=r.call(this,t,e);return n.set(s,i||n.get(t)),s}function a(t,e){var r=n.get(e);return Object.keys(r).reduce((function(e,i){return e[i]=t[r[i]],e}),Object.create(null))}return _inherits(s,r),s.prototype.exec=function(t){var e=i.exec.call(this,t);return e&&(e.groups=a(e,this)),e},s.prototype[Symbol.replace]=function(t,e){if("string"==typeof e){var r=n.get(this);return i[Symbol.replace].call(this,t,e.replace(/\$<([^>]+)>/g,(function(t,e){return"$"+r[e]})))}if("function"==typeof e){var s=this;return i[Symbol.replace].call(this,t,(function(){var t=[];return t.push.apply(t,arguments),"object"!=typeof t[t.length-1]&&t.push(a(t,s)),e.apply(this,t)}))}return i[Symbol.replace].call(this,t,e)},_wrapRegExp.apply(this,arguments)}
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function __extends(t,e){function r(){this.constructor=t}extendStatics(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var __assign=function(){return(__assign=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function __rest(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]])}return r}function __decorate(t,e,r,i){var n,s=arguments.length,a=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(a=(s<3?n(a):s>3?n(e,r,a):n(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a}function __param(t,e){return function(r,i){e(r,i,t)}}function __metadata(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function __awaiter(t,e,r,i){return new(r||(r=Promise))((function(n,s){function a(t){try{h(i.next(t))}catch(t){s(t)}}function o(t){try{h(i.throw(t))}catch(t){s(t)}}function h(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,o)}h((i=i.apply(t,e||[])).next())}))}function __generator(t,e){var r,i,n,s,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(6===s[0]&&a.label<n[1]){a.label=n[1],n=s;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(s);break}n[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],i=0}finally{r=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}}function __createBinding(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]}function __exportStar(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||(e[r]=t[r])}function __values(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,s=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function __spread(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(__read(arguments[e]));return t}function __spreadArrays(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var i=Array(t),n=0;for(e=0;e<r;e++)for(var s=arguments[e],a=0,o=s.length;a<o;a++,n++)i[n]=s[a];return i}function __await(t){return this instanceof __await?(this.v=t,this):new __await(t)}function __asyncGenerator(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(t,e||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){n[t]&&(i[t]=function(e){return new Promise((function(r,i){s.push([t,e,r,i])>1||o(t,e)}))})}function o(t,e){try{!function(t){t.value instanceof __await?Promise.resolve(t.value.v).then(h,l):p(s[0][2],t)}(n[t](e))}catch(t){p(s[0][3],t)}}function h(t){o("next",t)}function l(t){o("throw",t)}function p(t,e){t(e),s.shift(),s.length&&o(s[0][0],s[0][1])}}function __asyncDelegator(t){var e,r;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,n){e[i]=t[i]?function(e){return(r=!r)?{value:__await(t[i](e)),done:"return"===i}:n?n(e):e}:n}}function __asyncValues(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(e){return new Promise((function(i,n){(function(t,e,r,i){Promise.resolve(i).then((function(e){t({value:e,done:r})}),e)})(i,n,(e=t[r](e)).done,e.value)}))}}}function __makeTemplateObject(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function __importStar(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function __importDefault(t){return t&&t.__esModule?t:{default:t}}function __classPrivateFieldGet(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function __classPrivateFieldSet(t,e,r){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,r),r}
16
+ /**
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const t$3=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(t,e){if(this._$cssResult$=!0,e!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=n$5.get(this.cssText);return t$3&&void 0===t&&(n$5.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const o$5=t=>new s$3("string"==typeof t?t:t+"",e$8),r$3=(t,...e)=>{const r=1===t.length?t[0]:e.reduce((e,r,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[i+1],t[0]);return new s$3(r,e$8)},i$3=(t,e)=>{t$3?t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(e=>{const r=document.createElement("style"),i=window.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)})},S$1=t$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return o$5(e)})(t):t
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */;var s$2;const e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(t,e){switch(e){case Boolean:t=t?r$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},n$4=(t,e)=>e!==t&&(e==e||t==t),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4};class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,r)=>{const i=this._$Eh(r,e);void 0!==i&&(this._$Eu.set(i,r),t.push(i))}),t}static createProperty(t,e=l$3){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(i){const n=this[t];this[e]=i,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of e)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(S$1(t))}else void 0!==t&&e.push(S$1(t));return e}static _$Eh(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,r;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i$3(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ES(t,e,r=l$3){var i,n;const s=this.constructor._$Eh(t,r);if(void 0!==s&&!0===r.reflect){const a=(null!==(n=null===(i=r.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==n?n:o$4.toAttribute)(e,r.type);this._$Ei=t,null==a?this.removeAttribute(s):this.setAttribute(s,a),this._$Ei=null}}_$AK(t,e){var r,i,n;const s=this.constructor,a=s._$Eu.get(t);if(void 0!==a&&this._$Ei!==a){const t=s.getPropertyOptions(a),o=t.converter,h=null!==(n=null!==(i=null===(r=o)||void 0===r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof o?o:null)&&void 0!==n?n:o$4.fromAttribute;this._$Ei=a,this[a]=h(e,t.type),this._$Ei=null}}requestUpdate(t,e,r){let i=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||n$4)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),null===(t=this._$Eg)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(r)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(r)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$ES(e,this[e],t)),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
26
+ /**
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ var t$2;a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},null==h$2||h$2({ReactiveElement:a$1}),(null!==(s$2=globalThis.reactiveElementVersions)&&void 0!==s$2?s$2:globalThis.reactiveElementVersions=[]).push("1.3.1");const i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$6=`lit$${(Math.random()+"").slice(9)}$`,o$3="?"+e$6,n$3=`<${o$3}>`,l$2=document,h$1=(t="")=>l$2.createComment(t),r$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,u=t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea|title)$/i,p=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),$=p(1),y=p(2),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T=new WeakMap,x=(t,e,r)=>{var i,n;const s=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:e;let a=s._$litPart$;if(void 0===a){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;s._$litPart$=a=new N(e.insertBefore(h$1(),t),t,void 0,null!=r?r:{})}return a._$AI(t),a},A=l$2.createTreeWalker(l$2,129,null,!1),C=(t,e)=>{const r=t.length-1,i=[];let n,s=2===e?"<svg>":"",o=c;for(let e=0;e<r;e++){const r=t[e];let h,l,p=-1,u=0;for(;u<r.length&&(o.lastIndex=u,l=o.exec(r),null!==l);)u=o.lastIndex,o===c?"!--"===l[1]?o=v:void 0!==l[1]?o=a:void 0!==l[2]?(g.test(l[2])&&(n=RegExp("</"+l[2],"g")),o=f):void 0!==l[3]&&(o=f):o===f?">"===l[0]?(o=null!=n?n:c,p=-1):void 0===l[1]?p=-2:(p=o.lastIndex-l[2].length,h=l[1],o=void 0===l[3]?f:'"'===l[3]?m:_):o===m||o===_?o=f:o===v||o===a?o=c:(o=f,n=void 0);const d=o===f&&t[e+1].startsWith("/>")?" ":"";s+=o===c?r+n$3:p>=0?(i.push(h),r.slice(0,p)+"$lit$"+r.slice(p)+e$6+d):r+e$6+(-2===p?(i.push(void 0),e):d)}const h=s+(t[r]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s$1?s$1.createHTML(h):h,i]};class E{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let n=0,s=0;const a=t.length-1,o=this.parts,[h,l]=C(t,e);if(this.el=E.createElement(h,r),A.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=A.nextNode())&&o.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(e$6)){const r=l[s++];if(t.push(e),void 0!==r){const t=i.getAttribute(r.toLowerCase()+"$lit$").split(e$6),e=/([.?@])?(.*)/.exec(r);o.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?H:"@"===e[1]?I:S})}else o.push({type:6,index:n})}for(const e of t)i.removeAttribute(e)}if(g.test(i.tagName)){const t=i.textContent.split(e$6),e=t.length-1;if(e>0){i.textContent=i$2?i$2.emptyScript:"";for(let r=0;r<e;r++)i.append(t[r],h$1()),A.nextNode(),o.push({type:2,index:++n});i.append(t[e],h$1())}}}else if(8===i.nodeType)if(i.data===o$3)o.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(e$6,t+1));)o.push({type:7,index:n}),t+=e$6.length-1}n++}}static createElement(t,e){const r=l$2.createElement("template");return r.innerHTML=t,r}}function P(t,e,r=t,i){var n,s,a,o;if(e===b)return e;let h=void 0!==i?null===(n=r._$Cl)||void 0===n?void 0:n[i]:r._$Cu;const l=r$1(e)?void 0:e._$litDirective$;return(null==h?void 0:h.constructor)!==l&&(null===(s=null==h?void 0:h._$AO)||void 0===s||s.call(h,!1),void 0===l?h=void 0:(h=new l(t),h._$AT(t,r,i)),void 0!==i?(null!==(a=(o=r)._$Cl)&&void 0!==a?a:o._$Cl=[])[i]=h:r._$Cu=h),void 0!==h&&(e=P(t,h._$AS(t,e.values),h,i)),e}class V{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:r},parts:i}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:l$2).importNode(r,!0);A.currentNode=n;let s=A.nextNode(),a=0,o=0,h=i[0];for(;void 0!==h;){if(a===h.index){let e;2===h.type?e=new N(s,s.nextSibling,this,t):1===h.type?e=new h.ctor(s,h.name,h.strings,this,t):6===h.type&&(e=new L(s,this,t)),this.v.push(e),h=i[++o]}a!==(null==h?void 0:h.index)&&(s=A.nextNode(),a++)}return n}m(t){let e=0;for(const r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class N{constructor(t,e,r,i){var n;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cg=null===(n=null==i?void 0:i.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=P(this,t,e),r$1(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==b&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):u(t)?this.S(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=t:this.k(l$2.createTextNode(t)),this._$AH=t}T(t){var e;const{values:r,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=E.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(r);else{const t=new V(n,this),e=t.p(this.options);t.m(r),this.k(e),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new E(t)),e}S(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new N(this.A(h$1()),this.A(h$1()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class S{constructor(t,e,r,i,n){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,r,i){const n=this.strings;let s=!1;if(void 0===n)t=P(this,t,e,0),s=!r$1(t)||t!==this._$AH&&t!==b,s&&(this._$AH=t);else{const i=t;let a,o;for(t=n[0],a=0;a<n.length-1;a++)o=P(this,i[r+a],e,a),o===b&&(o=this._$AH[a]),s||(s=!r$1(o)||o!==this._$AH[a]),o===w?t=w:t!==w&&(t+=(null!=o?o:"")+n[a+1]),this._$AH[a]=o}s&&!i&&this.C(t)}C(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends S{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===w?void 0:t}}const k=i$2?i$2.emptyScript:"";class H extends S{constructor(){super(...arguments),this.type=4}C(t){t&&t!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(t,e,r,i,n){super(t,e,r,i,n),this.type=5}_$AI(t,e=this){var r;if((t=null!==(r=P(this,t,e,0))&&void 0!==r?r:w)===b)return;const i=this._$AH,n=t===w&&i!==w||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==w&&(i===w||n);n&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}}const R={P:"$lit$",L:e$6,V:o$3,I:1,N:C,R:V,D:u,j:P,H:N,O:S,F:H,B:I,W:M,Z:L},z=window.litHtmlPolyfillSupport;
32
+ /**
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */
37
+ var l$1,o$2;null==z||z(E,N),(null!==(t$2=globalThis.litHtmlVersions)&&void 0!==t$2?t$2:globalThis.litHtmlVersions=[]).push("2.2.1");const r=a$1;class s extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=x(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return b}}s.finalized=!0,s._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:s});const n$2=globalThis.litElementPolyfillSupport;null==n$2||n$2({LitElement:s});const h={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(null!==(o$2=globalThis.litElementVersions)&&void 0!==o$2?o$2:globalThis.litElementVersions=[]).push("3.2.0");
38
+ /**
39
+ * @license
40
+ * Copyright 2017 Google LLC
41
+ * SPDX-License-Identifier: BSD-3-Clause
42
+ */
43
+ const n$1=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:r,elements:i}=e;return{kind:r,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e)
44
+ /**
45
+ * @license
46
+ * Copyright 2017 Google LLC
47
+ * SPDX-License-Identifier: BSD-3-Clause
48
+ */,i$1=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function e$5(t){return(e,r)=>void 0!==r?((t,e,r)=>{e.constructor.createProperty(r,t)})(t,e,r):i$1(t,e)
49
+ /**
50
+ * @license
51
+ * Copyright 2017 Google LLC
52
+ * SPDX-License-Identifier: BSD-3-Clause
53
+ */}function t$1(t){return e$5({...t,state:!0})}
54
+ /**
55
+ * @license
56
+ * Copyright 2017 Google LLC
57
+ * SPDX-License-Identifier: BSD-3-Clause
58
+ */const e$4=(t,e,r)=>{Object.defineProperty(e,r,t)},t=(t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t}),o$1=({finisher:t,descriptor:e})=>(r,i)=>{var n;if(void 0===i){const i=null!==(n=r.originalKey)&&void 0!==n?n:r.key,s=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(r.key)}:{...r,key:i};return null!=t&&(s.finisher=function(e){t(e,i)}),s}{const n=r.constructor;void 0!==e&&Object.defineProperty(r,i,e(i)),null==t||t(n,i)}}
59
+ /**
60
+ * @license
61
+ * Copyright 2017 Google LLC
62
+ * SPDX-License-Identifier: BSD-3-Clause
63
+ */;function e$3(t){return o$1({finisher:(e,r)=>{Object.assign(e.prototype[r],t)}})}
64
+ /**
65
+ * @license
66
+ * Copyright 2017 Google LLC
67
+ * SPDX-License-Identifier: BSD-3-Clause
68
+ */function i(t,e){return o$1({descriptor:r=>{const i={get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof r?Symbol():"__"+r;i.get=function(){var r,i;return void 0===this[e]&&(this[e]=null!==(i=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}
69
+ /**
70
+ * @license
71
+ * Copyright 2017 Google LLC
72
+ * SPDX-License-Identifier: BSD-3-Clause
73
+ */function e$2(t){return o$1({descriptor:e=>({get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==r?r:[]},enumerable:!0,configurable:!0})})}
74
+ /**
75
+ * @license
76
+ * Copyright 2017 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ */function e$1(t){return o$1({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}
79
+ /**
80
+ * @license
81
+ * Copyright 2021 Google LLC
82
+ * SPDX-License-Identifier: BSD-3-Clause
83
+ */var n;const e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);function l(t){const{slot:r,selector:i}=null!=t?t:{};return o$1({descriptor:n=>({get(){var n;const s="slot"+(r?`[name=${r}]`:":not([name])"),a=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(s),o=null!=a?e(a,t):[];return i?o.filter(t=>t.matches(i)):o},enumerable:!0,configurable:!0})})}
84
+ /**
85
+ * @license
86
+ * Copyright 2017 Google LLC
87
+ * SPDX-License-Identifier: BSD-3-Clause
88
+ */function o(t,e,r){let i,n=t;return"object"==typeof t?(n=t.slot,i=t):i={flatten:e},r?l({slot:n,flatten:e,selector:r}):o$1({descriptor:t=>({get(){var t,e;const r="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(r);return null!==(e=null==s?void 0:s.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return commonjsRequire(t,null==e?r.path:e)}},r.exports),r.exports}function getCjsExportFromNamespace(t){return t&&t.default||t}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var lottie_svg=createCommonjsModule((function(module,exports){"undefined"!=typeof navigator&&function(t,e){module.exports=e()}(0,(function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i,n=t.length;for(r=0;r<n;r+=1)for(var s in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,s)&&(e.prototype[s]=i[s])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var r,i=0,n=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<e;i+=1)n.push(r);return n}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return(_typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,r=createSizedArray(t.length),i=t.length;for(e=0;e<i;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,r){var i,n,s,a,o,h,l,p;switch(h=r*(1-e),l=r*(1-(o=6*t-(a=Math.floor(6*t)))*e),p=r*(1-(1-o)*e),a%6){case 0:i=r,n=p,s=h;break;case 1:i=l,n=r,s=h;break;case 2:i=h,n=r,s=p;break;case 3:i=h,n=l,s=r;break;case 4:i=p,n=h,s=r;break;case 5:i=r,n=h,s=l}return[i,n,s]}function RGBtoHSV(t,e,r){var i,n=Math.max(t,e,r),s=Math.min(t,e,r),a=n-s,o=0===n?0:a/n,h=n/255;switch(n){case s:i=0;break;case t:i=e-r+a*(e<r?6:0),i/=6*a;break;case e:i=r-t+2*a,i/=6*a;break;case r:i=t-e+4*a,i/=6*a}return[i,o,h]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var dataManager=function(){var t,e,r=1,i=[],n={onmessage:function(){},postMessage:function(e){t({data:e})}},s={postMessage:function(t){n.onmessage({data:t})}};function a(){e||((e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,n}((function(t){if(s.dataManager||(s.dataManager=function(){function t(n,s){var a,o,h,l,p,f,u=n.length;for(o=0;o<u;o+=1)if("ks"in(a=n[o])&&!a.completed){if(a.completed=!0,a.tt&&(n[o-1].td=a.tt),a.hasMask){var d=a.masksProperties;for(l=d.length,h=0;h<l;h+=1)if(d[h].pt.k.i)i(d[h].pt.k);else for(f=d[h].pt.k.length,p=0;p<f;p+=1)d[h].pt.k[p].s&&i(d[h].pt.k[p].s[0]),d[h].pt.k[p].e&&i(d[h].pt.k[p].e[0])}0===a.ty?(a.layers=e(a.refId,s),t(a.layers,s)):4===a.ty?r(a.shapes):5===a.ty&&c(a)}}function e(t,e){var r=function(t,e){for(var r=0,i=e.length;r<i;){if(e[r].id===t)return e[r];r+=1}return null}(t,e);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(t){var e,n,s;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(s=t[e].ks.k.length,n=0;n<s;n+=1)t[e].ks.k[n].s&&i(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&i(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function i(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function n(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var s,a=function(){var t=[4,4,14];function e(t){var e,r,i,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(r=t[e],i=void 0,i=r.t.d,r.t.d={k:[{s:i,t:0}]})}return function(r){if(n(t,r.v)&&(e(r.layers),r.assets)){var i,s=r.assets.length;for(i=0;i<s;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),o=(s=[4,7,99],function(t){if(t.chars&&!n(s,t.v)){var e,i=t.chars.length;for(e=0;e<i;e+=1){var a=t.chars[e];a.data&&a.data.shapes&&(r(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),h=function(){var t=[5,7,15];function e(t){var e,r,i,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(r=t[e],i=void 0,"number"==typeof(i=r.t.p).a&&(i.a={a:0,k:i.a}),"number"==typeof i.p&&(i.p={a:0,k:i.p}),"number"==typeof i.r&&(i.r={a:0,k:i.r}))}return function(r){if(n(t,r.v)&&(e(r.layers),r.assets)){var i,s=r.assets.length;for(i=0;i<s;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),l=function(){var t=[4,1,9];function e(t){var r,i,n,s=t.length;for(r=0;r<s;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(n=t[r].c.k.length,i=0;i<n;i+=1)t[r].c.k[i].s&&(t[r].c.k[i].s[0]/=255,t[r].c.k[i].s[1]/=255,t[r].c.k[i].s[2]/=255,t[r].c.k[i].s[3]/=255),t[r].c.k[i].e&&(t[r].c.k[i].e[0]/=255,t[r].c.k[i].e[1]/=255,t[r].c.k[i].e[2]/=255,t[r].c.k[i].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,s=e.assets.length;for(i=0;i<s;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var r,i,n;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(n=t[r].ks.k.length,i=0;i<n;i+=1)t[r].ks.k[i].s&&(t[r].ks.k[i].s[0].c=t[r].closed),t[r].ks.k[i].e&&(t[r].ks.k[i].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,i,n,s,a,o,h=t.length;for(i=0;i<h;i+=1){if((r=t[i]).hasMask){var l=r.masksProperties;for(s=l.length,n=0;n<s;n+=1)if(l[n].pt.k.i)l[n].pt.k.c=l[n].cl;else for(o=l[n].pt.k.length,a=0;a<o;a+=1)l[n].pt.k[a].s&&(l[n].pt.k[a].s[0].c=l[n].cl),l[n].pt.k[a].e&&(l[n].pt.k[a].e[0].c=l[n].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,s=e.assets.length;for(i=0;i<s;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}();function c(t){0===t.t.a.length&&t.t.p}var f={completeData:function(r){r.__complete||(l(r),a(r),o(r),h(r),p(r),t(r.layers,r.assets),function(r,i){if(r){var n=0,s=r.length;for(n=0;n<s;n+=1)1===r[n].t&&(r[n].data.layers=e(r[n].data.refId,i),t(r[n].data.layers,i))}}(r.chars,r.assets),r.__complete=!0)}};return f.checkColors=l,f.checkChars=o,f.checkPathProperties=h,f.checkShapes=p,f.completeLayers=t,f}()),s.assetLoader||(s.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,i,n){var s,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)s=t(a),i(s);else try{s=t(a),i(s)}catch(t){n&&n(t)}};try{a.open("GET",e,!0)}catch(t){a.open("GET",r+"/"+e,!0)}a.send()}}}()),"loadAnimation"===t.data.type)s.assetLoader.load(t.data.path,t.data.fullPath,(function(e){s.dataManager.completeData(e),s.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){s.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;s.dataManager.completeData(e),s.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&s.assetLoader.load(t.data.path,t.data.fullPath,(function(e){s.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){s.postMessage({id:t.data.id,status:"error"})}))}))).onmessage=function(t){var e=t.data,r=e.id,n=i[r];i[r]=null,"success"===e.status?n.onComplete(e.payload):n.onError&&n.onError()})}function o(t,e){var n="processId_"+(r+=1);return i[n]={onComplete:t,onError:e},n}return{loadAnimation:function(t,r,i){a();var n=o(r,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(t,r,i){a();var n=o(r,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(t,r,i){a();var n=o(r,i);e.postMessage({type:"complete",animation:t,id:n})}}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,r){var i="";if(t.e)i=t.p;else if(e){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),i=e+n}else i=r,i+=t.u?t.u:"",i+=t.p;return i}function n(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function s(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function a(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var i=t.length;for(r=0;r<i;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=i(e,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){s.img=t,this._imageLoaded()}.bind(this),!1),n.src=r;var s={img:n,assetData:e};return s},createImageData:function(e){var r=i(e,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){s.img=t,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var s={img:n,assetData:e};return s},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i<r.length;i+=1)r[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),i={},n=0,s=0;s<r.length;s+=1)2===(e=r[s].split(":")).length&&(i[e[0]]=e[1].trim(),n+=1);if(0===n)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var n=e[i],s={time:n.tm,duration:n.dr};try{s.payload=JSON.parse(e[i].cm)}catch(r){try{s.payload=t(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}r.push(s)}return r}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function _typeof$4(t){return(_typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===n?r.loop=!1:"true"===n?r.loop=!0:""!==n&&(r.loop=parseInt(n,10));var s=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==s,r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,n=i.length,s=t.layers,a=s.length;for(r=0;r<a;r+=1)for(e=0;e<n;){if(i[e].id===s[r].id){i[e]=s[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(n=t.assets.length,e=0;e<n;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&this.goToAndStop(n.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{this.renderer.getElementByPath(t).updateDocumentData(e,r)}catch(t){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,n=0,s=!0,a=!1;function o(t){for(var r=0,n=t.target;r<i;)e[r].animation===n&&(e.splice(r,1),r-=1,i-=1,n.isPaused||p()),r+=1}function h(t,r){if(!t)return null;for(var n=0;n<i;){if(e[n].elem===t&&null!==e[n].elem)return e[n].animation;n+=1}var s=new AnimationItem;return c(s,t),s.setData(t,r),s}function l(){n+=1,d()}function p(){n-=1}function c(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",l),t.addEventListener("_idle",p),e.push({elem:r,animation:t}),i+=1}function f(t){var o,h=t-r;for(o=0;o<i;o+=1)e[o].animation.advanceTime(h);r=t,n&&!a?window.requestAnimationFrame(f):s=!0}function u(t){r=t,window.requestAnimationFrame(f)}function d(){!a&&n&&s&&(window.requestAnimationFrame(u),s=!1)}return t.registerAnimation=h,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setSpeed(t,r)},t.setDirection=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var i,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),s=n.length;for(i=0;i<s;i+=1)r&&n[i].setAttribute("data-bm-type",r),h(n[i],t);if(e&&0===s){r||(r="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),a.appendChild(o),h(o,t)}},t.resize=function(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,n){var s;for(s=0;s<i;s+=1)e[s].animation.goToAndStop(t,r,n)},t.destroy=function(t){var r;for(r=i-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){a=!0},t.unfreeze=function(){a=!1,d()},t.setVolume=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i.push(e[t].animation);return i},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,r,i,n,s){var a=s||("bez_"+t+"_"+r+"_"+i+"_"+n).replace(/\./g,"p");if(e[a])return e[a];var o=new h([t,r,i,n]);return e[a]=o,o}},e={};var r="function"==typeof Float32Array;function i(t,e){return 1-3*e+3*t}function n(t,e){return 3*e-6*t}function s(t){return 3*t}function a(t,e,r){return((i(e,r)*t+n(e,r))*t+s(e))*t}function o(t,e,r){return 3*i(e,r)*t*t+2*n(e,r)*t+s(e)}function h(t){this._p=t,this._mSampleValues=r?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return h.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),e===r&&i===n?t:0===t?0:1===t?1:a(this._getTForX(t),r,n)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<11;++r)this._mSampleValues[r]=a(.1*r,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],i=this._mSampleValues,n=0,s=1;10!==s&&i[s]<=t;++s)n+=.1;var h=n+.1*((t-i[--s])/(i[s+1]-i[s])),l=o(h,e,r);return l>=.001?function(t,e,r,i){for(var n=0;n<4;++n){var s=o(e,r,i);if(0===s)return e;e-=(a(e,r,i)-t)/s}return e}(t,h,e,r):0===l?h:function(t,e,r,i,n){var s,o,h=0;do{(s=a(o=e+(r-e)/2,i,n)-t)>0?r=o:e=o}while(Math.abs(s)>1e-7&&++h<10);return o}(t,n,n+.1,e,r)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var i=0,n=t,s=createSizedArray(n);return{newElement:function(){return i?s[i-=1]:e()},release:function(t){i===n&&(s=pooling.double(s),n*=2),r&&r(t),s[i]=t,i+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,r,i,n,s){var a=t*i+e*n+r*s-n*i-s*t-r*e;return a>-.001&&a<.001}var r=function(t,e,r,i){var n,s,a,o,h,l,p=getDefaultCurveSegments(),c=0,f=[],u=[],d=bezierLengthPool.newElement();for(a=r.length,n=0;n<p;n+=1){for(h=n/(p-1),l=0,s=0;s<a;s+=1)o=bmPow(1-h,3)*t[s]+3*bmPow(1-h,2)*h*r[s]+3*(1-h)*bmPow(h,2)*i[s]+bmPow(h,3)*e[s],f[s]=o,null!==u[s]&&(l+=bmPow(f[s]-u[s],2)),u[s]=f[s];l&&(c+=l=bmSqrt(l)),d.percents[n]=h,d.lengths[n]=c}return d.addedLength=c,d};function i(t){this.segmentLength=0,this.points=new Array(t)}function n(t,e){this.partialLength=t,this.point=e}var s,a=(s={},function(t,r,a,o){var h=(t[0]+"_"+t[1]+"_"+r[0]+"_"+r[1]+"_"+a[0]+"_"+a[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!s[h]){var l,p,c,f,u,d,m,y=getDefaultCurveSegments(),g=0,v=null;2===t.length&&(t[0]!==r[0]||t[1]!==r[1])&&e(t[0],t[1],r[0],r[1],t[0]+a[0],t[1]+a[1])&&e(t[0],t[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(y=2);var _=new i(y);for(c=a.length,l=0;l<y;l+=1){for(m=createSizedArray(c),u=l/(y-1),d=0,p=0;p<c;p+=1)f=bmPow(1-u,3)*t[p]+3*bmPow(1-u,2)*u*(t[p]+a[p])+3*(1-u)*bmPow(u,2)*(r[p]+o[p])+bmPow(u,3)*r[p],m[p]=f,null!==v&&(d+=bmPow(m[p]-v[p],2));g+=d=bmSqrt(d),_.points[l]=new n(d,m),v=m}_.segmentLength=g,s[h]=_}return s[h]});function o(t,e){var r=e.percents,i=e.lengths,n=r.length,s=bmFloor((n-1)*t),a=t*e.addedLength,o=0;if(s===n-1||0===s||a===i[s])return r[s];for(var h=i[s]>a?-1:1,l=!0;l;)if(i[s]<=a&&i[s+1]>a?(o=(a-i[s])/(i[s+1]-i[s]),l=!1):s+=h,s<0||s>=n-1){if(s===n-1)return r[s];l=!1}return r[s]+(r[s+1]-r[s])*o}var h=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),n=t.c,s=t.v,a=t.o,o=t.i,h=t._length,l=i.lengths,p=0;for(e=0;e<h-1;e+=1)l[e]=r(s[e],s[e+1],a[e],o[e+1]),p+=l[e].addedLength;return n&&h&&(l[e]=r(s[e],s[0],a[e],o[0]),p+=l[e].addedLength),i.totalLength=p,i},getNewSegment:function(e,r,i,n,s,a,l){s<0?s=0:s>1&&(s=1);var p,c=o(s,l),f=o(a=a>1?1:a,l),u=e.length,d=1-c,m=1-f,y=d*d*d,g=c*d*d*3,v=c*c*d*3,_=c*c*c,b=d*d*m,P=c*d*m+d*c*m+d*d*f,S=c*c*m+d*c*f+c*d*f,w=c*c*f,k=d*m*m,E=c*m*m+d*f*m+d*m*f,x=c*f*m+d*f*f+c*m*f,A=c*f*f,T=m*m*m,C=f*m*m+m*f*m+m*m*f,D=f*f*m+m*f*f+f*m*f,I=f*f*f;for(p=0;p<u;p+=1)h[4*p]=t.round(1e3*(y*e[p]+g*i[p]+v*n[p]+_*r[p]))/1e3,h[4*p+1]=t.round(1e3*(b*e[p]+P*i[p]+S*n[p]+w*r[p]))/1e3,h[4*p+2]=t.round(1e3*(k*e[p]+E*i[p]+x*n[p]+A*r[p]))/1e3,h[4*p+3]=t.round(1e3*(T*e[p]+C*i[p]+D*n[p]+I*r[p]))/1e3;return h},getPointInSegment:function(e,r,i,n,s,a){var h=o(s,a),l=1-h;return[t.round(1e3*(l*l*l*e[0]+(h*l*l+l*h*l+l*l*h)*i[0]+(h*h*l+l*h*h+h*l*h)*n[0]+h*h*h*r[0]))/1e3,t.round(1e3*(l*l*l*e[1]+(h*l*l+l*h*l+l*l*h)*i[1]+(h*h*l+l*h*h+h*l*h)*n[1]+h*h*h*r[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(r,i,n,s,a,o,h,l,p){if(0===n&&0===o&&0===p)return e(r,i,s,a,h,l);var c,f=t.sqrt(t.pow(s-r,2)+t.pow(a-i,2)+t.pow(o-n,2)),u=t.sqrt(t.pow(h-r,2)+t.pow(l-i,2)+t.pow(p-n,2)),d=t.sqrt(t.pow(h-s,2)+t.pow(l-a,2)+t.pow(p-o,2));return(c=f>u?f>d?f-u-d:d-u-f:d>u?d-u-f:u-f-d)>-1e-4&&c<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var s,a,o,h,l,p,c,f,u,d=e.lastIndex,m=d,y=this.keyframes.length-1,g=!0;g;){if(s=this.keyframes[m],a=this.keyframes[m+1],m===y-1&&t>=a.t-n){s.h&&(s=a),d=0;break}if(a.t-n>t){d=m;break}m<y-1?m+=1:(d=0,g=!1)}o=this.keyframesMetadata[m]||{};var v,_=a.t-n,b=s.t-n;if(s.to){o.bezierData||(o.bezierData=bez.buildBezierData(s.s,a.s||s.e,s.to,s.ti));var P=o.bezierData;if(t>=_||t<b){var S=t>=_?P.points.length-1:0;for(l=P.points[S].point.length,h=0;h<l;h+=1)r[h]=P.points[S].point[h]}else{o.__fnct?u=o.__fnct:(u=BezierFactory.getBezierEasing(s.o.x,s.o.y,s.i.x,s.i.y,s.n).get,o.__fnct=u),p=u((t-b)/(_-b));var w,k=P.segmentLength*p,E=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastAddedLength:0;for(f=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastPoint:0,g=!0,c=P.points.length;g;){if(E+=P.points[f].partialLength,0===k||0===p||f===P.points.length-1){for(l=P.points[f].point.length,h=0;h<l;h+=1)r[h]=P.points[f].point[h];break}if(k>=E&&k<E+P.points[f+1].partialLength){for(w=(k-E)/P.points[f+1].partialLength,l=P.points[f].point.length,h=0;h<l;h+=1)r[h]=P.points[f].point[h]+(P.points[f+1].point[h]-P.points[f].point[h])*w;break}f<c-1?f+=1:g=!1}e._lastPoint=f,e._lastAddedLength=E-P.points[f].partialLength,e._lastKeyframeIndex=m}}else{var x,A,T,C,D;if(y=s.s.length,v=a.s||s.e,this.sh&&1!==s.h)if(t>=_)r[0]=v[0],r[1]=v[1],r[2]=v[2];else if(t<=b)r[0]=s.s[0],r[1]=s.s[1],r[2]=s.s[2];else{!function(t,e){var r=e[0],i=e[1],n=e[2],s=e[3],a=Math.atan2(2*i*s-2*r*n,1-2*i*i-2*n*n),o=Math.asin(2*r*i+2*n*s),h=Math.atan2(2*r*s-2*i*n,1-2*r*r-2*n*n);t[0]=a/degToRads,t[1]=o/degToRads,t[2]=h/degToRads}(r,function(t,e,r){var i,n,s,a,o,h=[],l=t[0],p=t[1],c=t[2],f=t[3],u=e[0],d=e[1],m=e[2],y=e[3];(n=l*u+p*d+c*m+f*y)<0&&(n=-n,u=-u,d=-d,m=-m,y=-y);1-n>1e-6?(i=Math.acos(n),s=Math.sin(i),a=Math.sin((1-r)*i)/s,o=Math.sin(r*i)/s):(a=1-r,o=r);return h[0]=a*l+o*u,h[1]=a*p+o*d,h[2]=a*c+o*m,h[3]=a*f+o*y,h}(i(s.s),i(v),(t-b)/(_-b)))}else for(m=0;m<y;m+=1)1!==s.h&&(t>=_?p=1:t<b?p=0:(s.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?u=o.__fnct[m]:(x=void 0===s.o.x[m]?s.o.x[0]:s.o.x[m],A=void 0===s.o.y[m]?s.o.y[0]:s.o.y[m],T=void 0===s.i.x[m]?s.i.x[0]:s.i.x[m],C=void 0===s.i.y[m]?s.i.y[0]:s.i.y[m],u=BezierFactory.getBezierEasing(x,A,T,C).get,o.__fnct[m]=u)):o.__fnct?u=o.__fnct:(x=s.o.x,A=s.o.y,T=s.i.x,C=s.i.y,u=BezierFactory.getBezierEasing(x,A,T,C).get,s.keyframeMetadata=u),p=u((t-b)/(_-b)))),v=a.s||s.e,D=1===s.h?s.s[m]:s.s[m]+(v[m]-s.s[m])*p,"multidimensional"===this.propType?r[m]=D:r=D}return e.lastIndex=d,r}function i(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,n=Math.cos(e/2),s=Math.cos(r/2),a=Math.cos(i/2),o=Math.sin(e/2),h=Math.sin(r/2),l=Math.sin(i/2);return[o*h*a+n*s*l,o*s*a+n*h*l,n*h*a-o*s*l,n*s*a-o*h*l]}function n(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function s(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,n=this.v.length;i<n;)r=t[i]*this.mult,e(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function a(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function h(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=a,this.setVValue=s,this.addEffect=o}function l(t,e,r,i){var n;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h=e.k.length;for(this.v=createTypedArray("float32",h),this.pv=createTypedArray("float32",h),this.vel=createTypedArray("float32",h),n=0;n<h;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=a,this.setVValue=s,this.addEffect=o}function p(e,i,h,l){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=h||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=a,this.setVValue=s,this.interpolateValue=r,this.effectsSequence=[n.bind(this)],this.addEffect=o}function c(e,i,h,l){var p;this.propType="multidimensional";var c,f,u,d,m=i.k.length;for(p=0;p<m-1;p+=1)i.k[p].to&&i.k[p].s&&i.k[p+1]&&i.k[p+1].s&&(c=i.k[p].s,f=i.k[p+1].s,u=i.k[p].to,d=i.k[p].ti,(2===c.length&&(c[0]!==f[0]||c[1]!==f[1])&&bez.pointOnLine2D(c[0],c[1],f[0],f[1],c[0]+u[0],c[1]+u[1])&&bez.pointOnLine2D(c[0],c[1],f[0],f[1],f[0]+d[0],f[1]+d[1])||3===c.length&&(c[0]!==f[0]||c[1]!==f[1]||c[2]!==f[2])&&bez.pointOnLine3D(c[0],c[1],c[2],f[0],f[1],f[2],c[0]+u[0],c[1]+u[1],c[2]+u[2])&&bez.pointOnLine3D(c[0],c[1],c[2],f[0],f[1],f[2],f[0]+d[0],f[1]+d[1],f[2]+d[2]))&&(i.k[p].to=null,i.k[p].ti=null),c[0]===f[0]&&c[1]===f[1]&&0===u[0]&&0===u[1]&&0===d[0]&&0===d[1]&&(2===c.length||c[2]===f[2]&&0===u[2]&&0===d[2])&&(i.k[p].to=null,i.k[p].ti=null));this.effectsSequence=[n.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=h||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=a,this.setVValue=s,this.interpolateValue=r,this.frameId=-1;var y=i.k[0].s.length;for(this.v=createTypedArray("float32",y),this.pv=createTypedArray("float32",y),p=0;p<y;p+=1)this.v[p]=t,this.pv[p]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",y)},this.addEffect=o}return{getProp:function(t,e,r,i,n){var s;if(e.k.length)if("number"==typeof e.k[0])s=new l(t,e,i,n);else switch(r){case 0:s=new p(t,e,i,n);break;case 1:s=new c(t,e,i,n)}else s=new h(t,e,i,n);return s.effectsSequence.length&&n.addDynamicProperty(s),s}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,n){var s;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o;break;default:s=[]}(!s[i]||s[i]&&!n)&&(s[i]=pointPool.newElement()),s[i][0]=t,s[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,n,s,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(r,i,"o",a,o),this.setXYAt(n,s,"i",a,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var s,a=this._length-1,o=this._length;for(s=n;s<o;s+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],r[a][0],r[a][1],s,!1),a-=1;return t};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,r=factory.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,e=0;e<i;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(t){var e,r=t._length;for(e=0;e<r;e+=1)shapePool.release(t.shapes[e]);t._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=t,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){function t(t,e,r){var i,n,s,a,o,h,l,p,c,f=r.lastIndex,u=this.keyframes;if(t<u[0].t-this.offsetTime)i=u[0].s[0],s=!0,f=0;else if(t>=u[u.length-1].t-this.offsetTime)i=u[u.length-1].s?u[u.length-1].s[0]:u[u.length-2].e[0],s=!0;else{for(var d,m,y,g=f,v=u.length-1,_=!0;_&&(d=u[g],!((m=u[g+1]).t-this.offsetTime>t));)g<v-1?g+=1:_=!1;if(y=this.keyframesMetadata[g]||{},f=g,!(s=1===d.h)){if(t>=m.t-this.offsetTime)p=1;else if(t<d.t-this.offsetTime)p=0;else{var b;y.__fnct?b=y.__fnct:(b=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,y.__fnct=b),p=b((t-(d.t-this.offsetTime))/(m.t-this.offsetTime-(d.t-this.offsetTime)))}n=m.s?m.s[0]:d.e[0]}i=d.s[0]}for(h=e._length,l=i.i[0].length,r.lastIndex=f,a=0;a<h;a+=1)for(o=0;o<l;o+=1)c=s?i.i[a][o]:i.i[a][o]+(n.i[a][o]-i.i[a][o])*p,e.i[a][o]=c,c=s?i.o[a][o]:i.o[a][o]+(n.o[a][o]-i.o[a][o])*p,e.o[a][o]=c,c=s?i.v[a][o]:i.v[a][o]+(n.v[a][o]-i.v[a][o])*p,e.v[a][o]=c}function e(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return-999999!==i&&(i<e&&t<e||i>r&&t>r)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function r(){this.paths=this.localShapeCollection}function i(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,i){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var n=3===i?e.pt.k:e.ks.k;this.v=shapePool.clone(n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,i,n){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===n?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=r,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[e.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=n,s.prototype.setVValue=i,s.prototype.addEffect=a,o.prototype.getValue=n,o.prototype.interpolateShape=t,o.prototype.setVValue=i,o.prototype.addEffect=a;var h=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,s=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=r-n,a.v[1][0]=s?e+i:e-i,a.v[1][1]=r,a.v[2][0]=e,a.v[2][1]=r+n,a.v[3][0]=s?e-i:e+i,a.v[3][1]=r,a.i[0][0]=s?e-i*t:e+i*t,a.i[0][1]=r-n,a.i[1][0]=s?e+i:e-i,a.i[1][1]=r-n*t,a.i[2][0]=s?e+i*t:e-i*t,a.i[2][1]=r+n,a.i[3][0]=s?e-i:e+i,a.i[3][1]=r+n*t,a.o[0][0]=s?e+i*t:e-i*t,a.o[0][1]=r-n,a.o[1][0]=s?e+i:e-i,a.o[1][1]=r+n*t,a.o[2][0]=s?e-i*t:e+i*t,a.o[2][1]=r+n,a.o[3][0]=s?e-i:e+i,a.o[3][1]=r-n*t}},extendPrototype([DynamicPropertyContainer],e),e}(),l=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,i,n=2*Math.floor(this.pt.v),s=2*Math.PI/n,a=!0,o=this.or.v,h=this.ir.v,l=this.os.v,p=this.is.v,c=2*Math.PI*o/(2*n),f=2*Math.PI*h/(2*n),u=-Math.PI/2;u+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<n;t+=1){r=a?l:p,i=a?c:f;var m=(e=a?o:h)*Math.cos(u),y=e*Math.sin(u),g=0===m&&0===y?0:y/Math.sqrt(m*m+y*y),v=0===m&&0===y?0:-m/Math.sqrt(m*m+y*y);m+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(m,y,m-g*i*r*d,y-v*i*r*d,m+g*i*r*d,y+v*i*r*d,t,!0),a=!a,u+=s*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,n=this.os.v,s=2*Math.PI*i/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var h=i*Math.cos(a),l=i*Math.sin(a),p=0===h&&0===l?0:l/Math.sqrt(h*h+l*l),c=0===h&&0===l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*s*n*o,l-c*s*n*o,h+p*s*n*o,l+c*s*n*o,t,!0),a+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),p=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,n=bmMin(r,i,this.r.v),s=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+n,t+r,e-i+s,0,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-s,t+r,e+i-n,1,!0),0!==n?(this.v.setTripleAt(t+r-n,e+i,t+r-n,e+i,t+r-s,e+i,2,!0),this.v.setTripleAt(t-r+n,e+i,t-r+s,e+i,t-r+n,e+i,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-n,t-r,e+i-s,4,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+s,t-r,e-i+n,5,!0),this.v.setTripleAt(t-r+n,e-i,t-r+n,e-i,t-r+s,e-i,6,!0),this.v.setTripleAt(t+r-n,e-i,t+r-s,e-i,t+r-n,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+s,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+s,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+s,t+r,e-i+n,0,!0),0!==n?(this.v.setTripleAt(t+r-n,e-i,t+r-n,e-i,t+r-s,e-i,1,!0),this.v.setTripleAt(t-r+n,e-i,t-r+s,e-i,t-r+n,e-i,2,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+n,t-r,e-i+s,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-s,t-r,e+i-n,4,!0),this.v.setTripleAt(t-r+n,e+i,t-r+n,e+i,t-r+s,e+i,5,!0),this.v.setTripleAt(t+r-n,e+i,t+r-s,e+i,t+r-n,e+i,6,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-n,t+r,e+i-s,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+s,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-s,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-s,e+i,t+r,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],t),t}();var c={getShapeProp:function(t,e,r){var i;return 3===r||4===r?i=(3===r?e.pt:e.ks).k.length?new o(t,e,r):new s(t,e,r):5===r?i=new p(t,e):6===r?i=new h(t,e):7===r&&(i=new l(t,e)),i.k&&t.addDynamicProperty(i),i},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return o}};return c}(),Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function s(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function a(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1)}function o(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1)}function h(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(r(t),r(e))}function c(i,n){var s=t(n),a=e(n);return this._t(s,a,0,0,-a,s,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(s,-a,0,0,a,s,0,0,0,0,1,0,0,0,0,1)}function f(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function u(t,e,r,i,n,s,a,o,h,l,p,c,f,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=n,this.props[5]=s,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=c,this.props[12]=f,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function d(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,i,n,s,a,o,h,l,p,c,f,u,d,m){var y=this.props;if(1===t&&0===e&&0===r&&0===i&&0===n&&1===s&&0===a&&0===o&&0===h&&0===l&&1===p&&0===c)return y[12]=y[12]*t+y[15]*f,y[13]=y[13]*s+y[15]*u,y[14]=y[14]*p+y[15]*d,y[15]*=m,this._identityCalculated=!1,this;var g=y[0],v=y[1],_=y[2],b=y[3],P=y[4],S=y[5],w=y[6],k=y[7],E=y[8],x=y[9],A=y[10],T=y[11],C=y[12],D=y[13],I=y[14],F=y[15];return y[0]=g*t+v*n+_*h+b*f,y[1]=g*e+v*s+_*l+b*u,y[2]=g*r+v*a+_*p+b*d,y[3]=g*i+v*o+_*c+b*m,y[4]=P*t+S*n+w*h+k*f,y[5]=P*e+S*s+w*l+k*u,y[6]=P*r+S*a+w*p+k*d,y[7]=P*i+S*o+w*c+k*m,y[8]=E*t+x*n+A*h+T*f,y[9]=E*e+x*s+A*l+T*u,y[10]=E*r+x*a+A*p+T*d,y[11]=E*i+x*o+A*c+T*m,y[12]=C*t+D*n+I*h+F*f,y[13]=C*e+D*s+I*l+F*u,y[14]=C*r+D*a+I*p+F*d,y[15]=C*i+D*o+I*c+F*m,this._identityCalculated=!1,this}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function g(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function v(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function _(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function b(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function P(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function S(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function w(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function k(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,n=this.props[0]/t,s=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=n,o.props[12]=s,o.props[13]=a,o}function E(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function x(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=E(t[e]);return i}function A(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var n=this.props[0],s=this.props[1],a=this.props[4],o=this.props[5],h=this.props[12],l=this.props[13];i[0]=t[0]*n+t[1]*a+h,i[1]=t[0]*s+t[1]*o+l,i[2]=e[0]*n+e[1]*a+h,i[3]=e[0]*s+e[1]*o+l,i[4]=r[0]*n+r[1]*a+h,i[5]=r[0]*s+r[1]*o+l}return i}function T(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function C(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function D(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=i(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function I(t){return t<1e-6&&t>0||t>-1e-6&&t<0?i(1e4*t)/1e4:t}function F(){var t=this.props;return"matrix("+I(t[0])+","+I(t[1])+","+I(t[4])+","+I(t[5])+","+I(t[12])+","+I(t[13])+")"}return function(){this.reset=n,this.rotate=s,this.rotateX=a,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=c,this.shear=l,this.scale=f,this.setTransform=u,this.translate=d,this.transform=m,this.applyToPoint=b,this.applyToX=P,this.applyToY=S,this.applyToZ=w,this.applyToPointArray=T,this.applyToTriplePoints=A,this.applyToPointStringified=C,this.toCSS=D,this.to2dCSS=F,this.clone=v,this.cloneFromProps=_,this.equals=g,this.inversePoints=x,this.inversePoint=E,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.9.6";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,r){e[t]||(e[t]=r)},t.getModifier=function(t,r,i){return new e[t](r,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,n){var s=[];e<=1?s.push({s:t,e:e}):t>=1?s.push({s:t-1,e:e-1}):(s.push({s:t,e:1}),s.push({s:0,e:e-1}));var a,o,h=[],l=s.length;for(a=0;a<l;a+=1){var p,c;if(!((o=s[a]).e*n<i||o.s*n>i+r))p=o.s*n<=i?0:(o.s*n-i)/r,c=o.e*n>=i+r?1:(o.e*n-i)/r,h.push([p,c])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i,n;if(this._mdf||t){var s=this.o.v%360/360;if(s<0&&(s+=1),(e=this.s.v>1?1+s:this.s.v<0?0+s:this.s.v+s)>(r=this.e.v>1?1+s:this.e.v<0?0+s:this.e.v+s)){var a=e;e=r,r=a}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,h,l,p,c,f=this.shapes.length,u=0;if(r===e)for(n=0;n<f;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(n=0;n<f;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var d,m,y=[];for(n=0;n<f;n+=1)if((d=this.shapes[n]).shape._mdf||this._mdf||t||2===this.m){if(h=(i=d.shape.paths)._length,c=0,!d.shape._mdf&&d.pathsData.length)c=d.totalShapeLength;else{for(l=this.releasePathsData(d.pathsData),o=0;o<h;o+=1)p=bez.getSegmentsLength(i.shapes[o]),l.push(p),c+=p.totalLength;d.totalShapeLength=c,d.pathsData=l}u+=c,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var g,v=e,_=r,b=0;for(n=f-1;n>=0;n-=1)if((d=this.shapes[n]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&f>1?(g=this.calculateShapeEdges(e,r,d.totalShapeLength,b,u),b+=d.totalShapeLength):g=[[v,_]],h=g.length,o=0;o<h;o+=1){v=g[o][0],_=g[o][1],y.length=0,_<=1?y.push({s:d.totalShapeLength*v,e:d.totalShapeLength*_}):v>=1?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(_-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(_-1)}));var P=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var S=P.pop();this.addPaths(P,m),P=this.addShapes(d,y[1],S)}else this.addPaths(P,m),P=this.addShapes(d,y[1]);this.addPaths(P,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,n,s,a){n.setXYAt(e[0],e[1],"o",s),n.setXYAt(r[0],r[1],"i",s+1),a&&n.setXYAt(t[0],t[1],"v",s),n.setXYAt(i[0],i[1],"v",s+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,n,s,a,o,h,l,p,c=t.pathsData,f=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0;for(r?(o=r._length,p=r._length):(r=shapePool.newElement(),o=0,p=0),m.push(r),i=0;i<u;i+=1){for(h=c[i].lengths,r.c=f[i].c,s=f[i].c?h.length:h.length+1,n=1;n<s;n+=1)if(d+(a=h[n-1]).addedLength<e.s)d+=a.addedLength,r.c=!1;else{if(d>e.e){r.c=!1;break}e.s<=d&&e.e>=d+a.addedLength?(this.addSegment(f[i].v[n-1],f[i].o[n-1],f[i].i[n],f[i].v[n],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[n-1],f[i].v[n],f[i].o[n-1],f[i].i[n],(e.s-d)/a.addedLength,(e.e-d)/a.addedLength,h[n-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1),d+=a.addedLength,o+=1}if(f[i].c&&h.length){if(a=h[n-1],d<=e.e){var g=h[n-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(f[i].v[n-1],f[i].o[n-1],f[i].i[0],f[i].v[0],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[n-1],f[i].v[0],f[i].o[n-1],f[i].i[0],(e.s-d)/g,(e.e-d)/g,h[n-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1)}else r.c=!1;d+=a.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;i<u-1&&(r=shapePool.newElement(),y=!0,m.push(r),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],n=t._length,s=0;for(s=0;s<n;s+=1)i[0]+=t.v[s][0],i[1]+=t.v[s][1];i[0]/=n,i[1]/=n;var a,o,h,l,p,c,f=shapePool.newElement();for(f.c=t.c,s=0;s<n;s+=1)a=t.v[s][0]+(i[0]-t.v[s][0])*r,o=t.v[s][1]+(i[1]-t.v[s][1])*r,h=t.o[s][0]+(i[0]-t.o[s][0])*-r,l=t.o[s][1]+(i[1]-t.o[s][1])*-r,p=t.i[s][0]+(i[0]-t.i[s][0])*-r,c=t.i[s][1]+(i[1]-t.i[s][1])*-r,f.setTripleAt(a,o,h,l,p,c,s);return f},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i,n,s,a,o=this.shapes.length,h=this.amount.v;if(0!==h)for(r=0;r<o;r+=1){if(a=(s=this.shapes[r]).localShapeCollection,s.shape._mdf||this._mdf||t)for(a.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,n=s.shape.paths._length,i=0;i<n;i+=1)a.addShape(this.processPath(e[i],h));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,n=e.or.k.length;for(i=0;i<n;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,n;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],n=[];var s=this.px,a=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(i[0]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[1]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[0]=s.getValueAtTime(s.keyframes[0].t/r,0),n[1]=a.getValueAtTime(a.keyframes[0].t/r,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(i[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0),n[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0)):(i=[s.pv,a.pv],n[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime),n[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime))}else i=n=t;this.v.rotate(-Math.atan2(i[1]-n[1],i[0]-n[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,i){return new e(t,r,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",n=e.length,s=0;s<n;s+=1)switch(e[s].toLowerCase()){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:i,weight:t.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,n,s){var a=s?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-n),h=i.s.v[1]+(1-i.s.v[1])*(1-n);t.translate(i.p.v[0]*a*n,i.p.v[1]*a*n,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*a*n),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(s?1/o:o,s?1/h:h),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,n,s,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=0,i=0;i<=this._groups.length-1;i+=1){if(o=s<h,this._groups[i]._render=o,this.changeGroupRender(this._groups[i].it,o),!o){var p=this.elemsData[i].it,c=p[p.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}s+=1}this._currentCopies=h;var f=this.o.v,u=f%1,d=f>0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,_,b=0;if(f>0){for(;b<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,u,!1),b+=u)}else if(f<0){for(;b>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),b-=u)}for(i=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,s=this._currentCopies;s;){if(_=(r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==b){for((0!==i&&1===n||i!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<_;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<_;v+=1)r[v]=this.matrix.props[v];b+=1,s-=1,i+=n}}else for(s=this._currentCopies,i=0,n=1;s;)r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,s-=1,i+=n;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,i=shapePool.newElement();i.c=t.c;var n,s,a,o,h,l,p,c,f,u,d,m,y=t._length,g=0;for(r=0;r<y;r+=1)n=t.v[r],a=t.o[r],s=t.i[r],n[0]===a[0]&&n[1]===a[1]&&n[0]===s[0]&&n[1]===s[1]?0!==r&&r!==y-1||t.c?(o=0===r?t.v[y-1]:t.v[r-1],l=(h=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=d=n[0]+(o[0]-n[0])*l,c=m=n[1]-(n[1]-o[1])*l,f=p-(p-n[0])*roundCorner,u=c-(c-n[1])*roundCorner,i.setTripleAt(p,c,f,u,d,m,g),g+=1,o=r===y-1?t.v[0]:t.v[r+1],l=(h=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=f=n[0]+(o[0]-n[0])*l,c=u=n[1]+(o[1]-n[1])*l,d=p-(p-n[0])*roundCorner,m=c-(c-n[1])*roundCorner,i.setTripleAt(p,c,f,u,d,m,g),g+=1):(i.setTripleAt(n[0],n[1],a[0],a[1],s[0],s[1],g),g+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],g),g+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,n,s,a,o=this.shapes.length,h=this.rd.v;if(0!==h)for(r=0;r<o;r+=1){if(a=(s=this.shapes[r]).localShapeCollection,s.shape._mdf||this._mdf||t)for(a.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,n=s.shape.paths._length,i=0;i<n;i+=1)a.addShape(this.processPath(e[i],h));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],i=[65039,8205];function n(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var n=i.offsetWidth;return i.style.fontFamily=function(t){var e,r=t.split(","),i=r.length,n=[];for(e=0;e<i;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&n.push(r[e]);return n.join(",")}(t)+", "+e,{node:i,w:n,parent:r}}function s(t,e){var r,i=document.body&&e?"svg":"canvas",n=getFontProperties(t);if("svg"===i){var s=createNS("text");s.style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),r=s}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=n.style+" "+n.weight+" 100px "+t.fFamily,r=a}return{measureText:function(t){return"svg"===i?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}}}var a=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return a.isModifier=function(t,e){var i=t.toString(16)+e.toString(16);return-1!==r.indexOf(i)},a.isZeroWidthJoiner=function(t,e){return e?t===i[0]&&e===i[1]:t===i[1]},a.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},a.prototype={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,i,n=t.length,s=this.chars.length;for(e=0;e<n;e+=1){for(r=0,i=!1;r<s;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),s+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=s(t),t.cache={}})),void(this.fonts=t.list);var r,i=t.list,a=i.length,o=a;for(r=0;r<a;r+=1){var h,l,p=!0;if(i[r].loaded=!1,i[r].monoCase=n(i[r].fFamily,"monospace"),i[r].sansCase=n(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((h=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",i[r].fOrigin),c.setAttribute("f-origin",i[r].origin),c.setAttribute("f-family",i[r].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(c)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;l<h.length;l+=1)-1!==h[l].href.indexOf(i[r].fPath)&&(p=!1);if(p){var f=createTag("link");f.setAttribute("f-forigin",i[r].fOrigin),f.setAttribute("f-origin",i[r].origin),f.type="text/css",f.rel="stylesheet",f.href=i[r].fPath,document.body.appendChild(f)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(h=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),l=0;l<h.length;l+=1)i[r].fPath===h[l].src&&(p=!1);if(p){var u=createTag("link");u.setAttribute("f-forigin",i[r].fOrigin),u.setAttribute("f-origin",i[r].origin),u.setAttribute("rel","stylesheet"),u.setAttribute("href",i[r].fPath),e.appendChild(u)}}}else i[r].loaded=!0,o-=1;i[r].helper=s(i[r],e),i[r].cache={},this.fonts.push(i[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,r,i){for(var n=0,s=this.chars.length;n<s;){if(this.chars[n].ch===e&&this.chars[n].style===r&&this.chars[n].fFamily===i)return this.chars[n];n+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,r,i)),t},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var i=this.getFontByName(e),n=t.charCodeAt(0);if(!i.cache[n+1]){var s=i.helper;if(" "===t){var a=s.measureText("|"+t+"|"),o=s.measureText("||");i.cache[n+1]=(a-o)/100}else i.cache[n+1]=s.measureText(t)/100}return i.cache[n+1]*r},checkLoadedFonts:function(){var t,e,r,i=this.fonts.length,n=i;for(t=0;t<i;t+=1)this.fonts[t].loaded?n-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(n-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(n-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},a}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});return function(e){var r,i=createSizedArray(e.viewData.length),n=e.viewData.length;for(r=0;r<n;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<n;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(!t.numKeys)return 0;var n="";n="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var s="unidimensional"===r?new Number(n):Object.assign({},n);return s.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,s.value="unidimensional"===r?n[0]:n,s},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(){return t}return function(n){return n?"unidimensional"===n.propType?function(e){e&&"pv"in e||(e=t);var i=1/e.mult,n=e.pv*i,s=new Number(n);return s.value=n,r(s,e,"unidimensional"),function(){return e.k&&e.getValue(),n=e.v*i,s.value!==n&&((s=new Number(n)).value=n,r(s,e,"unidimensional")),s}}(n):function(t){t&&"pv"in t||(t=e);var i=1/t.mult,n=t.data&&t.data.l||t.pv.length,s=createTypedArray("float32",n),a=createTypedArray("float32",n);return s.value=a,r(s,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<n;e+=1)a[e]=t.v[e]*i,s[e]=a[e];return s}}(n):i}}(),TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,i,n,s;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?s=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(n=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?s():[r(),i(),n?n():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e);return e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function s(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function h(){return[1,1,1,1]}return function(l){var p;function c(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return p;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}c.getMatrix=t,c.invertPoint=a,c.applyPoint=s,c.toWorld=r,c.toWorldVec=e,c.fromWorld=n,c.fromWorldVec=i,c.toComp=r,c.fromComp=o,c.sampleImage=h,c.sourceRectAtTime=l.sourceRectAtTime.bind(l),c._elem=l;var f=getDescriptor(p=TransformExpressionInterface(l.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(p,"rotation"),scale:getDescriptor(p,"scale"),position:getDescriptor(p,"position"),opacity:getDescriptor(p,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return p}},active:{get:function(){return l.isInRange}}}),c.startTime=l.data.st,c.index=l.data.ind,c.source=l.data.refId,c.height=0===l.data.ty?l.data.h:100,c.width=0===l.data.ty?l.data.w:100,c.inPoint=l.data.ip/l.comp.globalData.frameRate,c.outPoint=l.data.op/l.comp.globalData.frameRate,c._name=l.data.nm,c.registerMaskInterface=function(t){c.mask=new MaskManagerInterface(t,l)},c.registerEffectsInterface=function(t){c.effect=t},c}}(),propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},EffectsExpressionInterface=function(){function t(r,i,n,s){function a(t){for(var e=r.ef,i=0,n=e.length;i<n;){if(t===e[i].nm||t===e[i].mn||t===e[i].ix)return 5===e[i].ty?l[i]:l[i]();i+=1}throw new Error}var o,h=propertyGroupFactory(a,n),l=[],p=r.ef.length;for(o=0;o<p;o+=1)5===r.ef[o].ty?l.push(t(r.ef[o],i.effectElements[o],i.effectElements[o].propertyGroup,s)):l.push(e(i.effectElements[o],r.ef[o].ty,s,h));return"ADBE Color Control"===r.mn&&Object.defineProperty(a,"color",{get:function(){return l[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:h}}),a.enabled=0!==r.en,a.active=a.enabled,a}function e(t,e,r,i){var n=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===e?r.comp.compInterface(t.p.v):n()}}return{createEffectsInterface:function(e,r){if(e.effectsManager){var i,n=[],s=e.data.ef,a=e.effectsManager.effectElements.length;for(i=0;i<a;i+=1)n.push(t(s[i],e.effectsManager.effectElements[i],r,e));var o=e.data.ef||[],h=function(t){for(i=0,a=o.length;i<a;){if(t===o[i].nm||t===o[i].mn||t===o[i].ix)return n[i];i+=1}return null};return Object.defineProperty(h,"numProperties",{get:function(){return o.length}}),h}return null}}}(),CompExpressionInterface=function(t){function e(e){for(var r=0,i=t.layers.length;r<i;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},ShapePathInterface=function(t,e,r){var i=e.sh;function n(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?n.path:null}var s=propertyGroupFactory(n,r);return i.setGroupProperty(PropertyInterface("Path",s)),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),n},ShapeExpressionInterface=function(){function t(t,o,u){var d,m=[],y=t?t.length:0;for(d=0;d<y;d+=1)"gr"===t[d].ty?m.push(e(t[d],o[d],u)):"fl"===t[d].ty?m.push(r(t[d],o[d],u)):"st"===t[d].ty?m.push(s(t[d],o[d],u)):"tm"===t[d].ty?m.push(a(t[d],o[d],u)):"tr"===t[d].ty||("el"===t[d].ty?m.push(h(t[d],o[d],u)):"sr"===t[d].ty?m.push(l(t[d],o[d],u)):"sh"===t[d].ty?m.push(ShapePathInterface(t[d],o[d],u)):"rc"===t[d].ty?m.push(p(t[d],o[d],u)):"rd"===t[d].ty?m.push(c(t[d],o[d],u)):"rp"===t[d].ty?m.push(f(t[d],o[d],u)):"gf"===t[d].ty?m.push(i(t[d],o[d],u)):m.push(n(t[d],o[d])));return m}function e(e,r,i){var n=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,i);var s=function(e,r,i){var n,s=function(t){for(var e=0,r=n.length;e<r;){if(n[e]._name===t||n[e].mn===t||n[e].propertyIndex===t||n[e].ix===t||n[e].ind===t)return n[e];e+=1}return"number"==typeof t?n[t-1]:null};s.propertyGroup=propertyGroupFactory(s,i),n=t(e.it,r.it,s.propertyGroup),s.numProperties=n.length;var a=o(e.it[e.it.length-1],r.it[r.it.length-1],s.propertyGroup);return s.transform=a,s.propertyIndex=e.cix,s._name=e.nm,s}(e,r,n.propertyGroup),a=o(e.it[e.it.length-1],r.it[r.it.length-1],n.propertyGroup);return n.content=s,n.transform=a,Object.defineProperty(n,"_name",{get:function(){return e.nm}}),n.numProperties=e.np,n.propertyIndex=e.ix,n.nm=e.nm,n.mn=e.mn,n}function r(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(t,e,r){function i(t){return"Start Point"===t||"start point"===t?i.startPoint:"End Point"===t||"end point"===t?i.endPoint:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function n(){return function(){return null}}function s(t,e,r){var i,n=propertyGroupFactory(l,r),s=propertyGroupFactory(h,n);function a(r){Object.defineProperty(h,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var o=t.d?t.d.length:0,h={};for(i=0;i<o;i+=1)a(i),e.d.dataProps[i].p.setGroupProperty(s);function l(t){return"Color"===t||"color"===t?l.color:"Opacity"===t||"opacity"===t?l.opacity:"Stroke Width"===t||"stroke width"===t?l.strokeWidth:null}return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return h}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),e.w.setGroupProperty(PropertyInterface("Stroke Width",n)),l}function a(t,e,r){function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:null}var n=propertyGroupFactory(i,r);return i.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",n)),e.e.setGroupProperty(PropertyInterface("End",n)),e.o.setGroupProperty(PropertyInterface("Offset",n)),i.propertyIndex=t.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function o(t,e,r){function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:null}var n=propertyGroupFactory(i,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=r,i}function h(t,e,r){function i(e){return t.p.ix===e?i.position:t.s.ix===e?i.size:null}var n=propertyGroupFactory(i,r);i.propertyIndex=t.ix;var s="tm"===e.sh.ty?e.sh.prop:e.sh;return s.s.setGroupProperty(PropertyInterface("Size",n)),s.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(s.s)},position:{get:ExpressionPropertyInterface(s.p)},_name:{value:t.nm}}),i.mn=t.mn,i}function l(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.rotation:t.pt.ix===e?i.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?i.outerRadius:t.os.ix===e?i.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?i.innerRoundness:null:i.innerRadius}var n=propertyGroupFactory(i,r),s="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,s.or.setGroupProperty(PropertyInterface("Outer Radius",n)),s.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),s.pt.setGroupProperty(PropertyInterface("Points",n)),s.p.setGroupProperty(PropertyInterface("Position",n)),s.r.setGroupProperty(PropertyInterface("Rotation",n)),t.ir&&(s.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),s.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(s.p)},rotation:{get:ExpressionPropertyInterface(s.r)},points:{get:ExpressionPropertyInterface(s.pt)},outerRadius:{get:ExpressionPropertyInterface(s.or)},outerRoundness:{get:ExpressionPropertyInterface(s.os)},innerRadius:{get:ExpressionPropertyInterface(s.ir)},innerRoundness:{get:ExpressionPropertyInterface(s.is)},_name:{value:t.nm}}),i.mn=t.mn,i}function p(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?i.size:null}var n=propertyGroupFactory(i,r),s="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,s.p.setGroupProperty(PropertyInterface("Position",n)),s.s.setGroupProperty(PropertyInterface("Size",n)),s.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(s.p)},roundness:{get:ExpressionPropertyInterface(s.r)},size:{get:ExpressionPropertyInterface(s.s)},_name:{value:t.nm}}),i.mn=t.mn,i}function c(t,e,r){function i(e){return t.r.ix===e||"Round Corners 1"===e?i.radius:null}var n=propertyGroupFactory(i,r),s=e;return i.propertyIndex=t.ix,s.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(s.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function f(t,e,r){function i(e){return t.c.ix===e||"Copies"===e?i.copies:t.o.ix===e||"Offset"===e?i.offset:null}var n=propertyGroupFactory(i,r),s=e;return i.propertyIndex=t.ix,s.c.setGroupProperty(PropertyInterface("Copies",n)),s.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(s.c)},offset:{get:ExpressionPropertyInterface(s.o)},_name:{value:t.nm}}),i.mn=t.mn,i}return function(e,r,i){var n;function s(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?i:n[t-1];for(var e=0,r=n.length;e<r;){if(n[e]._name===t)return n[e];e+=1}return null}return s.propertyGroup=propertyGroupFactory(s,(function(){return i})),n=t(e,r,s.propertyGroup),s.numProperties=n.length,s._name="Contents",s}}(),TextExpressionInterface=function(t){var e;function r(t){switch(t){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return void 0!==r&&(t.textProperty.currentData.t=void 0,(e=new String(r)).value=r||new String(r)),e}}),r},getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,i=t.ef||[];this.effectElements=[];var n,s=i.length;for(r=0;r<s;r+=1)n=new GroupEffect(i[r],e),this.effectElements.push(n)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function _typeof$2(t){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,n=this.data.ef.length,s=this.data.ef;for(r=0;r<n;r+=1){switch(i=null,s[r].ty){case 0:i=new SliderEffect(s[r],e,this);break;case 1:i=new AngleEffect(s[r],e,this);break;case 2:i=new ColorEffect(s[r],e,this);break;case 3:i=new PointEffect(s[r],e,this);break;case 4:case 7:i=new CheckboxEffect(s[r],e,this);break;case 10:i=new LayerIndexEffect(s[r],e,this);break;case 11:i=new MaskIndexEffect(s[r],e,this);break;case 5:i=new EffectsManager(s[r],e,this);break;default:i=new NoValueEffect(s[r],e,this)}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}};var FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function i(t){if(r[t])return e=t,"object"===_typeof$2(r=r[t])?i:r;var n=t.indexOf(e);if(-1!==n){var s=parseInt(t.substr(n+e.length),10);return"object"===_typeof$2(r=r[s])?i:r}return""}return function(){return e="",r=t.getFootageData(),i}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory;function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,n,s=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,h,l,p,c,f,u=this.masksProperties,d=0,m=[],y=createElementID(),g="clipPath",v="clip-path";for(i=0;i<a;i+=1)if(("a"!==u[i].mode&&"n"!==u[i].mode||u[i].inv||100!==u[i].o.k||u[i].o.x)&&(g="mask",v="mask"),"s"!==u[i].mode&&"i"!==u[i].mode||0!==d?l=null:((l=createNS("rect")).setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),m.push(l)),n=createNS("path"),"n"===u[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,u[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,u[i],3),elem:n,lastPath:""},s.appendChild(n);else{var _;if(d+=1,n.setAttribute("fill","s"===u[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==u[i].x.k?(g="mask",v="mask",f=PropertyFactory.getProp(this.element,u[i].x,0,null,this.element),_=createElementID(),(p=createNS("filter")).setAttribute("id",_),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),p.appendChild(c),s.appendChild(p),n.setAttribute("stroke","s"===u[i].mode?"#000000":"#ffffff")):(c=null,f=null),this.storedData[i]={elem:n,x:f,expan:c,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===u[i].mode){h=m.length;var b=createNS("g");for(o=0;o<h;o+=1)b.appendChild(m[o]);var P=createNS("mask");P.setAttribute("mask-type","alpha"),P.setAttribute("id",y+"_"+d),P.appendChild(n),s.appendChild(P),b.setAttribute("mask","url("+getLocationHref()+"#"+y+"_"+d+")"),m.length=0,m.push(b)}else m.push(n);u[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,u[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,u[i],3),invRect:l},this.viewData[i].prop.k||this.drawPath(u[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(g),a=m.length,i=0;i<a;i+=1)this.maskElement.appendChild(m[i]);d>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+y+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,i=t.length,n=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<n;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,n=this.layers,s=0,a=n.length;s<a;)n[s].ind==e&&(i[s]&&!0!==i[s]?(r.push(i[s]),i[s].setAsParent(),void 0!==n[s].parent?this.buildElementParenting(t,n[s].parent,r):t.setHierarchy(r)):(this.buildItem(s),this.addPendingElement(t))),s+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementByPath=function(t){var e,r=t.shift();if("number"==typeof r)e=this.elements[r];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===r){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):i=!1;var s,a=e.length;for(r=0;r<a;r+=1)s=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-s[0],t[1]-s[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var n=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),n.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var i,n,s=" M"+e.v[0][0]+","+e.v[0][1];for(n=e._length,i=1;i<n;i+=1)s+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&n>1&&(s+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==s){var a="";r.elem&&(e.c&&(a=t.inv?this.solidPath+s:s),r.elem.setAttribute("d",a)),r.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var r=createNS("filter");r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%"));return r},t.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},t}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,r,i="SourceGraphic",n=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;for(this.filters=[],e=0;e<n;e+=1){r=null;var h=t.data.ef[e].ty;if(registeredEffects[h])r=new(0,registeredEffects[h].effect)(a,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects[h].countsAsEffect&&(o+=1);r&&this.filters.push(r)}o&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e,r){registeredEffects[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,r,i=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var n=createNS("mask");n.setAttribute("id",this.layerId),n.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),n.appendChild(this.layerElement),i=n,this.globalData.defs.appendChild(n),featureSupport.maskType||1!=this.data.td||(n.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),i=r,n.appendChild(r),r.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2==this.data.td){var s=createNS("mask");s.setAttribute("id",this.layerId),s.setAttribute("mask-type","alpha");var a=createNS("g");s.appendChild(a),t=createElementID(),e=filtersFactory.createFilter(t);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),e.appendChild(o);var h=createNS("feFuncA");h.setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),o.appendChild(h),this.globalData.defs.appendChild(e);var l=createNS("rect");l.setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),a.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),a.appendChild(l),a.appendChild(this.layerElement),i=a,featureSupport.maskType||(s.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),a.appendChild(l),r.appendChild(this.layerElement),i=r,a.appendChild(r)),this.globalData.defs.appendChild(s)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var p=createNS("clipPath"),c=createNS("path");c.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var f=createElementID();if(p.setAttribute("id",f),p.appendChild(c),this.globalData.defs.appendChild(p),this.checkMasks()){var u=createNS("g");u.setAttribute("clip-path","url("+getLocationHref()+"#"+f+")"),u.appendChild(this.layerElement),this.transformedElement=u,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+f+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,n=t.length;i<n;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,r,i){var n;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,a=e.length||0;for(n=0;n<a;n+=1)s=PropertyFactory.getProp(t,e[n].v,0,0,this),this.k=s.k||this.k,this.dataProps[n]={n:e[n].n,p:s};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(t[4*r]-t[4*e+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,n=4*this.data.p;for(e=0;e<n;e+=1)r=e%4==0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(n=this.prop.v.length,e=4*this.data.p;e<n;e+=1)r=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n,s,a,o=[];for(a=4*e.g.p,s=0;s<a;s+=4)n=createNS("stop"),i.appendChild(n),o.push(n);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,s=createNS("mask"),a=createNS("path");s.appendChild(a);var o=createElementID(),h=createElementID();s.setAttribute("id",h);var l=createNS(1===t.t?"linearGradient":"radialGradient");l.setAttribute("id",o),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),n=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var p=this.stops;for(i=4*t.g.p;i<n;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(r),p.push(r);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=l,this.ms=s,this.ost=p,this.maskId=h,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,r,i){if(0===e)return"";var n,s=t.o,a=t.i,o=t.v,h=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(n=1;n<e;n+=1)h+=" C"+i.applyToPointStringified(s[n-1][0],s[n-1][1])+" "+i.applyToPointStringified(a[n][0],a[n][1])+" "+i.applyToPointStringified(o[n][0],o[n][1]);return r&&e&&(h+=" C"+i.applyToPointStringified(s[n-1][0],s[n-1][1])+" "+i.applyToPointStringified(a[0][0],a[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function n(r,i,n){var s,a,o,h,l,p,c,f,u,d,m,y=i.styles.length,g=i.lvl;for(p=0;p<y;p+=1){if(h=i.sh._mdf||n,i.styles[p].lvl<g){for(f=e.reset(),d=g-i.styles[p].lvl,m=i.transformers.length-1;!h&&d>0;)h=i.transformers[m].mProps._mdf||h,d-=1,m-=1;if(h)for(d=g-i.styles[p].lvl,m=i.transformers.length-1;d>0;)u=i.transformers[m].mProps.v.props,f.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),d-=1,m-=1}else f=t;if(a=(c=i.sh.paths)._length,h){for(o="",s=0;s<a;s+=1)(l=c.shapes[s])&&l._length&&(o+=buildShapeString(l,l._length,l.c,f));i.caches[p]=o}else o=i.caches[p];i.styles[p].d+=!0===r.hd?"":o,i.styles[p]._mdf=h||i.styles[p]._mdf}}function s(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,r){o(t,e,r),h(t,e,r)}function o(t,e,r){var i,n,s,a,o,h=e.gf,l=e.g._hasOpacity,p=e.s.v,c=e.e.v;if(e.o._mdf||r){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||r){var u=1===t.t?"x1":"cx",d="x1"===u?"y1":"cy";h.setAttribute(u,p[0]),h.setAttribute(d,p[1]),l&&!e.g._collapsable&&(e.of.setAttribute(u,p[0]),e.of.setAttribute(d,p[1]))}if(e.g._cmdf||r){i=e.cst;var m=e.g.c;for(s=i.length,n=0;n<s;n+=1)(a=i[n]).setAttribute("offset",m[4*n]+"%"),a.setAttribute("stop-color","rgb("+m[4*n+1]+","+m[4*n+2]+","+m[4*n+3]+")")}if(l&&(e.g._omdf||r)){var y=e.g.o;for(s=(i=e.g._collapsable?e.cst:e.ost).length,n=0;n<s;n+=1)a=i[n],e.g._collapsable||a.setAttribute("offset",y[2*n]+"%"),a.setAttribute("stop-opacity",y[2*n+1])}if(1===t.t)(e.e._mdf||r)&&(h.setAttribute("x2",c[0]),h.setAttribute("y2",c[1]),l&&!e.g._collapsable&&(e.of.setAttribute("x2",c[0]),e.of.setAttribute("y2",c[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)),h.setAttribute("r",o),l&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)));var g=Math.atan2(c[1]-p[1],c[0]-p[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var _=o*v,b=Math.cos(g+e.a.v)*_+p[0],P=Math.sin(g+e.a.v)*_+p[1];h.setAttribute("fx",b),h.setAttribute("fy",P),l&&!e.g._collapsable&&(e.of.setAttribute("fx",b),e.of.setAttribute("fy",P))}}function h(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||r)&&n.dashStr&&(i.pElem.setAttribute("stroke-dasharray",n.dashStr),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return s;case"gf":return o;case"gs":return a;case"st":return h;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,i,n,s){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=n,this.p=s,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,i,n=this.shapes.length,s=this.stylesList.length,a=[],o=!1;for(r=0;r<s;r+=1){for(i=this.stylesList[r],o=!1,a.length=0,t=0;t<n;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(a.push(e),o=e._isAnimated||o);a.length>1&&o&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),n=i.pElem;if("st"===t.ty)r=new SVGStrokeStyleData(this,t,i);else if("fl"===t.ty)r=new SVGFillStyleData(this,t,i);else if("gf"===t.ty||"gs"===t.ty){r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else"no"===t.ty&&(r=new SVGNoStyleData(this,t,i));return"st"!==t.ty&&"gs"!==t.ty||(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),n.setAttribute("fill-opacity","0"),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&n.setAttribute("fill-rule","evenodd"),t.ln&&n.setAttribute("id",t.ln),t.cl&&n.setAttribute("class",t.cl),t.bm&&(n.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var n=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,i,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,n,s,a){var o,h,l,p,c,f,u=[].concat(s),d=t.length-1,m=[],y=[];for(o=d;o>=0;o-=1){if((f=this.searchProcessedElement(t[o]))?e[o]=r[f-1]:t[o]._render=a,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)f?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"===t[o].ty){if(f)for(l=e[o].it.length,h=0;h<l;h+=1)e[o].prevViewData[h]=e[o].it[h];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,n+1,u,a),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else"tr"===t[o].ty?(f||(e[o]=this.createTransformElement(t[o],i)),p=e[o].transform,u.push(p)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(f||(e[o]=this.createShapeElement(t[o],u,n)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty?(f?(c=e[o]).closed=!1:((c=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=c,this.shapeModifiers.push(c)),y.push(c)):"rp"===t[o].ty&&(f?(c=e[o]).closed=!0:(c=ShapeModifiers.getModifier(t[o].ty),e[o]=c,c.init(this,t,o,e),this.shapeModifiers.push(c),a=!1),y.push(c));this.addProcessedElement(t[o],o+1)}for(d=m.length,o=0;o<d;o+=1)m[o].closed=!0;for(d=y.length,o=0;o<d;o+=1)y[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,r,i,n,s){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,a=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,a=!0),!s.length||this.p[0]===s[0]&&this.p[1]===s[1]&&this.p[4]===s[4]&&this.p[5]===s[5]&&this.p[12]===s[12]&&this.p[13]===s[13]||(this.p=s,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,s=t||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)s=r!==this.keysIndex?this.effectsSequence[i](s,s.t):this.effectsSequence[i](this.currentData,s.t);e!==s&&this.setCurrentData(s),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,i=[],n=0,s=t.length,a=!1;n<s;)e=t.charCodeAt(n),FontManager.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(n):e>=55296&&e<=56319?(r=t.charCodeAt(n+1))>=56320&&r<=57343?(a||FontManager.isModifier(e,r)?(i[i.length-1]+=t.substr(n,2),a=!1):i.push(t.substr(n,2)),n+=1):i.push(t.charAt(n)):e>56319?(r=t.charCodeAt(n+1),FontManager.isZeroWidthJoiner(e,r)?(a=!0,i[i.length-1]+=t.substr(n,2),n+=1):i.push(t.charAt(n))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(n),a=!0):i.push(t.charAt(n)),n+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,n,s,a,o,h=this.elem.globalData.fontManager,l=this.data,p=[],c=0,f=l.m.g,u=0,d=0,m=0,y=[],g=0,v=0,_=h.getFontByName(t.f),b=0,P=getFontProperties(_);t.fWeight=P.weight,t.fStyle=P.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var S,w=t.tr/1e3*t.finalSize;if(t.sz)for(var k,E,x=!0,A=t.sz[0],T=t.sz[1];x;){k=0,g=0,r=(E=this.buildFinalText(t.t)).length,w=t.tr/1e3*t.finalSize;var C=-1;for(e=0;e<r;e+=1)S=E[e].charCodeAt(0),i=!1," "===E[e]?C=e:13!==S&&3!==S||(g=0,i=!0,k+=t.finalLineHeight||1.2*t.finalSize),h.chars?(o=h.getCharData(E[e],_.fStyle,_.fFamily),b=i?0:o.w*t.finalSize/100):b=h.measureText(E[e],t.f,t.finalSize),g+b>A&&" "!==E[e]?(-1===C?r+=1:e=C,k+=t.finalLineHeight||1.2*t.finalSize,E.splice(e,C===e?1:0,"\r"),C=-1,g=0):(g+=b,g+=w);k+=_.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<k?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=E,r=t.finalText.length,x=!1)}g=-w,b=0;var D,I=0;for(e=0;e<r;e+=1)if(i=!1,13===(S=(D=t.finalText[e]).charCodeAt(0))||3===S?(I=0,y.push(g),v=g>v?g:v,g=-2*w,n="",i=!0,m+=1):n=D,h.chars?(o=h.getCharData(D,_.fStyle,h.getFontByName(t.f).fFamily),b=i?0:o.w*t.finalSize/100):b=h.measureText(n,t.f,t.finalSize)," "===D?I+=b+w:(g+=b+w+I,I=0),p.push({l:b,an:b,add:u,n:i,anIndexes:[],val:n,line:m,animatorJustifyOffset:0}),2==f){if(u+=b,""===n||" "===n||e===r-1){for(""!==n&&" "!==n||(u-=b);d<=e;)p[d].an=u,p[d].ind=c,p[d].extra=b,d+=1;c+=1,u=0}}else if(3==f){if(u+=b,""===n||e===r-1){for(""===n&&(u-=b);d<=e;)p[d].an=u,p[d].ind=c,p[d].extra=b,d+=1;u=0,c+=1}}else p[c].ind=c,p[c].extra=0,c+=1;if(t.l=p,v=g>v?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var F,M,O,R,z=l.a;a=z.length;var L=[];for(s=0;s<a;s+=1){for((F=z[s]).a.sc&&(t.strokeColorAnim=!0),F.a.sw&&(t.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(t.fillColorAnim=!0),R=0,O=F.s.b,e=0;e<r;e+=1)(M=p[e]).anIndexes[s]=R,(1==O&&""!==M.val||2==O&&""!==M.val&&" "!==M.val||3==O&&(M.n||" "==M.val||e==r-1)||4==O&&(M.n||e==r-1))&&(1===F.s.rn&&L.push(R),R+=1);l.a[s].s.totalChars=R;var B,V=-1;if(1===F.s.rn)for(e=0;e<r;e+=1)V!=(M=p[e]).anIndexes[s]&&(V=M.anIndexes[s],B=L.splice(Math.floor(Math.random()*L.length),1)[0]),M.anIndexes[s]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=_.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,s=0,a=1,o=1;this.ne.v>0?n=this.ne.v/100:s=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:o=1+this.xe.v/100;var h=BezierFactory.getBezierEasing(n,s,a,o).get,l=0,p=this.finalS,c=this.finalE,f=this.data.sh;if(2===f)l=h(l=c===p?i>=c?1:0:t(0,e(.5/(c-p)+(i-p)/(c-p),1)));else if(3===f)l=h(l=c===p?i>=c?0:1:1-t(0,e(.5/(c-p)+(i-p)/(c-p),1)));else if(4===f)c===p?l=0:(l=t(0,e(.5/(c-p)+(i-p)/(c-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===f){if(c===p)l=0;else{var u=c-p,d=-u/2+(i=e(t(0,i+.5-p),c-p)),m=u/2;l=Math.sqrt(1-d*d/(m*m))}l=h(l)}else 6===f?(c===p?l=0:(i=e(t(0,i+.5-p),c-p),l=(1+Math.cos(Math.PI+2*Math.PI*i/(c-p)))/2),l=h(l)):(i>=r(p)&&(l=t(0,e(i-p<0?e(c,1)-(p-i):c-i,1))),l=h(l));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;l<g?l=0:(l=(l-g)/y)>1&&(l=1)}return l*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,n=this.e.v/e+r;if(i>n){var s=i;i=n,n=s}this.finalS=i,this.finalE=n}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},n=PropertyFactory.getProp,s=e.a;this.a={r:s.r?n(t,s.r,0,degToRads,r):i,rx:s.rx?n(t,s.rx,0,degToRads,r):i,ry:s.ry?n(t,s.ry,0,degToRads,r):i,sk:s.sk?n(t,s.sk,0,degToRads,r):i,sa:s.sa?n(t,s.sa,0,degToRads,r):i,s:s.s?n(t,s.s,1,.01,r):i,a:s.a?n(t,s.a,1,0,r):i,o:s.o?n(t,s.o,0,.01,r):i,p:s.p?n(t,s.p,1,0,r):i,sw:s.sw?n(t,s.sw,0,0,r):i,sc:s.sc?n(t,s.sc,1,0,r):i,fc:s.fc?n(t,s.fc,1,0,r):i,fh:s.fh?n(t,s.fh,0,0,r):i,fs:s.fs?n(t,s.fs,0,.01,r):i,fb:s.fb?n(t,s.fb,0,.01,r):i,t:s.t?n(t,s.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,n,s,a,o,h,l,p,c,f,u,d,m,y,g,v,_,b,P=this._moreOptions.alignment.v,S=this._animatorsData,w=this._textData,k=this.mHelper,E=this._renderType,x=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,C=b.v;for(this._pathData.r.v&&(C=C.reverse()),a={tLength:0,segments:[]},s=C._length-1,g=0,n=0;n<s;n+=1)T=bez.buildBezierData(C.v[n],C.v[n+1],[C.o[n][0]-C.v[n][0],C.o[n][1]-C.v[n][1]],[C.i[n+1][0]-C.v[n+1][0],C.i[n+1][1]-C.v[n+1][1]]),a.tLength+=T.segmentLength,a.segments.push(T),g+=T.segmentLength;n=s,b.v.c&&(T=bez.buildBezierData(C.v[n],C.v[0],[C.o[n][0]-C.v[n][0],C.o[n][1]-C.v[n][1]],[C.i[0][0]-C.v[0][0],C.i[0][1]-C.v[0][1]]),a.tLength+=T.segmentLength,a.segments.push(T),g+=T.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,o=this._pathData.f.v,f=0,c=1,l=0,p=!0,m=a.segments,o<0&&b.v.c)for(a.tLength<Math.abs(o)&&(o=-Math.abs(o)%a.tLength),c=(d=m[f=m.length-1].points).length-1;o<0;)o+=d[c].partialLength,(c-=1)<0&&(c=(d=m[f-=1].points).length-1);u=(d=m[f].points)[c-1],y=(h=d[c]).partialLength}s=A.length,r=0,i=0;var D,I,F,M,O,R=1.2*t.finalSize*.714,z=!0;F=S.length;var L,B,V,N,$,G,j,U,H,W,q,Z,K=-1,Y=o,X=f,J=c,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,it=0,nt=2===t.j?-.5:-1,st=0,at=!0;for(n=0;n<s;n+=1)if(A[n].n){for(rt&&(rt+=it);st<n;)A[st].animatorJustifyOffset=rt,st+=1;rt=0,at=!0}else{for(I=0;I<F;I+=1)(D=S[I].a).t.propType&&(at&&2===t.j&&(it+=D.t.v*nt),(O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars)).length?rt+=D.t.v*O[0]*nt:rt+=D.t.v*O*nt);at=!1}for(rt&&(rt+=it);st<n;)A[st].animatorJustifyOffset=rt,st+=1}for(n=0;n<s;n+=1){if(k.reset(),N=1,A[n].n)r=0,i+=t.yOffset,i+=z?1:0,o=Y,z=!1,this._hasMaskedPath&&(c=J,u=(d=m[f=X].points)[c-1],y=(h=d[c]).partialLength,l=0),tt="",q="",H="",Z="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==A[n].line){switch(t.j){case 1:o+=g-t.lineWidths[A[n].line];break;case 2:o+=(g-t.lineWidths[A[n].line])/2}Q=A[n].line}K!==A[n].ind&&(A[K]&&(o+=A[K].extra),o+=A[n].an/2,K=A[n].ind),o+=P[0]*A[n].an*.005;var ot=0;for(I=0;I<F;I+=1)(D=S[I].a).p.propType&&((O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars)).length?ot+=D.p.v[0]*O[0]:ot+=D.p.v[0]*O),D.a.propType&&((O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars)).length?ot+=D.a.v[0]*O[0]:ot+=D.a.v[0]*O);for(p=!0,this._pathData.a.v&&(o=.5*A[0].an+(g-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*K/(s-1),o+=this._pathData.f.v);p;)l+y>=o+ot||!d?(v=(o+ot-l)/h.partialLength,B=u.point[0]+(h.point[0]-u.point[0])*v,V=u.point[1]+(h.point[1]-u.point[1])*v,k.translate(-P[0]*A[n].an*.005,-P[1]*R*.01),p=!1):d&&(l+=h.partialLength,(c+=1)>=d.length&&(c=0,m[f+=1]?d=m[f].points:b.v.c?(c=0,d=m[f=0].points):(l-=h.partialLength,d=null)),d&&(u=h,y=(h=d[c]).partialLength));L=A[n].an/2-A[n].add,k.translate(-L,0,0)}else L=A[n].an/2-A[n].add,k.translate(-L,0,0),k.translate(-P[0]*A[n].an*.005,-P[1]*R*.01,0);for(I=0;I<F;I+=1)(D=S[I].a).t.propType&&(O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?O.length?o+=D.t.v*O[0]:o+=D.t.v*O:O.length?r+=D.t.v*O[0]:r+=D.t.v*O));for(t.strokeWidthAnim&&(G=t.sw||0),t.strokeColorAnim&&($=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(j=[t.fc[0],t.fc[1],t.fc[2]]),I=0;I<F;I+=1)(D=S[I].a).a.propType&&((O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars)).length?k.translate(-D.a.v[0]*O[0],-D.a.v[1]*O[1],D.a.v[2]*O[2]):k.translate(-D.a.v[0]*O,-D.a.v[1]*O,D.a.v[2]*O));for(I=0;I<F;I+=1)(D=S[I].a).s.propType&&((O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars)).length?k.scale(1+(D.s.v[0]-1)*O[0],1+(D.s.v[1]-1)*O[1],1):k.scale(1+(D.s.v[0]-1)*O,1+(D.s.v[1]-1)*O,1));for(I=0;I<F;I+=1){if(D=S[I].a,O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars),D.sk.propType&&(O.length?k.skewFromAxis(-D.sk.v*O[0],D.sa.v*O[1]):k.skewFromAxis(-D.sk.v*O,D.sa.v*O)),D.r.propType&&(O.length?k.rotateZ(-D.r.v*O[2]):k.rotateZ(-D.r.v*O)),D.ry.propType&&(O.length?k.rotateY(D.ry.v*O[1]):k.rotateY(D.ry.v*O)),D.rx.propType&&(O.length?k.rotateX(D.rx.v*O[0]):k.rotateX(D.rx.v*O)),D.o.propType&&(O.length?N+=(D.o.v*O[0]-N)*O[0]:N+=(D.o.v*O-N)*O),t.strokeWidthAnim&&D.sw.propType&&(O.length?G+=D.sw.v*O[0]:G+=D.sw.v*O),t.strokeColorAnim&&D.sc.propType)for(U=0;U<3;U+=1)O.length?$[U]+=(D.sc.v[U]-$[U])*O[0]:$[U]+=(D.sc.v[U]-$[U])*O;if(t.fillColorAnim&&t.fc){if(D.fc.propType)for(U=0;U<3;U+=1)O.length?j[U]+=(D.fc.v[U]-j[U])*O[0]:j[U]+=(D.fc.v[U]-j[U])*O;D.fh.propType&&(j=O.length?addHueToRGB(j,D.fh.v*O[0]):addHueToRGB(j,D.fh.v*O)),D.fs.propType&&(j=O.length?addSaturationToRGB(j,D.fs.v*O[0]):addSaturationToRGB(j,D.fs.v*O)),D.fb.propType&&(j=O.length?addBrightnessToRGB(j,D.fb.v*O[0]):addBrightnessToRGB(j,D.fb.v*O))}}for(I=0;I<F;I+=1)(D=S[I].a).p.propType&&(O=S[I].s.getMult(A[n].anIndexes[I],w.a[I].s.totalChars),this._hasMaskedPath?O.length?k.translate(0,D.p.v[1]*O[0],-D.p.v[2]*O[1]):k.translate(0,D.p.v[1]*O,-D.p.v[2]*O):O.length?k.translate(D.p.v[0]*O[0],D.p.v[1]*O[1],-D.p.v[2]*O[2]):k.translate(D.p.v[0]*O,D.p.v[1]*O,-D.p.v[2]*O));if(t.strokeWidthAnim&&(H=G<0?0:G),t.strokeColorAnim&&(W="rgb("+Math.round(255*$[0])+","+Math.round(255*$[1])+","+Math.round(255*$[2])+")"),t.fillColorAnim&&t.fc&&(q="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),this._hasMaskedPath){if(k.translate(0,-t.ls),k.translate(0,P[1]*R*.01+i,0),this._pathData.p.v){_=(h.point[1]-u.point[1])/(h.point[0]-u.point[0]);var ht=180*Math.atan(_)/Math.PI;h.point[0]<u.point[0]&&(ht+=180),k.rotate(-ht*Math.PI/180)}k.translate(B,V,0),o-=P[0]*A[n].an*.005,A[n+1]&&K!==A[n+1].ind&&(o+=A[n].an/2,o+=.001*t.tr*t.finalSize)}else{switch(k.translate(r,i,0),t.ps&&k.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:k.translate(A[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[n].line]),0,0);break;case 2:k.translate(A[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[n].line])/2,0,0)}k.translate(0,-t.ls),k.translate(L,0,0),k.translate(P[0]*A[n].an*.005,P[1]*R*.01,0),r+=A[n].l+.001*t.tr*t.finalSize}"html"===E?tt=k.toCSS():"svg"===E?tt=k.to2dCSS():et=[k.props[0],k.props[1],k.props[2],k.props[3],k.props[4],k.props[5],k.props[6],k.props[7],k.props[8],k.props[9],k.props[10],k.props[11],k.props[12],k.props[13],k.props[14],k.props[15]],Z=N}x<=n?(M=new LetterProps(Z,H,W,q,tt,et),this.renderedLetters.push(M),x+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[n],this.lettersChangedFlag=M.update(Z,H,W,q,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i,n=e.length,s="";for(r=0;r<n;r+=1)"sh"===e[r].ty&&(i=e[r].ks.k,s+=buildShapeString(i,i.i.length,!0,t));return s},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,n){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(i,n,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function ISolidElement(t,e,r){this.initElement(t,e,r)}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=e.title,this.svgElement.appendChild(i),r+=n}if(e&&e.description){var s=createNS("desc"),a=createElementID();s.setAttribute("id",a),s.textContent=e.description,this.svgElement.appendChild(s),r+=" "+a}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],n="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(n),n=""):n+=t[e],e+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,s=r.fStyle;this.layerElement.setAttribute("font-style",s),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var a,o=r.l||[],h=!!this.globalData.fontManager.chars;e=o.length;var l=this.mHelper,p=this.data.singleShape,c=0,f=0,u=!0,d=.001*r.tr*r.finalSize;if(!p||h||r.sz){var m,y=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!h||!p||0===t){if(a=y>t?this.textSpans[t].span:createNS(h?"g":"text"),y<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,h){var g=createNS("g");a.appendChild(g),this.textSpans[t].childSpan=g}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(l.reset(),p&&(o[t].n&&(c=-d,f+=r.yOffset,f+=u?1:0,u=!1),this.applyTextPropertiesToMatrix(r,l,o[t].line,c,f),c+=o[t].l||0,c+=d),h){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var _=emptyShapeData;m.data&&m.data.shapes&&(_=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[t].glyph){var b=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&a.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),a.textContent=o[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&a&&a.setAttribute("d","")}else{var P=this.textContainer,S="start";switch(r.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}P.setAttribute("text-anchor",S),P.setAttribute("letter-spacing",d);var w=this.buildTextContents(r.finalText);for(e=w.length,f=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(a=this.textSpans[t].span||createNS("tspan")).textContent=w[t],a.setAttribute("x",0),a.setAttribute("y",f),a.style.display="inherit",P.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,f+=r.finalLineHeight;this.layerElement.appendChild(P)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,i,n,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(r=s[t],i=this.textSpans[t].span,(n=this.textSpans[t].glyph)&&n.renderFrame(),r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);e[t]=r,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?r.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(r)))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier);var Expressions=function(){var t={};return t.initExpressions=function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0===(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}},t}();function _typeof$1(t){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function seedRandom(t,e){var r=this,i=e.pow(256,6),n=e.pow(2,52),s=2*n;function a(t){var e,r=t.length,i=this,n=0,s=i.i=i.j=0,a=i.S=[];for(r||(t=[r++]);n<256;)a[n]=n++;for(n=0;n<256;n++)a[n]=a[s=255&s+t[n%r]+(e=a[n])],a[s]=e;i.g=function(t){for(var e,r=0,n=i.i,s=i.j,a=i.S;t--;)e=a[n=255&n+1],r=256*r+a[255&(a[n]=a[s=255&s+e])+(a[s]=e)];return i.i=n,i.j=s,r}}function o(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function h(t,e){for(var r,i=t+"",n=0;n<i.length;)e[255&n]=255&(r^=19*e[255&n])+i.charCodeAt(n++);return l(e)}function l(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(p,c,f){var u=[],d=h(function t(e,r){var i,n=[],s=_typeof$1(e);if(r&&"object"==s)for(i in e)try{n.push(t(e[i],r-1))}catch(t){}return n.length?n:"string"==s?e:e+"\0"}((c=!0===c?{entropy:!0}:c||{}).entropy?[p,l(t)]:null===p?function(){try{void 0;var e=new Uint8Array(256);return(r.crypto||r.msCrypto).getRandomValues(e),l(e)}catch(e){var i=r.navigator,n=i&&i.plugins;return[+new Date,r,n,r.screen,l(t)]}}():p,3),u),m=new a(u),y=function(){for(var t=m.g(6),e=i,r=0;t<n;)t=256*(t+r),e*=256,r=m.g(1);for(;t>=s;)t/=2,e/=2,r>>>=1;return(t+r)/e};return y.int32=function(){return 0|m.g(4)},y.quick=function(){return m.g(4)/4294967296},y.double=y,h(l(m.S),t),(c.pass||f||function(t,r,i,n){return n&&(n.S&&o(n,m),t.state=function(){return o(m,{})}),i?(e.random=t,r):t})(y,d,"global"in c?c.global:this==e,c.state)},h(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,n=[];for(r=0;r<i;r+=1)n[r]=-t[r];return n}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof(t),i=_typeof(e);if("string"===r||"string"===i)return t+e;if(isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,s=t.length,a=e.length,o=[];n<s||n<a;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]+e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}var add=sum;function sub(t,e){var r=_typeof(t),i=_typeof(e);if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t,10)),"string"===i&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,s=t.length,a=e.length,o=[];n<s||n<a;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]-e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}function mul(t,e){var r,i,n,s=_typeof(t),a=_typeof(e);if(isNumerable(s,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]*e;return r}if(isNumerable(s,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,n,s=_typeof(t),a=_typeof(e);if(isNumerable(s,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]/e;return r}if(isNumerable(s,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var i=Math.min(t.length,e.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(e[r]-t[r],2);return Math.sqrt(n)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],n=t[1],s=t[2],a=Math.max(i,n,s),o=Math.min(i,n,s),h=(a+o)/2;if(a===o)e=0,r=0;else{var l=a-o;switch(r=h>.5?l/(2-a-o):l/(a+o),a){case i:e=(n-s)/l+(n<s?6:0);break;case n:e=(s-i)/l+2;break;case s:e=(i-n)/l+4}e/=6}return[e,r,h,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,n=t[0],s=t[1],a=t[2];if(0===s)e=a,i=a,r=a;else{var o=a<.5?a*(1+s):a+s-a*s,h=2*a-o;e=hue2rgb(h,o,n+1/3),r=hue2rgb(h,o,n),i=hue2rgb(h,o,n-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,n){if(void 0!==i&&void 0!==n||(i=e,n=r,e=0,r=1),r<e){var s=r;r=e,e=s}if(t<=e)return i;if(t>=r)return n;var a,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(n-i)*o;var h=i.length,l=createTypedArray("float32",h);for(a=0;a<h;a+=1)l[a]=i[a]+(n[a]-i[a])*o;return l}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var n=createTypedArray("float32",i),s=BMMath.random();for(r=0;r<i;r+=1)n[r]=t[r]+s*(e[r]-t[r]);return n}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,i){var n,s=t.length,a=shapePool.newElement();a.setPathData(!!i,s);var o,h,l=[0,0];for(n=0;n<s;n+=1)o=e&&e[n]?e[n]:l,h=r&&r[n]?r[n]:l,a.setTripleAt(t[n][0],t[n][1],h[0]+t[n][0],h[1]+t[n][1],o[0]+t[n][0],o[1]+t[n][1],n,!0);return a}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,i,n=this.pv.length?this.pv.length:1,s=createTypedArray("float32",n);var a=Math.floor(5*time);for(r=0,i=0;r<a;){for(i=0;i<n;i+=1)s[i]+=-e+2*e*BMMath.random();r+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",n);if(n>1){for(i=0;i<n;i+=1)l[i]=this.pv[i]+s[i]+(-e+2*e*BMMath.random())*h;return l}return this.pv+s[0]+(-e+2*e*BMMath.random())*h}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(t,e,r,i,n){return applyEase(easeOutBez,t,e,r,i,n)}function easeIn(t,e,r,i,n){return applyEase(easeInBez,t,e,r,i,n)}function ease(t,e,r,i,n){return applyEase(easeInOutBez,t,e,r,i,n)}function applyEase(t,e,r,i,n,s){void 0===n?(n=r,s=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(n)){var o,h=n.length,l=createTypedArray("float32",h);for(o=0;o<h;o+=1)l[o]=(s[o]-n[o])*a+n[o];return l}return(s-n)*a+n}function nearestKey(t){var e,r,i,n=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<n-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var s={};return s.index=r,s.time=i/elem.comp.globalData.frameRate,s}function key(t){var e,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=n.length,r=0;r<i;r+=1)e[r]=n[r],e.value[r]=n[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),i=0;if(e.length){var n;for(n=0;n<e.length;n+=1)i+=Math.pow(r[n]-e[n],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,i=this.getValueAtTime(t),n=this.getValueAtTime(t+-.001);if(i.length)for(e=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)e[r]=(n[r]-i[r])/-.001;else e=(n-i)/-.001;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,n,s,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(r?n=p-(i=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),i=p-(n=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-n)/i)%2!=0)return this.getValueAtTime((i-(h-n)%i+n)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(n/this.comp.globalData.frameRate,0),f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-n)%i+n)/this.comp.globalData.frameRate,0),d=Math.floor((h-n)/i);if(this.pv.length){for(a=(o=new Array(c.length)).length,s=0;s<a;s+=1)o[s]=(f[s]-c[s])*d+u[s];return o}return(f-c)*d+u}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,s=0;s<a;s+=1)o[s]=m[s]+(m[s]-y[s])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return m+(h-p)/.001*(m-y)}}return this.getValueAtTime(((h-n)%i+n)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,n,s,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(h>=p)return this.pv;if(r?n=p+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),i=(n=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/i)%2==0)return this.getValueAtTime(((p-h)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(n/this.comp.globalData.frameRate,0),u=this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/i)+1;if(this.pv.length){for(a=(o=new Array(c.length)).length,s=0;s<a;s+=1)o[s]=u[s]-(f[s]-c[s])*d;return o}return u-(f-c)*d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,s=0;s<a;s+=1)o[s]=m[s]+(m[s]-y[s])*(p-h)/.001;return o}return m+(m-y)*(p-h)/.001}}return this.getValueAtTime((i-((p-h)%i+p))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,i,n=this.comp.renderedFrame/this.comp.globalData.frameRate,s=n-t,a=e>1?(n+t-s)/(e-1):1,o=0,h=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(i=this.getValueAtTime(s+o*a),this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]+=i[h];else r+=i;o+=1}if(this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]/=e;else r/=e;return r}function i(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(t);e.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(t),s=this.sa.getValueAtTime(t);e.skewFromAxis(-n*this.sk.mult,s*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),h=this.ry.getValueAtTime(t),l=this.rx.getValueAtTime(t),p=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(h*this.ry.mult).rotateX(l*this.rx.mult).rotateZ(-p[2]*this.or.mult).rotateY(p[1]*this.or.mult).rotateX(p[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var c=this.px.getValueAtTime(t),f=this.py.getValueAtTime(t);if(this.data.p.z){var u=this.pz.getValueAtTime(t);e.translate(c*this.px.mult,f*this.py.mult,-u*this.pz.mult)}else e.translate(c*this.px.mult,f*this.py.mult,0)}else{var d=this.p.getValueAtTime(t);e.translate(d[0]*this.p.mult,d[1]*this.p.mult,-d[2]*this.p.mult)}return e}function n(){return this.v.clone(new Matrix)}var s=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var a=s(t,e,r);return a.dynamicProperties.length?a.getValueAtTime=i.bind(a):a.getValueAtTime=n.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(i,n,s,o,h){var l=a(i,n,s,o,h);l.kf?l.getValueAtTime=expressionHelpers.getValueAtTime.bind(l):l.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(l),l.setGroupProperty=expressionHelpers.setGroupProperty,l.loopOut=t,l.loopIn=e,l.smooth=r,l.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(l),l.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(l),l.numKeys=1===n.a?n.k.length:0,l.propertyIndex=n.ix;var p=0;return 0!==s&&(p=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),l._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(i,n,l),l.k&&h.addDynamicProperty(l),l};var o=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(t,e){this.k&&this.getValue();var r,i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var n=i._length,s=i[t],a=i.v,o=createSizedArray(n);for(r=0;r<n;r+=1)o[r]="i"===t||"o"===t?[s[r][0]-a[r][0],s[r][1]-a[r][1]]:[s[r][0],s[r][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,n=this._segmentsLength,s=n.lengths,a=n.totalLength*t,o=0,h=s.length,l=0;o<h;){if(l+s[o].addedLength>a){var p=o,c=r.c&&o===h-1?0:o+1,f=(a-l)/s[o].addedLength;i=bez.getPointInSegment(r.v[p],r.v[c],r.o[p],r.i[c],f,s[o]);break}l+=s[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),n=this.pointOnPath(t+.001,e),s=n[0]-i[0],a=n[1]-i[1],o=Math.sqrt(Math.pow(s,2)+Math.pow(a,2));return 0===o?[0,0]:"tangent"===r?[s/o,a/o]:[-a/o,s/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],o),extendPrototype([l],h),h.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},h.prototype.initiateExpression=ExpressionManager.initiateExpression;var p=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,n){var s=p(t,e,r,i,n);return s.propertyIndex=e.ix,s.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,s):4===r&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(t,e,r,i,n){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),s.setAttribute("result",i+"_tint_1"),t.appendChild(s),(s=createNS("feColorMatrix")).setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i+"_tint_2"),t.appendChild(s),this.matrixFilter=s;var a=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),t.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}function SVGTritoneFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(n);var s=createNS("feComponentTransfer");s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),this.matrixFilter=s;var a=createNS("feFuncR");a.setAttribute("type","table"),s.appendChild(a),this.feFuncR=a;var o=createNS("feFuncG");o.setAttribute("type","table"),s.appendChild(o),this.feFuncG=o;var h=createNS("feFuncB");h.setAttribute("type","table"),s.appendChild(h),this.feFuncB=h,t.appendChild(s)}function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var n=this.filterManager.effectElements,s=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",s)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",s)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",s)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",s)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(s.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(s)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((s=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),t.appendChild(s),this.feFuncRComposed=this.createFeFunc("feFuncR",s),this.feFuncGComposed=this.createFeFunc("feFuncG",s),this.feFuncBComposed=this.createFeFunc("feFuncB",s))}function SVGDropShadowEffect(t,e,r,i,n){var s=e.container.globalData.renderConfig.filterSize,a=e.data.fs||s;t.setAttribute("x",a.x||s.x),t.setAttribute("y",a.y||s.y),t.setAttribute("width",a.width||s.width),t.setAttribute("height",a.height||s.height),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",i+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,t.appendChild(o);var h=createNS("feOffset");h.setAttribute("dx","25"),h.setAttribute("dy","0"),h.setAttribute("in",i+"_drop_shadow_1"),h.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=h,t.appendChild(h);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=l,t.appendChild(l);var p=createNS("feComposite");p.setAttribute("in",i+"_drop_shadow_3"),p.setAttribute("in2",i+"_drop_shadow_2"),p.setAttribute("operator","in"),p.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(p);var c=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(c)}SVGComposableEffect.prototype={createMergeNode:function(t,e){var r,i,n=createNS("feMerge");for(n.setAttribute("result",t),i=0;i<e.length;i+=1)(r=createNS("feMergeNode")).setAttribute("in",e[i]),n.appendChild(r),n.appendChild(r);return n}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=(r=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var s=createNS("mask"),a=createElementID();s.setAttribute("id",a),s.setAttribute("mask-type","alpha"),s.appendChild(e),this.elem.globalData.defs.appendChild(s);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");n[0];)o.appendChild(n[0]);this.elem.layerElement.appendChild(o),this.masker=s,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,i,n=this.paths.length;for(e=0;e<n;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var s;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),h=i.getTotalLength();s="0 0 0 "+h*a+" ";var l,p=h*(o-a),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(p/c);for(l=0;l<f;l+=1)s+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";s+="0 "+10*h+" 0 0"}else s="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",s)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var u=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*u[0])+","+bmFloor(255*u[1])+","+bmFloor(255*u[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+e[0],s=i[1]+" "+r[1]+" "+e[1],a=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,n){for(var s,a,o=0,h=Math.min(t,e),l=Math.max(t,e),p=Array.call(null,{length:256}),c=0,f=n-i,u=e-t;o<=256;)a=(s=o/256)<=h?u<0?n:i:s>=l?u<0?i:n:i+f*Math.pow((s-t)/u,1/r),p[c]=a,c+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),s=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",s)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e,r,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("result",i),t.appendChild(n),this.feGaussianBlur=n}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i,n=r.children,s=0,a=n.length;s<a&&n[s]!==t.layerElement;)s+=1;s<=a-2&&(i=n[s+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var n=t.globalData.defs;n.appendChild(i);var s=createNS("symbol");s.setAttribute("id",r),this.replaceInParent(e,r),s.appendChild(e.layerElement),n.appendChild(s);var a=createNS("use");a.setAttribute("href","#"+r),i.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:e,n=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+n);var s=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",s)}},setExpressionsPlugin(Expressions),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie}))})),jszip=createCommonjsModule((function(t,e){
89
+ /*!
90
+
91
+ JSZip v3.6.0 - A JavaScript class for generating and reading zip files
92
+ <http://stuartk.com/jszip>
93
+
94
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
95
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
96
+
97
+ JSZip uses the library pako released under the MIT license :
98
+ https://github.com/nodeca/pako/blob/master/LICENSE
99
+ */
100
+ !function(e){t.exports=e()}((function(){return function t(e,r,i){function n(a,o){if(!r[a]){if(!e[a]){var h="function"==typeof commonjsRequire&&commonjsRequire;if(!o&&h)return h(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[a]={exports:{}};e[a][0].call(p.exports,(function(t){var r=e[a][1][t];return n(r||t)}),p,p.exports,t,e,r,i)}return r[a].exports}for(var s="function"==typeof commonjsRequire&&commonjsRequire,a=0;a<i.length;a++)n(i[a]);return n}({1:[function(t,e,r){(function(i){
101
+ /*!
102
+
103
+ JSZip v3.5.0 - A JavaScript class for generating and reading zip files
104
+ <http://stuartk.com/jszip>
105
+
106
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
107
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
108
+
109
+ JSZip uses the library pako released under the MIT license :
110
+ https://github.com/nodeca/pako/blob/master/LICENSE
111
+ */
112
+ !function(t){"object"==typeof r&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(r,i,n){function s(o,h){if(!i[o]){if(!r[o]){var l="function"==typeof t&&t;if(!h&&l)return l(o,!0);if(a)return a(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var c=i[o]={exports:{}};r[o][0].call(c.exports,(function(t){return s(r[o][1][t]||t)}),c,c.exports,e,r,i,n)}return i[o].exports}for(var a="function"==typeof t&&t,o=0;o<n.length;o++)s(n[o]);return s}({1:[function(t,e,r){(function(i){!function(t){"object"==typeof r&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(r,i,n){function s(o,h){if(!i[o]){if(!r[o]){var l="function"==typeof t&&t;if(!h&&l)return l(o,!0);if(a)return a(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var c=i[o]={exports:{}};r[o][0].call(c.exports,(function(t){return s(r[o][1][t]||t)}),c,c.exports,e,r,i,n)}return i[o].exports}for(var a="function"==typeof t&&t,o=0;o<n.length;o++)s(n[o]);return s}({1:[function(t,e,r){(function(i){!function(t){"object"==typeof r&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(r,i,n){function s(o,h){if(!i[o]){if(!r[o]){var l="function"==typeof t&&t;if(!h&&l)return l(o,!0);if(a)return a(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var c=i[o]={exports:{}};r[o][0].call(c.exports,(function(t){return s(r[o][1][t]||t)}),c,c.exports,e,r,i,n)}return i[o].exports}for(var a="function"==typeof t&&t,o=0;o<n.length;o++)s(n[o]);return s}({1:[function(t,e,r){(function(i){!function(t){"object"==typeof r&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(r,i,n){function s(o,h){if(!i[o]){if(!r[o]){var l="function"==typeof t&&t;if(!h&&l)return l(o,!0);if(a)return a(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var c=i[o]={exports:{}};r[o][0].call(c.exports,(function(t){return s(r[o][1][t]||t)}),c,c.exports,e,r,i,n)}return i[o].exports}for(var a="function"==typeof t&&t,o=0;o<n.length;o++)s(n[o]);return s}({1:[function(t,e,r){(function(i){!function(t){"object"==typeof r&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(r,i,n){function s(o,h){if(!i[o]){if(!r[o]){var l="function"==typeof t&&t;if(!h&&l)return l(o,!0);if(a)return a(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var c=i[o]={exports:{}};r[o][0].call(c.exports,(function(t){return s(r[o][1][t]||t)}),c,c.exports,e,r,i,n)}return i[o].exports}for(var a="function"==typeof t&&t,o=0;o<n.length;o++)s(n[o]);return s}({1:[function(t,e,r){var i=t("./utils"),n=t("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t){for(var e,r,n,a,o,h,l,p=[],c=0,f=t.length,u=f,d="string"!==i.getTypeOf(t);c<t.length;)u=f-c,n=d?(e=t[c++],r=c<f?t[c++]:0,c<f?t[c++]:0):(e=t.charCodeAt(c++),r=c<f?t.charCodeAt(c++):0,c<f?t.charCodeAt(c++):0),a=e>>2,o=(3&e)<<4|r>>4,h=1<u?(15&r)<<2|n>>6:64,l=2<u?63&n:64,p.push(s.charAt(a)+s.charAt(o)+s.charAt(h)+s.charAt(l));return p.join("")},r.decode=function(t){var e,r,i,a,o,h,l=0,p=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var c,f=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===s.charAt(64)&&f--,t.charAt(t.length-2)===s.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=n.uint8array?new Uint8Array(0|f):new Array(0|f);l<t.length;)e=s.indexOf(t.charAt(l++))<<2|(a=s.indexOf(t.charAt(l++)))>>4,r=(15&a)<<4|(o=s.indexOf(t.charAt(l++)))>>2,i=(3&o)<<6|(h=s.indexOf(t.charAt(l++))),c[p++]=e,64!==o&&(c[p++]=r),64!==h&&(c[p++]=i);return c}},{"./support":30,"./utils":32}],2:[function(t,e,r){var i=t("./external"),n=t("./stream/DataWorker"),s=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function o(t,e,r,i,n){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=i,this.compressedContent=n}o.prototype={getContentWorker:function(){var t=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new s).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){var i=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){var i=t("./utils"),n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==i.getTypeOf(t)?function(t,e,r){var i=n,s=0+r;t^=-1;for(var a=0;a<s;a++)t=t>>>8^i[255&(t^e[a])];return-1^t}(0|e,t,t.length):function(t,e,r){var i=n,s=0+r;t^=-1;for(var a=0;a<s;a++)t=t>>>8^i[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){var i;i="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:i}},{lie:37}],7:[function(t,e,r){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=t("pako"),s=t("./utils"),a=t("./stream/GenericWorker"),o=i?"uint8array":"array";function h(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",s.inherits(h,a),h.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,t.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(t){return new h("Deflate",t)},r.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){function i(t,e){var r,i="";for(r=0;r<e;r++)i+=String.fromCharCode(255&t),t>>>=8;return i}function n(t,e,r,n,a,p){var c,f,u=t.file,d=t.compression,m=p!==o.utf8encode,y=s.transformTo("string",p(u.name)),g=s.transformTo("string",o.utf8encode(u.name)),v=u.comment,_=s.transformTo("string",p(v)),b=s.transformTo("string",o.utf8encode(v)),P=g.length!==u.name.length,S=b.length!==v.length,w="",k="",E="",x=u.dir,A=u.date,T={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(T.crc32=t.crc32,T.compressedSize=t.compressedSize,T.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),m||!P&&!S||(C|=2048);var D,I=0,F=0;x&&(I|=16),"UNIX"===a?(F=798,I|=((D=u.unixPermissions)||(D=x?16893:33204),(65535&D)<<16)):(F=20,I|=63&(u.dosPermissions||0)),c=A.getUTCHours(),c<<=6,c|=A.getUTCMinutes(),c<<=5,c|=A.getUTCSeconds()/2,f=A.getUTCFullYear()-1980,f<<=4,f|=A.getUTCMonth()+1,f<<=5,f|=A.getUTCDate(),P&&(w+="up"+i((k=i(1,1)+i(h(y),4)+g).length,2)+k),S&&(w+="uc"+i((E=i(1,1)+i(h(_),4)+b).length,2)+E);var M="";return M+="\n\0",M+=i(C,2),M+=d.magic,M+=i(c,2),M+=i(f,2),M+=i(T.crc32,4),M+=i(T.compressedSize,4),M+=i(T.uncompressedSize,4),M+=i(y.length,2),M+=i(w.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+y+w,dirRecord:l.CENTRAL_FILE_HEADER+i(F,2)+M+i(_.length,2)+"\0\0\0\0"+i(I,4)+i(n,4)+y+w+_}}var s=t("../utils"),a=t("../stream/GenericWorker"),o=t("../utf8"),h=t("../crc32"),l=t("../signature");function p(t,e,r,i){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(p,a),p.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-i-1))/r:100}}))},p.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,s=n(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(s.dirRecord),r)this.push({data:(e=t,l.DATA_DESCRIPTOR+i(e.crc32,4)+i(e.compressedSize,4)+i(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:s.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r,n,a,o,h,p,c=this.bytesWritten-t,f=(r=this.dirRecords.length,n=c,a=t,o=this.zipComment,h=this.encodeFileName,p=s.transformTo("string",h(o)),l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(r,2)+i(r,2)+i(n,4)+i(a,4)+i(p.length,2)+p);this.push({data:f,meta:{percent:100}})},p.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},p.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},p.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},p.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},p.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=p},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,r){var i=t("../compressions"),n=t("./ZipFileWorker");r.generateWorker=function(t,e,r){var s=new n(e.streamFiles,r,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,r){a++;var n=function(t,e){var r=t||e,n=i[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,e.compression),o=r.options.compressionOptions||e.compressionOptions||{},h=r.dir,l=r.date;r._compressWorker(n,o).withStreamInfo("file",{name:t,dir:h,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(s)})),s.entriesCount=a}catch(t){s.error(t)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,r){function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new i;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(i.prototype=t("./object")).loadAsync=t("./load"),i.support=t("./support"),i.defaults=t("./defaults"),i.version="3.5.0",i.loadAsync=function(t,e){return(new i).loadAsync(t,e)},i.external=t("./external"),e.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,r){var i=t("./utils"),n=t("./external"),s=t("./utf8"),a=t("./zipEntries"),o=t("./stream/Crc32Probe"),h=t("./nodejsUtils");function l(t){return new n.Promise((function(e,r){var i=t.decompressed.getContentWorker().pipe(new o);i.on("error",(function(t){r(t)})).on("end",(function(){i.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var r=this;return e=i.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),h.isNode&&h.isStream(t)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new a(e);return r.load(t),r})).then((function(t){var r=[n.Promise.resolve(t)],i=t.files;if(e.checkCRC32)for(var s=0;s<i.length;s++)r.push(l(i[s]));return n.Promise.all(r)})).then((function(t){for(var i=t.shift(),n=i.files,s=0;s<n.length;s++){var a=n[s];r.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders})}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,r){var i=t("../utils"),n=t("../stream/GenericWorker");function s(t,e){n.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}i.inherits(s,n),s.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},s.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,r){var i=t("readable-stream").Readable;function n(t,e,r){i.call(this,e),this._helper=t;var n=this;t.on("data",(function(t,e){n.push(t)||n._helper.pause(),r&&r(e)})).on("error",(function(t){n.emit("error",t)})).on("end",(function(){n.push(null)}))}t("../utils").inherits(n,i),n.prototype._read=function(){this._helper.resume()},e.exports=n},{"../utils":32,"readable-stream":16}],14:[function(t,e,r){e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,r){function i(t,e,r){var i,s=a.getTypeOf(e),h=a.extend(r||{},l);h.date=h.date||new Date,null!==h.compression&&(h.compression=h.compression.toUpperCase()),"string"==typeof h.unixPermissions&&(h.unixPermissions=parseInt(h.unixPermissions,8)),h.unixPermissions&&16384&h.unixPermissions&&(h.dir=!0),h.dosPermissions&&16&h.dosPermissions&&(h.dir=!0),h.dir&&(t=n(t)),h.createFolders&&(i=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""}(t))&&m.call(this,i,!0);var f,y="string"===s&&!1===h.binary&&!1===h.base64;r&&void 0!==r.binary||(h.binary=!y),(e instanceof p&&0===e.uncompressedSize||h.dir||!e||0===e.length)&&(h.base64=!1,h.binary=!0,e="",h.compression="STORE",s="string"),f=e instanceof p||e instanceof o?e:u.isNode&&u.isStream(e)?new d(t,e):a.prepareContent(t,e,h.binary,h.optimizedBinaryString,h.base64);var g=new c(t,f,h);this.files[t]=g}function n(t){return"/"!==t.slice(-1)&&(t+="/"),t}var s=t("./utf8"),a=t("./utils"),o=t("./stream/GenericWorker"),h=t("./stream/StreamHelper"),l=t("./defaults"),p=t("./compressedObject"),c=t("./zipObject"),f=t("./generate"),u=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),m=function(t,e){return e=void 0!==e?e:l.createFolders,t=n(t),this.files[t]||i.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function y(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var g={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,i;for(e in this.files)this.files.hasOwnProperty(e)&&(i=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,i))},filter:function(t){var e=[];return this.forEach((function(r,i){t(r,i)&&e.push(i)})),e},file:function(t,e,r){if(1!==arguments.length)return t=this.root+t,i.call(this,t,e,r),this;if(y(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var s=this.files[this.root+t];return s&&!s.dir?s:null},folder:function(t){if(!t)return this;if(y(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=m.call(this,e),i=this.clone();return i.root=r.name,i},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),i=0;i<r.length;i++)delete this.files[r[i].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=a.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");a.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var i=r.comment||this.comment||"";e=f.generateWorker(this,r,i)}catch(t){(e=new o("error")).error(t)}return new h(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=g},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,r){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,r){var i=t("./DataReader");function n(t){i.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data[this.zero+t]},n.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),i=t.charCodeAt(2),n=t.charCodeAt(3),s=this.length-4;0<=s;--s)if(this.data[s]===e&&this.data[s+1]===r&&this.data[s+2]===i&&this.data[s+3]===n)return s-this.zero;return-1},n.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),i=t.charCodeAt(2),n=t.charCodeAt(3),s=this.readData(4);return e===s[0]&&r===s[1]&&i===s[2]&&n===s[3]},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],18:[function(t,e,r){var i=t("../utils");function n(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{"../utils":32}],19:[function(t,e,r){var i=t("./Uint8ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){var i=t("./DataReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){var i=t("./ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){var i=t("../utils"),n=t("../support"),s=t("./ArrayReader"),a=t("./StringReader"),o=t("./NodeBufferReader"),h=t("./Uint8ArrayReader");e.exports=function(t){var e=i.getTypeOf(t);return i.checkSupport(e),"string"!==e||n.uint8array?"nodebuffer"===e?new o(t):n.uint8array?new h(i.transformTo("uint8array",t)):new s(i.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){var i=t("./GenericWorker"),n=t("../utils");function s(t){i.call(this,"ConvertWorker to "+t),this.destType=t}n.inherits(s,i),s.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},e.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){var i=t("./GenericWorker"),n=t("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(s,i),s.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){var i=t("../utils"),n=t("./GenericWorker");function s(t){n.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(s,n),s.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}n.prototype.processChunk.call(this,t)},e.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){var i=t("../utils"),n=t("./GenericWorker");function s(t){n.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=i.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}i.inherits(s,n),s.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){function i(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=i},{}],29:[function(t,e,r){var i=t("../utils"),n=t("./ConvertWorker"),s=t("./GenericWorker"),a=t("../base64"),o=t("../support"),h=t("../external"),l=null;if(o.nodestream)try{l=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function p(t,e,r){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=r,i.checkSupport(a),this._worker=t.pipe(new n(a)),t.lock()}catch(t){this._worker=new s("error"),this._worker.error(t)}}p.prototype={accumulate:function(t){return e=this,r=t,new h.Promise((function(t,n){var s=[],o=e._internalType,h=e._outputType,l=e._mimeType;e.on("data",(function(t,e){s.push(t),r&&r(e)})).on("error",(function(t){s=[],n(t)})).on("end",(function(){try{var e=function(t,e,r){switch(t){case"blob":return i.newBlob(i.transformTo("arraybuffer",e),r);case"base64":return a.encode(e);default:return i.transformTo(t,e)}}(h,function(t,e){var r,i=0,n=null,s=0;for(r=0;r<e.length;r++)s+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(n=new Uint8Array(s),r=0;r<e.length;r++)n.set(e[r],i),i+=e[r].length;return n;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(o,s),l);t(e)}catch(e){n(e)}s=[]})).resume()}));var e,r},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,(function(t){e.call(r,t.data,t.meta)})):this._worker.on(t,(function(){i.delay(e,arguments,r)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=p},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);n.append(i),r.blob=0===n.getBlob("application/zip").size}catch(t){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(t){r.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,r){for(var i=t("./utils"),n=t("./support"),s=t("./nodejsUtils"),a=t("./stream/GenericWorker"),o=new Array(256),h=0;h<256;h++)o[h]=252<=h?6:248<=h?5:240<=h?4:224<=h?3:192<=h?2:1;function l(){a.call(this,"utf-8 decode"),this.leftOver=null}function p(){a.call(this,"utf-8 encode")}o[254]=o[254]=1,r.utf8encode=function(t){return n.nodebuffer?s.newBufferFrom(t,"utf-8"):function(t){var e,r,i,s,a,o=t.length,h=0;for(s=0;s<o;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<o&&56320==(64512&(i=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(i-56320),s++),h+=r<128?1:r<2048?2:r<65536?3:4;for(e=n.uint8array?new Uint8Array(h):new Array(h),s=a=0;a<h;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<o&&56320==(64512&(i=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(i-56320),s++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e}(t)},r.utf8decode=function(t){return n.nodebuffer?i.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,n,s,a=t.length,h=new Array(2*a);for(e=r=0;e<a;)if((n=t[e++])<128)h[r++]=n;else if(4<(s=o[n]))h[r++]=65533,e+=s-1;else{for(n&=2===s?31:3===s?15:7;1<s&&e<a;)n=n<<6|63&t[e++],s--;1<s?h[r++]=65533:n<65536?h[r++]=n:(n-=65536,h[r++]=55296|n>>10&1023,h[r++]=56320|1023&n)}return h.length!==r&&(h.subarray?h=h.subarray(0,r):h.length=r),i.applyFromCharCode(h)}(t=i.transformTo(n.uint8array?"uint8array":"array",t))},i.inherits(l,a),l.prototype.processChunk=function(t){var e=i.transformTo(n.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var s=e;(e=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),e.set(s,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+o[t[r]]>e?r:e}(e),h=e;a!==e.length&&(n.uint8array?(h=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(h=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:r.utf8decode(h),meta:t.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=l,i.inherits(p,a),p.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=p},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,r){var i=t("./support"),n=t("./base64"),s=t("./nodejsUtils"),a=t("set-immediate-shim"),o=t("./external");function h(t){return t}function l(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}r.newBlob=function(t,e){r.checkSupport("blob");try{return new Blob([t],{type:e})}catch(r){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var p={stringifyByChunk:function(t,e,r){var i=[],n=0,s=t.length;if(s<=r)return String.fromCharCode.apply(null,t);for(;n<s;)"array"===e||"nodebuffer"===e?i.push(String.fromCharCode.apply(null,t.slice(n,Math.min(n+r,s)))):i.push(String.fromCharCode.apply(null,t.subarray(n,Math.min(n+r,s)))),n+=r;return i.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(t){return!1}}()}};function c(t){var e=65536,i=r.getTypeOf(t),n=!0;if("uint8array"===i?n=p.applyCanBeUsed.uint8array:"nodebuffer"===i&&(n=p.applyCanBeUsed.nodebuffer),n)for(;1<e;)try{return p.stringifyByChunk(t,i,e)}catch(t){e=Math.floor(e/2)}return p.stringifyByChar(t)}function f(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}r.applyFromCharCode=c;var u={};u.string={string:h,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return u.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,s.allocBuffer(t.length))}},u.array={string:c,array:h,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return s.newBufferFrom(t)}},u.arraybuffer={string:function(t){return c(new Uint8Array(t))},array:function(t){return f(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:h,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return s.newBufferFrom(new Uint8Array(t))}},u.uint8array={string:c,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:h,nodebuffer:function(t){return s.newBufferFrom(t)}},u.nodebuffer={string:c,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return u.nodebuffer.uint8array(t).buffer},uint8array:function(t){return f(t,new Uint8Array(t.length))},nodebuffer:h},r.transformTo=function(t,e){if(e=e||"",!t)return e;r.checkSupport(t);var i=r.getTypeOf(e);return u[i][t](e)},r.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":i.nodebuffer&&s.isBuffer(t)?"nodebuffer":i.uint8array&&t instanceof Uint8Array?"uint8array":i.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(t){if(!i[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e,r,i="";for(r=0;r<(t||"").length;r++)i+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return i},r.delay=function(t,e,r){a((function(){t.apply(r||null,e||[])}))},r.inherits=function(t,e){function r(){}r.prototype=e.prototype,t.prototype=new r},r.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},r.prepareContent=function(t,e,s,a,h){return o.Promise.resolve(e).then((function(t){return i.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new o.Promise((function(e,r){var i=new FileReader;i.onload=function(t){e(t.target.result)},i.onerror=function(t){r(t.target.error)},i.readAsArrayBuffer(t)})):t})).then((function(e){var p,c=r.getTypeOf(e);return c?("arraybuffer"===c?e=r.transformTo("uint8array",e):"string"===c&&(h?e=n.decode(e):s&&!0!==a&&(e=l(p=e,i.uint8array?new Uint8Array(p.length):new Array(p.length)))),e):o.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(t,e,r){var i=t("./reader/readerFor"),n=t("./utils"),s=t("./signature"),a=t("./zipEntry"),o=(t("./utf8"),t("./support"));function h(t){this.files=[],this.loadOptions=t}h.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(e)+", expected "+n.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var i=this.reader.readString(4)===e;return this.reader.setIndex(r),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=o.uint8array?"uint8array":"array",r=n.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,i=this.zip64EndOfCentralSize-44;0<i;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var i=e-r;if(0<i)this.isSignature(e,s.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(t){this.reader=i(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=h},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,e,r){var i=t("./reader/readerFor"),n=t("./utils"),s=t("./compressedObject"),a=t("./crc32"),o=t("./utf8"),h=t("./compressions"),l=t("./support");function p(t,e){this.options=t,this.loadOptions=e}p.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in h)if(h.hasOwnProperty(e)&&h[e].magic===t)return h[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,i,n=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<n;)e=t.readInt(2),r=t.readInt(2),i=t.readData(r),this.extraFields[e]={id:e,length:r,value:i};t.setIndex(n)},handleUTF8:function(){var t=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=n.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var i=this.findExtraFieldUnicodeComment();if(null!==i)this.fileCommentStr=i;else{var s=n.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=i(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:o.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=i(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:o.utf8decode(e.readData(t.length-5))}return null}},e.exports=p},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,r){function i(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var n=t("./stream/StreamHelper"),s=t("./stream/DataWorker"),a=t("./utf8"),o=t("./compressedObject"),h=t("./stream/GenericWorker");i.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var i="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var s=!this._dataBinary;s&&!i&&(e=e.pipe(new a.Utf8EncodeWorker)),!s&&i&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new h("error")).error(t)}return new n(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof o&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),o.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof h?this._data:new s(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],p=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<l.length;c++)i.prototype[l[c]]=p;e.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,r){(function(t){var r,i,n=t.MutationObserver||t.WebKitMutationObserver;if(n){var s=0,a=new n(p),o=t.document.createTextNode("");a.observe(o,{characterData:!0}),r=function(){o.data=s=++s%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){p(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(p,0)};else{var h=new t.MessageChannel;h.port1.onmessage=p,r=function(){h.port2.postMessage(0)}}var l=[];function p(){var t,e;i=!0;for(var r=l.length;r;){for(e=l,l=[],t=-1;++t<r;)e[t]();r=l.length}i=!1}e.exports=function(t){1!==l.push(t)||i||r()}}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,r){var i=t("immediate");function n(){}var s={},a=["REJECTED"],o=["FULFILLED"],h=["PENDING"];function l(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=h,this.queue=[],this.outcome=void 0,t!==n&&u(this,t)}function p(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(t,e,r){i((function(){var i;try{i=e(r)}catch(i){return s.reject(t,i)}i===t?s.reject(t,new TypeError("Cannot resolve promise with itself")):s.resolve(t,i)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function u(t,e){var r=!1;function i(e){r||(r=!0,s.reject(t,e))}function n(e){r||(r=!0,s.resolve(t,e))}var a=d((function(){e(n,i)}));"error"===a.status&&i(a.value)}function d(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}(e.exports=l).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(r){return e.resolve(t()).then((function(){return r}))}),(function(r){return e.resolve(t()).then((function(){throw r}))}))},l.prototype.catch=function(t){return this.then(null,t)},l.prototype.then=function(t,e){if("function"!=typeof t&&this.state===o||"function"!=typeof e&&this.state===a)return this;var r=new this.constructor(n);return this.state!==h?c(r,this.state===o?t:e,this.outcome):this.queue.push(new p(r,t,e)),r},p.prototype.callFulfilled=function(t){s.resolve(this.promise,t)},p.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},p.prototype.callRejected=function(t){s.reject(this.promise,t)},p.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},s.resolve=function(t,e){var r=d(f,e);if("error"===r.status)return s.reject(t,r.value);var i=r.value;if(i)u(t,i);else{t.state=o,t.outcome=e;for(var n=-1,a=t.queue.length;++n<a;)t.queue[n].callFulfilled(e)}return t},s.reject=function(t,e){t.state=a,t.outcome=e;for(var r=-1,i=t.queue.length;++r<i;)t.queue[r].callRejected(e);return t},l.resolve=function(t){return t instanceof this?t:s.resolve(new this(n),t)},l.reject=function(t){var e=new this(n);return s.reject(e,t)},l.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,i=!1;if(!r)return this.resolve([]);for(var a=new Array(r),o=0,h=-1,l=new this(n);++h<r;)p(t[h],h);return l;function p(t,n){e.resolve(t).then((function(t){a[n]=t,++o!==r||i||(i=!0,s.resolve(l,a))}),(function(t){i||(i=!0,s.reject(l,t))}))}},l.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,r=!1;if(!e)return this.resolve([]);for(var i,a=-1,o=new this(n);++a<e;)i=t[a],this.resolve(i).then((function(t){r||(r=!0,s.resolve(o,t))}),(function(t){r||(r=!0,s.reject(o,t))}));return o}},{immediate:36}],38:[function(t,e,r){var i={};(0,t("./lib/utils/common").assign)(i,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,r){var i=t("./zlib/deflate"),n=t("./utils/common"),s=t("./utils/strings"),a=t("./zlib/messages"),o=t("./zlib/zstream"),h=Object.prototype.toString;function l(t){if(!(this instanceof l))return new l(t);this.options=n.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var r=i.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error(a[r]);if(e.header&&i.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?s.string2buf(e.dictionary):"[object ArrayBuffer]"===h.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=i.deflateSetDictionary(this.strm,p)))throw new Error(a[r]);this._dict_set=!0}}function p(t,e){var r=new l(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}l.prototype.push=function(t,e){var r,a,o=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?o.input=s.string2buf(t):"[object ArrayBuffer]"===h.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new n.Buf8(l),o.next_out=0,o.avail_out=l),1!==(r=i.deflate(o,a))&&0!==r)return this.onEnd(r),!(this.ended=!0);0!==o.avail_out&&(0!==o.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(s.buf2binstring(n.shrinkBuf(o.output,o.next_out))):this.onData(n.shrinkBuf(o.output,o.next_out)))}while((0<o.avail_in||0===o.avail_out)&&1!==r);return 4===a?(r=i.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),!(o.avail_out=0))},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=l,r.deflate=p,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,r){var i=t("./zlib/inflate"),n=t("./utils/common"),s=t("./utils/strings"),a=t("./zlib/constants"),o=t("./zlib/messages"),h=t("./zlib/zstream"),l=t("./zlib/gzheader"),p=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var r=i.inflateInit2(this.strm,e.windowBits);if(r!==a.Z_OK)throw new Error(o[r]);this.header=new l,i.inflateGetHeader(this.strm,this.header)}function f(t,e){var r=new c(e);if(r.push(t,!0),r.err)throw r.msg||o[r.err];return r.result}c.prototype.push=function(t,e){var r,o,h,l,c,f,u=this.strm,d=this.options.chunkSize,m=this.options.dictionary,y=!1;if(this.ended)return!1;o=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?u.input=s.binstring2buf(t):"[object ArrayBuffer]"===p.call(t)?u.input=new Uint8Array(t):u.input=t,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new n.Buf8(d),u.next_out=0,u.avail_out=d),(r=i.inflate(u,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(f="string"==typeof m?s.string2buf(m):"[object ArrayBuffer]"===p.call(m)?new Uint8Array(m):m,r=i.inflateSetDictionary(this.strm,f)),r===a.Z_BUF_ERROR&&!0===y&&(r=a.Z_OK,y=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);u.next_out&&(0!==u.avail_out&&r!==a.Z_STREAM_END&&(0!==u.avail_in||o!==a.Z_FINISH&&o!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(h=s.utf8border(u.output,u.next_out),l=u.next_out-h,c=s.buf2string(u.output,h),u.next_out=l,u.avail_out=d-l,l&&n.arraySet(u.output,u.output,h,l,0),this.onData(c)):this.onData(n.shrinkBuf(u.output,u.next_out)))),0===u.avail_in&&0===u.avail_out&&(y=!0)}while((0<u.avail_in||0===u.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(o=a.Z_FINISH),o===a.Z_FINISH?(r=i.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):o!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(u.avail_out=0))},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=c,r.inflate=f,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},r.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,r){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,r,i,n){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+i),n);else for(var s=0;s<i;s++)t[n+s]=e[r+s]},flattenChunks:function(t){var e,r,i,n,s,a;for(e=i=0,r=t.length;e<r;e++)i+=t[e].length;for(a=new Uint8Array(i),e=n=0,r=t.length;e<r;e++)s=t[e],a.set(s,n),n+=s.length;return a}},s={arraySet:function(t,e,r,i,n){for(var s=0;s<i;s++)t[n+s]=e[r+s]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,n)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(i)},{}],42:[function(t,e,r){var i=t("./common"),n=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var a=new i.Buf8(256),o=0;o<256;o++)a[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function h(t,e){if(e<65537&&(t.subarray&&s||!t.subarray&&n))return String.fromCharCode.apply(null,i.shrinkBuf(t,e));for(var r="",a=0;a<e;a++)r+=String.fromCharCode(t[a]);return r}a[254]=a[254]=1,r.string2buf=function(t){var e,r,n,s,a,o=t.length,h=0;for(s=0;s<o;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),h+=r<128?1:r<2048?2:r<65536?3:4;for(e=new i.Buf8(h),s=a=0;a<h;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return h(t,t.length)},r.binstring2buf=function(t){for(var e=new i.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,i,n,s,o=e||t.length,l=new Array(2*o);for(r=i=0;r<o;)if((n=t[r++])<128)l[i++]=n;else if(4<(s=a[n]))l[i++]=65533,r+=s-1;else{for(n&=2===s?31:3===s?15:7;1<s&&r<o;)n=n<<6|63&t[r++],s--;1<s?l[i++]=65533:n<65536?l[i++]=n:(n-=65536,l[i++]=55296|n>>10&1023,l[i++]=56320|1023&n)}return h(l,i)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){e.exports=function(t,e,r,i){for(var n=65535&t|0,s=t>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;s=s+(n=n+e[i++]|0)|0,--a;);n%=65521,s%=65521}return n|s<<16|0}},{}],44:[function(t,e,r){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,r){var i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var s=i,a=n+r;t^=-1;for(var o=n;o<a;o++)t=t>>>8^s[255&(t^e[o])];return-1^t}},{}],46:[function(t,e,r){var i,n=t("../utils/common"),s=t("./trees"),a=t("./adler32"),o=t("./crc32"),h=t("./messages"),l=-2,p=258,c=262,f=113;function u(t,e){return t.msg=h[e],e}function d(t){return(t<<1)-(4<t?9:0)}function m(t){for(var e=t.length;0<=--e;)t[e]=0}function y(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(n.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function g(t,e){s._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,y(t.strm)}function v(t,e){t.pending_buf[t.pending++]=e}function _(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function b(t,e){var r,i,n=t.max_chain_length,s=t.strstart,a=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-c?t.strstart-(t.w_size-c):0,l=t.window,f=t.w_mask,u=t.prev,d=t.strstart+p,m=l[s+a-1],y=l[s+a];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(l[(r=e)+a]===y&&l[r+a-1]===m&&l[r]===l[s]&&l[++r]===l[s+1]){s+=2,r++;do{}while(l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&s<d);if(i=p-(d-s),s=d-p,a<i){if(t.match_start=e,o<=(a=i))break;m=l[s+a-1],y=l[s+a]}}}while((e=u[e&f])>h&&0!=--n);return a<=t.lookahead?a:t.lookahead}function P(t){var e,r,i,s,h,l,p,f,u,d,m=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=m+(m-c)){for(n.arraySet(t.window,t.window,m,m,0),t.match_start-=m,t.strstart-=m,t.block_start-=m,e=r=t.hash_size;i=t.head[--e],t.head[e]=m<=i?i-m:0,--r;);for(e=r=m;i=t.prev[--e],t.prev[e]=m<=i?i-m:0,--r;);s+=m}if(0===t.strm.avail_in)break;if(l=t.strm,p=t.window,f=t.strstart+t.lookahead,d=void 0,(u=s)<(d=l.avail_in)&&(d=u),r=0===d?0:(l.avail_in-=d,n.arraySet(p,l.input,l.next_in,d,f),1===l.state.wrap?l.adler=a(l.adler,p,d,f):2===l.state.wrap&&(l.adler=o(l.adler,p,d,f)),l.next_in+=d,l.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=3)for(h=t.strstart-t.insert,t.ins_h=t.window[h],t.ins_h=(t.ins_h<<t.hash_shift^t.window[h+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[h+3-1])&t.hash_mask,t.prev[h&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=h,h++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<c&&0!==t.strm.avail_in)}function S(t,e){for(var r,i;;){if(t.lookahead<c){if(P(t),t.lookahead<c&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-c&&(t.match_length=b(t,r)),t.match_length>=3)if(i=s._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else i=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(g(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(g(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(g(t,!1),0===t.strm.avail_out)?1:2}function w(t,e){for(var r,i,n;;){if(t.lookahead<c){if(P(t),t.lookahead<c&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-c&&(t.match_length=b(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&4096<t.strstart-t.match_start)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){for(n=t.strstart+t.lookahead-3,i=s._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=n&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(g(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((i=s._tr_tally(t,0,t.window[t.strstart-1]))&&g(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=s._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(g(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(g(t,!1),0===t.strm.avail_out)?1:2}function k(t,e,r,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=i,this.func=n}function E(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(1146),this.dyn_dtree=new n.Buf16(122),this.bl_tree=new n.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(16),this.heap=new n.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function x(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:f,t.adler=2===e.wrap?0:1,e.last_flush=0,s._tr_init(e),0):u(t,l)}function A(t){var e,r=x(t);return 0===r&&((e=t.state).window_size=2*e.w_size,m(e.head),e.max_lazy_match=i[e.level].max_lazy,e.good_match=i[e.level].good_length,e.nice_match=i[e.level].nice_length,e.max_chain_length=i[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function T(t,e,r,i,s,a){if(!t)return l;var o=1;if(-1===e&&(e=6),i<0?(o=0,i=-i):15<i&&(o=2,i-=16),s<1||9<s||8!==r||i<8||15<i||e<0||9<e||a<0||4<a)return u(t,l);8===i&&(i=9);var h=new E;return(t.state=h).strm=t,h.wrap=o,h.gzhead=null,h.w_bits=i,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=s+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new n.Buf8(2*h.w_size),h.head=new n.Buf16(h.hash_size),h.prev=new n.Buf16(h.w_size),h.lit_bufsize=1<<s+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new n.Buf8(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=a,h.method=r,A(t)}i=[new k(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(P(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+r;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,g(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-c&&(g(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(g(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(g(t,!1),t.strm.avail_out),1)})),new k(4,4,8,4,S),new k(4,5,16,8,S),new k(4,6,32,32,S),new k(4,4,16,16,w),new k(8,16,32,32,w),new k(8,16,128,128,w),new k(8,32,128,256,w),new k(32,128,258,1024,w),new k(32,258,258,4096,w)],r.deflateInit=function(t,e){return T(t,e,8,15,8,0)},r.deflateInit2=T,r.deflateReset=A,r.deflateResetKeep=x,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?l:(t.state.gzhead=e,0):l},r.deflate=function(t,e){var r,n,a,h;if(!t||!t.state||5<e||e<0)return t?u(t,l):l;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||666===n.status&&4!==e)return u(t,0===t.avail_out?-5:l);if(n.strm=t,r=n.last_flush,n.last_flush=e,42===n.status)if(2===n.wrap)t.adler=0,v(n,31),v(n,139),v(n,8),n.gzhead?(v(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),v(n,255&n.gzhead.time),v(n,n.gzhead.time>>8&255),v(n,n.gzhead.time>>16&255),v(n,n.gzhead.time>>24&255),v(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),v(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(v(n,255&n.gzhead.extra.length),v(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=o(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(v(n,0),v(n,0),v(n,0),v(n,0),v(n,0),v(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),v(n,3),n.status=f);else{var c=8+(n.w_bits-8<<4)<<8;c|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(c|=32),c+=31-c%31,n.status=f,_(n,c),0!==n.strstart&&(_(n,t.adler>>>16),_(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=o(t.adler,n.pending_buf,n.pending-a,a)),y(t),a=n.pending,n.pending!==n.pending_buf_size));)v(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=o(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=o(t.adler,n.pending_buf,n.pending-a,a)),y(t),a=n.pending,n.pending===n.pending_buf_size)){h=1;break}h=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,v(n,h)}while(0!==h);n.gzhead.hcrc&&n.pending>a&&(t.adler=o(t.adler,n.pending_buf,n.pending-a,a)),0===h&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=o(t.adler,n.pending_buf,n.pending-a,a)),y(t),a=n.pending,n.pending===n.pending_buf_size)){h=1;break}h=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,v(n,h)}while(0!==h);n.gzhead.hcrc&&n.pending>a&&(t.adler=o(t.adler,n.pending_buf,n.pending-a,a)),0===h&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&y(t),n.pending+2<=n.pending_buf_size&&(v(n,255&t.adler),v(n,t.adler>>8&255),t.adler=0,n.status=f)):n.status=f),0!==n.pending){if(y(t),0===t.avail_out)return n.last_flush=-1,0}else if(0===t.avail_in&&d(e)<=d(r)&&4!==e)return u(t,-5);if(666===n.status&&0!==t.avail_in)return u(t,-5);if(0!==t.avail_in||0!==n.lookahead||0!==e&&666!==n.status){var b=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(P(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(g(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(g(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(g(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,i,n,a,o=t.window;;){if(t.lookahead<=p){if(P(t),t.lookahead<=p&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(i=o[n=t.strstart-1])===o[++n]&&i===o[++n]&&i===o[++n]){a=t.strstart+p;do{}while(i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&n<a);t.match_length=p-(a-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=s._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(g(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(g(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(g(t,!1),0===t.strm.avail_out)?1:2}(n,e):i[n.level].func(n,e);if(3!==b&&4!==b||(n.status=666),1===b||3===b)return 0===t.avail_out&&(n.last_flush=-1),0;if(2===b&&(1===e?s._tr_align(n):5!==e&&(s._tr_stored_block(n,0,0,!1),3===e&&(m(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),y(t),0===t.avail_out))return n.last_flush=-1,0}return 4!==e?0:n.wrap<=0?1:(2===n.wrap?(v(n,255&t.adler),v(n,t.adler>>8&255),v(n,t.adler>>16&255),v(n,t.adler>>24&255),v(n,255&t.total_in),v(n,t.total_in>>8&255),v(n,t.total_in>>16&255),v(n,t.total_in>>24&255)):(_(n,t.adler>>>16),_(n,65535&t.adler)),y(t),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?0:1)},r.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&e!==f&&666!==e?u(t,l):(t.state=null,e===f?u(t,-3):0):l},r.deflateSetDictionary=function(t,e){var r,i,s,o,h,p,c,f,u=e.length;if(!t||!t.state)return l;if(2===(o=(r=t.state).wrap)||1===o&&42!==r.status||r.lookahead)return l;for(1===o&&(t.adler=a(t.adler,e,u,0)),r.wrap=0,u>=r.w_size&&(0===o&&(m(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new n.Buf8(r.w_size),n.arraySet(f,e,u-r.w_size,r.w_size,0),e=f,u=r.w_size),h=t.avail_in,p=t.next_in,c=t.input,t.avail_in=u,t.next_in=0,t.input=e,P(r);r.lookahead>=3;){for(i=r.strstart,s=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+3-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++,--s;);r.strstart=i,r.lookahead=2,P(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=p,t.input=c,t.avail_in=h,r.wrap=o,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,r){e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,r){e.exports=function(t,e){var r,i,n,s,a,o,h,l,p,c,f,u,d,m,y,g,v,_,b,P,S,w,k,E,x;r=t.state,i=t.next_in,E=t.input,n=i+(t.avail_in-5),s=t.next_out,x=t.output,a=s-(e-t.avail_out),o=s+(t.avail_out-257),h=r.dmax,l=r.wsize,p=r.whave,c=r.wnext,f=r.window,u=r.hold,d=r.bits,m=r.lencode,y=r.distcode,g=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;t:do{d<15&&(u+=E[i++]<<d,d+=8,u+=E[i++]<<d,d+=8),_=m[u&g];e:for(;;){if(u>>>=b=_>>>24,d-=b,0==(b=_>>>16&255))x[s++]=65535&_;else{if(!(16&b)){if(0==(64&b)){_=m[(65535&_)+(u&(1<<b)-1)];continue e}if(32&b){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}P=65535&_,(b&=15)&&(d<b&&(u+=E[i++]<<d,d+=8),P+=u&(1<<b)-1,u>>>=b,d-=b),d<15&&(u+=E[i++]<<d,d+=8,u+=E[i++]<<d,d+=8),_=y[u&v];r:for(;;){if(u>>>=b=_>>>24,d-=b,!(16&(b=_>>>16&255))){if(0==(64&b)){_=y[(65535&_)+(u&(1<<b)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(S=65535&_,d<(b&=15)&&(u+=E[i++]<<d,(d+=8)<b&&(u+=E[i++]<<d,d+=8)),h<(S+=u&(1<<b)-1)){t.msg="invalid distance too far back",r.mode=30;break t}if(u>>>=b,d-=b,(b=s-a)<S){if(p<(b=S-b)&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(k=f,(w=0)===c){if(w+=l-b,b<P){for(P-=b;x[s++]=f[w++],--b;);w=s-S,k=x}}else if(c<b){if(w+=l+c-b,(b-=c)<P){for(P-=b;x[s++]=f[w++],--b;);if(w=0,c<P){for(P-=b=c;x[s++]=f[w++],--b;);w=s-S,k=x}}}else if(w+=c-b,b<P){for(P-=b;x[s++]=f[w++],--b;);w=s-S,k=x}for(;2<P;)x[s++]=k[w++],x[s++]=k[w++],x[s++]=k[w++],P-=3;P&&(x[s++]=k[w++],1<P&&(x[s++]=k[w++]))}else{for(w=s-S;x[s++]=x[w++],x[s++]=x[w++],x[s++]=x[w++],2<(P-=3););P&&(x[s++]=x[w++],1<P&&(x[s++]=x[w++]))}break}}break}}while(i<n&&s<o);i-=P=d>>3,u&=(1<<(d-=P<<3))-1,t.next_in=i,t.next_out=s,t.avail_in=i<n?n-i+5:5-(i-n),t.avail_out=s<o?o-s+257:257-(s-o),r.hold=u,r.bits=d}},{}],49:[function(t,e,r){var i=t("../utils/common"),n=t("./adler32"),s=t("./crc32"),a=t("./inffast"),o=t("./inftrees"),h=-2;function l(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function p(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new i.Buf32(852),e.distcode=e.distdyn=new i.Buf32(592),e.sane=1,e.back=-1,0):h}function f(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,c(t)):h}function u(t,e){var r,i;return t&&t.state?(i=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?h:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=r,i.wbits=e,f(t))):h}function d(t,e){var r,i;return t?(i=new p,(t.state=i).window=null,0!==(r=u(t,e))&&(t.state=null),r):h}var m,y,g=!0;function v(t){if(g){var e;for(m=new i.Buf32(512),y=new i.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(o(1,t.lens,0,288,m,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;o(2,t.lens,0,32,y,0,t.work,{bits:5}),g=!1}t.lencode=m,t.lenbits=9,t.distcode=y,t.distbits=5}function _(t,e,r,n){var s,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new i.Buf8(a.wsize)),n>=a.wsize?(i.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(n<(s=a.wsize-a.wnext)&&(s=n),i.arraySet(a.window,e,r-n,s,a.wnext),(n-=s)?(i.arraySet(a.window,e,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=s,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=s))),0}r.inflateReset=f,r.inflateReset2=u,r.inflateResetKeep=c,r.inflateInit=function(t){return d(t,15)},r.inflateInit2=d,r.inflate=function(t,e){var r,p,c,f,u,d,m,y,g,b,P,S,w,k,E,x,A,T,C,D,I,F,M,O,R=0,z=new i.Buf8(4),L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return h;12===(r=t.state).mode&&(r.mode=13),u=t.next_out,c=t.output,m=t.avail_out,f=t.next_in,p=t.input,d=t.avail_in,y=r.hold,g=r.bits,b=d,P=m,F=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;g<16;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(2&r.wrap&&35615===y){z[r.check=0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0),g=y=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&y)){t.msg="unknown compression method",r.mode=30;break}if(g-=4,I=8+(15&(y>>>=4)),0===r.wbits)r.wbits=I;else if(I>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<I,t.adler=r.check=1,r.mode=512&y?10:12,g=y=0;break;case 2:for(;g<16;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(r.flags=y,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=y>>8&1),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0)),g=y=0,r.mode=3;case 3:for(;g<32;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}r.head&&(r.head.time=y),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,z[2]=y>>>16&255,z[3]=y>>>24&255,r.check=s(r.check,z,4,0)),g=y=0,r.mode=4;case 4:for(;g<16;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}r.head&&(r.head.xflags=255&y,r.head.os=y>>8),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0)),g=y=0,r.mode=5;case 5:if(1024&r.flags){for(;g<16;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}r.length=y,r.head&&(r.head.extra_len=y),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0)),g=y=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(d<(S=r.length)&&(S=d),S&&(r.head&&(I=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),i.arraySet(r.head.extra,p,f,S,I)),512&r.flags&&(r.check=s(r.check,p,S,f)),d-=S,f+=S,r.length-=S),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break t;for(S=0;I=p[f+S++],r.head&&I&&r.length<65536&&(r.head.name+=String.fromCharCode(I)),I&&S<d;);if(512&r.flags&&(r.check=s(r.check,p,S,f)),d-=S,f+=S,I)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break t;for(S=0;I=p[f+S++],r.head&&I&&r.length<65536&&(r.head.comment+=String.fromCharCode(I)),I&&S<d;);if(512&r.flags&&(r.check=s(r.check,p,S,f)),d-=S,f+=S,I)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;g<16;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(y!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}g=y=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;g<32;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}t.adler=r.check=l(y),g=y=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=u,t.avail_out=m,t.next_in=f,t.avail_in=d,r.hold=y,r.bits=g,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){y>>>=7&g,g-=7&g,r.mode=27;break}for(;g<3;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}switch(r.last=1&y,g-=1,3&(y>>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6!==e)break;y>>>=2,g-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}y>>>=2,g-=2;break;case 14:for(y>>>=7&g,g-=7&g;g<32;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if((65535&y)!=(y>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&y,g=y=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(S=r.length){if(d<S&&(S=d),m<S&&(S=m),0===S)break t;i.arraySet(c,p,f,S,u),d-=S,f+=S,m-=S,u+=S,r.length-=S;break}r.mode=12;break;case 17:for(;g<14;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(r.nlen=257+(31&y),y>>>=5,g-=5,r.ndist=1+(31&y),y>>>=5,g-=5,r.ncode=4+(15&y),y>>>=4,g-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;g<3;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}r.lens[L[r.have++]]=7&y,y>>>=3,g-=3}for(;r.have<19;)r.lens[L[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},F=o(0,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,F){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;x=(R=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,A=65535&R,!((E=R>>>24)<=g);){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(A<16)y>>>=E,g-=E,r.lens[r.have++]=A;else{if(16===A){for(O=E+2;g<O;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(y>>>=E,g-=E,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}I=r.lens[r.have-1],S=3+(3&y),y>>>=2,g-=2}else if(17===A){for(O=E+3;g<O;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}g-=E,I=0,S=3+(7&(y>>>=E)),y>>>=3,g-=3}else{for(O=E+7;g<O;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}g-=E,I=0,S=11+(127&(y>>>=E)),y>>>=7,g-=7}if(r.have+S>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=I}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,M={bits:r.lenbits},F=o(1,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,F){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},F=o(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,F){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=d&&258<=m){t.next_out=u,t.avail_out=m,t.next_in=f,t.avail_in=d,r.hold=y,r.bits=g,a(t,P),u=t.next_out,c=t.output,m=t.avail_out,f=t.next_in,p=t.input,d=t.avail_in,y=r.hold,g=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;x=(R=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,A=65535&R,!((E=R>>>24)<=g);){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(x&&0==(240&x)){for(T=E,C=x,D=A;x=(R=r.lencode[D+((y&(1<<T+C)-1)>>T)])>>>16&255,A=65535&R,!(T+(E=R>>>24)<=g);){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}y>>>=T,g-=T,r.back+=T}if(y>>>=E,g-=E,r.back+=E,r.length=A,0===x){r.mode=26;break}if(32&x){r.back=-1,r.mode=12;break}if(64&x){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&x,r.mode=22;case 22:if(r.extra){for(O=r.extra;g<O;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}r.length+=y&(1<<r.extra)-1,y>>>=r.extra,g-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;x=(R=r.distcode[y&(1<<r.distbits)-1])>>>16&255,A=65535&R,!((E=R>>>24)<=g);){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(0==(240&x)){for(T=E,C=x,D=A;x=(R=r.distcode[D+((y&(1<<T+C)-1)>>T)])>>>16&255,A=65535&R,!(T+(E=R>>>24)<=g);){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}y>>>=T,g-=T,r.back+=T}if(y>>>=E,g-=E,r.back+=E,64&x){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&x,r.mode=24;case 24:if(r.extra){for(O=r.extra;g<O;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}r.offset+=y&(1<<r.extra)-1,y>>>=r.extra,g-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===m)break t;if(S=P-m,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}w=S>r.wnext?(S-=r.wnext,r.wsize-S):r.wnext-S,S>r.length&&(S=r.length),k=r.window}else k=c,w=u-r.offset,S=r.length;for(m<S&&(S=m),m-=S,r.length-=S;c[u++]=k[w++],--S;);0===r.length&&(r.mode=21);break;case 26:if(0===m)break t;c[u++]=r.length,m--,r.mode=21;break;case 27:if(r.wrap){for(;g<32;){if(0===d)break t;d--,y|=p[f++]<<g,g+=8}if(P-=m,t.total_out+=P,r.total+=P,P&&(t.adler=r.check=r.flags?s(r.check,c,P,u-P):n(r.check,c,P,u-P)),P=m,(r.flags?y:l(y))!==r.check){t.msg="incorrect data check",r.mode=30;break}g=y=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;g<32;){if(0===d)break t;d--,y+=p[f++]<<g,g+=8}if(y!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}g=y=0}r.mode=29;case 29:F=1;break t;case 30:F=-3;break t;case 31:return-4;case 32:default:return h}return t.next_out=u,t.avail_out=m,t.next_in=f,t.avail_in=d,r.hold=y,r.bits=g,(r.wsize||P!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&_(t,t.output,t.next_out,P-t.avail_out)?(r.mode=31,-4):(b-=t.avail_in,P-=t.avail_out,t.total_in+=b,t.total_out+=P,r.total+=P,r.wrap&&P&&(t.adler=r.check=r.flags?s(r.check,c,P,t.next_out-P):n(r.check,c,P,t.next_out-P)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==b&&0===P||4===e)&&0===F&&(F=-5),F)},r.inflateEnd=function(t){if(!t||!t.state)return h;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?h:((r.head=e).done=!1,0):h},r.inflateSetDictionary=function(t,e){var r,i=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?h:11===r.mode&&n(1,e,i,0)!==r.check?-3:_(t,e,i,i)?(r.mode=31,-4):(r.havedict=1,0):h},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,r){var i=t("../utils/common"),n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,h,l,p,c,f){var u,d,m,y,g,v,_,b,P,S=f.bits,w=0,k=0,E=0,x=0,A=0,T=0,C=0,D=0,I=0,F=0,M=null,O=0,R=new i.Buf16(16),z=new i.Buf16(16),L=null,B=0;for(w=0;w<=15;w++)R[w]=0;for(k=0;k<h;k++)R[e[r+k]]++;for(A=S,x=15;1<=x&&0===R[x];x--);if(x<A&&(A=x),0===x)return l[p++]=20971520,l[p++]=20971520,f.bits=1,0;for(E=1;E<x&&0===R[E];E++);for(A<E&&(A=E),w=D=1;w<=15;w++)if(D<<=1,(D-=R[w])<0)return-1;if(0<D&&(0===t||1!==x))return-1;for(z[1]=0,w=1;w<15;w++)z[w+1]=z[w]+R[w];for(k=0;k<h;k++)0!==e[r+k]&&(c[z[e[r+k]]++]=k);if(v=0===t?(M=L=c,19):1===t?(M=n,O-=257,L=s,B-=257,256):(M=a,L=o,-1),w=E,g=p,C=k=F=0,m=-1,y=(I=1<<(T=A))-1,1===t&&852<I||2===t&&592<I)return 1;for(;;){for(_=w-C,P=c[k]<v?(b=0,c[k]):c[k]>v?(b=L[B+c[k]],M[O+c[k]]):(b=96,0),u=1<<w-C,E=d=1<<T;l[g+(F>>C)+(d-=u)]=_<<24|b<<16|P|0,0!==d;);for(u=1<<w-1;F&u;)u>>=1;if(0!==u?(F&=u-1,F+=u):F=0,k++,0==--R[w]){if(w===x)break;w=e[r+c[k]]}if(A<w&&(F&y)!==m){for(0===C&&(C=A),g+=E,D=1<<(T=w-C);T+C<x&&!((D-=R[T+C])<=0);)T++,D<<=1;if(I+=1<<T,1===t&&852<I||2===t&&592<I)return 1;l[m=F&y]=A<<24|T<<16|g-p|0}}return 0!==F&&(l[g+F]=w-C<<24|64<<16|0),f.bits=A,0}},{"../utils/common":41}],51:[function(t,e,r){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,r){var i=t("../utils/common");function n(t){for(var e=t.length;0<=--e;)t[e]=0}var s=15,a=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],o=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=new Array(576);n(p);var c=new Array(60);n(c);var f=new Array(512);n(f);var u=new Array(256);n(u);var d=new Array(29);n(d);var m,y,g,v=new Array(30);function _(t,e,r,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}function b(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function P(t){return t<256?f[t]:f[256+(t>>>7)]}function S(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function w(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,S(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function k(t,e,r){w(t,r[2*e],r[2*e+1])}function E(t,e){for(var r=0;r|=1&t,t>>>=1,r<<=1,0<--e;);return r>>>1}function x(t,e,r){var i,n,a=new Array(16),o=0;for(i=1;i<=s;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var h=t[2*n+1];0!==h&&(t[2*n]=E(a[h]++,h))}}function A(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8<t.bi_valid?S(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function C(t,e,r,i){var n=2*e,s=2*r;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[r]}function D(t,e,r){for(var i=t.heap[r],n=r<<1;n<=t.heap_len&&(n<t.heap_len&&C(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!C(e,i,t.heap[n],t.depth));)t.heap[r]=t.heap[n],r=n,n<<=1;t.heap[r]=i}function I(t,e,r){var i,n,s,h,l=0;if(0!==t.last_lit)for(;i=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],n=t.pending_buf[t.l_buf+l],l++,0===i?k(t,n,e):(k(t,(s=u[n])+256+1,e),0!==(h=a[s])&&w(t,n-=d[s],h),k(t,s=P(--i),r),0!==(h=o[s])&&w(t,i-=v[s],h)),l<t.last_lit;);k(t,256,e)}function F(t,e){var r,i,n,a=e.dyn_tree,o=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,p=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<l;r++)0!==a[2*r]?(t.heap[++t.heap_len]=p=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)a[2*(n=t.heap[++t.heap_len]=p<2?++p:0)]=1,t.depth[n]=0,t.opt_len--,h&&(t.static_len-=o[2*n+1]);for(e.max_code=p,r=t.heap_len>>1;1<=r;r--)D(t,a,r);for(n=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],D(t,a,1),i=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=i,a[2*n]=a[2*r]+a[2*i],t.depth[n]=(t.depth[r]>=t.depth[i]?t.depth[r]:t.depth[i])+1,a[2*r+1]=a[2*i+1]=n,t.heap[1]=n++,D(t,a,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,i,n,a,o,h,l=e.dyn_tree,p=e.max_code,c=e.stat_desc.static_tree,f=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,m=e.stat_desc.max_length,y=0;for(a=0;a<=s;a++)t.bl_count[a]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)m<(a=l[2*l[2*(i=t.heap[r])+1]+1]+1)&&(a=m,y++),l[2*i+1]=a,p<i||(t.bl_count[a]++,o=0,d<=i&&(o=u[i-d]),h=l[2*i],t.opt_len+=h*(a+o),f&&(t.static_len+=h*(c[2*i+1]+o)));if(0!==y){do{for(a=m-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[m]--,y-=2}while(0<y);for(a=m;0!==a;a--)for(i=t.bl_count[a];0!==i;)p<(n=t.heap[--r])||(l[2*n+1]!==a&&(t.opt_len+=(a-l[2*n+1])*l[2*n],l[2*n+1]=a),i--)}}(t,e),x(a,p,t.bl_count)}function M(t,e,r){var i,n,s=-1,a=e[1],o=0,h=7,l=4;for(0===a&&(h=138,l=3),e[2*(r+1)+1]=65535,i=0;i<=r;i++)n=a,a=e[2*(i+1)+1],++o<h&&n===a||(o<l?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=n,l=(o=0)===a?(h=138,3):n===a?(h=6,3):(h=7,4))}function O(t,e,r){var i,n,s=-1,a=e[1],o=0,h=7,l=4;for(0===a&&(h=138,l=3),i=0;i<=r;i++)if(n=a,a=e[2*(i+1)+1],!(++o<h&&n===a)){if(o<l)for(;k(t,n,t.bl_tree),0!=--o;);else 0!==n?(n!==s&&(k(t,n,t.bl_tree),o--),k(t,16,t.bl_tree),w(t,o-3,2)):o<=10?(k(t,17,t.bl_tree),w(t,o-3,3)):(k(t,18,t.bl_tree),w(t,o-11,7));s=n,l=(o=0)===a?(h=138,3):n===a?(h=6,3):(h=7,4)}}n(v);var R=!1;function z(t,e,r,n){var s,a,o;w(t,0+(n?1:0),3),a=e,o=r,T(s=t),S(s,o),S(s,~o),i.arraySet(s.pending_buf,s.window,a,o,s.pending),s.pending+=o}r._tr_init=function(t){R||(function(){var t,e,r,i,n,l=new Array(16);for(i=r=0;i<28;i++)for(d[i]=r,t=0;t<1<<a[i];t++)u[r++]=i;for(u[r-1]=i,i=n=0;i<16;i++)for(v[i]=n,t=0;t<1<<o[i];t++)f[n++]=i;for(n>>=7;i<30;i++)for(v[i]=n<<7,t=0;t<1<<o[i]-7;t++)f[256+n++]=i;for(e=0;e<=s;e++)l[e]=0;for(t=0;t<=143;)p[2*t+1]=8,t++,l[8]++;for(;t<=255;)p[2*t+1]=9,t++,l[9]++;for(;t<=279;)p[2*t+1]=7,t++,l[7]++;for(;t<=287;)p[2*t+1]=8,t++,l[8]++;for(x(p,287,l),t=0;t<30;t++)c[2*t+1]=5,c[2*t]=E(t,5);m=new _(p,a,257,286,s),y=new _(c,o,0,30,s),g=new _(new Array(0),h,0,19,7)}(),R=!0),t.l_desc=new b(t.dyn_ltree,m),t.d_desc=new b(t.dyn_dtree,y),t.bl_desc=new b(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,A(t)},r._tr_stored_block=z,r._tr_flush_block=function(t,e,r,i){var n,s,a=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),F(t,t.l_desc),F(t,t.d_desc),a=function(t){var e;for(M(t,t.dyn_ltree,t.l_desc.max_code),M(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),n=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=n&&(n=s)):n=s=r+5,r+4<=n&&-1!==e?z(t,e,r,i):4===t.strategy||s===n?(w(t,2+(i?1:0),3),I(t,p,c)):(w(t,4+(i?1:0),3),function(t,e,r,i){var n;for(w(t,e-257,5),w(t,r-1,5),w(t,i-4,4),n=0;n<i;n++)w(t,t.bl_tree[2*l[n]+1],3);O(t,t.dyn_ltree,e-1),O(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),I(t,t.dyn_ltree,t.dyn_dtree)),A(t),i&&T(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(u[r]+256+1)]++,t.dyn_dtree[2*P(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;w(t,2,3),k(t,256,p),16===(e=t).bi_valid?(S(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))})),_templateObject$1,styles=r$3(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n\n :host {\n --lottie-player-toolbar-height: 35px;\n --lottie-player-toolbar-background-color: transparent;\n --lottie-player-toolbar-icon-color: #999;\n --lottie-player-toolbar-icon-hover-color: #222;\n --lottie-player-toolbar-icon-active-color: #555;\n --lottie-player-seeker-track-color: #ccc;\n --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n --lottie-player-seeker-display: block;\n\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .main {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .animation {\n width: 100%;\n height: 100%;\n display: flex;\n }\n .animation.controls {\n height: calc(100% - 35px);\n }\n\n .toolbar {\n display: flex;\n align-items: center;\n justify-items: center;\n background-color: var(--lottie-player-toolbar-background-color);\n margin: 0 5px;\n height: 35px;\n }\n\n .toolbar button {\n cursor: pointer;\n fill: var(--lottie-player-toolbar-icon-color);\n display: flex;\n background: none;\n border: 0;\n padding: 0;\n outline: none;\n height: 100%;\n }\n\n .toolbar button:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button.active {\n fill: var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button.active:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button:focus {\n outline: 1px dotted var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button svg {\n }\n\n .toolbar button.disabled svg {\n display: none;\n }\n\n .seeker {\n -webkit-appearance: none;\n width: 95%;\n outline: none;\n background-color: var(--lottie-player-toolbar-background-color);\n display: var(--lottie-player-seeker-display);\n }\n\n .seeker::-webkit-slider-runnable-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-webkit-slider-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -5px;\n }\n .seeker:focus::-webkit-slider-runnable-track {\n background: #999;\n }\n .seeker::-moz-range-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-moz-range-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker::-ms-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n }\n .seeker::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker:focus::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n }\n .seeker:focus::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n }\n\n .error {\n display: flex;\n margin: auto;\n justify-content: center;\n height: 100%;\n align-items: center;\n }\n"]))),_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;function fetchPath(t){var e;const r=null===(e=t.split(".").pop())||void 0===e?void 0:e.toLowerCase();let i=!1;return"json"===r&&(i=!0),new Promise((e,r)=>{const n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType=i?"json":"arraybuffer",n.send(),n.onreadystatechange=function(){4==n.readyState&&200==n.status&&(i&&e(n.response),jszip.loadAsync(n.response).then(t=>{t.file("manifest.json").async("string").then(r=>{const i=JSON.parse(r);if(!("animations"in i))throw new Error("Manifest not found");if(0===i.animations.length)throw new Error("No animations listed in the manifest");const n=i.animations[0];t.file("animations/".concat(n.id,".json")).async("string").then(r=>{const i=JSON.parse(r);"assets"in i&&Promise.all(i.assets.map(e=>{if(e.p&&null!=t.file("images/".concat(e.p)))return new Promise(r=>{const i=e.p.split(".").pop();t.file("images/".concat(e.p)).async("base64").then(t=>{e.p="svg"===i||"svg+xml"===i?"data:image/svg+xml;base64,"+t:"data:;base64,"+t,e.e=1,r()})})})).then(()=>{e(i)})})})}).catch(t=>{r(t)}))}})}exports.PlayerState=void 0,PlayerState=exports.PlayerState||(exports.PlayerState={}),PlayerState.Loading="loading",PlayerState.Playing="playing",PlayerState.Paused="paused",PlayerState.Stopped="stopped",PlayerState.Frozen="frozen",PlayerState.Error="error",exports.PlayMode=void 0,PlayMode=exports.PlayMode||(exports.PlayMode={}),PlayMode.Normal="normal",PlayMode.Bounce="bounce",exports.PlayerEvents=void 0,PlayerEvents=exports.PlayerEvents||(exports.PlayerEvents={}),PlayerEvents.Load="load",PlayerEvents.Error="error",PlayerEvents.Ready="ready",PlayerEvents.Play="play",PlayerEvents.Pause="pause",PlayerEvents.Stop="stop",PlayerEvents.Freeze="freeze",PlayerEvents.Loop="loop",PlayerEvents.Complete="complete",PlayerEvents.Frame="frame",exports.DotLottiePlayer=class extends s{constructor(){super(...arguments),this.mode=exports.PlayMode.Normal,this.autoplay=!1,this.background="transparent",this.controls=!1,this.direction=1,this.hover=!1,this.loop=!1,this.renderer="svg",this.speed=1,this.currentState=exports.PlayerState.Loading,this.intermission=1,this._counter=0}_onVisibilityChange(){document.hidden&&this.currentState===exports.PlayerState.Playing?this.freeze():this.currentState===exports.PlayerState.Frozen&&this.play()}_handleSeekChange(t){if(!this._lottie||isNaN(t.target.value))return;const e=t.target.value/100*this._lottie.totalFrames;this.seek(e)}isLottie(t){return["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}async load(t,e){if(!this.shadowRoot)return;const r={container:this.container,loop:!1,autoplay:!1,renderer:this.renderer,rendererSettings:e||{scaleMode:"noScale",clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{let e;if("string"==typeof t){if(e=await fetchPath(t),void 0===e)throw new Error("[dotLottie] No animation to load!");if(!this.isLottie(e))throw new Error("[dotLottie] Load method failing. Object is not a valid Lottie.")}else if("object"==typeof t&&(e=t,!this.isLottie(e)))throw new Error("[dotLottie] Load method failing. Object is not a valid Lottie.");this._lottie&&this._lottie.destroy(),this._lottie=lottie_svg.loadAnimation(Object.assign(Object.assign({},r),{animationData:e}))}catch(t){return this.currentState=exports.PlayerState.Error,void this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))}this._lottie&&(this._lottie.addEventListener("enterFrame",()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))}),this._lottie.addEventListener("complete",()=>{this.currentState===exports.PlayerState.Playing?!this.loop||this.count&&this._counter>=this.count?this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Complete)):this.mode===exports.PlayMode.Bounce?(this.count&&(this._counter+=.5),setTimeout(()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Loop)),this.currentState===exports.PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())},this.intermission)):(this.count&&(this._counter+=1),window.setTimeout(()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Loop)),this.currentState===exports.PlayerState.Playing&&(this._lottie.stop(),this._lottie.play())},this.intermission)):this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Complete))}),this._lottie.addEventListener("DOMLoaded",()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Ready))}),this._lottie.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Load))}),this._lottie.addEventListener("data_failed",()=>{this.currentState=exports.PlayerState.Error,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))}),this.container.addEventListener("mouseenter",()=>{this.hover&&this.currentState!==exports.PlayerState.Playing&&this.play()}),this.container.addEventListener("mouseleave",()=>{this.hover&&this.currentState===exports.PlayerState.Playing&&this.stop()}),this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&this.play())}getLottie(){return this._lottie}play(){this._lottie&&(this._lottie.play(),this.currentState=exports.PlayerState.Playing,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=exports.PlayerState.Paused,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=0,this._lottie.stop(),this.currentState=exports.PlayerState.Stopped,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Stop)))}seek(t){if(!this._lottie)return;const e=t.toString().match(/^([0-9]+)(%?)$/);if(!e)return;const r="%"===e[2]?this._lottie.totalFrames*Number(e[1])/100:e[1];this.seeker=r,this.currentState===exports.PlayerState.Playing?this._lottie.goToAndPlay(r,!0):(this._lottie.goToAndStop(r,!0),this._lottie.pause())}snapshot(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.shadowRoot)return;const e=this.shadowRoot.querySelector(".animation svg"),r=(new XMLSerializer).serializeToString(e);if(t){const t=document.createElement("a");t.href="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(r),t.download="download_"+this.seeker+".svg",document.body.appendChild(t),t.click(),document.body.removeChild(t)}return r}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=exports.PlayerState.Frozen,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Freeze)))}setSpeed(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(t)}setDirection(t){this._lottie&&this._lottie.setDirection(t)}setLooping(t){this._lottie&&(this.loop=t,this._lottie.loop=t)}togglePlay(){return this.currentState===exports.PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}static get styles(){return styles}async firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver(t=>{t[0].isIntersecting?this.currentState===exports.PlayerState.Frozen&&this.play():this.currentState===exports.PlayerState.Playing&&this.freeze()}),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange()),this.src&&await this.load(this.src)}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",()=>this._onVisibilityChange())}renderControls(){const t=this.currentState===exports.PlayerState.Playing,e=this.currentState===exports.PlayerState.Paused,r=this.currentState===exports.PlayerState.Stopped;return $(_templateObject||(_templateObject=_taggedTemplateLiteral(['\n <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">\n <button\n id="lottie-play-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="play-pause"\n >\n ','\n </button>\n <button\n id="lottie-stop-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="stop"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path d="M6 6h12v12H6V6z" />\n </svg>\n </button>\n <input\n id="lottie-seeker-input"\n class="seeker"\n type="range"\n min="0"\n step="1"\n max="100"\n .value=',"\n @input=","\n @mousedown=","\n @mouseup=",'\n aria-valuemin="1"\n aria-valuemax="100"\n role="slider"\n aria-valuenow=','\n tabindex="0"\n aria-label="lottie-seek-input"\n />\n <button\n id="lottie-loop-toggle"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="loop-toggle"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path\n d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"\n />\n </svg>\n </button>\n </div>\n '])),this.togglePlay,t||e?"active":"",$(t?_templateObject2||(_templateObject2=_taggedTemplateLiteral(['\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" />\n </svg>\n '])):_templateObject3||(_templateObject3=_taggedTemplateLiteral(['\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n </svg>\n ']))),this.stop,r?"active":"",this.seeker,this._handleSeekChange,()=>{this._prevState=this.currentState,this.freeze()},()=>{this._prevState===exports.PlayerState.Playing&&this.play()},this.seeker,this.toggleLooping,this.loop?"active":"")}render(){const t=this.controls?"main controls":"main",e=this.controls?"animation controls":"animation";return $(_templateObject4||(_templateObject4=_taggedTemplateLiteral(['\n <div id="animation-container" class=',' lang="en" role="img">\n <div id="animation" class=',' style="background:',';">\n ',"\n </div>\n ","\n </div>\n "])),t,e,this.background,this.currentState===exports.PlayerState.Error?$(_templateObject5||(_templateObject5=_taggedTemplateLiteral(['\n <div class="error">⚠️</div>\n ']))):void 0,this.controls?this.renderControls():void 0)}},__decorate([i(".animation")],exports.DotLottiePlayer.prototype,"container",void 0),__decorate([e$5()],exports.DotLottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:Boolean})],exports.DotLottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],exports.DotLottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],exports.DotLottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],exports.DotLottiePlayer.prototype,"count",void 0),__decorate([e$5({type:Number})],exports.DotLottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],exports.DotLottiePlayer.prototype,"hover",void 0),__decorate([e$5({type:Boolean,reflect:!0})],exports.DotLottiePlayer.prototype,"loop",void 0),__decorate([e$5({type:String})],exports.DotLottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:Number})],exports.DotLottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],exports.DotLottiePlayer.prototype,"src",void 0),__decorate([e$5({type:String})],exports.DotLottiePlayer.prototype,"currentState",void 0),__decorate([e$5()],exports.DotLottiePlayer.prototype,"seeker",void 0),__decorate([e$5()],exports.DotLottiePlayer.prototype,"intermission",void 0),exports.DotLottiePlayer=__decorate([n$1("dotlottie-player")],exports.DotLottiePlayer),exports.fetchPath=fetchPath,Object.defineProperty(exports,"__esModule",{value:!0})}));
113
+ //# sourceMappingURL=dotlottie-player.js.map
build/blocks/accordion-item/block.json CHANGED
@@ -15,9 +15,12 @@
15
  "initialOpen": {
16
  "type": "boolean",
17
  "default": false
18
- }
19
- },
 
 
 
20
  "supports": {
21
  "reusable": false
22
  }
23
- }
15
  "initialOpen": {
16
  "type": "boolean",
17
  "default": false
18
+ },
19
+ "tag": {
20
+ "type": "string"
21
+ }
22
+ },
23
  "supports": {
24
  "reusable": false
25
  }
26
+ }
build/blocks/accordion.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array(), 'version' => 'ef5cc1f0963e0995c135');
build/blocks/accordion.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(){"use strict";var e;e=()=>{document.querySelectorAll(".wp-block-themeisle-blocks-accordion").forEach((e=>{(e=>{e.classList.contains("exclusive")&&Array.from(e.children).forEach((t=>{t.addEventListener("click",(()=>{t.open||Array.from(e.children).filter((e=>e.open)).forEach((e=>{e.removeAttribute("open")}))}))}))})(e),(e=>{if(!e.dataset.hasSchema)return;const t=[];Array.from(e.children).forEach((e=>{const n=e.querySelectorAll(".wp-block-themeisle-blocks-accordion-item__title")[0].innerText,c=e.querySelectorAll(".wp-block-themeisle-blocks-accordion-item__content")[0].querySelectorAll("p, h1, h2, h3, h4, h5, h6"),r=Array.from(c).reduce(((e,t)=>`${e} ${t.innerHTML}`),"");t.push({"@type":"Question",name:n,acceptedAnswer:{"@type":"Answer",text:r}})}));const n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:t},c=document.createElement("script");c.setAttribute("type","application/ld+json"),c.textContent=JSON.stringify(n),document.head.appendChild(c)})(e)}))},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}();
build/blocks/accordion/block.json CHANGED
@@ -11,8 +11,11 @@
11
  "id": {
12
  "type": "string"
13
  },
 
 
 
14
  "gap": {
15
- "type": "string"
16
  },
17
  "titleColor": {
18
  "type": "string"
@@ -23,16 +26,83 @@
23
  "contentBackground": {
24
  "type": "string"
25
  },
26
- "borderColor": {
27
- "type": "string"
28
- },
 
 
 
29
  "isSynced": {
30
  "type": "array"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
- },
33
  "supports": {
34
  "html": false
35
  },
36
  "editorStyle": "otter-accordion-editor",
37
- "style": "otter-accordion-style"
38
- }
 
11
  "id": {
12
  "type": "string"
13
  },
14
+ "FAQSchema": {
15
+ "type": "boolean"
16
+ },
17
  "gap": {
18
+ "type": [ "string", "number" ]
19
  },
20
  "titleColor": {
21
  "type": "string"
26
  "contentBackground": {
27
  "type": "string"
28
  },
29
+ "borderColor": {
30
+ "type": "string"
31
+ },
32
+ "borderWidth": {
33
+ "type": "string"
34
+ },
35
  "isSynced": {
36
  "type": "array"
37
+ },
38
+ "fontFamily": {
39
+ "type": "string"
40
+ },
41
+ "fontVariant": {
42
+ "type": "string"
43
+ },
44
+ "fontStyle": {
45
+ "type": "string"
46
+ },
47
+ "textTransform": {
48
+ "type": "string"
49
+ },
50
+ "fontSize": {
51
+ "type": "number"
52
+ },
53
+ "letterSpacing": {
54
+ "type": "string"
55
+ },
56
+ "padding": {
57
+ "type": "object"
58
+ },
59
+ "paddingTablet": {
60
+ "type": "object"
61
+ },
62
+ "paddingMobile": {
63
+ "type": "object"
64
+ },
65
+ "tag": {
66
+ "type": "string"
67
+ },
68
+ "alwaysOpen": {
69
+ "type": "boolean"
70
+ },
71
+ "boxShadow": {
72
+ "type": "object",
73
+ "default": {
74
+ "active": false,
75
+ "colorOpacity": 50,
76
+ "blur": 5,
77
+ "spread": 1,
78
+ "horizontal": 0,
79
+ "vertical": 0
80
+ }
81
+ },
82
+ "iconFirst": {
83
+ "type": "boolean",
84
+ "default": false
85
+ },
86
+ "activeTitleColor": {
87
+ "type": "string"
88
+ },
89
+ "activeTitleBackground": {
90
+ "type": "string"
91
+ },
92
+ "activeContentBackground": {
93
+ "type": "string"
94
+ },
95
+ "icon": {
96
+ "type": "object"
97
+ },
98
+ "openItemIcon": {
99
+ "type": "object"
100
  }
101
+ },
102
  "supports": {
103
  "html": false
104
  },
105
  "editorStyle": "otter-accordion-editor",
106
+ "style": "otter-accordion-style",
107
+ "script": "otter-accordion"
108
+ }
build/blocks/accordion/editor.css CHANGED
@@ -1 +1 @@
1
- .wp-block-themeisle-blocks-accordion{--title-color: #1e1e1e;--title-background: #ffffff;--border-color: #d5dadf;--content-background: #ffffff;margin:20px auto}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title{display:flex;justify-content:space-between;align-items:center;color:var(--title-color);background:var(--title-background);border:1px solid var(--border-color);padding:18px 24px;cursor:pointer}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title .block-editor-rich-text__editable{cursor:text}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title svg{fill:var(--title-color);width:24px;height:24px}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title:hover{filter:brightness(0.95)}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__content{background:var(--content-background);border:1px solid var(--border-color);border-top:none;padding:18px 24px}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item:not([data-align=full]){max-width:100%}.wp-block-themeisle-blocks-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:0}.wp-block-themeisle-blocks-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{position:relative}.wp-block-themeisle-blocks-accordion:not(.is-narrow-gap):not(.is-wide-gap):not(.is-wider-gap)>.block-editor-inner-blocks>.block-editor-block-list__layout .block-editor-block-list__block:not(:first-child)>div:not(.wp-block-themeisle-blocks-accordion)>.wp-block-themeisle-blocks-accordion-item__title{border-top:none}.wp-block-themeisle-blocks-accordion.is-narrow-gap>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:5px 0}.wp-block-themeisle-blocks-accordion.is-wide-gap>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:10px 0}.wp-block-themeisle-blocks-accordion.is-wider-gap>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:20px 0}/*# sourceMappingURL=editor.css.map */
1
+ .wp-block-themeisle-blocks-accordion{margin:20px auto;--title-color: initial;--title-background: initial;--content-background: initial;--border-width: 1px;--border-style: solid;--border-color: #ccc;--box-shadow: none;--padding: 18px 24px 18px 24px;--padding-tablet: var(--padding);--padding-mobile: var(--padding-tablet)}.wp-block-themeisle-blocks-accordion-item{box-shadow:var(--box-shadow);margin:var(--gap) 0}.wp-block-themeisle-blocks-accordion-item__title{position:relative;z-index:2;color:var(--title-color);background:var(--title-background);padding:var(--padding);list-style:none;cursor:pointer;user-select:none;display:grid;grid-template-columns:auto min-content;align-items:center}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item__title>*{margin:0}.wp-block-themeisle-blocks-accordion-item__title svg{width:24px;height:24px}.wp-block-themeisle-blocks-accordion-item__title::-webkit-details-marker,.wp-block-themeisle-blocks-accordion-item__title::marker{display:none}@media(max-width: 960px){.wp-block-themeisle-blocks-accordion-item__title{padding:var(--padding-tablet)}}@media(max-width: 600px){.wp-block-themeisle-blocks-accordion-item__title{padding:var(--padding-mobile)}}.wp-block-themeisle-blocks-accordion-item__content{position:relative;z-index:2;background:var(--content-background);padding:var(--padding)}@media(max-width: 960px){.wp-block-themeisle-blocks-accordion-item__content{padding:var(--padding-tablet)}}@media(max-width: 600px){.wp-block-themeisle-blocks-accordion-item__content{padding:var(--padding-mobile)}}.wp-block-themeisle-blocks-accordion.is-style-boxed .wp-block-themeisle-blocks-accordion-item__title{border:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion.is-style-boxed .wp-block-themeisle-blocks-accordion-item__content{border:var(--border-width) var(--border-style) var(--border-color);border-top:none}.wp-block-themeisle-blocks-accordion.is-style-boxed.no-gap>.wp-block-themeisle-blocks-accordion-item:not(:first-child) .wp-block-themeisle-blocks-accordion-item__title,.wp-block-themeisle-blocks-accordion.is-style-boxed:not(.is-narrow-gap):not(.is-wide-gap):not(.is-wider-gap):not(.has-gap)>.wp-block-themeisle-blocks-accordion-item:not(:first-child) .wp-block-themeisle-blocks-accordion-item__title{border-top:none}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title{border:0;border-top:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__content{border:0}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item:last-child:not([open]):not(.is-open)>.wp-block-themeisle-blocks-accordion-item__title{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item:last-child>.wp-block-themeisle-blocks-accordion-item__content{border:0;border-bottom:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion.is-narrow-gap>.wp-block-themeisle-blocks-accordion-item{margin:5px 0}.wp-block-themeisle-blocks-accordion.is-wide-gap>.wp-block-themeisle-blocks-accordion-item{margin:10px 0}.wp-block-themeisle-blocks-accordion.is-wider-gap>.wp-block-themeisle-blocks-accordion-item{margin:20px 0}.wp-block-themeisle-blocks-accordion.icon-first>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:24px}.wp-block-themeisle-blocks-accordion:not(.has-icon)>.wp-block-themeisle-blocks-accordion-item:not([open])>.wp-block-themeisle-blocks-accordion-item__title::after,.wp-block-themeisle-blocks-accordion:not(.has-open-icon)>.wp-block-themeisle-blocks-accordion-item[open]>.wp-block-themeisle-blocks-accordion-item__title::after{content:"";justify-self:end;align-self:center;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px}.wp-block-themeisle-blocks-accordion:not(.has-icon)>.wp-block-themeisle-blocks-accordion-item:not([open])>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(45deg) translate(-25%, 0%)}.wp-block-themeisle-blocks-accordion:not(.has-open-icon)>.wp-block-themeisle-blocks-accordion-item[open]>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(225deg) translate(0%, -45%)}.wp-block-themeisle-blocks-accordion{border:none}.wp-block-themeisle-blocks-accordion-item{border:none;margin:var(--gap) 0}.wp-block-themeisle-blocks-accordion-item:not([data-align=full]){max-width:100%}.wp-block-themeisle-blocks-accordion-item__title{cursor:pointer}.wp-block-themeisle-blocks-accordion-item__title .block-editor-rich-text__editable{cursor:text}.wp-block-themeisle-blocks-accordion-item__title>*{margin-bottom:0}.wp-block-themeisle-blocks-accordion-item__title svg{fill:var(--title-color);width:24px;height:24px}.wp-block-themeisle-blocks-accordion-item__title:hover{filter:brightness(0.95)}.wp-block-themeisle-blocks-accordion-item:not([data-align=full]){max-width:100%}.wp-block-themeisle-blocks-accordion.icon-first>*>*>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:24px}.wp-block-themeisle-blocks-accordion.is-style-boxed .wp-block-themeisle-blocks-accordion-item__title{border:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion.is-style-boxed .wp-block-themeisle-blocks-accordion-item__content{border:var(--border-width) var(--border-style) var(--border-color);border-top:none}.wp-block-themeisle-blocks-accordion.is-style-boxed.no-gap>*>*>.wp-block-themeisle-blocks-accordion-item:not(:first-child) .wp-block-themeisle-blocks-accordion-item__title,.wp-block-themeisle-blocks-accordion.is-style-boxed:not(.is-narrow-gap):not(.is-wide-gap):not(.is-wider-gap):not(.has-gap)>*>*>.wp-block-themeisle-blocks-accordion-item:not(:first-child) .wp-block-themeisle-blocks-accordion-item__title{border-top:none}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>*>*>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title{border:0;border-top:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>*>*>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__content{border:0}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>*>*>.wp-block-themeisle-blocks-accordion-item:last-child:not([open]):not(.is-open)>.wp-block-themeisle-blocks-accordion-item__title{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>*>*>.wp-block-themeisle-blocks-accordion-item:last-child>.wp-block-themeisle-blocks-accordion-item__content{border:0;border-bottom:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{position:relative}.wp-block-themeisle-blocks-accordion.is-narrow-gap>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:5px 0}.wp-block-themeisle-blocks-accordion.is-wide-gap>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:10px 0}.wp-block-themeisle-blocks-accordion.is-wider-gap>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{margin:20px 0}.wp-block-themeisle-blocks-accordion:not(.has-icon)>*>*>.wp-block-themeisle-blocks-accordion-item:not(.is-open)>.wp-block-themeisle-blocks-accordion-item__title::after,.wp-block-themeisle-blocks-accordion:not(.has-open-icon)>*>*>.wp-block-themeisle-blocks-accordion-item.is-open>.wp-block-themeisle-blocks-accordion-item__title::after{content:"";justify-self:end;align-self:center;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px}.wp-block-themeisle-blocks-accordion:not(.has-icon)>*>*>.wp-block-themeisle-blocks-accordion-item:not(.is-open)>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(45deg) translate(-25%, 0%)}.wp-block-themeisle-blocks-accordion:not(.has-open-icon)>*>*>.wp-block-themeisle-blocks-accordion-item.is-open>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(225deg) translate(0%, -45%)}.accordion-border-control .components-range-control{margin:0 10px !important}/*# sourceMappingURL=editor.css.map */
build/blocks/accordion/editor.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/accordion/editor.scss"],"names":[],"mappings":"AAAA,qCACC,uBACA,4BACA,wBACA,8BAEA,iBAGC,gIACC,aACA,8BACA,mBACA,yBACA,mCACA,qCACA,kBACA,eAEA,kKACC,YAGD,oIACC,wBACA,WACA,YAGD,sIACC,wBAIF,kIACC,qCACA,qCACA,gBACA,kBAGD,sGACC,eAMA,iIACC,SAGD,sHACC,kBAWG,2SACC,gBAYJ,+IACC,aASD,6IACC,cASD,8IACC","file":"editor.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/accordion/style.scss","../../../src/blocks/blocks/accordion/editor.scss"],"names":[],"mappings":"AAAA,qCAEC,iBAEA,uBACA,4BACA,8BAEA,oBACA,sBACA,qBACA,mBAEA,+BACA,iCACA,wCAEA,0CACC,6BACA,oBAEA,iDAEC,kBACA,UAEA,yBACA,mCAEA,uBAOA,gBACA,eACA,iBAEA,aACA,uCACA,mBAVA,wFACC,SAWD,qDACC,WACA,YAGD,kIAEC,aAGD,yBAjCD,iDAkCE,+BAGD,yBArCD,iDAsCE,+BAIF,mDACC,kBACA,UACA,qCACA,uBAEA,yBAND,mDAOE,+BAGD,yBAVD,mDAWE,+BAOF,qGACC,mEAGD,uGACC,mEACA,gBAOD,gZACC,gBAMD,qJACC,SACA,uEAGD,uJACC,SAKD,0LACC,0EAGD,kKACC,SACA,0EAIF,6FACC,aAGD,2FACC,cAGD,4FACC,cAGD,2IACC,aACA,2BACA,yBACA,SAGD,mUAEC,WACA,iBACA,kBACA,oCACA,qCACA,UACA,WAGD,kKACC,4CAGD,iKACC,6CC3JF,qCAEC,YAEA,0CACC,YACA,oBAEA,iEACC,eAGD,iDACC,eAEA,mFACC,YAGD,mDACC,gBAGD,qDACC,wBACA,WACA,YAGD,uDACC,wBAIF,iEACC,eAIF,+IACC,aACA,2BACA,yBACA,SAKA,qGACC,mEAGD,uGACC,mEACA,gBAOD,wZACC,gBAMD,yJACC,SACA,uEAGD,2JACC,SAKD,8LACC,0EAGD,sKACC,SACA,0EAUA,sHACC,kBAQA,+IACC,aASD,6IACC,cASD,8IACC,cAMJ,+UAEC,WACA,iBACA,kBACA,oCACA,qCACA,UACA,WAGD,wKACC,4CAGD,uKACC,6CAIF,oDACC","file":"editor.css"}
build/blocks/accordion/style.css CHANGED
@@ -1 +1 @@
1
- .wp-block-themeisle-blocks-accordion{--title-color: #1e1e1e;--title-background: #ffffff;--border-color: #d5dadf;--content-background: #ffffff;margin:20px auto}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title{color:var(--title-color);background:var(--title-background);border:1px solid var(--border-color);list-style:none;cursor:pointer;user-select:none;display:grid;grid-template-columns:auto min-content;align-items:center;padding:18px 24px}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title svg{width:24px;height:24px}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title:hover{filter:brightness(0.95)}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title::-webkit-details-marker,.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title::marker{display:none}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title::after{content:"";justify-self:end;align-self:center;border-right:2px solid var(--border-color);border-bottom:2px solid var(--border-color);width:8px;height:8px;transform:rotate(45deg) translate(-25%, 0%)}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__content{background:var(--content-background);border:1px solid var(--border-color);border-top:none;padding:18px 24px}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item[open]>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(225deg) translate(0%, -45%)}.wp-block-themeisle-blocks-accordion:not(.is-narrow-gap):not(.is-wide-gap):not(.is-wider-gap) .wp-block-themeisle-blocks-accordion-item:not(:first-child):not(.wp-block-themeisle-blocks-accordion)>.wp-block-themeisle-blocks-accordion-item__title{border-top:none}.wp-block-themeisle-blocks-accordion.is-narrow-gap .wp-block-themeisle-blocks-accordion-item{margin:5px 0}.wp-block-themeisle-blocks-accordion.is-wide-gap .wp-block-themeisle-blocks-accordion-item{margin:10px 0}.wp-block-themeisle-blocks-accordion.is-wider-gap .wp-block-themeisle-blocks-accordion-item{margin:20px 0}/*# sourceMappingURL=style.css.map */
1
+ .wp-block-themeisle-blocks-accordion{margin:20px auto;--title-color: initial;--title-background: initial;--content-background: initial;--border-width: 1px;--border-style: solid;--border-color: #ccc;--box-shadow: none;--padding: 18px 24px 18px 24px;--padding-tablet: var(--padding);--padding-mobile: var(--padding-tablet)}.wp-block-themeisle-blocks-accordion-item{box-shadow:var(--box-shadow);margin:var(--gap) 0}.wp-block-themeisle-blocks-accordion-item__title{position:relative;z-index:2;color:var(--title-color);background:var(--title-background);padding:var(--padding);list-style:none;cursor:pointer;user-select:none;display:grid;grid-template-columns:auto min-content;align-items:center}.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item__title>*{margin:0}.wp-block-themeisle-blocks-accordion-item__title svg{width:24px;height:24px}.wp-block-themeisle-blocks-accordion-item__title::-webkit-details-marker,.wp-block-themeisle-blocks-accordion-item__title::marker{display:none}@media(max-width: 960px){.wp-block-themeisle-blocks-accordion-item__title{padding:var(--padding-tablet)}}@media(max-width: 600px){.wp-block-themeisle-blocks-accordion-item__title{padding:var(--padding-mobile)}}.wp-block-themeisle-blocks-accordion-item__content{position:relative;z-index:2;background:var(--content-background);padding:var(--padding)}@media(max-width: 960px){.wp-block-themeisle-blocks-accordion-item__content{padding:var(--padding-tablet)}}@media(max-width: 600px){.wp-block-themeisle-blocks-accordion-item__content{padding:var(--padding-mobile)}}.wp-block-themeisle-blocks-accordion.is-style-boxed .wp-block-themeisle-blocks-accordion-item__title{border:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion.is-style-boxed .wp-block-themeisle-blocks-accordion-item__content{border:var(--border-width) var(--border-style) var(--border-color);border-top:none}.wp-block-themeisle-blocks-accordion.is-style-boxed.no-gap>.wp-block-themeisle-blocks-accordion-item:not(:first-child) .wp-block-themeisle-blocks-accordion-item__title,.wp-block-themeisle-blocks-accordion.is-style-boxed:not(.is-narrow-gap):not(.is-wide-gap):not(.is-wider-gap):not(.has-gap)>.wp-block-themeisle-blocks-accordion-item:not(:first-child) .wp-block-themeisle-blocks-accordion-item__title{border-top:none}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title{border:0;border-top:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__content{border:0}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item:last-child:not([open]):not(.is-open)>.wp-block-themeisle-blocks-accordion-item__title{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion:not(.is-style-boxed)>.wp-block-themeisle-blocks-accordion-item:last-child>.wp-block-themeisle-blocks-accordion-item__content{border:0;border-bottom:var(--border-width) var(--border-style) var(--border-color)}.wp-block-themeisle-blocks-accordion.is-narrow-gap>.wp-block-themeisle-blocks-accordion-item{margin:5px 0}.wp-block-themeisle-blocks-accordion.is-wide-gap>.wp-block-themeisle-blocks-accordion-item{margin:10px 0}.wp-block-themeisle-blocks-accordion.is-wider-gap>.wp-block-themeisle-blocks-accordion-item{margin:20px 0}.wp-block-themeisle-blocks-accordion.icon-first>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:24px}.wp-block-themeisle-blocks-accordion:not(.has-icon)>.wp-block-themeisle-blocks-accordion-item:not([open])>.wp-block-themeisle-blocks-accordion-item__title::after,.wp-block-themeisle-blocks-accordion:not(.has-open-icon)>.wp-block-themeisle-blocks-accordion-item[open]>.wp-block-themeisle-blocks-accordion-item__title::after{content:"";justify-self:end;align-self:center;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px}.wp-block-themeisle-blocks-accordion:not(.has-icon)>.wp-block-themeisle-blocks-accordion-item:not([open])>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(45deg) translate(-25%, 0%)}.wp-block-themeisle-blocks-accordion:not(.has-open-icon)>.wp-block-themeisle-blocks-accordion-item[open]>.wp-block-themeisle-blocks-accordion-item__title::after{transform:rotate(225deg) translate(0%, -45%)}/*# sourceMappingURL=style.css.map */
build/blocks/accordion/style.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/accordion/style.scss"],"names":[],"mappings":"AAAA,qCACC,uBACA,4BACA,wBACA,8BAEA,iBAGC,gIACC,yBACA,mCACA,qCACA,gBACA,eACA,iBAEA,aACA,uCACA,mBACA,kBAEA,oIACC,WACA,YAGD,sIACC,wBAOD,gSAEC,aAGD,uIACC,WACA,iBACA,kBACA,2CACA,4CACA,UACA,WACA,4CAIF,kIACC,qCACA,qCACA,gBACA,kBAKC,6IACC,6CASA,qPACC,gBAOJ,6FACC,aAKD,2FACC,cAKD,4FACC","file":"style.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/accordion/style.scss"],"names":[],"mappings":"AAAA,qCAEC,iBAEA,uBACA,4BACA,8BAEA,oBACA,sBACA,qBACA,mBAEA,+BACA,iCACA,wCAEA,0CACC,6BACA,oBAEA,iDAEC,kBACA,UAEA,yBACA,mCAEA,uBAOA,gBACA,eACA,iBAEA,aACA,uCACA,mBAVA,wFACC,SAWD,qDACC,WACA,YAGD,kIAEC,aAGD,yBAjCD,iDAkCE,+BAGD,yBArCD,iDAsCE,+BAIF,mDACC,kBACA,UACA,qCACA,uBAEA,yBAND,mDAOE,+BAGD,yBAVD,mDAWE,+BAOF,qGACC,mEAGD,uGACC,mEACA,gBAOD,gZACC,gBAMD,qJACC,SACA,uEAGD,uJACC,SAKD,0LACC,0EAGD,kKACC,SACA,0EAIF,6FACC,aAGD,2FACC,cAGD,4FACC,cAGD,2IACC,aACA,2BACA,yBACA,SAGD,mUAEC,WACA,iBACA,kBACA,oCACA,qCACA,UACA,WAGD,kKACC,4CAGD,iKACC","file":"style.css"}
build/blocks/advanced-column/block.json CHANGED
@@ -29,6 +29,15 @@
29
  "marginMobile": {
30
  "type": "object"
31
  },
 
 
 
 
 
 
 
 
 
32
  "backgroundType": {
33
  "type": "string",
34
  "default": "color"
@@ -58,6 +67,70 @@
58
  "type": "string",
59
  "default": "linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"
60
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  "border": {
62
  "type": "object"
63
  },
@@ -102,6 +175,9 @@
102
  "columnWidth": {
103
  "type": "string"
104
  },
 
 
 
105
  "isSynced": {
106
  "type": "array"
107
  }
29
  "marginMobile": {
30
  "type": "object"
31
  },
32
+ "color": {
33
+ "type": "string"
34
+ },
35
+ "colorHover": {
36
+ "type": "string"
37
+ },
38
+ "linkColor": {
39
+ "type": "string"
40
+ },
41
  "backgroundType": {
42
  "type": "string",
43
  "default": "color"
67
  "type": "string",
68
  "default": "linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"
69
  },
70
+ "backgroundOverlayOpacity": {
71
+ "type": "number",
72
+ "default": 50
73
+ },
74
+ "backgroundOverlayType": {
75
+ "type": "string",
76
+ "default": "color"
77
+ },
78
+ "backgroundOverlayColor": {
79
+ "type": "string"
80
+ },
81
+ "backgroundOverlayImage": {
82
+ "type": "object"
83
+ },
84
+ "backgroundOverlayAttachment": {
85
+ "type": "string",
86
+ "default": "scroll"
87
+ },
88
+ "backgroundOverlayPosition": {
89
+ "type": "object"
90
+ },
91
+ "backgroundOverlayRepeat": {
92
+ "type": "string",
93
+ "default": "repeat"
94
+ },
95
+ "backgroundOverlaySize": {
96
+ "type": "string",
97
+ "default": "auto"
98
+ },
99
+ "backgroundOverlayGradient": {
100
+ "type": "string",
101
+ "default": "linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"
102
+ },
103
+ "backgroundOverlayFilterBlur": {
104
+ "type": "number",
105
+ "default": 0
106
+ },
107
+ "backgroundOverlayFilterBrightness": {
108
+ "type": "number",
109
+ "default": 10
110
+ },
111
+ "backgroundOverlayFilterContrast": {
112
+ "type": "number",
113
+ "default": 10
114
+ },
115
+ "backgroundOverlayFilterGrayscale": {
116
+ "type": "number",
117
+ "default": 0
118
+ },
119
+ "backgroundOverlayFilterHue": {
120
+ "type": "number",
121
+ "default": 0
122
+ },
123
+ "backgroundOverlayFilterSaturate": {
124
+ "type": "number",
125
+ "default": 10
126
+ },
127
+ "backgroundOverlayBlend": {
128
+ "type": "string",
129
+ "default": "normal"
130
+ },
131
+ "backgroundColorHover": {
132
+ "type": "string"
133
+ },
134
  "border": {
135
  "type": "object"
136
  },
175
  "columnWidth": {
176
  "type": "string"
177
  },
178
+ "verticalAlign": {
179
+ "type": "string"
180
+ },
181
  "isSynced": {
182
  "type": "array"
183
  }
build/blocks/advanced-columns/block.json CHANGED
@@ -44,7 +44,13 @@
44
  "type": "object"
45
  },
46
  "columnsWidth": {
47
- "type": "number"
 
 
 
 
 
 
48
  },
49
  "horizontalAlign": {
50
  "type": "string",
@@ -55,18 +61,27 @@
55
  "default": "auto"
56
  },
57
  "columnsHeightCustom": {
58
- "type": "number"
59
  },
60
  "columnsHeightCustomTablet": {
61
- "type": "number"
62
  },
63
  "columnsHeightCustomMobile": {
64
- "type": "number"
65
  },
66
  "verticalAlign": {
67
  "type": "string",
68
  "default": "unset"
69
  },
 
 
 
 
 
 
 
 
 
70
  "backgroundType": {
71
  "type": "string",
72
  "default": "color"
44
  "type": "object"
45
  },
46
  "columnsWidth": {
47
+ "type": [ "number", "string" ]
48
+ },
49
+ "columnsWidthTablet": {
50
+ "type": "string"
51
+ },
52
+ "columnsWidthMobile": {
53
+ "type": "string"
54
  },
55
  "horizontalAlign": {
56
  "type": "string",
61
  "default": "auto"
62
  },
63
  "columnsHeightCustom": {
64
+ "type": [ "number", "string" ]
65
  },
66
  "columnsHeightCustomTablet": {
67
+ "type": [ "number", "string" ]
68
  },
69
  "columnsHeightCustomMobile": {
70
+ "type": [ "number", "string" ]
71
  },
72
  "verticalAlign": {
73
  "type": "string",
74
  "default": "unset"
75
  },
76
+ "color": {
77
+ "type": "string"
78
+ },
79
+ "colorHover": {
80
+ "type": "string"
81
+ },
82
+ "linkColor": {
83
+ "type": "string"
84
+ },
85
  "backgroundType": {
86
  "type": "string",
87
  "default": "color"
build/blocks/advanced-columns/editor.css CHANGED
@@ -1 +1 @@
1
- .wp-block-themeisle-blocks-advanced-columns-layout-control{margin:0 0 1.5em 0}.wp-block-themeisle-blocks-advanced-columns-layout-control .components-base-control__title{display:flex;justify-content:space-between;margin-bottom:5px}.wp-block-themeisle-blocks-advanced-columns-layout-control .components-base-control__title label{padding:5px 0}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout{cursor:pointer;width:33.3333333333%;height:auto;display:inline-block;padding:10px;border-radius:4px}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout svg{fill:#d5dadf}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.selected){box-shadow:none}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link) svg{fill:#0075af}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout.selected{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout.selected svg{fill:#6d7882}.wp-block-themeisle-blocks-advanced-columns-separators{position:absolute;left:0;width:100%}.wp-block-themeisle-blocks-advanced-columns-separators.top{top:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom{bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom svg{position:absolute;bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators .rotate{transform:rotate(180deg)}html[lang=ja] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=ko] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hans] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hant] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{word-break:normal}.wp-block-themeisle-blocks-advanced-columns{--columns-width: initial;display:flex}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap{flex-basis:100%;width:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:nowrap}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block-themeisle-blocks-advanced-column{display:flex;max-width:unset;margin:inherit;flex:1}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block-themeisle-blocks-advanced-column>.block-editor-inner-blocks{flex:1}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-advanced-columns{max-width:unset}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-slider{display:block}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .aligncenter{margin-left:auto;margin-right:auto}.wp-block-themeisle-blocks-advanced-columns .wp-themeisle-block-overlay,.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-columns-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-themeisle-blocks-advanced-columns.has-default-gap .wp-block-themeisle-blocks-advanced-column{margin-left:10px;margin-right:10px}.wp-block-themeisle-blocks-advanced-columns.has-nogap-gap .wp-block-themeisle-blocks-advanced-column{margin-left:0;margin-right:0}.wp-block-themeisle-blocks-advanced-columns.has-narrow-gap .wp-block-themeisle-blocks-advanced-column{margin-left:5px;margin-right:5px}.wp-block-themeisle-blocks-advanced-columns.has-extended-gap .wp-block-themeisle-blocks-advanced-column{margin-left:15px;margin-right:15px}.wp-block-themeisle-blocks-advanced-columns.has-wide-gap .wp-block-themeisle-blocks-advanced-column{margin-left:20px;margin-right:20px}.wp-block-themeisle-blocks-advanced-columns.has-wider-gap .wp-block-themeisle-blocks-advanced-column{margin-left:30px;margin-right:30px}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start,.wp-block-themeisle-blocks-advanced-columns.has-vertical-top{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start .wp-block-themeisle-blocks-advanced-column,.wp-block-themeisle-blocks-advanced-columns.has-vertical-top .wp-block-themeisle-blocks-advanced-column{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-vertical-center{align-items:center}.wp-block-themeisle-blocks-advanced-columns.has-vertical-center .wp-block-themeisle-blocks-advanced-column{align-items:center}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end,.wp-block-themeisle-blocks-advanced-columns.has-vertical-bottom{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end .wp-block-themeisle-blocks-advanced-column,.wp-block-themeisle-blocks-advanced-columns.has-vertical-bottom .wp-block-themeisle-blocks-advanced-column{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-start{justify-content:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-horizontal-center{justify-content:center}.wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-end{justify-content:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-collapsedRows-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-collapsedRows-layout.has-reverse-columns-tablet>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-twoColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-threeColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto auto}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-collapsedRows-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-collapsedRows-layout.has-reverse-columns-mobile>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-twoColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-threeColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto auto}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column:before{inset:0}.components-popover.block-editor-block-list__block-popover>.components-popover__content .block-editor-block-contextual-toolbar.wp-block-themeisle-blocks-advanced-column{margin:0}.o-section-border-container.components-panel__body>.components-toggle-control{margin:1.5em 0 0 0}.o-section-border-container.components-panel__body>.components-toggle-control .components-base-control__field{margin-bottom:0}#o-border-raduis-box>.component-box-control__header-control-wrapper>.components-flex-item:first-child{transform:rotate(315deg)}/*# sourceMappingURL=editor.css.map */
1
+ .wp-block-themeisle-blocks-advanced-columns-layout-control{margin:0 0 1.5em 0}.wp-block-themeisle-blocks-advanced-columns-layout-control .components-base-control__title{display:flex;justify-content:space-between;margin-bottom:5px}.wp-block-themeisle-blocks-advanced-columns-layout-control .components-base-control__title label{padding:5px 0}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout{cursor:pointer;width:33.3333333333%;height:auto;display:inline-block;padding:10px;border-radius:4px}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout svg{fill:#d5dadf}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.selected){box-shadow:none}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link) svg{fill:#0075af}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout.selected{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.wp-block-themeisle-blocks-advanced-columns-layout-control .wp-block-themeisle-blocks-advanced-column-layout.selected svg{fill:#6d7882}.wp-block-themeisle-blocks-advanced-columns-separators{position:absolute;left:0;width:100%}.wp-block-themeisle-blocks-advanced-columns-separators.top{top:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom{bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom svg{position:absolute;bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators .rotate{transform:rotate(180deg)}html[lang=ja] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=ko] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hans] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hant] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{word-break:normal}.wp-block-themeisle-blocks-advanced-columns{--background: transparent;--columns-width: initial;display:flex}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap{flex-basis:100%;width:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:nowrap}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block-themeisle-blocks-advanced-column{display:flex;max-width:unset;margin:inherit;flex:1}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block-themeisle-blocks-advanced-column>.block-editor-inner-blocks{flex:1}.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-advanced-columns{max-width:unset}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column{--background: transparent;--background-color-hover: var( --background );--text-color: var( --content-color, inherit );--link-color: inherit;--text-color-hover: var( --content-color-hover, inherit );color:var(--text-color);background:var(--background)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column:hover{color:var(--text-color-hover);background:var(--background-color-hover)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column>*{position:relative}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column a{color:var(--link-color)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-advanced-column-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-slider{display:block}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .aligncenter{margin-left:auto;margin-right:auto}.wp-block-themeisle-blocks-advanced-columns .wp-themeisle-block-overlay,.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-columns-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-themeisle-blocks-advanced-columns.has-default-gap .wp-block-themeisle-blocks-advanced-column{margin-left:10px;margin-right:10px}.wp-block-themeisle-blocks-advanced-columns.has-nogap-gap .wp-block-themeisle-blocks-advanced-column{margin-left:0;margin-right:0}.wp-block-themeisle-blocks-advanced-columns.has-narrow-gap .wp-block-themeisle-blocks-advanced-column{margin-left:5px;margin-right:5px}.wp-block-themeisle-blocks-advanced-columns.has-extended-gap .wp-block-themeisle-blocks-advanced-column{margin-left:15px;margin-right:15px}.wp-block-themeisle-blocks-advanced-columns.has-wide-gap .wp-block-themeisle-blocks-advanced-column{margin-left:20px;margin-right:20px}.wp-block-themeisle-blocks-advanced-columns.has-wider-gap .wp-block-themeisle-blocks-advanced-column{margin-left:30px;margin-right:30px}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start,.wp-block-themeisle-blocks-advanced-columns.has-vertical-top{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start .wp-block-themeisle-blocks-advanced-column,.wp-block-themeisle-blocks-advanced-columns.has-vertical-top .wp-block-themeisle-blocks-advanced-column{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-vertical-center{align-items:center}.wp-block-themeisle-blocks-advanced-columns.has-vertical-center .wp-block-themeisle-blocks-advanced-column{align-items:center}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end,.wp-block-themeisle-blocks-advanced-columns.has-vertical-bottom{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end .wp-block-themeisle-blocks-advanced-column,.wp-block-themeisle-blocks-advanced-columns.has-vertical-bottom .wp-block-themeisle-blocks-advanced-column{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-start{justify-content:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-horizontal-center{justify-content:center}.wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-end{justify-content:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-collapsedRows-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-collapsedRows-layout.has-reverse-columns-tablet>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-twoColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto}.wp-block-themeisle-blocks-advanced-columns.has-viewport-tablet.has-tablet-threeColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto auto}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-collapsedRows-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-collapsedRows-layout.has-reverse-columns-mobile>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-twoColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto}.wp-block-themeisle-blocks-advanced-columns.has-viewport-mobile.has-mobile-threeColumnGrid-layout>.innerblocks-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:auto auto auto}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column:before{inset:0}.components-popover.block-editor-block-list__block-popover>.components-popover__content .block-editor-block-contextual-toolbar.wp-block-themeisle-blocks-advanced-column{margin:0}.o-section-border-container.components-panel__body>.components-toggle-control{margin:1.5em 0 0 0}.o-section-border-container.components-panel__body>.components-toggle-control .components-base-control__field{margin-bottom:0}/*# sourceMappingURL=editor.css.map */
build/blocks/advanced-columns/editor.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/section/components/layout-control/editor.scss","../../../src/blocks/blocks/section/components/separators/editor.scss","../../../src/blocks/blocks/section/editor.scss"],"names":[],"mappings":"AAAA,2DACC,mBAEA,2FACC,aACA,8BACA,kBAEA,iGACC,cAIF,6GACC,eACA,qBACA,YACA,qBACA,aACA,kBAEA,iHACC,aAIA,gOACC,mBACA,qBACA,cACA,qBAEA,+OACC,gBAGD,oOACC,aAKH,sHACC,wDAEA,0HACC,aC9CJ,uDACC,kBACA,OACA,WAEA,2DACC,MAGD,8DACC,SAEA,kEACC,kBACA,SAIF,+DACC,yBCfD,sYACC,kBAIF,4CACC,yBACA,aAEA,8DACC,gBACA,WACA,oBACA,+BAEA,0HACC,aACA,iBAEA,qKACC,aACA,gBACA,eACA,OAEA,gMACC,OAGD,iNACC,gBAOH,yHACC,cAGD,oGACC,iBACA,kBAIF,wKAEC,kBACA,WACA,YACA,MACA,OAIA,uGACC,iBACA,kBAKD,qGACC,cACA,eAKD,sGACC,gBACA,iBAKD,wGACC,iBACA,kBAKD,oGACC,iBACA,kBAKD,qGACC,iBACA,kBAIF,iIAEC,uBAEA,uNACC,uBAIF,gEACC,mBAEA,2GACC,mBAIF,kIAEC,qBAEA,wNACC,qBAIF,sEACC,2BAGD,kEACC,uBAGD,oEACC,yBAKC,8KACC,sBAIA,yMACC,8BAMF,8KACC,aACA,gCAKD,gLACC,aACA,qCAOD,8KACC,sBAIA,yMACC,8BAMF,8KACC,aACA,gCAKD,gLACC,aACA,qCAMF,8FACC,QAOD,yKACC,SAOD,8EACC,mBAEA,8GACC,gBASD,sGACC","file":"editor.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/section/components/layout-control/editor.scss","../../../src/blocks/blocks/section/components/separators/editor.scss","../../../src/blocks/blocks/section/editor.scss"],"names":[],"mappings":"AAAA,2DACC,mBAEA,2FACC,aACA,8BACA,kBAEA,iGACC,cAIF,6GACC,eACA,qBACA,YACA,qBACA,aACA,kBAEA,iHACC,aAIA,gOACC,mBACA,qBACA,cACA,qBAEA,+OACC,gBAGD,oOACC,aAKH,sHACC,wDAEA,0HACC,aC9CJ,uDACC,kBACA,OACA,WAEA,2DACC,MAGD,8DACC,SAEA,kEACC,kBACA,SAIF,+DACC,yBCfD,sYACC,kBAIF,4CACC,0BACA,yBACA,aAEA,8DACC,gBACA,WACA,oBACA,+BAEA,0HACC,aACA,iBAEA,qKACC,aACA,gBACA,eACA,OAEA,gMACC,OAGD,iNACC,gBAMJ,uFACC,0BACA,8CACA,8CACA,sBACA,0DAEA,wBACA,6BAEA,6FACC,8BACA,yCAGD,yFACC,kBAGD,yFACC,wBAGD,0IACC,kBACA,WACA,YACA,MACA,OAGD,yHACC,cAGD,oGACC,iBACA,kBAIF,wKAEC,kBACA,WACA,YACA,MACA,OAIA,uGACC,iBACA,kBAKD,qGACC,cACA,eAKD,sGACC,gBACA,iBAKD,wGACC,iBACA,kBAKD,oGACC,iBACA,kBAKD,qGACC,iBACA,kBAIF,iIAEC,uBAEA,uNACC,uBAIF,gEACC,mBAEA,2GACC,mBAIF,kIAEC,qBAEA,wNACC,qBAIF,sEACC,2BAGD,kEACC,uBAGD,oEACC,yBAKC,8KACC,sBAIA,yMACC,8BAMF,8KACC,aACA,gCAKD,gLACC,aACA,qCAOD,8KACC,sBAIA,yMACC,8BAMF,8KACC,aACA,gCAKD,gLACC,aACA,qCAMF,8FACC,QAOD,yKACC,SAOD,8EACC,mBAEA,8GACC","file":"editor.css"}
build/blocks/advanced-columns/style.css CHANGED
@@ -1 +1 @@
1
- .wp-block-themeisle-blocks-advanced-columns-separators{position:absolute;left:0;width:100%}.wp-block-themeisle-blocks-advanced-columns-separators.top{top:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom{bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom svg{position:absolute;bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators svg{height:100px}.wp-block-themeisle-blocks-advanced-columns-separators .rotate{transform:rotate(180deg)}html[lang=ja] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=ko] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hans] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hant] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{word-break:normal}.wp-block-themeisle-blocks-advanced-columns{--columns-width: initial;--horizontal-align: unset;justify-content:var(--horizontal-align)}.wp-block-themeisle-blocks-advanced-columns .wp-themeisle-block-overlay,.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-columns-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column:only-child{max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-slider{display:grid}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .aligncenter{margin-left:auto;margin-right:auto}.wp-block-themeisle-blocks-advanced-columns.has-default-gap .wp-block-themeisle-blocks-advanced-column{margin-left:10px;margin-right:10px}.wp-block-themeisle-blocks-advanced-columns.has-nogap-gap .wp-block-themeisle-blocks-advanced-column{margin-left:0;margin-right:0}.wp-block-themeisle-blocks-advanced-columns.has-narrow-gap .wp-block-themeisle-blocks-advanced-column{margin-left:5px;margin-right:5px}.wp-block-themeisle-blocks-advanced-columns.has-extended-gap .wp-block-themeisle-blocks-advanced-column{margin-left:15px;margin-right:15px}.wp-block-themeisle-blocks-advanced-columns.has-wide-gap .wp-block-themeisle-blocks-advanced-column{margin-left:20px;margin-right:20px}.wp-block-themeisle-blocks-advanced-columns.has-wider-gap .wp-block-themeisle-blocks-advanced-column{margin-left:30px;margin-right:30px}@media(min-width: 960px){.wp-block-themeisle-blocks-advanced-columns{display:flex;position:relative}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns.has-vertical-top>.innerblocks-wrap{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-vertical-center>.innerblocks-wrap{align-items:center}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns.has-vertical-bottom>.innerblocks-wrap{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{display:flex;flex-basis:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column{position:relative}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column:first-child{margin-left:0}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column:last-child{margin-right:0}.wp-block-themeisle-blocks-advanced-columns.hide-in-desktop{display:none}.wp-block-themeisle-blocks-advanced-columns.has-1-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:100%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:33.34%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:66.66%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:33.34%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:66.66%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:33.33%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:60%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:20%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:20%}.wp-block-themeisle-blocks-advanced-columns.has-4-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-5-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:20%}.wp-block-themeisle-blocks-advanced-columns.has-6-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:16.66%}}@media(min-width: 600px)and (max-width: 960px){.wp-block-themeisle-blocks-advanced-columns{display:flex;position:relative}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{display:flex;flex-basis:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column{position:relative;flex:1}.wp-block-themeisle-blocks-advanced-columns.hide-in-tablet{display:none}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-tablet-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-tablet-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:3}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-flex-start>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-top>.innerblocks-wrap{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-center>.innerblocks-wrap{align-items:center}.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-flex-end>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-bottom>.innerblocks-wrap{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-tablet-collapsedRows-layout>.innerblocks-wrap{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-tablet-collapsedRows-layout.has-reverse-columns-tablet>.innerblocks-wrap{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-tablet-twoColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-tablet-twoColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 40%}.wp-block-themeisle-blocks-advanced-columns.has-tablet-threeColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-tablet-threeColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 30%}}@media(max-width: 600px){.wp-block-themeisle-blocks-advanced-columns{display:flex;position:relative}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{display:flex;flex-basis:100%;word-break:keep-all}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column{position:relative;flex:1}.wp-block-themeisle-blocks-advanced-columns.hide-in-mobile{display:none}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-mobile-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-mobile-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:3}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-flex-start>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-top>.innerblocks-wrap{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-center>.innerblocks-wrap{align-items:center}.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-flex-end>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-bottom>.innerblocks-wrap{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-mobile-collapsedRows-layout>.innerblocks-wrap{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-mobile-collapsedRows-layout.has-reverse-columns-mobile>.innerblocks-wrap{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-mobile-twoColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-mobile-twoColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 40%}.wp-block-themeisle-blocks-advanced-columns.has-mobile-threeColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-mobile-threeColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 30%}}/*# sourceMappingURL=style.css.map */
1
+ .wp-block-themeisle-blocks-advanced-columns-separators{position:absolute;left:0;width:100%}.wp-block-themeisle-blocks-advanced-columns-separators.top{top:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom{bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators.bottom svg{position:absolute;bottom:0}.wp-block-themeisle-blocks-advanced-columns-separators svg{height:100px}.wp-block-themeisle-blocks-advanced-columns-separators .rotate{transform:rotate(180deg)}html[lang=ja] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=ko] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hans] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap,html[lang=zh-Hant] .wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{word-break:normal}.wp-block-themeisle-blocks-advanced-columns{--background: transparent;--columns-width: initial;--horizontal-align: unset;background:var(--background);justify-content:var(--horizontal-align)}.wp-block-themeisle-blocks-advanced-columns .wp-themeisle-block-overlay,.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-columns-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column:only-child{max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column{--background: transparent;--background-color-hover: var( --background );--text-color: var( --content-color, inherit );--link-color: inherit;--text-color-hover: var( --content-color-hover, inherit );color:var(--text-color);background:var(--background)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column:hover{color:var(--text-color-hover);background:var(--background-color-hover)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column>*{position:relative}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column a{color:var(--link-color)}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-advanced-column-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .wp-block-themeisle-blocks-slider{display:grid}.wp-block-themeisle-blocks-advanced-columns .wp-block-themeisle-blocks-advanced-column .aligncenter{margin-left:auto;margin-right:auto}.wp-block-themeisle-blocks-advanced-columns.has-default-gap .wp-block-themeisle-blocks-advanced-column{margin-left:10px;margin-right:10px}.wp-block-themeisle-blocks-advanced-columns.has-nogap-gap .wp-block-themeisle-blocks-advanced-column{margin-left:0;margin-right:0}.wp-block-themeisle-blocks-advanced-columns.has-narrow-gap .wp-block-themeisle-blocks-advanced-column{margin-left:5px;margin-right:5px}.wp-block-themeisle-blocks-advanced-columns.has-extended-gap .wp-block-themeisle-blocks-advanced-column{margin-left:15px;margin-right:15px}.wp-block-themeisle-blocks-advanced-columns.has-wide-gap .wp-block-themeisle-blocks-advanced-column{margin-left:20px;margin-right:20px}.wp-block-themeisle-blocks-advanced-columns.has-wider-gap .wp-block-themeisle-blocks-advanced-column{margin-left:30px;margin-right:30px}@media(min-width: 960px){.wp-block-themeisle-blocks-advanced-columns{display:flex;position:relative}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns.has-vertical-top>.innerblocks-wrap{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns.has-vertical-center>.innerblocks-wrap{align-items:center}.wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns.has-vertical-bottom>.innerblocks-wrap{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{display:flex;flex-basis:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column{position:relative}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column:first-child{margin-left:0}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column:last-child{margin-right:0}.wp-block-themeisle-blocks-advanced-columns.hide-in-desktop{display:none}.wp-block-themeisle-blocks-advanced-columns.has-1-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:100%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:33.34%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:66.66%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:33.34%}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-desktop-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:66.66%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:33.33%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:50%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:60%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex-basis:20%}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-desktop-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex-basis:20%}.wp-block-themeisle-blocks-advanced-columns.has-4-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:25%}.wp-block-themeisle-blocks-advanced-columns.has-5-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:20%}.wp-block-themeisle-blocks-advanced-columns.has-6-columns.has-desktop-equal-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex-basis:16.66%}}@media(min-width: 600px)and (max-width: 960px){.wp-block-themeisle-blocks-advanced-columns{display:flex;position:relative}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{display:flex;flex-basis:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column{position:relative;flex:1}.wp-block-themeisle-blocks-advanced-columns.hide-in-tablet{display:none}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-tablet-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-tablet-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:3}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-tablet-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-flex-start>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-top>.innerblocks-wrap{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-center>.innerblocks-wrap{align-items:center}.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-flex-end>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-tablet-collapsedRows-layout).has-vertical-bottom>.innerblocks-wrap{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-tablet-collapsedRows-layout>.innerblocks-wrap{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-tablet-collapsedRows-layout.has-reverse-columns-tablet>.innerblocks-wrap{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-tablet-twoColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-tablet-twoColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 40%}.wp-block-themeisle-blocks-advanced-columns.has-tablet-threeColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-tablet-threeColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 30%}}@media(max-width: 600px){.wp-block-themeisle-blocks-advanced-columns{display:flex;position:relative}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap{display:flex;flex-basis:100%;word-break:keep-all;max-width:var(--columns-width)}.wp-block-themeisle-blocks-advanced-columns .innerblocks-wrap .wp-block-themeisle-blocks-advanced-column{position:relative;flex:1}.wp-block-themeisle-blocks-advanced-columns.hide-in-mobile{display:none}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-mobile-oneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-2-columns.has-mobile-twoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneOneTwo-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-twoOneOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:2}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneTwoOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:3}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:first-child{flex:1}.wp-block-themeisle-blocks-advanced-columns.has-3-columns.has-mobile-oneThreeOne-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column:last-child{flex:1}.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-flex-start>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-top>.innerblocks-wrap{align-items:flex-start}.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-center>.innerblocks-wrap{align-items:center}.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-flex-end>.innerblocks-wrap,.wp-block-themeisle-blocks-advanced-columns:not(.has-mobile-collapsedRows-layout).has-vertical-bottom>.innerblocks-wrap{align-items:flex-end}.wp-block-themeisle-blocks-advanced-columns.has-mobile-collapsedRows-layout>.innerblocks-wrap{flex-direction:column}.wp-block-themeisle-blocks-advanced-columns.has-mobile-collapsedRows-layout.has-reverse-columns-mobile>.innerblocks-wrap{flex-direction:column-reverse}.wp-block-themeisle-blocks-advanced-columns.has-mobile-twoColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-mobile-twoColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 40%}.wp-block-themeisle-blocks-advanced-columns.has-mobile-threeColumnGrid-layout>.innerblocks-wrap{display:flex;flex-wrap:wrap}.wp-block-themeisle-blocks-advanced-columns.has-mobile-threeColumnGrid-layout>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column{flex:1 1 30%}}/*# sourceMappingURL=style.css.map */
build/blocks/advanced-columns/style.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/section/components/separators/style.scss","../../../src/blocks/blocks/section/style.scss"],"names":[],"mappings":"AAAA,uDACC,kBACA,OACA,WAEA,2DACC,MAGD,8DACC,SAEA,kEACC,kBACA,SAIF,2DACC,aAGD,+DACC,yBCpBD,sYACC,kBA0BF,4CACC,yBACA,0BAEA,wCAEA,wKAEC,kBACA,WACA,YACA,MACA,OAGD,kGACC,+BAIA,yHACC,aAGD,oGACC,iBACA,kBAKD,uGACC,iBACA,kBAKD,qGACC,cACA,eAKD,sGACC,gBACA,iBAKD,wGACC,iBACA,kBAKD,oGACC,iBACA,kBAKD,qGACC,iBACA,kBAKH,yBACC,4CACC,aACA,kBA/FA,qKACC,uBAKD,kFACC,mBAMD,sKACC,qBAqFD,8DACC,aACA,gBACA,oBACA,+BAEA,yGACC,kBAEA,qHACC,cAGD,oHACC,eAKH,4DACC,aAQE,gJACC,gBAWD,gJACC,eAQD,iJACC,kBAEA,4JACC,kBASF,iJACC,kBAEA,6JACC,kBAYF,gJACC,kBAQD,oJACC,eAEA,+JACC,eASF,oJACC,eAEA,gKACC,eASF,oJACC,eAEA,gKACC,eAGD,+JACC,eASF,sJACC,eAEA,kKACC,eAGD,iKACC,eAYF,gJACC,eAWD,gJACC,eAWD,gJACC,mBAQN,+CACC,4CACC,aACA,kBAEA,8DACC,aACA,gBACA,oBACA,+BAEA,yGACC,kBACA,OAIF,2DACC,aAUG,2JACC,OAWD,4JACC,OAcD,8JACC,OAWD,+JACC,OASF,mJACC,OAEA,+JACC,OAGD,8JACC,OASF,qJACC,OAEA,iKACC,OAGD,gKACC,OAhYL,iPACC,uBAKD,wHACC,mBAMD,kPACC,qBA8XA,8FACC,sBAIA,yHACC,8BAMF,8FACC,aACA,eAEA,yIACC,aAMF,gGACC,aACA,eAEA,2IACC,cAOL,yBACC,4CACC,aACA,kBAEA,8DACC,aACA,gBACA,oBAEA,yGACC,kBACA,OAIF,2DACC,aAUG,2JACC,OAWD,4JACC,OAcD,8JACC,OAWD,+JACC,OASF,mJACC,OAEA,+JACC,OAGD,8JACC,OASF,qJACC,OAEA,iKACC,OAGD,gKACC,OAphBL,iPACC,uBAKD,wHACC,mBAMD,kPACC,qBAkhBA,8FACC,sBAIA,yHACC,8BAMF,8FACC,aACA,eAEA,yIACC,aAMF,gGACC,aACA,eAEA,2IACC","file":"style.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/blocks/blocks/section/components/separators/style.scss","../../../src/blocks/blocks/section/style.scss"],"names":[],"mappings":"AAAA,uDACC,kBACA,OACA,WAEA,2DACC,MAGD,8DACC,SAEA,kEACC,kBACA,SAIF,2DACC,aAGD,+DACC,yBCpBD,sYACC,kBA0BF,4CACC,0BACA,yBACA,0BAEA,6BACA,wCAEA,wKAEC,kBACA,WACA,YACA,MACA,OAGD,kGACC,+BAGD,uFACC,0BACA,8CACA,8CACA,sBACA,0DAEA,wBACA,6BAEA,6FACC,8BACA,yCAGD,yFACC,kBAGD,yFACC,wBAGD,0IACC,kBACA,WACA,YACA,MACA,OAGD,yHACC,aAGD,oGACC,iBACA,kBAKD,uGACC,iBACA,kBAKD,qGACC,cACA,eAKD,sGACC,gBACA,iBAKD,wGACC,iBACA,kBAKD,oGACC,iBACA,kBAKD,qGACC,iBACA,kBAKH,yBACC,4CACC,aACA,kBA/HA,qKACC,uBAKD,kFACC,mBAMD,sKACC,qBAqHD,8DACC,aACA,gBACA,oBACA,+BAEA,yGACC,kBAEA,qHACC,cAGD,oHACC,eAKH,4DACC,aAQE,gJACC,gBAWD,gJACC,eAQD,iJACC,kBAEA,4JACC,kBASF,iJACC,kBAEA,6JACC,kBAYF,gJACC,kBAQD,oJACC,eAEA,+JACC,eASF,oJACC,eAEA,gKACC,eASF,oJACC,eAEA,gKACC,eAGD,+JACC,eASF,sJACC,eAEA,kKACC,eAGD,iKACC,eAYF,gJACC,eAWD,gJACC,eAWD,gJACC,mBAQN,+CACC,4CACC,aACA,kBAEA,8DACC,aACA,gBACA,oBACA,+BAEA,yGACC,kBACA,OAIF,2DACC,aAUG,2JACC,OAWD,4JACC,OAcD,8JACC,OAWD,+JACC,OASF,mJACC,OAEA,+JACC,OAGD,8JACC,OASF,qJACC,OAEA,iKACC,OAGD,gKACC,OAhaL,iPACC,uBAKD,wHACC,mBAMD,kPACC,qBA8ZA,8FACC,sBAIA,yHACC,8BAMF,8FACC,aACA,eAEA,yIACC,aAMF,gGACC,aACA,eAEA,2IACC,cAOL,yBACC,4CACC,aACA,kBAEA,8DACC,aACA,gBACA,oBACA,+BAEA,yGACC,kBACA,OAIF,2DACC,aAUG,2JACC,OAWD,4JACC,OAcD,8JACC,OAWD,+JACC,OASF,mJACC,OAEA,+JACC,OAGD,8JACC,OASF,qJACC,OAEA,iKACC,OAGD,gKACC,OArjBL,iPACC,uBAKD,wHACC,mBAMD,kPACC,qBAmjBA,8FACC,sBAIA,yHACC,8BAMF,8FACC,aACA,eAEA,yIACC,aAMF,gGACC,aACA,eAEA,2IACC","file":"style.css"}
build/blocks/blocks.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render'), 'version' => '7c37aeca73f95adb2278');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render'), 'version' => 'daceb5bfc52d5a6cadf2');
build/blocks/blocks.js CHANGED
@@ -1,12 +1,12 @@
1
- !function(){"use strict";var e,t,o,l={4351:function(e,t,o){var l=o(5736),a=o(4981),n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/about-author","title":"About Author","category":"themeisle-blocks","description":"About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","keywords":["about","author","profile"],"textdomain":"otter-blocks","supports":{"html":false},"editorStyle":"otter-about-author-editor","style":"otter-about-author-style"}'),r=o(340),i=o(9307),c=o(2175),s=o(5609),d=window.wp.serverSideRender,m=o.n(d);const{name:u}=n;(0,a.registerBlockType)(u,{...n,title:(0,l.__)("About Author","otter-blocks"),description:(0,l.__)("About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","otter-blocks"),icon:r.authorIcon,keywords:["about","author","profile"],edit:()=>(0,i.createElement)("div",(0,c.useBlockProps)(),(0,i.createElement)(s.Disabled,null,(0,i.createElement)(m(),{block:"themeisle-blocks/about-author"}))),save:()=>null,supports:{inserter:Boolean(window.themeisleGutenberg.isLegacyPre59),html:!1},example:{}});var b=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion","title":"Accordion","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"gap":{"type":"string"},"titleColor":{"type":"string"},"titleBackground":{"type":"string"},"contentBackground":{"type":"string"},"borderColor":{"type":"string"},"isSynced":{"type":"array"}},"supports":{"html":false},"editorStyle":"otter-accordion-editor","style":"otter-accordion-style"}'),p=o(4184),g=o.n(p),h=o(9818),v=e=>{let{field:t,isSynced:o,setAttributes:a,children:n}=e;const{enableComplementaryArea:r}=(0,h.useDispatch)("core/interface"),c=null==o?void 0:o.includes(t);return(0,i.createElement)("fieldset",{className:"o-sync-control"},(0,i.createElement)("legend",null,(0,i.createElement)(s.ToggleControl,{label:(0,i.createElement)(i.Fragment,null,(0,l.__)("Sync with","otter-blocks")),checked:c,onChange:()=>{let e=[...o||[]];if(c){const o=e.indexOf(t);-1!==o&&e.splice(o,1)}else e.push(t);0===e.length&&(e=void 0),a({isSynced:e})}}),(0,i.createElement)("span",{tabIndex:"0",className:"clickable",onClick:()=>r("core/edit-post","themeisle-blocks/otter-options")},(0,l.__)("Globals","otter-blocks"))),c?(0,i.createElement)(s.Disabled,null,n):n)},k=e=>{let{attributes:t,setAttributes:o,getValue:a}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Gap","otter-blocks"),value:t.gap,options:[{label:(0,l.__)("No Gap","otter-blocks"),value:""},{label:(0,l.__)("Narrow (5px)","otter-blocks"),value:"narrow"},{label:(0,l.__)("Wide (10px)","otter-blocks"),value:"wide"},{label:(0,l.__)("Wider (20px)","otter-blocks"),value:"wider"}],onChange:e=>o({gap:e})})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1},(0,i.createElement)(v,{field:"titleColor",isSynced:t.isSynced,setAttributes:o},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Title","otter-blocks"),colorValue:t.titleColor,onColorChange:e=>o({titleColor:e})})),(0,i.createElement)(v,{field:"titleBackground",isSynced:t.isSynced,setAttributes:o},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Title Background","otter-blocks"),colorValue:t.titleBackground,onColorChange:e=>o({titleBackground:e})})),(0,i.createElement)(c.ContrastChecker,{textColor:a("titleColor"),backgroundColor:a("titleBackground")}),(0,i.createElement)(v,{field:"contentBackground",isSynced:t.isSynced,setAttributes:o},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Content Background","otter-blocks"),colorValue:t.contentBackground,onColorChange:e=>o({contentBackground:e})})),(0,i.createElement)(v,{field:"borderColor",isSynced:t.isSynced,setAttributes:o},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Border Color","otter-blocks"),colorValue:t.borderColor,onColorChange:e=>o({borderColor:e})}))))},y=o(5225);const{attributes:_}=b;const{name:f}=b;(0,a.registerBlockType)(f,{...b,title:(0,l.__)("Accordion","otter-blocks"),description:(0,l.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["accordions","collapse","faq"],edit:e=>{let{name:t,attributes:o,setAttributes:l,clientId:a,isSelected:n}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(a,_);return()=>e(o.id)}),[o.id]);const r=e=>(0,y.getDefaultValueByField)({name:t,field:e,defaultAttributes:_,attributes:o}),s={"--title-color":r("titleColor"),"--title-background":r("titleBackground"),"--border-color":r("borderColor"),"--content-background":r("contentBackground")},d=(0,c.useBlockProps)({id:o.id,className:g()({[`is-${o.gap}-gap`]:o.gap}),style:s});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(k,{attributes:o,setAttributes:l,getValue:r}),(0,i.createElement)("div",d,(0,i.createElement)(c.InnerBlocks,{allowedBlocks:["themeisle-blocks/accordion-item"],template:[["themeisle-blocks/accordion-item"]],renderAppender:n?c.InnerBlocks.ButtonBlockAppender:""})))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id,className:g()({[`is-${t.gap}-gap`]:t.gap})});return(0,i.createElement)("div",o,(0,i.createElement)(c.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/accordion-item",attributes:{initialOpen:!0,title:(0,l.__)("Accordion Item","otter-blocks")},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:"Lorem ipsum dolor sit amet, eu liber saperet est. Recusabo volutpat has ne, sed dicit eruditi detraxit ut, modus ancillae mei eu.",align:"left"}}]}]}});var w=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion-item","title":"Accordion Item","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"parent":["themeisle-blocks/accordion"],"textdomain":"otter-blocks","attributes":{"title":{"type":"string"},"initialOpen":{"type":"boolean","default":false}},"supports":{"reusable":false}}'),C=o(6015),E=o(3904),x=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Initially Open","otter-blocks"),checked:t.initialOpen,onChange:e=>o({initialOpen:e})})))};const{name:T}=w;(0,a.registerBlockType)(T,{...w,title:(0,l.__)("Accordion Item","otter-blocks"),description:(0,l.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["accordions","collapse","faq"],edit:e=>{let{attributes:t,setAttributes:o}=e;const[a,n]=(0,i.useState)(!0);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(x,{attributes:t,setAttributes:o}),(0,i.createElement)("div",(0,c.useBlockProps)(),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__title",onClick:e=>{"string"==typeof e.target.className&&e.target.className.includes("block-editor-rich-text__editable")?n(!0):n(!a)}},(0,i.createElement)(c.RichText,{placeholder:(0,l.__)("Add text…","otter-blocks"),value:t.title,onChange:e=>{a||n(!0),o({title:e})},tagName:"span"}),(0,i.createElement)(s.Icon,{icon:a?C.Z:E.Z,size:24})),a&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__content"},(0,i.createElement)(c.InnerBlocks,{template:[["core/paragraph"]]}))))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({open:!!t.initialOpen});return(0,i.createElement)("details",o,(0,i.createElement)("summary",{className:"wp-block-themeisle-blocks-accordion-item__title"},(0,i.createElement)(c.RichText.Content,{tagName:"div",value:t.title})),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__content"},(0,i.createElement)(c.InnerBlocks.Content,null)))}});var S=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-heading","title":"Advanced Heading","category":"themeisle-blocks","description":"Advanced Heading gives a spin to editor\'s Heading block with much needed customization options. Powered by Otter.","keywords":["heading","title","advanced heading"],"textdomain":"otter-blocks","attributes":{"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"},"highlightColor":{"type":"string"},"highlightBackground":{"type":"string"},"fontSize":{"type":"number"},"fontSizeTablet":{"type":"number"},"fontSizeMobile":{"type":"number"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"lineHeight":{"type":"number"},"letterSpacing":{"type":"number"},"textShadow":{"type":"boolean","default":false},"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"},"paddingMobile":{"type":"number"},"paddingTop":{"type":"number","default":0},"paddingTopTablet":{"type":"number"},"paddingTopMobile":{"type":"number"},"paddingRight":{"type":"number","default":0},"paddingRightTablet":{"type":"number"},"paddingRightMobile":{"type":"number"},"paddingBottom":{"type":"number","default":0},"paddingBottomTablet":{"type":"number"},"paddingBottomMobile":{"type":"number"},"paddingLeft":{"type":"number","default":0},"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":0},"marginTablet":{"type":"number"},"marginMobile":{"type":"number"},"marginTop":{"type":"number","default":0},"marginTopTablet":{"type":"number"},"marginTopMobile":{"type":"number"},"marginBottom":{"type":"number","default":25},"marginBottomTablet":{"type":"number"},"marginBottomMobile":{"type":"number"}},"editorStyle":"otter-advanced-heading-editor","style":"otter-advanced-heading-style"}'),M=o(6713),B=o(2629);const z="themeisle-blocks/highlight";(0,B.registerFormatType)(z,{name:z,title:(0,l.__)("Highlight","otter-blocks"),tagName:"span",className:"highlight",edit:e=>{let{isActive:t,value:o,onChange:a}=e;const n=()=>a((0,B.toggleFormat)(o,{type:z}));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.RichTextShortcut,{type:"primary",character:"h",onUse:n}),(0,i.createElement)(c.RichTextToolbarButton,{icon:M.Z,title:(0,l.__)("Highlight","otter-blocks"),onClick:n,isActive:t,shortcutType:"access",shortcutCharacter:"h"}))}});var P=o(80),R=o.n(P);const L=[{attributes:{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}},save:e=>{let t,{attributes:o,className:l}=e;o.textShadow&&(t={textShadow:`${o.textShadowHorizontal}px ${o.textShadowVertical}px ${o.textShadowBlur}px ${R()(o.textShadowColor?o.textShadowColor:"#000000",o.textShadowColorOpacity)}`});const a={color:o.headingColor,fontFamily:o.fontFamily,fontWeight:"regular"===o.fontVariant?"normal":o.fontVariant,fontStyle:o.fontStyle,textTransform:o.textTransform,lineHeight:o.lineHeight&&`${o.lineHeight}px`,letterSpacing:o.letterSpacing&&`${o.letterSpacing}px`,...t};return(0,i.createElement)(c.RichText.Content,{tagName:o.tag,value:o.content,id:o.id,className:g()(o.id,l),style:a})}}];var V=L,N={from:[{type:"block",blocks:["core/heading"],transform:e=>{let{content:t}=e;return(0,a.createBlock)("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,a.createBlock)("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,a.createBlock)("core/paragraph",{content:t})}}]},H=o(7462),I=o(2819),O=o(4333),F=o(9977),A=e=>{let{attributes:t,setAttributes:o}=e;const a=e=>{o(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},n=e=>{switch(e){case"h1":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1"));case"h2":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2"));case"h3":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3"));case"h4":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4"));case"h5":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5"));case"h6":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6"));case"div":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV"));case"p":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{x:"0",y:"15"},"P"));case"span":return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN"));default:return(0,i.createElement)(s.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DEFAULT"))}},r=e=>{o({tag:e})};return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(s.DropdownMenu,{icon:n(t.tag),label:(0,l.__)("Select tag","otter-blocks"),className:"components-toolbar",controls:[{title:(0,l.__)("Heading","otter-blocks")+" 1",icon:n("h1"),onClick:()=>r("h1")},{title:(0,l.__)("Heading","otter-blocks")+" 2",icon:n("h2"),onClick:()=>r("h2")},{title:(0,l.__)("Heading","otter-blocks")+" 3",icon:n("h3"),onClick:()=>r("h3")},{title:(0,l.__)("Heading","otter-blocks")+" 4",icon:n("h4"),onClick:()=>r("h4")},{title:(0,l.__)("Heading","otter-blocks")+" 5",icon:n("h5"),onClick:()=>r("h5")},{title:(0,l.__)("Heading","otter-blocks")+" 6",icon:n("h6"),onClick:()=>r("h6")},{title:(0,l.__)("Division","otter-blocks"),icon:n("div"),onClick:()=>r("div")},{title:(0,l.__)("Paragraph","otter-blocks"),icon:n("p"),onClick:()=>r("p")},{title:(0,l.__)("Span Tag","otter-blocks"),icon:n("span"),onClick:()=>r("span")}]}),(0,i.createElement)(s.ToolbarGroup,null,(0,i.createElement)(s.Dropdown,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:e=>{let{isOpen:t,onToggle:o}=e;return(0,i.createElement)(s.Button,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:o,"aria-haspopup":"true","aria-expanded":t,label:(0,l.__)("Typography Settings","otter-blocks"),showTooltip:!0},(0,i.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)(F.Z,{label:(0,l.__)("Font Family","otter-blocks"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:e=>o({fontVariant:e}),valueStyle:t.fontStyle,onChangeFontStyle:e=>o({fontStyle:e}),valueTransform:t.textTransform,onChangeTextTransform:e=>o({textTransform:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Line Height","otter-blocks"),value:t.lineHeight,onChange:e=>o({lineHeight:e}),step:.1,min:0,max:3}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Letter Spacing","otter-blocks"),value:t.letterSpacing,onChange:e=>o({letterSpacing:e}),step:.1,min:-50,max:100}))})))},G=e=>{let{value:t,options:o,onChange:l}=e;return(0,i.createElement)(s.PanelBody,{className:"o-inspector-header"},o.map(((e,o)=>(0,i.createElement)(s.Button,{key:o,className:g()({"is-active":e.value===t}),onClick:()=>l(e.value)},e.label))))},D=o(3532),$=o(2136),W=o(6993),Z=o(2372);const j=e=>{let{value:t,onChange:o}=e;const a=(0,O.useInstanceId)(j);(0,i.useEffect)((()=>m(t)),[t]);const[n,r]=(0,i.useState)(!1),[d,m]=(0,i.useState)(null),u=void 0!==window.themeisleGutenberg.blockIDs&&t!==d&&window.themeisleGutenberg.blockIDs.includes(d);return(0,i.createElement)(c.InspectorAdvancedControls,null,(0,i.createElement)(s.BaseControl,{label:(0,l.__)("HTML Anchor","otter-blocks"),help:(0,l.__)("Anchors lets you link directly to a section on a page.","otter-blocks"),id:`o-html-anchor-control-${a}`},(0,i.createElement)("div",{className:"o-html-anchor-control"},(0,i.createElement)("input",{type:"text",className:"o-html-anchor-control-input",readOnly:!n&&"readonly",value:n?d:t,onChange:e=>m(e.target.value),onClick:e=>e.target.select()}),(0,i.createElement)(s.Button,{icon:n?"yes":"edit",label:n?(0,l.__)("Save","otter-blocks"):(0,l.__)("Edit","otter-blocks"),showTooltip:!0,disabled:!!u,className:g()("o-html-anchor-control-button",{"is-saved":!n}),onClick:()=>{if(n&&t!==d){const e=window.themeisleGutenberg.blockIDs.findIndex((e=>e===t));window.themeisleGutenberg.blockIDs[e]=d,o(d)}r(!n)}}))),u&&(0,i.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice"},(0,l.__)("This ID has already been used in this page. Please consider using a different ID to avoid conflict.","otter-blocks")))};var U=j,q=e=>{let{values:t,setAttributes:o}=e;return(0,i.createElement)("div",{className:"o-clear-button"},(0,i.createElement)(s.Button,{isSmall:!0,isSecondary:!0,onClick:()=>{const e=((0,I.isArray)(t)?t:[t]).map((e=>{if((0,I.isString)(e))return e;if((0,I.isObject)(e)){const t=Object.keys(e);if(1===t.length)return e[t[0]]?t[0]:void 0}})).filter(I.isString).reduce(((e,t)=>(e[t]=void 0,e)),{});o(e)}},(0,l.__)("Clear","otter-blocks")))},J=e=>{let{attributes:t,setAttributes:o}=e;const a=(0,h.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post");return o?o():t()}),[]),[n,r]=(0,i.useState)("style"),d={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},m={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},u={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},b=e=>{if("top"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingTop;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile}else if("right"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingRight;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile}else if("bottom"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingBottom;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile}else if("left"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingLeft;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile}},p={top:"marginTop",bottom:"marginBottom"},g={top:"marginTopTablet",bottom:"marginBottomTablet"},v={top:"marginTopMobile",bottom:"marginBottomMobile"},k=e=>{if("top"==e)switch(a){case"Desktop":return"linked"===t.marginType?t.margin:t.marginTop;case"Tablet":return"linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet;case"Mobile":return"linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile}else if("bottom"==e)switch(a){case"Desktop":return"linked"===t.marginType?t.margin:t.marginBottom;case"Tablet":return"linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet;case"Mobile":return"linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile}};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(G,{value:n,options:[{label:(0,l.__)("Style","otter-blocks"),value:"style"},{label:(0,l.__)("Advanced","otter-blocks"),value:"advanced"}],onChange:r}),"style"===n&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("General Settings","otter-blocks"),className:"o-adv-h-panel"},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Heading Color","otter-blocks"),colorValue:t.headingColor,onColorChange:e=>o({headingColor:e})}),(0,i.createElement)(W.Z,{label:(0,l.__)("Font Size","otter-blocks")},(0,i.createElement)(s.RangeControl,{value:(()=>{switch(a){case"Desktop":return t.fontSize;case"Tablet":return t.fontSizeTablet;case"Mobile":return t.fontSizeMobile;default:return}})()||"",onChange:e=>{"Desktop"===a?o({fontSize:e}):"Tablet"===a?o({fontSizeTablet:e}):"Mobile"===a&&o({fontSizeMobile:e})},step:.1,min:1,max:500,allowReset:!0})),(0,i.createElement)(W.Z,{label:(0,l.__)("Alignment","otter-blocks")},(0,i.createElement)(c.AlignmentToolbar,{value:(()=>{switch(a){case"Desktop":return t.align;case"Tablet":return t.alignTablet;case"Mobile":return t.alignMobile;default:return}})(),onChange:e=>{"Desktop"===a?o({align:e}):"Tablet"===a?o({alignTablet:e}):"Mobile"===a&&o({alignMobile:e})},isCollapsed:!1}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Typography Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(F.Z,{label:(0,l.__)("Font Family","otter-blocks"),value:t.fontFamily,onChangeFontFamily:e=>{o(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:t.fontVariant,onChangeFontVariant:e=>o({fontVariant:e}),valueStyle:t.fontStyle,onChangeFontStyle:e=>o({fontStyle:e}),valueTransform:t.textTransform,onChangeTextTransform:e=>o({textTransform:e})}),(0,i.createElement)(q,{values:["fontFamily","fontVariant","fontStyle","textTransform"],setAttributes:o}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Line Height","otter-blocks"),value:t.lineHeight,onChange:e=>o({lineHeight:e}),step:.1,min:0,max:3,allowReset:!0}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Letter Spacing","otter-blocks"),value:t.letterSpacing,onChange:e=>o({letterSpacing:e}),step:.1,min:-50,max:100,allowReset:!0}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Shadow Properties","otter-blocks"),checked:t.textShadow,onChange:e=>o({textShadow:e})}),t.textShadow&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Color","otter-blocks"),colorValue:t.textShadowColor,onColorChange:e=>o({textShadowColor:e})}),(0,i.createElement)($.Z,{label:(0,l.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:t.textShadowColorOpacity,onChange:e=>o({textShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:t.textShadowBlur,onChange:e=>o({textShadowBlur:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:t.textShadowHorizontal,onChange:e=>o({textShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:t.textShadowVertical,onChange:e=>o({textShadowVertical:e}),min:-100,max:100})))))||"advanced"===n&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Highlight Color","otter-blocks")},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Highlight Color","otter-blocks"),colorValue:t.highlightColor,onColorChange:e=>o({highlightColor:e})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Highlight Background","otter-blocks"),colorValue:t.highlightBackground,onColorChange:e=>o({highlightBackground:e})})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Spacing","otter-blocks"),initialOpen:!1},(0,i.createElement)(W.Z,{label:(0,l.__)("Padding","otter-blocks")},(0,i.createElement)(Z.Z,{type:(()=>{switch(a){case"Desktop":return t.paddingType;case"Tablet":return t.paddingTypeTablet;case"Mobile":return t.paddingTypeMobile;default:return}})(),min:0,max:500,changeType:e=>{"Desktop"===a?o({paddingType:e}):"Tablet"===a?o({paddingTypeTablet:e}):"Mobile"===a&&o({paddingTypeMobile:e})},onChange:(e,l)=>{switch(a){case"Desktop":"linked"===t.paddingType?o({padding:l}):o({[d[e]]:l});break;case"Tablet":"linked"===t.paddingTypeTablet?o({paddingTablet:l}):o({[m[e]]:l});break;case"Mobile":"linked"===t.paddingTypeMobile?o({paddingMobile:l}):o({[u[e]]:l})}},options:[{label:(0,l.__)("Top","otter-blocks"),type:"top",value:b("top")},{label:(0,l.__)("Right","otter-blocks"),type:"right",value:b("right")},{label:(0,l.__)("Bottom","otter-blocks"),type:"bottom",value:b("bottom")},{label:(0,l.__)("Left","otter-blocks"),type:"left",value:b("left")}]})),(0,i.createElement)(q,{values:[{padding:"Desktop"===a&&"linked"===t.paddingType},{paddingTablet:"Tablet"===a&&"linked"===t.paddingType},{paddingMobile:"Mobile"===a&&"linked"===t.paddingType},{paddingRight:"Desktop"===a&&"linked"!==t.paddingType},{paddingRightTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingRightMobile:"Mobile"===a&&"linked"!==t.paddingType},{paddingTop:"Desktop"===a&&"linked"!==t.paddingType},{paddingTopTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingTopMobile:"Mobile"===a&&"linked"!==t.paddingType},{paddingBottom:"Desktop"===a&&"linked"!==t.paddingType},{paddingBottomTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingBottomMobile:"Mobile"===a&&"linked"!==t.paddingType},{paddingLeft:"Desktop"===a&&"linked"!==t.paddingType},{paddingLeftTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingLeftMobile:"Mobile"===a&&"linked"!==t.paddingType}],setAttributes:o}),(0,i.createElement)(W.Z,{label:(0,l.__)("Margin","otter-blocks")},(0,i.createElement)(Z.Z,{type:(()=>{switch(a){case"Desktop":return t.marginType;case"Tablet":return t.marginTypeTablet;case"Mobile":return t.marginTypeMobile;default:return}})(),min:-500,max:500,changeType:e=>{switch(a){case"Desktop":o({marginType:e});break;case"Tablet":o({marginTypeTablet:e});break;case"Mobile":o({marginTypeMobile:e})}},onChange:(e,l)=>{switch(a){case"Desktop":"linked"===t.marginType?o({margin:l}):o({[p[e]]:l});break;case"Tablet":"linked"===t.marginTypeTablet?o({marginTablet:l}):o({[g[e]]:l});break;case"Mobile":"linked"===t.marginTypeMobile?o({marginMobile:l}):o({[v[e]]:l})}},options:[{label:(0,l.__)("Top","otter-blocks"),type:"top",value:k("top")},{label:(0,l.__)("Right","otter-blocks"),disabled:!0},{label:(0,l.__)("Bottom","otter-blocks"),type:"bottom",value:k("bottom")},{label:(0,l.__)("Left","otter-blocks"),disabled:!0}]})),(0,i.createElement)(q,{values:[{margin:"Desktop"===a&&"linked"===t.marginType},{marginTablet:"Tablet"===a&&"linked"===t.marginType},{marginMobile:"Mobile"===a&&"linked"===t.marginType},{marginTop:"Desktop"===a&&"linked"!==t.marginType},{marginTopTablet:"Tablet"===a&&"linked"!==t.marginType},{marginTopMobile:"Mobile"===a&&"linked"!==t.marginType},{marginBottom:"Desktop"===a&&"linked"!==t.marginType},{marginBottomTablet:"Tablet"===a&&"linked"!==t.marginType},{marginBottomMobile:"Mobile"===a&&"linked"!==t.marginType}],setAttributes:o}))),(0,i.createElement)(D.p,null)),(0,i.createElement)(U,{value:t.id,onChange:e=>o({id:e})}))},K=o(2154);const{attributes:Q}=S;const{name:Y}=S;(0,a.registerBlockType)(Y,{...S,title:(0,l.__)("Advanced Heading","otter-blocks"),description:(0,l.__)("Advanced Heading gives a spin to editor's Heading block with much needed customization options. Powered by Otter.","otter-blocks"),icon:r.headingIcon,keywords:["heading","title","advanced heading"],deprecated:V,transforms:N,edit:e=>{let{attributes:t,setAttributes:o,clientId:n,mergeBlocks:r,onReplace:s}=e;const{isViewportAvailable:d,isPreviewDesktop:m,isPreviewTablet:u,isPreviewMobile:b}=(0,h.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=!!e("core/edit-post")&&e("core/edit-post");return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),p=(0,O.useViewportMatch)("large",">="),g=(0,O.useViewportMatch)("large","<="),v=(0,O.useViewportMatch)("small",">="),k=(0,O.useViewportMatch)("small","<=");(0,i.useEffect)((()=>{K.Z.attach();const e=(0,y.blockInit)(n,Q);return()=>e(t.id)}),[t.id]);let _,f,w,C=p&&!g&&v&&!k,E=!p&&!g&&v&&!k,x=!(p||g||v||k);d&&!x&&(C=m,E=u,x=b),C&&(_={fontSize:t.fontSize?`${t.fontSize}px`:void 0},f={textAlign:t.align,paddingTop:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingTop}px`,paddingRight:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingRight}px`,paddingBottom:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingBottom}px`,paddingLeft:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingLeft}px`,marginTop:"linked"===t.marginType?`${t.margin}px`:`${t.marginTop}px`,marginBottom:"linked"===t.marginType?`${t.margin}px`:`${t.marginBottom}px`}),E&&(_={fontSize:t.fontSizeTablet?`${t.fontSizeTablet}px`:void 0},f={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingTopTablet}px`,paddingRight:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingRightTablet}px`,paddingBottom:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingBottomTablet}px`,paddingLeft:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingLeftTablet}px`,marginTop:"linked"===t.marginTypeTablet?`${t.marginTablet}px`:`${t.marginTopTablet}px`,marginBottom:"linked"===t.marginTypeTablet?`${t.marginTablet}px`:`${t.marginBottomTablet}px`}),x&&(_={fontSize:t.fontSizeMobile?`${t.fontSizeMobile}px`:void 0},f={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingTopMobile}px`,paddingRight:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingRightMobile}px`,paddingBottom:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingBottomMobile}px`,paddingLeft:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingLeftMobile}px`,marginTop:"linked"===t.marginTypeMobile?`${t.marginMobile}px`:`${t.marginTopMobile}px`,marginBottom:"linked"===t.marginTypeMobile?`${t.marginMobile}px`:`${t.marginBottomMobile}px`}),t.textShadow&&(w={textShadow:`${t.textShadowHorizontal}px ${t.textShadowVertical}px ${t.textShadowBlur}px ${R()(t.textShadowColor?t.textShadowColor:"#000000",0<=t.textShadowColorOpacity?t.textShadowColorOpacity||1e-5:1)}`});const T=(0,I.omitBy)({color:t.headingColor,..._,fontFamily:t.fontFamily||void 0,fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle||void 0,textTransform:t.textTransform||void 0,lineHeight:(3<t.lineHeight?t.lineHeight+"px":t.lineHeight)||void 0,letterSpacing:t.letterSpacing&&`${t.letterSpacing}px`,...f,...w},(e=>{var t;return null==e||null===(t=e.includes)||void 0===t?void 0:t.call(e,"undefined")})),S=(0,c.useBlockProps)({id:t.id,style:T});return(0,i.useEffect)((()=>{t.fontFamily&&K.Z.loadFontToBrowser(t.fontFamily,t.fontVariant)}),[t.fontFamily]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)("style",null,`#block-${n} mark, #block-${n} .highlight {\n\t\t\t\t\t\tcolor: ${t.highlightColor};\n\t\t\t\t\t\tbackground: ${t.highlightBackground};\n\t\t\t\t\t}`),(0,i.createElement)(A,{attributes:t,setAttributes:o}),(0,i.createElement)(J,{attributes:t,setAttributes:o}),(0,i.createElement)(c.RichText,(0,H.Z)({identifier:"content",value:t.content,placeholder:(0,l.__)("Write heading…","otter-blocks"),tagName:t.tag,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/highlight","themeisle-blocks/count-animation","themeisle-blocks/typing-animation","themeisle-blocks/dynamic-value","themeisle-blocks/dynamic-link"],onMerge:r,onSplit:(e,o)=>{let l;var r;return l=o||e?(0,a.createBlock)("themeisle-blocks/advanced-heading",{...t,content:e}):(0,a.createBlock)(null!==(r=(0,a.getDefaultBlockName)())&&void 0!==r?r:"themeisle-blocks/advanced-heading"),o&&(l.clientId=n),l},onReplace:s,onRemove:()=>s([]),onChange:e=>{o({content:e})}},S)))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id,className:t.id});return(0,i.createElement)(c.RichText.Content,(0,H.Z)({tagName:t.tag,value:t.content},o))},example:{attributes:{content:(0,l.__)("A heading with more customization options","otter-blocks")}}});var X=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button-group","title":"Button Group","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"spacing":{"type":"number","default":20},"paddingTopBottom":{"type":"number"},"paddingLeftRight":{"type":"number"},"collapse":{"type":"string","default":"collapse-none"},"fontSize":{"type":"number"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"textTransform":{"type":"string"},"fontStyle":{"type":"string"},"lineHeight":{"type":"number"}},"editorStyle":"otter-button-group-editor","style":"otter-button-group-style"}');const ee={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}]}},te=[{attributes:ee,save:e=>{let{attributes:t,className:o}=e;const l="collapse-none"!==t.collapse?t.collapse:"",a={fontSize:`${t.fontSize}px`,fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&`${t.lineHeight}px`};return(0,i.createElement)("div",{id:t.id,className:g()(o,l),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},(0,I.times)(t.buttons,(e=>(e=>{const o={...a,borderWidth:`${t.data[e].borderSize}px`,borderRadius:`${t.data[e].borderRadius}px`,padding:`${t.data[e].paddingTopBottom}px ${t.data[e].paddingLeftRight}px`};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:g()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${e}`),style:o},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&(0,i.createElement)("i",{className:g()(t.data[e].prefix,"fa-fw",`fa-${t.data[e].icon}`,{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&(0,i.createElement)(c.RichText.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&(0,i.createElement)("i",{className:`${t.data[e].prefix} fa-fw fa-${t.data[e].icon} margin-left`})))})(e))))}},{attributes:ee,save:e=>{let{attributes:t,className:o}=e;const l="collapse-none"!==t.collapse?t.collapse:"",a={fontSize:`${t.fontSize}px`,fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&`${t.lineHeight}px`};return(0,i.createElement)("div",{id:t.id,className:g()(o,l),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},(0,I.times)(t.buttons,(e=>(e=>{const o={...a,borderWidth:`${t.data[e].borderSize}px`,borderRadius:`${t.data[e].borderRadius}px`,padding:`${t.data[e].paddingTopBottom}px ${t.data[e].paddingLeftRight}px`};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:g()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${e}`),style:o,rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&(0,i.createElement)("i",{className:g()(t.data[e].prefix,"fa-fw",`fa-${t.data[e].icon}`,{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&(0,i.createElement)(c.RichText.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&(0,i.createElement)("i",{className:`${t.data[e].prefix} fa-fw fa-${t.data[e].icon} margin-left`})))})(e))))}},{attributes:{...ee,fontSize:{type:"number"},fontStyle:{type:"string"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",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:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",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:"",paddingLeftRight:""}]}},migrate:(e,t)=>{let o,l,n;return"flex-start"===e.align&&(o="left"),"center"===e.align&&(o="center"),"flex-end"===e.align&&(o="right"),e.data&&(l=(0,I.pick)(e.data[0],["paddingLeftRight","paddingTopBottom"]),1<=Object.keys(l).length&&(l=(0,I.pick)(l,Object.keys(l).filter((e=>""!==l[e])))),n=e.data.filter(((t,o)=>o<e.buttons)).map((e=>{const t=(0,I.omit)(e,["paddingLeftRight","paddingTopBottom"]);return(0,a.createBlock)("themeisle-blocks/button",{...t})}))),[{...(0,I.omit)(e,["buttons","data"]),align:o,...l},[...n,...t]]},save:e=>{let{attributes:t,className:o}=e;const l="collapse-none"!==t.collapse?t.collapse:"";return(0,i.createElement)("div",{id:t.id,className:g()(o,l,"wp-block-button")},(0,I.times)(t.buttons,(e=>(e=>(0,i.createElement)("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:g()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${e}`,"wp-block-button__link"),rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&(0,i.createElement)("i",{className:g()(t.data[e].prefix,"fa-fw",`fa-${t.data[e].icon}`,{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&(0,i.createElement)(c.RichText.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&(0,i.createElement)("i",{className:`${t.data[e].prefix} fa-fw fa-${t.data[e].icon} margin-left`})))(e))))}}];var oe=te,le=o(4022),ae=o(1138),ne=o(4934),re=o(2380),ie=o(9700),ce=o(8286),se=e=>{var t,o;let{attributes:a,setAttributes:n,currentDevice:r}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Spacing","otter-blocks")},(0,i.createElement)(Z.Z,{label:(0,l.__)("Padding","otter-blocks"),min:0,max:100,onChange:(e,t)=>{"top"!==e&&"bottom"!==e||n({paddingTopBottom:t}),"right"!==e&&"left"!==e||n({paddingLeftRight:t})},options:[{label:(0,l.__)("Top","otter-blocks"),type:"top",value:a.paddingTopBottom},{label:(0,l.__)("Right","otter-blocks"),type:"right",value:a.paddingLeftRight},{label:(0,l.__)("Bottom","otter-blocks"),type:"bottom",value:a.paddingTopBottom},{label:(0,l.__)("Left","otter-blocks"),type:"left",value:a.paddingLeftRight}]}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Spacing","otter-blocks"),value:a.spacing,onChange:e=>n({spacing:e}),step:.1,min:0,max:50}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Collapse On","otter-blocks"),value:a.collapse,options:[{label:(0,l.__)("None","otter-blocks"),value:"collapse-none"},{label:(0,l.__)("Desktop","otter-blocks"),value:"collapse-desktop"},{label:(0,l.__)("Tablet","otter-blocks"),value:"collapse-tablet"},{label:(0,l.__)("Mobile","otter-blocks"),value:"collapse-mobile"}],onChange:e=>n({collapse:e})}),(0,i.createElement)(W.Z,{label:(0,l.__)("Alignment","otter-blocks"),className:"buttons-alignment-control"},(0,i.createElement)(ce.Z,{value:null!==(t=null==a||null===(o=a.align)||void 0===o?void 0:o[r])&&void 0!==t?t:"none",options:[{icon:le.Z,label:(0,l.__)("None","otter-blocks"),value:"none"},{icon:ae.Z,label:(0,l.__)("Full","otter-blocks"),value:"full"},{icon:ne.Z,label:(0,l.__)("Left","otter-blocks"),value:"left"},{icon:re.Z,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:ie.Z,label:(0,l.__)("Right","otter-blocks"),value:"right"}],onChange:e=>{const t=a.align?{desktop:a.align.desktop,tablet:a.align.tablet,mobile:a.align.mobile}:{};t[r]="none"===e?void 0:e,n({align:t})},hasIcon:!0}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Typography Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Font Size","otter-blocks"),value:a.fontSize,onChange:e=>n({fontSize:e}),step:.1,min:0,max:50}),(0,i.createElement)(F.Z,{label:(0,l.__)("Font Family","otter-blocks"),value:a.fontFamily,onChangeFontFamily:e=>{n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:void 0,fontVariant:void 0,fontStyle:void 0})},valueVariant:a.fontVariant,onChangeFontVariant:e=>n({fontVariant:e}),valueStyle:a.fontStyle,onChangeFontStyle:e=>n({fontStyle:e}),valueTransform:a.textTransform,onChangeTextTransform:e=>n({textTransform:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Line Height","otter-blocks"),value:a.lineHeight,onChange:e=>n({lineHeight:e}),step:.1,min:0,max:200})))};const{attributes:de}=X;const{name:me}=X;(0,a.registerBlockType)(me,{...X,title:(0,l.__)("Button Group","otter-blocks"),description:(0,l.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["button","buttons","button group"],deprecated:oe,edit:e=>{let{attributes:t,setAttributes:o,clientId:l}=e;const{isViewportAvailable:a,isPreviewDesktop:n,isPreviewTablet:r,isPreviewMobile:s}=(0,h.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=!!e("core/edit-post")&&e("core/edit-post");return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),d=(0,h.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post");return o?o().toLowerCase():t().toLowerCase()}),[]),m=(0,O.useViewportMatch)("large",">="),u=(0,O.useViewportMatch)("large","<="),b=(0,O.useViewportMatch)("small",">="),p=(0,O.useViewportMatch)("small","<=");(0,i.useEffect)((()=>{K.Z.attach();const e=(0,y.blockInit)(l,de);return()=>e(t.id)}),[]);let v=m&&!u&&b&&!p,k=!m&&!u&&b&&!p,_=!(m||u||b||p);a&&!_&&(v=n,k=r,_=s);const f={"--spacing":t.spacing&&t.spacing+"px"},w=["desktop","tablet","mobile"].reduce(((e,o)=>(t.align&&t.align[o]&&e.push(`align-${t.align[o]}-${o}`),e)),[]),C=(0,c.useBlockProps)({id:t.id,className:g()("wp-block-buttons",{[`align-${t.align}`]:"string"==typeof t.align,collapse:"collapse-desktop"===t.collapse&&(v||k||_)||"collapse-tablet"===t.collapse&&(k||_)||"collapse-mobile"===t.collapse&&_},...w),style:f});return(0,i.useEffect)((()=>{t.fontFamily&&K.Z.loadFontToBrowser(t.fontFamily,t.fontVariant)}),[t.fontFamily]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(se,{attributes:t,setAttributes:o,currentDevice:d}),(0,i.createElement)("div",C,(0,i.createElement)(c.InnerBlocks,{allowedBlocks:["themeisle-blocks/button"],__experimentalMoverDirection:"horizontal",orientation:"horizontal",template:[["themeisle-blocks/button"]],renderAppender:c.InnerBlocks.DefaultAppender})))},save:e=>{let{attributes:t}=e;const o="collapse-none"!==t.collapse?t.collapse:"",l=["desktop","tablet","mobile"].reduce(((e,o)=>(t.align&&t.align[o]&&e.push(`align-${t.align[o]}-${o}`),e)),[]),a=c.useBlockProps.save({id:t.id,className:g()(o,"wp-block-buttons",{[`align-${t.align}`]:"string"==typeof t.align},...l)});return(0,i.createElement)("div",a,(0,i.createElement)(c.InnerBlocks.Content,null))},example:{attributes:{spacing:20},innerBlocks:[{name:"themeisle-blocks/button",attributes:{text:(0,l.__)("Button 1","otter-blocks")}},{name:"themeisle-blocks/button",attributes:{text:(0,l.__)("Button 2","otter-blocks")}}]}});var ue=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button","title":"Button","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"parent":["themeisle-blocks/button-group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"text":{"type":"string","source":"html","selector":"span"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"newTab":{"type":"boolean","default":false},"color":{"type":"string"},"background":{"type":"string"},"backgroundGradient":{"type":"string"},"border":{"type":"string"},"hoverColor":{"type":"string"},"hoverBackground":{"type":"string"},"hoverBackgroundGradient":{"type":"string"},"hoverBorder":{"type":"string"},"borderSize":{"type":"number"},"borderRadius":{"type":"number"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":1},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"hoverBoxShadowColor":{"type":"string"},"hoverBoxShadowColorOpacity":{"type":"number","default":50},"hoverBoxShadowBlur":{"type":"number","default":5},"hoverBoxShadowSpread":{"type":"number","default":1},"hoverBoxShadowHorizontal":{"type":"number","default":0},"hoverBoxShadowVertical":{"type":"number","default":0},"iconType":{"type":"string","default":"none"},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string"},"icon":{"type":"string"}},"supports":{"reusable":false},"styles":[{"name":"fill","label":"Fill","isDefault":true},{"name":"outline","label":"Outline"}]}'),be=o(8406),pe=o(6421),ge=window.wp.keycodes,he=e=>{let{isSelected:t,url:o,setAttributes:a,opensInNewTab:n}=e;const[r,d]=(0,i.useState)(!1),m=!!o,u=m&&t,b=()=>(d(!0),!1),p=()=>{a({link:void 0,newTab:void 0}),d(!1)},g=r&&(0,i.createElement)(s.Popover,{position:"bottom right",onClose:()=>d(!1)},(0,i.createElement)(c.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:o,opensInNewTab:n},onChange:e=>{let{url:t="",opensInNewTab:o}=e;a({link:t}),n!==o&&a({newTab:o})},onRemove:p}));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.ToolbarGroup,null,!m&&(0,i.createElement)(s.ToolbarButton,{name:"link",icon:be.Z,title:(0,l.__)("Link","otter-blocks"),shortcut:ge.displayShortcut.primary("k"),onClick:b,className:"o-toolbar-icon"}),u&&(0,i.createElement)(s.ToolbarButton,{name:"link",icon:pe.Z,title:(0,l.__)("Unlink","otter-blocks"),shortcut:ge.displayShortcut.primaryShift("k"),onClick:Boolean(window.themeisleGutenberg.isLegacyPre59)?p:b,isActive:!0,className:"o-toolbar-icon"})),t&&(0,i.createElement)(s.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[ge.rawShortcut.primary("k")]:b,[ge.rawShortcut.primaryShift("k")]:p}}),g)},ve=e=>{let{attributes:t,setAttributes:o,isSelected:l}=e;return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(he,{isSelected:l,setAttributes:o,url:t.link,opensInNewTab:t.newTab}))};const ke=(0,i.lazy)((()=>Promise.all([o.e(189),o.e(765)]).then(o.bind(o,3765))));var ye=e=>{let{attributes:t,setAttributes:o}=e;const[a,n]=(0,i.useState)(!1),r=()=>(0,i.createElement)(s.ButtonGroup,null,(0,i.createElement)(s.Button,{isSmall:!0,isSecondary:a,isPrimary:!a,onClick:()=>n(!1)},(0,l.__)("Normal","otter-blocks")),(0,i.createElement)(s.Button,{isSmall:!0,isSecondary:!a,isPrimary:a,onClick:()=>n(!0)},(0,l.__)("Hover","otter-blocks")));return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Color","otter-blocks")},(0,i.createElement)(r,null),a?(0,i.createElement)(i.Fragment,{key:"with-hover"},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Hover Color","otter-blocks"),colorValue:t.hoverColor,onColorChange:e=>o({hoverColor:e})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Hover Background","otter-blocks"),colorValue:t.hoverBackground,gradientValue:t.hoverBackgroundGradient,onColorChange:e=>o({hoverBackground:e}),onGradientChange:e=>o({hoverBackgroundGradient:e})})):(0,i.createElement)(i.Fragment,{key:"without-hover"},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Color","otter-blocks"),colorValue:t.color,onColorChange:e=>o({color:e})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Background","otter-blocks"),colorValue:t.background,gradientValue:t.backgroundGradient,onColorChange:e=>o({background:e}),onGradientChange:e=>o({backgroundGradient:e})}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Border & Box Shadow","otter-blocks"),initialOpen:!1},(0,i.createElement)(r,null),a?(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Hover Border","otter-blocks"),colorValue:t.hoverBorder,onColorChange:e=>o({hoverBorder:e})}):(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Border","otter-blocks"),colorValue:t.border,onColorChange:e=>o({border:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Width","otter-blocks"),value:t.borderSize,onChange:e=>o({borderSize:e}),step:.1,min:0,max:10}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Radius","otter-blocks"),value:t.borderRadius,onChange:e=>o({borderRadius:e}),step:.1,min:0,max:100}),(0,i.createElement)($.Z,{label:(0,l.__)("Box Shadow","otter-blocks"),attributes:t,setAttributes:o,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:()=>o({boxShadow:!0})},(0,i.createElement)(r,null),a?(0,i.createElement)(i.Fragment,{key:"with-hover"},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Shadow Color on Hover","otter-blocks"),colorValue:t.hoverBoxShadowColor,onColorChange:e=>o({hoverBoxShadowColor:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:t.hoverBoxShadowColorOpacity,onChange:e=>o({hoverBoxShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:t.hoverBoxShadowBlur,onChange:e=>o({hoverBoxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Spread","otter-blocks"),value:t.hoverBoxShadowSpread,onChange:e=>o({hoverBoxShadowSpread:e}),min:-100,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:t.hoverBoxShadowHorizontal,onChange:e=>o({hoverBoxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:t.hoverBoxShadowVertical,onChange:e=>o({hoverBoxShadowVertical:e}),min:-100,max:100})):(0,i.createElement)(i.Fragment,{key:"without-hover"},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Shadow Color","otter-blocks"),colorValue:t.boxShadowColor,onColorChange:e=>o({boxShadowColor:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:t.boxShadowColorOpacity,onChange:e=>o({boxShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:t.boxShadowBlur,onChange:e=>o({boxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Spread","otter-blocks"),value:t.boxShadowSpread,onChange:e=>o({boxShadowSpread:e}),min:-100,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:t.boxShadowHorizontal,onChange:e=>o({boxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:t.boxShadowVertical,onChange:e=>o({boxShadowVertical:e}),min:-100,max:100})))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Icon Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Icon Position","otter-blocks"),value:t.iconType,options:[{label:(0,l.__)("No Icon","otter-blocks"),value:"none"},{label:(0,l.__)("Left","otter-blocks"),value:"left"},{label:(0,l.__)("Right","otter-blocks"),value:"right"},{label:(0,l.__)("Icon Only","otter-blocks"),value:"only"}],onChange:e=>o({iconType:e})}),"none"!==t.iconType&&(0,i.createElement)(i.Suspense,{fallback:(0,i.createElement)(s.Placeholder,null,(0,i.createElement)(s.Spinner,null))},(0,i.createElement)(ke,{label:(0,l.__)("Icon Picker","otter-blocks"),library:t.library,prefix:t.prefix,icon:t.icon,changeLibrary:e=>{o({library:e,icon:void 0,prefix:"fab"})},onChange:e=>{o("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}}))))},_e=o(48);const{attributes:fe}=ue;const{name:we}=ue;(0,a.registerBlockType)(we,{...ue,title:(0,l.__)("Button","otter-blocks"),description:(0,l.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["button","buttons","button group"],styles:[{name:"fill",label:(0,l.__)("Fill","otter-blocks"),isDefault:!0},{name:"outline",label:(0,l.__)("Outline","otter-blocks")},...window.themeisleGutenberg.hasNeve?[{name:"primary",label:(0,l.__)("Primary","otter-blocks")},{name:"secondary",label:(0,l.__)("Secondary","otter-blocks")}]:[]],edit:e=>{let{attributes:t,setAttributes:o,isSelected:a,clientId:n}=e;const{hasParent:r,parentAttributes:s}=(0,h.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:o}=e("core/block-editor"),l=t(o(n));return{hasParent:!!l,parentAttributes:l?l.attributes:{}}}),[]);(0,i.useEffect)((()=>{const e=(0,y.blockInit)(n,fe);return()=>e(t.id)}),[]);let d={},m={};t.boxShadow&&(d={boxShadow:`${t.boxShadowHorizontal}px ${t.boxShadowVertical}px ${t.boxShadowBlur}px ${t.boxShadowSpread}px ${R()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity)}`}),r&&(m={paddingTop:`${s.paddingTopBottom}px`,paddingBottom:`${s.paddingTopBottom}px`,paddingLeft:`${s.paddingLeftRight}px`,paddingRight:`${s.paddingLeftRight}px`,fontSize:s.fontSize&&`${s.fontSize}px`,fontFamily:s.fontFamily,fontWeight:s.fontVariant,fontStyle:s.fontStyle,textTransform:s.textTransform,lineHeight:s.lineHeight&&`${s.lineHeight}px`});const u={color:t.color,background:t.background||t.backgroundGradient,border:`${t.borderSize}px solid ${t.border}`,borderRadius:t.borderRadius,...d,...m},b={fill:t.color,width:s.fontSize&&`${s.fontSize}px`},p=_e.ZP.icons[t.icon],[v,k]=(0,y.useCSSNode)();(0,i.useEffect)((()=>{k([`.wp-block-button__link:hover {\n\t\t\t\tcolor: ${t.hoverColor} !important;\n\t\t\t\tbackground: ${t.hoverBackground||t.hoverBackgroundGradient} !important;\n\t\t\t\tborder-color: ${t.hoverBorder} !important;\n\t\t\t\t${t.boxShadow&&`box-shadow: ${t.hoverBoxShadowHorizontal}px ${t.hoverBoxShadowVertical}px ${t.hoverBoxShadowBlur}px ${t.hoverBoxShadowSpread}px ${R()(t.hoverBoxShadowColor?t.hoverBoxShadowColor:"#000000",t.hoverBoxShadowColorOpacity)} !important;`}\n\t\t\t}`,`.wp-block-button__link:hover svg {\n\t\t\t\tfill: ${t.hoverColor} !important;\n\t\t\t}`])}),[t.hoverColor,t.hoverBackground,t.hoverBackgroundGradient,t.hoverBorder,t.hoverColor,t.boxShadow,t.hoverBoxShadowHorizontal,t.hoverBoxShadowBlur,t.hoverBoxShadowSpread,t.hoverBoxShadowColor,t.hoverBoxShadowColorOpacity]);const _=(0,c.useBlockProps)({id:t.id,className:g()("wp-block-button",v),style:{}});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ve,{attributes:t,setAttributes:o,isSelected:a}),(0,i.createElement)(ye,{attributes:t,setAttributes:o}),(0,i.createElement)("div",_,"none"!==t.iconType?(0,i.createElement)("div",{className:"wp-block-button__link",style:u},("left"===t.iconType||"only"===t.iconType)&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(p,{className:g()({"margin-right":"left"===t.iconType}),style:b}):(0,i.createElement)("i",{className:g()(t.prefix,"fa-fw",`fa-${t.icon}`,{"margin-right":"left"===t.iconType})})),"only"!==t.iconType&&(0,i.createElement)(c.RichText,{placeholder:(0,l.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>o({text:e}),tagName:"div",withoutInteractiveFormatting:!0}),"right"===t.iconType&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(p,{className:"margin-left",style:b}):(0,i.createElement)("i",{className:`${t.prefix} fa-fw fa-${t.icon} margin-left`}))):(0,i.createElement)(c.RichText,{placeholder:(0,l.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>o({text:e}),tagName:"div",withoutInteractiveFormatting:!0,className:"wp-block-button__link",style:u})))},save:e=>{let{attributes:t}=e;const o=_e.ZP.icons[t.icon],l=c.useBlockProps.save({id:t.id,className:"wp-block-button"});return(0,i.createElement)("div",l,(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer",className:"wp-block-button__link"},("left"===t.iconType||"only"===t.iconType)&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(o,{className:g()({"margin-right":"left"===t.iconType})}):(0,i.createElement)("i",{className:g()(t.prefix,"fa-fw",`fa-${t.icon}`,{"margin-right":"left"===t.iconType})})),"only"!==t.iconType&&(0,i.createElement)(c.RichText.Content,{tagName:"span",value:t.text}),"right"===t.iconType&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(o,{className:"margin-left"}):(0,i.createElement)("i",{className:`${t.prefix} fa-fw fa-${t.icon} margin-left`}))))},example:{attributes:{}}});var Ce=o(269),Ee=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/circle-counter","title":"Circle Counter","category":"themeisle-blocks","description":"Show your progress with a beautiful Circle Counter block. Powered by Otter.","keywords":["progress","circle","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string","default":"Skill"},"percentage":{"type":"number","default":50},"duration":{"type":"number","default":2},"titleStyle":{"type":"string","default":"default"},"height":{"type":"number","default":100},"fontSizeTitle":{"type":"number"},"fontSizePercent":{"type":"number"},"strokeWidth":{"type":"number","default":10},"backgroundColor":{"type":"string"},"progressColor":{"type":"string"},"titleColor":{"type":"string"}},"editorStyle":"otter-circle-counter-editor","style":"otter-circle-counter-style","script":"otter-circle-counter"}'),xe=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Percentage","otter-blocks"),help:(0,l.__)("The value of the counter.","otter-blocks"),value:t.percentage,onChange:e=>{void 0!==e&&(e=(0,I.clamp)(e,0,100),o({percentage:e}))},min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Duration","otter-blocks"),help:(0,l.__)("The duration of the animation.","otter-blocks"),value:t.duration,onChange:e=>{void 0!==e&&(e=(0,I.clamp)(e,0,3),o({duration:e}))},min:0,max:3}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Title Style","otter-blocks"),value:t.titleStyle,options:[{label:(0,l.__)("Default","otter-blocks"),value:"default"},{label:(0,l.__)("Hide","otter-blocks"),value:"hide"},{label:(0,l.__)("Bottom","otter-blocks"),value:"bottom"}],onChange:e=>o({titleStyle:e})})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Style","otter-blocks")},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Height","otter-blocks"),help:(0,l.__)("The height of the circle counter.","otter-blocks"),value:t.height,onChange:e=>o({height:e}),min:0,max:240}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Circle Thickness","otter-blocks"),help:(0,l.__)("Change the thickness (stroke width) of the circle.","otter-blocks"),value:t.strokeWidth,onChange:e=>o({strokeWidth:e}),initialPosition:10,min:0,max:20}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Font Size Title","otter-blocks"),help:(0,l.__)("Change the font size of the title.","otter-blocks"),value:t.fontSizeTitle,onChange:e=>o({fontSizeTitle:e}),initialPosition:37,min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Font Size Percent","otter-blocks"),help:(0,l.__)("Change the font size of the inner text.","otter-blocks"),value:t.fontSizePercent,onChange:e=>o({fontSizePercent:e}),initialPosition:27,min:0,max:80}),"hide"!==t.titleStyle&&(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Title Color","otter-blocks"),colorValue:t.titleColor,onColorChange:e=>o({titleColor:e})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Progress Color","otter-blocks"),colorValue:t.progressColor,onColorChange:e=>o({progressColor:e})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Background Color","otter-blocks"),colorValue:t.backgroundColor,onColorChange:e=>o({backgroundColor:e})})))},Te=e=>{let{attributes:t,progressRef:o,valueRef:l}=e;const a=t.height,n=a/2,r=a/2-t.strokeWidth/2,c=2*Math.PI*r;return 0>r?(0,i.createElement)("div",null):(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar",style:{height:a+"px",width:a+"px"}},(0,i.createElement)("svg",{className:"wp-block-themeisle-blocks-circle-counter-container",width:a,height:a},(0,i.createElement)("circle",{className:"wp-block-themeisle-blocks-circle-counter-bg",cx:n,cy:n,r:r,strokeWidth:t.strokeWidth,style:{stroke:t.backgroundColor}}),(0,i.createElement)("circle",{ref:o,className:"wp-block-themeisle-blocks-circle-counter-progress",cx:n,cy:n,r:r,strokeWidth:t.strokeWidth,strokeDasharray:c,style:{stroke:t.progressColor}}),(0,i.createElement)("text",{ref:l,className:"wp-block-themeisle-blocks-circle-counter-text",x:"50%",y:"50%",style:{fill:t.progressColor,fontSize:t.fontSizePercent+"px"}},t.percentage,"%")))};const{attributes:Se}=Ee;const{clamp:Me,omit:Be}=lodash,ze={to:[{type:"block",blocks:["themeisle-blocks/progress-bar"],transform:e=>{const t=Be(e,["titleStyle","height","fontSize","strokeWidth","progressColor"]);return(0,a.createBlock)("themeisle-blocks/progress-bar",{...t,barBackgroundColor:e.progressColor,height:Me(e.height/4,0,100),titleStyle:"default"})}}]};var Pe=ze;const{name:Re}=Ee;(0,a.registerBlockType)(Re,{...Ee,title:(0,l.__)("Circle Counter","otter-blocks"),description:(0,l.__)("Show your progress with a beautiful Circle Counter block. Powered by Otter.","otter-blocks"),icon:Ce.Z,keywords:["progress","circle","counter"],transforms:Pe,edit:e=>{let{clientId:t,attributes:o,setAttributes:a,isSelected:n,toggleSelection:r}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(t,Se);return()=>e(o.id)}),[o.id]);const d=(0,i.useRef)(null),m=(0,i.useRef)(null),[u,b]=(0,i.useState)({}),p=o.height/2-o.strokeWidth/2,g=2*Math.PI*p;(0,i.useEffect)((()=>{if(!d.current||!d.current||0===o.duration)return;const e=o.percentage/(1e3*o.duration),t=(0,I.range)(0,1e3*o.duration+20,20).map((t=>t*e)).reverse();u&&clearInterval(u),d.current.style.strokeDashoffset=g,m.current.innerText="0%";const l=setInterval((()=>{if(!d.current)return void clearInterval(l);const e=Math.round(t.pop());d.current.style.strokeDashoffset=(100-e)/100*g,m.current.innerHTML=e+"%",0===t.length&&clearInterval(l)}),20);return b(l),()=>{clearInterval(l)}}),[o.duration]),(0,i.useEffect)((()=>{if(d.current&&d.current)return d.current.style.strokeDashoffset=(100-o.percentage)/100*g,m.current.innerHTML=o.percentage+"%",clearInterval(u),()=>{clearInterval(u)}}),[o.percentage,o.height]);const h={"--font-size-title":(v=o.fontSizeTitle,v?`${v}px`:v)};var v;const k=(0,c.useBlockProps)({id:o.id,style:h});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(xe,{attributes:o,setAttributes:a}),(0,i.createElement)("div",k,"default"===o.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)(c.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:n?(0,l.__)("Write caption…","otter-blocks"):null,value:o.title,onChange:e=>a({title:e}),multiline:!1,style:{color:o.titleColor}})),(0,i.createElement)(s.ResizableBox,{size:{height:o.height,width:o.height},minHeight:0,maxHeight:240,enable:{top:!1,right:!1,bottom:!0,left:!1},showHandle:n,onResizeStop:(e,t,l,n)=>{a({height:parseInt(o.height+n.height,10)}),r(!0)},onResizeStart:()=>{r(!1)}},(0,i.createElement)(Te,{attributes:o,progressRef:d,valueRef:m})),"bottom"===o.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)(c.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:n?(0,l.__)("Write caption…","otter-blocks"):null,value:o.title,onChange:e=>a({title:e}),multiline:!1,style:{color:o.titleColor}}))))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id,"data-percentage":t.percentage,"data-duration":t.duration,"data-height":t.height,"data-stroke-width":t.strokeWidth,"data-font-size-percent":t.fontSizePercent,"data-background-stroke":t.backgroundColor,"data-progress-stroke":t.progressColor});return(0,i.createElement)("div",o,"default"===t.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value"},t.title)),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar"}),"bottom"===t.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value"},t.title)))},example:{attributes:{title:"Lorem ipsum"}}});var Le=o(2506),Ve=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/countdown","title":"Countdown","category":"themeisle-blocks","description":"Set a countdown for a date. Powered by Otter.","keywords":["countdown","time","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"date":{"type":"string"},"exclude":{"type":"array"},"backgroundColor":{"type":"string"},"valueColor":{"type":"string"},"labelColor":{"type":"string"},"labelDistance":{"type":"number"},"separatorColor":{"type":"string"},"gap":{"type":"number"},"gapTablet":{"type":"number"},"gapMobile":{"type":"number"},"width":{"type":"number"},"widthTablet":{"type":"number"},"widthMobile":{"type":"number"},"containerWidth":{"type":"string"},"containerWidthTablet":{"type":"string"},"containerWidthMobile":{"type":"string"},"height":{"type":"number"},"heightTablet":{"type":"number"},"heightMobile":{"type":"number"},"borderRadius":{"type":["number","object"]},"borderRadiusBox":{"type":"object"},"borderStyle":{"type":"string"},"borderWidth":{"type":"number"},"borderWidthTablet":{"type":"number"},"borderWidthMobile":{"type":"number"},"borderColor":{"type":"string"},"valueFontSize":{"type":["number","string"]},"valueFontSizeTablet":{"type":["number","string"]},"valueFontSizeMobile":{"type":["number","string"]},"labelFontSize":{"type":["number","string"]},"labelFontSizeTablet":{"type":["number","string"]},"labelFontSizeMobile":{"type":["number","string"]},"hasSeparators":{"type":"boolean"},"valueFontWeight":{"type":"string"},"labelFontWeight":{"type":"string"},"alignment":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderRadiusTopRight":{"type":"number"},"borderRadiusTopLeft":{"type":"number"},"borderRadiusBottomRight":{"type":"number"},"borderRadiusBottomLeft":{"type":"number"},"borderRadiusType":{"type":"string","default":"linked"},"separatorAlignment":{"type":"string"},"behaviour":{"type":"string"},"redirectLink":{"type":"string"},"mode":{"type":"string"},"timer":{"type":"object"},"startInterval":{"type":"string"},"endInterval":{"type":"string"},"onEndAction":{"type":"string"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-countdown-editor","style":"otter-countdown-style","script":"otter-countdown"}'),Ne=o(6292),He=o.n(Ne),Ie=o(9771),Oe=o(2694),Fe=o(4715),Ae=o(9084);const Ge=[{name:(0,l.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}],De=["","100","200","300","400","500","600","700","800","900"].map((e=>({label:e||"Default",value:e}))),$e=e=>{var t;let{attributes:o}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Countdown Type","otter-blocks"),value:o.mode,options:[{label:(0,l.__)("Static","otter-blocks"),value:""},{label:(0,l.__)("Evergreen (Pro)","otter-blocks"),value:"timer",disabled:!0},{label:(0,l.__)("Interval (Pro)","otter-blocks"),value:"interval",disabled:!0}],help:(0,l.__)("An universal deadline for all visitors","otter-blocks")}),!Boolean(null===(t=window.themeisleGutenberg)||void 0===t?void 0:t.hasPro)&&(0,i.createElement)(Ae.Z,{notice:(0,i.createElement)(s.ExternalLink,{href:(0,Fe.Wi)(window.themeisleGutenberg.upgradeLink,"countdownfeature")},(0,l.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell"}))},We=()=>{var e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.SelectControl,{label:(0,l.__)("On Expire","otter-blocks"),value:"default",onChange:()=>{},options:[{label:(0,l.__)("No action","otter-blocks"),value:"default"},{label:(0,l.__)("Hide the Countdown","otter-blocks"),value:"hide"},{label:(0,l.__)("Redirect to link","otter-blocks"),value:"redirectLink"}],help:(0,l.__)("The countdown remains visible when it reaches 0","otter-blocks"),disabled:!0}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Hide/Show Blocks When the Countdown Ends","otter-blocks"),help:(0,l.__)("Enable Hide/Show other blocks when the Countdown ends.","otter-blocks"),checked:!1,onChange:()=>{},disabled:!0}),!Boolean(null===(e=window.themeisleGutenberg)||void 0===e?void 0:e.hasPro)&&(0,i.createElement)(Ae.Z,{notice:(0,i.createElement)(s.ExternalLink,{href:(0,Fe.Wi)(window.themeisleGutenberg.upgradeLink,"countdownfeature")},(0,l.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell"}))};var Ze=e=>{var t,o,a,n,r,d,m,u,b;let{attributes:p,setAttributes:g}=e;const{responsiveSetAttributes:v,responsiveGetAttributes:k}=(0,h.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post"),l=o?o():t();return{responsiveSetAttributes:(0,Fe.GM)(g,l),responsiveGetAttributes:(0,Fe._c)(l)}}),[]),y=(e,t)=>{var o;g(e?{exclude:null==p||null===(o=p.exclude)||void 0===o?void 0:o.filter((e=>e!==t))}:{exclude:null!=p&&p.exclude?[...null==p?void 0:p.exclude,t]:[t]})},_=(0,Ie.__experimentalGetSettings)();return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Time Settings","otter-blocks")},(0,Oe.applyFilters)("otter.countdown.controls.settings",(0,i.createElement)($e,{attributes:p}),{attributes:p,setAttributes:g}),void 0===p.mode&&(0,i.createElement)(s.Dropdown,{position:"bottom left",headerTitle:(0,l.__)("Select the date for the deadline","otter-blocks"),renderToggle:e=>{let{onToggle:t,isOpen:o}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.Button,{onClick:t,isSecondary:!0,"aria-expanded":o,className:"o-extend-btn"},p.date?(0,Ie.format)(_.formats.datetime,p.date):(0,l.__)("Select Date","otter-blocks")))},renderContent:()=>(0,i.createElement)(s.DateTimePicker,{currentDate:p.date,onChange:e=>g({date:e})}),className:"o-extend"})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Display","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Display Days","otter-blocks"),checked:!(null!=p&&null!==(t=p.exclude)&&void 0!==t&&t.includes("day")),onChange:e=>y(e,"day")}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Display Hours","otter-blocks"),checked:!(null!=p&&null!==(o=p.exclude)&&void 0!==o&&o.includes("hour")),onChange:e=>y(e,"hour")}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Display Minutes","otter-blocks"),checked:!(null!=p&&null!==(a=p.exclude)&&void 0!==a&&a.includes("minute")),onChange:e=>y(e,"minute")}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Display Seconds","otter-blocks"),checked:!(null!=p&&null!==(n=p.exclude)&&void 0!==n&&n.includes("second")),onChange:e=>y(e,"second")}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Display Separators","otter-blocks"),checked:null==p?void 0:p.hasSeparators,onChange:e=>g({hasSeparators:e})}),(0,i.createElement)(W.Z,{label:(0,l.__)("Space Between boxes","otter-blocks")},(0,i.createElement)(s.RangeControl,{value:null!==(r=k([p.gap,p.gapTablet,p.gapMobile]))&&void 0!==r?r:6,onChange:e=>v(e,["gap","gapTablet","gapMobile"]),min:0,max:100,allowReset:!0}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("End Action","otter-blocks"),initialOpen:!1},(0,Oe.applyFilters)("otter.countdown.controls.end",(0,i.createElement)(We,null),{attributes:p,setAttributes:g})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(W.Z,{label:(0,l.__)("Width","otter-blocks")},(0,i.createElement)(s.__experimentalUnitControl,{value:null!==(d=k([p.containerWidth,p.containerWidthTablet,p.containerWidthMobile]))&&void 0!==d?d:"100%",onChange:e=>v(e,["containerWidth","containerWidthTablet","containerWidthMobile"])})),(0,i.createElement)(W.Z,{label:(0,l.__)("Height","otter-blocks")},(0,i.createElement)(s.RangeControl,{value:null!==(m=k([p.height,p.heightTablet,p.heightMobile]))&&void 0!==m?m:100,onChange:e=>v(e,["height","heightTablet","heightMobile"]),min:50,max:800,allowReset:!0})),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Position","otter-blocks"),value:p.alingment,onChange:e=>g({alignment:e||void 0}),options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{label:(0,l.__)("Center","otter-blocks"),value:"center"},{label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}]}),p.hasSeparators&&(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Separator Alignment","otter-blocks"),value:p.separatorAlignment,onChange:e=>{g(e?{separatorAlignment:e}:{separatorAlignment:void 0})},options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Center","otter-blocks"),value:"center"}]})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(W.Z,{label:(0,l.__)("Time Value Font Size","otter-blocks")},(0,i.createElement)(s.FontSizePicker,{fontSizes:Ge,withReset:!0,value:k([p.valueFontSize,p.valueFontSizeTablet,p.valueFontSizeMobile]),onChange:e=>v(e,["valueFontSize","valueFontSizeTablet","valueFontSizeMobile"])})),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Time Value Font Weight","otter-blocks"),value:p.valueFontWeight,onChange:e=>g({valueFontWeight:e||void 0}),options:De}),(0,i.createElement)(W.Z,{label:(0,l.__)("Label Font Size","otter-blocks")},(0,i.createElement)(s.FontSizePicker,{fontSizes:Ge,withReset:!0,value:k([p.labelFontSize,p.labelFontSizeTablet,p.labelFontSizeMobile]),onChange:e=>v(e,["labelFontSize","labelFontSizeTablet","labelFontSizeMobile"])})),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Label Font Weight","otter-blocks"),value:p.labelFontWeight,onChange:e=>g({labelFontWeight:e||void 0}),options:De})),(0,i.createElement)(c.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:p.backgroundColor,onChange:e=>g({backgroundColor:e}),label:(0,l.__)("Background","otter-blocks")},{value:p.valueColor,onChange:e=>g({valueColor:e}),label:(0,l.__)("Time Value","otter-blocks")},{value:p.labelColor,onChange:e=>g({labelColor:e}),label:(0,l.__)("Label","otter-blocks")},{value:p.separatorColor,onChange:e=>g({separatorColor:e}),label:(0,l.__)("Separator","otter-blocks")},{value:p.borderColor,onChange:e=>g({borderColor:e}),label:(0,l.__)("Border","otter-blocks")}]},(0,i.createElement)(c.ContrastChecker,{textColor:p.backgroundColor,backgroundColor:p.valueColor})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Type","otter-blocks"),value:null!==(u=p.borderStyle)&&void 0!==u?u:"solid",onChange:e=>g({borderStyle:"solid"===e?void 0:e}),options:[{label:(0,l.__)("None","otter-blocks"),value:"none"},{label:(0,l.__)("Solid","otter-blocks"),value:"solid"},{label:(0,l.__)("Double","otter-blocks"),value:"double"},{label:(0,l.__)("Dotted","otter-blocks"),value:"dotted"},{label:(0,l.__)("Dashed","otter-blocks"),value:"dashed"}]}),"none"!==p.borderStyle&&(0,i.createElement)(W.Z,{label:(0,l.__)("Width","otter-blocks")},(0,i.createElement)(s.RangeControl,{value:null!==(b=k([p.borderWidth,p.borderWidthTablet,p.borderWidthMobile]))&&void 0!==b?b:2,onChange:e=>v(e,["borderWidth","borderWidthTablet","borderWidthMobile"]),min:0,max:50,allowReset:!0})),(0,i.createElement)(s.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:(0,Fe.Dv)(p.borderRadiusBox,{left:"0px",right:"0px",bottom:"0px",top:"0px"}),onChange:e=>{g({borderRadiusBox:(0,Fe.cg)(e,{left:"0px",right:"0px",bottom:"0px",top:"0px"})})},id:"o-border-raduis-box"})))};const je=1e3,Ue=6e4,qe=36e5,Je=864e5,Ke=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==(e=parseInt((null==t?void 0:t.days)||"0")*Je+parseInt((null==t?void 0:t.hours)||"0")*qe+parseInt((null==t?void 0:t.minutes)||"0")*Ue+parseInt((null==t?void 0:t.seconds)||"0")*je)&&void 0!==e?e:0},Qe=(e,t)=>{var o;null!==(o=e)&&void 0!==o||(e=0);const a=Math.floor(e/Je),n=Math.floor(e/qe%24),r=Math.floor(e/Ue%60),i=Math.floor(e/je%60);return[{tag:"day",name:1<a?(0,l.__)("Days","otter-blocks"):(0,l.__)("Day","otter-blocks"),value:a},{tag:"hour",name:1<n?(0,l.__)("Hours","otter-blocks"):(0,l.__)("Hour","otter-blocks"),value:n},{tag:"minute",name:1<r?(0,l.__)("Minutes","otter-blocks"):(0,l.__)("Minute","otter-blocks"),value:r},{tag:"second",name:1<i?(0,l.__)("Seconds","otter-blocks"):(0,l.__)("Second","otter-blocks"),value:i}].filter((e=>{var o;let{tag:l}=e;return!(null!=t&&null!==(o=t.exclude)&&void 0!==o&&o.includes(l))})).map((e=>(null!=t&&t.keepNeg||(e.value=Math.max(0,e.value)),e)))},Ye=e=>{let{name:t,value:o,tag:l}=e;return(0,i.createElement)("div",{name:l,className:g()("otter-countdown__display-area",{"is-main-component":"separator"!==l})},(0,i.createElement)("div",{className:"otter-countdown__value"},o),(0,i.createElement)("div",{className:"otter-countdown__label"},t))};var Xe=e=>{var t;let{time:o,settings:l,hasSeparators:a}=e;const n=4===(null==l||null===(t=l.exclude)||void 0===t?void 0:t.length)?Qe(null!=o?o:0,{}):Qe(null!=o?o:0,{exclude:null==l?void 0:l.exclude}),r=a?(0,Fe.S3)(n,{name:"sep",value:":",tag:"separator"}):n,c=null==r?void 0:r.map(((e,t)=>(0,i.createElement)(Ye,(0,H.Z)({},e,{key:t}))));return(0,i.createElement)("div",{className:"otter-countdown__container"},void 0!==o&&(0,i.createElement)("div",{className:"otter-countdown__display"},c))};const{attributes:et}=Ve,tt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return(0,I.isNumber)(e)?`${e}${t}`:e};const ot=e=>{let{name:t,value:o,tag:l}=e;return(0,i.createElement)("div",{name:l,className:g()("otter-countdown__display-area",{"is-main-component":"separator"!==l})},(0,i.createElement)("div",{className:"otter-countdown__value"},o),(0,i.createElement)("div",{className:"otter-countdown__label"},t))},lt=e=>{let{time:t,hasSeparators:o}=e;const l=o?(0,Fe.S3)(t,{name:"sep",value:":",tag:"separator"}):t,a=null==l?void 0:l.map(((e,t)=>(0,i.createElement)(ot,(0,H.Z)({},e,{key:t}))));return void 0!==t?(0,i.createElement)("div",{className:"otter-countdown__container"},(0,i.createElement)("div",{className:"otter-countdown__display"},a)):(0,i.createElement)(i.Fragment,null)};const{name:at}=Ve;(0,a.registerBlockType)(at,{...Ve,title:(0,l.__)("Countdown","otter-blocks"),description:(0,l.__)("Set a countdown for a date. Powered by Otter.","otter-blocks"),icon:Le.Z,keywords:["countdown","time","counter"],edit:e=>{var t;let{attributes:o,setAttributes:a,clientId:n}=e;const[r,d]=(0,i.useState)(0);(0,i.useEffect)((()=>{const e=(0,y.blockInit)(n,et);return()=>e(o.id)}),[o.id]),(0,i.useEffect)((()=>{if(void 0===o.borderRadiusBox&&(o.borderRadius||o.borderRadiusBottomLeft||o.borderRadiusTopRight||o.borderRadiusTopLeft||o.borderRadiusBottomRight)){const e=(0,I.pickBy)("linked"===(null==o?void 0:o.borderRadiusType)?{left:tt(o.borderRadius,"%"),right:tt(o.borderRadius,"%"),bottom:tt(o.borderRadius,"%"),top:tt(o.borderRadius,"%")}:{left:tt(o.borderRadiusBottomLeft,"%"),right:tt(o.borderRadiusTopRight,"%"),bottom:tt(o.borderRadiusBottomRight,"%"),top:tt(o.borderRadiusTopLeft,"%")},(e=>e));(0,I.isEmpty)(e)||a({borderRadiusBox:e,borderRadius:void 0,borderRadiusBottomLeft:void 0,borderRadiusTopRight:void 0,borderRadiusBottomRight:void 0,borderRadiusTopLeft:void 0,borderRadiusType:void 0})}}),[]),(0,i.useEffect)((()=>{let e;return"timer"!==o.mode&&(e=setInterval((()=>{if(o.date){const e=1e3*He()(o.date+(0,Fe.EP)()).unix();d(e-Date.now())}}),500)),()=>{clearInterval(e)}}),[o.date,o.mode]);const m={"--border-radius":(0,Fe.bv)(o.borderRadiusBox),"--border-style":o.borderStyle,"--background-color":o.backgroundColor,"--border-color":o.borderColor,"--container-width":o.containerWidth,"--container-width-tablet":o.containerWidthTablet,"--container-width-mobile":o.containerWidthMobile,"--height":tt(o.height),"--height-tablet":tt(o.heightTablet),"--height-mobile":tt(o.heightMobile),"--border-width":tt(o.borderWidth),"--border-width-tablet":tt(o.borderWidthTablet),"--border-width-mobile":tt(o.borderWidthMobile),"--gap":tt(o.gap),"--gap-tablet":tt(o.gapTablet),"--gap-mobile":tt(o.gapMobile),"--value-font-size":tt(o.valueFontSize),"--value-font-size-tablet":tt(o.valueFontSizeTablet),"--value-font-size-mobile":tt(o.valueFontSizeMobile),"--label-font-size":tt(o.labelFontSize),"--label-font-size-tablet":tt(o.labelFontSizeTablet),"--label-font-size-mobile":tt(o.labelFontSizeMobile),"--alignment":o.alignment,"--padding":(0,Fe.bv)(o.padding),"--padding-tablet":(0,Fe.bv)(o.paddingTablet),"--padding-mobile":(0,Fe.bv)(o.paddingMobile),"--value-font-weight":o.valueFontWeight,"--label-font-weight":o.labelFontWeight},[u,b]=(0,y.useCSSNode)();(0,i.useEffect)((()=>{b([`.otter-countdown__display-area .otter-countdown__value {\n\t\t\t\tcolor: ${o.valueColor};\n\t\t\t}`,`.otter-countdown__display-area .otter-countdown__label {\n\t\t\t\tcolor: ${o.labelColor};\n\t\t\t}`,`.otter-countdown__display-area[name="separator"] .otter-countdown__value {\n\t\t\t\tcolor: ${o.separatorColor};\n\t\t\t}`,"center"===o.separatorAlignment?'\n\t\t\t.otter-countdown__display-area[name="separator"] .otter-countdown__label {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t':""])}),[o.valueColor,o.labelColor,o.separatorColor,o.separatorAlignment]);const p=(0,c.useBlockProps)({id:o.id,className:g()(u,"ready"),style:m});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Ze,{attributes:o,setAttributes:a}),(0,i.createElement)("div",p,(0,i.createElement)(Xe,{time:(()=>{switch(o.mode){case"timer":return Ke(o.timer);case"interval":return((e,t)=>{if(!e||!t)return 0;const o=new Date(e).getTime();return new Date(t).getTime()-o})(o.startInterval,o.endInterval);default:return r}})(),settings:{exclude:null==o?void 0:o.exclude},hasSeparators:o.hasSeparators}),4===(null==o||null===(t=o.exclude)||void 0===t?void 0:t.length)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("br",null),(0,i.createElement)(s.Notice,{isDismissible:!1,status:"info"},(0,l.__)("The Countdown will be hidden in page","otter-blocks")))))},save:e=>{let{attributes:t}=e;const o=t.startInterval&&t.endInterval?{"data-intv-start":t.startInterval,"data-intv-end":t.endInterval}:{},l=c.useBlockProps.save({id:t.id,"data-date":t.date,"data-bhv":t.behaviour?t.behaviour:void 0,"data-redirect-link":"redirectLink"===t.behaviour&&t.redirectLink?t.redirectLink:void 0,"data-mode":t.mode?t.mode:void 0,"data-timer":(0,I.isEmpty)(t.timer)?void 0:(a=t.timer,Ke(a).toString()),"data-on-end-action":t.onEndAction?t.onEndAction:void 0,...o});var a;return(0,i.createElement)("div",l,(0,i.createElement)(lt,{time:Qe(0,{exclude:null==t?void 0:t.exclude}),hasSeparators:null==t?void 0:t.hasSeparators}))},example:{attributes:{date:"2024-07-15T15:03:00"}}});var nt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/flip","title":"Flip Card","category":"themeisle-blocks","description":"Make a card with a flip effect. Powered by Otter.","keywords":["flip card","container","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"isInverted":{"type":"boolean"},"title":{"type":"string"},"description":{"type":"string"},"animType":{"type":"string","default":"flipY"},"width":{"type":"number"},"height":{"type":"number"},"padding":{"type":"number"},"borderWidth":{"type":"number"},"borderColor":{"type":"string"},"borderRadius":{"type":"number"},"backgroundColor":{"type":"string"},"frontVerticalAlign":{"type":"string"},"frontHorizontalAlign":{"type":"string"},"backVerticalAlign":{"type":"string"},"frontMedia":{"type":"object"},"frontMediaWidth":{"type":"number"},"frontMediaHeight":{"type":"number"},"frontBackgroundImage":{"type":"object"},"frontBackgroundType":{"type":"string","default":"color"},"frontBackgroundColor":{"type":"string"},"frontBackgroundGradient":{"type":"string"},"frontBackgroundPosition":{"type":"object"},"frontBackgroundRepeat":{"type":"string"},"frontBackgroundAttachment":{"type":"string"},"frontBackgroundSize":{"type":"string"},"backBackgroundImage":{"type":"object"},"backBackgroundType":{"type":"string","default":"color"},"backBackgroundColor":{"type":"string"},"backBackgroundGradient":{"type":"string"},"backBackgroundPosition":{"type":"object"},"backBackgroundRepeat":{"type":"string"},"backBackgroundSize":{"type":"string"},"backBackgroundAttachment":{"type":"string"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"titleFontSize":{"type":"number"},"descriptionFontSize":{"type":"number"},"titleColor":{"type":"string"},"descriptionColor":{"type":"string"}},"editorStyle":"otter-flip-editor","style":"otter-flip-style"}'),rt=e=>{let{attributes:t,setAttributes:o,isFliped:a}=e;const n=c.__experimentalBlockAlignmentMatrixControl||c.__experimentalBlockAlignmentMatrixToolbar;return(0,i.createElement)(c.BlockControls,null,(!t.isInverted&&!1===a||t.isInverted&&a)&&(0,i.createElement)(s.Toolbar,null,(0,i.createElement)(n,{label:(0,l.__)("Change front side content position","otter-blocks"),value:t.frontAlign,onChange:e=>o({frontAlign:e})})))};const it=e=>{let{backgroundType:t,backgroundColor:o,image:a,gradient:n,backgroundAttachment:d,backgroundRepeat:m,backgroundSize:u,focalPoint:b,changeImage:p,changeColor:g,removeImage:h,changeBackgroundType:v,changeGradient:k,changeBackgroundAttachment:y,changeBackgroundRepeat:_,changeBackgroundSize:f,changeFocalPoint:w}=e;const C=`inspector-background-selector-control-${(0,O.useInstanceId)(it)}`;return(0,i.createElement)("div",{id:C,className:"components-base-control o-background-selector-control"},(0,i.createElement)("div",{className:"components-base-control__field"},(0,i.createElement)("div",{className:"components-base-control__title"},(0,i.createElement)("label",{className:"components-base-control__label"},(0,l.__)("Background Type","otter-blocks")),(0,i.createElement)(s.ButtonGroup,{className:"linking-controls"},(0,i.createElement)(s.Button,{icon:"admin-customizer",label:(0,l.__)("Color","otter-blocks"),showTooltip:!0,isPrimary:"color"===t,onClick:()=>v("color")}),(0,i.createElement)(s.Button,{icon:"format-image",label:(0,l.__)("Image","otter-blocks"),showTooltip:!0,isPrimary:"image"===t,onClick:()=>v("image")}),(0,i.createElement)(s.Button,{icon:()=>(0,i.createElement)(s.Icon,{icon:r.barcodeIcon}),label:(0,l.__)("Gradient","otter-blocks"),showTooltip:!0,isPrimary:"gradient"===t,onClick:()=>v("gradient")})))),("color"===t||void 0===t)&&(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Background Color","otter-blocks"),colorValue:o,onColorChange:g}),"image"===t&&(null!=a&&a.url?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.FocalPointPicker,{label:(0,l.__)("Focal point picker","otter-blocks"),url:a.url,value:b,onDragStart:w,onDrag:w,onChange:w}),(0,i.createElement)($.Z,{label:(0,l.__)("Background Settings","otter-blocks")},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Background Attachment","otter-blocks"),value:d,options:[{label:(0,l.__)("Scroll","otter-blocks"),value:"scroll"},{label:(0,l.__)("Fixed","otter-blocks"),value:"fixed"},{label:(0,l.__)("Local","otter-blocks"),value:"local"}],onChange:y}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Background Repeat","otter-blocks"),value:m,options:[{label:(0,l.__)("Repeat","otter-blocks"),value:"repeat"},{label:(0,l.__)("No-repeat","otter-blocks"),value:"no-repeat"}],onChange:_}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Background Size","otter-blocks"),value:u,options:[{label:(0,l.__)("Auto","otter-blocks"),value:"auto"},{label:(0,l.__)("Cover","otter-blocks"),value:"cover"},{label:(0,l.__)("Contain","otter-blocks"),value:"contain"}],onChange:f})),(0,i.createElement)(s.PanelRow,null,(0,i.createElement)(s.Button,{isSmall:!0,isSecondary:!0,onClick:h},(0,l.__)("Clear Image","otter-blocks")))):(0,i.createElement)(c.MediaPlaceholder,{icon:"format-image",labels:{title:(0,l.__)("Background Image","otter-blocks"),name:(0,l.__)("an image","otter-blocks")},value:null==a?void 0:a.id,onSelect:p,accept:"image/*",allowedTypes:["image"]})),"gradient"===t&&(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Background Gradient","otter-blocks"),gradientValue:n,disableCustomColors:!0,onGradientChange:k,clearable:!1}))};var ct=it,st=e=>{var t;let{attributes:o,setAttributes:a}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Width","otter-blocks"),help:(0,l.__)("Width of the container. Make sure that the width match the size of your content.","otter-blocks"),value:o.width,onChange:e=>a({width:e}),min:0,max:1200,allowReset:!0}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Height","otter-blocks"),help:(0,l.__)("Height of the container. Make sure that the height match the size of your content.","otter-blocks"),value:o.height,onChange:e=>a({height:e}),min:0,max:1200,allowReset:!0}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Invert the sides","otter-blocks"),checked:o.isInverted,onChange:e=>a({isInverted:e}),help:(0,l.__)("Use this to display the back side first.","otter-blocks")})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Front","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.BaseControl,{label:(0,l.__)("Media Image","otter-blocks"),help:(0,l.__)("Set an image as showcase.","otter-blocks")},null!==(t=o.frontMedia)&&void 0!==t&&t.url?(0,i.createElement)(s.BaseControl,null,(0,i.createElement)("img",{src:o.frontMedia.url,alt:o.frontMedia.alt,style:{border:"2px solid var( --wp-admin-theme-color)",maxHeight:"250px"}}),(0,i.createElement)(s.Button,{isSecondary:!0,onClick:()=>a({frontMedia:void 0})},(0,l.__)("Remove image","otter-blocks"))):(0,i.createElement)(c.MediaPlaceholder,{labels:{title:(0,l.__)("Media Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:o.frontMedia,onSelect:e=>a({frontMedia:(0,I.pick)(e,["id","alt","url"])})})),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Media Width","otter-blocks"),value:o.frontMediaWidth,onChange:e=>a({frontMediaWidth:e}),min:0,max:1e3,allowReset:!0}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Media Height","otter-blocks"),value:o.frontMediaHeight,onChange:e=>a({frontMediaHeight:e}),min:0,max:1e3,allowReset:!0}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Vertical Align","otter-blocks"),value:o.frontVerticalAlign,options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Top","otter-blocks"),value:"flex-start"},{label:(0,l.__)("Center","otter-blocks"),value:"center"},{label:(0,l.__)("Bottom","otter-blocks"),value:"flex-end"}],onChange:e=>a({frontVerticalAlign:e})}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Horizontal Align","otter-blocks"),value:o.frontHorizontalAlign,options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{label:(0,l.__)("Center","otter-blocks"),value:"center"},{label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}],onChange:e=>a({frontHorizontalAlign:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Title Font Size","otter-blocks"),value:o.titleFontSize,onChange:e=>a({titleFontSize:e}),min:0,max:50,allowReset:!0}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Description Font Size","otter-blocks"),value:o.descriptionFontSize,onChange:e=>a({descriptionFontSize:e}),min:0,max:50,allowReset:!0}),(0,i.createElement)(ct,{backgroundType:o.frontBackgroundType,backgroundColor:o.frontBackgroundColor,image:o.frontBackgroundImage,gradient:o.frontBackgroundGradient,focalPoint:o.frontBackgroundPosition,backgroundAttachment:o.frontBackgroundAttachment,backgroundRepeat:o.frontBackgroundRepeat,backgroundSize:o.frontBackgroundSize,changeBackgroundType:e=>a({frontBackgroundType:e}),changeImage:e=>{a({frontBackgroundImage:(0,I.pick)(e,["id","url"])})},removeImage:()=>a({frontBackgroundImage:void 0}),changeColor:e=>a({frontBackgroundColor:e}),changeGradient:e=>a({frontBackgroundGradient:e}),changeBackgroundAttachment:e=>a({frontBackgroundAttachment:e}),changeBackgroundRepeat:e=>a({frontBackgroundRepeat:e}),changeFocalPoint:e=>a({frontBackgroundPosition:e}),changeBackgroundSize:e=>a({frontBackgroundSize:e})})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Back","otter-blocks"),initialOpen:!1},(0,i.createElement)(ct,{backgroundType:o.backBackgroundType,backgroundColor:o.backBackgroundColor,image:o.backBackgroundImage,gradient:o.backBackgroundGradient,focalPoint:o.backBackgroundPosition,backgroundAttachment:o.backBackgroundAttachment,backgroundRepeat:o.backBackgroundRepeat,backgroundSize:o.backBackgroundSize,changeBackgroundType:e=>a({backBackgroundType:e}),changeImage:e=>{a({backBackgroundImage:(0,I.pick)(e,["id","url"])})},removeImage:()=>a({backBackgroundImage:void 0}),changeColor:e=>a({backBackgroundColor:e}),changeGradient:e=>a({backBackgroundGradient:e}),changeBackgroundAttachment:e=>a({backBackgroundAttachment:e}),changeBackgroundRepeat:e=>a({backBackgroundRepeat:e}),changeFocalPoint:e=>a({backBackgroundPosition:e}),changeBackgroundSize:e=>a({backBackgroundSize:e})}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Vertical Align","otter-blocks"),value:o.backVerticalAlign,options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Top","otter-blocks"),value:"flex-start"},{label:(0,l.__)("Center","otter-blocks"),value:"center"},{label:(0,l.__)("Bottom","otter-blocks"),value:"flex-end"}],onChange:e=>a({backVerticalAlign:e})})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Style","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Flip Type","otter-blocks"),value:o.animType,options:[{label:(0,l.__)("Bottom to Top","otter-blocks"),value:"flipX"},{label:(0,l.__)("Left to right","otter-blocks"),value:"flipY"}],onChange:e=>a({animType:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Padding","otter-blocks"),value:o.padding,onChange:e=>a({padding:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Width","otter-blocks"),value:o.borderWidth,onChange:e=>a({borderWidth:e}),min:0,max:50}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Radius","otter-blocks"),value:o.borderRadius,onChange:e=>a({borderRadius:e}),min:0,max:50})),(0,i.createElement)(c.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:o.borderColor,onChange:e=>a({borderColor:e}),label:(0,l.__)("Border Color","otter-blocks")},{value:o.titleColor,onChange:e=>a({titleColor:e}),label:(0,l.__)("Title Color","otter-blocks")},{value:o.descriptionColor,onChange:e=>a({descriptionColor:e}),label:(0,l.__)("Description Color","otter-blocks")}]}),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Box Shadow","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Shadow Properties","otter-blocks"),checked:o.boxShadow,onChange:e=>a({boxShadow:e})}),o.boxShadow&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Color","otter-blocks"),colorValue:o.boxShadowColor,onColorChange:e=>{var t,l;a({boxShadowColor:100>o.boxShadowColorOpacity&&null!==(t=o.boxShadowColor)&&void 0!==t&&t.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(null==e||null===(l=e.replace("var(",""))||void 0===l?void 0:l.replace(")","")):e})}}),(0,i.createElement)($.Z,{label:(0,l.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:o.boxShadowColorOpacity,onChange:e=>{var t;const l={boxShadowColorOpacity:e};100>e&&null!==(t=o.boxShadowColor)&&void 0!==t&&t.includes("var(")&&(l.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(o.boxShadowColor.replace("var(","").replace(")",""))),a(l)},min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:o.boxShadowBlur,onChange:e=>a({boxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:o.boxShadowHorizontal,onChange:e=>a({boxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:o.boxShadowVertical,onChange:e=>a({boxShadowVertical:e}),min:-100,max:100})))))};const{attributes:dt}=nt;const{name:mt}=nt;(0,a.registerBlockType)(mt,{...nt,title:(0,l.__)("Flip Card","otter-blocks"),description:(0,l.__)("Make a card with a flip effect. Powered by Otter.","otter-blocks"),icon:Ce.Z,keywords:["flip card","container","animation"],edit:e=>{var t,o,a,n,r,d,m,u,b,p;let{attributes:h,setAttributes:v,clientId:k,isSelected:_}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(k,dt);return()=>e(h.id)}),[h.id]);const[f,w]=(0,i.useState)(!1),C={"--width":void 0!==h.width&&`${h.width}px`,"--height":void 0!==h.height&&`${h.height}px`,"--border-width":void 0!==h.borderWidth&&`${h.borderWidth}px`,"--border-color":h.borderColor,"--border-radius":void 0!==h.borderRadius&&`${h.borderRadius}px`,"--front-background":(0,Fe.nG)([["gradient"===h.frontBackgroundType&&h.frontBackgroundGradient,h.frontBackgroundGradient],["image"===h.frontBackgroundType&&(null===(t=h.frontBackgroundImage)||void 0===t?void 0:t.url),`url( ${null===(o=h.frontBackgroundImage)||void 0===o?void 0:o.url} ) ${h.frontBackgroundRepeat||"repeat"} ${h.frontBackgroundAttachment||"scroll"} ${Math.round(100*(null===(a=h.frontBackgroundPosition)||void 0===a?void 0:a.x))||50}% ${Math.round(100*(null===(n=h.frontBackgroundPosition)||void 0===n?void 0:n.y))||50}%/${h.frontBackgroundSize||"auto"}`],[h.frontBackgroundColor]]),"--back-background":(0,Fe.nG)([["gradient"===h.backBackgroundType&&h.backBackgroundGradient,h.backBackgroundGradient],["image"===h.backBackgroundType&&(null===(r=h.backBackgroundImage)||void 0===r?void 0:r.url),`url( ${null===(d=h.backBackgroundImage)||void 0===d?void 0:d.url} ) ${h.backBackgroundRepeat||"repeat"} ${h.backBackgroundAttachment||"scroll"} ${Math.round(100*(null===(m=h.backBackgroundPosition)||void 0===m?void 0:m.x))||50}% ${Math.round(100*(null===(u=h.backBackgroundPosition)||void 0===u?void 0:u.y))||50}%/${h.backBackgroundSize||"auto"}`],[h.backBackgroundColor]]),"--padding":void 0!==h.padding&&`${h.padding}px`,"--box-shadow":h.boxShadow&&`${h.boxShadowHorizontal}px ${h.boxShadowVertical}px ${h.boxShadowBlur}px ${h.boxShadowColor?h.boxShadowColor.includes("#")&&0<=h.boxShadowColorOpacity?hexToRgba(h.boxShadowColor,h.boxShadowColorOpacity||1e-5):h.boxShadowColor:hexToRgba("#000000",void 0!==h.boxShadowColorOpacity?h.boxShadowColorOpacity||1e-5:1)}`,"--front-vertical-align":h.frontVerticalAlign,"--front-horizontal-align":h.frontHorizontalAlign,"--back-vertical-align":h.backVerticalAlign,"--front-media-width":void 0!==h.frontMediaWidth&&`${h.frontMediaWidth}px`,"--front-media-height":void 0!==h.frontMediaHeight&&`${h.frontMediaHeight}px`},[E,x]=(0,y.useCSSNode)();(0,i.useEffect)((()=>{x([`.o-flip-inner {\n\t\t\t\ttransform: ${f?"var( --flip-anim )":"unset"};\n\t\t\t}`,`.o-flip-front .o-flip-content h3 {\n\t\t\t\tcolor: ${h.titleColor};\n\t\t\t\t${h.titleFontSize&&`font-size: ${h.titleFontSize}px;`}\n\t\t\t}`,`.o-flip-front .o-flip-content p {\n\t\t\t\tcolor: ${h.descriptionColor};\n\t\t\t\t${h.descriptionFontSize&&`font-size: ${h.descriptionFontSize}px;`}\n\t\t\t}`])}),[f,h.titleFontSize,h.descriptionFontSize,h.titleColor,h.descriptionColor]);const T=(0,c.useBlockProps)({id:h.id,className:g()({flipX:"flipX"===h.animType,flipY:"flipY"===h.animType},E),style:C});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(rt,{attributes:h,setAttributes:v,isFliped:f}),(0,i.createElement)(st,{attributes:h,setAttributes:v}),(0,i.createElement)("div",T,(0,i.createElement)("div",{className:g()("o-flip-inner",{invert:h.isInverted})},(0,i.createElement)("div",{className:"o-flip-front"},(0,i.createElement)("div",{className:"o-flip-content"},(null===(b=h.frontMedia)||void 0===b?void 0:b.url)&&(0,i.createElement)("img",{className:"o-img",srcSet:null===(p=h.frontMedia)||void 0===p?void 0:p.url}),(0,i.createElement)(c.RichText,{tagName:"h3",value:h.title,onChange:e=>v({title:e}),placeholder:(0,l.__)("Insert a title","otter-blocks")}),(0,i.createElement)(c.RichText,{tagName:"p",value:h.description,onChange:e=>v({description:e}),placeholder:(0,l.__)("Insert a description","otter-blocks")}))),(0,i.createElement)("div",{className:"o-flip-back"},(0,i.createElement)(c.InnerBlocks,{renderAppender:_?c.InnerBlocks.ButtonBlockAppender:""}))),_&&(0,i.createElement)("div",{className:"o-switcher"},(0,i.createElement)(s.Button,{isPrimary:!0,onClick:()=>w(!f)},f?(0,l.__)("Flip to front","otter-blocks"):(0,l.__)("Flip to back","otter-blocks")))))},save:e=>{var t,o,l,a;let{attributes:n}=e;const r=c.useBlockProps.save({id:n.id,className:g()("anim",{flipX:"flipX"===n.animType,flipY:"flipY"===n.animType})});return(0,i.createElement)("div",r,(0,i.createElement)("div",{className:g()("o-flip-inner",{invert:n.isInverted})},(0,i.createElement)("div",{className:"o-flip-front"},(0,i.createElement)("div",{className:"o-flip-content"},(null===(t=n.frontMedia)||void 0===t?void 0:t.url)&&(0,i.createElement)("img",{className:"o-img",src:null===(o=n.frontMedia)||void 0===o?void 0:o.url,srcSet:null===(l=n.frontMedia)||void 0===l?void 0:l.url,alt:null===(a=n.frontMedia)||void 0===a?void 0:a.alt}),(0,i.createElement)(c.RichText.Content,{tagName:"h3",value:n.title}),(0,i.createElement)(c.RichText.Content,{tagName:"p",value:n.description}))),(0,i.createElement)("div",{className:"o-flip-back"},(0,i.createElement)(c.InnerBlocks.Content,null))))},example:{attributes:{}}});var ut=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/font-awesome-icons","title":"Icon","category":"themeisle-blocks","description":"Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","keywords":["font awesome","dashicons","icons"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string","default":"fab"},"icon":{"type":"string","default":"themeisle"},"link":{"type":"string"},"newTab":{"type":"boolean","default":false},"fontSize":{"type":["number","string"],"default":"16px"},"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},"isSynced":{"type":"array"}},"editorStyle":"otter-font-awesome-editor","style":"otter-font-awesome-style"}');const bt={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}},pt=[{attributes:{id:{type:"string"},align:{type:"string"},library:{type:"string",default:"fontawesome"},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},isSynced:{type:"array"}},supports:{align:["left","center","right"]},save:e=>{let{attributes:t}=e;const o=_e.ZP.icons[t.icon],l=c.useBlockProps.save({id:t.id});return(0,i.createElement)("p",l,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},"themeisle-icons"===t.library?(0,i.createElement)(o,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})):"themeisle-icons"===t.library?(0,i.createElement)(o,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})))}},{attributes:bt,supports:{align:["left","center","right"]},migrate:e=>{let t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),{...e,align:t,className:""}},save:e=>{let{attributes:t,className:o}=e;const l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},a={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(0,i.createElement)("p",{className:o,style:{textAlign:t.align}},(0,i.createElement)("span",{className:`${o}-container`,style:a},(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`,style:l})))}},{attributes:{...bt,align:{type:"string"}},save:e=>{let{attributes:t,className:o}=e;const l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},a={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(0,i.createElement)("p",{className:o,style:{textAlign:t.align}},(0,i.createElement)("span",{className:"undefined-container",style:a},(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`,style:l})))}},{attributes:{...bt,id:{type:"string"},align:{type:"string"},link:{type:"string"},newTab:{type:"boolean",default:!1},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"}},save:e=>{let{attributes:t,className:o}=e;const l={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},a={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},n=()=>(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`,style:a});return(0,i.createElement)("p",{className:o,id:t.id,style:{textAlign:t.align}},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:l},t.link?(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},(0,i.createElement)(n,null)):(0,i.createElement)(n,null)))}}];var gt=pt;const ht={left:"flex-start",center:"center",right:"flex-end","flex-start":"left","flex-end":"right"};var vt=e=>{var t,o,l,a;let{attributes:n,setAttributes:r,isSelected:s}=e;const{responsiveSetAttributes:d,responsiveGetAttributes:m}=(0,h.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post"),l=o?o():t();return{responsiveSetAttributes:(0,Fe.GM)(r,l),responsiveGetAttributes:(0,Fe._c)(l)}}),[]);return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(c.AlignmentToolbar,{value:ht[null!==(t=m([null===(o=Tt(n.align))||void 0===o?void 0:o.desktop,null===(l=Tt(n.align))||void 0===l?void 0:l.tablet,null===(a=Tt(n.align))||void 0===a?void 0:a.mobile]))&&void 0!==t?t:"center"],onChange:e=>d(""===e?void 0:ht[e],["align.desktop","align.tablet","align.mobile"],Tt(n.align))}),(0,i.createElement)(he,{isSelected:s,setAttributes:r,url:n.link,opensInNewTab:n.newTab}))},kt=o(1150),yt=o(8065),_t=o(199);const ft=(0,i.lazy)((()=>Promise.all([o.e(189),o.e(765)]).then(o.bind(o,3765)))),wt=[{name:(0,l.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"32px",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"48px",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"60px",slug:"xl"}];var Ct=e=>{var t,o,a,n,r;let{attributes:d,setAttributes:m,getValue:u}=e;const[b,p]=(0,i.useState)(!1),{responsiveSetAttributes:g,responsiveGetAttributes:k}=(0,h.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post"),l=o?o():t();return{responsiveSetAttributes:(0,Fe.GM)(m,l),responsiveGetAttributes:(0,Fe._c)(l)}}),[]);return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Icon","otter-blocks")},(0,i.createElement)(i.Suspense,{fallback:(0,i.createElement)(s.Placeholder,null,(0,i.createElement)(s.Spinner,null))},(0,i.createElement)(ft,{label:(0,l.__)("Icon Picker","otter-blocks"),library:d.library,prefix:d.prefix,icon:d.icon,changeLibrary:e=>{m({library:e,icon:"fontawesome"===e?"themeisle":"balance",prefix:"fab"})},onChange:e=>{m("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(v,{field:"fontSize",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(s.FontSizePicker,{fontSizes:wt,withReset:!0,value:null!==(t=d.fontSize)&&void 0!==t?t:"16px",onChange:e=>m({fontSize:e})})),(0,i.createElement)(v,{field:"padding",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Padding","otter-blocks"),value:u("padding"),initialPosition:5,onChange:e=>m({padding:e}),step:.1,min:0,max:100})),(0,i.createElement)(v,{field:"margin",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Margin","otter-blocks"),value:u("margin"),initialPosition:5,onChange:e=>m({margin:e}),step:.1,min:0,max:100})),(0,i.createElement)(W.Z,{label:(0,l.__)("Alignment","otter-blocks"),className:"buttons-alignment-control"},(0,i.createElement)(ce.Z,{value:null!==(o=k([null===(a=Tt(d.align))||void 0===a?void 0:a.desktop,null===(n=Tt(d.align))||void 0===n?void 0:n.tablet,null===(r=Tt(d.align))||void 0===r?void 0:r.mobile]))&&void 0!==o?o:"center",onChange:e=>g(""===e?void 0:e,["align.desktop","align.tablet","align.mobile"],Tt(d.align)),options:[{icon:kt.Z,label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{icon:yt.Z,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:_t.Z,label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}]}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.ButtonGroup,null,(0,i.createElement)(s.Button,{isSmall:!0,isSecondary:b,isPrimary:!b,onClick:()=>p(!1)},(0,l.__)("Normal","otter-blocks")),(0,i.createElement)(s.Button,{isSmall:!0,isSecondary:!b,isPrimary:b,onClick:()=>p(!0)},(0,l.__)("Hover","otter-blocks"))),b?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(v,{field:"backgroundColorHover",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Hover Background","otter-blocks"),colorValue:u("backgroundColorHover"),onColorChange:e=>m({backgroundColorHover:e})})),(0,i.createElement)(v,{field:"textColorHover",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Hover Icon","otter-blocks"),colorValue:u("textColorHover"),onColorChange:e=>m({textColorHover:e})})),(0,i.createElement)(c.ContrastChecker,{textColor:u("textColorHover"),backgroundColor:u("backgroundColorHover")}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Hover Border","otter-blocks"),colorValue:d.borderColorHover,onColorChange:e=>m({borderColorHover:e})})):(0,i.createElement)(i.Fragment,null,(0,i.createElement)(v,{field:"backgroundColor",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Background","otter-blocks"),colorValue:u("backgroundColor"),onColorChange:e=>m({backgroundColor:e})})),(0,i.createElement)(v,{field:"textColor",isSynced:d.isSynced,setAttributes:m},(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Icon","otter-blocks"),colorValue:u("textColor"),onColorChange:e=>m({textColor:e})})),(0,i.createElement)(c.ContrastChecker,{textColor:u("textColor"),backgroundColor:u("backgroundColor")}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Border","otter-blocks"),colorValue:d.borderColor,onColorChange:e=>m({borderColor:e})}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Border Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Size","otter-blocks"),value:d.borderSize,onChange:e=>m({borderSize:e}),step:.1,min:0,max:120}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Radius","otter-blocks"),value:d.borderRadius,onChange:e=>m({borderRadius:e}),step:.1,min:0,max:100})))};const{attributes:Et}=ut,xt={right:"flex-end",center:"center",left:"flex-start"},Tt=e=>{var t;return(0,I.isString)(e)?{desktop:null!==(t=null==xt?void 0:xt[e])&&void 0!==t?t:"center"}:e};const{name:St}=ut;(0,a.registerBlockType)(St,{...ut,title:(0,l.__)("Icon","otter-blocks"),description:(0,l.__)("Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","otter-blocks"),icon:r.faIcon,keywords:["font awesome","dashicons","icons"],deprecated:gt,edit:e=>{var t,o,l;let{name:a,attributes:n,setAttributes:r,isSelected:s,clientId:d}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(d,Et);return()=>e(n.id)}),[n.id]);const m=_e.ZP.icons[n.icon],u=e=>(0,y.getDefaultValueByField)({name:a,field:e,defaultAttributes:Et,attributes:n}),b={"--align":n.align,"--border-color":n.borderColor,"--border-size":void 0!==n.borderSize&&`${n.borderSize}px`,"--border-radius":void 0!==n.borderRadius&&`${n.borderRadius}%`,"--margin":void 0!==n.margin&&`${u("margin")}px`,"--padding":void 0!==n.padding&&`${u("padding")}px`,"--font-size":void 0!==n.fontSize&&((0,I.isNumber)(u("fontSize"))?`${u("fontSize")}px`:u("fontSize")),"--align":null===(t=Tt(n.align))||void 0===t?void 0:t.desktop,"--align-tablet":null===(o=Tt(n.align))||void 0===o?void 0:o.tablet,"--align-mobile":null===(l=Tt(n.align))||void 0===l?void 0:l.mobile},[p,g]=(0,y.useCSSNode)();(0,i.useEffect)((()=>{g([`.wp-block-themeisle-blocks-font-awesome-icons-container {\n\t\t\t\tcolor: ${u("textColor")};\n\t\t\t\tbackground-color: ${u("backgroundColor")};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container:hover {\n\t\t\t\tcolor: ${u("textColorHover")};\n\t\t\t\tbackground-color: ${u("backgroundColorHover")};\n\t\t\t\tborder-color: ${n.borderColorHover};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container a {\n\t\t\t\tcolor: ${u("textColor")};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container svg {\n\t\t\t\tfill: ${u("textColor")};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container:hover svg {\n\t\t\t\tfill: ${u("textColorHover")};\n\t\t\t}`])}),[n.textColor,n.backgroundColor,n.textColorHover,n.backgroundColorHover,n.borderColorHover,n.fontSize]);const h=(0,c.useBlockProps)({id:n.id,style:b,className:p});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(vt,{attributes:n,setAttributes:r,isSelected:s}),(0,i.createElement)(Ct,{attributes:n,setAttributes:r,getValue:u}),(0,i.createElement)("div",h,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},"themeisle-icons"===n.library?(0,i.createElement)(m,null):(0,i.createElement)("i",{className:`${n.prefix} fa-${n.icon}`}))))},save:e=>{let{attributes:t}=e;const o=_e.ZP.icons[t.icon],l=c.useBlockProps.save({id:t.id});return(0,i.createElement)("div",l,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},"themeisle-icons"===t.library?(0,i.createElement)(o,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})):"themeisle-icons"===t.library?(0,i.createElement)(o,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})))},example:{attributes:{fontSize:70}}});var Mt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form","title":"Form","category":"themeisle-blocks","description":"Display a form for your clients. Powered by Otter.","keywords":["business","form","email"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"subject":{"type":"string"},"emailTo":{"type":"string"},"fromName":{"type":"string"},"optionName":{"type":"string"},"hasCaptcha":{"type":"boolean"},"provider":{"type":"string","default":""},"listId":{"type":"string"},"action":{"type":"string","default":"subscribe"},"submitLabel":{"type":"string"},"sendUserEmail":{"type":"boolean"},"redirectLink":{"type":"string"},"inputPadding":{"type":"object"},"labelColor":{"type":"string"},"helpLabelColor":{"type":"string"},"inputRequiredColor":{"type":"string"},"inputBorderRadius":{"type":"number"},"inputBorderColor":{"type":"string"},"inputBorderWidth":{"type":"number"},"submitMessage":{"type":"string"},"inputWidth":{"type":"number"},"submitMessageColor":{"type":"string"},"submitMessageErrorColor":{"type":"string"},"submitBackgroundColor":{"type":"string"},"submitBackgroundColorHover":{"type":"string"},"submitColor":{"type":"string"},"inputGap":{"type":"number"},"inputColor":{"type":"string"},"inputBackgroundColor":{"type":"string"},"inputsGap":{"type":"number"},"labelFontSize":{"type":"string"},"submitFontSize":{"type":"string"},"messageFontSize":{"type":"string"},"helpFontSize":{"type":"string"},"inputFontSize":{"type":"string"},"submitStyle":{"type":"string"},"isSynced":{"type":"array"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-form-editor","style":"otter-form-style","script":"otter-form"}');const Bt=[{attributes:{id:{type:"string"},subject:{type:"string"},emailTo:{type:"string"},optionName:{type:"string"},hasCaptcha:{type:"boolean"},provider:{type:"string",default:""},apiKey:{type:"string"},listId:{type:"string"},action:{type:"string",default:"subscribe"}},supports:{align:["wide","full"]},save:e=>{let{attributes:t}=e;const o=t.provider&&t.apiKey&&t.listId,a=c.useBlockProps.save({id:t.id,className:g()({"is-subscription":o&&"subscribe"===t.action,"can-submit-and-subscribe":o&&"submit-subscribe"===t.action,"has-captcha":t.hasCaptcha}),"data-email-subject":t.subject,"data-option-name":t.optionName});return(0,i.createElement)("div",a,(0,i.createElement)("div",{className:"otter-form__container"},(0,i.createElement)(c.InnerBlocks.Content,null),(0,i.createElement)("div",{className:"wp-block-button"},(0,i.createElement)("button",{className:"wp-block-button__link"},"subscribe"===t.action?(0,l.__)("Subscribe","otter-blocks"):(0,l.__)("Submit","otter-blocks")))))}}];var zt=Bt,Pt=o(8101),Rt=o.n(Pt),Lt=o(6989),Vt=o.n(Lt);const Nt=e=>(null==e?void 0:e[1])&&e[0]!==e[1],Ht=e=>Boolean(0<e.filter(Nt).length),It=[{name:(0,l.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}];var Ot=e=>{var t,o,a,n,r,d,m,u,b,p,g;let{attributes:h,setAttributes:k}=e;const{listIDOptions:y,setListIDOptions:_,saveFormEmailOptions:f,saveIntegration:w,savedFormOptions:C,sendTestEmail:E,loadingState:x,formOptions:T,setFormOption:S,testService:M,hasEmailField:B}=(0,i.useContext)(Gt),z=Ht([[T.emailTo,null==C?void 0:C.email],[T.subject,null==C?void 0:C.emailSubject],[T.redirectLink,null==C?void 0:C.redirectLink],[T.fromName,null==C?void 0:C.fromName],[T.submitMessage,null==C?void 0:C.submitMessage],[T.cc,null==C?void 0:C.cc],[T.bcc,null==C?void 0:C.bcc],[T.hasCaptcha,null==C?void 0:C.hasCaptcha]]),P=Ht([[T.provider,null==C||null===(t=C.integration)||void 0===t?void 0:t.provider],[T.listId,null==C||null===(o=C.integration)||void 0===o?void 0:o.listId],[T.action,null==C||null===(a=C.integration)||void 0===a?void 0:a.action]]);return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(c.PanelColorSettings,{title:(0,l.__)("Form Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:h.labelColor,onChange:e=>k({labelColor:e}),label:(0,l.__)("Label","otter-blocks")},{value:h.helpLabelColor,onChange:e=>k({helpLabelColor:e}),label:(0,l.__)("Help Label","otter-blocks")},{value:h.inputBorderColor,onChange:e=>k({inputBorderColor:e}),label:(0,l.__)("Border","otter-blocks")},{value:h.inputRequiredColor,onChange:e=>k({inputRequiredColor:e}),label:(0,l.__)("Label Required","otter-blocks")},{value:h.inputColor,onChange:e=>k({inputColor:e}),label:(0,l.__)("Input Text","otter-blocks")},{value:h.inputBackgroundColor,onChange:e=>k({inputBackgroundColor:e}),label:(0,l.__)("Input Background","otter-blocks")}]}),(0,i.createElement)(c.PanelColorSettings,{title:(0,l.__)("Button Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:h.submitColor,onChange:e=>k({submitColor:e}),label:(0,l.__)("Submit Text","otter-blocks")},{value:h.submitBackgroundColor,onChange:e=>k({submitBackgroundColor:e}),label:(0,l.__)("Button Background","otter-blocks")},{value:h.submitBackgroundColorHover,onChange:e=>k({submitBackgroundColorHover:e}),label:(0,l.__)("Button Background on Hover","otter-blocks")},{value:h.submitMessageColor,onChange:e=>k({submitMessageColor:e}),label:(0,l.__)("Successful Message","otter-blocks")},{value:h.submitMessageErrorColor,onChange:e=>k({submitMessageErrorColor:e}),label:(0,l.__)("Error Message","otter-blocks")}]}),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Label Styling","otter-blocks"),initialOpen:!1},(0,i.createElement)(v,{field:"inputGap",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Spacing","otter-blocks"),value:null!==(n=h.inputGap)&&void 0!==n?n:10,onChange:e=>k({inputGap:e}),allowReset:!0,step:.1,min:0,max:50,initialPositino:10})),(0,i.createElement)(v,{field:"labelFontSize",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.FontSizePicker,{label:(0,l.__)("Font Size","otter-blocks"),fontSizes:It,withReset:!0,value:h.labelFontSize,onChange:e=>k({labelFontSize:e})}))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Input Styling","otter-blocks"),initialOpen:!1},(0,i.createElement)(v,{field:"inputFontSize",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.FontSizePicker,{label:(0,l.__)("Input Font Size","otter-blocks"),fontSizes:It,withReset:!0,value:h.inputFontSize,onChange:e=>k({inputFontSize:e})})),(0,i.createElement)(v,{field:"inputsGap",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Fields Spacing","otter-blocks"),value:null!==(r=h.inputsGap)&&void 0!==r?r:16,onChange:e=>k({inputsGap:e}),allowReset:!0,min:0,max:50,initialPosition:16})),(0,i.createElement)(v,{field:"inputPadding",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.__experimentalBoxControl,{label:(0,l.__)("Input Padding","otter-blocks"),values:null!==(d=h.inputPadding)&&void 0!==d?d:{top:"8px",right:"8px",bottom:"8px",left:"8px"},inputProps:{min:0,max:500},onChange:e=>k({inputPadding:e})})),(0,i.createElement)(v,{field:"inputsBorderRadius",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Radius","otter-blocks"),value:null!==(m=h.inputBorderRadius)&&void 0!==m?m:4,onChange:e=>k({inputBorderRadius:e}),allowReset:!0,step:.1,min:0,max:50})),(0,i.createElement)(v,{field:"inputsBorderWidth",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Border Width","otter-blocks"),value:null!==(u=h.inputBorderWidth)&&void 0!==u?u:1,onChange:e=>k({inputBorderWidth:e}),allowReset:!0,step:.1,min:0,max:50})),(0,i.createElement)(v,{field:"helpFontSize",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.BaseControl,{label:(0,l.__)("Help Text Font Size","otter-blocks")},(0,i.createElement)(s.FontSizePicker,{label:(0,l.__)("Help Font Size","otter-blocks"),fontSizes:It,withReset:!0,value:h.helpFontSize,onChange:e=>k({helpFontSize:e})})))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Button","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.TextControl,{label:(0,l.__)("Label","otter-blocks"),placeholder:(0,l.__)("Submit","otter-blocks"),value:h.submitLabel,onChange:e=>k({submitLabel:e}),help:(0,l.__)("Set the label for the submit button.","otter-blocks")}),(0,i.createElement)(v,{field:"submitFontSize",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.FontSizePicker,{label:(0,l.__)("Font Size","otter-blocks"),fontSizes:It,withReset:!0,value:h.submitFontSize,onChange:e=>k({submitFontSize:e})})),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Alignment","otter-blocks"),value:h.submitStyle,options:[{label:"Default",value:""},{label:"Right",value:"right"},{label:"Full",value:"full"}],onChange:e=>k({submitStyle:e})}),(0,i.createElement)(v,{field:"messageFontSize",isSynced:h.isSynced,setAttributes:k},(0,i.createElement)(s.BaseControl,{label:(0,l.__)("Message Font Size","otter-blocks")},(0,i.createElement)(s.FontSizePicker,{label:(0,l.__)("Message Font Size","otter-blocks"),fontSizes:It,withReset:!0,value:h.messageFontSize,onChange:e=>k({messageFontSize:e})})))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Form Options","otter-blocks"),initialOpen:!1},"loading"===(null==x?void 0:x.formOptions)&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,i.createElement)(s.Spinner,null),(0,l.__)("Loading the options. Please wait...","otter-blocks")),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Email Subject","otter-blocks"),placeholder:(0,l.__)("A new submission","otter-blocks"),value:T.subject,onChange:e=>S({subject:e}),help:(0,l.__)("Customize the title of the email that you are gonna receive after a user submits the form.","otter-blocks")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("From Name","otter-blocks"),value:T.fromName,onChange:e=>S({fromName:e}),help:(0,l.__)("Set the name of the sender. Some SMTP plugins might override this value.","otter-blocks")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Email To","otter-blocks"),placeholder:(0,l.__)("Default is to admin site","otter-blocks"),type:"email",value:T.emailTo,onChange:e=>S({emailTo:e}),help:(0,l.__)("Send the form's data to another email. (Admin's email is default).","otter-blocks")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Cc","otter-blocks"),placeholder:(0,l.__)("Send copies to","otter-blocks"),type:"text",value:T.cc,onChange:e=>S({cc:e}),help:(0,l.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Bcc","otter-blocks"),placeholder:(0,l.__)("Send copies to","otter-blocks"),type:"text",value:T.bcc,onChange:e=>S({bcc:e}),help:(0,l.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")}),(0,i.createElement)(s.TextareaControl,{label:(0,l.__)("Submit Success Message","otter-blocks"),placeholder:(0,l.__)("Success","otter-blocks"),value:T.submitMessage,onChange:e=>S({submitMessage:e}),help:(0,l.__)("Show this message after the form was successfully submitted.","otter-blocks")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Redirect To","otter-blocks"),type:"url",placeholder:(0,l.__)("https://example.com","otter-blocks"),value:T.redirectLink,onChange:e=>S({redirectLink:e}),help:(0,l.__)("Redirect the user to another page when submit is successful.","otter-blocks")}),T.redirectLink&&(0,i.createElement)(s.ExternalLink,{href:T.redirectLink,style:{marginBottom:"10px",display:"block"}},(0,l.__)("Preview Redirect link.","otter-blocks")),(0,i.createElement)(s.Button,{isPrimary:!0,onClick:f,help:(0,l.__)("[WIP] Do not forget to save the options ","otter-blocks"),isBusy:"saving"===(null==x?void 0:x.formOptions)},"saving"===(null==x?void 0:x.formOptions)?(0,l.__)("Saving...","otter-blocks"):(0,l.__)("Apply Options","otter-blocks")),"done"===(null==x?void 0:x.formOptions)&&z&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,l.__)("You have made some modifications. Do not forget to save the options.","otter-blocks")),"error"===(null==x?void 0:x.formOptions)&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,l.__)("An error has occurred while saving. Please try again.","otter-blocks"))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Test SMTP","otter-blocks"),initialOpen:!1},(0,i.createElement)("span",null,(0,l.__)("In order for the Form to work properly, make sure your SMTP server is set up. The test email will be send to the address from the field Email To on Form Options.","otter-blocks")),(0,i.createElement)(s.ExternalLink,{href:"https://www.wpbeginner.com/wp-tutorials/how-to-use-smtp-server-to-send-wordpress-emails/",style:{marginLeft:"3px"}},(0,l.__)("Learn more.","otter-blocks")),(0,i.createElement)("br",null),(0,i.createElement)(s.Button,{variant:"primary",isPrimary:!0,style:{marginTop:"8px"},onClick:E},(0,l.__)("Send Test Email","otter-blocks"))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Bot Protection","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Add captcha checkbox","otter-blocks"),checked:h.hasCaptcha,onChange:e=>k({hasCaptcha:e}),help:(0,l.__)("Add Google reCaptcha V2 for protection againts bots. You will need an API Key.","otter-blocks")}),T.hasCaptcha&&(0,i.createElement)("div",{style:{display:"flow-root",margin:"10px 0px"}},(0,l.__)("You can change the reCaptcha API Keys in Settings > Otter. ","otter-blocks"),(0,i.createElement)(s.ExternalLink,{href:"https://www.google.com/recaptcha/about/",target:"_blank"},(0,l.__)("Learn more about reCaptcha.","otter-blocks")))),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Marketing Integration","otter-blocks"),initialOpen:!1},(0,l.__)("Add your client email to a Digital Marketing provider.","otter-blocks"),(0,i.createElement)("br",null)," ",(0,i.createElement)("br",null),"loading"===(null==x?void 0:x.formIntegration)&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,i.createElement)(s.Spinner,null),(0,l.__)("Fetching data from server. Please wait.","otter-blocks")),(0,i.createElement)("b",null,(0,l.__)("You need to have at least one email field in your form. For multiple email fields, only the first will be used.","otter-blocks")),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Provider","otter-blocks"),value:T.provider,options:[{label:(0,l.__)("None","otter-blocks"),value:""},{label:(0,l.__)("Mailchimp","otter-blocks"),value:"mailchimp"},{label:(0,l.__)("Sendinblue","otter-blocks"),value:"sendinblue"}],onChange:e=>{S({provider:e,listId:"",apiKey:""})}}),T.provider&&(0,i.createElement)(i.Fragment,null,!T.apiKey&&(0,i.createElement)(i.Fragment,null,"mailchimp"===(null==T?void 0:T.provider)&&(0,i.createElement)(s.ExternalLink,{href:"https://us5.admin.mailchimp.com/account/api/",style:{marginBottom:"10px",display:"block"},target:"_blank"},(0,l.__)("Guide to generate the API Key.","otter-blocks")),"sendinblue"===(null==T?void 0:T.provider)&&(0,i.createElement)(s.ExternalLink,{href:"https://help.sendinblue.com/hc/en-us/articles/209467485-What-s-an-API-key-and-how-can-I-get-mine-",style:{marginBottom:"10px",display:"block"},target:"_blank"},(0,l.__)("Guide to generate the API Key.","otter-blocks"))),(0,i.createElement)(s.TextControl,{label:(0,l.__)("API Key","otter-blocks"),help:(0,l.__)("You can find the key in the provider's website","otter-blocks"),value:T.apiKey?`*************************${T.apiKey.slice(-8)}`:"",onChange:e=>{_([]),S({listId:"",apiKey:e})}}),T.apiKey&&2>y.length&&"loading"===(null==x?void 0:x.listId)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.Spinner,null),(0,l.__)("Loading the options.","otter-blocks"),(0,i.createElement)("br",null),(0,i.createElement)("br",null)),T.apiKey&&"error"===(null==x?void 0:x.listId)&&(0,i.createElement)(i.Fragment,null,(0,l.__)("Invalid API Key. Please check your API Key in the provider's Dashboard.","otter-blocks"),(0,i.createElement)(s.ExternalLink,{target:"_blank",style:{marginBottom:"10px",display:"block"},href:"sendinblue"===T.provider?"https://account.sendinblue.com/advanced/api":"https://us5.admin.mailchimp.com/account/api/"},(0,l.__)("Go to Dashboard.","otter-blocks"))),T.apiKey&&"timeout"===(null==x?void 0:x.listId)&&(0,i.createElement)("p",null,(0,l.__)("Could no connect to the server. Please try again.","otter-blocks")),T.apiKey&&"done"===(null==x?void 0:x.listId)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Contact List","otter-blocks"),value:T.listId,options:y,onChange:e=>S({listId:e})}),1>=(null==y?void 0:y.length)&&(0,i.createElement)("p",null,(0,l.__)("No Contact list found. Please create a list in your provider interface or check if the API key is correct.","otter-blocks")),2<=(null==y?void 0:y.length)&&T.listId&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Action","otter-blocks"),value:T.action,options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Subscribe","otter-blocks"),value:"subscribe"},{label:(0,l.__)("Submit & Subscribe","otter-blocks"),value:"submit-subscribe"}],onChange:e=>S({action:e})}),"submit-subscribe"===T.action&&(0,i.createElement)("div",{style:{marginBottom:"10px"}},(0,l.__)("This action will add the client to the contact list and send a separate email with the form data to administrator or to the email mentioned in 'Form to' field. A checkbox for data-sharing consent with third-party will be added on form.","otter-blocks"))))),(0,i.createElement)("div",{style:{display:"flex",flexDirection:"row",gap:"10px"}},(0,i.createElement)(s.Button,{isPrimary:!0,variant:"primary",onClick:w,isBusy:"saving"===(null==x?void 0:x.formIntegration)},"saving"===(null==x?void 0:x.formIntegration)?(0,l.__)("Saving","otter-blocks"):(0,l.__)("Save","otter-blocks")),h.optionName&&(null==C||null===(b=C.integration)||void 0===b?void 0:b.provider)&&(null==C||null===(p=C.integration)||void 0===p?void 0:p.apiKey)&&(null==C||null===(g=C.integration)||void 0===g?void 0:g.listId)&&(0,i.createElement)(s.Button,{isSecondary:!0,variant:"secondary",onClick:M,isBusy:"saving"===(null==x?void 0:x.serviceTesting)},(0,i.createElement)(i.Fragment,null,(0,l.__)("Test Service","otter-blocks")))),"done"===(null==x?void 0:x.formIntegration)&&P&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,l.__)("You have made some modifications. Do not forget to save the options.","otter-blocks")),"done"===(null==x?void 0:x.serviceTesting)&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,l.__)("Remember to delete the test email from your provider's contact list.","otter-blocks")),"done"===(null==x?void 0:x.formIntegration)&&(null==T?void 0:T.apiKey)&&(null==T?void 0:T.listId)&&!B&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,l.__)("Please add a Text Field with Email as type in your form for email registration.","otter-blocks")),"error"===(null==x?void 0:x.formIntegration)&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,l.__)("An error has occurred while saving. Please try again.","otter-blocks"))))},Ft=e=>{let{className:t,loadingState:o,isSaving:a,saveAPIKey:n,siteKey:r,secretKey:c,setSiteKey:d,setSecretKey:m}=e;if("loading"===(null==o?void 0:o.captcha))return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("br",null),(0,i.createElement)(s.Placeholder,null,(0,i.createElement)("div",null,(0,i.createElement)(s.Spinner,null),(0,l.__)("Checking the API Keys for reCaptcha","otter-blocks"))));const u=c&&0<(null==c?void 0:c.length)-13?Array(c.length-13).fill("*").join("")+c.slice(-13):c;return(0,i.createElement)(s.Placeholder,{icon:"admin-site",label:(0,l.__)("Google reCaptcha","otter-blocks"),instructions:(0,l.__)("A Google reCaptcha V2 API keys are required, please enter one below.","otter-blocks"),className:t},(0,i.createElement)("div",{className:"components-placeholder__actions",style:{width:"100%"}},(0,i.createElement)(s.TextControl,{type:"text",label:(0,l.__)("Site Key","otter-blocks"),value:r,className:"components-placeholder__input",onChange:d}),(0,i.createElement)(s.TextControl,{type:"text",label:(0,l.__)("Secret Key","otter-blocks"),value:u,className:"components-placeholder__input",onChange:m}),(0,i.createElement)(s.Button,{isPrimary:!0,type:"submit",onClick:n,isBusy:a,disabled:""===r||""===c},(0,l.__)("Save","otter-blocks"))),(0,i.createElement)("div",{className:"components-placeholder__learn-more",style:{margin:"10px 0px"}},(0,l.__)("You need to activate reCaptcha API.","otter-blocks")," ",(0,i.createElement)(s.ExternalLink,{href:"http://www.google.com/recaptcha/admin"},(0,l.__)("Need an API key? Get one here.","otter-blocks"))))};const{attributes:At}=Mt,Gt=(0,i.createContext)({});var Dt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-input","title":"Text Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["input","text","email"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"type":{"type":"string","default":"text"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"}},"supports":{"align":["wide","full"]}}'),$t=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:t.type,options:[{label:(0,l.__)("Text","otter-blocks"),value:"text"},{label:(0,l.__)("Email","otter-blocks"),value:"email"},{label:(0,l.__)("Date","otter-blocks"),value:"date"},{label:(0,l.__)("Number","otter-blocks"),value:"number"}],onChange:e=>o({type:e})}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:t.label,onChange:e=>o({label:e})}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Placeholder","otter-blocks"),value:t.placeholder,onChange:e=>o({placeholder:e})}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Help Text","otter-blocks"),value:t.helpText,onChange:e=>o({helpText:e})}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Required","otter-blocks"),help:(0,l.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:t.isRequired,onChange:e=>o({isRequired:e})})),(0,i.createElement)(c.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.labelColor,onChange:e=>o({labelColor:e}),label:(0,l.__)("Label Color","otter-blocks")}]}))};const{attributes:Wt}=Dt;const Zt=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save();return(0,i.createElement)("div",o,(0,i.createElement)("label",{htmlFor:t.id,className:"otter-form-input-label"},(0,i.createElement)(c.RichText.Content,{value:t.label,className:"otter-form-input-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},(0,l.__)("(required)","otter-blocks"))),(0,i.createElement)("input",{type:t.type,name:t.mappedName,id:t.id,required:t.isRequired,placeholder:t.placeholder,className:"otter-form-input"}))}}];var jt=Zt;const{name:Ut}=Dt;window.themeisleGutenberg.isAncestorTypeAvailable||(Dt.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(Ut,{...Dt,title:(0,l.__)("Text Field","otter-blocks"),description:(0,l.__)("Display a contact form for your clients.","otter-blocks"),icon:r.inputIcon,deprecated:jt,keywords:["input","text","email"],variations:[{name:"themeisle-blocks/form-input-email",description:(0,l.__)("Insert an email field","otter-blocks"),icon:"email",title:(0,l.__)("Email Field","otter-blocks"),attributes:{type:"email"}},{name:"themeisle-blocks/form-input-number",description:(0,l.__)("Insert a number field","otter-blocks"),icon:"calculator",title:(0,l.__)("Number Field","otter-blocks"),attributes:{type:"number"}},{name:"themeisle-blocks/form-input-date",description:(0,l.__)("Insert a date field","otter-blocks"),icon:"calendar-alt",title:(0,l.__)("Date Field","otter-blocks"),attributes:{type:"date"}}],edit:e=>{let{attributes:t,setAttributes:o,clientId:a}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(a,Wt);return()=>e(t.id)}),[t.id]);const n=(0,c.useBlockProps)(),r=(0,i.useRef)(null),s=(0,i.useRef)(null),d=(0,i.useRef)(null);return(0,i.useEffect)((()=>{var e,o,l,a,n,i,c;s.current&&(null===(e=s.current)||void 0===e||null===(o=e.style)||void 0===o||o.setProperty("--input-width",(l=t.inputWidth)?l+"%":null)),r.current&&(null===(a=r.current)||void 0===a||null===(n=a.style)||void 0===n||n.setProperty("--label-color",t.labelColor||null)),d.current&&(null===(i=d.current)||void 0===i||null===(c=i.style)||void 0===c||c.setProperty("--label-color",t.labelColor||null))}),[s.current,r.current,d.current,t.labelColor,t.inputWidth]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)($t,{attributes:t,setAttributes:o}),(0,i.createElement)("div",n,(0,i.createElement)("label",{ref:r,htmlFor:t.id,className:"otter-form-input-label"},(0,i.createElement)(c.RichText,{placeholder:(0,l.__)("Type here…","otter-blocks"),className:"otter-form-input-label__label",value:t.label,onChange:e=>o({label:e}),tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("input",{ref:s,type:t.type,placeholder:t.placeholder,name:t.id,id:t.id,required:t.isRequired,disabled:!0,className:"otter-form-input components-text-control__input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help",ref:d},t.helpText)))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id});return(0,i.createElement)("div",o,(0,i.createElement)("label",{htmlFor:t.id?t.id+"-input":"",className:"otter-form-input-label"},(0,i.createElement)(c.RichText.Content,{value:t.label,className:"otter-form-input-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("input",{type:t.type,name:t.mappedName,id:t.id?t.id+"-input":"",required:t.isRequired,placeholder:t.placeholder,className:"otter-form-input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help"},t.helpText))}});var qt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-nonce","title":"Nonce Field","category":"themeisle-blocks","description":"Protect the form from CSRF.","keywords":["protection","csrf","field"],"textdomain":"otter-blocks","attributes":{"formId":{"type":"string"}},"supports":{"align":["wide","full"],"inserter":false}}');const{name:Jt}=qt;(0,a.registerBlockType)(Jt,{...qt,title:(0,l.__)("Nonce Field","otter-blocks"),description:(0,l.__)("Protect the form from CSRF.","otter-blocks"),icon:r.inputIcon,keywords:["protection","csrf","field"],edit:e=>{let{setAttributes:t,clientId:o}=e;const{parent:l}=(0,h.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:l}=e("core/block-editor");return{parent:t(l(o))}}),[]);return(0,i.useEffect)((()=>{l&&t({formId:l.attributes.id})}),[l]),null},save:()=>null});var Kt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-textarea","title":"Textarea Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["textarea","message","input"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"}},"supports":{"align":["wide","full"]}}'),Qt=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:t.label,onChange:e=>o({label:e})}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Placeholder","otter-blocks"),value:t.placeholder,onChange:e=>o({placeholder:e})}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Help Text","otter-blocks"),value:t.helpText,onChange:e=>o({helpText:e})}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Required","otter-blocks"),help:(0,l.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:t.isRequired,onChange:e=>o({isRequired:e})})))};const{attributes:Yt}=Kt;const Xt=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save();return(0,i.createElement)("div",o,(0,i.createElement)("label",{htmlFor:t.id,className:"otter-form-textarea-label"},(0,i.createElement)(c.RichText.Content,{value:t.label,className:"otter-form-textarea-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},(0,l.__)("(required)","otter-blocks"))),(0,i.createElement)("textarea",{name:t.mappedName,id:t.id,required:t.isRequired,placeholder:t.placeholder,rows:10,className:"otter-form-textarea-input"}))}}];var eo=Xt;const{name:to}=Kt;window.themeisleGutenberg.isAncestorTypeAvailable||(Kt.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(to,{...Kt,title:(0,l.__)("Textarea Field","otter-blocks"),description:(0,l.__)("Display a contact form for your clients.","otter-blocks"),icon:r.inputIcon,deprecated:eo,keywords:["textarea","message","input"],edit:e=>{let{attributes:t,setAttributes:o,clientId:a}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(a,Yt);return()=>e(t.id)}),[t.id]);const n=(0,c.useBlockProps)(),r=(0,i.useRef)(null),s=(0,i.useRef)(null),d=(0,i.useRef)(null);return(0,i.useEffect)((()=>{var e,o,l,a,n,i,c;s.current&&(null===(e=s.current)||void 0===e||null===(o=e.style)||void 0===o||o.setProperty("--input-width",(l=t.inputWidth)?l+"%":l)),r.current&&(null===(a=r.current)||void 0===a||null===(n=a.style)||void 0===n||n.setProperty("--label-color",t.labelColor||null)),d.current&&(null===(i=d.current)||void 0===i||null===(c=i.style)||void 0===c||c.setProperty("--label-color",t.labelColor||null))}),[s.current,r.current,t]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Qt,{attributes:t,setAttributes:o}),(0,i.createElement)("div",n,(0,i.createElement)("label",{ref:r,htmlFor:t.id?t.id+"-input":"",className:"otter-form-textarea-label"},(0,i.createElement)(c.RichText,{placeholder:(0,l.__)("Type here…","otter-blocks"),className:"otter-form-textarea-label__label",value:t.label,onChange:e=>o({label:e}),tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("textarea",{ref:s,placeholder:t.placeholder,name:t.id,id:t.id?t.id+"-input":"",required:t.isRequired,disabled:!0,rows:10,className:"otter-form-textarea-input components-textarea-control__input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help",ref:d},t.helpText)))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id});return(0,i.createElement)("div",o,(0,i.createElement)("label",{htmlFor:t.id?t.id+"-input":"",className:"otter-form-textarea-label"},(0,i.createElement)(c.RichText.Content,{value:t.label,className:"otter-form-textarea-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("textarea",{name:t.mappedName,id:t.id?t.id+"-input":"",required:t.isRequired,placeholder:t.placeholder,rows:10,className:"otter-form-textarea-input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help"},t.helpText))}});const{name:oo}=Mt;(0,a.registerBlockType)(oo,{...Mt,title:(0,l.__)("Form","otter-blocks"),description:(0,l.__)("Display a form for your clients. Powered by Otter.","otter-blocks"),icon:r.contactIcon,keywords:["business","form","email"],edit:e=>{let{attributes:t,setAttributes:o,clientId:n,isSelected:r,name:s}=e;const[d,m]=(0,i.useState)(""),[u,b]=(0,i.useState)(""),[p,v]=(0,i.useState)({formOptions:"done",formIntegration:"done",listId:"init",captcha:"init",serviceTesting:"init"}),k=e=>{v((t=>({...t,...e})))},[_,f]=(0,i.useState)({provider:void 0,redirectLink:void 0,fromName:void 0,emailTo:void 0,subject:void 0,email:void 0,listId:void 0,action:void 0,hasCaptcha:void 0,submitMessage:void 0,apiKey:void 0,cc:void 0,bcc:void 0}),[w,C]=(0,i.useState)(!0),[E,x]=(0,i.useState)([{label:(0,l.__)("None","otter-blocks"),value:""}]),{insertBlock:T,removeBlock:S}=(0,h.useDispatch)("core/block-editor"),{replaceInnerBlocks:M}=(0,h.useDispatch)("core/block-editor"),{createNotice:B}=(0,h.dispatch)("core/notices"),z=(0,h.useSelect)((e=>0<e("core/block-editor").getBlocks(n).length),[n]),{blockType:P,defaultVariation:R,variations:L}=(0,h.useSelect)((e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:l}=e("core/blocks");return{blockType:o(s),defaultVariation:l(s,"block"),variations:t(s,"block")}}),[s]),{children:V,hasEmailField:N}=(0,h.useSelect)((e=>{const{getBlock:t}=e("core/block-editor"),o=t(n).innerBlocks;return{children:o,hasEmailField:null==o?void 0:o.some((e=>{var t;return"email"===(null==e||null===(t=e.attributes)||void 0===t?void 0:t.type)}))}}));(0,i.useEffect)((()=>{const e=(0,y.blockInit)(n,At);return()=>e(t.id)}),[t.id]),(0,i.useEffect)((()=>{var e;t.id&&(0,h.select)("core/edit-widgets")?o({optionName:`widget_${t.id.slice(-8)}`}):t.id&&Boolean(window.themeisleGutenberg.isBlockEditor)&&null!==(e=(0,h.select)("core/editor"))&&void 0!==e&&e.getCurrentPostId()&&o({optionName:`${(0,h.select)("core/editor").getCurrentPostId()}_${t.id.slice(-8)}`})}),[t.id]),(0,i.useEffect)((()=>{if(V){const e=V.filter((e=>{let{name:t}=e;return"themeisle-blocks/form-nonce"===t}));if(2<=(null==e?void 0:e.length))e.slice(1).forEach((e=>{S(e.clientId,!1)}));else if(0===(null==e?void 0:e.length)&&n){const e=(0,a.createBlock)("themeisle-blocks/form-nonce");e&&(null==T||T(e,(null==V?void 0:V.length)||0,n,!1))}}}),[V]);const H=e=>null==e?void 0:e.filter((e=>{let{form:o}=e;return o===t.optionName})).pop(),O=e=>{var t,o,l,a;f({emailTo:null==e?void 0:e.email,fromName:null==e?void 0:e.fromName,redirectLink:null==e?void 0:e.redirectLink,subject:null==e?void 0:e.emailSubject,cc:null==e?void 0:e.cc,bcc:null==e?void 0:e.bcc,submitMessage:null==e?void 0:e.submitMessage,provider:null==e||null===(t=e.integration)||void 0===t?void 0:t.provider,apiKey:null==e||null===(o=e.integration)||void 0===o?void 0:o.apiKey,listId:null==e||null===(l=e.integration)||void 0===l?void 0:l.listId,action:null==e||null===(a=e.integration)||void 0===a?void 0:a.action,hasCaptcha:null==e?void 0:e.hasCaptcha})};(0,i.useEffect)((()=>{let e=new AbortController;const o=setTimeout((()=>{k({formOptions:"done",formIntegration:"done"})}),3e3);return t.optionName&&Rt().loadPromise.then((()=>{k({formOptions:"loading",formIntegration:"loading"}),(new(Rt().models.Settings)).fetch({signal:e.signal}).done((t=>{e=null;const l=H(t.themeisle_blocks_form_emails);l&&(O(l),C(l)),k({formIntegration:"done",formOptions:"done"}),clearTimeout(o)})).catch((()=>{k({formIntegration:"done",formOptions:"done"}),clearTimeout(o)}))})),()=>{var t;null===(t=e)||void 0===t||t.abort(),clearTimeout(o)}}),[t.optionName]),(0,i.useEffect)((()=>{let e,t=new AbortController;return _.apiKey&&_.provider&&(e=setTimeout((()=>k({listId:"timeout"})),6e3),k({listId:"loading"}),Vt()({path:"otter/v1/form/editor",method:"POST",data:{handler:"listId",payload:{provider:_.provider,apiKey:_.apiKey,action:_.action}},signal:t.signal}).then((o=>{if(t=null,clearTimeout(e),null!=o&&o.success){var a;const e=(null==o||null===(a=o.list_id)||void 0===a?void 0:a.map((e=>{var t;return{label:e.name,value:null===(t=e.id)||void 0===t?void 0:t.toString()}})))||[];e.splice(0,0,{label:(0,l.__)("None","otter-blocks"),value:""}),x(e),k({listId:"done"});const t=1===e.map((e=>{let{value:t}=e;return t})).filter((e=>e===_.listId)).length;_.listId&&!t&&B("error",(0,l.__)("The current contact list is invalid. Please choose a new contact list.","otter-blocks"),{isDismissible:!0,type:"snackbar"})}else B("error",null==o?void 0:o.error,{isDismissible:!0,type:"snackbar",id:"themeisle-form-server-error"}),k({listId:"error"})})).catch((e=>{console.error(e),k({listId:"error"})}))),()=>{var o;null===(o=t)||void 0===o||o.abort(),clearTimeout(e)}}),[_.apiKey,_.provider]),(0,i.useEffect)((()=>{let e=new AbortController;if(void 0!==t.hasCaptcha&&t.optionName)try{var o,a;null===(o=new(Rt().models.Settings))||void 0===o||null===(a=o.current)||void 0===a||a.fetch({signal:e.signal}).done((o=>{e=null;const a=o.themeisle_blocks_form_emails?o.themeisle_blocks_form_emails:[];let n=!0,r=!1;null==a||a.forEach(((e,o)=>{let{form:l}=e;l===t.optionName&&(a[o].hasCaptcha!==t.hasCaptcha&&(r=!0),a[o].hasCaptcha=t.hasCaptcha,n=!1)})),n&&a.push({form:t.optionName,hasCaptcha:t.hasCaptcha}),(n||r)&&(new(Rt().models.Settings)({themeisle_blocks_form_emails:a}).save(),B("info",(0,l.__)("Form preferences have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}))}))}catch(e){console.warn(e.message)}return()=>{var t;return null===(t=e)||void 0===t?void 0:t.abort()}}),[t.hasCaptcha,t.optionName]),(0,i.useEffect)((()=>{let e=new AbortController;return t.hasCaptcha&&"init"===(null==p?void 0:p.captcha)&&(()=>{k({captcha:"loading"});try{var t;null===(t=new(Rt().models.Settings))||void 0===t||t.fetch({signal:e.signal}).then((t=>{e=null,""!==t.themeisle_google_captcha_api_site_key&&""!==t.themeisle_google_captcha_api_secret_key?k({captcha:"done"}):(k({captcha:"missing"}),m(t.themeisle_google_captcha_api_site_key),b(t.themeisle_google_captcha_api_secret_key))})).catch((e=>{console.error(e),k({captcha:"error"})}))}catch(e){console.warn(e.message),k({captcha:"error"})}})(),()=>{var t;return null===(t=e)||void 0===t?void 0:t.abort()}}),[p.captcha,t.hasCaptcha]);const F={"--message-font-size":void 0!==t.messageFontSize&&t.messageFontSize,"--input-font-size":void 0!==t.inputFontSize&&t.inputFontSize,"--help-font-size":void 0!==t.helpFontSize&&t.helpFontSize,"--input-color":t.inputColor,"--padding":(A=t.inputPadding,A?A.top+" "+A.right+" "+A.bottom+" "+A.left:null),"--border-radius":void 0!==t.inputBorderRadius&&t.inputBorderRadius+"px","--border-width":void 0!==t.inputBorderWidth&&t.inputBorderWidth+"px","--border-color":t.inputBorderColor,"--label-color":t.labelColor,"--input-width":void 0!==t.inputWidth&&t.inputWidth+"%","--submit-color":t.submitColor,"--required-color":t.inputRequiredColor,"--input-gap":void 0!==t.inputGap&&t.inputGap+"px","--inputs-gap":void 0!==t.inputsGap&&t.inputsGap+"px","--label-font-size":void 0!==t.labelFontSize&&t.labelFontSize,"--submit-font-size":void 0!==t.submitFontSize&&t.submitFontSize,"--help-label-color":t.helpLabelColor,"--input-bg-color":t.inputBackgroundColor};var A;const[G,D]=(0,y.useCSSNode)();(0,i.useEffect)((()=>{D([`.otter-form__container .wp-block-button__link {\n\t\t\t\tbackground-color: ${t.submitBackgroundColor}\n\t\t\t}`,`.otter-form__container .wp-block-button__link:hover {\n\t\t\t\t${t.submitBackgroundColorHover&&`background-color: ${t.submitBackgroundColorHover}`}\n\t\t\t}`])}),[t.submitBackgroundColor,t.submitBackgroundColorHover]);const $=(0,c.useBlockProps)({id:t.id,style:F,className:G});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Gt.Provider,{value:{savedFormOptions:w,listIDOptions:E,setListIDOptions:x,saveFormEmailOptions:()=>{k({formOptions:"saving"}),(new(Rt().models.Settings)).fetch().done((e=>{const o=e.themeisle_blocks_form_emails?e.themeisle_blocks_form_emails:[];let a=!0,n=!1;null==o||o.forEach(((e,l)=>{let{form:r}=e;r===t.optionName&&(n=o[l].email!==_.emailTo||o[l].redirectLink!==_.redirectLink||o[l].emailSubject!==_.subject||o[l].submitMessage!==_.submitMessage||o[l].fromName!==_.fromName||o[l].cc!==_.cc||o[l].bcc!==_.bcc,o[l].email=_.emailTo,o[l].redirectLink=_.redirectLink,o[l].emailSubject=_.subject,o[l].submitMessage=_.submitMessage,o[l].fromName=_.fromName,o[l].cc=_.cc,o[l].bcc=_.bcc,a=!1)})),a&&o.push({form:t.optionName,email:_.emailTo,fromName:_.fromName,redirectLink:_.redirectLink,emailSubject:_.subject,submitMessage:_.submitMessage,cc:_.cc,bcc:_.bcc}),a||n?new(Rt().models.Settings)({themeisle_blocks_form_emails:o}).save().then((e=>{const t=H(e.themeisle_blocks_form_emails);t?(O(t),C(t),k({formOptions:"done"}),B("info",(0,l.__)("Form options have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"})):k({formOptions:"error"})})):k({formOptions:"done"})})).catch((()=>k({formOptions:"error"})))},formOptions:_,setFormOption:e=>{f((t=>({...t,...e})))},saveIntegration:()=>{var e;k({formIntegration:"saving"}),null===(e=new(Rt().models.Settings))||void 0===e||e.fetch().done((e=>{const a=e.themeisle_blocks_form_emails?e.themeisle_blocks_form_emails:[];let n=!0,r=!1;null==a||a.forEach(((e,o)=>{let{form:l}=e;var i,c,s,d,m;l===t.optionName&&(null!==(i=a[o])&&void 0!==i&&i.integration||(a[o].integration={}),r=(null===(c=a[o].integration)||void 0===c?void 0:c.provider)!==_.provider||(null===(s=a[o].integration)||void 0===s?void 0:s.listId)!==_.listId||(null===(d=a[o].integration)||void 0===d?void 0:d.action)!==_.action||(null===(m=a[o].integration)||void 0===m?void 0:m.apiKey)!==_.apiKey,n=!1,a[o].integration.provider=_.provider,a[o].integration.apiKey=_.apiKey,a[o].integration.listId=_.listId,a[o].integration.action=_.action)})),n&&a.push({form:t.optionName,integration:{provider:_.provider,apiKey:_.apiKey,listId:_.listId,action:_.action}}),n||r?new(Rt().models.Settings)({themeisle_blocks_form_emails:a}).save().then((e=>{const t=H(e.themeisle_blocks_form_emails);var a;t&&(O(t),C(t),o({action:null==t||null===(a=t.integration)||void 0===a?void 0:a.action})),k({formIntegration:"done"}),r&&B("info",(0,l.__)("Integration details have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),k({formIntegration:"error"})})):k({formIntegration:"done"})})).catch((()=>{k({formIntegration:"error"})}))},sendTestEmail:()=>{Vt()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{provider:"default",to:null==_?void 0:_.emailTo,site:window.location.href}}}).then((e=>{null!=e&&e.success?B("info",(0,l.__)("The test email has been send. Check your emails for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}):B("error",(0,l.__)("An error has occurred: ","otter-blocks")+((null==e?void 0:e.error)||(0,l.__)("unknown","otter-blocks")),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),B("error",null==e?void 0:e.message,{isDismissible:!0,type:"snackbar"})}))},loadingState:p,testService:()=>{k({serviceTesting:"loading"}),Vt()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{formOption:t.optionName}}}).then((e=>{null!=e&&e.success?(B("info",(0,l.__)("A test email has been registered to your contact list. Check your provider for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}),k({serviceTesting:"done"})):(B("error",(0,l.__)("An error has occurred: ","otter-blocks")+((null==e?void 0:e.error)||(0,l.__)("unknown","otter-blocks")+(0,l.__)(". Check your provider for confirmation.","otter-blocks")),{isDismissible:!0,type:"snackbar"}),k({serviceTesting:"error"}))})).catch((e=>{console.error(e),B("error",null==e?void 0:e.message,{isDismissible:!0,type:"snackbar"}),k({testService:"error"})}))},hasEmailField:N}},(0,i.createElement)(Ot,{attributes:t,setAttributes:o}),(0,i.createElement)("div",$,z?(0,i.createElement)("form",{className:"otter-form__container",onSubmit:()=>!1},(0,i.createElement)(c.InnerBlocks,null),t.hasCaptcha&&"done"!==(null==p?void 0:p.captcha)&&(0,i.createElement)(Ft,{className:"otter-form-captcha",loadingState:p,saveAPIKey:()=>{k({captcha:"loading"});try{var e,t,o;const a=new(Rt().models.Settings)({themeisle_google_captcha_api_site_key:d,themeisle_google_captcha_api_secret_key:u});null==a||null===(e=a.save)||void 0===e||null===(t=e.call(a))||void 0===t||null===(o=t.then((e=>{""!==e.themeisle_google_captcha_api_site_key&&""!==e.themeisle_google_captcha_api_secret_key?k({captcha:"done"}):k({captcha:"missing"}),b(""),m(""),B("info",(0,l.__)("Google reCaptcha API Keys have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}).catch((e=>{console.error(e),k({captcha:"error"})}))})))||void 0===o||o.catch((e=>{console.error(e),k({captcha:"error"})}))}catch(e){console.warn(e.message),k({captcha:"error"})}},siteKey:d,secretKey:u,setSiteKey:m,setSecretKey:b}),"submit-subscribe"===t.action&&(0,i.createElement)("div",{className:"otter-form-consent"},(0,i.createElement)("input",{id:"o-consent",name:"o-consent",type:"checkbox"}),(0,i.createElement)("label",{htmlFor:"o-consent"},(0,l.__)("I have read and agreed the privacy statement.","otter-blocks"))),(0,i.createElement)("div",{className:g()("wp-block-button has-submit-msg",{right:"right"===t.submitStyle},{full:"full"===t.submitStyle})},(0,i.createElement)("button",{className:"wp-block-button__link",type:"submit",disabled:!0},t.submitLabel?t.submitLabel:(0,l.__)("Submit","otter-blocks")),r&&(0,i.createElement)("div",null,(0,i.createElement)("div",{className:"o-form-server-response o-success",style:{color:t.submitMessageColor}},_.submitMessage||(0,l.__)("Success","otter-blocks")),(0,i.createElement)("div",{className:"o-form-server-response o-error",style:{color:t.submitMessageErrorColor,margin:"0px"}},(0,l.__)("Error. Please try again.","otter-blocks"))))):(0,i.createElement)(c.__experimentalBlockVariationPicker,{icon:(0,I.get)(P,["icon","src"]),label:(0,I.get)(P,["title"]),variations:L,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R;e&&M(n,(0,a.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id,className:g()({"can-submit-and-subscribe":"submit-subscribe"===t.action,"has-captcha":t.hasCaptcha}),"data-option-name":t.optionName});return(0,i.createElement)("div",o,(0,i.createElement)("form",{className:"otter-form__container"},(0,i.createElement)(c.InnerBlocks.Content,null),(0,i.createElement)("div",{className:g()("wp-block-button",{right:"right"===t.submitStyle},{full:"full"===t.submitStyle})},(0,i.createElement)("button",{className:"wp-block-button__link",type:"submit"},t.submitLabel?t.submitLabel:(0,l.__)("Submit","otter-blocks")))))},deprecated:zt,example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/form-input",attributes:{label:(0,l.__)("Name","otter-blocks"),type:"text",isRequired:!0}},{name:"themeisle-blocks/form-input",attributes:{label:(0,l.__)("Email","otter-blocks"),type:"email",isRequired:!0}},{name:"themeisle-blocks/form-textarea",attributes:{label:(0,l.__)("Message","otter-blocks")}},{name:"core/paragraph",attributes:{content:(0,l.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}}]},variations:[{name:"themeisle-blocks/form-contact",description:(0,l.__)("Contact form for clients","otter-blocks"),icon:r.contactIcon,title:(0,l.__)("Contact Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,l.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,l.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["themeisle-blocks/form-textarea",{label:(0,l.__)("Message","otter-blocks")}],["core/paragraph",{content:(0,l.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]]},{name:"themeisle-blocks/form-subscribe",description:(0,l.__)("Add the clients to your subscription list","otter-blocks"),icon:r.contactIcon,title:(0,l.__)("Subscribe Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,l.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,l.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["core/paragraph",{content:(0,l.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]]}]});var lo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/google-map","title":"Google Maps","category":"themeisle-blocks","description":"Display Google Maps on your website with Google Map block. Powered by Otter.","keywords":["map","google","orbitfox"],"textdomain":"otter-blocks","attributes":{"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":true},"mapTypeControl":{"type":"boolean","default":true},"zoomControl":{"type":"boolean","default":true},"fullscreenControl":{"type":"boolean","default":true},"streetViewControl":{"type":"boolean","default":true},"markers":{"type":"array","default":[]}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-google-map-editor","style":"otter-google-map-style","script":"google-maps"}'),ao=o(4586),no=e=>{let{api:t,error:o,isAPILoaded:a,isAPISaved:n,isSaving:r,changeAPI:c,saveAPIKey:d}=e;return a?n?void 0:(0,i.createElement)(s.Placeholder,{icon:"admin-site",label:(0,l.__)("Google Maps","otter-blocks"),instructions:(0,l.__)("A Google Maps API key is required, please enter one below.","otter-blocks")},(0,i.createElement)("div",{className:"components-placeholder__actions"},(0,i.createElement)(s.TextControl,{type:"text",placeholder:(0,l.__)("Google Maps API Key","otter-blocks"),value:t,className:g()("components-placeholder__input",{"is-invalid":o}),onChange:c}),(0,i.createElement)(s.Button,{isPrimary:!0,type:"submit",onClick:d,isBusy:r,disabled:""===t||o},(0,l.__)("Save","otter-blocks"))),(0,i.createElement)("div",{className:"components-placeholder__learn-more"},o&&(0,i.createElement)("p",null,(0,l.__)("The API key could not be validated.","otter-blocks")),(0,i.createElement)("p",null,(0,l.__)("You need to activate Maps and Places API.","otter-blocks")," ",(0,i.createElement)(s.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,l.__)("Need an API key? Get one here.","otter-blocks"))))):(0,i.createElement)(s.Placeholder,null,(0,i.createElement)(s.Spinner,null),(0,l.__)("Loading…","otter-blocks"))};const ro=e=>{let{label:t,value:o,options:l,onChange:a}=e;const n=`inspector-style-switcher-control-${(0,O.useInstanceId)(ro)}`;return(0,i.createElement)(s.BaseControl,{id:n,label:t},(0,i.createElement)("div",{className:"o-style-switcher"},l.map((e=>(0,i.createElement)(s.Button,{key:e.value,className:g()("o-style-switcher-item",{"is-active":e.value===o}),tabIndex:"0",onClick:()=>(e=>a(e))(e.value)},(0,i.createElement)("div",{className:"o-style-switcher-item-preview"},(0,i.createElement)("img",{src:e.image})),(0,i.createElement)("div",{className:"o-style-switcher-item-label"},e.label))))))},io=ro,co=e=>{let{label:t,value:o,options:l,onChange:a}=e;return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(s.ToolbarGroup,null,(0,i.createElement)(s.Dropdown,{contentClassName:"otter-styles-popover-content",position:"bottom center",renderToggle:e=>{let{isOpen:o,onToggle:l}=e;return(0,i.createElement)(s.Button,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:l,"aria-haspopup":"true","aria-expanded":o,label:t,showTooltip:!0},(0,i.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"o-style-switcher"},l.map((e=>(0,i.createElement)(s.Button,{key:e.value,className:g()("o-style-switcher-item",{"is-active":e.value===o}),tabIndex:"0",onClick:()=>(e=>a(e))(e.value)},(0,i.createElement)("div",{className:"o-style-switcher-item-preview"},(0,i.createElement)("img",{src:e.image})),(0,i.createElement)("div",{className:"o-style-switcher-item-label"},e.label))))))})))},so=e=>{let{value:t,onChange:o}=e;const a=(0,O.useInstanceId)(so);(0,i.useEffect)((()=>{window.wp.oldEditor.initialize(r.current.id,{tinymce:{classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"}});const e=window.tinymce.get(r.current.id);return e.on("change",(()=>o(e.getContent()))),()=>window.wp.oldEditor.remove(r.current.id)}),[]);const n=`inspector-textarea-control-${a}`,r=(0,i.useRef)(null);return(0,i.createElement)(s.BaseControl,{id:n,label:(0,l.__)("Description","otter-blocks")},(0,i.createElement)("textarea",{id:n,className:"components-textarea-control__input",rows:4,value:t,onChange:e=>o(e.target.value),ref:r}))};var mo=so,uo=e=>{let{marker:t,isOpen:o,isPlaceAPIAvailable:a,openMarker:n,removeMarker:r,changeMarkerProp:c}=e;const d=(0,i.useRef)(null);return(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker"},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},(0,i.createElement)(s.Button,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:()=>n(t.id)},t.title||(0,l.__)("Custom Marker","otter-blocks")),(0,i.createElement)(s.Button,{icon:"no-alt",label:(0,l.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:()=>r(t.id)})),(0,i.createElement)("div",{className:g()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===o})},(0,i.createElement)(s.BaseControl,{label:(0,l.__)("Location","otter-blocks"),id:`themeisle-location-search-${t.id}`},(0,i.createElement)("input",{type:"text",id:`themeisle-location-search-${t.id}`,placeholder:(0,l.__)("Enter a location…","otter-blocks"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:d,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const o=new window.google.maps.places.SearchBox(d.current);o.addListener("places_changed",(()=>{const e=o.getPlaces();e&&0<e.length&&e.forEach((e=>{const o=e.formatted_address||e.name,l=e.geometry.location.lat(),a=e.geometry.location.lng();c(t.id,"location",o),c(t.id,"latitude",l),c(t.id,"longitude",a)}))}))},onChange:e=>c(t.id,"location",e.target.value),disabled:!a}),!a&&(0,i.createElement)("p",null,(0,l.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,i.createElement)(s.ExternalLink,{href:"https://developers.google.com/places/web-service/intro"},(0,l.__)("More info.","otter-blocks")))),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",value:t.latitude,onChange:e=>c(t.id,"latitude",e)}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",value:t.longitude,onChange:e=>c(t.id,"longitude",e)}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Map Icon","otter-blocks"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,l.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,l.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,l.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,l.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,l.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:e=>c(t.id,"icon",e)}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",value:t.title,onChange:e=>c(t.id,"title",e)}),(0,i.createElement)(mo,{label:(0,l.__)("Description","otter-blocks"),type:"text",value:t.description,onChange:e=>c(t.id,"description",e)})))},bo=e=>{let{initialOpen:t,markers:o,isPlaceAPIAvailable:a,addMarker:n,removeMarker:r,changeMarkerProp:c}=e;(0,i.useEffect)((()=>{!1!==t&&m(t)}),[t]);const[d,m]=(0,i.useState)(null),u=e=>{d===e&&(e=null),m(e)};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},o.map((e=>(0,i.createElement)(uo,{key:e.id,marker:e,isOpen:d,isPlaceAPIAvailable:a,openMarker:u,removeMarker:r,changeMarkerProp:c})))),(0,i.createElement)(s.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:n},(0,l.__)("Add Marker","otter-blocks")))},po=e=>{let{attributes:t,setAttributes:o,map:a,changeStyle:n,isPlaceAPIAvailable:r,isMarkerOpen:d,setMarkerOpen:m,removeMarker:u,changeMarkerProp:b,addMarkerManual:p,api:g,isSaving:h,changeAPI:v,saveAPIKey:k}=e;const y=(0,i.useRef)(null);return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Styles","otter-blocks"),initialOpen:!1},(0,i.createElement)(io,{value:t.style,options:[{label:(0,l.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,l.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,l.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,l.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,l.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,l.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:n})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Location","otter-blocks")},(0,i.createElement)(s.BaseControl,{label:(0,l.__)("Location"),id:"wp-block-themeisle-blocks-google-map-search"},(0,i.createElement)("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:(0,l.__)("Enter a location…","otter-blocks"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:y,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const t=new window.google.maps.places.SearchBox(y.current);t.addListener("places_changed",(()=>{const e=t.getPlaces();e&&0<e.length&&e.forEach((e=>{const t=e.geometry.location.lat(),l=e.geometry.location.lng(),n=new window.google.maps.LatLng(t,l);a.setCenter(n),o({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:e=>{o({location:e.target.value})},disabled:!r}),!r&&(0,i.createElement)("p",null,(0,l.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,i.createElement)(s.ExternalLink,{href:"https://developers.google.com/places/web-service/intro"},(0,l.__)("More info.","otter-blocks")))),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter latitude…","otter-blocks"),value:t.latitude,onChange:e=>{o({latitude:e.toString()});const l=Number(e),{longitude:n}=t,r=new window.google.maps.LatLng(l,n);a.setCenter(r)}}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter longitude","otter-blocks"),value:t.longitude,onChange:e=>{o({longitude:e.toString()});const{latitude:l}=t,n=Number(e),r=new window.google.maps.LatLng(l,n);a.setCenter(r)}})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Map Type","otter-blocks"),value:t.type,options:[{label:(0,l.__)("Road Map","otter-blocks"),value:"roadmap"},{label:(0,l.__)("Satellite View","otter-blocks"),value:"satellite"},{label:(0,l.__)("Hybrid","otter-blocks"),value:"hybrid"},{label:(0,l.__)("Terrain","otter-blocks"),value:"terrain"}],onChange:e=>{o({type:e}),a.setMapTypeId(window.google.maps.MapTypeId[e.toUpperCase()])}}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Map Zoom Level","otter-blocks"),value:t.zoom,onChange:e=>{o({zoom:e}),a.setZoom(e)},min:0,max:20}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Map Height","otter-blocks"),value:t.height,onChange:e=>{o({height:e})},min:100,max:1400})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Controls","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.BaseControl,null,(0,l.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Draggable Map","otter-blocks"),checked:t.draggable,onChange:()=>{o({draggable:!t.draggable})}}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Map Type Control","otter-blocks"),checked:t.mapTypeControl,onChange:()=>{o({mapTypeControl:!t.mapTypeControl})}}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Zoom Control","otter-blocks"),checked:t.zoomControl,onChange:()=>{o({zoomControl:!t.zoomControl})}}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Full Screen Control","otter-blocks"),checked:t.fullscreenControl,onChange:()=>{o({fullscreenControl:!t.fullscreenControl})}}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Street View Control","otter-blocks"),checked:t.streetViewControl,onChange:()=>{o({streetViewControl:!t.streetViewControl})}})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Markers","otter-blocks"),initialOpen:!1,opened:!1!==d||void 0,onToggle:()=>{!1!==d&&m(!0)}},(0,i.createElement)(bo,{markers:t.markers,removeMarker:u,changeMarkerProp:b,addMarker:p,isPlaceAPIAvailable:r,initialOpen:d})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Global Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.TextControl,{label:(0,l.__)("Google Maps API Key","otter-blocks"),type:"text",placeholder:(0,l.__)("Google Maps API Key","otter-blocks"),value:g,className:"components-placeholder__input",onChange:v,help:(0,l.__)("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.","otter-blocks")}),(0,i.createElement)(s.Button,{isSecondary:!0,type:"submit",onClick:k,isBusy:h},(0,l.__)("Save API Key","otter-blocks"))))},go=e=>{let{marker:t,isAdvanced:o,isPlaceAPIAvailable:a,addMarker:n,close:r}=e;(0,i.useEffect)((()=>{m(t.id),b(t.location),g(t.title),v(t.icon),y(t.description),f(t.latitude),C(t.longitude)}),[t]);const c=(0,i.useRef)(null),[d,m]=(0,i.useState)(t.id),[u,b]=(0,i.useState)(t.location),[p,g]=(0,i.useState)(t.title),[h,v]=(0,i.useState)(t.icon),[k,y]=(0,i.useState)(t.description),[_,f]=(0,i.useState)(t.latitude),[w,C]=(0,i.useState)(t.longitude);return(0,i.createElement)(s.Modal,{title:(0,l.__)("Add Marker","otter-blocks"),onRequestClose:r,shouldCloseOnClickOutside:!1},o&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.BaseControl,{label:(0,l.__)("Location","otter-blocks"),id:`themeisle-location-search-${t.id}`},(0,i.createElement)("input",{type:"text",id:`themeisle-location-search-${d}`,placeholder:(0,l.__)("Enter a location…","otter-blocks"),value:u,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const t=new window.google.maps.places.SearchBox(c.current);t.addListener("places_changed",(()=>{const e=t.getPlaces();e&&0<e.length&&e.forEach((e=>{const t=e.formatted_address||e.name,o=e.geometry.location.lat(),l=e.geometry.location.lng();b(t),f(o),C(l)}))}))},onChange:e=>b(e.target.value),disabled:!a})),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",value:_,onChange:f}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",value:w,onChange:C})),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",value:p,onChange:g}),(0,i.createElement)(mo,{label:(0,l.__)("Description","otter-blocks"),type:"text",value:k,onChange:y}),(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Map Icon","otter-blocks"),value:h||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,l.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,l.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,l.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,l.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,l.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:v}),(0,i.createElement)(s.ButtonGroup,null,(0,i.createElement)(s.Button,{isPrimary:!0,onClick:()=>n(u,p,h,k,_,w)},(0,l.__)("Add","otter-blocks")),(0,i.createElement)(s.Button,{isSecondary:!0,onClick:r},(0,l.__)("Cancel","otter-blocks"))))},ho=e=>{let{attributes:t,initMap:o,displayMap:a,isMapLoaded:n,selectMarker:r,isSelectingMarker:c}=e;return(0,i.useEffect)((()=>{a&&o()}),[a]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{id:t.id,className:g()({"is-selecting-marker":c}),style:{height:t.height+"px"}}),n&&(0,i.createElement)(s.Button,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:(0,l.__)("Add Button","otter-blocks"),onClick:r},(0,i.createElement)("span",{className:"dashicons dashicons-sticky"})))},vo={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"}]}]};const{attributes:ko}=lo;const yo={to:[{type:"block",blocks:["themeisle-blocks/leaflet-map"],transform:e=>{const t=(0,I.omit)(e,["style","mapTypeControl","fullscreenControl","streetViewControl"]);return(0,a.createBlock)("themeisle-blocks/leaflet-map",{...t})}}]};var _o=yo;const{name:fo}=lo;(0,a.registerBlockType)(fo,{...lo,title:(0,l.__)("Google Maps","otter-blocks"),description:(0,l.__)("Display Google Maps on your website with Google Map block. Powered by Otter.","otter-blocks"),icon:r.mapIcon,keywords:["map","google","orbitfox"],transforms:_o,edit:e=>{let{attributes:t,setAttributes:o,clientId:a,isSelected:n,toggleSelection:r}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(a,ko);return()=>e(t.id)}),[t.id]),(0,i.useEffect)((()=>{let e=!0;return(async()=>{await window.wp.api.loadPromise.then((()=>{m.current=new window.wp.api.models.Settings})),!1===Boolean(window.themeisleGutenberg.mapsAPI)?_||m.current.fetch().then((t=>{e&&(k(t.themeisle_google_map_block_api_key),f(!0),""!==t.themeisle_google_map_block_api_key&&(C(!0),W(t.themeisle_google_map_block_api_key)))})):!_&&e&&(k(window.themeisleGutenberg.mapsAPI),f(!0),C(!0),W(window.themeisleGutenberg.mapsAPI))})(),window.isMapLoaded=window.isMapLoaded||!1,window[`removeMarker_${a.substr(0,8)}`]=q,window.gm_authFailure=function(){C(!1),$(!0)},u.current=document.createElement("script"),u.current.type="text/javascript",u.current.async=!0,u.current.defer=!0,u.current.id="themeisle-google-map-api-loading",()=>{e=!1}}),[]),(0,i.useEffect)((()=>{!1!==w&&void 0!==window.google&&b.current.setOptions({mapTypeControl:!!n||t.mapTypeControl,zoomControl:!!n||t.zoomControl,fullscreenControl:!!n||t.fullscreenControl,streetViewControl:!!n||t.streetViewControl})}),[n]),(0,i.useEffect)((()=>{h.current=[...t.markers]}),[t.markers]);const d=(0,i.useRef)([]),m=(0,i.useRef)(null),u=(0,i.useRef)(null),b=(0,i.useRef)(null),p=(0,i.useRef)(null),h=(0,i.useRef)([...t.markers]),[v,k]=(0,i.useState)(""),[_,f]=(0,i.useState)(!1),[w,C]=(0,i.useState)(!1),[E,x]=(0,i.useState)(!1),[T,S]=(0,i.useState)(!1),[M,B]=(0,i.useState)(!0),[z,P]=(0,i.useState)(!1),[R,L]=(0,i.useState)(!1),[V,N]=(0,i.useState)(!1),[H,I]=(0,i.useState)(!1),[O,F]=(0,i.useState)(!1),[A,G]=(0,i.useState)({}),[D,$]=(0,i.useState)(!1),W=e=>{window.isMapLoaded||(window.isMapLoaded=!0,u.current.onload=()=>{document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",P(!0)},u.current.src=`https://maps.googleapis.com/maps/api/js?key=${e}&libraries=places&cache=${Math.random()}`,document.head.appendChild(u.current)),document.getElementById("themeisle-google-map-api")&&P(!0)},Z=(e,t,o,n)=>{const r=`<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">${o}</h6><div class="wp-block-themeisle-blocks-map-overview-content">${n?`<p>${n}</p>`:""}<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_${a.substr(0,8)}( '${t}' )">${(0,l.__)("Delete Marker","otter-blocks")}</a></div></div>`,i=new window.google.maps.InfoWindow({content:r});e.addListener("click",(()=>{p.current=i,i.open(b.current,e)})),window.google.maps.event.addListener(i,"domready",(()=>{L(t)})),window.google.maps.event.addListener(i,"closeclick",(()=>{L(!1)}))},j=e=>{e.forEach((e=>{const{latitude:t}=e,{longitude:o}=e,l=new window.google.maps.LatLng(t,o),a=new window.google.maps.Marker({position:l,map:b.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});window.google.maps.event.addListener(a,"dragend",(t=>{const o=t.latLng.lat(),l=t.latLng.lng();U(e.id,"latitude",o),U(e.id,"longitude",l)})),d.current.push(a),window.google.maps.event.addListener(a,"click",(()=>{p.current&&p.current.close()})),Z(a,e.id,e.title,e.description)}))},U=(e,t,l)=>{const a=[...h.current];a.find((t=>t.id===e))[t]=l.toString(),J(),j(a),o({markers:a})},q=e=>{let t=[...h.current];t=t.filter((t=>t.id!==e)),o({markers:t}),J(),L(!1),0<t.length&&j(t)},J=()=>{for(let e=0;e<d.current.length;e++)d.current[e].setMap(null);d.current=[]},K=()=>{!1===Boolean(window.themeisleGutenberg.mapsAPI)&&(S(!0),new window.wp.api.models.Settings({themeisle_google_map_block_api_key:v}).save().then((e=>{let t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),S(!1),C(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,W(e.themeisle_google_map_block_api_key))})))},Q=e=>{o({style:e}),b.current.setOptions({styles:vo[e]})},Y=(0,c.useBlockProps)({className:g()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":n})});return _&&w?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(co,{label:(0,l.__)("Block Styles","otter-blocks"),value:t.style,options:[{label:(0,l.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,l.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,l.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,l.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,l.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,l.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:Q}),(0,i.createElement)(po,{attributes:t,setAttributes:o,map:b.current,changeStyle:Q,isPlaceAPIAvailable:M,isMarkerOpen:R,setMarkerOpen:L,removeMarker:q,changeMarkerProp:U,addMarkerManual:()=>{const e=(0,ao.Z)(),t=(0,l.__)("Custom Marker","otter-blocks"),o=b.current.getCenter(),a=o.lat(),n=o.lng();I(!0),F(!0),G({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:n})},api:v,isSaving:T,changeAPI:k,saveAPIKey:K}),H&&(0,i.createElement)(go,{marker:A,isAdvanced:O,isPlaceAPIAvailable:M,close:()=>I(!1),addMarker:(e,l,a,n,r,i)=>{const c=new window.google.maps.LatLng(r,i),s=(0,ao.Z)(),m=new window.google.maps.Marker({position:c,map:b.current,title:l,draggable:!0,icon:a});window.google.maps.event.addListener(m,"dragend",(e=>{const t=e.latLng.lat(),o=e.latLng.lng();U(s,"latitude",t),U(s,"longitude",o)})),d.current.push(m);const u=[...t.markers],g={id:s,location:e,title:l,icon:a,description:n,latitude:r,longitude:i};u.push(g),o({markers:u}),window.google.maps.event.addListener(m,"click",(()=>{p.current&&p.current.close()})),Z(m,g.id,l,n),I(!1),N(!1)}}),(0,i.createElement)("div",Y,(0,i.createElement)(s.ResizableBox,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:()=>{r(!1)},onResizeStop:(e,l,a,n)=>{o({height:parseInt(t.height+n.height,10)}),r(!0)}},(0,i.createElement)(ho,{attributes:t,initMap:()=>{var e,l,a;const n=null!==(e=null===(l=(0,y.getEditorIframe)())||void 0===l||null===(a=l.contentWindow)||void 0===a?void 0:a.document)&&void 0!==e?e:document;if(b.current=new window.google.maps.Map(n.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:vo[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){const e={query:t.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(b.current).findPlaceFromQuery(e,((e,t)=>{t===window.google.maps.places.PlacesServiceStatus.OK&&0<e.length&&b.current.setCenter(e[0].geometry.location)}))}window.google.maps.event.addListenerOnce(b.current,"idle",(()=>{x(!0)})),b.current.addListener("zoom_changed",(()=>{const e=b.current.getZoom();o({zoom:e})})),b.current.addListener("maptypeid_changed",(()=>{const e=b.current.getMapTypeId();o({type:e})})),b.current.addListener("bounds_changed",(()=>{const e=b.current.getCenter(),t=e.lat(),l=e.lng();o({latitude:t.toString(),longitude:l.toString()})})),0<t.markers.length&&j(t.markers);const r={query:t.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(b.current).findPlaceFromQuery(r,((e,t)=>{"REQUEST_DENIED"===t&&B(!1)}))},displayMap:z,isMapLoaded:E,selectMarker:()=>{N(!V),V?window.google.maps.event.clearListeners(b.current,"click"):b.current.addListener("click",(e=>{window.google.maps.event.clearListeners(b.current,"click");const t=(0,ao.Z)(),o=(0,l.__)("Custom Marker","otter-blocks"),a=e.latLng.lat(),n=e.latLng.lng();I(!0),F(!1),G({id:t,location:"",title:o,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:n})}))},isSelectingMarker:V})))):(0,i.createElement)("div",Y,(0,i.createElement)(no,{api:v,error:D,isAPILoaded:_,isAPISaved:w,isSaving:T,changeAPI:e=>{k(e),$(!1)},saveAPIKey:K}))},save:()=>null});var wo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list","title":"Icon List","category":"themeisle-blocks","description":"Display an icon list in a beautiful layout. Powered by Otter.","keywords":["icon","list","items"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"defaultLibrary":{"type":"string","default":"fontawesome"},"defaultPrefix":{"type":"string","default":"fas"},"defaultIcon":{"type":"string","default":"angle-right"},"defaultContentColor":{"type":"string"},"defaultIconColor":{"type":"string"},"defaultSize":{"type":"number","default":20},"gap":{"type":"number","default":5},"horizontalAlign":{"type":"string"}},"styles":[{"name":"vertical","label":"Vertical","isDefault":true},{"name":"horizontal","label":"Horizontal"}],"editorStyle":"otter-icon-list-editor","style":"otter-icon-list-style"}'),Co=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(c.AlignmentToolbar,{value:{"flex-start":"left",center:"center","flex-end":"right"}[t.horizontalAlign],onChange:e=>{switch(e){case"left":o({horizontalAlign:"flex-start"});break;case"center":o({horizontalAlign:"center"});break;case"right":o({horizontalAlign:"flex-end"});break;default:o({horizontalAlign:void 0})}}}))};const Eo=(0,i.lazy)((()=>Promise.all([o.e(189),o.e(765)]).then(o.bind(o,3765))));var xo=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(i.Suspense,{fallback:(0,i.createElement)(s.Placeholder,null,(0,i.createElement)(s.Spinner,null))},(0,i.createElement)(Eo,{label:(0,l.__)("Icon Picker","otter-blocks"),library:t.defaultLibrary,prefix:t.defaultPrefix,icon:t.defaultIcon,changeLibrary:e=>{o({defaultLibrary:e,defaultIcon:void 0,defaultPrefix:"fas"})},onChange:e=>{if("image"===t.defaultLibrary&&null!=e&&e.url)return o({defaultIcon:e.url});o("object"==typeof e?{defaultIcon:e.name,defaultPrefix:e.prefix}:{defaultIcon:e})},allowImage:!0})),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Font Size","otter-blocks"),help:(0,l.__)("The size of the font size of the content and icon.","otter-blocks"),value:t.defaultSize,onChange:e=>{o({defaultSize:e})},step:.1,min:0,max:60,allowReset:!0}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Gap","otter-blocks"),help:(0,l.__)("The distance between the items.","otter-blocks"),value:t.gap,onChange:e=>{o({gap:e})},step:.1,min:0,max:60,allowReset:!0}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Content Color","otter-blocks"),colorValue:t.defaultContentColor,onColorChange:e=>{o({defaultContentColor:e})}}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Icon Color","otter-blocks"),colorValue:t.defaultIconColor,onColorChange:e=>{o({defaultIconColor:e})}})))};const{attributes:To}=wo;var So=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list-item","title":"Icon List Item","category":"themeisle-blocks","description":"Display an item for the icon list. Powered by Otter.","keywords":["icon","list","items"],"parent":["themeisle-blocks/icon-list"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"content":{"type":"string"},"contentColor":{"type":"string"},"iconColor":{"type":"string"},"library":{"type":"string"},"iconPrefix":{"type":"string"},"icon":{"type":"string"}}}');const Mo=(0,i.lazy)((()=>Promise.all([o.e(189),o.e(765)]).then(o.bind(o,3765))));var Bo=e=>{let{attributes:t,setAttributes:o}=e;return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(i.Suspense,{fallback:(0,i.createElement)(s.Placeholder,null,(0,i.createElement)(s.Spinner,null))},(0,i.createElement)(Mo,{label:(0,l.__)("Icon Picker","otter-blocks"),library:t.library,prefix:t.iconPrefix,icon:t.icon,changeLibrary:e=>{o({library:e,icon:void 0,iconPrefix:"fab"})},onChange:e=>{if("image"===t.library&&null!=e&&e.url)return o({icon:e.url});o("object"==typeof e?{icon:e.name,iconPrefix:e.prefix}:{icon:e})},allowImage:!0})),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Content Color","otter-blocks"),colorValue:t.contentColor,onColorChange:e=>{o({contentColor:e})}}),"image"!==t.library&&(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Icon Color","otter-blocks"),colorValue:t.iconColor,onColorChange:e=>{o({iconColor:e})}})))};const{attributes:zo}=So;const{name:Po}=So;(0,a.registerBlockType)(Po,{...So,title:(0,l.__)("Icon List Item","otter-blocks"),description:(0,l.__)("Display an item for the icon list. Powered by Otter.","otter-blocks"),icon:r.faIcon,keywords:["item","icon","list"],merge(e,t){return{content:(e.content||"")+(t.content||"")}},edit:e=>{var t,o;let{attributes:n,setAttributes:r,name:s,clientId:d,onReplace:m,onRemove:u,mergeBlocks:b}=e;const[p,v]=(0,i.useState)(!1),{hasParent:k,parentAttributes:_}=(0,h.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:o}=e("core/block-editor"),l=t(o(d));return{hasParent:!!l,parentAttributes:l?l.attributes:{}}}),[]);(0,i.useEffect)((()=>{const e=(0,y.blockInit)(d,zo);return()=>e(n.id)}),[n.id]),(0,i.useEffect)((()=>{r({library:n.library||_.defaultLibrary,icon:n.icon||_.defaultIcon,iconPrefix:n.iconPrefix||_.defaultPrefix})}),[k,_,n]),(0,i.useEffect)((()=>{if("image"===n.library)try{const e=new URL(n.icon);"http:"!==(null==e?void 0:e.protocol)&&"https:"!==(null==e?void 0:e.protocol)||v(!0)}catch(e){v(!1)}}),[n.library,n.icon]);const f=_e.ZP.icons[n.icon],w=`${n.iconPrefix||_.defaultPrefix} fa-${n.icon||_.defaultIcon}`,C={"--content-color":null!==(t=n.contentColor)&&void 0!==t?t:_.defaultContentColor,"--icon-color":null!==(o=n.iconColor)&&void 0!==o?o:_.defaultIconColor},E=(0,c.useBlockProps)({style:C});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Bo,{attributes:n,setAttributes:r}),(0,i.createElement)("div",E,"image"===n.library&&p?(0,i.createElement)("img",{src:n.icon}):"themeisle-icons"===n.library&&n.icon&&void 0!==f?(0,i.createElement)(f,{className:g()({"wp-block-themeisle-blocks-icon-list-item-icon":!n.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":n.iconColor})}):(0,i.createElement)("i",{className:g()(w,{"wp-block-themeisle-blocks-icon-list-item-icon":!n.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":n.iconColor})}),(0,i.createElement)(c.RichText,{identifier:"content",tagName:"p",placeholder:(0,l.__)("Write your content…","otter-blocks"),className:g()({"wp-block-themeisle-blocks-icon-list-item-content":!n.contentColor},{"wp-block-themeisle-blocks-icon-list-item-content-custom":n.contentColor}),value:n.content,onChange:e=>{r({content:e})},onSplit:e=>e?(0,a.createBlock)(s,{...n,content:e}):(0,a.createBlock)(s),onMerge:b,onReplace:m,onRemove:u})))},save:e=>{let{attributes:t}=e;const o=`${t.iconPrefix} fa-${t.icon}`,l=_e.ZP.icons[t.icon],a=c.useBlockProps.save({id:t.id});return(0,i.createElement)("div",a,"image"===t.library&&t.icon?(0,i.createElement)("img",{src:t.icon}):"themeisle-icons"===t.library&&t.icon?(0,i.createElement)(l,{className:g()({"wp-block-themeisle-blocks-icon-list-item-icon":!t.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":t.iconColor})}):(0,i.createElement)("i",{className:g()(o,{"wp-block-themeisle-blocks-icon-list-item-icon":!t.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":t.iconColor})}),(0,i.createElement)(c.RichText.Content,{tagName:"p",className:g()({"wp-block-themeisle-blocks-icon-list-item-content":!t.contentColor},{"wp-block-themeisle-blocks-icon-list-item-content-custom":t.contentColor}),value:t.content}))}});const{name:Ro}=wo;(0,a.registerBlockType)(Ro,{...wo,title:(0,l.__)("Icon List","otter-blocks"),description:(0,l.__)("Display an icon list in a beautiful layout. Powered by Otter.","otter-blocks"),icon:r.faIcon,keywords:["icon","list","items"],styles:[{name:"vertical",label:(0,l.__)("Vertical","otter-blocks"),isDefault:!0},{name:"horizontal",label:(0,l.__)("Horizontal","otter-blocks")}],edit:e=>{let{attributes:t,setAttributes:o,clientId:l}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(l,To);return()=>e(t.id)}),[t.id]);const a={"--horizontal-align":t.horizontalAlign,"--gap":t.gap&&`${t.gap}px`,"--font-size":t.defaultSize&&`${t.defaultSize}px`},n=(0,c.useBlockProps)({id:t.id,style:a});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Co,{attributes:t,setAttributes:o}),(0,i.createElement)(xo,{attributes:t,setAttributes:o}),(0,i.createElement)("div",n,(0,i.createElement)(c.InnerBlocks,{allowedBlocks:["themeisle-blocks/icon-list-item"],__experimentalMoverDirection:"vertical",orientation:"vertical",template:[["themeisle-blocks/icon-list-item"]],renderAppender:c.InnerBlocks.DefaultAppender})))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id});return(0,i.createElement)("div",o,(0,i.createElement)(c.InnerBlocks.Content,null))},example:{innerBlocks:[{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,l.__)("List Item 1","otter-blocks")}},{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,l.__)("List Item 2","otter-blocks")}},{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,l.__)("List Item 3","otter-blocks")}}]}});var Lo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/leaflet-map","title":"Maps","category":"themeisle-blocks","description":"Display Open Street Maps on your website with Maps block. Powered by Otter.","keywords":["map","opeenstreetmap","location"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"location":{"type":"string","default":"La Sagrada Familia, Barcelona, Spain"},"latitude":{"type":"string","default":"41.4034789"},"longitude":{"type":"string","default":"2.174410333009705"},"bbox":{"type":"string","default":"2.1207046508789067%2C41.34807736149302%2C2.2288513183593754%2C41.45816618938139"},"zoom":{"type":"number"},"height":{"type":"number","default":400},"markers":{"type":"array","default":[]},"zoomControl":{"type":"boolean","default":true},"draggable":{"type":"boolean","default":true}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-leaflet-map-editor","style":"otter-leaflet-map-style","editorScript":"leaflet-gesture-handling","script":"otter-leaflet"}');async function Vo(e){const t=await async function(e){if("string"!=typeof e)throw(0,l.__)("Location must be a string","otter-blocks");const t="https://nominatim.openstreetmap.org/search?q="+e.split(" ").map((e=>encodeURIComponent(e))).join("+")+"&format=geojson",o=await fetch(t);return o.ok&&200===o.status?o.json():console.warn((0,l.__)("An error has occured: ","otter-blocks")+o.status)}(e);if(null!=t&&t.features.length){var o;const e=t.features[0];if(null!=e&&null!==(o=e.geometry)&&void 0!==o&&o.coordinates.length)return{longitude:e.geometry.coordinates[0],latitude:e.geometry.coordinates[1]}}return null}const No=e=>{let{value:t,onChange:o}=e;const a=(0,O.useInstanceId)(No);(0,i.useEffect)((()=>{wp.oldEditor.initialize(r.current.id,{tinymce:{classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"}});const e=window.tinymce.get(r.current.id);return e.on("change",(()=>o(e.getContent()))),()=>wp.oldEditor.remove(r.current.id)}),[]);const n=`inspector-textarea-control-${a}`,r=(0,i.useRef)(null);return(0,i.createElement)(s.BaseControl,{id:n,label:(0,l.__)("Description","otter-blocks")},(0,i.createElement)("textarea",{id:n,className:"components-textarea-control__input",rows:4,value:t,onChange:e=>o(e.target.value),ref:r}))};var Ho=No,Io=e=>{let{marker:t,isOpen:o,openMarker:a,dispatch:n}=e;const[r,c]=(0,i.useState)(t.location),[d,m]=(0,i.useState)(t.longitude),[u,b]=(0,i.useState)(t.latitude),[p,h]=(0,i.useState)(t.title),[v,k]=(0,i.useState)(t.description),[y,_]=(0,i.useState)({target:"",reason:""});return(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker"},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-title-area"},(0,i.createElement)(s.Button,{className:"wp-block-themeisle-blocks-leaflet-map-marker-title",onClick:()=>a()},t.title||(0,l.__)("Custom Marker","otter-blocks")),(0,i.createElement)(s.Button,{icon:"no-alt",label:(0,l.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-leaflet-map-marker-remove",onClick:()=>n({type:Go.REMOVE,ids:[t.id]})})),o&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-control-area"},(0,i.createElement)(s.TextControl,{label:(0,l.__)("Location","otter-blocks"),type:"text",className:g()({"wp-block-themeisle-blocks-leaflet-map-input-error":"LOCATION"===y.target}),value:r,onChange:e=>{c(e)},help:(0,l.__)("Press Enter to search the location","otter-blocks"),onKeyDown:e=>((e,o)=>{e.key===o&&(async()=>{const e=await Vo(r);e?(n({type:Go.UPDATE,ids:[t.id],updatedProps:{location:r,latitude:e.latitude,longitude:e.longitude}}),b(e.latitude),m(e.longitude),"LOCATION"===y.target&&_({})):_({target:"LOCATION",reason:(0,l.__)("Location couldn't been found!","otter-blocks")})})()})(e,"Enter")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",value:u,onChange:e=>{b(e),n({type:Go.UPDATE,ids:[t.id],updatedProps:{latitude:e}})}}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",value:d,onChange:e=>{m(e),n({type:Go.UPDATE,ids:[t.id],updatedProps:{longitude:e}})}}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",value:p,onChange:e=>{h(e),n({type:Go.UPDATE,ids:[t.id],updatedProps:{title:e}})}}),(0,i.createElement)(Ho,{label:(0,l.__)("Description","otter-blocks"),type:"text",value:t.description,onChange:e=>{k(v),n({type:Go.UPDATE,ids:[t.id],updatedProps:{description:e}})}})))},Oo=e=>{let{markers:t,dispatch:o,markersInteraction:a}=e;const{openMarker:n,setOpenMarker:r}=a;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-group"},t.map((e=>(0,i.createElement)(Io,{key:e.id,marker:e,isOpen:n===e.id,openMarker:()=>r(a.openMarker!==e.id?e.id:null),dispatch:o})))),(0,i.createElement)(s.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-leaflet-map-marker-add",onClick:()=>{o({type:Go.ADD,marker:{id:(0,ao.Z)()},dispatch:o})}},(0,l.__)("Add Marker","otter-blocks")))},Fo=e=>{let{attributes:t,setAttributes:o,dispatch:a,markersInteraction:n}=e;const[r,d]=(0,i.useState)(t.location),[m,u]=(0,i.useState)({target:"",reason:""});return(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Location","otter-blocks")},(0,i.createElement)(s.TextControl,{label:(0,l.__)("Location","otter-blocks"),type:"text",className:g()({"wp-block-themeisle-blocks-leaflet-map-input-error":"LOCATION"===m.target}),placeholder:(0,l.__)("Enter location. E.g: La Sagrada Familia, Barcelona, Spain","otter-blocks"),help:(0,l.__)("Press Enter to search the location","otter-blocks"),value:r,onChange:d,onKeyDown:e=>((e,t)=>{e.key===t&&(async()=>{o({location:r});const e=await Vo(r);e?(o({latitude:e.latitude.toString(),longitude:e.longitude.toString()}),"LOCATION"===m.target&&u({})):u({target:"LOCATION",reason:(0,l.__)("Location couldn't been found!","otter-blocks")})})()})(e,"Enter")}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter latitude…","otter-blocks"),value:t.latitude,onChange:e=>{o({latitude:e.toString()})}}),(0,i.createElement)(s.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter longitude","otter-blocks"),value:t.longitude,onChange:e=>{o({longitude:e.toString()})}})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Map Zoom Level","otter-blocks"),value:t.zoom,onChange:e=>{o({zoom:e})},min:0,max:20}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Map Height","otter-blocks"),value:t.height,onChange:e=>{o({height:e})},min:100,max:1400})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Controls","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.BaseControl,null,(0,l.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Draggable Map","otter-blocks"),checked:t.draggable,onChange:()=>{o({draggable:!t.draggable})}}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Zoom Control","otter-blocks"),checked:t.zoomControl,onChange:()=>{o({zoomControl:!t.zoomControl})}})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Markers","otter-blocks"),initialOpen:!1},(0,i.createElement)(Oo,{markers:t.markers,dispatch:a,markersInteraction:n})))};const{attributes:Ao}=Lo,Go={ADD:"ADD",ADD_MANUAL:"ADD_MANUAL",REMOVE:"REMOVE",UPDATE:"UPDATE",INIT:"INIT"};const Do={to:[{type:"block",blocks:["themeisle-blocks/google-map"],transform:e=>{const t=e;return(0,a.createBlock)("themeisle-blocks/google-map",{...t})}}]};var $o=Do;const{name:Wo}=Lo;(0,a.registerBlockType)(Wo,{...Lo,title:(0,l.__)("Maps","otter-blocks"),description:(0,l.__)("Display Open Street Maps on your website with Maps block. Powered by Otter.","otter-blocks"),icon:r.mapIcon,keywords:["map","opeenstreetmap","location"],transforms:$o,edit:e=>{let{clientId:t,attributes:o,setAttributes:a,isSelected:n,toggleSelection:r}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(t,Ao);return()=>e(o.id)}),[o.id]);const d=(0,i.useRef)(null),[m,u]=(0,i.useState)(null),[b,p]=(0,i.useState)(!1),[h,v]=(0,i.useState)(null),k=(e,t)=>{if(window.L&&m&&t&&e){var o,a,n,r,i;null!==(o=e.id)&&void 0!==o||(e.id=(0,ao.Z)()),null!==(a=e.latitude)&&void 0!==a||(e.latitude=m.getCenter().lat),null!==(n=e.longitude)&&void 0!==n||(e.longitude=m.getCenter().lng),null!==(r=e.title)&&void 0!==r||(e.title=(0,l.__)("Add a title","otter-blocks")),null!==(i=e.description)&&void 0!==i||(e.description="");const c=window.L.marker([e.latitude,e.longitude]||0,{draggable:!0});return c.on("movestart",(()=>{c.closeTooltip(),c.closePopup()})),c.on("moveend",(()=>{const o=c.getLatLng();t({type:Go.UPDATE,ids:[e.id],updatedProps:{latitude:o.lat,longitude:o.lng}})})),c.on("click",(()=>{v(e.id)})),c.markerProps=e,c}return null},[_,f]=(0,i.useReducer)(((e,t)=>{switch(t.type){case Go.ADD:const o=k(t.marker,t.dispatch);return[...e,o];case Go.ADD_MANUAL:if(b){const o=k(t.marker,t.dispatch);return[...e,o]}return e;case Go.REMOVE:return e.filter((e=>{let{markerProps:o}=e;return t.ids.includes(o.id)})).forEach((e=>{m.hasLayer(e)&&m.removeLayer(e)})),e.filter((e=>{let{markerProps:o}=e;return!t.ids.includes(o.id)}));case Go.INIT:const a=t.markers.map((e=>k(e,t.dispatch)));return[...e,...a];case Go.UPDATE:return e.map((e=>{const o=e.markerProps;return t.ids.includes(o.id)&&(e.markerProps=(0,I.merge)(e.markerProps,t.updatedProps)),e}));default:console.warn((0,l.__)("The action for the leaflet block do not have a defined action in marker's reducer: ","otter-blocks")+t.type)}return e}),[],(()=>[])),w=()=>{if(!d.current&&!window.L)return;let{L:e}=window;const t=(0,y.getEditorIframe)();var n;if(Boolean(t)&&(e=null===(n=t.contentWindow)||void 0===n?void 0:n.L),!e)return;d.current.innerHTML="";const r=e.map(d.current,{gestureHandling:!0,gestureHandlingOptions:{text:{touch:(0,l.__)("Use two fingers to move the map","otter-blocks"),scroll:(0,l.__)("Use ctrl + scroll to zoom the map","otter-blocks"),scrollMac:(0,l.__)("Use ⌘ + scroll to zoom the map","otter-blocks")}}});e.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',subdomains:["a","b","c"]}).addTo(r),r.on("zoom",(()=>{a({zoom:r.getZoom()})})),r.on("moveend",(()=>{const e=r.getCenter();a({latitude:e.lat.toString(),longitude:e.lng.toString()})})),r.on("click",(e=>{f({type:Go.ADD_MANUAL,marker:{latitude:e.latlng.lat,longitude:e.latlng.lng},dispatch:f}),p(!1)})),e.Control.AddMarker=e.Control.extend({onAdd:()=>{const t=e.DomUtil.create("button","wp-block-themeisle-blocks-leaflet-map-marker-button"),o=e.DomUtil.create("span","dashicons dashicons-sticky",t);return e.DomEvent.on(t,"click",(t=>{e.DomEvent.stopPropagation(t),p(!b)})),t.title=(0,l.__)("Add marker on the map with a click","otter-blocks"),t.appendChild(o),t},onRemove:()=>{}}),e.control.addmarker=t=>new e.Control.AddMarker(t),e.control.addmarker({position:"bottomleft"}).addTo(r),u(r),f({type:Go.INIT,markers:o.markers,dispatch:f})};(0,i.useEffect)((()=>{(0,y.getEditorIframe)()?((0,y.copyScriptAssetToIframe)("#leaflet-js",(()=>{w()})),(0,y.copyScriptAssetToIframe)("#leaflet-gesture-handling-js",(()=>{}))):w()}),[]),(0,i.useEffect)((()=>{o.height&&m&&m.invalidateSize(!0)}),[o.height,m]),(0,i.useEffect)((()=>{o.latitude&&o.longitude&&m&&m.setView([o.latitude,o.longitude],o.zoom||15)}),[o.latitude,o.longitude,o.zoom,m]),(0,i.useEffect)((()=>{var e;null===(e=d.current)||void 0===e||e.classList.toggle("is-selecting-location",b)}),[b]),(0,i.useEffect)((()=>{o.latitude&&o.longitude&&m&&a({bbox:m.getBounds().toBBoxString()})}),[o.latitude,o.longitude,m]),(0,i.useEffect)((()=>{_&&(_.forEach((e=>{m.hasLayer(e)||m.addLayer(e);const{markerProps:t}=e;e.setLatLng([t.latitude,t.longitude]),e.closeTooltip(),e.unbindTooltip(),e.bindTooltip(t.title,{direction:"auto"}),e.closePopup(),e.unbindPopup(),e.bindPopup(((e,t)=>{const o=document.createElement("div"),a=document.createElement("h6"),n=document.createElement("div"),r=document.createElement("p"),i=document.createElement("button");return a.innerHTML=e.title,r.innerHTML=e.description,i.onclick=()=>t({type:Go.REMOVE,ids:[e.id]}),i.innerHTML=(0,l.__)("Delete Marker","otter-blocks"),o.classList.add("wp-block-themeisle-blocks-map-overview"),n.classList.add("wp-block-themeisle-blocks-map-overview-content"),a.classList.add("wp-block-themeisle-blocks-map-overview-title"),i.classList.add("wp-block-themeisle-blocks-map-overview-delete"),o.appendChild(a),o.appendChild(n),o.appendChild(i),n.appendChild(r),o})(t,f))})),o.markers.length!==_.length&&m&&a({markers:_.map((e=>{let{markerProps:t}=e;return t}))}))}),[_,m,o.markers]);const C=(0,c.useBlockProps)();return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Fo,{attributes:o,setAttributes:a,dispatch:f,markersInteraction:{openMarker:h,setOpenMarker:v}}),(0,i.createElement)("div",C,(0,i.createElement)(s.ResizableBox,{size:{height:o.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:()=>{r(!1)},onResizeStop:(e,t,l,n)=>{a({height:parseInt(o.height+n.height,10)}),r(!0)},className:g()("wp-block-themeisle-blocks-leaflet-map-resizer",{"is-focused":n})},(0,i.createElement)("div",{id:o.id,ref:d,style:{width:"100%",height:o.height||400}}))))},save:()=>null,example:{attributes:{}}});var Zo=o(2553),jo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/lottie","title":"Lottie Animation","category":"themeisle-blocks","description":"Add Lottie animations to your WordPress. Powered by Otter.","keywords":["media","lottie","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"file":{"type":"object"},"trigger":{"type":"string","default":"none"},"loop":{"type":"boolean","default":false},"count":{"type":"number","default":0},"speed":{"type":"number","default":1},"direction":{"type":"boolean","default":false},"width":{"type":["string","number"]},"ariaLabel":{"type":"string","default":""},"backgroundColor":{"type":"string"},"backgroundGradient":{"type":"string"}},"supports":{"align":["left","center","right"]},"editorStyle":"otter-lottie-editor","editorScript":"lottie-player","script":"otter-lottie"}'),Uo=e=>{var t;let{className:o,file:a,onChange:n,attributes:r}=e;const[d,m]=(0,i.useState)((null===(t=r.file)||void 0===t?void 0:t.url)||null);return Boolean(window.themeisleGutenberg.isWPVIP)?(0,i.createElement)(s.Placeholder,{label:(0,l.__)("Lottie","otter-blocks"),instructions:(0,l.__)("Add Lottie animations and files to your website. You need to use a .json file.","otter-blocks"),icon:(0,i.createElement)(c.BlockIcon,{icon:Zo.Z}),className:o},(0,i.createElement)("form",{onSubmit:e=>(e&&e.preventDefault(),n(d))},(0,i.createElement)("input",{type:"url",value:d||"",className:"components-placeholder__input","aria-label":(0,l.__)("Lottie","otter-blocks"),placeholder:(0,l.__)("Enter URL to embed here…","otter-blocks"),onChange:e=>m(e.target.value)}),(0,i.createElement)(s.Button,{isPrimary:!0,disabled:!d,type:"submit"},(0,l.__)("Embed","otter-blocks")))):(0,i.createElement)(c.MediaPlaceholder,{labels:{title:(0,l.__)("Lottie","otter-blocks"),instructions:(0,l.__)("Add Lottie animations and files to your website.","otter-blocks")},icon:(0,i.createElement)(c.BlockIcon,{icon:Zo.Z}),accept:["application/json"],allowedTypes:["application/json"],value:{...a},onSelectURL:n,onSelect:n})},qo=e=>{let{attributes:t,setAttributes:o,playerRef:a}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.InspectorControls,null,(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),initialOpen:!0},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Trigger","otter-blocks"),help:(0,l.__)("Animation trigger. This will only work on the front-end.","otter-blocks"),value:t.trigger,options:[{label:(0,l.__)("Autoplay","otter-blocks"),value:"none"},{label:(0,l.__)("Scroll","otter-blocks"),value:"scroll"},{label:(0,l.__)("Hover","otter-blocks"),value:"hover"},{label:(0,l.__)("Click","otter-blocks"),value:"click"}],onChange:e=>{o({trigger:e})}}),"scroll"!==t.trigger&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Loop","otter-blocks"),help:(0,l.__)("Whether to loop animation.","otter-blocks"),checked:t.loop,onChange:e=>{o({loop:e}),a.current.setLooping(e),t.direction&&a.current.seek("100%"),a.current.play()}}),t.loop&&(0,i.createElement)(s.TextControl,{label:(0,l.__)("Numbers of loops","otter-blocks"),help:(0,l.__)("Number of times to loop animation.","otter-blocks"),type:"number",value:t.count,onChange:e=>{o({count:Number(e)}),a.current.load(t.file.url)}}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Speed","otter-blocks"),help:(0,l.__)("Animation speed.","otter-blocks"),value:t.speed,onChange:e=>{o({speed:Number(e)}),a.current.setSpeed(e)},step:.1,min:.1,max:5}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Reverse","otter-blocks"),help:(0,l.__)("Direction of animation.","otter-blocks"),checked:t.direction,onChange:e=>{o({direction:e}),a.current.setDirection(e?-1:1),a.current.seek(e?"100%":0)}})),(0,i.createElement)(c.__experimentalUnitControl,{onChange:e=>{const t=parseInt(e.slice(0,-1)),l=e.slice(-1);100<t&&"%"===l&&(e="100%"),o({width:e})},label:(0,l.__)("Width","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,__unstableInputWidth:"50%",value:Number.isInteger(t.width)?`${t.width}px`:t.width,units:[{value:"%",label:"%",default:100},{value:"px",label:"px",default:300}]})),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Background","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.__experimentalColorGradientControl,{colorValue:t.backgroundColor,gradientValue:t.backgroundGradient,onColorChange:e=>o({backgroundColor:e}),onGradientChange:e=>o({backgroundGradient:e}),showTitle:!1,className:"otter-lottie-background-control"}))),(0,i.createElement)(c.InspectorAdvancedControls,null,(0,i.createElement)(s.TextControl,{label:(0,l.__)("Aria Label","otter-blocks"),help:(0,l.__)("Describe the purpose of this animation on the page.","otter-blocks"),value:t.ariaLabel,onChange:e=>o({ariaLabel:e})})))},Jo=e=>{let{isEditing:t,setEditing:o}=e;return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(s.ToolbarGroup,null,(0,i.createElement)(s.Tooltip,{text:t?(0,l.__)("Save","otter-blocks"):(0,l.__)("Edit","otter-blocks")},(0,i.createElement)(s.Button,{onClick:()=>o(!t)},(0,i.createElement)(s.Dashicon,{icon:t?"yes":"edit"})))))},Ko=e=>{let{attributes:t,playerRef:o}=e;(0,i.useEffect)((()=>{const e=(0,y.getEditorIframe)();Boolean(e)?(0,y.copyScriptAssetToIframe)("#lottie-player-js",(()=>{!(0,I.isEmpty)(t.file)&&t.loop&&null!==o.current&&o.current.addEventListener("complete",l)})):!(0,I.isEmpty)(t.file)&&t.loop&&null!==o.current&&o.current.addEventListener("complete",l)}),[]);const l=()=>{o.current&&(o.current.setLooping(t.loop),o.current.play(),o.current.removeEventListener("complete",l))};return(0,i.createElement)("lottie-player",(0,H.Z)({id:t.id,ref:o,src:t.file.url,autoplay:!0,count:t.count,speed:t.speed,background:t.backgroundColor||t.backgroundGradient,direction:t.direction?-1:1,style:{width:!(!t.width||"%"===t.width.toString().slice(-1))&&`${t.width}px`,maxWidth:!(!t.width||"%"!==t.width.toString().slice(-1))&&`${t.width}`,height:"auto"},mode:"normal"},t.ariaLabel&&{"aria-label":t.ariaLabel}))};const{attributes:Qo}=jo;const{name:Yo}=jo;(0,a.registerBlockType)(Yo,{...jo,title:(0,l.__)("Lottie Animation","otter-blocks"),description:(0,l.__)("Add Lottie animations to your WordPress. Powered by Otter.","otter-blocks"),icon:Zo.Z,keywords:["media","lottie","animation"],edit:e=>{let{attributes:t,setAttributes:o,isSelected:l,clientId:a}=e;const n=(0,i.useRef)(null),[r,s]=(0,i.useState)(!Boolean(t.file));(0,i.useEffect)((()=>{const e=(0,y.blockInit)(a,Qo);return()=>e(t.id)}),[t.id]),(0,i.useEffect)((()=>{var e,o,a,r,i,c;l?(null===(e=n.current)||void 0===e||null===(o=e.play)||void 0===o||o.call(e),t.direction&&(null===(a=n.current)||void 0===a||null===(r=a.seek)||void 0===r||r.call(a,"100%"))):null===(i=n.current)||void 0===i||null===(c=i.stop)||void 0===c||c.call(i)}),[l]);const d=(0,c.useBlockProps)();return(0,i.createElement)(i.Fragment,null,(!(0,I.isEmpty)(t.file)&&r||!r)&&(0,i.createElement)(Jo,{isEditing:r,setEditing:s}),!((0,I.isEmpty)(t.file)||r)&&(0,i.createElement)(qo,{attributes:t,setAttributes:o,playerRef:n}),(0,i.createElement)("div",d,((0,I.isEmpty)(t.file)||r)&&(0,i.createElement)(Uo,{value:t.file,onChange:e=>{if(""===e||null===e)return;const t=(0,I.pick)(e,["id","url"]);(0,I.isEmpty)(t)&&(t.url=e),o({file:{...t}}),s(!1)},attributes:t}),!((0,I.isEmpty)(t.file)||r)&&(0,i.createElement)(Ko,{attributes:t,isSelected:l,playerRef:n})))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id,src:t.file?t.file.url:"",width:t.width});return"scroll"===t.trigger?(0,i.createElement)("lottie-player",(0,H.Z)({trigger:t.trigger,background:t.backgroundColor||t.backgroundGradient},t.ariaLabel&&{"aria-label":t.ariaLabel},o)):(0,i.createElement)("lottie-player",(0,H.Z)({autoplay:!0,loop:!0,count:t.direction?-1*t.count:t.count,speed:t.speed,direction:t.direction?-1:1,trigger:t.trigger,"data-loop":t.loop,mode:"normal",background:t.backgroundColor||t.backgroundGradient},t.ariaLabel&&{"aria-label":t.ariaLabel},o))},example:{viewportWidth:1200,attributes:{id:"wp-block-themeisle-blocks-lottie-2",file:{url:"https://assets8.lottiefiles.com/packages/lf20_kd5rzej5.json"}}}});var Xo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/plugin-cards","title":"Plugin Card","category":"themeisle-blocks","description":"Plugin Card block lets you display plugins data in your blog posts. Powered by Otter.","keywords":["plugin","card","orbitfox"],"textdomain":"otter-blocks","attributes":{"slug":{"type":"string"}},"supports":{"html":false},"editorStyle":"otter-plugin-card-editor","style":"otter-plugin-card-style"}'),el=e=>{let{setAttributes:t,hasError:o,setError:a,className:n}=e;const[r,c]=(0,i.useState)(!1),[d,m]=(0,i.useState)(""),[u,b]=(0,i.useState)({}),[p,g]=(0,i.useState)(null),h=e=>{if(Object.keys(u).length){e.stopPropagation(),e.preventDefault();const t=p?p-1:Object.keys(u).length-1;g(t)}},v=e=>{if(Object.keys(u).length){e.stopPropagation(),e.preventDefault();const t=null===p||p===Object.keys(u).length-1?0:p+1;g(t)}},k=e=>{t({slug:e.slug}),b({})};return(0,i.createElement)(s.Placeholder,{icon:"admin-plugins",label:(0,l.__)("Plugin Card","otter-blocks"),instructions:(0,l.__)("Search for the plugin you want to display.","otter-blocks"),className:n},(0,i.createElement)("div",{className:"o-plugin-cards-search-field"},(0,i.createElement)(s.Dashicon,{icon:"search"}),r&&(0,i.createElement)(s.Spinner,null),(0,i.createElement)(s.TextControl,{type:"text",placeholder:(0,l.__)("Search for plugin…","otter-blocks"),value:d,onChange:m,onKeyDown:e=>{switch(e.keyCode){case ge.UP:h(e);break;case ge.DOWN:v(e);break;case ge.TAB:Object.keys(u).length&&!e.shiftKey&&g(0);break;case ge.ENTER:(async e=>{t({slug:""}),c(!0),a(!1);const o=await Vt()({path:`otter/v1/plugins?search=${encodeURIComponent(e)}`});if(o.data.errors)return a(!0),c(!1),g(null),void b({});c(!1),g(null),b(o.data.plugins)})(e.target.value)}},onFocus:()=>g(null)}),u&&(0,i.createElement)("div",{tabIndex:"-1",className:"o-plugin-cards-search-results"},Object.keys(u).map((e=>{const t=u[e];let o;return t.icons.svg&&(o=t.icons.svg),t.icons["2x"]&&(o=t.icons["2x"]),t.icons["1x"]&&(o=t.icons["1x"]),t.icons.default&&(o=t.icons.default),(0,i.createElement)("button",{className:"o-plugin-cards-list-item",key:e,onClick:e=>{e.preventDefault(),k(t)},onKeyDown:e=>((e,t)=>{switch(e.keyCode){case ge.UP:h(e);break;case ge.DOWN:v(e);break;case ge.TAB:if(e.shiftKey){0!==p&&h(e);break}if(p===Object.keys(u).length-1)break;v(e);break;case ge.ENTER:k(t)}})(e,t)},(0,i.createElement)("img",{src:o}),(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:(0,I.unescape)(t.name)}}))})))),o&&(0,i.createElement)("div",{className:"o-plugin-cards-error"},(0,i.createElement)("span",null,(0,l.__)("There seems to be an error. Make sure your internet is working properly.","otter-blocks"))))},tl=e=>{let{setAttributes:t}=e;return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(s.ToolbarGroup,null,(0,i.createElement)(s.Tooltip,{text:(0,l.__)("Edit","otter-blocks")},(0,i.createElement)(s.Button,{className:"components-icon-button components-toolbar__control o-plugin-cards-edit-plugin-card",onClick:()=>t({slug:void 0})},(0,i.createElement)(s.Dashicon,{icon:"edit"})))))};const{name:ol}=Xo;(0,a.registerBlockType)(ol,{...Xo,title:(0,l.__)("Plugin Card","otter-blocks"),description:(0,l.__)("Plugin Card block lets you display plugins data in your blog posts. Powered by Otter.","otter-blocks"),icon:r.pluginsIcon,keywords:["plugin","card","orbitfox"],edit:e=>{let{attributes:t,setAttributes:o}=e;const[l,a]=(0,i.useState)(!1),n=(0,c.useBlockProps)();return t.slug?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(tl,{setAttributes:o}),(0,i.createElement)("div",n,(0,i.createElement)(s.Disabled,null,(0,i.createElement)(m(),{block:"themeisle-blocks/plugin-cards",attributes:{...t}})))):(0,i.createElement)("div",n,(0,i.createElement)(el,{attributes:t,setAttributes:o,hasError:l,setError:a}))},save:()=>null,example:{attributes:{slug:"otter-blocks"}}});var ll=o(7682),al=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/popup","title":"Popup","category":"themeisle-blocks","description":"Display your content in beautiful popup with many customization options. Powered by Otter.","keywords":["popup","modal","lightbox"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"minWidth":{"type":"number"},"maxWidth":{"type":"number"},"trigger":{"type":"string"},"wait":{"type":"number"},"anchor":{"type":"string"},"scroll":{"type":"number"},"showClose":{"type":"boolean","default":true},"outsideClose":{"type":"boolean","default":true},"anchorClose":{"type":"boolean","default":false},"closeAnchor":{"type":"string"},"recurringClose":{"type":"boolean","default":false},"recurringTime":{"type":"number"},"backgroundColor":{"type":"string"},"closeColor":{"type":"string"},"overlayColor":{"type":"string"},"overlayOpacity":{"type":"number"}},"editorStyle":"otter-popup-editor","style":"otter-popup-style","script":"otter-popup"}'),nl=o(6755),rl=o(7231);const il=()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.Disabled,null,(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Close On Anchor Click","otter-blocks"),checked:!1,onChange:()=>{}}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Dismiss for Recurring Visitors","otter-blocks"),checked:!1,onChange:()=>{}})),(0,i.createElement)(Ae.Z,{notice:(0,i.createElement)(s.ExternalLink,{href:(0,Fe.Wi)(window.themeisleGutenberg.upgradeLink,"popupblock")},(0,l.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"}));var cl=e=>{let{attributes:t,setAttributes:o}=e,a=[{label:(0,l.__)("On Load","otter-blocks"),value:"onLoad"},{label:(0,l.__)("On Anchor Click (Pro)","otter-blocks"),value:"onClick",disabled:!0},{label:(0,l.__)("On Scroll (Pro)","otter-blocks"),value:"onScroll",disabled:!0},{label:(0,l.__)("On Exit (Pro)","otter-blocks"),value:"onExit",disabled:!0}];return a=(0,Oe.applyFilters)("otter.popupBlock.triggers",a),(0,i.createElement)(c.InspectorControls,null,(0,Oe.applyFilters)("otter.feedback","","popup-block",(0,l.__)("Help us improve this block","otter-blocks")),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Settings","otter-blocks")},(0,i.createElement)(s.SelectControl,{label:(0,l.__)("Open Trigger","otter-blocks"),help:!Boolean(window.themeisleGutenberg.hasPro)&&(0,l.__)("You need to have Otter Pro to activate Pro features.","otter-blocks"),options:a,value:t.trigger,onChange:e=>o({trigger:e})}),(void 0===t.trigger||"onLoad"===t.trigger)&&(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Wait Time","otter-blocks"),help:(0,l.__)("How much time to wait before showing the popup. Leave it empty to open instantly","otter-blocks"),min:0,max:100,value:t.wait,onChange:e=>o({wait:Number(e)})}),(0,Oe.applyFilters)("otter.popupBlock.controls",(0,i.createElement)((()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Show Close Button","otter-blocks"),checked:t.showClose,onChange:()=>o({showClose:!t.showClose})}),(0,i.createElement)(s.ToggleControl,{label:(0,l.__)("Close on Click Outside","otter-blocks"),checked:t.outsideClose,onChange:()=>o({outsideClose:!t.outsideClose})}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,i.createElement)(il,null))),null),t,o)),(0,i.createElement)(s.PanelBody,{title:(0,l.__)("Style","otter-blocks"),initialOpen:!1},(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Minimum Width","otter-blocks"),step:.1,min:100,max:1e3,value:t.minWidth,allowReset:!0,onChange:e=>o({minWidth:Number(e)})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Maximum Width","otter-blocks"),step:.1,min:100,max:1e3,value:t.maxWidth,allowReset:!0,onChange:e=>o({maxWidth:Number(e)})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Background","otter-blocks"),colorValue:t.backgroundColor,onColorChange:e=>o({backgroundColor:e})}),t.showClose&&(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Close Button","otter-blocks"),colorValue:t.closeColor,onColorChange:e=>o({closeColor:e})}),(0,i.createElement)(c.__experimentalColorGradientControl,{label:(0,l.__)("Overlay","otter-blocks"),colorValue:t.overlayColor,onColorChange:e=>o({overlayColor:e})}),(0,i.createElement)(s.RangeControl,{label:(0,l.__)("Overlay Opacity","otter-blocks"),value:t.overlayOpacity,onChange:e=>o({overlayOpacity:Number(e)})})))};const{attributes:sl}=al;const{name:dl}=al;(0,a.registerBlockType)(dl,{...al,title:(0,l.__)("Popup","otter-blocks"),description:(0,l.__)("Display your content in beautiful popup with many customization options. Powered by Otter.","otter-blocks"),icon:ll.Z,keywords:["popup","modal","lightbox"],edit:e=>{let{attributes:t,setAttributes:o,clientId:a}=e;(0,i.useEffect)((()=>{const e=(0,y.blockInit)(a,sl);return()=>e(t.id)}),[]);const[n,r]=(0,i.useState)(!1),d={"--min-width":t.minWidth?t.minWidth+"px":"400px","--max-width":t.maxWidth?t.maxWidth+"px":void 0,"--background-color":t.backgroundColor,"--close-color":t.closeColor,"--overlay-color":t.overlayColor,"--overlay-opacity":t.overlayOpacity?t.overlayOpacity/100:1},m=(0,c.useBlockProps)({id:t.id,style:d});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(cl,{attributes:t,setAttributes:o}),(0,i.createElement)("div",m,(0,i.createElement)(s.Button,{isPrimary:!0,icon:nl.Z,onClick:()=>r(!0)},(0,l.__)("Edit Popup","otter-blocks")),n&&(0,i.createElement)("div",{className:"otter-popup__modal_wrap"},(0,i.createElement)("div",{role:"presentation",className:"otter-popup__modal_wrap_overlay",onClick:()=>r(!1)}),(0,i.createElement)("div",{className:"otter-popup__modal_content"},t.showClose&&(0,i.createElement)("div",{className:"otter-popup__modal_header"},(0,i.createElement)(s.Button,{icon:rl.Z,onClick:()=>r(!1)})),(0,i.createElement)("div",{className:"otter-popup__modal_body"},(0,i.createElement)(c.InnerBlocks,null))))))},save:e=>{let{attributes:t}=e;const o=c.useBlockProps.save({id:t.id,className:"is-front","data-open":t.trigger,"data-dismiss":t.recurringClose?t.recurringTime:"","data-time":void 0===t.trigger||"onLoad"===t.trigger?t.wait||0:"","data-anchor":"onClick"===t.trigger?t.anchor:"","data-offset":"onScroll"===t.trigger?t.scroll:"","data-outside":t.outsideClose?t.outsideClose:"","data-anchorclose":t.anchorClose?t.closeAnchor:""});return(0,i.createElement)("div",o,(0,i.createElement)("div",{className:"otter-popup__modal_wrap"},(0,i.createElement)("div",{role:"presentation",className:"otter-popup__modal_wrap_overlay"}),(0,i.createElement)("div",{className:"otter-popup__modal_content"},t.showClose&&(0,i.createElement)("div",{className:"otter-popup__modal_header"},(0,i.createElement)("button",{type:"button",class:"components-button has-icon"},(0,i.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},(0,i.createElement)("path",{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})))),(0,i.createElement)("div",{className:"otter-popup__modal_body"},(0,i.createElement)(c.InnerBlocks.Content,null)))))},example:{attributes:{}}});var ml=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/posts-grid","title":"Posts","category":"themeisle-blocks","description":"Display a list of your most recent posts in a beautiful layout. Powered by Otter.","keywords":["posts","grid","news"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"style":{"type":"string","default":"grid"},"postTypes":{"type":"array","default":[]},"columns":{"type":"number","default":3},"template":{"type":"array","default":["category","title","meta","description"]},"categories":{"type":"array","items":{"type":"object"}},"postsToShow":{"type":"number","default":5},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"offset":{"type":"number","default":0},"imageSize":{"type":"string","default":"full"},"displayFeaturedImage":{"type":"boolean","default":true},"displayCategory":{"type":"boolean","default":true},"displayTitle":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h5"},"displayMeta":{"type":"boolean","default":true},"displayDescription":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":100},"displayDate":{"type":"boolean","default":true},"displayAuthor":{"type":"boolean","default":true},"displayComments":{"type":"boolean","default":true},"displayPostCategory":{"type":"boolean","default":false},"displayReadMoreLink":{"type":"boolean","default":false},"cropImage":{"type":"boolean","default":false},"customTitleFontSize":{"type":["string","number"]},"customTitleFontSizeTablet":{"type":["string","number"]},"customTitleFontSizeMobile":{"type":["string","number"]},"customDescriptionFontSize":{"type":["string","number"]},"customDescriptionFontSizeTablet":{"type":["string","number"]},"customDescriptionFontSizeMobile":{"type":["string","number"]},"customMetaFontSize":{"type":"string"},"customMetaFontSizeTablet":{"type":"string"},"customMetaFontSizeMobile":{"type":"string"},"textColor":{"type":"string"},"backgroundColor":{"type":"string"},"borderColor":{"type":"string"},"borderRadius":{"type":["number","object"]},"borderWidth":{"type":"string"},"cardBorderRadius":{"type":"object"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"imageBoxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"textAlign":{"type":"string"},"verticalAlign":{"type":"string"},"enableFeaturedPost":{"type":"boolean"},"imageWidth":{"type":["string","number"]},"imageWidthTablet":{"type":"string"},"imageWidthMobile":{"type":"string"},"columnGap":{"type":"string"},"columnGapTablet":{"type":"string"},"columnGapMobile":{"type":"string"},"rowGap":{"type":"string"},"rowGapTablet":{"type":"string"},"rowGapMobile":{"type":"string"},"padding":{"type":"string"},"paddingTablet":{"type":"string"},"paddingMobile":{"type":"string"},"contentGap":{"type":"string"}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-posts-grid-editor","style":"otter-posts-grid-style"}');const{attributes:ul}=ml;var bl=[{attributes:{...ul,categories:{type:"string"}},supports:{align:["wide","full"],html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}],pl=e=>{let{attributes:t,setAttributes:o}=e;const a=c.BlockVerticalAlignmentToolbar;return(0,i.createElement)(c.BlockControls,null,(0,i.createElement)(a,{label:(0,l.__)("Change Vertical Alignment","otter-blocks"),value:t.verticalAlign,onChange:e=>o({verticalAlign:e})}))},gl=o(454),hl=o.n(gl),vl=o(1286);const kl=(0,vl.W6)((()=>(0,i.createElement)("div",{className:"o-sortable-handle",tabIndex:"0"},(0,i.createElement)("span",null)))),yl={image:"displayFeaturedImage",category:"displayCategory",title:"displayTitle",meta:"displayMeta",description:"displayDescription"},_l=e=>{var t,o;let{attributes:a,setAttributes:n,template:r,disabled:c}=e;const[d,m]=(0,i.useState)(!1),u=null==r?void 0:r.startsWith("custom_"),b=null==a||null===(t=a.customMetas)||void 0===t||null===(o=t.filter((e=>{let{id:t}=e;return t===r})))||void 0===o?void 0:o.pop(),p={image:a.displayFeaturedImage,category:a.displayCategory,title:a.displayTitle,meta:a.displayMeta,description:a.displayDescription},h=e=>{const t={...b,...e};n({customMetas:a.customMetas.map((e=>e.id===b.id?t:e))})},v=u?(0,Oe.applyFilters)("otter.postsBlock.panelLabel","",b):(0,I.startCase)((0,I.toLower)(r)),k=p[r]||(null==b?void 0:b.display),y=k?"visibility":"hidden";
1
+ !function(){"use strict";var e,t={5568:function(e,t,l){var o=l(5736),a=l(4981),n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/about-author","title":"About Author","category":"themeisle-blocks","description":"About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","keywords":["about","author","profile"],"textdomain":"otter-blocks","supports":{"html":false},"editorStyle":"otter-about-author-editor","style":"otter-about-author-style"}'),r=l(340),i=l(9307),s=l(2175),c=l(5609),d=window.wp.serverSideRender,u=l.n(d);const{name:b}=n;(0,a.registerBlockType)(b,{...n,title:(0,o.__)("About Author","otter-blocks"),description:(0,o.__)("About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","otter-blocks"),icon:r.authorIcon,keywords:["about","author","profile"],edit:()=>(0,i.createElement)("div",(0,s.useBlockProps)(),(0,i.createElement)(c.Disabled,null,(0,i.createElement)(u(),{block:"themeisle-blocks/about-author"}))),save:()=>null,supports:{inserter:Boolean(window.themeisleGutenberg.isLegacyPre59),html:!1},example:{}});var m=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion","title":"Accordion","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"FAQSchema":{"type":"boolean"},"gap":{"type":["string","number"]},"titleColor":{"type":"string"},"titleBackground":{"type":"string"},"contentBackground":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":"string"},"isSynced":{"type":"array"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"fontSize":{"type":"number"},"letterSpacing":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"tag":{"type":"string"},"alwaysOpen":{"type":"boolean"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"iconFirst":{"type":"boolean","default":false},"activeTitleColor":{"type":"string"},"activeTitleBackground":{"type":"string"},"activeContentBackground":{"type":"string"},"icon":{"type":"object"},"openItemIcon":{"type":"object"}},"supports":{"html":false},"editorStyle":"otter-accordion-editor","style":"otter-accordion-style","script":"otter-accordion"}'),p=l(4184),g=l.n(p),h=l(2154),v=l(9818),y=l(9977),k=l(8675),f=l(3075),_=l(1070),w=l(7638),C=l(3532),E=l(2645),x=l(4715);const S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};return(0,v.useSelect)((t=>{const{getView:l}=t("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!t("core/edit-post")&&t("core/edit-post"),a=o?o():l();return{responsiveSetAttributes:(0,x.GM)(e,a),responsiveGetAttributes:(0,x._c)(a)}}),[])};var T=l(817),M=l(6993);const B=[{label:(0,o.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,o.__)("Boxed","otter-blocks"),value:"boxed"}],z={narrow:5,wide:10,wider:20};var P=e=>{var t,l,a,n;let{clientId:r,attributes:d,setAttributes:u,getValue:b}=e;const[m,p]=(0,i.useState)("settings"),g=[{label:(0,o.__)("Title","otter-blocks"),slug:"titleColor",value:b("titleColor")},{label:(0,o.__)("Active Tab Title","otter-blocks"),slug:"activeTitleColor",value:b("activeTitleColor")},{label:(0,o.__)("Title Background","otter-blocks"),slug:"titleBackground",value:b("titleBackground")},{label:(0,o.__)("Active Tab Title Background","otter-blocks"),slug:"activeTitleBackground",value:b("activeTitleBackground")},{label:(0,o.__)("Content Background","otter-blocks"),slug:"contentBackground",value:b("contentBackground")},{label:(0,o.__)("Border","otter-blocks"),slug:"borderColor",value:b("borderColor")}],{responsiveSetAttributes:h,responsiveGetAttributes:P}=S(u);return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(w.Z,{value:m,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:p}),"settings"===m&&(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Place Icon on Left","otter-blocks"),checked:d.iconFirst,onChange:e=>u({iconFirst:e})}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Keep Multiple Items Expanded","otter-blocks"),help:(0,o.__)("When enabled, multiple accordion items can be expanded at the same time","otter-blocks"),checked:d.alwaysOpen||!1,onChange:e=>{u({alwaysOpen:e}),!0!==e&&(0,v.select)("core/block-editor").getBlocksByClientId(r)[0].innerBlocks.forEach((e=>{(0,v.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,{initialOpen:!1})}))}}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Enable FAQ Schema","otter-blocks"),checked:d.FAQSchema||!1,onChange:e=>u({FAQSchema:e})}),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Accordion title HTML tag","otter-blocks"),value:d.tag||"div",options:[{label:(0,o.__)("H1","otter-blocks"),value:"h1"},{label:(0,o.__)("H2","otter-blocks"),value:"h2"},{label:(0,o.__)("H3","otter-blocks"),value:"h3"},{label:(0,o.__)("H4","otter-blocks"),value:"h4"},{label:(0,o.__)("H5","otter-blocks"),value:"h5"},{label:(0,o.__)("H6","otter-blocks"),value:"h6"},{label:(0,o.__)("div","otter-blocks"),value:"div"}],onChange:e=>{(0,v.select)("core/block-editor").getBlocksByClientId(r)[0].innerBlocks.forEach((t=>{(0,v.dispatch)("core/block-editor").updateBlockAttributes(t.clientId,{tag:e})})),u({tag:e})}})),"style"===m&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Style","otter-blocks")},(0,i.createElement)(E.Z,{options:B,value:(0,x.tB)(B,null==d?void 0:d.className),onChange:e=>{const t=(0,x.L4)(null==d?void 0:d.className,B,e);u({className:t})}})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Title Typography","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{value:d.fontSize,fontSizes:[{name:(0,o.__)("Extra Small","otter-blocks"),slug:"extra-small",size:14},{name:(0,o.__)("Small","otter-blocks"),slug:"small",size:16},{name:(0,o.__)("Medium","otter-blocks"),slug:"medium",size:18},{name:(0,o.__)("Large","otter-blocks"),slug:"large",size:24},{name:(0,o.__)("Extra Large","otter-blocks"),slug:"extra-large",size:28}],onChange:e=>u({fontSize:e})}),(0,i.createElement)(y.Z,{label:(0,o.__)("Font Family","otter-blocks"),value:d.fontFamily,onChangeFontFamily:e=>{u(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:d.fontVariant,onChangeFontVariant:e=>u({fontVariant:e}),valueStyle:d.fontStyle,onChangeFontStyle:e=>u({fontStyle:e}),valueTransform:d.textTransform,onChangeTextTransform:e=>u({textTransform:e})}),(0,i.createElement)(k.Z,{values:["fontFamily","fontVariant","fontStyle","textTransform"],setAttributes:u}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Letter Spacing","otter-blocks"),value:d.letterSpacing,onChange:e=>u({letterSpacing:e}),min:-50,max:100,allowReset:!0})),(0,i.createElement)(T.Z,{label:(0,o.__)("Color","otter-blocks"),isSynced:d.isSynced,options:g,setAttributes:u},(0,i.createElement)(s.ContrastChecker,{textColor:b("titleColor"),backgroundColor:b("titleBackground")}),(0,i.createElement)(s.ContrastChecker,{textColor:b("activeTitleColor"),backgroundColor:b("activeTitleBackground")})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(M.Z,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(c.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:P([d.padding,d.paddingTablet,d.paddingMobile]),onChange:e=>h(e,["padding","paddingTablet","paddingMobile"])})),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Gap Between Panels","otter-blocks"),value:"string"==typeof d.gap?z[d.gap]:d.gap,onChange:e=>u({gap:e}),allowReset:!0})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Icons","otter-blocks"),initialOpen:!1},(0,i.createElement)(_.Z,{label:(0,o.__)("Closed Item Icon","otter-blocks"),library:"fontawesome",prefix:null===(t=d.icon)||void 0===t?void 0:t.prefix,icon:null===(l=d.icon)||void 0===l?void 0:l.name,allowThemeisleIcons:!1,onChange:e=>u({icon:e})}),(0,i.createElement)(_.Z,{label:(0,o.__)("Open Item Icon","otter-blocks"),library:"fontawesome",prefix:null===(a=d.openItemIcon)||void 0===a?void 0:a.prefix,icon:null===(n=d.openItemIcon)||void 0===n?void 0:n.name,allowThemeisleIcons:!1,onChange:e=>u({openItemIcon:e})})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:d.borderWidth,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],onChange:e=>u({borderWidth:e})}),(0,i.createElement)(f.Z,{boxShadow:d.boxShadow,onChange:e=>{const t={...d.boxShadow};Object.entries(e).map((function(){let[l,o]=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;t[l]=o})),u({boxShadow:t})}}))),(0,i.createElement)(C.p,null))},L=l(5225),R=l(4824);const{attributes:F}=m,A={fas:"Font Awesome 5 Free",far:"Font Awesome 5 Free",fal:"Font Awesome 5 Free",fab:"Font Awesome 5 Brands"};const{name:H}=m;(0,a.registerBlockType)(H,{...m,title:(0,o.__)("Accordion","otter-blocks"),description:(0,o.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["accordions","collapse","faq"],edit:e=>{let{name:t,attributes:l,setAttributes:o,clientId:a,isSelected:n}=e;(0,i.useEffect)((()=>{h.Z.attach();const e=(0,L.blockInit)(a,F);return()=>e(l.id)}),[l.id]);const r=(0,v.useSelect)((e=>e("core/block-editor").getBlocksByClientId(a)[0].innerBlocks));(0,i.useEffect)((()=>{void 0===l.alwaysOpen&&o({alwaysOpen:1<r.filter((e=>!0===e.attributes.initialOpen)).length})}),[]);const c=e=>(0,L.getDefaultValueByField)({name:t,field:e,defaultAttributes:F,attributes:l}),d={"--title-color":c("titleColor"),"--title-background":c("titleBackground"),"--content-background":c("contentBackground"),"--border-color":c("borderColor"),"--border-width":c("borderWidth"),"--box-shadow":l.boxShadow.active&&`${l.boxShadow.horizontal}px ${l.boxShadow.vertical}px ${l.boxShadow.blur}px ${l.boxShadow.spread}px ${(0,x.rW)(l.boxShadow.color,l.boxShadow.colorOpacity)}`,"--padding":(0,x.bv)(l.padding,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--padding-tablet":(0,x.bv)(l.paddingTablet,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--padding-mobile":(0,x.bv)(l.paddingMobile,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--gap":(u=l.gap,u?`${u}px`:u)};var u;const[b,m]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{m([`> * > * > .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title > * {\n\t\t\t\t${l.fontSize?"font-size:"+l.fontSize+"px":""};\n\t\t\t\t${l.fontFamily?"font-family:"+l.fontFamily:""};\n\t\t\t\t${l.fontVariant?"font-variant:"+l.fontVariant:""};\n\t\t\t\t${l.fontStyle?"font-style:"+l.fontStyle:""};\n\t\t\t\t${l.textTransform?"text-transform:"+l.textTransform:""};\n\t\t\t\t${l.letterSpacing?"letter-spacing:"+l.letterSpacing+"px":""};\n\t\t\t}`])}),[l.fontSize,l.fontFamily,l.fontVariant,l.fontStyle,l.textTransform,l.letterSpacing]);const[p,y]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{const e=c("icon"),t=c("openItemIcon");y([...e?[`> * > * > .wp-block-themeisle-blocks-accordion-item:not(.is-open) > .wp-block-themeisle-blocks-accordion-item__title::after {\n\t\t\t\tcontent: "\\${R[e.name].unicode}" !important;\n\t\t\t\tfont-family: "${A[e.prefix]}" !important;\n\t\t\t\tfont-weight: ${"fas"!==e.prefix?"400":"900"}\n\t\t\t}`]:[],...t?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title::after {\n\t\t\t\tcontent: "\\${R[t.name].unicode}" !important;\n\t\t\t\tfont-family: "${A[t.prefix]}" !important;\n\t\t\t\tfont-weight: ${"fas"!==t.prefix?"400":"900"}\n\t\t\t}`]:[]])}),[l.icon,l.openItemIcon]);const[k,f]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{const e=c("activeTitleColor"),t=c("activeTitleBackground");f([...e?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title {\n\t\t\t\t--title-color: ${e};\n\t\t\t}`]:[],...t?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title {\n\t\t\t\t--title-background: ${t};\n\t\t\t}`]:[]])}),[l.activeTitleColor,l.activeTitleBackground]),(0,i.useEffect)((()=>{l.fontFamily&&h.Z.loadFontToBrowser(l.fontFamily,l.fontVariant)}),[l.fontFamily]);const _=(0,s.useBlockProps)({id:l.id,className:g()({[p]:p,[k]:k,[b]:b,[`is-${l.gap}-gap`]:"string"==typeof l.gap,"no-gap":0===l.gap,"has-gap":"string"!=typeof l.gap&&0<l.gap,"icon-first":l.iconFirst,"has-icon":!!l.icon,"has-open-icon":!!l.openItemIcon}),style:d});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(P,{clientId:a,attributes:l,setAttributes:o,getValue:c}),(0,i.createElement)("div",_,(0,i.createElement)(s.InnerBlocks,{allowedBlocks:["themeisle-blocks/accordion-item"],template:[["themeisle-blocks/accordion-item"]],renderAppender:n?s.InnerBlocks.ButtonBlockAppender:""})))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({id:t.id,"data-has-schema":t.FAQSchema,className:g()({exclusive:!1===t.alwaysOpen,[`is-${t.gap}-gap`]:t.gap&&"string"==typeof t.gap,"no-gap":0===t.gap,"has-gap":t.gap&&"string"!=typeof t.gap&&0!==t.gap,"icon-first":t.iconFirst,"has-icon":!!t.icon,"has-open-icon":!!t.openItemIcon})});return(0,i.createElement)("div",l,(0,i.createElement)(s.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/accordion-item",attributes:{initialOpen:!0,title:(0,o.__)("Accordion Item","otter-blocks")},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:"Lorem ipsum dolor sit amet, eu liber saperet est. Recusabo volutpat has ne, sed dicit eruditi detraxit ut, modus ancillae mei eu.",align:"left"}}]}]}});var O=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion-item","title":"Accordion Item","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"parent":["themeisle-blocks/accordion"],"textdomain":"otter-blocks","attributes":{"title":{"type":"string"},"initialOpen":{"type":"boolean","default":false},"tag":{"type":"string"}},"supports":{"reusable":false}}'),N=e=>{let{clientId:t,attributes:l,setAttributes:a}=e;return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Initially Open","otter-blocks"),checked:l.initialOpen,onChange:e=>{if(a({initialOpen:e}),!e)return;const l=(0,v.select)("core/block-editor").getBlockParents(t).at(-1),o=(0,v.select)("core/block-editor").getBlock(l);o.attributes.alwaysOpen||o.innerBlocks.forEach((e=>{e.clientId!==t&&(0,v.dispatch)("core/editor").updateBlockAttributes(e.clientId,{initialOpen:!1})}))}})))};const{name:V}=O;(0,a.registerBlockType)(V,{...O,title:(0,o.__)("Accordion Item","otter-blocks"),description:(0,o.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["accordions","collapse","faq"],edit:e=>{let{clientId:t,attributes:l,setAttributes:a}=e;const[n,r]=(0,i.useState)(!0);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(N,{clientId:t,attributes:l,setAttributes:a}),(0,i.createElement)("div",(0,s.useBlockProps)({className:g()({"is-open":n})}),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__title",onClick:e=>{"string"==typeof e.target.className&&e.target.className.includes("block-editor-rich-text__editable")?r(!0):r(!n)}},(0,i.createElement)(s.RichText,{placeholder:(0,o.__)("Add text…","otter-blocks"),value:l.title,onChange:e=>{n||r(!0),a({title:e})},tagName:l.tag||"div"})),n&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__content"},(0,i.createElement)(s.InnerBlocks,{template:[["core/paragraph"]]}))))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({open:!!t.initialOpen});return(0,i.createElement)("details",l,(0,i.createElement)("summary",{className:"wp-block-themeisle-blocks-accordion-item__title"},(0,i.createElement)(s.RichText.Content,{tagName:t.tag||"div",value:t.title})),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__content"},(0,i.createElement)(s.InnerBlocks.Content,null)))}});var I=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-heading","title":"Advanced Heading","category":"themeisle-blocks","description":"Advanced Heading gives a spin to editor\'s Heading block with much needed customization options. Powered by Otter.","keywords":["heading","title","advanced heading"],"textdomain":"otter-blocks","attributes":{"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"},"highlightColor":{"type":"string"},"highlightBackground":{"type":"string"},"fontSize":{"type":"number"},"fontSizeTablet":{"type":"number"},"fontSizeMobile":{"type":"number"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"lineHeight":{"type":"number"},"letterSpacing":{"type":"number"},"textShadow":{"type":"boolean","default":false},"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"},"paddingMobile":{"type":"number"},"paddingTop":{"type":"number","default":0},"paddingTopTablet":{"type":"number"},"paddingTopMobile":{"type":"number"},"paddingRight":{"type":"number","default":0},"paddingRightTablet":{"type":"number"},"paddingRightMobile":{"type":"number"},"paddingBottom":{"type":"number","default":0},"paddingBottomTablet":{"type":"number"},"paddingBottomMobile":{"type":"number"},"paddingLeft":{"type":"number","default":0},"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":0},"marginTablet":{"type":"number"},"marginMobile":{"type":"number"},"marginTop":{"type":"number","default":0},"marginTopTablet":{"type":"number"},"marginTopMobile":{"type":"number"},"marginBottom":{"type":"number","default":25},"marginBottomTablet":{"type":"number"},"marginBottomMobile":{"type":"number"}},"editorStyle":"otter-advanced-heading-editor","style":"otter-advanced-heading-style"}'),D=l(6713),G=l(2629);const $="themeisle-blocks/highlight";(0,G.registerFormatType)($,{name:$,title:(0,o.__)("Highlight","otter-blocks"),tagName:"span",className:"highlight",edit:e=>{let{isActive:t,value:l,onChange:a}=e;const n=()=>a((0,G.toggleFormat)(l,{type:$}));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.RichTextShortcut,{type:"primary",character:"h",onUse:n}),(0,i.createElement)(s.RichTextToolbarButton,{icon:D.Z,title:(0,o.__)("Highlight","otter-blocks"),onClick:n,isActive:t,shortcutType:"access",shortcutCharacter:"h"}))}});var W=l(80),Z=l.n(W);const j=[{attributes:{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}},save:e=>{let t,{attributes:l,className:o}=e;l.textShadow&&(t={textShadow:`${l.textShadowHorizontal}px ${l.textShadowVertical}px ${l.textShadowBlur}px ${Z()(l.textShadowColor?l.textShadowColor:"#000000",l.textShadowColorOpacity)}`});const a={color:l.headingColor,fontFamily:l.fontFamily,fontWeight:"regular"===l.fontVariant?"normal":l.fontVariant,fontStyle:l.fontStyle,textTransform:l.textTransform,lineHeight:l.lineHeight&&`${l.lineHeight}px`,letterSpacing:l.letterSpacing&&`${l.letterSpacing}px`,...t};return(0,i.createElement)(s.RichText.Content,{tagName:l.tag,value:l.content,id:l.id,className:g()(l.id,o),style:a})}}];var U=j,q={from:[{type:"block",blocks:["core/heading"],transform:e=>{let{content:t}=e;return(0,a.createBlock)("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,a.createBlock)("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,a.createBlock)("core/paragraph",{content:t})}}]},J=l(7462),K=l(2819),Y=l(4333),Q=e=>{let{attributes:t,setAttributes:l}=e;const a=e=>{l(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},n=e=>{switch(e){case"h1":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1"));case"h2":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2"));case"h3":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3"));case"h4":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4"));case"h5":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5"));case"h6":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6"));case"div":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV"));case"p":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{x:"0",y:"15"},"P"));case"span":return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN"));default:return(0,i.createElement)(c.SVG,{style:{width:"25px",height:"20px"}},(0,i.createElement)("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DEFAULT"))}},r=e=>{l({tag:e})};return(0,i.createElement)(s.BlockControls,null,(0,i.createElement)(c.DropdownMenu,{icon:n(t.tag),label:(0,o.__)("Select tag","otter-blocks"),className:"components-toolbar",controls:[{title:(0,o.__)("Heading","otter-blocks")+" 1",icon:n("h1"),onClick:()=>r("h1")},{title:(0,o.__)("Heading","otter-blocks")+" 2",icon:n("h2"),onClick:()=>r("h2")},{title:(0,o.__)("Heading","otter-blocks")+" 3",icon:n("h3"),onClick:()=>r("h3")},{title:(0,o.__)("Heading","otter-blocks")+" 4",icon:n("h4"),onClick:()=>r("h4")},{title:(0,o.__)("Heading","otter-blocks")+" 5",icon:n("h5"),onClick:()=>r("h5")},{title:(0,o.__)("Heading","otter-blocks")+" 6",icon:n("h6"),onClick:()=>r("h6")},{title:(0,o.__)("Division","otter-blocks"),icon:n("div"),onClick:()=>r("div")},{title:(0,o.__)("Paragraph","otter-blocks"),icon:n("p"),onClick:()=>r("p")},{title:(0,o.__)("Span Tag","otter-blocks"),icon:n("span"),onClick:()=>r("span")}]}),(0,i.createElement)(c.ToolbarGroup,null,(0,i.createElement)(c.Dropdown,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:e=>{let{isOpen:t,onToggle:l}=e;return(0,i.createElement)(c.Button,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:l,"aria-haspopup":"true","aria-expanded":t,label:(0,o.__)("Typography Settings","otter-blocks"),showTooltip:!0},(0,i.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)(y.Z,{label:(0,o.__)("Font Family","otter-blocks"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:e=>l({fontVariant:e}),valueStyle:t.fontStyle,onChangeFontStyle:e=>l({fontStyle:e}),valueTransform:t.textTransform,onChangeTextTransform:e=>l({textTransform:e})}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Line Height","otter-blocks"),value:t.lineHeight,onChange:e=>l({lineHeight:e}),step:.1,min:0,max:3}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Letter Spacing","otter-blocks"),value:t.letterSpacing,onChange:e=>l({letterSpacing:e}),step:.1,min:-50,max:100}))})))},X=l(2136),ee=l(2372),te=l(1661),le=e=>{let{attributes:t,setAttributes:l}=e;const a=(0,v.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!e("core/edit-post")&&e("core/edit-post");return l?l():t()}),[]),[n,r]=(0,i.useState)("style"),d={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},u={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},b={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},m=e=>{if("top"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingTop;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile}else if("right"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingRight;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile}else if("bottom"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingBottom;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile}else if("left"==e)switch(a){case"Desktop":return"linked"===t.paddingType?t.padding:t.paddingLeft;case"Tablet":return"linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet;case"Mobile":return"linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile}},p={top:"marginTop",bottom:"marginBottom"},g={top:"marginTopTablet",bottom:"marginBottomTablet"},h={top:"marginTopMobile",bottom:"marginBottomMobile"},f=e=>{if("top"==e)switch(a){case"Desktop":return"linked"===t.marginType?t.margin:t.marginTop;case"Tablet":return"linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet;case"Mobile":return"linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile}else if("bottom"==e)switch(a){case"Desktop":return"linked"===t.marginType?t.margin:t.marginBottom;case"Tablet":return"linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet;case"Mobile":return"linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile}};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(w.Z,{value:n,options:[{label:(0,o.__)("Style","otter-blocks"),value:"style"},{label:(0,o.__)("Advanced","otter-blocks"),value:"advanced"}],onChange:r}),"style"===n&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("General Settings","otter-blocks"),className:"o-adv-h-panel"},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Heading Color","otter-blocks"),colorValue:t.headingColor,onColorChange:e=>l({headingColor:e})}),(0,i.createElement)(M.Z,{label:(0,o.__)("Font Size","otter-blocks")},(0,i.createElement)(c.RangeControl,{value:(()=>{switch(a){case"Desktop":return t.fontSize;case"Tablet":return t.fontSizeTablet;case"Mobile":return t.fontSizeMobile;default:return}})()||"",onChange:e=>{"Desktop"===a?l({fontSize:e}):"Tablet"===a?l({fontSizeTablet:e}):"Mobile"===a&&l({fontSizeMobile:e})},step:.1,min:1,max:500,allowReset:!0})),(0,i.createElement)(M.Z,{label:(0,o.__)("Alignment","otter-blocks")},(0,i.createElement)(s.AlignmentToolbar,{value:(()=>{switch(a){case"Desktop":return t.align;case"Tablet":return t.alignTablet;case"Mobile":return t.alignMobile;default:return}})(),onChange:e=>{"Desktop"===a?l({align:e}):"Tablet"===a?l({alignTablet:e}):"Mobile"===a&&l({alignMobile:e})},isCollapsed:!1}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Typography Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(y.Z,{label:(0,o.__)("Font Family","otter-blocks"),value:t.fontFamily,onChangeFontFamily:e=>{l(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:t.fontVariant,onChangeFontVariant:e=>l({fontVariant:e}),valueStyle:t.fontStyle,onChangeFontStyle:e=>l({fontStyle:e}),valueTransform:t.textTransform,onChangeTextTransform:e=>l({textTransform:e})}),(0,i.createElement)(k.Z,{values:["fontFamily","fontVariant","fontStyle","textTransform"],setAttributes:l}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Line Height","otter-blocks"),value:t.lineHeight,onChange:e=>l({lineHeight:e}),step:.1,min:0,max:3,allowReset:!0}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Letter Spacing","otter-blocks"),value:t.letterSpacing,onChange:e=>l({letterSpacing:e}),step:.1,min:-50,max:100,allowReset:!0}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Shadow Properties","otter-blocks"),checked:t.textShadow,onChange:e=>l({textShadow:e})}),t.textShadow&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Color","otter-blocks"),colorValue:t.textShadowColor,onColorChange:e=>l({textShadowColor:e})}),(0,i.createElement)(X.Z,{label:(0,o.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:t.textShadowColorOpacity,onChange:e=>l({textShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:t.textShadowBlur,onChange:e=>l({textShadowBlur:e}),min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:t.textShadowHorizontal,onChange:e=>l({textShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:t.textShadowVertical,onChange:e=>l({textShadowVertical:e}),min:-100,max:100})))))||"advanced"===n&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Highlight Color","otter-blocks")},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Highlight Color","otter-blocks"),colorValue:t.highlightColor,onColorChange:e=>l({highlightColor:e})}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Highlight Background","otter-blocks"),colorValue:t.highlightBackground,onColorChange:e=>l({highlightBackground:e})})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Spacing","otter-blocks"),initialOpen:!1},(0,i.createElement)(M.Z,{label:(0,o.__)("Padding","otter-blocks")},(0,i.createElement)(ee.Z,{type:(()=>{switch(a){case"Desktop":return t.paddingType;case"Tablet":return t.paddingTypeTablet;case"Mobile":return t.paddingTypeMobile;default:return}})(),min:0,max:500,changeType:e=>{"Desktop"===a?l({paddingType:e}):"Tablet"===a?l({paddingTypeTablet:e}):"Mobile"===a&&l({paddingTypeMobile:e})},onChange:(e,o)=>{switch(a){case"Desktop":"linked"===t.paddingType?l({padding:o}):l({[d[e]]:o});break;case"Tablet":"linked"===t.paddingTypeTablet?l({paddingTablet:o}):l({[u[e]]:o});break;case"Mobile":"linked"===t.paddingTypeMobile?l({paddingMobile:o}):l({[b[e]]:o})}},options:[{label:(0,o.__)("Top","otter-blocks"),type:"top",value:m("top")},{label:(0,o.__)("Right","otter-blocks"),type:"right",value:m("right")},{label:(0,o.__)("Bottom","otter-blocks"),type:"bottom",value:m("bottom")},{label:(0,o.__)("Left","otter-blocks"),type:"left",value:m("left")}]})),(0,i.createElement)(k.Z,{values:[{padding:"Desktop"===a&&"linked"===t.paddingType},{paddingTablet:"Tablet"===a&&"linked"===t.paddingType},{paddingMobile:"Mobile"===a&&"linked"===t.paddingType},{paddingRight:"Desktop"===a&&"linked"!==t.paddingType},{paddingRightTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingRightMobile:"Mobile"===a&&"linked"!==t.paddingType},{paddingTop:"Desktop"===a&&"linked"!==t.paddingType},{paddingTopTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingTopMobile:"Mobile"===a&&"linked"!==t.paddingType},{paddingBottom:"Desktop"===a&&"linked"!==t.paddingType},{paddingBottomTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingBottomMobile:"Mobile"===a&&"linked"!==t.paddingType},{paddingLeft:"Desktop"===a&&"linked"!==t.paddingType},{paddingLeftTablet:"Tablet"===a&&"linked"!==t.paddingType},{paddingLeftMobile:"Mobile"===a&&"linked"!==t.paddingType}],setAttributes:l}),(0,i.createElement)(M.Z,{label:(0,o.__)("Margin","otter-blocks")},(0,i.createElement)(ee.Z,{type:(()=>{switch(a){case"Desktop":return t.marginType;case"Tablet":return t.marginTypeTablet;case"Mobile":return t.marginTypeMobile;default:return}})(),min:-500,max:500,changeType:e=>{switch(a){case"Desktop":l({marginType:e});break;case"Tablet":l({marginTypeTablet:e});break;case"Mobile":l({marginTypeMobile:e})}},onChange:(e,o)=>{switch(a){case"Desktop":"linked"===t.marginType?l({margin:o}):l({[p[e]]:o});break;case"Tablet":"linked"===t.marginTypeTablet?l({marginTablet:o}):l({[g[e]]:o});break;case"Mobile":"linked"===t.marginTypeMobile?l({marginMobile:o}):l({[h[e]]:o})}},options:[{label:(0,o.__)("Top","otter-blocks"),type:"top",value:f("top")},{label:(0,o.__)("Right","otter-blocks"),disabled:!0},{label:(0,o.__)("Bottom","otter-blocks"),type:"bottom",value:f("bottom")},{label:(0,o.__)("Left","otter-blocks"),disabled:!0}]})),(0,i.createElement)(k.Z,{values:[{margin:"Desktop"===a&&"linked"===t.marginType},{marginTablet:"Tablet"===a&&"linked"===t.marginType},{marginMobile:"Mobile"===a&&"linked"===t.marginType},{marginTop:"Desktop"===a&&"linked"!==t.marginType},{marginTopTablet:"Tablet"===a&&"linked"!==t.marginType},{marginTopMobile:"Mobile"===a&&"linked"!==t.marginType},{marginBottom:"Desktop"===a&&"linked"!==t.marginType},{marginBottomTablet:"Tablet"===a&&"linked"!==t.marginType},{marginBottomMobile:"Mobile"===a&&"linked"!==t.marginType}],setAttributes:l}))),(0,i.createElement)(C.p,null)),(0,i.createElement)(te.Z,{value:t.id,onChange:e=>l({id:e})}))};const{attributes:oe}=I;const{name:ae}=I;(0,a.registerBlockType)(ae,{...I,title:(0,o.__)("Advanced Heading","otter-blocks"),description:(0,o.__)("Advanced Heading gives a spin to editor's Heading block with much needed customization options. Powered by Otter.","otter-blocks"),icon:r.headingIcon,keywords:["heading","title","advanced heading"],deprecated:U,transforms:q,edit:e=>{let{attributes:t,setAttributes:l,clientId:n,mergeBlocks:r,onReplace:c}=e;const{isViewportAvailable:d,isPreviewDesktop:u,isPreviewTablet:b,isPreviewMobile:m}=(0,v.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=!!e("core/edit-post")&&e("core/edit-post");return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),p=(0,Y.useViewportMatch)("large",">="),g=(0,Y.useViewportMatch)("large","<="),y=(0,Y.useViewportMatch)("small",">="),k=(0,Y.useViewportMatch)("small","<=");(0,i.useEffect)((()=>{h.Z.attach();const e=(0,L.blockInit)(n,oe);return()=>e(t.id)}),[t.id]);let f,_,w,C=p&&!g&&y&&!k,E=!p&&!g&&y&&!k,x=!(p||g||y||k);d&&!x&&(C=u,E=b,x=m),C&&(f={fontSize:t.fontSize?`${t.fontSize}px`:void 0},_={textAlign:t.align,paddingTop:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingTop}px`,paddingRight:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingRight}px`,paddingBottom:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingBottom}px`,paddingLeft:"linked"===t.paddingType?`${t.padding}px`:`${t.paddingLeft}px`,marginTop:"linked"===t.marginType?`${t.margin}px`:`${t.marginTop}px`,marginBottom:"linked"===t.marginType?`${t.margin}px`:`${t.marginBottom}px`}),E&&(f={fontSize:t.fontSizeTablet?`${t.fontSizeTablet}px`:void 0},_={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingTopTablet}px`,paddingRight:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingRightTablet}px`,paddingBottom:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingBottomTablet}px`,paddingLeft:"linked"===t.paddingTypeTablet?`${t.paddingTablet}px`:`${t.paddingLeftTablet}px`,marginTop:"linked"===t.marginTypeTablet?`${t.marginTablet}px`:`${t.marginTopTablet}px`,marginBottom:"linked"===t.marginTypeTablet?`${t.marginTablet}px`:`${t.marginBottomTablet}px`}),x&&(f={fontSize:t.fontSizeMobile?`${t.fontSizeMobile}px`:void 0},_={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingTopMobile}px`,paddingRight:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingRightMobile}px`,paddingBottom:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingBottomMobile}px`,paddingLeft:"linked"===t.paddingTypeMobile?`${t.paddingMobile}px`:`${t.paddingLeftMobile}px`,marginTop:"linked"===t.marginTypeMobile?`${t.marginMobile}px`:`${t.marginTopMobile}px`,marginBottom:"linked"===t.marginTypeMobile?`${t.marginMobile}px`:`${t.marginBottomMobile}px`}),t.textShadow&&(w={textShadow:`${t.textShadowHorizontal}px ${t.textShadowVertical}px ${t.textShadowBlur}px ${Z()(t.textShadowColor?t.textShadowColor:"#000000",0<=t.textShadowColorOpacity?t.textShadowColorOpacity||1e-5:1)}`});const S=(0,K.omitBy)({color:t.headingColor,...f,fontFamily:t.fontFamily||void 0,fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle||void 0,textTransform:t.textTransform||void 0,lineHeight:(3<t.lineHeight?t.lineHeight+"px":t.lineHeight)||void 0,letterSpacing:t.letterSpacing&&`${t.letterSpacing}px`,..._,...w},(e=>{var t;return null==e||null===(t=e.includes)||void 0===t?void 0:t.call(e,"undefined")})),T=(0,s.useBlockProps)({id:t.id,style:S});return(0,i.useEffect)((()=>{t.fontFamily&&h.Z.loadFontToBrowser(t.fontFamily,t.fontVariant)}),[t.fontFamily]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)("style",null,`#block-${n} mark, #block-${n} .highlight {\n\t\t\t\t\t\tcolor: ${t.highlightColor};\n\t\t\t\t\t\tbackground: ${t.highlightBackground};\n\t\t\t\t\t}`),(0,i.createElement)(Q,{attributes:t,setAttributes:l}),(0,i.createElement)(le,{attributes:t,setAttributes:l}),(0,i.createElement)(s.RichText,(0,J.Z)({identifier:"content",value:t.content,placeholder:(0,o.__)("Write heading…","otter-blocks"),tagName:t.tag,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/highlight","themeisle-blocks/count-animation","themeisle-blocks/typing-animation","themeisle-blocks/dynamic-value","themeisle-blocks/dynamic-link"],onMerge:r,onSplit:(e,l)=>{let o;var r;return o=l||e?(0,a.createBlock)("themeisle-blocks/advanced-heading",{...t,content:e}):(0,a.createBlock)(null!==(r=(0,a.getDefaultBlockName)())&&void 0!==r?r:"themeisle-blocks/advanced-heading"),l&&(o.clientId=n),o},onReplace:c,onRemove:()=>c([]),onChange:e=>{l({content:e})}},T)))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({id:t.id,className:t.id});return(0,i.createElement)(s.RichText.Content,(0,J.Z)({tagName:t.tag,value:t.content},l))},example:{attributes:{content:(0,o.__)("A heading with more customization options","otter-blocks")}}});var ne=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button-group","title":"Button Group","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"spacing":{"type":"number","default":20},"paddingTopBottom":{"type":"number"},"paddingLeftRight":{"type":"number"},"collapse":{"type":"string","default":"collapse-none"},"fontSize":{"type":"number"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"textTransform":{"type":"string"},"fontStyle":{"type":"string"},"lineHeight":{"type":"number"}},"editorStyle":"otter-button-group-editor","style":"otter-button-group-style"}');const re={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}]}},ie=[{attributes:re,save:e=>{let{attributes:t,className:l}=e;const o="collapse-none"!==t.collapse?t.collapse:"",a={fontSize:`${t.fontSize}px`,fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&`${t.lineHeight}px`};return(0,i.createElement)("div",{id:t.id,className:g()(l,o),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},(0,K.times)(t.buttons,(e=>(e=>{const l={...a,borderWidth:`${t.data[e].borderSize}px`,borderRadius:`${t.data[e].borderRadius}px`,padding:`${t.data[e].paddingTopBottom}px ${t.data[e].paddingLeftRight}px`};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:g()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${e}`),style:l},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&(0,i.createElement)("i",{className:g()(t.data[e].prefix,"fa-fw",`fa-${t.data[e].icon}`,{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&(0,i.createElement)(s.RichText.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&(0,i.createElement)("i",{className:`${t.data[e].prefix} fa-fw fa-${t.data[e].icon} margin-left`})))})(e))))}},{attributes:re,save:e=>{let{attributes:t,className:l}=e;const o="collapse-none"!==t.collapse?t.collapse:"",a={fontSize:`${t.fontSize}px`,fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&`${t.lineHeight}px`};return(0,i.createElement)("div",{id:t.id,className:g()(l,o),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},(0,K.times)(t.buttons,(e=>(e=>{const l={...a,borderWidth:`${t.data[e].borderSize}px`,borderRadius:`${t.data[e].borderRadius}px`,padding:`${t.data[e].paddingTopBottom}px ${t.data[e].paddingLeftRight}px`};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:g()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${e}`),style:l,rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&(0,i.createElement)("i",{className:g()(t.data[e].prefix,"fa-fw",`fa-${t.data[e].icon}`,{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&(0,i.createElement)(s.RichText.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&(0,i.createElement)("i",{className:`${t.data[e].prefix} fa-fw fa-${t.data[e].icon} margin-left`})))})(e))))}},{attributes:{...re,fontSize:{type:"number"},fontStyle:{type:"string"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",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:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",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:"",paddingLeftRight:""}]}},migrate:(e,t)=>{let l,o,n;return"flex-start"===e.align&&(l="left"),"center"===e.align&&(l="center"),"flex-end"===e.align&&(l="right"),e.data&&(o=(0,K.pick)(e.data[0],["paddingLeftRight","paddingTopBottom"]),1<=Object.keys(o).length&&(o=(0,K.pick)(o,Object.keys(o).filter((e=>""!==o[e])))),n=e.data.filter(((t,l)=>l<e.buttons)).map((e=>{const t=(0,K.omit)(e,["paddingLeftRight","paddingTopBottom"]);return(0,a.createBlock)("themeisle-blocks/button",{...t})}))),[{...(0,K.omit)(e,["buttons","data"]),align:l,...o},[...n,...t]]},save:e=>{let{attributes:t,className:l}=e;const o="collapse-none"!==t.collapse?t.collapse:"";return(0,i.createElement)("div",{id:t.id,className:g()(l,o,"wp-block-button")},(0,K.times)(t.buttons,(e=>(e=>(0,i.createElement)("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:g()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${e}`,"wp-block-button__link"),rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&(0,i.createElement)("i",{className:g()(t.data[e].prefix,"fa-fw",`fa-${t.data[e].icon}`,{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&(0,i.createElement)(s.RichText.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&(0,i.createElement)("i",{className:`${t.data[e].prefix} fa-fw fa-${t.data[e].icon} margin-left`})))(e))))}}];var se=ie,ce=l(4022),de=l(1138),ue=l(4934),be=l(2380),me=l(9700),pe=l(8286),ge=e=>{var t,l;let{attributes:a,setAttributes:n,currentDevice:r}=e;return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Spacing","otter-blocks")},(0,i.createElement)(ee.Z,{label:(0,o.__)("Padding","otter-blocks"),min:0,max:100,onChange:(e,t)=>{"top"!==e&&"bottom"!==e||n({paddingTopBottom:t}),"right"!==e&&"left"!==e||n({paddingLeftRight:t})},options:[{label:(0,o.__)("Top","otter-blocks"),type:"top",value:a.paddingTopBottom},{label:(0,o.__)("Right","otter-blocks"),type:"right",value:a.paddingLeftRight},{label:(0,o.__)("Bottom","otter-blocks"),type:"bottom",value:a.paddingTopBottom},{label:(0,o.__)("Left","otter-blocks"),type:"left",value:a.paddingLeftRight}]}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Spacing","otter-blocks"),value:a.spacing,onChange:e=>n({spacing:e}),step:.1,min:0,max:50}),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Collapse On","otter-blocks"),value:a.collapse,options:[{label:(0,o.__)("None","otter-blocks"),value:"collapse-none"},{label:(0,o.__)("Desktop","otter-blocks"),value:"collapse-desktop"},{label:(0,o.__)("Tablet","otter-blocks"),value:"collapse-tablet"},{label:(0,o.__)("Mobile","otter-blocks"),value:"collapse-mobile"}],onChange:e=>n({collapse:e})}),(0,i.createElement)(M.Z,{label:(0,o.__)("Alignment","otter-blocks"),className:"buttons-alignment-control"},(0,i.createElement)(pe.Z,{value:null!==(t=null==a||null===(l=a.align)||void 0===l?void 0:l[r])&&void 0!==t?t:"none",options:[{icon:ce.Z,label:(0,o.__)("None","otter-blocks"),value:"none"},{icon:de.Z,label:(0,o.__)("Full","otter-blocks"),value:"full"},{icon:ue.Z,label:(0,o.__)("Left","otter-blocks"),value:"left"},{icon:be.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:me.Z,label:(0,o.__)("Right","otter-blocks"),value:"right"}],onChange:e=>{const t=a.align?{desktop:a.align.desktop,tablet:a.align.tablet,mobile:a.align.mobile}:{};t[r]="none"===e?void 0:e,n({align:t})},hasIcon:!0}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Typography Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Font Size","otter-blocks"),value:a.fontSize,onChange:e=>n({fontSize:e}),step:.1,min:0,max:50}),(0,i.createElement)(y.Z,{label:(0,o.__)("Font Family","otter-blocks"),value:a.fontFamily,onChangeFontFamily:e=>{n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:void 0,fontVariant:void 0,fontStyle:void 0})},valueVariant:a.fontVariant,onChangeFontVariant:e=>n({fontVariant:e}),valueStyle:a.fontStyle,onChangeFontStyle:e=>n({fontStyle:e}),valueTransform:a.textTransform,onChangeTextTransform:e=>n({textTransform:e})}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Line Height","otter-blocks"),value:a.lineHeight,onChange:e=>n({lineHeight:e}),step:.1,min:0,max:200})))};const{attributes:he}=ne;const{name:ve}=ne;(0,a.registerBlockType)(ve,{...ne,title:(0,o.__)("Button Group","otter-blocks"),description:(0,o.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["button","buttons","button group"],deprecated:se,edit:e=>{let{attributes:t,setAttributes:l,clientId:o}=e;const{isViewportAvailable:a,isPreviewDesktop:n,isPreviewTablet:r,isPreviewMobile:c}=(0,v.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=!!e("core/edit-post")&&e("core/edit-post");return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),d=(0,v.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!e("core/edit-post")&&e("core/edit-post");return l?l().toLowerCase():t().toLowerCase()}),[]),u=(0,Y.useViewportMatch)("large",">="),b=(0,Y.useViewportMatch)("large","<="),m=(0,Y.useViewportMatch)("small",">="),p=(0,Y.useViewportMatch)("small","<=");(0,i.useEffect)((()=>{h.Z.attach();const e=(0,L.blockInit)(o,he);return()=>e(t.id)}),[]);let y=u&&!b&&m&&!p,k=!u&&!b&&m&&!p,f=!(u||b||m||p);a&&!f&&(y=n,k=r,f=c);const _={"--spacing":t.spacing&&t.spacing+"px"},w=["desktop","tablet","mobile"].reduce(((e,l)=>(t.align&&t.align[l]&&e.push(`align-${t.align[l]}-${l}`),e)),[]),C=(0,s.useBlockProps)({id:t.id,className:g()("wp-block-buttons",{[`align-${t.align}`]:"string"==typeof t.align,collapse:"collapse-desktop"===t.collapse&&(y||k||f)||"collapse-tablet"===t.collapse&&(k||f)||"collapse-mobile"===t.collapse&&f},...w),style:_});return(0,i.useEffect)((()=>{t.fontFamily&&h.Z.loadFontToBrowser(t.fontFamily,t.fontVariant)}),[t.fontFamily]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ge,{attributes:t,setAttributes:l,currentDevice:d}),(0,i.createElement)("div",C,(0,i.createElement)(s.InnerBlocks,{allowedBlocks:["themeisle-blocks/button"],__experimentalMoverDirection:"horizontal",orientation:"horizontal",template:[["themeisle-blocks/button"]],renderAppender:s.InnerBlocks.DefaultAppender})))},save:e=>{let{attributes:t}=e;const l="collapse-none"!==t.collapse?t.collapse:"",o=["desktop","tablet","mobile"].reduce(((e,l)=>(t.align&&t.align[l]&&e.push(`align-${t.align[l]}-${l}`),e)),[]),a=s.useBlockProps.save({id:t.id,className:g()(l,"wp-block-buttons",{[`align-${t.align}`]:"string"==typeof t.align},...o)});return(0,i.createElement)("div",a,(0,i.createElement)(s.InnerBlocks.Content,null))},example:{attributes:{spacing:20},innerBlocks:[{name:"themeisle-blocks/button",attributes:{text:(0,o.__)("Button 1","otter-blocks")}},{name:"themeisle-blocks/button",attributes:{text:(0,o.__)("Button 2","otter-blocks")}}]}});var ye=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button","title":"Button","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"parent":["themeisle-blocks/button-group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"text":{"type":"string","source":"html","selector":"span"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"newTab":{"type":"boolean","default":false},"color":{"type":"string"},"background":{"type":"string"},"backgroundGradient":{"type":"string"},"border":{"type":"string"},"hoverColor":{"type":"string"},"hoverBackground":{"type":"string"},"hoverBackgroundGradient":{"type":"string"},"hoverBorder":{"type":"string"},"borderSize":{"type":"number"},"borderRadius":{"type":"number"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":1},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"hoverBoxShadowColor":{"type":"string"},"hoverBoxShadowColorOpacity":{"type":"number","default":50},"hoverBoxShadowBlur":{"type":"number","default":5},"hoverBoxShadowSpread":{"type":"number","default":1},"hoverBoxShadowHorizontal":{"type":"number","default":0},"hoverBoxShadowVertical":{"type":"number","default":0},"iconType":{"type":"string","default":"none"},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string"},"icon":{"type":"string"}},"supports":{"reusable":false},"styles":[{"name":"fill","label":"Fill","isDefault":true},{"name":"outline","label":"Outline"}]}'),ke=l(8504),fe=e=>{let{attributes:t,setAttributes:l,isSelected:o}=e;return(0,i.createElement)(s.BlockControls,null,(0,i.createElement)(ke.Z,{isSelected:o,setAttributes:l,url:t.link,opensInNewTab:t.newTab}))},_e=e=>{let{attributes:t,setAttributes:l}=e;const[a,n]=(0,i.useState)(!1),r=()=>(0,i.createElement)(c.ButtonGroup,null,(0,i.createElement)(c.Button,{isSmall:!0,isSecondary:a,isPrimary:!a,onClick:()=>n(!1)},(0,o.__)("Normal","otter-blocks")),(0,i.createElement)(c.Button,{isSmall:!0,isSecondary:!a,isPrimary:a,onClick:()=>n(!0)},(0,o.__)("Hover","otter-blocks")));return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Color","otter-blocks")},(0,i.createElement)(r,null),a?(0,i.createElement)(i.Fragment,{key:"with-hover"},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Hover Color","otter-blocks"),colorValue:t.hoverColor,onColorChange:e=>l({hoverColor:e})}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Hover Background","otter-blocks"),colorValue:t.hoverBackground,gradientValue:t.hoverBackgroundGradient,onColorChange:e=>l({hoverBackground:e}),onGradientChange:e=>l({hoverBackgroundGradient:e})})):(0,i.createElement)(i.Fragment,{key:"without-hover"},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Color","otter-blocks"),colorValue:t.color,onColorChange:e=>l({color:e})}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Background","otter-blocks"),colorValue:t.background,gradientValue:t.backgroundGradient,onColorChange:e=>l({background:e}),onGradientChange:e=>l({backgroundGradient:e})}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Border & Box Shadow","otter-blocks"),initialOpen:!1},(0,i.createElement)(r,null),a?(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Hover Border","otter-blocks"),colorValue:t.hoverBorder,onColorChange:e=>l({hoverBorder:e})}):(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Border","otter-blocks"),colorValue:t.border,onColorChange:e=>l({border:e})}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Border Width","otter-blocks"),value:t.borderSize,onChange:e=>l({borderSize:e}),step:.1,min:0,max:10}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Border Radius","otter-blocks"),value:t.borderRadius,onChange:e=>l({borderRadius:e}),step:.1,min:0,max:100}),(0,i.createElement)(X.Z,{label:(0,o.__)("Box Shadow","otter-blocks"),attributes:t,setAttributes:l,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:()=>l({boxShadow:!0})},(0,i.createElement)(r,null),a?(0,i.createElement)(i.Fragment,{key:"with-hover"},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Shadow Color on Hover","otter-blocks"),colorValue:t.hoverBoxShadowColor,onColorChange:e=>l({hoverBoxShadowColor:e})}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:t.hoverBoxShadowColorOpacity,onChange:e=>l({hoverBoxShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:t.hoverBoxShadowBlur,onChange:e=>l({hoverBoxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Spread","otter-blocks"),value:t.hoverBoxShadowSpread,onChange:e=>l({hoverBoxShadowSpread:e}),min:-100,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:t.hoverBoxShadowHorizontal,onChange:e=>l({hoverBoxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:t.hoverBoxShadowVertical,onChange:e=>l({hoverBoxShadowVertical:e}),min:-100,max:100})):(0,i.createElement)(i.Fragment,{key:"without-hover"},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Shadow Color","otter-blocks"),colorValue:t.boxShadowColor,onColorChange:e=>l({boxShadowColor:e})}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:t.boxShadowColorOpacity,onChange:e=>l({boxShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:t.boxShadowBlur,onChange:e=>l({boxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Spread","otter-blocks"),value:t.boxShadowSpread,onChange:e=>l({boxShadowSpread:e}),min:-100,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:t.boxShadowHorizontal,onChange:e=>l({boxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:t.boxShadowVertical,onChange:e=>l({boxShadowVertical:e}),min:-100,max:100})))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Icon Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Icon Position","otter-blocks"),value:t.iconType,options:[{label:(0,o.__)("No Icon","otter-blocks"),value:"none"},{label:(0,o.__)("Left","otter-blocks"),value:"left"},{label:(0,o.__)("Right","otter-blocks"),value:"right"},{label:(0,o.__)("Icon Only","otter-blocks"),value:"only"}],onChange:e=>l({iconType:e})}),"none"!==t.iconType&&(0,i.createElement)(_.Z,{label:(0,o.__)("Icon Picker","otter-blocks"),library:t.library,prefix:t.prefix,icon:t.icon,changeLibrary:e=>{l({library:e,icon:void 0,prefix:"fab"})},onChange:e=>{l("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}})))},we=l(48);const{attributes:Ce}=ye;const{name:Ee}=ye;(0,a.registerBlockType)(Ee,{...ye,title:(0,o.__)("Button","otter-blocks"),description:(0,o.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["button","buttons","button group"],styles:[{name:"fill",label:(0,o.__)("Fill","otter-blocks"),isDefault:!0},{name:"outline",label:(0,o.__)("Outline","otter-blocks")},...window.themeisleGutenberg.hasNeve?[{name:"primary",label:(0,o.__)("Primary","otter-blocks")},{name:"secondary",label:(0,o.__)("Secondary","otter-blocks")}]:[]],edit:e=>{let{attributes:t,setAttributes:l,isSelected:a,clientId:n}=e;const{hasParent:r,parentAttributes:c}=(0,v.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:l}=e("core/block-editor"),o=t(l(n));return{hasParent:!!o,parentAttributes:o?o.attributes:{}}}),[]);(0,i.useEffect)((()=>{const e=(0,L.blockInit)(n,Ce);return()=>e(t.id)}),[]);let d={},u={};t.boxShadow&&(d={boxShadow:`${t.boxShadowHorizontal}px ${t.boxShadowVertical}px ${t.boxShadowBlur}px ${t.boxShadowSpread}px ${Z()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity)}`}),r&&(u={paddingTop:`${c.paddingTopBottom}px`,paddingBottom:`${c.paddingTopBottom}px`,paddingLeft:`${c.paddingLeftRight}px`,paddingRight:`${c.paddingLeftRight}px`,fontSize:c.fontSize&&`${c.fontSize}px`,fontFamily:c.fontFamily,fontWeight:c.fontVariant,fontStyle:c.fontStyle,textTransform:c.textTransform,lineHeight:c.lineHeight&&`${c.lineHeight}px`});const b={color:t.color,background:t.background||t.backgroundGradient,border:`${t.borderSize}px solid ${t.border}`,borderRadius:t.borderRadius,...d,...u},m={fill:t.color,width:c.fontSize&&`${c.fontSize}px`},p=we.ZP.icons[t.icon],[h,y]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{y([`.wp-block-button__link:hover {\n\t\t\t\tcolor: ${t.hoverColor} !important;\n\t\t\t\tbackground: ${t.hoverBackground||t.hoverBackgroundGradient} !important;\n\t\t\t\tborder-color: ${t.hoverBorder} !important;\n\t\t\t\t${t.boxShadow&&`box-shadow: ${t.hoverBoxShadowHorizontal}px ${t.hoverBoxShadowVertical}px ${t.hoverBoxShadowBlur}px ${t.hoverBoxShadowSpread}px ${Z()(t.hoverBoxShadowColor?t.hoverBoxShadowColor:"#000000",t.hoverBoxShadowColorOpacity)} !important;`}\n\t\t\t}`,`.wp-block-button__link:hover svg {\n\t\t\t\tfill: ${t.hoverColor} !important;\n\t\t\t}`])}),[t.hoverColor,t.hoverBackground,t.hoverBackgroundGradient,t.hoverBorder,t.hoverColor,t.boxShadow,t.hoverBoxShadowHorizontal,t.hoverBoxShadowBlur,t.hoverBoxShadowSpread,t.hoverBoxShadowColor,t.hoverBoxShadowColorOpacity]);const k=(0,s.useBlockProps)({id:t.id,className:g()("wp-block-button",h),style:{}});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(fe,{attributes:t,setAttributes:l,isSelected:a}),(0,i.createElement)(_e,{attributes:t,setAttributes:l}),(0,i.createElement)("div",k,"none"!==t.iconType?(0,i.createElement)("div",{className:"wp-block-button__link",style:b},("left"===t.iconType||"only"===t.iconType)&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(p,{className:g()({"margin-right":"left"===t.iconType}),style:m}):(0,i.createElement)("i",{className:g()(t.prefix,"fa-fw",`fa-${t.icon}`,{"margin-right":"left"===t.iconType})})),"only"!==t.iconType&&(0,i.createElement)(s.RichText,{placeholder:(0,o.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>l({text:e}),tagName:"div",withoutInteractiveFormatting:!0}),"right"===t.iconType&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(p,{className:"margin-left",style:m}):(0,i.createElement)("i",{className:`${t.prefix} fa-fw fa-${t.icon} margin-left`}))):(0,i.createElement)(s.RichText,{placeholder:(0,o.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>l({text:e}),tagName:"div",withoutInteractiveFormatting:!0,className:"wp-block-button__link",style:b})))},save:e=>{let{attributes:t}=e;const l=we.ZP.icons[t.icon],o=s.useBlockProps.save({id:t.id,className:"wp-block-button"});return(0,i.createElement)("div",o,(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer",className:"wp-block-button__link"},("left"===t.iconType||"only"===t.iconType)&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(l,{className:g()({"margin-right":"left"===t.iconType})}):(0,i.createElement)("i",{className:g()(t.prefix,"fa-fw",`fa-${t.icon}`,{"margin-right":"left"===t.iconType})})),"only"!==t.iconType&&(0,i.createElement)(s.RichText.Content,{tagName:"span",value:t.text}),"right"===t.iconType&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(l,{className:"margin-left"}):(0,i.createElement)("i",{className:`${t.prefix} fa-fw fa-${t.icon} margin-left`}))))},example:{attributes:{}}});var xe=l(269),Se=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/circle-counter","title":"Circle Counter","category":"themeisle-blocks","description":"Show your progress with a beautiful Circle Counter block. Powered by Otter.","keywords":["progress","circle","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string","default":"Skill"},"percentage":{"type":"number","default":50},"duration":{"type":"number","default":2},"titleStyle":{"type":"string","default":"default"},"height":{"type":"number","default":100},"fontSizeTitle":{"type":"number"},"fontSizePercent":{"type":"number"},"strokeWidth":{"type":"number","default":10},"backgroundColor":{"type":"string"},"progressColor":{"type":"string"},"titleColor":{"type":"string"}},"editorStyle":"otter-circle-counter-editor","style":"otter-circle-counter-style","script":"otter-circle-counter"}'),Te=e=>{let{attributes:t,setAttributes:l}=e;return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Percentage","otter-blocks"),help:(0,o.__)("The value of the counter.","otter-blocks"),value:t.percentage,onChange:e=>{void 0!==e&&(e=(0,K.clamp)(e,0,100),l({percentage:e}))},min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Duration","otter-blocks"),help:(0,o.__)("The duration of the animation.","otter-blocks"),value:t.duration,onChange:e=>{void 0!==e&&(e=(0,K.clamp)(e,0,3),l({duration:e}))},min:0,max:3}),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Title Style","otter-blocks"),value:t.titleStyle,options:[{label:(0,o.__)("Default","otter-blocks"),value:"default"},{label:(0,o.__)("Hide","otter-blocks"),value:"hide"},{label:(0,o.__)("Bottom","otter-blocks"),value:"bottom"}],onChange:e=>l({titleStyle:e})})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Style","otter-blocks")},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Height","otter-blocks"),help:(0,o.__)("The height of the circle counter.","otter-blocks"),value:t.height,onChange:e=>l({height:e}),min:0,max:240}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Circle Thickness","otter-blocks"),help:(0,o.__)("Change the thickness (stroke width) of the circle.","otter-blocks"),value:t.strokeWidth,onChange:e=>l({strokeWidth:e}),initialPosition:10,min:0,max:20}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Font Size Title","otter-blocks"),help:(0,o.__)("Change the font size of the title.","otter-blocks"),value:t.fontSizeTitle,onChange:e=>l({fontSizeTitle:e}),initialPosition:37,min:0,max:100}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Font Size Percent","otter-blocks"),help:(0,o.__)("Change the font size of the inner text.","otter-blocks"),value:t.fontSizePercent,onChange:e=>l({fontSizePercent:e}),initialPosition:27,min:0,max:80}),"hide"!==t.titleStyle&&(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Title Color","otter-blocks"),colorValue:t.titleColor,onColorChange:e=>l({titleColor:e})}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Progress Color","otter-blocks"),colorValue:t.progressColor,onColorChange:e=>l({progressColor:e})}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Background Color","otter-blocks"),colorValue:t.backgroundColor,onColorChange:e=>l({backgroundColor:e})})))},Me=e=>{let{attributes:t,progressRef:l,valueRef:o}=e;const a=t.height,n=a/2,r=a/2-t.strokeWidth/2,s=2*Math.PI*r;return 0>r?(0,i.createElement)("div",null):(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar",style:{height:a+"px",width:a+"px"}},(0,i.createElement)("svg",{className:"wp-block-themeisle-blocks-circle-counter-container",width:a,height:a},(0,i.createElement)("circle",{className:"wp-block-themeisle-blocks-circle-counter-bg",cx:n,cy:n,r:r,strokeWidth:t.strokeWidth,style:{stroke:t.backgroundColor}}),(0,i.createElement)("circle",{ref:l,className:"wp-block-themeisle-blocks-circle-counter-progress",cx:n,cy:n,r:r,strokeWidth:t.strokeWidth,strokeDasharray:s,style:{stroke:t.progressColor}}),(0,i.createElement)("text",{ref:o,className:"wp-block-themeisle-blocks-circle-counter-text",x:"50%",y:"50%",style:{fill:t.progressColor,fontSize:t.fontSizePercent+"px"}},t.percentage,"%")))};const{attributes:Be}=Se;const{clamp:ze,omit:Pe}=lodash,Le={to:[{type:"block",blocks:["themeisle-blocks/progress-bar"],transform:e=>{const t=Pe(e,["titleStyle","height","fontSize","strokeWidth","progressColor"]);return(0,a.createBlock)("themeisle-blocks/progress-bar",{...t,barBackgroundColor:e.progressColor,height:ze(e.height/4,0,100),titleStyle:"default"})}}]};var Re=Le;const{name:Fe}=Se;(0,a.registerBlockType)(Fe,{...Se,title:(0,o.__)("Circle Counter","otter-blocks"),description:(0,o.__)("Show your progress with a beautiful Circle Counter block. Powered by Otter.","otter-blocks"),icon:xe.Z,keywords:["progress","circle","counter"],transforms:Re,edit:e=>{let{clientId:t,attributes:l,setAttributes:a,isSelected:n,toggleSelection:r}=e;(0,i.useEffect)((()=>{const e=(0,L.blockInit)(t,Be);return()=>e(l.id)}),[l.id]);const d=(0,i.useRef)(null),u=(0,i.useRef)(null),[b,m]=(0,i.useState)({}),p=l.height/2-l.strokeWidth/2,g=2*Math.PI*p;(0,i.useEffect)((()=>{if(!d.current||!d.current||0===l.duration)return;const e=l.percentage/(1e3*l.duration),t=(0,K.range)(0,1e3*l.duration+20,20).map((t=>t*e)).reverse();b&&clearInterval(b),d.current.style.strokeDashoffset=g,u.current.innerText="0%";const o=setInterval((()=>{if(!d.current)return void clearInterval(o);const e=Math.round(t.pop());d.current.style.strokeDashoffset=(100-e)/100*g,u.current.innerHTML=e+"%",0===t.length&&clearInterval(o)}),20);return m(o),()=>{clearInterval(o)}}),[l.duration]),(0,i.useEffect)((()=>{if(d.current&&d.current)return d.current.style.strokeDashoffset=(100-l.percentage)/100*g,u.current.innerHTML=l.percentage+"%",clearInterval(b),()=>{clearInterval(b)}}),[l.percentage,l.height]);const h={"--font-size-title":(v=l.fontSizeTitle,v?`${v}px`:v)};var v;const y=(0,s.useBlockProps)({id:l.id,style:h});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Te,{attributes:l,setAttributes:a}),(0,i.createElement)("div",y,"default"===l.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)(s.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:n?(0,o.__)("Write caption…","otter-blocks"):null,value:l.title,onChange:e=>a({title:e}),multiline:!1,style:{color:l.titleColor}})),(0,i.createElement)(c.ResizableBox,{size:{height:l.height,width:l.height},minHeight:0,maxHeight:240,enable:{top:!1,right:!1,bottom:!0,left:!1},showHandle:n,onResizeStop:(e,t,o,n)=>{a({height:parseInt(l.height+n.height,10)}),r(!0)},onResizeStart:()=>{r(!1)}},(0,i.createElement)(Me,{attributes:l,progressRef:d,valueRef:u})),"bottom"===l.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)(s.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:n?(0,o.__)("Write caption…","otter-blocks"):null,value:l.title,onChange:e=>a({title:e}),multiline:!1,style:{color:l.titleColor}}))))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({id:t.id,"data-percentage":t.percentage,"data-duration":t.duration,"data-height":t.height,"data-stroke-width":t.strokeWidth,"data-font-size-percent":t.fontSizePercent,"data-background-stroke":t.backgroundColor,"data-progress-stroke":t.progressColor});return(0,i.createElement)("div",l,"default"===t.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value"},t.title)),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar"}),"bottom"===t.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value"},t.title)))},example:{attributes:{title:"Lorem ipsum"}}});var Ae=l(2506),He=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/countdown","title":"Countdown","category":"themeisle-blocks","description":"Set a countdown for a date. Powered by Otter.","keywords":["countdown","time","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"date":{"type":"string"},"exclude":{"type":"array"},"backgroundColor":{"type":"string"},"valueColor":{"type":"string"},"labelColor":{"type":"string"},"labelDistance":{"type":"number"},"separatorColor":{"type":"string"},"gap":{"type":"number"},"gapTablet":{"type":"number"},"gapMobile":{"type":"number"},"width":{"type":"number"},"widthTablet":{"type":"number"},"widthMobile":{"type":"number"},"containerWidth":{"type":"string"},"containerWidthTablet":{"type":"string"},"containerWidthMobile":{"type":"string"},"height":{"type":"number"},"heightTablet":{"type":"number"},"heightMobile":{"type":"number"},"borderRadius":{"type":["number","object"]},"borderRadiusBox":{"type":"object"},"borderStyle":{"type":"string"},"borderWidth":{"type":"number"},"borderWidthTablet":{"type":"number"},"borderWidthMobile":{"type":"number"},"borderColor":{"type":"string"},"valueFontSize":{"type":["number","string"]},"valueFontSizeTablet":{"type":["number","string"]},"valueFontSizeMobile":{"type":["number","string"]},"labelFontSize":{"type":["number","string"]},"labelFontSizeTablet":{"type":["number","string"]},"labelFontSizeMobile":{"type":["number","string"]},"hasSeparators":{"type":"boolean"},"valueFontWeight":{"type":"string"},"labelFontWeight":{"type":"string"},"alignment":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderRadiusTopRight":{"type":"number"},"borderRadiusTopLeft":{"type":"number"},"borderRadiusBottomRight":{"type":"number"},"borderRadiusBottomLeft":{"type":"number"},"borderRadiusType":{"type":"string","default":"linked"},"separatorAlignment":{"type":"string"},"behaviour":{"type":"string"},"redirectLink":{"type":"string"},"mode":{"type":"string"},"timer":{"type":"object"},"startInterval":{"type":"string"},"endInterval":{"type":"string"},"onEndAction":{"type":"string"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-countdown-editor","style":"otter-countdown-style","script":"otter-countdown"}'),Oe=l(6292),Ne=l.n(Oe),Ve=l(9771),Ie=l(2694),De=l(9084);const Ge=[{name:(0,o.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}],$e=["","100","200","300","400","500","600","700","800","900"].map((e=>({label:e||"Default",value:e}))),We=e=>{var t;let{attributes:l}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Countdown Type","otter-blocks"),value:l.mode,options:[{label:(0,o.__)("Static","otter-blocks"),value:""},{label:(0,o.__)("Evergreen (Pro)","otter-blocks"),value:"timer",disabled:!0},{label:(0,o.__)("Interval (Pro)","otter-blocks"),value:"interval",disabled:!0}],help:(0,o.__)("An universal deadline for all visitors","otter-blocks")}),!Boolean(null===(t=window.themeisleGutenberg)||void 0===t?void 0:t.hasPro)&&(0,i.createElement)(De.Z,{notice:(0,i.createElement)(c.ExternalLink,{href:(0,x.Wi)(window.themeisleGutenberg.upgradeLink,"countdownfeature")},(0,o.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell"}))},Ze=()=>{var e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.SelectControl,{label:(0,o.__)("On Expire","otter-blocks"),value:"default",onChange:()=>{},options:[{label:(0,o.__)("No action","otter-blocks"),value:"default"},{label:(0,o.__)("Hide the Countdown","otter-blocks"),value:"hide"},{label:(0,o.__)("Redirect to link","otter-blocks"),value:"redirectLink"}],help:(0,o.__)("The countdown remains visible when it reaches 0","otter-blocks"),disabled:!0}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Hide/Show Blocks When the Countdown Ends","otter-blocks"),help:(0,o.__)("Enable Hide/Show other blocks when the Countdown ends.","otter-blocks"),checked:!1,onChange:()=>{},disabled:!0}),!Boolean(null===(e=window.themeisleGutenberg)||void 0===e?void 0:e.hasPro)&&(0,i.createElement)(De.Z,{notice:(0,i.createElement)(c.ExternalLink,{href:(0,x.Wi)(window.themeisleGutenberg.upgradeLink,"countdownfeature")},(0,o.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell"}))};var je=e=>{var t,l,a,n,r,d,u,b,m;let{attributes:p,setAttributes:g}=e;const{responsiveSetAttributes:h,responsiveGetAttributes:v}=S(g),y=(e,t)=>{var l;g(e?{exclude:null==p||null===(l=p.exclude)||void 0===l?void 0:l.filter((e=>e!==t))}:{exclude:null!=p&&p.exclude?[...null==p?void 0:p.exclude,t]:[t]})},k=(0,Ve.__experimentalGetSettings)();return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Time Settings","otter-blocks")},(0,Ie.applyFilters)("otter.countdown.controls.settings",(0,i.createElement)(We,{attributes:p}),{attributes:p,setAttributes:g}),void 0===p.mode&&(0,i.createElement)(c.Dropdown,{position:"bottom left",headerTitle:(0,o.__)("Select the date for the deadline","otter-blocks"),renderToggle:e=>{let{onToggle:t,isOpen:l}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.Button,{onClick:t,isSecondary:!0,"aria-expanded":l,className:"o-extend-btn"},p.date?(0,Ve.format)(k.formats.datetime,p.date):(0,o.__)("Select Date","otter-blocks")))},renderContent:()=>(0,i.createElement)(c.DateTimePicker,{currentDate:p.date,onChange:e=>g({date:e})}),className:"o-extend"})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Display","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Display Days","otter-blocks"),checked:!(null!=p&&null!==(t=p.exclude)&&void 0!==t&&t.includes("day")),onChange:e=>y(e,"day")}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Display Hours","otter-blocks"),checked:!(null!=p&&null!==(l=p.exclude)&&void 0!==l&&l.includes("hour")),onChange:e=>y(e,"hour")}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Display Minutes","otter-blocks"),checked:!(null!=p&&null!==(a=p.exclude)&&void 0!==a&&a.includes("minute")),onChange:e=>y(e,"minute")}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Display Seconds","otter-blocks"),checked:!(null!=p&&null!==(n=p.exclude)&&void 0!==n&&n.includes("second")),onChange:e=>y(e,"second")}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Display Separators","otter-blocks"),checked:null==p?void 0:p.hasSeparators,onChange:e=>g({hasSeparators:e})}),(0,i.createElement)(M.Z,{label:(0,o.__)("Space Between boxes","otter-blocks")},(0,i.createElement)(c.RangeControl,{value:null!==(r=v([p.gap,p.gapTablet,p.gapMobile]))&&void 0!==r?r:6,onChange:e=>h(e,["gap","gapTablet","gapMobile"]),min:0,max:100,allowReset:!0}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("End Action","otter-blocks"),initialOpen:!1},(0,Ie.applyFilters)("otter.countdown.controls.end",(0,i.createElement)(Ze,null),{attributes:p,setAttributes:g})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(M.Z,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(c.__experimentalUnitControl,{value:null!==(d=v([p.containerWidth,p.containerWidthTablet,p.containerWidthMobile]))&&void 0!==d?d:"100%",onChange:e=>h(e,["containerWidth","containerWidthTablet","containerWidthMobile"])})),(0,i.createElement)(M.Z,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(c.RangeControl,{value:null!==(u=v([p.height,p.heightTablet,p.heightMobile]))&&void 0!==u?u:100,onChange:e=>h(e,["height","heightTablet","heightMobile"]),min:50,max:800,allowReset:!0})),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Position","otter-blocks"),value:p.alingment,onChange:e=>g({alignment:e||void 0}),options:[{label:(0,o.__)("Default","otter-blocks"),value:""},{label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{label:(0,o.__)("Center","otter-blocks"),value:"center"},{label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}]}),p.hasSeparators&&(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Separator Alignment","otter-blocks"),value:p.separatorAlignment,onChange:e=>{g(e?{separatorAlignment:e}:{separatorAlignment:void 0})},options:[{label:(0,o.__)("Default","otter-blocks"),value:""},{label:(0,o.__)("Center","otter-blocks"),value:"center"}]})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(M.Z,{label:(0,o.__)("Time Value Font Size","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{fontSizes:Ge,withReset:!0,value:v([p.valueFontSize,p.valueFontSizeTablet,p.valueFontSizeMobile]),onChange:e=>h(e,["valueFontSize","valueFontSizeTablet","valueFontSizeMobile"])})),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Time Value Font Weight","otter-blocks"),value:p.valueFontWeight,onChange:e=>g({valueFontWeight:e||void 0}),options:$e}),(0,i.createElement)(M.Z,{label:(0,o.__)("Label Font Size","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{fontSizes:Ge,withReset:!0,value:v([p.labelFontSize,p.labelFontSizeTablet,p.labelFontSizeMobile]),onChange:e=>h(e,["labelFontSize","labelFontSizeTablet","labelFontSizeMobile"])})),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Label Font Weight","otter-blocks"),value:p.labelFontWeight,onChange:e=>g({labelFontWeight:e||void 0}),options:$e})),(0,i.createElement)(s.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:p.backgroundColor,onChange:e=>g({backgroundColor:e}),label:(0,o.__)("Background","otter-blocks")},{value:p.valueColor,onChange:e=>g({valueColor:e}),label:(0,o.__)("Time Value","otter-blocks")},{value:p.labelColor,onChange:e=>g({labelColor:e}),label:(0,o.__)("Label","otter-blocks")},{value:p.separatorColor,onChange:e=>g({separatorColor:e}),label:(0,o.__)("Separator","otter-blocks")},{value:p.borderColor,onChange:e=>g({borderColor:e}),label:(0,o.__)("Border","otter-blocks")}]},(0,i.createElement)(s.ContrastChecker,{textColor:p.backgroundColor,backgroundColor:p.valueColor})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Type","otter-blocks"),value:null!==(b=p.borderStyle)&&void 0!==b?b:"solid",onChange:e=>g({borderStyle:"solid"===e?void 0:e}),options:[{label:(0,o.__)("None","otter-blocks"),value:"none"},{label:(0,o.__)("Solid","otter-blocks"),value:"solid"},{label:(0,o.__)("Double","otter-blocks"),value:"double"},{label:(0,o.__)("Dotted","otter-blocks"),value:"dotted"},{label:(0,o.__)("Dashed","otter-blocks"),value:"dashed"}]}),"none"!==p.borderStyle&&(0,i.createElement)(M.Z,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(c.RangeControl,{value:null!==(m=v([p.borderWidth,p.borderWidthTablet,p.borderWidthMobile]))&&void 0!==m?m:2,onChange:e=>h(e,["borderWidth","borderWidthTablet","borderWidthMobile"]),min:0,max:50,allowReset:!0})),(0,i.createElement)(c.__experimentalBoxControl,{label:(0,o.__)("Border Radius","otter-blocks"),values:(0,x.Dv)(p.borderRadiusBox,{left:"0px",right:"0px",bottom:"0px",top:"0px"}),onChange:e=>{g({borderRadiusBox:(0,x.cg)(e,{left:"0px",right:"0px",bottom:"0px",top:"0px"})})},id:"o-border-raduis-box"})))};const Ue=1e3,qe=6e4,Je=36e5,Ke=864e5,Ye=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==(e=parseInt((null==t?void 0:t.days)||"0")*Ke+parseInt((null==t?void 0:t.hours)||"0")*Je+parseInt((null==t?void 0:t.minutes)||"0")*qe+parseInt((null==t?void 0:t.seconds)||"0")*Ue)&&void 0!==e?e:0},Qe=(e,t)=>{var l;null!==(l=e)&&void 0!==l||(e=0);const a=Math.floor(e/Ke),n=Math.floor(e/Je%24),r=Math.floor(e/qe%60),i=Math.floor(e/Ue%60);return[{tag:"day",name:1<a?(0,o.__)("Days","otter-blocks"):(0,o.__)("Day","otter-blocks"),value:a},{tag:"hour",name:1<n?(0,o.__)("Hours","otter-blocks"):(0,o.__)("Hour","otter-blocks"),value:n},{tag:"minute",name:1<r?(0,o.__)("Minutes","otter-blocks"):(0,o.__)("Minute","otter-blocks"),value:r},{tag:"second",name:1<i?(0,o.__)("Seconds","otter-blocks"):(0,o.__)("Second","otter-blocks"),value:i}].filter((e=>{var l;let{tag:o}=e;return!(null!=t&&null!==(l=t.exclude)&&void 0!==l&&l.includes(o))})).map((e=>(null!=t&&t.keepNeg||(e.value=Math.max(0,e.value)),e)))},Xe=e=>{let{name:t,value:l,tag:o}=e;return(0,i.createElement)("div",{name:o,className:g()("otter-countdown__display-area",{"is-main-component":"separator"!==o})},(0,i.createElement)("div",{className:"otter-countdown__value"},l),(0,i.createElement)("div",{className:"otter-countdown__label"},t))};var et=e=>{var t;let{time:l,settings:o,hasSeparators:a}=e;const n=4===(null==o||null===(t=o.exclude)||void 0===t?void 0:t.length)?Qe(null!=l?l:0,{}):Qe(null!=l?l:0,{exclude:null==o?void 0:o.exclude}),r=a?(0,x.S3)(n,{name:"sep",value:":",tag:"separator"}):n,s=null==r?void 0:r.map(((e,t)=>(0,i.createElement)(Xe,(0,J.Z)({},e,{key:t}))));return(0,i.createElement)("div",{className:"otter-countdown__container"},void 0!==l&&(0,i.createElement)("div",{className:"otter-countdown__display"},s))};const{attributes:tt}=He,lt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return(0,K.isNumber)(e)?`${e}${t}`:e};const ot=e=>{let{name:t,value:l,tag:o}=e;return(0,i.createElement)("div",{name:o,className:g()("otter-countdown__display-area",{"is-main-component":"separator"!==o})},(0,i.createElement)("div",{className:"otter-countdown__value"},l),(0,i.createElement)("div",{className:"otter-countdown__label"},t))},at=e=>{let{time:t,hasSeparators:l}=e;const o=l?(0,x.S3)(t,{name:"sep",value:":",tag:"separator"}):t,a=null==o?void 0:o.map(((e,t)=>(0,i.createElement)(ot,(0,J.Z)({},e,{key:t}))));return void 0!==t?(0,i.createElement)("div",{className:"otter-countdown__container"},(0,i.createElement)("div",{className:"otter-countdown__display"},a)):(0,i.createElement)(i.Fragment,null)};const{name:nt}=He;(0,a.registerBlockType)(nt,{...He,title:(0,o.__)("Countdown","otter-blocks"),description:(0,o.__)("Set a countdown for a date. Powered by Otter.","otter-blocks"),icon:Ae.Z,keywords:["countdown","time","counter"],edit:e=>{var t;let{attributes:l,setAttributes:a,clientId:n}=e;const[r,d]=(0,i.useState)(0);(0,i.useEffect)((()=>{const e=(0,L.blockInit)(n,tt);return()=>e(l.id)}),[l.id]),(0,i.useEffect)((()=>{if(void 0===l.borderRadiusBox&&(l.borderRadius||l.borderRadiusBottomLeft||l.borderRadiusTopRight||l.borderRadiusTopLeft||l.borderRadiusBottomRight)){const e=(0,K.pickBy)("linked"===(null==l?void 0:l.borderRadiusType)?{left:lt(l.borderRadius,"%"),right:lt(l.borderRadius,"%"),bottom:lt(l.borderRadius,"%"),top:lt(l.borderRadius,"%")}:{left:lt(l.borderRadiusBottomLeft,"%"),right:lt(l.borderRadiusTopRight,"%"),bottom:lt(l.borderRadiusBottomRight,"%"),top:lt(l.borderRadiusTopLeft,"%")},(e=>e));(0,K.isEmpty)(e)||a({borderRadiusBox:e,borderRadius:void 0,borderRadiusBottomLeft:void 0,borderRadiusTopRight:void 0,borderRadiusBottomRight:void 0,borderRadiusTopLeft:void 0,borderRadiusType:void 0})}}),[]),(0,i.useEffect)((()=>{let e;return"timer"!==l.mode&&(e=setInterval((()=>{if(l.date){const e=1e3*Ne()(l.date+(0,x.EP)()).unix();d(e-Date.now())}}),500)),()=>{clearInterval(e)}}),[l.date,l.mode]);const u={"--border-radius":(0,x.bv)(l.borderRadiusBox),"--border-style":l.borderStyle,"--background-color":l.backgroundColor,"--border-color":l.borderColor,"--container-width":l.containerWidth,"--container-width-tablet":l.containerWidthTablet,"--container-width-mobile":l.containerWidthMobile,"--height":lt(l.height),"--height-tablet":lt(l.heightTablet),"--height-mobile":lt(l.heightMobile),"--border-width":lt(l.borderWidth),"--border-width-tablet":lt(l.borderWidthTablet),"--border-width-mobile":lt(l.borderWidthMobile),"--gap":lt(l.gap),"--gap-tablet":lt(l.gapTablet),"--gap-mobile":lt(l.gapMobile),"--value-font-size":lt(l.valueFontSize),"--value-font-size-tablet":lt(l.valueFontSizeTablet),"--value-font-size-mobile":lt(l.valueFontSizeMobile),"--label-font-size":lt(l.labelFontSize),"--label-font-size-tablet":lt(l.labelFontSizeTablet),"--label-font-size-mobile":lt(l.labelFontSizeMobile),"--alignment":l.alignment,"--padding":(0,x.bv)(l.padding),"--padding-tablet":(0,x.bv)(l.paddingTablet),"--padding-mobile":(0,x.bv)(l.paddingMobile),"--value-font-weight":l.valueFontWeight,"--label-font-weight":l.labelFontWeight},[b,m]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{m([`.otter-countdown__display-area .otter-countdown__value {\n\t\t\t\tcolor: ${l.valueColor};\n\t\t\t}`,`.otter-countdown__display-area .otter-countdown__label {\n\t\t\t\tcolor: ${l.labelColor};\n\t\t\t}`,`.otter-countdown__display-area[name="separator"] .otter-countdown__value {\n\t\t\t\tcolor: ${l.separatorColor};\n\t\t\t}`,"center"===l.separatorAlignment?'\n\t\t\t.otter-countdown__display-area[name="separator"] .otter-countdown__label {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t':""])}),[l.valueColor,l.labelColor,l.separatorColor,l.separatorAlignment]);const p=(0,s.useBlockProps)({id:l.id,className:g()(b,"ready"),style:u});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(je,{attributes:l,setAttributes:a}),(0,i.createElement)("div",p,(0,i.createElement)(et,{time:(()=>{switch(l.mode){case"timer":return Ye(l.timer);case"interval":return((e,t)=>{if(!e||!t)return 0;const l=new Date(e).getTime();return new Date(t).getTime()-l})(l.startInterval,l.endInterval);default:return r}})(),settings:{exclude:null==l?void 0:l.exclude},hasSeparators:l.hasSeparators}),4===(null==l||null===(t=l.exclude)||void 0===t?void 0:t.length)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("br",null),(0,i.createElement)(c.Notice,{isDismissible:!1,status:"info"},(0,o.__)("The Countdown will be hidden in page","otter-blocks")))))},save:e=>{let{attributes:t}=e;const l=t.startInterval&&t.endInterval?{"data-intv-start":t.startInterval,"data-intv-end":t.endInterval}:{},o=s.useBlockProps.save({id:t.id,"data-date":t.date,"data-bhv":t.behaviour?t.behaviour:void 0,"data-redirect-link":"redirectLink"===t.behaviour&&t.redirectLink?t.redirectLink:void 0,"data-mode":t.mode?t.mode:void 0,"data-timer":(0,K.isEmpty)(t.timer)?void 0:(a=t.timer,Ye(a).toString()),"data-on-end-action":t.onEndAction?t.onEndAction:void 0,...l});var a;return(0,i.createElement)("div",o,(0,i.createElement)(at,{time:Qe(0,{exclude:null==t?void 0:t.exclude}),hasSeparators:null==t?void 0:t.hasSeparators}))},example:{attributes:{date:"2024-07-15T15:03:00"}}});var rt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/flip","title":"Flip Card","category":"themeisle-blocks","description":"Make a card with a flip effect. Powered by Otter.","keywords":["flip card","container","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"isInverted":{"type":"boolean"},"title":{"type":"string"},"description":{"type":"string"},"animType":{"type":"string","default":"flipY"},"width":{"type":["number","object"]},"widthTablet":{"type":"object"},"widthMobile":{"type":"object"},"height":{"type":["number","object"]},"heightTablet":{"type":"object"},"heightMobile":{"type":"object"},"padding":{"type":["number","object"]},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":["number","object"]},"borderColor":{"type":"string"},"borderRadius":{"type":["number","object"]},"backgroundColor":{"type":"string"},"frontVerticalAlign":{"type":"string"},"frontHorizontalAlign":{"type":"string"},"backVerticalAlign":{"type":"string"},"frontMedia":{"type":"object"},"frontMediaWidth":{"type":["number","string"]},"frontMediaHeight":{"type":["number","string"]},"frontBackgroundImage":{"type":"object"},"frontBackgroundType":{"type":"string","default":"color"},"frontBackgroundColor":{"type":"string"},"frontBackgroundGradient":{"type":"string"},"frontBackgroundPosition":{"type":"object"},"frontBackgroundRepeat":{"type":"string"},"frontBackgroundAttachment":{"type":"string"},"frontBackgroundSize":{"type":"string"},"backBackgroundImage":{"type":"object"},"backBackgroundType":{"type":"string","default":"color"},"backBackgroundColor":{"type":"string"},"backBackgroundGradient":{"type":"string"},"backBackgroundPosition":{"type":"object"},"backBackgroundRepeat":{"type":"string"},"backBackgroundSize":{"type":"string"},"backBackgroundAttachment":{"type":"string"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"titleFontSize":{"type":["number","string"]},"descriptionFontSize":{"type":["number","string"]},"titleColor":{"type":"string"},"descriptionColor":{"type":"string"},"frontContentType":{"type":"string"}},"editorStyle":"otter-flip-editor","style":"otter-flip-style"}');const it={top:"flex-start",left:"flex-start",bottom:"flex-end",right:"flex-end",center:"center"},st={"flex-start":"top",center:"center","flex-end":"bottom"},ct={"flex-start":"left",center:"center","flex-end":"right"},dt=(e,t)=>{if(e&&t)return`${st[e]} ${ct[t]}`};var ut=e=>{let{attributes:t,setAttributes:l,currentSide:a}=e;const n=s.__experimentalBlockAlignmentMatrixControl||s.__experimentalBlockAlignmentMatrixToolbar;return(0,i.createElement)(s.BlockControls,null,("front"===a&&!Boolean(t.isInverted)||"back"===a&&Boolean(t.isInverted))&&(0,i.createElement)(c.Toolbar,null,(0,i.createElement)(n,{label:(0,o.__)("Change front side content position","otter-blocks"),value:dt(t.frontVerticalAlign,t.frontHorizontalAlign),onChange:e=>{const t=null==e?void 0:e.split(" ");l({frontVerticalAlign:null==it?void 0:it[null==t?void 0:t[0]],frontHorizontalAlign:null==it?void 0:it[null==t?void 0:t[1]]})}})))},bt=l(1150),mt=l(8065),pt=l(199),gt=l(5452);const ht=e=>(0,K.isNumber)(e)?(0,x.nT)((0,x.Yj)(e)):e,vt=[{name:"14",size:"14px",slug:"14"},{name:"16",size:"16px",slug:"16"},{name:"18",size:"18px",slug:"18"},{name:"24",size:"24px",slug:"24"}];var yt=e=>{var t,l,a,n,d,u,b;let{attributes:m,setAttributes:p,currentSide:g,setSide:h}=e;const[v,y]=(0,i.useState)("settings"),{responsiveSetAttributes:k,responsiveGetAttributes:f}=S(p);return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(w.Z,{value:v,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:y}),(0,i.createElement)("div",null,"settings"===v&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Flip Settings","otter-blocks")},(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Flip Direction","otter-blocks"),value:m.animType,options:[{label:(0,o.__)("Bottom to Top","otter-blocks"),value:"flipX"},{label:(0,o.__)("Top to Bottom","otter-blocks"),value:"flipX-rev"},{label:(0,o.__)("Left to Right","otter-blocks"),value:"flipY"},{label:(0,o.__)("Right to Left","otter-blocks"),value:"flipY-rev"}],onChange:e=>p({animType:e})}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Invert the Sides","otter-blocks"),checked:m.isInverted,onChange:e=>p({isInverted:e}),help:(0,o.__)("Use this to display the back side first.","otter-blocks")})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Front Side Content","otter-blocks"),initialOpen:!1},(0,i.createElement)(E.Z,{label:(0,o.__)("Content Type","otter-blocks"),options:[{label:(0,o.__)("None","otter-blocks"),value:"none"},{label:(0,o.__)("Image","otter-blocks"),value:"image"}],value:null!==(t=null==m?void 0:m.frontContentType)&&void 0!==t?t:"none",onChange:e=>{const t={frontContentType:(0,K.isEmpty)(e)||"none"===e?void 0:e};((0,K.isEmpty)(e)||"none"===e)&&(t.frontMedia=void 0),p(t)}}),"image"===m.frontContentType&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Media Image","otter-blocks"),help:(0,o.__)("Set an image as showcase.","otter-blocks")},null!==(l=m.frontMedia)&&void 0!==l&&l.url?(0,i.createElement)(c.BaseControl,null,(0,i.createElement)("img",{src:m.frontMedia.url,alt:m.frontMedia.alt,style:{border:"2px solid var( --wp-admin-theme-color)",maxHeight:"250px"}}),(0,i.createElement)(c.Button,{isSecondary:!0,onClick:()=>p({frontMedia:void 0})},(0,o.__)("Remove image","otter-blocks"))):(0,i.createElement)(s.MediaPlaceholder,{labels:{title:(0,o.__)("Media Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:m.frontMedia,onSelect:e=>{var t,l;console.log(e),p({frontMedia:(0,K.pick)(e,["id","alt","url"]),frontMediaHeight:(0,x.Yj)(null==e||null===(t=e.sizes)||void 0===t?void 0:t.medium.height),frontMediaWidth:(0,x.Yj)(null==e||null===(l=e.sizes)||void 0===l?void 0:l.medium.width)})}})),(0,i.createElement)(c.__experimentalUnitControl,{onChange:e=>p({frontMediaWidth:e}),label:(0,o.__)("Media Width","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,value:(0,x.Yj)(m.frontMediaWidth)}),(0,i.createElement)("br",null),(0,i.createElement)(c.__experimentalUnitControl,{onChange:e=>p({frontMediaHeight:e}),label:(0,o.__)("Media Height","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,value:(0,x.Yj)(m.frontMediaHeight)}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Alignment","otter-blocks"),initialOpen:!1},(0,i.createElement)(E.Z,{label:(0,o.__)("Sides","otter-blocks"),options:[{label:(0,o.__)("Front","otter-blocks"),value:"front"},{label:(0,o.__)("Back","otter-blocks"),value:"back"}],value:g,onChange:h}),"front"===g&&!Boolean(m.isInverted)||"back"===g&&Boolean(m.isInverted)?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Vertical Alignment","otter-blocks")},(0,i.createElement)(pe.Z,{options:[{icon:r.alignTop,value:"flex-start"},{icon:r.alignCenter,value:"center"},{icon:r.alignBottom,value:"flex-end"}],value:null!==(a=m.frontVerticalAlign)&&void 0!==a?a:"center",onChange:e=>p({frontVerticalAlign:e})})),(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Horizontal Alignment","otter-blocks")},(0,i.createElement)(pe.Z,{options:[{icon:bt.Z,value:"flex-start"},{icon:mt.Z,value:"center"},{icon:pt.Z,value:"flex-end"}],value:null!==(n=m.frontHorizontalAlign)&&void 0!==n?n:"center",onChange:e=>p({frontHorizontalAlign:e})}))):(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Vertical Alignment","otter-blocks")},(0,i.createElement)(pe.Z,{options:[{icon:r.alignTop,value:"flex-start"},{icon:r.alignCenter,value:"center"},{icon:r.alignBottom,value:"flex-end"}],value:m.backVerticalAlign,onChange:e=>p({backVerticalAlign:e})})))),"style"===v&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(M.Z,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(c.__experimentalUnitControl,{value:null!==(d=f([(0,K.isNumber)(m.width)?(0,x.Yj)(m.width):null==m?void 0:m.width,m.widthTablet,null==m?void 0:m.widthMobile]))&&void 0!==d?d:"100%",onChange:e=>k(e,["width","widthTablet","widthMobile"],m.width),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,allowReset:!0})),(0,i.createElement)(M.Z,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(c.__experimentalUnitControl,{value:null!==(u=f([(0,K.isNumber)(m.height)?(0,x.Yj)(m.height):null==m?void 0:m.height,m.heightTablet,null==m?void 0:m.heightMobile]))&&void 0!==u?u:"300px",onChange:e=>k(e,["height","heightTablet","heightMobile"],m.height),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,allowReset:!0,units:[{default:300,label:"px",value:"px"},{default:20,label:"em",value:"em"},{default:20,label:"rem",value:"rem"},{default:30,label:"vw",value:"vw"},{default:35,label:"vh",value:"vh"}]})),(0,i.createElement)(M.Z,{label:(0,o.__)("","otter-blocks")},(0,i.createElement)(c.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:null!==(b=f([null==m?void 0:m.padding,m.paddingTablet,null==m?void 0:m.paddingMobile]))&&void 0!==b?b:(0,K.isNumber)(m.padding)?(0,x.nT)((0,x.Yj)(m.padding)):(0,x.nT)("20px"),onChange:e=>{let t={};"object"==typeof e&&(t=Object.fromEntries(Object.entries((0,K.pick)(e,["top","bottom","left","right"])).filter((e=>{let[t,l]=e;return null!=l})))),(0,K.isEmpty)(t)&&(t=void 0),k((0,x.cg)(t,(0,x.nT)("20px")),["padding","paddingTablet","paddingMobile"])},allowReset:!0}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Typography Front Side","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Title","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{value:(0,x.Yj)(m.titleFontSize),onChange:e=>p({titleFontSize:e}),fontSizes:[...vt,{name:"32",size:"32px",slug:"32"}],allowReset:!0})),(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Description","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{value:ht(m.descriptionFontSize),onChange:e=>p({descriptionFontSize:e}),fontSizes:[...vt,{name:"28",size:"28px",slug:"28"}],allowReset:!0}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Front Side","otter-blocks"),initialOpen:!1},(0,i.createElement)(gt.Z,{backgroundType:m.frontBackgroundType,backgroundColor:m.frontBackgroundColor,image:m.frontBackgroundImage,gradient:m.frontBackgroundGradient,focalPoint:m.frontBackgroundPosition,backgroundAttachment:m.frontBackgroundAttachment,backgroundRepeat:m.frontBackgroundRepeat,backgroundSize:m.frontBackgroundSize,changeBackgroundType:e=>p({frontBackgroundType:e}),changeImage:e=>{p({frontBackgroundImage:(0,K.pick)(e,["id","url"])})},removeImage:()=>p({frontBackgroundImage:void 0}),changeColor:e=>p({frontBackgroundColor:e}),changeGradient:e=>p({frontBackgroundGradient:e}),changeBackgroundAttachment:e=>p({frontBackgroundAttachment:e}),changeBackgroundRepeat:e=>p({frontBackgroundRepeat:e}),changeFocalPoint:e=>p({frontBackgroundPosition:e}),changeBackgroundSize:e=>p({frontBackgroundSize:e})})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Back Side","otter-blocks"),initialOpen:!1},(0,i.createElement)(gt.Z,{backgroundType:m.backBackgroundType,backgroundColor:m.backBackgroundColor,image:m.backBackgroundImage,gradient:m.backBackgroundGradient,focalPoint:m.backBackgroundPosition,backgroundAttachment:m.backBackgroundAttachment,backgroundRepeat:m.backBackgroundRepeat,backgroundSize:m.backBackgroundSize,changeBackgroundType:e=>p({backBackgroundType:e}),changeImage:e=>{p({backBackgroundImage:(0,K.pick)(e,["id","url"])})},removeImage:()=>p({backBackgroundImage:void 0}),changeColor:e=>p({backBackgroundColor:e}),changeGradient:e=>p({backBackgroundGradient:e}),changeBackgroundAttachment:e=>p({backBackgroundAttachment:e}),changeBackgroundRepeat:e=>p({backBackgroundRepeat:e}),changeFocalPoint:e=>p({backBackgroundPosition:e}),changeBackgroundSize:e=>p({backBackgroundSize:e})})),(0,i.createElement)(s.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:m.borderColor,onChange:e=>p({borderColor:e}),label:(0,o.__)("Border Color","otter-blocks")},{value:m.titleColor,onChange:e=>p({titleColor:e}),label:(0,o.__)("Title Color","otter-blocks")},{value:m.descriptionColor,onChange:e=>p({descriptionColor:e}),label:(0,o.__)("Description Color","otter-blocks")}]}),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.__experimentalBoxControl,{label:(0,o.__)("Border Width","otter-blocks"),values:(0,x.Dv)(ht(m.borderWidth),(0,x.nT)("3px")),onChange:e=>{p({borderWidth:(0,x.cg)(e,{left:"3px",right:"3px",bottom:"3px",top:"3px"})})},allowReset:!0}),(0,i.createElement)(c.__experimentalBoxControl,{id:"o-border-raduis-box",label:(0,o.__)("Border Radius","otter-blocks"),values:(0,x.Dv)(ht(m.borderRadius),(0,x.nT)("10px")),onChange:e=>{p({borderRadius:(0,x.cg)(e,{left:"10px",right:"10px",bottom:"10px",top:"10px"})})},allowReset:!0}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Shadow Properties","otter-blocks"),checked:m.boxShadow,onChange:e=>p({boxShadow:e})}),m.boxShadow&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Color","otter-blocks"),colorValue:m.boxShadowColor,onColorChange:e=>{var t,l;p({boxShadowColor:100>m.boxShadowColorOpacity&&null!==(t=m.boxShadowColor)&&void 0!==t&&t.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(null==e||null===(l=e.replace("var(",""))||void 0===l?void 0:l.replace(")","")):e})}}),(0,i.createElement)(X.Z,{label:(0,o.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:m.boxShadowColorOpacity,onChange:e=>{var t;const l={boxShadowColorOpacity:e};100>e&&null!==(t=m.boxShadowColor)&&void 0!==t&&t.includes("var(")&&(l.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(m.boxShadowColor.replace("var(","").replace(")",""))),p(l)},min:0,max:100,allowReset:!0}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:m.boxShadowBlur,onChange:e=>p({boxShadowBlur:e}),min:0,max:100,allowReset:!0}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:m.boxShadowHorizontal,onChange:e=>p({boxShadowHorizontal:e}),min:-100,max:100,allowReset:!0}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:m.boxShadowVertical,onChange:e=>p({boxShadowVertical:e}),min:-100,max:100,allowReset:!0})))))),(0,i.createElement)(C.p,null))};const{attributes:kt}=rt;const{name:ft}=rt;(0,a.registerBlockType)(ft,{...rt,title:(0,o.__)("Flip Card","otter-blocks"),description:(0,o.__)("Make a card with a flip effect. Powered by Otter.","otter-blocks"),icon:xe.Z,keywords:["flip card","container","animation"],edit:e=>{var t,l,a,n,r,d,u,b,m,p,h,v,y,k,f,_;let{attributes:w,setAttributes:C,clientId:E,isSelected:S}=e;(0,i.useEffect)((()=>{const e=(0,L.blockInit)(E,kt);return()=>e(w.id)}),[w.id]);const[T,M]=(0,i.useState)("front"),B={"--width":void 0!==w.width&&(0,K.isNumber)(w.width)&&(0,x.Yj)(w.width)||w.width,"--width-tablet":w.widthTablet,"--width-mobile":w.widthMobile,"--height":void 0!==w.height&&(0,K.isNumber)(w.height)&&(0,x.Yj)(w.height)||w.height,"--height-tablet":w.heightTablet,"--height-mobile":w.heightMobile,"--border-width":void 0!==w.borderWidth&&(0,x.um)((0,x.Dv)((0,x.nT)((0,x.Yj)(w.borderWidth)),{left:"3px",right:"3px",bottom:"3px",top:"3px"})),"--border-color":w.borderColor,"--border-radius":void 0!==w.borderRadius&&(0,x.um)((0,x.Dv)((0,x.nT)((0,x.Yj)(w.borderRadius)),{left:"10px",right:"10px",bottom:"10px",top:"10px"})),"--front-background":(0,x.nG)([["gradient"===w.frontBackgroundType&&w.frontBackgroundGradient,w.frontBackgroundGradient],["image"===w.frontBackgroundType&&(null===(t=w.frontBackgroundImage)||void 0===t?void 0:t.url),`url( ${null===(l=w.frontBackgroundImage)||void 0===l?void 0:l.url} ) ${w.frontBackgroundRepeat||"repeat"} ${w.frontBackgroundAttachment||"scroll"} ${Math.round(null!==(a=null===(n=w.frontBackgroundPosition)||void 0===n?void 0:n.x)&&void 0!==a?a:50)}% ${Math.round(null!==(r=null===(d=w.frontBackgroundPosition)||void 0===d?void 0:d.y)&&void 0!==r?r:50)}%/${w.frontBackgroundSize||"auto"}`],[w.frontBackgroundColor]]),"--back-background":(0,x.nG)([["gradient"===w.backBackgroundType&&w.backBackgroundGradient,w.backBackgroundGradient],["image"===w.backBackgroundType&&(null===(u=w.backBackgroundImage)||void 0===u?void 0:u.url),`url( ${null===(b=w.backBackgroundImage)||void 0===b?void 0:b.url} ) ${w.backBackgroundRepeat||"repeat"} ${w.backBackgroundAttachment||"scroll"} ${Math.round(null!==(m=null===(p=w.backBackgroundPosition)||void 0===p?void 0:p.x)&&void 0!==m?m:50)}% ${Math.round(null!==(h=null===(v=w.backBackgroundPosition)||void 0===v?void 0:v.y)&&void 0!==h?h:50)}%/${w.backBackgroundSize||"auto"}`],[w.backBackgroundColor]]),"--box-shadow":w.boxShadow&&`${w.boxShadowHorizontal}px ${w.boxShadowVertical}px ${w.boxShadowBlur}px ${w.boxShadowColor?w.boxShadowColor.includes("#")&&null!=w&&w.boxShadowColorOpacity&&0<=w.boxShadowColorOpacity?Z()(w.boxShadowColor,w.boxShadowColorOpacity||1e-5):w.boxShadowColor:Z()("#000000",void 0!==w.boxShadowColorOpacity?w.boxShadowColorOpacity||1e-5:1)}`,"--front-vertical-align":w.frontVerticalAlign,"--front-horizontal-align":w.frontHorizontalAlign,"--back-vertical-align":w.backVerticalAlign,"--front-media-width":(0,x.Yj)(w.frontMediaWidth),"--front-media-height":(0,x.Yj)(w.frontMediaHeight),"--padding":void 0!==w.padding&&(0,K.isNumber)(w.padding)&&(0,x.Yj)(w.padding)||(0,x.um)(null==w?void 0:w.padding),"--padding-tablet":(0,x.um)(null==w?void 0:w.paddingTablet),"--padding-mobile":(0,x.um)(null==w?void 0:w.paddingMobile)},[z,P]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{P([`.o-flip-inner {\n\t\t\t\ttransform: ${"back"===T?"var( --flip-anim )":"unset"};\n\t\t\t}`,`.o-flip-front .o-flip-content h3 {\n\t\t\t\tcolor: ${w.titleColor};\n\t\t\t\t${w.titleFontSize&&`font-size: ${(0,x.Yj)(w.titleFontSize)}`}\n\t\t\t}`,`.o-flip-front .o-flip-content p {\n\t\t\t\tcolor: ${w.descriptionColor};\n\t\t\t\t${w.descriptionFontSize&&`font-size: ${(0,x.Yj)(w.descriptionFontSize)}`}\n\t\t\t}`])}),[T,w.titleFontSize,w.descriptionFontSize,w.titleColor,w.descriptionColor]);const R=(0,s.useBlockProps)({id:w.id,className:g()({flipX:"flipX"===w.animType,flipY:"flipY"===w.animType,"flipY-rev":"flipY-rev"===w.animType,"flipX-rev":"flipX-rev"===w.animType},z),style:B});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ut,{attributes:w,setAttributes:C,currentSide:T}),(0,i.createElement)(yt,{attributes:w,setAttributes:C,currentSide:T,setSide:M}),(0,i.createElement)("div",R,(0,i.createElement)("div",{className:g()("o-flip-inner",{invert:w.isInverted})},(0,i.createElement)("div",{className:"o-flip-front"},(0,i.createElement)("div",{className:"o-flip-content"},(null===(y=w.frontMedia)||void 0===y?void 0:y.url)&&(0,i.createElement)("img",{className:"o-img",srcSet:null===(k=w.frontMedia)||void 0===k?void 0:k.url}),(0,i.createElement)(s.RichText,{tagName:"h3",value:null!==(f=w.title)&&void 0!==f?f:"",onChange:e=>C({title:e}),placeholder:(0,o.__)("Insert a title","otter-blocks")}),(0,i.createElement)(s.RichText,{tagName:"p",value:null!==(_=w.description)&&void 0!==_?_:"",onChange:e=>C({description:e}),placeholder:(0,o.__)("Insert a description","otter-blocks")}))),(0,i.createElement)("div",{className:"o-flip-back"},(0,i.createElement)(s.InnerBlocks,{renderAppender:S?s.InnerBlocks.ButtonBlockAppender:void 0,template:[["core/heading",{content:"Lorem ipsum",level:3}],["core/paragraph",{content:"Tellus posuere sem fermentum facilisis platea."}],["core/buttons",{layout:{type:"flex",justifyContent:"center"},innerBlocks:[{name:"core/button",attributes:{className:"is-style-outline",text:"Learn more"}}]}]]}))),S&&(0,i.createElement)("div",{className:"o-switcher"},(0,i.createElement)(c.Button,{isPrimary:!0,onClick:()=>M("back"===T?"front":"back")},"back"===T?(0,o.__)("Flip to Front","otter-blocks"):(0,o.__)("Flip to Back","otter-blocks")))))},save:e=>{var t,l,o,a;let{attributes:n}=e;const r=s.useBlockProps.save({id:n.id,className:g()("anim",{flipX:"flipX"===n.animType,flipY:"flipY"===n.animType,"flipY-rev":"flipY-rev"===n.animType,"flipX-rev":"flipX-rev"===n.animType})});return(0,i.createElement)("div",r,(0,i.createElement)("div",{className:g()("o-flip-inner",{invert:n.isInverted})},(0,i.createElement)("div",{className:"o-flip-front"},(0,i.createElement)("div",{className:"o-flip-content"},(null===(t=n.frontMedia)||void 0===t?void 0:t.url)&&(0,i.createElement)("img",{className:"o-img",src:null===(l=n.frontMedia)||void 0===l?void 0:l.url,srcSet:null===(o=n.frontMedia)||void 0===o?void 0:o.url,alt:null===(a=n.frontMedia)||void 0===a?void 0:a.alt}),(0,i.createElement)(s.RichText.Content,{tagName:"h3",value:n.title}),(0,i.createElement)(s.RichText.Content,{tagName:"p",value:n.description}))),(0,i.createElement)("div",{className:"o-flip-back"},(0,i.createElement)(s.InnerBlocks.Content,null))))},example:{attributes:{}}});var _t=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/font-awesome-icons","title":"Icon","category":"themeisle-blocks","description":"Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","keywords":["font awesome","dashicons","icons"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string","default":"fab"},"icon":{"type":"string","default":"themeisle"},"link":{"type":"string"},"newTab":{"type":"boolean","default":false},"fontSize":{"type":["number","string"],"default":"16px"},"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},"isSynced":{"type":"array"}},"editorStyle":"otter-font-awesome-editor","style":"otter-font-awesome-style"}');const wt={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}},Ct=[{attributes:{id:{type:"string"},align:{type:"string"},library:{type:"string",default:"fontawesome"},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},isSynced:{type:"array"}},supports:{align:["left","center","right"]},save:e=>{let{attributes:t}=e;const l=we.ZP.icons[t.icon],o=s.useBlockProps.save({id:t.id});return(0,i.createElement)("p",o,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},"themeisle-icons"===t.library?(0,i.createElement)(l,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})):"themeisle-icons"===t.library?(0,i.createElement)(l,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})))}},{attributes:wt,supports:{align:["left","center","right"]},migrate:e=>{let t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),{...e,align:t,className:""}},save:e=>{let{attributes:t,className:l}=e;const o={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},a={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(0,i.createElement)("p",{className:l,style:{textAlign:t.align}},(0,i.createElement)("span",{className:`${l}-container`,style:a},(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`,style:o})))}},{attributes:{...wt,align:{type:"string"}},save:e=>{let{attributes:t,className:l}=e;const o={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},a={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(0,i.createElement)("p",{className:l,style:{textAlign:t.align}},(0,i.createElement)("span",{className:"undefined-container",style:a},(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`,style:o})))}},{attributes:{...wt,id:{type:"string"},align:{type:"string"},link:{type:"string"},newTab:{type:"boolean",default:!1},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"}},save:e=>{let{attributes:t,className:l}=e;const o={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},a={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},n=()=>(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`,style:a});return(0,i.createElement)("p",{className:l,id:t.id,style:{textAlign:t.align}},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:o},t.link?(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},(0,i.createElement)(n,null)):(0,i.createElement)(n,null)))}}];var Et=Ct;const xt={left:"flex-start",center:"center",right:"flex-end","flex-start":"left","flex-end":"right"};var St=e=>{var t,l,o,a;let{attributes:n,setAttributes:r,isSelected:c}=e;const{responsiveSetAttributes:d,responsiveGetAttributes:u}=S(r);return(0,i.createElement)(s.BlockControls,null,(0,i.createElement)(s.AlignmentToolbar,{value:xt[null!==(t=u([null===(l=Lt(n.align))||void 0===l?void 0:l.desktop,null===(o=Lt(n.align))||void 0===o?void 0:o.tablet,null===(a=Lt(n.align))||void 0===a?void 0:a.mobile]))&&void 0!==t?t:"center"],onChange:e=>d(""===e?void 0:xt[e],["align.desktop","align.tablet","align.mobile"],Lt(n.align))}),(0,i.createElement)(ke.Z,{isSelected:c,setAttributes:r,url:n.link,opensInNewTab:n.newTab}))},Tt=l(3159);const Mt=[{name:(0,o.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"32px",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"48px",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"60px",slug:"xl"}];var Bt=e=>{var t,l,a,n,r;let{attributes:d,setAttributes:u,getValue:b}=e;const[m,p]=(0,i.useState)(!1),{responsiveSetAttributes:g,responsiveGetAttributes:h}=S(u);return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Icon","otter-blocks")},(0,i.createElement)(_.Z,{label:(0,o.__)("Icon Picker","otter-blocks"),library:d.library,prefix:d.prefix,icon:d.icon,changeLibrary:e=>{u({library:e,icon:"fontawesome"===e?"themeisle":"balance",prefix:"fab"})},onChange:e=>{u("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(Tt.Z,{field:"fontSize",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(c.FontSizePicker,{fontSizes:Mt,withReset:!0,value:null!==(t=d.fontSize)&&void 0!==t?t:"16px",onChange:e=>u({fontSize:e})})),(0,i.createElement)(Tt.Z,{field:"padding",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Padding","otter-blocks"),value:b("padding"),initialPosition:5,onChange:e=>u({padding:e}),step:.1,min:0,max:100})),(0,i.createElement)(Tt.Z,{field:"margin",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Margin","otter-blocks"),value:b("margin"),initialPosition:5,onChange:e=>u({margin:e}),step:.1,min:0,max:100})),(0,i.createElement)(M.Z,{label:(0,o.__)("Alignment","otter-blocks"),className:"buttons-alignment-control"},(0,i.createElement)(pe.Z,{value:null!==(l=h([null===(a=Lt(d.align))||void 0===a?void 0:a.desktop,null===(n=Lt(d.align))||void 0===n?void 0:n.tablet,null===(r=Lt(d.align))||void 0===r?void 0:r.mobile]))&&void 0!==l?l:"center",onChange:e=>g(""===e?void 0:e,["align.desktop","align.tablet","align.mobile"],Lt(d.align)),options:[{icon:bt.Z,label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{icon:mt.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:pt.Z,label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}],hasIcon:!0}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.ButtonGroup,null,(0,i.createElement)(c.Button,{isSmall:!0,isSecondary:m,isPrimary:!m,onClick:()=>p(!1)},(0,o.__)("Normal","otter-blocks")),(0,i.createElement)(c.Button,{isSmall:!0,isSecondary:!m,isPrimary:m,onClick:()=>p(!0)},(0,o.__)("Hover","otter-blocks"))),m?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Tt.Z,{field:"backgroundColorHover",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Hover Background","otter-blocks"),colorValue:b("backgroundColorHover"),onColorChange:e=>u({backgroundColorHover:e})})),(0,i.createElement)(Tt.Z,{field:"textColorHover",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Hover Icon","otter-blocks"),colorValue:b("textColorHover"),onColorChange:e=>u({textColorHover:e})})),(0,i.createElement)(s.ContrastChecker,{textColor:b("textColorHover"),backgroundColor:b("backgroundColorHover")}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Hover Border","otter-blocks"),colorValue:d.borderColorHover,onColorChange:e=>u({borderColorHover:e})})):(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Tt.Z,{field:"backgroundColor",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Background","otter-blocks"),colorValue:b("backgroundColor"),onColorChange:e=>u({backgroundColor:e})})),(0,i.createElement)(Tt.Z,{field:"textColor",isSynced:d.isSynced,setAttributes:u},(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Icon","otter-blocks"),colorValue:b("textColor"),onColorChange:e=>u({textColor:e})})),(0,i.createElement)(s.ContrastChecker,{textColor:b("textColor"),backgroundColor:b("backgroundColor")}),(0,i.createElement)(s.__experimentalColorGradientControl,{label:(0,o.__)("Border","otter-blocks"),colorValue:d.borderColor,onColorChange:e=>u({borderColor:e})}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Border Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Border Size","otter-blocks"),value:d.borderSize,onChange:e=>u({borderSize:e}),step:.1,min:0,max:120}),(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Border Radius","otter-blocks"),value:d.borderRadius,onChange:e=>u({borderRadius:e}),step:.1,min:0,max:100})))};const{attributes:zt}=_t,Pt={right:"flex-end",center:"center",left:"flex-start"},Lt=e=>{var t;return(0,K.isString)(e)?{desktop:null!==(t=null==Pt?void 0:Pt[e])&&void 0!==t?t:"center"}:e};const{name:Rt}=_t;(0,a.registerBlockType)(Rt,{..._t,title:(0,o.__)("Icon","otter-blocks"),description:(0,o.__)("Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","otter-blocks"),icon:r.faIcon,keywords:["font awesome","dashicons","icons"],deprecated:Et,edit:e=>{var t,l,o;let{name:a,attributes:n,setAttributes:r,isSelected:c,clientId:d}=e;(0,i.useEffect)((()=>{const e=(0,L.blockInit)(d,zt);return()=>e(n.id)}),[n.id]);const u=we.ZP.icons[n.icon],b=e=>(0,L.getDefaultValueByField)({name:a,field:e,defaultAttributes:zt,attributes:n}),m={"--align":n.align,"--border-color":n.borderColor,"--border-size":void 0!==n.borderSize&&`${n.borderSize}px`,"--border-radius":void 0!==n.borderRadius&&`${n.borderRadius}%`,"--margin":void 0!==n.margin&&`${b("margin")}px`,"--padding":void 0!==n.padding&&`${b("padding")}px`,"--font-size":void 0!==n.fontSize&&((0,K.isNumber)(b("fontSize"))?`${b("fontSize")}px`:b("fontSize")),"--align":null===(t=Lt(n.align))||void 0===t?void 0:t.desktop,"--align-tablet":null===(l=Lt(n.align))||void 0===l?void 0:l.tablet,"--align-mobile":null===(o=Lt(n.align))||void 0===o?void 0:o.mobile},[p,g]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{g([`.wp-block-themeisle-blocks-font-awesome-icons-container {\n\t\t\t\tcolor: ${b("textColor")};\n\t\t\t\tbackground-color: ${b("backgroundColor")};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container:hover {\n\t\t\t\tcolor: ${b("textColorHover")};\n\t\t\t\tbackground-color: ${b("backgroundColorHover")};\n\t\t\t\tborder-color: ${n.borderColorHover};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container a {\n\t\t\t\tcolor: ${b("textColor")};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container svg {\n\t\t\t\tfill: ${b("textColor")};\n\t\t\t}`,`.wp-block-themeisle-blocks-font-awesome-icons-container:hover svg {\n\t\t\t\tfill: ${b("textColorHover")};\n\t\t\t}`])}),[n.textColor,n.backgroundColor,n.textColorHover,n.backgroundColorHover,n.borderColorHover,n.fontSize]);const h=(0,s.useBlockProps)({id:n.id,style:m,className:p});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(St,{attributes:n,setAttributes:r,isSelected:c}),(0,i.createElement)(Bt,{attributes:n,setAttributes:r,getValue:b}),(0,i.createElement)("div",h,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},"themeisle-icons"===n.library?(0,i.createElement)(u,null):(0,i.createElement)("i",{className:`${n.prefix} fa-${n.icon}`}))))},save:e=>{let{attributes:t}=e;const l=we.ZP.icons[t.icon],o=s.useBlockProps.save({id:t.id});return(0,i.createElement)("div",o,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?(0,i.createElement)("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},"themeisle-icons"===t.library?(0,i.createElement)(l,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})):"themeisle-icons"===t.library?(0,i.createElement)(l,null):(0,i.createElement)("i",{className:`${t.prefix} fa-${t.icon}`})))},example:{attributes:{fontSize:70}}});var Ft=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form","title":"Form","category":"themeisle-blocks","description":"Display a form for your clients. Powered by Otter.","keywords":["business","form","email"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"subject":{"type":"string"},"emailTo":{"type":"string"},"fromName":{"type":"string"},"optionName":{"type":"string"},"hasCaptcha":{"type":"boolean"},"provider":{"type":"string","default":""},"listId":{"type":"string"},"action":{"type":"string","default":"subscribe"},"submitLabel":{"type":"string"},"sendUserEmail":{"type":"boolean"},"redirectLink":{"type":"string"},"inputPadding":{"type":"object"},"labelColor":{"type":"string"},"helpLabelColor":{"type":"string"},"inputRequiredColor":{"type":"string"},"inputBorderRadius":{"type":"number"},"inputBorderColor":{"type":"string"},"inputBorderWidth":{"type":"number"},"submitMessage":{"type":"string"},"inputWidth":{"type":"number"},"submitMessageColor":{"type":"string"},"submitMessageErrorColor":{"type":"string"},"submitBackgroundColor":{"type":"string"},"submitBackgroundColorHover":{"type":"string"},"submitColor":{"type":"string"},"inputGap":{"type":"number"},"inputColor":{"type":"string"},"inputBackgroundColor":{"type":"string"},"inputsGap":{"type":"number"},"labelFontSize":{"type":"string"},"submitFontSize":{"type":"string"},"messageFontSize":{"type":"string"},"helpFontSize":{"type":"string"},"inputFontSize":{"type":"string"},"submitStyle":{"type":"string"},"isSynced":{"type":"array"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-form-editor","style":"otter-form-style","script":"otter-form"}');const At=[{attributes:{id:{type:"string"},subject:{type:"string"},emailTo:{type:"string"},optionName:{type:"string"},hasCaptcha:{type:"boolean"},provider:{type:"string",default:""},apiKey:{type:"string"},listId:{type:"string"},action:{type:"string",default:"subscribe"}},supports:{align:["wide","full"]},save:e=>{let{attributes:t}=e;const l=t.provider&&t.apiKey&&t.listId,a=s.useBlockProps.save({id:t.id,className:g()({"is-subscription":l&&"subscribe"===t.action,"can-submit-and-subscribe":l&&"submit-subscribe"===t.action,"has-captcha":t.hasCaptcha}),"data-email-subject":t.subject,"data-option-name":t.optionName});return(0,i.createElement)("div",a,(0,i.createElement)("div",{className:"otter-form__container"},(0,i.createElement)(s.InnerBlocks.Content,null),(0,i.createElement)("div",{className:"wp-block-button"},(0,i.createElement)("button",{className:"wp-block-button__link"},"subscribe"===t.action?(0,o.__)("Subscribe","otter-blocks"):(0,o.__)("Submit","otter-blocks")))))}}];var Ht=At,Ot=l(8101),Nt=l.n(Ot),Vt=l(6989),It=l.n(Vt);const Dt=e=>(null==e?void 0:e[1])&&e[0]!==e[1],Gt=e=>Boolean(0<e.filter(Dt).length),$t=[{name:(0,o.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}];var Wt=e=>{var t,l,a,n,r,d,u,b,m,p,g;let{attributes:h,setAttributes:v}=e;const{listIDOptions:y,setListIDOptions:k,saveFormEmailOptions:f,saveIntegration:_,savedFormOptions:w,sendTestEmail:C,loadingState:E,formOptions:x,setFormOption:S,testService:T,hasEmailField:M}=(0,i.useContext)(Ut),B=Gt([[x.emailTo,null==w?void 0:w.email],[x.subject,null==w?void 0:w.emailSubject],[x.redirectLink,null==w?void 0:w.redirectLink],[x.fromName,null==w?void 0:w.fromName],[x.submitMessage,null==w?void 0:w.submitMessage],[x.cc,null==w?void 0:w.cc],[x.bcc,null==w?void 0:w.bcc],[x.hasCaptcha,null==w?void 0:w.hasCaptcha]]),z=Gt([[x.provider,null==w||null===(t=w.integration)||void 0===t?void 0:t.provider],[x.listId,null==w||null===(l=w.integration)||void 0===l?void 0:l.listId],[x.action,null==w||null===(a=w.integration)||void 0===a?void 0:a.action]]);return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(s.PanelColorSettings,{title:(0,o.__)("Form Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:h.labelColor,onChange:e=>v({labelColor:e}),label:(0,o.__)("Label","otter-blocks")},{value:h.helpLabelColor,onChange:e=>v({helpLabelColor:e}),label:(0,o.__)("Help Label","otter-blocks")},{value:h.inputBorderColor,onChange:e=>v({inputBorderColor:e}),label:(0,o.__)("Border","otter-blocks")},{value:h.inputRequiredColor,onChange:e=>v({inputRequiredColor:e}),label:(0,o.__)("Label Required","otter-blocks")},{value:h.inputColor,onChange:e=>v({inputColor:e}),label:(0,o.__)("Input Text","otter-blocks")},{value:h.inputBackgroundColor,onChange:e=>v({inputBackgroundColor:e}),label:(0,o.__)("Input Background","otter-blocks")}]}),(0,i.createElement)(s.PanelColorSettings,{title:(0,o.__)("Button Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:h.submitColor,onChange:e=>v({submitColor:e}),label:(0,o.__)("Submit Text","otter-blocks")},{value:h.submitBackgroundColor,onChange:e=>v({submitBackgroundColor:e}),label:(0,o.__)("Button Background","otter-blocks")},{value:h.submitBackgroundColorHover,onChange:e=>v({submitBackgroundColorHover:e}),label:(0,o.__)("Button Background on Hover","otter-blocks")},{value:h.submitMessageColor,onChange:e=>v({submitMessageColor:e}),label:(0,o.__)("Successful Message","otter-blocks")},{value:h.submitMessageErrorColor,onChange:e=>v({submitMessageErrorColor:e}),label:(0,o.__)("Error Message","otter-blocks")}]}),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Label Styling","otter-blocks"),initialOpen:!1},(0,i.createElement)(Tt.Z,{field:"inputGap",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Spacing","otter-blocks"),value:null!==(n=h.inputGap)&&void 0!==n?n:10,onChange:e=>v({inputGap:e}),allowReset:!0,step:.1,min:0,max:50,initialPositino:10})),(0,i.createElement)(Tt.Z,{field:"labelFontSize",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.FontSizePicker,{label:(0,o.__)("Font Size","otter-blocks"),fontSizes:$t,withReset:!0,value:h.labelFontSize,onChange:e=>v({labelFontSize:e})}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Input Styling","otter-blocks"),initialOpen:!1},(0,i.createElement)(Tt.Z,{field:"inputFontSize",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.FontSizePicker,{label:(0,o.__)("Input Font Size","otter-blocks"),fontSizes:$t,withReset:!0,value:h.inputFontSize,onChange:e=>v({inputFontSize:e})})),(0,i.createElement)(Tt.Z,{field:"inputsGap",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Fields Spacing","otter-blocks"),value:null!==(r=h.inputsGap)&&void 0!==r?r:16,onChange:e=>v({inputsGap:e}),allowReset:!0,min:0,max:50,initialPosition:16})),(0,i.createElement)(Tt.Z,{field:"inputPadding",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.__experimentalBoxControl,{label:(0,o.__)("Input Padding","otter-blocks"),values:null!==(d=h.inputPadding)&&void 0!==d?d:{top:"8px",right:"8px",bottom:"8px",left:"8px"},inputProps:{min:0,max:500},onChange:e=>v({inputPadding:e})})),(0,i.createElement)(Tt.Z,{field:"inputsBorderRadius",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Border Radius","otter-blocks"),value:null!==(u=h.inputBorderRadius)&&void 0!==u?u:4,onChange:e=>v({inputBorderRadius:e}),allowReset:!0,step:.1,min:0,max:50})),(0,i.createElement)(Tt.Z,{field:"inputsBorderWidth",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Border Width","otter-blocks"),value:null!==(b=h.inputBorderWidth)&&void 0!==b?b:1,onChange:e=>v({inputBorderWidth:e}),allowReset:!0,step:.1,min:0,max:50})),(0,i.createElement)(Tt.Z,{field:"helpFontSize",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Help Text Font Size","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{label:(0,o.__)("Help Font Size","otter-blocks"),fontSizes:$t,withReset:!0,value:h.helpFontSize,onChange:e=>v({helpFontSize:e})})))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Button","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.TextControl,{label:(0,o.__)("Label","otter-blocks"),placeholder:(0,o.__)("Submit","otter-blocks"),value:h.submitLabel,onChange:e=>v({submitLabel:e}),help:(0,o.__)("Set the label for the submit button.","otter-blocks")}),(0,i.createElement)(Tt.Z,{field:"submitFontSize",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.FontSizePicker,{label:(0,o.__)("Font Size","otter-blocks"),fontSizes:$t,withReset:!0,value:h.submitFontSize,onChange:e=>v({submitFontSize:e})})),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Alignment","otter-blocks"),value:h.submitStyle,options:[{label:"Default",value:""},{label:"Right",value:"right"},{label:"Full",value:"full"}],onChange:e=>v({submitStyle:e})}),(0,i.createElement)(Tt.Z,{field:"messageFontSize",isSynced:h.isSynced,setAttributes:v},(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Message Font Size","otter-blocks")},(0,i.createElement)(c.FontSizePicker,{label:(0,o.__)("Message Font Size","otter-blocks"),fontSizes:$t,withReset:!0,value:h.messageFontSize,onChange:e=>v({messageFontSize:e})})))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Form Options","otter-blocks"),initialOpen:!1},"loading"===(null==E?void 0:E.formOptions)&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,i.createElement)(c.Spinner,null),(0,o.__)("Loading the options. Please wait...","otter-blocks")),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Email Subject","otter-blocks"),placeholder:(0,o.__)("A new submission","otter-blocks"),value:x.subject,onChange:e=>S({subject:e}),help:(0,o.__)("Customize the title of the email that you are gonna receive after a user submits the form.","otter-blocks")}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("From Name","otter-blocks"),value:x.fromName,onChange:e=>S({fromName:e}),help:(0,o.__)("Set the name of the sender. Some SMTP plugins might override this value.","otter-blocks")}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Email To","otter-blocks"),placeholder:(0,o.__)("Default is to admin site","otter-blocks"),type:"email",value:x.emailTo,onChange:e=>S({emailTo:e}),help:(0,o.__)("Send the form's data to another email. (Admin's email is default).","otter-blocks")}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Cc","otter-blocks"),placeholder:(0,o.__)("Send copies to","otter-blocks"),type:"text",value:x.cc,onChange:e=>S({cc:e}),help:(0,o.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Bcc","otter-blocks"),placeholder:(0,o.__)("Send copies to","otter-blocks"),type:"text",value:x.bcc,onChange:e=>S({bcc:e}),help:(0,o.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")}),(0,i.createElement)(c.TextareaControl,{label:(0,o.__)("Submit Success Message","otter-blocks"),placeholder:(0,o.__)("Success","otter-blocks"),value:x.submitMessage,onChange:e=>S({submitMessage:e}),help:(0,o.__)("Show this message after the form was successfully submitted.","otter-blocks")}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Redirect To","otter-blocks"),type:"url",placeholder:(0,o.__)("https://example.com","otter-blocks"),value:x.redirectLink,onChange:e=>S({redirectLink:e}),help:(0,o.__)("Redirect the user to another page when submit is successful.","otter-blocks")}),x.redirectLink&&(0,i.createElement)(c.ExternalLink,{href:x.redirectLink,style:{marginBottom:"10px",display:"block"}},(0,o.__)("Preview Redirect link.","otter-blocks")),(0,i.createElement)(c.Button,{isPrimary:!0,onClick:f,help:(0,o.__)("[WIP] Do not forget to save the options ","otter-blocks"),isBusy:"saving"===(null==E?void 0:E.formOptions)},"saving"===(null==E?void 0:E.formOptions)?(0,o.__)("Saving...","otter-blocks"):(0,o.__)("Apply Options","otter-blocks")),"done"===(null==E?void 0:E.formOptions)&&B&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,o.__)("You have made some modifications. Do not forget to save the options.","otter-blocks")),"error"===(null==E?void 0:E.formOptions)&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,o.__)("An error has occurred while saving. Please try again.","otter-blocks"))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Test SMTP","otter-blocks"),initialOpen:!1},(0,i.createElement)("span",null,(0,o.__)("In order for the Form to work properly, make sure your SMTP server is set up. The test email will be send to the address from the field Email To on Form Options.","otter-blocks")),(0,i.createElement)(c.ExternalLink,{href:"https://www.wpbeginner.com/wp-tutorials/how-to-use-smtp-server-to-send-wordpress-emails/",style:{marginLeft:"3px"}},(0,o.__)("Learn more.","otter-blocks")),(0,i.createElement)("br",null),(0,i.createElement)(c.Button,{variant:"primary",isPrimary:!0,style:{marginTop:"8px"},onClick:C},(0,o.__)("Send Test Email","otter-blocks"))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Bot Protection","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Add captcha checkbox","otter-blocks"),checked:h.hasCaptcha,onChange:e=>v({hasCaptcha:e}),help:(0,o.__)("Add Google reCaptcha V2 for protection againts bots. You will need an API Key.","otter-blocks")}),x.hasCaptcha&&(0,i.createElement)("div",{style:{display:"flow-root",margin:"10px 0px"}},(0,o.__)("You can change the reCaptcha API Keys in Settings > Otter. ","otter-blocks"),(0,i.createElement)(c.ExternalLink,{href:"https://www.google.com/recaptcha/about/",target:"_blank"},(0,o.__)("Learn more about reCaptcha.","otter-blocks")))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Marketing Integration","otter-blocks"),initialOpen:!1},(0,o.__)("Add your client email to a Digital Marketing provider.","otter-blocks"),(0,i.createElement)("br",null)," ",(0,i.createElement)("br",null),"loading"===(null==E?void 0:E.formIntegration)&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,i.createElement)(c.Spinner,null),(0,o.__)("Fetching data from server. Please wait.","otter-blocks")),(0,i.createElement)("b",null,(0,o.__)("You need to have at least one email field in your form. For multiple email fields, only the first will be used.","otter-blocks")),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Provider","otter-blocks"),value:x.provider,options:[{label:(0,o.__)("None","otter-blocks"),value:""},{label:(0,o.__)("Mailchimp","otter-blocks"),value:"mailchimp"},{label:(0,o.__)("Sendinblue","otter-blocks"),value:"sendinblue"}],onChange:e=>{S({provider:e,listId:"",apiKey:""})}}),x.provider&&(0,i.createElement)(i.Fragment,null,!x.apiKey&&(0,i.createElement)(i.Fragment,null,"mailchimp"===(null==x?void 0:x.provider)&&(0,i.createElement)(c.ExternalLink,{href:"https://us5.admin.mailchimp.com/account/api/",style:{marginBottom:"10px",display:"block"},target:"_blank"},(0,o.__)("Guide to generate the API Key.","otter-blocks")),"sendinblue"===(null==x?void 0:x.provider)&&(0,i.createElement)(c.ExternalLink,{href:"https://help.sendinblue.com/hc/en-us/articles/209467485-What-s-an-API-key-and-how-can-I-get-mine-",style:{marginBottom:"10px",display:"block"},target:"_blank"},(0,o.__)("Guide to generate the API Key.","otter-blocks"))),(0,i.createElement)(c.TextControl,{label:(0,o.__)("API Key","otter-blocks"),help:(0,o.__)("You can find the key in the provider's website","otter-blocks"),value:x.apiKey?`*************************${x.apiKey.slice(-8)}`:"",onChange:e=>{k([]),S({listId:"",apiKey:e})}}),x.apiKey&&2>y.length&&"loading"===(null==E?void 0:E.listId)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.Spinner,null),(0,o.__)("Loading the options.","otter-blocks"),(0,i.createElement)("br",null),(0,i.createElement)("br",null)),x.apiKey&&"error"===(null==E?void 0:E.listId)&&(0,i.createElement)(i.Fragment,null,(0,o.__)("Invalid API Key. Please check your API Key in the provider's Dashboard.","otter-blocks"),(0,i.createElement)(c.ExternalLink,{target:"_blank",style:{marginBottom:"10px",display:"block"},href:"sendinblue"===x.provider?"https://account.sendinblue.com/advanced/api":"https://us5.admin.mailchimp.com/account/api/"},(0,o.__)("Go to Dashboard.","otter-blocks"))),x.apiKey&&"timeout"===(null==E?void 0:E.listId)&&(0,i.createElement)("p",null,(0,o.__)("Could no connect to the server. Please try again.","otter-blocks")),x.apiKey&&"done"===(null==E?void 0:E.listId)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Contact List","otter-blocks"),value:x.listId,options:y,onChange:e=>S({listId:e})}),1>=(null==y?void 0:y.length)&&(0,i.createElement)("p",null,(0,o.__)("No Contact list found. Please create a list in your provider interface or check if the API key is correct.","otter-blocks")),2<=(null==y?void 0:y.length)&&x.listId&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Action","otter-blocks"),value:x.action,options:[{label:(0,o.__)("Default","otter-blocks"),value:""},{label:(0,o.__)("Subscribe","otter-blocks"),value:"subscribe"},{label:(0,o.__)("Submit & Subscribe","otter-blocks"),value:"submit-subscribe"}],onChange:e=>S({action:e})}),"submit-subscribe"===x.action&&(0,i.createElement)("div",{style:{marginBottom:"10px"}},(0,o.__)("This action will add the client to the contact list and send a separate email with the form data to administrator or to the email mentioned in 'Form to' field. A checkbox for data-sharing consent with third-party will be added on form.","otter-blocks"))))),(0,i.createElement)("div",{style:{display:"flex",flexDirection:"row",gap:"10px"}},(0,i.createElement)(c.Button,{isPrimary:!0,variant:"primary",onClick:_,isBusy:"saving"===(null==E?void 0:E.formIntegration)},"saving"===(null==E?void 0:E.formIntegration)?(0,o.__)("Saving","otter-blocks"):(0,o.__)("Save","otter-blocks")),h.optionName&&(null==w||null===(m=w.integration)||void 0===m?void 0:m.provider)&&(null==w||null===(p=w.integration)||void 0===p?void 0:p.apiKey)&&(null==w||null===(g=w.integration)||void 0===g?void 0:g.listId)&&(0,i.createElement)(c.Button,{isSecondary:!0,variant:"secondary",onClick:T,isBusy:"saving"===(null==E?void 0:E.serviceTesting)},(0,i.createElement)(i.Fragment,null,(0,o.__)("Test Service","otter-blocks")))),"done"===(null==E?void 0:E.formIntegration)&&z&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,o.__)("You have made some modifications. Do not forget to save the options.","otter-blocks")),"done"===(null==E?void 0:E.serviceTesting)&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,o.__)("Remember to delete the test email from your provider's contact list.","otter-blocks")),"done"===(null==E?void 0:E.formIntegration)&&(null==x?void 0:x.apiKey)&&(null==x?void 0:x.listId)&&!M&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,o.__)("Please add a Text Field with Email as type in your form for email registration.","otter-blocks")),"error"===(null==E?void 0:E.formIntegration)&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,o.__)("An error has occurred while saving. Please try again.","otter-blocks"))))},Zt=e=>{let{className:t,loadingState:l,isSaving:a,saveAPIKey:n,siteKey:r,secretKey:s,setSiteKey:d,setSecretKey:u}=e;if("loading"===(null==l?void 0:l.captcha))return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("br",null),(0,i.createElement)(c.Placeholder,null,(0,i.createElement)("div",null,(0,i.createElement)(c.Spinner,null),(0,o.__)("Checking the API Keys for reCaptcha","otter-blocks"))));const b=s&&0<(null==s?void 0:s.length)-13?Array(s.length-13).fill("*").join("")+s.slice(-13):s;return(0,i.createElement)(c.Placeholder,{icon:"admin-site",label:(0,o.__)("Google reCaptcha","otter-blocks"),instructions:(0,o.__)("A Google reCaptcha V2 API keys are required, please enter one below.","otter-blocks"),className:t},(0,i.createElement)("div",{className:"components-placeholder__actions",style:{width:"100%"}},(0,i.createElement)(c.TextControl,{type:"text",label:(0,o.__)("Site Key","otter-blocks"),value:r,className:"components-placeholder__input",onChange:d}),(0,i.createElement)(c.TextControl,{type:"text",label:(0,o.__)("Secret Key","otter-blocks"),value:b,className:"components-placeholder__input",onChange:u}),(0,i.createElement)(c.Button,{isPrimary:!0,type:"submit",onClick:n,isBusy:a,disabled:""===r||""===s},(0,o.__)("Save","otter-blocks"))),(0,i.createElement)("div",{className:"components-placeholder__learn-more",style:{margin:"10px 0px"}},(0,o.__)("You need to activate reCaptcha API.","otter-blocks")," ",(0,i.createElement)(c.ExternalLink,{href:"http://www.google.com/recaptcha/admin"},(0,o.__)("Need an API key? Get one here.","otter-blocks"))))};const{attributes:jt}=Ft,Ut=(0,i.createContext)({});var qt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-input","title":"Text Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["input","text","email"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"type":{"type":"string","default":"text"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"}},"supports":{"align":["wide","full"]}}'),Jt=e=>{let{attributes:t,setAttributes:l}=e;return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:t.type,options:[{label:(0,o.__)("Text","otter-blocks"),value:"text"},{label:(0,o.__)("Email","otter-blocks"),value:"email"},{label:(0,o.__)("Date","otter-blocks"),value:"date"},{label:(0,o.__)("Number","otter-blocks"),value:"number"}],onChange:e=>l({type:e})}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:t.label,onChange:e=>l({label:e})}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Placeholder","otter-blocks"),value:t.placeholder,onChange:e=>l({placeholder:e})}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Help Text","otter-blocks"),value:t.helpText,onChange:e=>l({helpText:e})}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Required","otter-blocks"),help:(0,o.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:t.isRequired,onChange:e=>l({isRequired:e})})),(0,i.createElement)(s.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.labelColor,onChange:e=>l({labelColor:e}),label:(0,o.__)("Label Color","otter-blocks")}]}))};const{attributes:Kt}=qt;const Yt=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save();return(0,i.createElement)("div",l,(0,i.createElement)("label",{htmlFor:t.id,className:"otter-form-input-label"},(0,i.createElement)(s.RichText.Content,{value:t.label,className:"otter-form-input-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},(0,o.__)("(required)","otter-blocks"))),(0,i.createElement)("input",{type:t.type,name:t.mappedName,id:t.id,required:t.isRequired,placeholder:t.placeholder,className:"otter-form-input"}))}}];var Qt=Yt;const{name:Xt}=qt;window.themeisleGutenberg.isAncestorTypeAvailable||(qt.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(Xt,{...qt,title:(0,o.__)("Text Field","otter-blocks"),description:(0,o.__)("Display a contact form for your clients.","otter-blocks"),icon:r.inputIcon,deprecated:Qt,keywords:["input","text","email"],variations:[{name:"themeisle-blocks/form-input-email",description:(0,o.__)("Insert an email field","otter-blocks"),icon:"email",title:(0,o.__)("Email Field","otter-blocks"),attributes:{type:"email"}},{name:"themeisle-blocks/form-input-number",description:(0,o.__)("Insert a number field","otter-blocks"),icon:"calculator",title:(0,o.__)("Number Field","otter-blocks"),attributes:{type:"number"}},{name:"themeisle-blocks/form-input-date",description:(0,o.__)("Insert a date field","otter-blocks"),icon:"calendar-alt",title:(0,o.__)("Date Field","otter-blocks"),attributes:{type:"date"}}],edit:e=>{let{attributes:t,setAttributes:l,clientId:a}=e;(0,i.useEffect)((()=>{const e=(0,L.blockInit)(a,Kt);return()=>e(t.id)}),[t.id]);const n=(0,s.useBlockProps)(),r=(0,i.useRef)(null),c=(0,i.useRef)(null),d=(0,i.useRef)(null);return(0,i.useEffect)((()=>{var e,l,o,a,n,i,s;c.current&&(null===(e=c.current)||void 0===e||null===(l=e.style)||void 0===l||l.setProperty("--input-width",(o=t.inputWidth)?o+"%":null)),r.current&&(null===(a=r.current)||void 0===a||null===(n=a.style)||void 0===n||n.setProperty("--label-color",t.labelColor||null)),d.current&&(null===(i=d.current)||void 0===i||null===(s=i.style)||void 0===s||s.setProperty("--label-color",t.labelColor||null))}),[c.current,r.current,d.current,t.labelColor,t.inputWidth]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Jt,{attributes:t,setAttributes:l}),(0,i.createElement)("div",n,(0,i.createElement)("label",{ref:r,htmlFor:t.id,className:"otter-form-input-label"},(0,i.createElement)(s.RichText,{placeholder:(0,o.__)("Type here…","otter-blocks"),className:"otter-form-input-label__label",value:t.label,onChange:e=>l({label:e}),tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("input",{ref:c,type:t.type,placeholder:t.placeholder,name:t.id,id:t.id,required:t.isRequired,disabled:!0,className:"otter-form-input components-text-control__input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help",ref:d},t.helpText)))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({id:t.id});return(0,i.createElement)("div",l,(0,i.createElement)("label",{htmlFor:t.id?t.id+"-input":"",className:"otter-form-input-label"},(0,i.createElement)(s.RichText.Content,{value:t.label,className:"otter-form-input-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("input",{type:t.type,name:t.mappedName,id:t.id?t.id+"-input":"",required:t.isRequired,placeholder:t.placeholder,className:"otter-form-input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help"},t.helpText))}});var el=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-nonce","title":"Nonce Field","category":"themeisle-blocks","description":"Protect the form from CSRF.","keywords":["protection","csrf","field"],"textdomain":"otter-blocks","attributes":{"formId":{"type":"string"}},"supports":{"align":["wide","full"],"inserter":false}}');const{name:tl}=el;(0,a.registerBlockType)(tl,{...el,title:(0,o.__)("Nonce Field","otter-blocks"),description:(0,o.__)("Protect the form from CSRF.","otter-blocks"),icon:r.inputIcon,keywords:["protection","csrf","field"],edit:e=>{let{setAttributes:t,clientId:l}=e;const{parent:o}=(0,v.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:o}=e("core/block-editor");return{parent:t(o(l))}}),[]);return(0,i.useEffect)((()=>{o&&t({formId:o.attributes.id})}),[o]),null},save:()=>null});var ll=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-textarea","title":"Textarea Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["textarea","message","input"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"}},"supports":{"align":["wide","full"]}}'),ol=e=>{let{attributes:t,setAttributes:l}=e;return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(c.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:t.label,onChange:e=>l({label:e})}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Placeholder","otter-blocks"),value:t.placeholder,onChange:e=>l({placeholder:e})}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Help Text","otter-blocks"),value:t.helpText,onChange:e=>l({helpText:e})}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Required","otter-blocks"),help:(0,o.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:t.isRequired,onChange:e=>l({isRequired:e})})))};const{attributes:al}=ll;const nl=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save();return(0,i.createElement)("div",l,(0,i.createElement)("label",{htmlFor:t.id,className:"otter-form-textarea-label"},(0,i.createElement)(s.RichText.Content,{value:t.label,className:"otter-form-textarea-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},(0,o.__)("(required)","otter-blocks"))),(0,i.createElement)("textarea",{name:t.mappedName,id:t.id,required:t.isRequired,placeholder:t.placeholder,rows:10,className:"otter-form-textarea-input"}))}}];var rl=nl;const{name:il}=ll;window.themeisleGutenberg.isAncestorTypeAvailable||(ll.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(il,{...ll,title:(0,o.__)("Textarea Field","otter-blocks"),description:(0,o.__)("Display a contact form for your clients.","otter-blocks"),icon:r.inputIcon,deprecated:rl,keywords:["textarea","message","input"],edit:e=>{let{attributes:t,setAttributes:l,clientId:a}=e;(0,i.useEffect)((()=>{const e=(0,L.blockInit)(a,al);return()=>e(t.id)}),[t.id]);const n=(0,s.useBlockProps)(),r=(0,i.useRef)(null),c=(0,i.useRef)(null),d=(0,i.useRef)(null);return(0,i.useEffect)((()=>{var e,l,o,a,n,i,s;c.current&&(null===(e=c.current)||void 0===e||null===(l=e.style)||void 0===l||l.setProperty("--input-width",(o=t.inputWidth)?o+"%":o)),r.current&&(null===(a=r.current)||void 0===a||null===(n=a.style)||void 0===n||n.setProperty("--label-color",t.labelColor||null)),d.current&&(null===(i=d.current)||void 0===i||null===(s=i.style)||void 0===s||s.setProperty("--label-color",t.labelColor||null))}),[c.current,r.current,t]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ol,{attributes:t,setAttributes:l}),(0,i.createElement)("div",n,(0,i.createElement)("label",{ref:r,htmlFor:t.id?t.id+"-input":"",className:"otter-form-textarea-label"},(0,i.createElement)(s.RichText,{placeholder:(0,o.__)("Type here…","otter-blocks"),className:"otter-form-textarea-label__label",value:t.label,onChange:e=>l({label:e}),tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("textarea",{ref:c,placeholder:t.placeholder,name:t.id,id:t.id?t.id+"-input":"",required:t.isRequired,disabled:!0,rows:10,className:"otter-form-textarea-input components-textarea-control__input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help",ref:d},t.helpText)))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({id:t.id});return(0,i.createElement)("div",l,(0,i.createElement)("label",{htmlFor:t.id?t.id+"-input":"",className:"otter-form-textarea-label"},(0,i.createElement)(s.RichText.Content,{value:t.label,className:"otter-form-textarea-label__label",tagName:"span"}),t.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("textarea",{name:t.mappedName,id:t.id?t.id+"-input":"",required:t.isRequired,placeholder:t.placeholder,rows:10,className:"otter-form-textarea-input"}),t.helpText&&(0,i.createElement)("span",{className:"o-form-help"},t.helpText))}});const{name:sl}=Ft;(0,a.registerBlockType)(sl,{...Ft,title:(0,o.__)("Form","otter-blocks"),description:(0,o.__)("Display a form for your clients. Powered by Otter.","otter-blocks"),icon:r.contactIcon,keywords:["business","form","email"],edit:e=>{let{attributes:t,setAttributes:l,clientId:n,isSelected:r,name:c}=e;const[d,u]=(0,i.useState)(""),[b,m]=(0,i.useState)(""),[p,h]=(0,i.useState)({formOptions:"done",formIntegration:"done",listId:"init",captcha:"init",serviceTesting:"init"}),y=e=>{h((t=>({...t,...e})))},[k,f]=(0,i.useState)({provider:void 0,redirectLink:void 0,fromName:void 0,emailTo:void 0,subject:void 0,email:void 0,listId:void 0,action:void 0,hasCaptcha:void 0,submitMessage:void 0,apiKey:void 0,cc:void 0,bcc:void 0}),[_,w]=(0,i.useState)(!0),[C,E]=(0,i.useState)([{label:(0,o.__)("None","otter-blocks"),value:""}]),{insertBlock:x,removeBlock:S}=(0,v.useDispatch)("core/block-editor"),{replaceInnerBlocks:T}=(0,v.useDispatch)("core/block-editor"),{createNotice:M}=(0,v.dispatch)("core/notices"),B=(0,v.useSelect)((e=>0<e("core/block-editor").getBlocks(n).length),[n]),{blockType:z,defaultVariation:P,variations:R}=(0,v.useSelect)((e=>{const{getBlockVariations:t,getBlockType:l,getDefaultBlockVariation:o}=e("core/blocks");return{blockType:l(c),defaultVariation:o(c,"block"),variations:t(c,"block")}}),[c]),{children:F,hasEmailField:A}=(0,v.useSelect)((e=>{const{getBlock:t}=e("core/block-editor"),l=t(n).innerBlocks;return{children:l,hasEmailField:null==l?void 0:l.some((e=>{var t;return"email"===(null==e||null===(t=e.attributes)||void 0===t?void 0:t.type)}))}}));(0,i.useEffect)((()=>{const e=(0,L.blockInit)(n,jt);return()=>e(t.id)}),[t.id]),(0,i.useEffect)((()=>{var e;t.id&&(0,v.select)("core/edit-widgets")?l({optionName:`widget_${t.id.slice(-8)}`}):t.id&&Boolean(window.themeisleGutenberg.isBlockEditor)&&null!==(e=(0,v.select)("core/editor"))&&void 0!==e&&e.getCurrentPostId()&&l({optionName:`${(0,v.select)("core/editor").getCurrentPostId()}_${t.id.slice(-8)}`})}),[t.id]),(0,i.useEffect)((()=>{if(F){const e=F.filter((e=>{let{name:t}=e;return"themeisle-blocks/form-nonce"===t}));if(2<=(null==e?void 0:e.length))e.slice(1).forEach((e=>{S(e.clientId,!1)}));else if(0===(null==e?void 0:e.length)&&n){const e=(0,a.createBlock)("themeisle-blocks/form-nonce");e&&(null==x||x(e,(null==F?void 0:F.length)||0,n,!1))}}}),[F]);const H=e=>null==e?void 0:e.filter((e=>{let{form:l}=e;return l===t.optionName})).pop(),O=e=>{var t,l,o,a;f({emailTo:null==e?void 0:e.email,fromName:null==e?void 0:e.fromName,redirectLink:null==e?void 0:e.redirectLink,subject:null==e?void 0:e.emailSubject,cc:null==e?void 0:e.cc,bcc:null==e?void 0:e.bcc,submitMessage:null==e?void 0:e.submitMessage,provider:null==e||null===(t=e.integration)||void 0===t?void 0:t.provider,apiKey:null==e||null===(l=e.integration)||void 0===l?void 0:l.apiKey,listId:null==e||null===(o=e.integration)||void 0===o?void 0:o.listId,action:null==e||null===(a=e.integration)||void 0===a?void 0:a.action,hasCaptcha:null==e?void 0:e.hasCaptcha})};(0,i.useEffect)((()=>{let e=new AbortController;const l=setTimeout((()=>{y({formOptions:"done",formIntegration:"done"})}),3e3);return t.optionName&&Nt().loadPromise.then((()=>{y({formOptions:"loading",formIntegration:"loading"}),(new(Nt().models.Settings)).fetch({signal:e.signal}).done((t=>{e=null;const o=H(t.themeisle_blocks_form_emails);o&&(O(o),w(o)),y({formIntegration:"done",formOptions:"done"}),clearTimeout(l)})).catch((()=>{y({formIntegration:"done",formOptions:"done"}),clearTimeout(l)}))})),()=>{var t;null===(t=e)||void 0===t||t.abort(),clearTimeout(l)}}),[t.optionName]),(0,i.useEffect)((()=>{let e,t=new AbortController;return k.apiKey&&k.provider&&(e=setTimeout((()=>y({listId:"timeout"})),6e3),y({listId:"loading"}),It()({path:"otter/v1/form/editor",method:"POST",data:{handler:"listId",payload:{provider:k.provider,apiKey:k.apiKey,action:k.action}},signal:t.signal}).then((l=>{if(t=null,clearTimeout(e),null!=l&&l.success){var a;const e=(null==l||null===(a=l.list_id)||void 0===a?void 0:a.map((e=>{var t;return{label:e.name,value:null===(t=e.id)||void 0===t?void 0:t.toString()}})))||[];e.splice(0,0,{label:(0,o.__)("None","otter-blocks"),value:""}),E(e),y({listId:"done"});const t=1===e.map((e=>{let{value:t}=e;return t})).filter((e=>e===k.listId)).length;k.listId&&!t&&M("error",(0,o.__)("The current contact list is invalid. Please choose a new contact list.","otter-blocks"),{isDismissible:!0,type:"snackbar"})}else M("error",null==l?void 0:l.error,{isDismissible:!0,type:"snackbar",id:"themeisle-form-server-error"}),y({listId:"error"})})).catch((e=>{console.error(e),y({listId:"error"})}))),()=>{var l;null===(l=t)||void 0===l||l.abort(),clearTimeout(e)}}),[k.apiKey,k.provider]),(0,i.useEffect)((()=>{let e=new AbortController;if(void 0!==t.hasCaptcha&&t.optionName)try{var l,a;null===(l=new(Nt().models.Settings))||void 0===l||null===(a=l.current)||void 0===a||a.fetch({signal:e.signal}).done((l=>{e=null;const a=l.themeisle_blocks_form_emails?l.themeisle_blocks_form_emails:[];let n=!0,r=!1;null==a||a.forEach(((e,l)=>{let{form:o}=e;o===t.optionName&&(a[l].hasCaptcha!==t.hasCaptcha&&(r=!0),a[l].hasCaptcha=t.hasCaptcha,n=!1)})),n&&a.push({form:t.optionName,hasCaptcha:t.hasCaptcha}),(n||r)&&(new(Nt().models.Settings)({themeisle_blocks_form_emails:a}).save(),M("info",(0,o.__)("Form preferences have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}))}))}catch(e){console.warn(e.message)}return()=>{var t;return null===(t=e)||void 0===t?void 0:t.abort()}}),[t.hasCaptcha,t.optionName]),(0,i.useEffect)((()=>{let e=new AbortController;return t.hasCaptcha&&"init"===(null==p?void 0:p.captcha)&&(()=>{y({captcha:"loading"});try{var t;null===(t=new(Nt().models.Settings))||void 0===t||t.fetch({signal:e.signal}).then((t=>{e=null,""!==t.themeisle_google_captcha_api_site_key&&""!==t.themeisle_google_captcha_api_secret_key?y({captcha:"done"}):(y({captcha:"missing"}),u(t.themeisle_google_captcha_api_site_key),m(t.themeisle_google_captcha_api_secret_key))})).catch((e=>{console.error(e),y({captcha:"error"})}))}catch(e){console.warn(e.message),y({captcha:"error"})}})(),()=>{var t;return null===(t=e)||void 0===t?void 0:t.abort()}}),[p.captcha,t.hasCaptcha]);const N={"--message-font-size":void 0!==t.messageFontSize&&t.messageFontSize,"--input-font-size":void 0!==t.inputFontSize&&t.inputFontSize,"--help-font-size":void 0!==t.helpFontSize&&t.helpFontSize,"--input-color":t.inputColor,"--padding":(V=t.inputPadding,V?V.top+" "+V.right+" "+V.bottom+" "+V.left:null),"--border-radius":void 0!==t.inputBorderRadius&&t.inputBorderRadius+"px","--border-width":void 0!==t.inputBorderWidth&&t.inputBorderWidth+"px","--border-color":t.inputBorderColor,"--label-color":t.labelColor,"--input-width":void 0!==t.inputWidth&&t.inputWidth+"%","--submit-color":t.submitColor,"--required-color":t.inputRequiredColor,"--input-gap":void 0!==t.inputGap&&t.inputGap+"px","--inputs-gap":void 0!==t.inputsGap&&t.inputsGap+"px","--label-font-size":void 0!==t.labelFontSize&&t.labelFontSize,"--submit-font-size":void 0!==t.submitFontSize&&t.submitFontSize,"--help-label-color":t.helpLabelColor,"--input-bg-color":t.inputBackgroundColor};var V;const[I,D]=(0,L.useCSSNode)();(0,i.useEffect)((()=>{D([`.otter-form__container .wp-block-button__link {\n\t\t\t\tbackground-color: ${t.submitBackgroundColor}\n\t\t\t}`,`.otter-form__container .wp-block-button__link:hover {\n\t\t\t\t${t.submitBackgroundColorHover&&`background-color: ${t.submitBackgroundColorHover}`}\n\t\t\t}`])}),[t.submitBackgroundColor,t.submitBackgroundColorHover]);const G=(0,s.useBlockProps)({id:t.id,style:N,className:I});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Ut.Provider,{value:{savedFormOptions:_,listIDOptions:C,setListIDOptions:E,saveFormEmailOptions:()=>{y({formOptions:"saving"}),(new(Nt().models.Settings)).fetch().done((e=>{const l=e.themeisle_blocks_form_emails?e.themeisle_blocks_form_emails:[];let a=!0,n=!1;null==l||l.forEach(((e,o)=>{let{form:r}=e;r===t.optionName&&(n=l[o].email!==k.emailTo||l[o].redirectLink!==k.redirectLink||l[o].emailSubject!==k.subject||l[o].submitMessage!==k.submitMessage||l[o].fromName!==k.fromName||l[o].cc!==k.cc||l[o].bcc!==k.bcc,l[o].email=k.emailTo,l[o].redirectLink=k.redirectLink,l[o].emailSubject=k.subject,l[o].submitMessage=k.submitMessage,l[o].fromName=k.fromName,l[o].cc=k.cc,l[o].bcc=k.bcc,a=!1)})),a&&l.push({form:t.optionName,email:k.emailTo,fromName:k.fromName,redirectLink:k.redirectLink,emailSubject:k.subject,submitMessage:k.submitMessage,cc:k.cc,bcc:k.bcc}),a||n?new(Nt().models.Settings)({themeisle_blocks_form_emails:l}).save().then((e=>{const t=H(e.themeisle_blocks_form_emails);t?(O(t),w(t),y({formOptions:"done"}),M("info",(0,o.__)("Form options have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"})):y({formOptions:"error"})})):y({formOptions:"done"})})).catch((()=>y({formOptions:"error"})))},formOptions:k,setFormOption:e=>{f((t=>({...t,...e})))},saveIntegration:()=>{var e;y({formIntegration:"saving"}),null===(e=new(Nt().models.Settings))||void 0===e||e.fetch().done((e=>{const a=e.themeisle_blocks_form_emails?e.themeisle_blocks_form_emails:[];let n=!0,r=!1;null==a||a.forEach(((e,l)=>{let{form:o}=e;var i,s,c,d,u;o===t.optionName&&(null!==(i=a[l])&&void 0!==i&&i.integration||(a[l].integration={}),r=(null===(s=a[l].integration)||void 0===s?void 0:s.provider)!==k.provider||(null===(c=a[l].integration)||void 0===c?void 0:c.listId)!==k.listId||(null===(d=a[l].integration)||void 0===d?void 0:d.action)!==k.action||(null===(u=a[l].integration)||void 0===u?void 0:u.apiKey)!==k.apiKey,n=!1,a[l].integration.provider=k.provider,a[l].integration.apiKey=k.apiKey,a[l].integration.listId=k.listId,a[l].integration.action=k.action)})),n&&a.push({form:t.optionName,integration:{provider:k.provider,apiKey:k.apiKey,listId:k.listId,action:k.action}}),n||r?new(Nt().models.Settings)({themeisle_blocks_form_emails:a}).save().then((e=>{const t=H(e.themeisle_blocks_form_emails);var a;t&&(O(t),w(t),l({action:null==t||null===(a=t.integration)||void 0===a?void 0:a.action})),y({formIntegration:"done"}),r&&M("info",(0,o.__)("Integration details have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),y({formIntegration:"error"})})):y({formIntegration:"done"})})).catch((()=>{y({formIntegration:"error"})}))},sendTestEmail:()=>{It()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{provider:"default",to:null==k?void 0:k.emailTo,site:window.location.href}}}).then((e=>{null!=e&&e.success?M("info",(0,o.__)("The test email has been send. Check your emails for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}):M("error",(0,o.__)("An error has occurred: ","otter-blocks")+((null==e?void 0:e.error)||(0,o.__)("unknown","otter-blocks")),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),M("error",null==e?void 0:e.message,{isDismissible:!0,type:"snackbar"})}))},loadingState:p,testService:()=>{y({serviceTesting:"loading"}),It()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{formOption:t.optionName}}}).then((e=>{null!=e&&e.success?(M("info",(0,o.__)("A test email has been registered to your contact list. Check your provider for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}),y({serviceTesting:"done"})):(M("error",(0,o.__)("An error has occurred: ","otter-blocks")+((null==e?void 0:e.error)||(0,o.__)("unknown","otter-blocks")+(0,o.__)(". Check your provider for confirmation.","otter-blocks")),{isDismissible:!0,type:"snackbar"}),y({serviceTesting:"error"}))})).catch((e=>{console.error(e),M("error",null==e?void 0:e.message,{isDismissible:!0,type:"snackbar"}),y({testService:"error"})}))},hasEmailField:A}},(0,i.createElement)(Wt,{attributes:t,setAttributes:l}),(0,i.createElement)("div",G,B?(0,i.createElement)("form",{className:"otter-form__container",onSubmit:()=>!1},(0,i.createElement)(s.InnerBlocks,null),t.hasCaptcha&&"done"!==(null==p?void 0:p.captcha)&&(0,i.createElement)(Zt,{className:"otter-form-captcha",loadingState:p,saveAPIKey:()=>{y({captcha:"loading"});try{var e,t,l;const a=new(Nt().models.Settings)({themeisle_google_captcha_api_site_key:d,themeisle_google_captcha_api_secret_key:b});null==a||null===(e=a.save)||void 0===e||null===(t=e.call(a))||void 0===t||null===(l=t.then((e=>{""!==e.themeisle_google_captcha_api_site_key&&""!==e.themeisle_google_captcha_api_secret_key?y({captcha:"done"}):y({captcha:"missing"}),m(""),u(""),M("info",(0,o.__)("Google reCaptcha API Keys have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}).catch((e=>{console.error(e),y({captcha:"error"})}))})))||void 0===l||l.catch((e=>{console.error(e),y({captcha:"error"})}))}catch(e){console.warn(e.message),y({captcha:"error"})}},siteKey:d,secretKey:b,setSiteKey:u,setSecretKey:m}),"submit-subscribe"===t.action&&(0,i.createElement)("div",{className:"otter-form-consent"},(0,i.createElement)("input",{id:"o-consent",name:"o-consent",type:"checkbox"}),(0,i.createElement)("label",{htmlFor:"o-consent"},(0,o.__)("I have read and agreed the privacy statement.","otter-blocks"))),(0,i.createElement)("div",{className:g()("wp-block-button has-submit-msg",{right:"right"===t.submitStyle},{full:"full"===t.submitStyle})},(0,i.createElement)("button",{className:"wp-block-button__link",type:"submit",disabled:!0},t.submitLabel?t.submitLabel:(0,o.__)("Submit","otter-blocks")),r&&(0,i.createElement)("div",null,(0,i.createElement)("div",{className:"o-form-server-response o-success",style:{color:t.submitMessageColor}},k.submitMessage||(0,o.__)("Success","otter-blocks")),(0,i.createElement)("div",{className:"o-form-server-response o-error",style:{color:t.submitMessageErrorColor,margin:"0px"}},(0,o.__)("Error. Please try again.","otter-blocks"))))):(0,i.createElement)(s.__experimentalBlockVariationPicker,{icon:(0,K.get)(z,["icon","src"]),label:(0,K.get)(z,["title"]),variations:R,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P;e&&T(n,(0,a.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))))},save:e=>{let{attributes:t}=e;const l=s.useBlockProps.save({id:t.id,className:g()({"can-submit-and-subscribe":"submit-subscribe"===t.action,"has-captcha":t.hasCaptcha}),"data-option-name":t.optionName});return(0,i.createElement)("div",l,(0,i.createElement)("form",{className:"otter-form__container"},(0,i.createElement)(s.InnerBlocks.Content,null),(0,i.createElement)("div",{className:g()("wp-block-button",{right:"right"===t.submitStyle},{full:"full"===t.submitStyle})},(0,i.createElement)("button",{className:"wp-block-button__link",type:"submit"},t.submitLabel?t.submitLabel:(0,o.__)("Submit","otter-blocks")))))},deprecated:Ht,example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/form-input",attributes:{label:(0,o.__)("Name","otter-blocks"),type:"text",isRequired:!0}},{name:"themeisle-blocks/form-input",attributes:{label:(0,o.__)("Email","otter-blocks"),type:"email",isRequired:!0}},{name:"themeisle-blocks/form-textarea",attributes:{label:(0,o.__)("Message","otter-blocks")}},{name:"core/paragraph",attributes:{content:(0,o.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}}]},variations:[{name:"themeisle-blocks/form-contact",description:(0,o.__)("Contact form for clients","otter-blocks"),icon:r.contactIcon,title:(0,o.__)("Contact Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,o.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,o.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["themeisle-blocks/form-textarea",{label:(0,o.__)("Message","otter-blocks")}],["core/paragraph",{content:(0,o.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]]},{name:"themeisle-blocks/form-subscribe",description:(0,o.__)("Add the clients to your subscription list","otter-blocks"),icon:r.contactIcon,title:(0,o.__)("Subscribe Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,o.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,o.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["core/paragraph",{content:(0,o.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]]}]});var cl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/google-map","title":"Google Maps","category":"themeisle-blocks","description":"Display Google Maps on your website with Google Map block. Powered by Otter.","keywords":["map","google","orbitfox"],"textdomain":"otter-blocks","attributes":{"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","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"draggable":{"type":"boolean","default":true},"mapTypeControl":{"type":"boolean","default":true},"zoomControl":{"type":"boolean","default":true},"fullscreenControl":{"type":"boolean","default":true},"streetViewControl":{"type":"boolean","default":true},"markers":{"type":"array","default":[]}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-google-map-editor","style":"otter-google-map-style","script":"google-maps"}'),dl=l(4586),ul=e=>{let{api:t,error:l,isAPILoaded:a,isAPISaved:n,isSaving:r,changeAPI:s,saveAPIKey:d}=e;return a?n?void 0:(0,i.createElement)(c.Placeholder,{icon:"admin-site",label:(0,o.__)("Google Maps","otter-blocks"),instructions:(0,o.__)("A Google Maps API key is required, please enter one below.","otter-blocks")},(0,i.createElement)("div",{className:"components-placeholder__actions"},(0,i.createElement)(c.TextControl,{type:"text",placeholder:(0,o.__)("Google Maps API Key","otter-blocks"),value:t,className:g()("components-placeholder__input",{"is-invalid":l}),onChange:s}),(0,i.createElement)(c.Button,{isPrimary:!0,type:"submit",onClick:d,isBusy:r,disabled:""===t||l},(0,o.__)("Save","otter-blocks"))),(0,i.createElement)("div",{className:"components-placeholder__learn-more"},l&&(0,i.createElement)("p",null,(0,o.__)("The API key could not be validated.","otter-blocks")),(0,i.createElement)("p",null,(0,o.__)("You need to activate Maps and Places API.","otter-blocks")," ",(0,i.createElement)(c.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,o.__)("Need an API key? Get one here.","otter-blocks"))))):(0,i.createElement)(c.Placeholder,null,(0,i.createElement)(c.Spinner,null),(0,o.__)("Loading…","otter-blocks"))},bl=l(5241);const ml=e=>{let{value:t,onChange:l}=e;const a=(0,Y.useInstanceId)(ml);(0,i.useEffect)((()=>{window.wp.oldEditor.initialize(r.current.id,{tinymce:{classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"}});const e=window.tinymce.get(r.current.id);return e.on("change",(()=>l(e.getContent()))),()=>window.wp.oldEditor.remove(r.current.id)}),[]);const n=`inspector-textarea-control-${a}`,r=(0,i.useRef)(null);return(0,i.createElement)(c.BaseControl,{id:n,label:(0,o.__)("Description","otter-blocks")},(0,i.createElement)("textarea",{id:n,className:"components-textarea-control__input",rows:4,value:t,onChange:e=>l(e.target.value),ref:r}))};var pl=ml,gl=e=>{let{marker:t,isOpen:l,isPlaceAPIAvailable:a,openMarker:n,removeMarker:r,changeMarkerProp:s}=e;const d=(0,i.useRef)(null);return(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker"},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},(0,i.createElement)(c.Button,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:()=>n(t.id)},t.title||(0,o.__)("Custom Marker","otter-blocks")),(0,i.createElement)(c.Button,{icon:"no-alt",label:(0,o.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:()=>r(t.id)})),(0,i.createElement)("div",{className:g()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===l})},(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Location","otter-blocks"),id:`themeisle-location-search-${t.id}`},(0,i.createElement)("input",{type:"text",id:`themeisle-location-search-${t.id}`,placeholder:(0,o.__)("Enter a location…","otter-blocks"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:d,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const l=new window.google.maps.places.SearchBox(d.current);l.addListener("places_changed",(()=>{const e=l.getPlaces();e&&0<e.length&&e.forEach((e=>{const l=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();s(t.id,"location",l),s(t.id,"latitude",o),s(t.id,"longitude",a)}))}))},onChange:e=>s(t.id,"location",e.target.value),disabled:!a}),!a&&(0,i.createElement)("p",null,(0,o.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,i.createElement)(c.ExternalLink,{href:"https://developers.google.com/places/web-service/intro"},(0,o.__)("More info.","otter-blocks")))),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",value:t.latitude,onChange:e=>s(t.id,"latitude",e)}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",value:t.longitude,onChange:e=>s(t.id,"longitude",e)}),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Map Icon","otter-blocks"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,o.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,o.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,o.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,o.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,o.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:e=>s(t.id,"icon",e)}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",value:t.title,onChange:e=>s(t.id,"title",e)}),(0,i.createElement)(pl,{label:(0,o.__)("Description","otter-blocks"),type:"text",value:t.description,onChange:e=>s(t.id,"description",e)})))},hl=e=>{let{initialOpen:t,markers:l,isPlaceAPIAvailable:a,addMarker:n,removeMarker:r,changeMarkerProp:s}=e;(0,i.useEffect)((()=>{!1!==t&&u(t)}),[t]);const[d,u]=(0,i.useState)(null),b=e=>{d===e&&(e=null),u(e)};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},l.map((e=>(0,i.createElement)(gl,{key:e.id,marker:e,isOpen:d,isPlaceAPIAvailable:a,openMarker:b,removeMarker:r,changeMarkerProp:s})))),(0,i.createElement)(c.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:n},(0,o.__)("Add Marker","otter-blocks")))},vl=e=>{let{attributes:t,setAttributes:l,map:a,changeStyle:n,isPlaceAPIAvailable:r,isMarkerOpen:d,setMarkerOpen:u,removeMarker:b,changeMarkerProp:m,addMarkerManual:p,api:g,isSaving:h,changeAPI:v,saveAPIKey:y}=e;const[f,_]=(0,i.useState)("settings"),{responsiveSetAttributes:E,responsiveGetAttributes:x}=S(l),T=(0,i.useRef)(null);return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)(w.Z,{value:f,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:_}),"settings"===f&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Location","otter-blocks")},(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Location"),id:"wp-block-themeisle-blocks-google-map-search"},(0,i.createElement)("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:(0,o.__)("Enter a location…","otter-blocks"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:T,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const t=new window.google.maps.places.SearchBox(T.current);t.addListener("places_changed",(()=>{const e=t.getPlaces();e&&0<e.length&&e.forEach((e=>{const t=e.geometry.location.lat(),o=e.geometry.location.lng(),n=new window.google.maps.LatLng(t,o);a.setCenter(n),l({location:e.formatted_address||e.name,latitude:t.toString(),longitude:o.toString()})}))}))},onChange:e=>{l({location:e.target.value})},disabled:!r}),!r&&(0,i.createElement)("p",null,(0,o.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,i.createElement)(c.ExternalLink,{href:"https://developers.google.com/places/web-service/intro"},(0,o.__)("More info.","otter-blocks")))),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,o.__)("Enter latitude…","otter-blocks"),value:t.latitude,onChange:e=>{l({latitude:e.toString()});const o=Number(e),{longitude:n}=t,r=new window.google.maps.LatLng(o,n);a.setCenter(r)}}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,o.__)("Enter longitude","otter-blocks"),value:t.longitude,onChange:e=>{l({longitude:e.toString()});const{latitude:o}=t,n=Number(e),r=new window.google.maps.LatLng(o,n);a.setCenter(r)}})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.RangeControl,{label:(0,o.__)("Map Zoom Level","otter-blocks"),value:t.zoom,onChange:e=>{l({zoom:e}),a.setZoom(e)},min:0,max:20}),(0,i.createElement)(M.Z,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(c.__experimentalUnitControl,{value:x([(B=t.height,(0,K.isNumber)(B)?(e=>e?`${e}px`:e)(B):B),t.heightTablet,t.heightMobile]),onChange:e=>E(e,["height","heightTablet","heightMobile"])}),(0,i.createElement)(k.Z,{values:["height","heightTablet","heightMobile"],setAttributes:l}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Controls","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.BaseControl,null,(0,o.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Draggable Map","otter-blocks"),checked:t.draggable,onChange:()=>{l({draggable:!t.draggable})}}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Map Type Control","otter-blocks"),checked:t.mapTypeControl,onChange:()=>{l({mapTypeControl:!t.mapTypeControl})}}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Zoom Control","otter-blocks"),checked:t.zoomControl,onChange:()=>{l({zoomControl:!t.zoomControl})}}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Full Screen Control","otter-blocks"),checked:t.fullscreenControl,onChange:()=>{l({fullscreenControl:!t.fullscreenControl})}}),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Street View Control","otter-blocks"),checked:t.streetViewControl,onChange:()=>{l({streetViewControl:!t.streetViewControl})}})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Markers","otter-blocks"),initialOpen:!1,opened:!1!==d||void 0,onToggle:()=>{!1!==d&&u(!0)}},(0,i.createElement)(hl,{markers:t.markers,removeMarker:b,changeMarkerProp:m,addMarker:p,isPlaceAPIAvailable:r,initialOpen:d})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Global Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(c.TextControl,{label:(0,o.__)("Google Maps API Key","otter-blocks"),type:"text",placeholder:(0,o.__)("Google Maps API Key","otter-blocks"),value:g,className:"components-placeholder__input",onChange:v,help:(0,o.__)("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.","otter-blocks")}),(0,i.createElement)(c.Button,{isSecondary:!0,type:"submit",onClick:y,isBusy:h},(0,o.__)("Save API Key","otter-blocks")))),"style"===f&&(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Styles","otter-blocks")},(0,i.createElement)(bl.V,{value:t.style,options:[{label:(0,o.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,o.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,o.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,o.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,o.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,o.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:n}),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Map Type","otter-blocks"),value:t.type,options:[{label:(0,o.__)("Road Map","otter-blocks"),value:"roadmap"},{label:(0,o.__)("Satellite View","otter-blocks"),value:"satellite"},{label:(0,o.__)("Hybrid","otter-blocks"),value:"hybrid"},{label:(0,o.__)("Terrain","otter-blocks"),value:"terrain"}],onChange:e=>{l({type:e}),a.setMapTypeId(window.google.maps.MapTypeId[e.toUpperCase()])}})),(0,i.createElement)(C.p,null));var B},yl=e=>{let{marker:t,isAdvanced:l,isPlaceAPIAvailable:a,addMarker:n,close:r}=e;(0,i.useEffect)((()=>{u(t.id),m(t.location),g(t.title),v(t.icon),k(t.description),_(t.latitude),C(t.longitude)}),[t]);const s=(0,i.useRef)(null),[d,u]=(0,i.useState)(t.id),[b,m]=(0,i.useState)(t.location),[p,g]=(0,i.useState)(t.title),[h,v]=(0,i.useState)(t.icon),[y,k]=(0,i.useState)(t.description),[f,_]=(0,i.useState)(t.latitude),[w,C]=(0,i.useState)(t.longitude);return(0,i.createElement)(c.Modal,{title:(0,o.__)("Add Marker","otter-blocks"),onRequestClose:r,shouldCloseOnClickOutside:!1},l&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Location","otter-blocks"),id:`themeisle-location-search-${t.id}`},(0,i.createElement)("input",{type:"text",id:`themeisle-location-search-${d}`,placeholder:(0,o.__)("Enter a location…","otter-blocks"),value:b,className:"wp-block-themeisle-blocks-google-map-search",ref:s,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const t=new window.google.maps.places.SearchBox(s.current);t.addListener("places_changed",(()=>{const e=t.getPlaces();e&&0<e.length&&e.forEach((e=>{const t=e.formatted_address||e.name,l=e.geometry.location.lat(),o=e.geometry.location.lng();m(t),_(l),C(o)}))}))},onChange:e=>m(e.target.value),disabled:!a})),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",value:f,onChange:_}),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",value:w,onChange:C})),(0,i.createElement)(c.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",value:p,onChange:g}),(0,i.createElement)(pl,{label:(0,o.__)("Description","otter-blocks"),type:"text",value:y,onChange:k}),(0,i.createElement)(c.SelectControl,{label:(0,o.__)("Map Icon","otter-blocks"),value:h||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,o.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,o.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,o.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,o.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,o.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:v}),(0,i.createElement)(c.ButtonGroup,null,(0,i.createElement)(c.Button,{isPrimary:!0,onClick:()=>n(b,p,h,y,f,w)},(0,o.__)("Add","otter-blocks")),(0,i.createElement)(c.Button,{isSecondary:!0,onClick:r},(0,o.__)("Cancel","otter-blocks"))))},kl=e=>{let{attributes:t,initMap:l,displayMap:a,isMapLoaded:n,selectMarker:r,isSelectingMarker:s}=e;(0,i.useEffect)((()=>{a&&l()}),[a]);const{responsiveGetAttributes:d}=S();return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{id:t.id,className:g()("wp-block-themeisle-blocks-google-map-container",{"is-selecting-marker":s}),style:{height:d([(u=t.height,(0,K.isNumber)(u)?(e=>e?`${e}px`:e)(u):u),t.heightTablet,t.heightMobile])}}),n&&(0,i.createElement)(c.Button,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:(0,o.__)("Add Button","otter-blocks"),onClick:r},(0,i.createElement)("span",{className:"dashicons dashicons-sticky"})));var u},fl={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"}]}]};const{attributes:_l}=cl;const wl={to:[{type:"block",blocks:["themeisle-blocks/leaflet-map"],transform:e=>{const t=(0,K.omit)(e,["style","mapTypeControl","fullscreenControl","streetViewControl"]);return(0,a.createBlock)("themeisle-blocks/leaflet-map",{...t})}}]};var Cl=wl;const{name:El}=cl;(0,a.registerBlockType)(El,{...cl,title:(0,o.__)("Google Maps","otter-blocks"),description:(0,o.__)("Display Google Maps on your website with Google Map block. Powered by Otter.","otter-blocks"),icon:r.mapIcon,keywords:["map","google","orbitfox"],transforms:Cl,edit:e=>{let{attributes:t,setAttributes:l,clientId:a,isSelected:n}=e;(0,i.useEffect)((()=>{const e=(0,L.blockInit)(a,_l);return()=>e(t.id)}),[t.id]),(0,i.useEffect)((()=>{let e=!0;return(async()=>{await window.wp.api.loadPromise.then((()=>{c.current=new window.wp.api.models.Settings})),!1===Boolean(window.themeisleGutenberg.mapsAPI)?v||c.current.fetch().then((t=>{e&&(h(t.themeisle_google_map_block_api_key),y(!0),""!==t.themeisle_google_map_block_api_key&&(f(!0),G(t.themeisle_google_map_block_api_key)))})):!v&&e&&(h(window.themeisleGutenberg.mapsAPI),y(!0),f(!0),G(window.themeisleGutenberg.mapsAPI))})(),window.isMapLoaded=window.isMapLoaded||!1,window[`removeMarker_${a.substr(0,8)}`]=j,window.gm_authFailure=function(){f(!1),D(!0)},d.current=document.createElement("script"),d.current.type="text/javascript",d.current.async=!0,d.current.defer=!0,d.current.id="themeisle-google-map-api-loading",()=>{e=!1}}),[]),(0,i.useEffect)((()=>{!1!==k&&void 0!==window.google&&u.current.setOptions({mapTypeControl:!!n||t.mapTypeControl,zoomControl:!!n||t.zoomControl,fullscreenControl:!!n||t.fullscreenControl,streetViewControl:!!n||t.streetViewControl})}),[n]),(0,i.useEffect)((()=>{m.current=[...t.markers]}),[t.markers]);const r=(0,i.useRef)([]),c=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),b=(0,i.useRef)(null),m=(0,i.useRef)([...t.markers]),[p,h]=(0,i.useState)(""),[v,y]=(0,i.useState)(!1),[k,f]=(0,i.useState)(!1),[_,w]=(0,i.useState)(!1),[C,E]=(0,i.useState)(!1),[x,S]=(0,i.useState)(!0),[T,M]=(0,i.useState)(!1),[B,z]=(0,i.useState)(!1),[P,R]=(0,i.useState)(!1),[F,A]=(0,i.useState)(!1),[H,O]=(0,i.useState)(!1),[N,V]=(0,i.useState)({}),[I,D]=(0,i.useState)(!1),G=e=>{window.isMapLoaded||(window.isMapLoaded=!0,d.current.onload=()=>{document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",M(!0)},d.current.src=`https://maps.googleapis.com/maps/api/js?key=${e}&libraries=places&cache=${Math.random()}`,document.head.appendChild(d.current)),document.getElementById("themeisle-google-map-api")&&M(!0)},$=(e,t,l,n)=>{const r=`<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">${l}</h6><div class="wp-block-themeisle-blocks-map-overview-content">${n?`<p>${n}</p>`:""}<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_${a.substr(0,8)}( '${t}' )">${(0,o.__)("Delete Marker","otter-blocks")}</a></div></div>`,i=new window.google.maps.InfoWindow({content:r});e.addListener("click",(()=>{b.current=i,i.open(u.current,e)})),window.google.maps.event.addListener(i,"domready",(()=>{z(t)})),window.google.maps.event.addListener(i,"closeclick",(()=>{z(!1)}))},W=e=>{e.forEach((e=>{const{latitude:t}=e,{longitude:l}=e,o=new window.google.maps.LatLng(t,l),a=new window.google.maps.Marker({position:o,map:u.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});window.google.maps.event.addListener(a,"dragend",(t=>{const l=t.latLng.lat(),o=t.latLng.lng();Z(e.id,"latitude",l),Z(e.id,"longitude",o)})),r.current.push(a),window.google.maps.event.addListener(a,"click",(()=>{b.current&&b.current.close()})),$(a,e.id,e.title,e.description)}))},Z=(e,t,o)=>{const a=[...m.current];a.find((t=>t.id===e))[t]=o.toString(),U(),W(a),l({markers:a})},j=e=>{let t=[...m.current];t=t.filter((t=>t.id!==e)),l({markers:t}),U(),z(!1),0<t.length&&W(t)},U=()=>{for(let e=0;e<r.current.length;e++)r.current[e].setMap(null);r.current=[]},q=()=>{!1===Boolean(window.themeisleGutenberg.mapsAPI)&&(E(!0),new window.wp.api.models.Settings({themeisle_google_map_block_api_key:p}).save().then((e=>{let t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),E(!1),f(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,G(e.themeisle_google_map_block_api_key))})))},J=e=>{l({style:e}),u.current.setOptions({styles:fl[e]})},K=(0,s.useBlockProps)({className:g()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":n})});return v&&k?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(bl.d,{label:(0,o.__)("Block Styles","otter-blocks"),value:t.style,options:[{label:(0,o.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,o.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,o.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,o.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,o.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,o.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:J}),(0,i.createElement)(vl,{attributes:t,setAttributes:l,map:u.current,changeStyle:J,isPlaceAPIAvailable:x,isMarkerOpen:B,setMarkerOpen:z,removeMarker:j,changeMarkerProp:Z,addMarkerManual:()=>{const e=(0,dl.Z)(),t=(0,o.__)("Custom Marker","otter-blocks"),l=u.current.getCenter(),a=l.lat(),n=l.lng();A(!0),O(!0),V({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:n})},api:p,isSaving:C,changeAPI:h,saveAPIKey:q}),F&&(0,i.createElement)(yl,{marker:N,isAdvanced:H,isPlaceAPIAvailable:x,close:()=>A(!1),addMarker:(e,o,a,n,i,s)=>{const c=new window.google.maps.LatLng(i,s),d=(0,dl.Z)(),m=new window.google.maps.Marker({position:c,map:u.current,title:o,draggable:!0,icon:a});window.google.maps.event.addListener(m,"dragend",(e=>{const t=e.latLng.lat(),l=e.latLng.lng();Z(d,"latitude",t),Z(d,"longitude",l)})),r.current.push(m);const p=[...t.markers],g={id:d,location:e,title:o,icon:a,description:n,latitude:i,longitude:s};p.push(g),l({markers:p}),window.google.maps.event.addListener(m,"click",(()=>{b.current&&b.current.close()})),$(m,g.id,o,n),A(!1),R(!1)}}),(0,i.createElement)("div",K,(0,i.createElement)(kl,{attributes:t,initMap:()=>{var e,o,a;const n=null!==(e=null===(o=(0,L.getEditorIframe)())||void 0===o||null===(a=o.contentWindow)||void 0===a?void 0:a.document)&&void 0!==e?e:document;if(u.current=new window.google.maps.Map(n.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:fl[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){const e={query:t.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(u.current).findPlaceFromQuery(e,((e,t)=>{t===window.google.maps.places.PlacesServiceStatus.OK&&0<e.length&&u.current.setCenter(e[0].geometry.location)}))}window.google.maps.event.addListenerOnce(u.current,"idle",(()=>{w(!0)})),u.current.addListener("zoom_changed",(()=>{const e=u.current.getZoom();l({zoom:e})})),u.current.addListener("maptypeid_changed",(()=>{const e=u.current.getMapTypeId();l({type:e})})),u.current.addListener("bounds_changed",(()=>{const e=u.current.getCenter(),t=e.lat(),o=e.lng();l({latitude:t.toString(),longitude:o.toString()})})),0<t.markers.length&&W(t.markers);const r={query:t.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(u.current).findPlaceFromQuery(r,((e,t)=>{"REQUEST_DENIED"===t&&S(!1)}))},displayMap:T,isMapLoaded:_,selectMarker:()=>{R(!P),P?window.google.maps.event.clearListeners(u.current,"click"):u.current.addListener("click",(e=>{window.google.maps.event.clearListeners(u.current,"click");const t=(0,dl.Z)(),l=(0,o.__)("Custom Marker","otter-blocks"),a=e.latLng.lat(),n=e.latLng.lng();A(!0),O(!1),V({id:t,location:"",title:l,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:n})}))},isSelectingMarker:P}))):(0,i.createElement)("div",K,(0,i.createElement)(ul,{api:p,error:I,isAPILoaded:v,isAPISaved:k,isSaving:C,changeAPI:e=>{h(e),D(!1)},saveAPIKey:q}))},save:()=>null});var xl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list","title":"Icon List","category":"themeisle-blocks","description":"Display an icon list in a beautiful layout. Powered by Otter.","keywords":["icon","list","items"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"defaultLibrary":{"type":"string","default":"fontawesome"},"defaultPrefix":{"type":"string","default":"fas"},"defaultIcon":{"type":"string","default":"angle-right"},"defaultContentColor":{"type":"string"},"defaultIconColor":{"type":"string"},"defaultSize":{"type":["number","string"]},"defaultIconSize":{"type":"string"},"gap":{"type":["number","string"]},"gapIconLabel":{"type":["string"]},"horizontalAlign":{"type":"string"},"alignmentTablet":{"type":"string"},"alignmentMobile":{"type":"string"},"hideLabels":{"type":"boolean"},"hasDivider":{"type":"boolean"},"dividerWidth":{"type":"string"},"dividerColor":{"type":"string"},"dividerLength":{"type":"string"}},"editorStyle":"otter-icon-list-editor","style":"otter-icon-list-style"}'),Sl=e=>{let{attributes:t,setAttributes:l}=e;return(0,i.createElement)(s.BlockControls,null,(0,i.createElement)(s.AlignmentToolbar,{value:{"flex-start":"left",center:"center","flex-end":"right"}[t.horizontalAlign],onChange:e=>{switch(e){case"left":l({horizontalAlign:"flex-start"});break;case"center":l({horizontalAlign:"center"});break;case"right":l({horizontalAlign:"flex-end"});break;default:l({horizontalAlign:void 0})}}}))},Tl=e=>{var t,l,a,n,r,d,u,b,m;let{attributes:p,setAttributes:g}=e;const[h,v]=(0,i.useState)("settings"),{responsiveSetAttributes:y,responsiveGetAttributes:k}=S(g);return(0,i.createElement)(s.InspectorControls,null,(0,i.createElement)("div",null,(0,i.createElement)(w.Z,{value:h,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:v}),"settings"===h&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Layout","otter-blocks")},(0,i.createElement)(E.Z,{label:(0,o.__)("List Orientation","otter-blocks"),options:[{label:(0,o.__)("Vertical","otter-blocks"),value:"default"},{label:(0,o.__)("Horizontal","otter-blocks"),value:"is-style-horizontal"}],value:null!=p&&null!==(t=p.className)&&void 0!==t&&t.includes("is-style-horizontal")?"is-style-horizontal":"default",onChange:e=>{var t;const l=(null==p||null===(t=p.className)||void 0===t?void 0:t.split(" "))||[];"default"===e&&l.includes("is-style-horizontal")?l.splice(l.indexOf("is-style-horizontal"),1):"is-style-horizontal"!==e||l.includes("is-style-horizontal")||l.push("is-style-horizontal"),g({className:l.join(" ")})}}),(0,i.createElement)(M.Z,{label:(0,o.__)("Alignment","otter-blocks")},(0,i.createElement)(pe.Z,{value:null!==(l=k([p.horizontalAlign,p.alignmentTablet,p.alignmentMobile]))&&void 0!==l?l:"flex-start",onChange:e=>{y(e,["horizontalAlign","alignmentTablet","alignmentMobile"])},options:[{icon:bt.Z,label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{icon:mt.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:pt.Z,label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}],hasIcon:!0})),(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Hide Labels","otter-blocks"),checked:Boolean(p.hideLabels),onChange:()=>g({hideLabels:!p.hideLabels})})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Icons","otter-blocks")},(0,i.createElement)(i.Suspense,{fallback:(0,i.createElement)(c.Placeholder,null,(0,i.createElement)(c.Spinner,null))},(0,i.createElement)(_.Z,{label:(0,o.__)("Icon Picker","otter-blocks"),library:p.defaultLibrary,prefix:p.defaultPrefix,icon:p.defaultIcon,changeLibrary:e=>{g({defaultLibrary:e,defaultIcon:void 0,defaultPrefix:"fas"})},onChange:e=>{if("image"===p.defaultLibrary&&null!=e&&e.url)return g({defaultIcon:e.url});g("object"==typeof e?{defaultIcon:e.name,defaultPrefix:e.prefix}:{defaultIcon:e})},allowImage:!0})))),"style"===h&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!0,colorSettings:[{value:p.defaultIconColor,onChange:e=>g({defaultIconColor:e}),label:(0,o.__)("Icon","otter-blocks")},{value:p.defaultContentColor,onChange:e=>g({defaultContentColor:e}),label:(0,o.__)("Text","otter-blocks")},...p.hasDivider?[{value:p.dividerColor,onChange:e=>g({dividerColor:e}),label:(0,o.__)("Divider","otter-blocks")}]:[]]}),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Size","otter-blocks")},(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Font Size","otter-blocks"),__nextHasNoMarginBottom:!0},(0,i.createElement)(c.FontSizePicker,{value:null!==(a=(0,x.Yj)(p.defaultSize))&&void 0!==a?a:"16px",onChange:e=>g({defaultSize:e}),fontSizes:[{name:"Small",size:"12px",slug:"small"},{name:"Normal",size:"16px",slug:"Normal"},{name:"Medium",size:"20px",slug:"medium"},{name:"Large",size:"36px",slug:"large"}],withReset:!0})),(0,i.createElement)(c.BaseControl,{label:(0,o.__)("Icon Size","otter-blocks"),__nextHasNoMarginBottom:!0},(0,i.createElement)(c.FontSizePicker,{value:null!==(n=null!==(r=p.defaultIconSize)&&void 0!==r?r:(0,x.Yj)(p.defaultSize))&&void 0!==n?n:"16px",onChange:e=>g({defaultIconSize:e}),fontSizes:[{name:"Small",size:"12px",slug:"small"},{name:"Normal",size:"16px",slug:"Normal"},{name:"Medium",size:"20px",slug:"medium"},{name:"Large",size:"36px",slug:"large"}],withReset:!0}))),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(c.__experimentalUnitControl,{label:(0,o.__)("Space between List items","otter-blocks"),value:null!==(d=p.gap)&&void 0!==d?d:"5px",onChange:e=>g({gap:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}]}),(0,i.createElement)("br",null),(0,i.createElement)(c.__experimentalUnitControl,{label:(0,o.__)("Space between Icon and Label","otter-blocks"),value:null!==(u=p.gapIconLabel)&&void 0!==u?u:"16px",onChange:e=>g({gapIconLabel:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}]})),(0,i.createElement)(c.PanelBody,{title:(0,o.__)("Divider","otter-blocks")},(0,i.createElement)(c.ToggleControl,{label:(0,o.__)("Enable Divider","otter-blocks"),checked:Boolean(p.hasDivider),onChange:()=>g({hasDivider:!p.hasDivider})}),p.hasDivider&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:null!==(b=p.dividerWidth)&&void 0!==b?b:"2px",onChange:e=>g({dividerWidth:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}],max:5}),(0,i.createElement)("br",null),(0,i.createElement)(c.__experimentalUnitControl,{label:(0,o.__)("Length","otter-blocks"),value:null!==(m=p.dividerLength)&&void 0!==m?m:"100%",onChange:e=>g({dividerLength:e}),isResetValueOnUnitChange:!0}))))))};const{attributes:M