Genesis Blocks - Version 1.5.2

Version Description

  • Changed: NPM tooling overhaul.
  • Changed: Unignore eslint rules, fix linting.
  • Fixed: Prevent an error if another plugin incorrectly filters 'admin_body_class'.
Download this release

Release Info

Developer studiopress
Plugin Icon 128x128 Genesis Blocks
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

.babelrc ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "presets": [
3
+ "@wordpress/babel-preset-default"
4
+ ],
5
+ "plugins": [
6
+ "@babel/plugin-proposal-class-properties"
7
+ ]
8
+ }
.eslintrc CHANGED
@@ -2,22 +2,24 @@
2
  "extends": [
3
  "plugin:@wordpress/eslint-plugin/recommended"
4
  ],
 
 
 
 
 
 
 
5
  "rules": {
6
- "prettier/prettier": "off",
7
- "no-useless-constructor": "off",
8
  "camelcase": "off",
9
- "@wordpress/no-unused-vars-before-return": "off",
10
- "no-unused-vars": "off",
11
- "no-undef": "off",
12
- "no-shadow": "off",
13
  "jsx-a11y/anchor-is-valid": "off",
14
- "no-console": "off",
15
- "jsx-a11y/click-events-have-key-events": "off",
16
  "jsx-a11y/interactive-supports-focus": "off",
17
- "no-unused-expressions": "off",
18
- "no-var": "off",
19
  "no-duplicate-imports": "off",
20
- "jsdoc/check-tag-names": "off",
 
 
 
21
  "react/jsx-no-target-blank": "off"
22
  }
23
  }
2
  "extends": [
3
  "plugin:@wordpress/eslint-plugin/recommended"
4
  ],
5
+ "parser": "@babel/eslint-parser",
6
+ "parserOptions": {
7
+ "requireConfigFile" : "false",
8
+ "babelOptions": {
9
+ "configFile": "./.babelrc"
10
+ }
11
+ },
12
  "rules": {
 
 
13
  "camelcase": "off",
14
+ "jsdoc/check-tag-names": "off",
 
 
 
15
  "jsx-a11y/anchor-is-valid": "off",
 
 
16
  "jsx-a11y/interactive-supports-focus": "off",
17
+ "no-console": "off",
 
18
  "no-duplicate-imports": "off",
19
+ "no-shadow": "off",
20
+ "no-undef": "off",
21
+ "no-unused-expressions": "off",
22
+ "no-unused-vars": "off",
23
  "react/jsx-no-target-blank": "off"
24
  }
25
  }
.prettierrc ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ {
2
+ "extends": [
3
+ "@wordpress/prettier-config"
4
+ ]
5
+ }
.stylelintrc CHANGED
@@ -1,13 +1,24 @@
1
  {
2
- "extends": "stylelint-config-wordpress/scss",
3
  "rules": {
 
 
 
4
  "no-descending-specificity": null,
5
  "no-duplicate-selectors": null,
6
- "selector-attribute-quotes": null,
7
- "font-weight-notation": null,
8
- "declaration-property-unit-whitelist": null,
9
  "scss/selector-no-redundant-nesting-selector": null,
10
- "function-url-quotes": null,
11
- "selector-type-no-unknown": [true, { "ignoreTypes": ["/^checked/"] }]
 
 
 
 
 
 
 
 
 
12
  }
13
  }
1
  {
2
+ "extends": "@wordpress/stylelint-config/scss",
3
  "rules": {
4
+ "declaration-property-unit-allowed-list": null,
5
+ "font-weight-notation": null,
6
+ "function-url-quotes": null,
7
  "no-descending-specificity": null,
8
  "no-duplicate-selectors": null,
9
+ "no-invalid-position-at-import-rule": null,
10
+ "scss/at-import-partial-extension": null,
 
11
  "scss/selector-no-redundant-nesting-selector": null,
12
+ "selector-attribute-quotes": null,
13
+ "selector-class-pattern": null,
14
+ "selector-type-no-unknown": [
15
+ true,
16
+ {
17
+ "ignoreTypes": [
18
+ "/^checked/"
19
+ ]
20
+ }
21
+ ],
22
+ "value-keyword-case": null
23
  }
24
  }
dist/blocks.build.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('moment', 'react', 'react-dom', 'wp-block-editor/build-module/hooks/utils', 'wp-element'), 'version' => '60a31cc02c0be3e0b551');
dist/{blocks.editor.build.css → blocks.build.css} RENAMED
@@ -1,16 +1,16 @@
1
- .gb-block-testimonial{margin-bottom:0}.gb-block-testimonial .components-button:not(:disabled):not([aria-disabled=true]):focus{background:none;box-shadow:none}.block-editor-block-list__layout [data-type="genesis-blocks/gb-testimonial"]{margin-bottom:1.2em}.gb-testimonial-info h2.editor-rich-text__tinymce{line-height:1.2}.gb-testimonial-info p.editor-rich-text__tinymce{line-height:1.6}.gb-testimonial-info .gb-testimonial-title+.gb-testimonial-title{line-height:1.8}#editor div[class^="wp-block-genesis-blocks-"].gb-block-testimonial .gb-add-image svg{height:20px;width:20px}
2
- .gb-block-profile{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-profile-box"]{margin-bottom:1.2em}.gb-profile-image-wrap svg{pointer-events:none;margin:auto}.gb-profile-image-wrap .components-button:not(:disabled):not([aria-disabled=true]):focus{background:none;box-shadow:none}.gb-profile-content-wrap h2.editor-rich-text__tinymce{line-height:1.2}.gb-profile-content-wrap p.editor-rich-text__tinymce{line-height:1.6}#editor .wp-block-genesis-blocks-gb-profile-box.square .gb-remove-image{top:5px;right:5px}#editor .gb-has-avatar .gb-profile-image-square button{top:0;left:0;height:100%}#editor .gb-has-avatar .gb-profile-image-square .gb-change-image{transition:0.2s ease}#editor .gb-has-avatar .gb-profile-image-square .gb-change-image:hover{opacity:0.7}
3
  .gb-block-notice{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-notice"]{margin-bottom:1.2em}
4
- .gb-block-drop-cap .gb-drop-cap-text:not(:focus)::first-letter{float:left;font-size:75px;line-height:0.7em;margin-top:0.15em;margin-right:25px;margin-bottom:25px;font-weight:bold;text-transform:uppercase}.gb-block-drop-cap.gb-drop-cap-square .gb-drop-cap-text:not(:focus)::first-letter{background:#32373c;color:#fff;padding:0.2em}.gb-block-drop-cap.gb-drop-cap-border .gb-drop-cap-text:not(:focus)::first-letter{color:#32373c;padding:0.2em;border:solid 4px}@media only screen and (min-width: 600px){.gb-block-drop-cap .gb-font-size-1.gb-drop-cap-text:not(:focus)::first-letter{font-size:75px}.gb-block-drop-cap .gb-font-size-2.gb-drop-cap-text:not(:focus)::first-letter{font-size:85px}.gb-block-drop-cap .gb-font-size-3.gb-drop-cap-text:not(:focus)::first-letter{font-size:95px}.gb-block-drop-cap .gb-font-size-4.gb-drop-cap-text:not(:focus)::first-letter{font-size:105px}.gb-block-drop-cap .gb-font-size-5.gb-drop-cap-text:not(:focus)::first-letter{font-size:115px}.gb-block-drop-cap .gb-font-size-6.gb-drop-cap-text:not(:focus)::first-letter{font-size:125px}}
5
  .gb-block-button+.blocks-button__inline-link .editor-url-input,.gb-block-button+.blocks-button__inline-link .block-editor-url-input{display:inline-block;width:auto}.gb-block-button+.blocks-button__inline-link .components-button{display:inline-block;padding:8px}.gb-block-button+.blocks-button__inline-link svg{vertical-align:middle;margin-right:8px}
6
  .block-editor-block-list__layout [data-type="genesis-blocks/gb-spacer"]{margin-bottom:1.2em}.gb-block-spacer{border:dashed 1px #ddd;margin-bottom:0}.gb-block-spacer .gb-spacer-handle{margin-bottom:0}.gb-block-spacer.is-selected::before{outline:none}.gb-block-spacer .block-editor-block-list__block-edit{outline:1px dashed #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit,.gb-block-spacer.is-hovered .block-editor-block-list__block-edit{outline:1px dotted #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit{outline:1px solid #ddd}.gb-spacer-control__resize-handle{background:none;border-radius:0;bottom:-15px !important;cursor:row-resize !important;display:none;height:32px !important;left:0 !important;width:100% !important;z-index:999}.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-selected .gb-spacer-control__resize-handle,.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-hovered .gb-spacer-control__resize-handle{display:block}.gb-spacer-control__resize-handle::after{background-color:#32373c;border-radius:50px;border:2px solid #fff;content:"";display:block;height:12px;left:50%;margin-left:-8px;margin-top:-6px;position:absolute;top:50%;width:12px}
7
  .gb-block-accordion{margin-bottom:0}
8
  .gb-block-cta{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-cta"]{margin-bottom:1.2em}.gb-cta-button .blocks-button__inline-link .editor-url-input{display:inline-block;width:auto}.gb-cta-button .blocks-button__inline-link .components-button{display:inline-block;padding:8px}.gb-cta-button .blocks-button__inline-link svg{vertical-align:middle;margin-right:8px}.gb-block-cta h2.editor-rich-text__tinymce.mce-content-body{line-height:1.2}.gb-cta-inspector-media.components-button{padding:8px}
9
  .gb-block-sharing{margin-bottom:0}.gb-share-list>li>a>svg{margin-right:5px;vertical-align:text-top;width:16px;height:16px}.gb-share-text-only .gb-share-list>li>a>svg{display:none}.gb-share-size-small .gb-share-list>li>a>svg{width:13px;height:13px}.gb-share-size-medium .gb-share-list>li>a>svg{width:16px;height:16px}.gb-share-size-large .gb-share-list>li>a>svg{width:26px;height:26px}.gb-share-icon-only .gb-share-list>li>a>svg{margin-right:0}
10
- .gb-block-post-grid .gb-block-post-grid-title a{text-decoration:none}.gb-block-post-grid-markup-settings .components-base-control__help{margin-top:8px}.block-editor__container .block-editor-block-list__block .gb-block-post-grid a{color:inherit}.gb-block-post-grid-image{position:relative}.gb-block-post-grid-image:hover .gb-post-grid-no-image-placeholder{opacity:1;z-index:1}.gb-post-grid-no-image-placeholder{padding:40px;position:absolute !important;top:0;left:0;width:100%;height:100%;opacity:0;background:#f3f3f4;transition:0.2s ease}.gb-post-grid-no-image-placeholder svg{margin-bottom:10px}.gb-post-grid-no-image-icon{position:absolute;top:10px;background:#ffe606;right:10px;padding:6px;line-height:1;height:32px;transition:0.2s ease;border-radius:5px;z-index:1}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help{display:inline-block;font-weight:bold}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a{color:#0073aa;text-decoration:underline}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a:hover{color:#00a0d2}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder{align-items:center}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder .components-placeholder__fieldset{width:auto}
11
  .gb-container-inspector-media{padding:8px}
12
- .edit-post-visual-editor .editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"],.edit-post-visual-editor .block-editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"]{margin-left:0;margin-right:0;overflow:hidden;min-width:0}.gb-pricing-table-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-pricing-table-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{display:-ms-grid;display:grid;grid-template-rows:1fr;grid-gap:0 2em;min-height:0}.gb-block-pricing-table-gap-0>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-0>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 0}.gb-block-pricing-table-gap-1>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-1>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 1em}.gb-block-pricing-table-gap-2>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-2>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 2em}.gb-block-pricing-table-gap-3>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-3>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 3em}.gb-block-pricing-table-gap-4>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-4>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 4em}.gb-block-pricing-table-gap-5>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-5>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 5em}.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-pricing-table-inside .editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .editor-block-list__block[data-align=wide],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=wide]{margin-left:auto;margin-right:auto}.gb-block-pricing-table-inside .editor-url-input input[type=text],.gb-block-pricing-table-inside .block-editor-block-list__block .block-editor-url-input input[type="text"]{width:100%}.gb-pricing-has-currency div .block-editor-rich-text:first-child{vertical-align:top;margin-top:0.7em;margin-right:3px;line-height:1}.gb-pricing-table-title.editor-rich-text__tinymce:focus strong[data-mce-selected]{background:transparent;color:inherit}div[data-type="genesis-blocks/gb-pricing-table-price"] .block-editor-block-list__block-edit div .editor-rich-text{display:inline-block}.gb-block-pricing-table .block-editor-block-list__layout div:first-child .block-editor-block-list__block-edit{margin-top:0}.gb-pricing-table-button .gb-block-button .components-button{padding:8px}
13
  .gb-block-newsletter .gb-newsletter-title.mce-content-body{margin-top:0;line-height:1.3}.gb-form-styles label{margin-bottom:8px;width:100%;display:block}.gb-form-styles input{width:100%;height:auto;border:solid 1px #ccc;min-height:45px;margin-bottom:15px;padding:15px;font-size:16px}.gb-newsletter-double-opt-in-setting-wrapper{margin-bottom:24px}.gb-newsletter-double-opt-in-setting-wrapper .description{margin-bottom:5px}.gb-newsletter-double-opt-in-toggle{margin-right:5px}
14
- .gb-layout-column-wrap-admin,.gb-block-layout-column-inner .block-editor-inner-blocks{position:relative;z-index:1}.editor-styles-wrapper [data-type="genesis-blocks/gb-columns"] .wp-block{max-width:100%}.edit-post-visual-editor .editor-block-list__block [data-type="genesis-blocks/gb-column"],.edit-post-visual-editor .block-editor-block-list__block [data-type="genesis-blocks/gb-column"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{display:-ms-grid;display:grid;-ms-grid-rows:1fr;grid-template-rows:1fr;grid-gap:0 2em;min-height:0}.gb-block-layout-column-gap-0>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-0>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 0}.gb-block-layout-column-gap-1>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-1>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 1em}.gb-block-layout-column-gap-2>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-2>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 2em}.gb-block-layout-column-gap-3>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-3>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 3em}.gb-block-layout-column-gap-4>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-4>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 4em}.gb-block-layout-column-gap-5>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-5>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 5em}.gb-block-layout-column-gap-6>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-6>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 6em}.gb-block-layout-column-gap-7>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-7>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 7em}.gb-block-layout-column-gap-8>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-8>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 8em}.gb-block-layout-column-gap-9>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-9>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 9em}.gb-block-layout-column-gap-10>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-10>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 10em}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(1),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(2),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(2){-ms-grid-row:1;-ms-grid-column:2;grid-area:col2}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(3),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(3){-ms-grid-row:1;-ms-grid-column:3;grid-area:col3}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(4),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(4){-ms-grid-row:1;-ms-grid-column:4;grid-area:col4}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(5),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(5){-ms-grid-row:1;-ms-grid-column:5;grid-area:col5}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(6),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(6){-ms-grid-row:1;-ms-grid-column:6;grid-area:col6}.gb-layout-columns-1>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-1>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1"}.gb-layout-columns-2>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-2>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"col1 col2"}.gb-2-col-wideleft>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-2-col-wideleft>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.gb-2-col-wideright>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-2-col-wideright>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.gb-layout-columns-3>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-3>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-areas:"col1 col2 col3"}.gb-3-col-widecenter>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-3-col-widecenter>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 2fr 1fr;grid-template-columns:1fr 2fr 1fr}.gb-3-col-wideleft>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-3-col-wideleft>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:2fr 1fr 1fr;grid-template-columns:2fr 1fr 1fr}.gb-3-col-wideright>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-3-col-wideright>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 2fr;grid-template-columns:1fr 1fr 2fr}.gb-layout-columns-4>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-4>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4"}.gb-4-col-wideleft>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-4-col-wideleft>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:2fr 1fr 1fr 1fr;grid-template-columns:2fr 1fr 1fr 1fr}.gb-4-col-wideright>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-4-col-wideright>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 2fr;grid-template-columns:1fr 1fr 1fr 2fr}.gb-layout-columns-5>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-5>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4 col5"}.gb-layout-columns-6>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-6>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4 col5 col6"}.block-editor .gb-layout-columns-4,.block-editor .gb-layout-columns-5,.block-editor .gb-layout-columns-6{overflow-x:visible}.gb-block-layout-column .editor-block-list__block[data-align=full],.gb-block-layout-column .block-editor-block-list__block[data-align=wide],.gb-block-layout-column .editor-block-list__block[data-align=full],.gb-block-layout-column .block-editor-block-list__block[data-align=wide]{margin-left:auto;margin-right:auto}[data-type="genesis-blocks/gb-column"].gb-is-vertically-aligned-top{align-self:flex-start}[data-type="genesis-blocks/gb-column"].gb-is-vertically-aligned-center{align-self:center}[data-type="genesis-blocks/gb-column"].gb-is-vertically-aligned-bottom{align-self:flex-end}[data-type="genesis-blocks/gb-columns"] .components-placeholder{padding:30px}[data-type="genesis-blocks/gb-columns"] .components-placeholder__fieldset{max-width:100%}.gb-column-selector-button-back{line-height:1.4;display:block;vertical-align:middle;width:100%;border-radius:3px;margin:25px auto 0 auto}.gb-column-selector-button-back:hover{color:#007cba}.gb-column-selector-button-back:active,.gb-column-selector-button-back:focus,.gb-column-selector-button-back:focus:enabled{background-color:transparent;box-shadow:none}.gb-column-selector-button-back::before{content:"\2190";margin-right:5px}.gb-column-selector-button-back svg{width:16px;margin-right:5px}.gb-column-select-panel .components-button-group{margin-bottom:4px}.gb-column-select-panel .components-button.is-small{height:auto;padding:8px;margin:0 5px 5px 0}.gb-column-select-panel .components-base-control__field+.components-base-control__help{margin-top:8px}.gb-columns-center .gb-layout-column-wrap-admin{margin:0 auto}.gb-block-layout-column .wp-block-image,.gb-block-layout-column .wp-block-image .components-resizable-box__container{max-width:100% !important}.is-button.gb-inspector-icon-button{display:inline-flex;margin-top:12px;padding-top:5px;padding-bottom:5px;height:40px}.gb-background-button-group{margin-bottom:25px}
15
- .gb-layout-modal{width:1200px;min-height:90%;height:100%;overflow-y:hidden}.gb-layout-modal .components-modal__content{background:#f2f2f2;padding:0;overflow-x:hidden}.gb-layout-modal .components-modal__header{margin-bottom:25px;padding-left:50px;padding-right:25px}.gb-layout-modal .components-modal__header h1{font-weight:bold;font-size:1rem}.gb-layout-modal .components-modal__header .components-button{left:0}.gb-layout-modal .components-tab-panel__tab-content{background:#fff;padding:35px;border-top:1px solid #e2e4e7}.gb-layout-modal .components-tab-panel__tabs{padding:0 35px;margin-bottom:-1px}.gb-layout-modal .components-tab-panel__tabs button{padding:15px 20px;background:none;border:none;font-size:16px;height:auto}.gb-layout-modal .components-tab-panel__tabs button:hover{background:#fff;cursor:pointer}.gb-layout-modal .components-tab-panel__tabs .gb-layout-modal-active-tab{font-weight:600;background:#fff;border:1px solid #e2e4e7;border-bottom:none}.gb-layout-modal .components-base-control{display:inline-block}.gb-layout-modal .components-base-control:last-child{float:right}.gb-layout-modal .gb-layout-modal-header{background:#f2f2f2;padding:20px;margin-bottom:40px;display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-gap:0 5em}.gb-layout-modal .gb-layout-modal-header .components-base-control:last-child{align-self:flex-end;margin:0}.gb-layout-modal .gb-layout-modal-header .components-base-control__field{margin-bottom:0}.gb-layout-modal .gb-layout-modal-header select,.gb-layout-modal .gb-layout-modal-header input{font-size:16px;height:34px;width:100%}.gb-layout-modal .gb-layout-choices{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-gap:0 2em}.gb-layout-modal .gb-layout-view-full{-ms-grid-columns:1fr;grid-template-columns:1fr}.gb-layout-modal .gb-layout-view{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-gap:0 2em;margin-bottom:20px}.gb-layout-modal .gb-layout-view-left p{margin:0;line-height:2.2em}.gb-layout-modal .gb-layout-view-left a{font-weight:bold;color:#027bba}.gb-layout-modal .gb-layout-view-right{text-align:right}.gb-layout-modal .gb-layout-view-right button{margin-left:5px;height:auto;padding:5px}.gb-layout-modal .gb-layout-design{text-align:center;margin-bottom:40px;position:relative}.gb-layout-modal .gb-layout-design img{max-width:100%;display:block}.gb-layout-modal .gb-layout-design .gb-layout-insert-button{height:auto;background:none;border:none;box-shadow:none;border-bottom:none;padding:0;z-index:5;position:relative;display:block}.gb-layout-modal .gb-layout-design-inside{transition:0.2s ease;border:solid 1px #ccc}.gb-layout-modal .gb-layout-design-inside:hover,.gb-layout-modal .gb-layout-design-inside:focus-within{box-shadow:0 0 0 8px #ececec}.gb-layout-modal .gb-layout-design-info{background:#fff;border-top:solid 1px #ccc;text-align:left;position:relative;padding:12px}.gb-layout-modal .gb-layout-design-info button:active{vertical-align:middle !important}.gb-layout-modal .gb-layout-design-title{font-weight:bold;font-size:13px;color:#444}.gb-layout-modal button.gb-layout-favorite-button{background:none;border:none;box-shadow:none;float:right;border-radius:3px;margin-top:-3px}.gb-layout-modal .components-button-group .components-button.gb-layout-favorite-button{border-radius:3px;padding:0 8px 0}.gb-layout-modal button.gb-layout-favorite-button:hover{background:#fff;border:none;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,0.2)}.gb-layout-modal .components-button-group .components-button.gb-layout-favorite-button:focus{box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,0.2);background:#fff}.gb-layout-modal button.components-button.is-default:active:enabled{box-shadow:inset 0 0 0 1px #ccd0d4, inset 0 0 0 2px #fff}.gb-layout-modal .gb-layout-icon-favorite{fill:#888}.gb-layout-modal .gb-layout-icon-favorite-active{fill:#f9569b}.gb-layout-modal .gb-layout-zoom-button{position:absolute;top:15px;right:15px;background:#fff;border-radius:5px !important;transition:0.2s ease;z-index:10;padding:5px;height:auto;opacity:0;display:none}.gb-layout-modal .gb-layout-design:hover .gb-layout-zoom-button{opacity:1}.gb-layout-modal .gb-layout-zoom-layout{grid-column:1 / -1}.gb-layout-selector-placeholder .components-placeholder__instructions{margin-bottom:1.4em}.gb-layout-selector-placeholder button.gb-layout-modal-button{font-size:16px;height:auto;padding:6px 18px}[data-type="genesis-blocks/gb-layouts"]{-webkit-animation:2s ease 0s normal forwards 1 fadein;animation:2s ease 0s normal forwards 1 fadein}@keyframes fadein{0%{opacity:0}66%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadein{0%{opacity:0}66%{opacity:0}100%{opacity:1}}.current-tab-gb-layout-tab-reusable-blocks.gb-layout-choices{display:block}.current-tab-gb-layout-tab-reusable-blocks.gb-layout-choices a{text-decoration:none}.gb-layout-reusable{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:distribute;justify-content:space-around;font-size:14px;font-weight:600;padding:18px}.gb-layout-reusable:nth-child(even){background:#f2f2f2}.gb-layout-reusable>div{display:inline;-ms-flex:1 0 0;flex:1 0 0}.gb-layout-reusable a:hover{cursor:pointer}.gb-layout-reusable:hover .gb-layout-reusable-actions{opacity:1}.gb-layout-reusable-actions{text-align:right;font-size:14px;font-weight:normal;opacity:1;transition:0.1s ease}.gb-layout-reusable-actions span{padding-left:15px}.gb-layout-reusable-actions i{font-size:17px;margin-right:2px}.gb-layout-modal .gb-layout-modal-header-reusable{margin-bottom:0;font-weight:bold}.gb-layout-modal .gb-layout-modal-header-reusable a{text-decoration:none}.gb-layout-modal-header-reusable-actions{text-align:right}.gb-layout-modal-footer{position:absolute;bottom:-1px;width:100%;background:#3c3b3b;border-top:solid 1px #e0e0e0;z-index:50;padding:10px 10px 10px 32px;height:auto;font-size:11px;color:#fff}.gb-layout-modal-footer svg{position:absolute;left:10px;width:18px;color:#fff}.gb-layout-modal-footer a{text-decoration:none;color:#fff}.gb-layout-modal-footer a:hover{text-decoration:underline}.gb-layout-modal-footer a:focus{color:#fff;text-decoration:underline}.gb-layout-modal-footer span{margin:0 5px}.gb-layout-modal-footer .gb-pro-feedback{float:right;font-weight:bold;position:relative}.gb-layout-modal-footer .gb-pro-feedback svg{left:-22px}div[data-type*="genesis-blocks/gb-columns"][data-align="full"],div[data-type*="genesis-blocks/gb-container"][data-align="full"]{margin-top:auto;margin-bottom:auto}div[data-type*="genesis-blocks/gb-container"][data-align="full"] .gb-block-container{overflow:hidden}.components-placeholder.gb-layout-selector-placeholder,.components-placeholder.gb-column-selector-placeholder{align-items:center}.components-placeholder.gb-layout-selector-placeholder .components-placeholder__fieldset,.components-placeholder.gb-column-selector-placeholder .components-placeholder__fieldset{width:auto}.gb-layout-design:nth-child(1) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='18' viewBox='0 0 100 18'%3E%3Cpath fill='%234b4b4b' fill-opacity='0.4' d='M61.82 18c3.47-1.45 6.86-3.78 11.3-7.34C78 6.76 80.34 5.1 83.87 3.42 88.56 1.16 93.75 0 100 0v6.16C98.76 6.05 97.43 6 96 6c-9.59 0-14.23 2.23-23.13 9.34-1.28 1.03-2.39 1.9-3.4 2.66h-7.65zm-23.64 0H22.52c-1-.76-2.1-1.63-3.4-2.66C11.57 9.3 7.08 6.78 0 6.16V0c6.25 0 11.44 1.16 16.14 3.42 3.53 1.7 5.87 3.35 10.73 7.24 4.45 3.56 7.84 5.9 11.31 7.34zM61.82 0h7.66a39.57 39.57 0 0 1-7.34 4.58C57.44 6.84 52.25 8 46 8S34.56 6.84 29.86 4.58A39.57 39.57 0 0 1 22.52 0h15.66C41.65 1.44 45.21 2 50 2c4.8 0 8.35-.56 11.82-2z'%3E%3C/path%3E%3C/svg%3E")}.gb-layout-design:nth-child(2) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%23565656' fill-opacity='0.4' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E")}.gb-layout-design:nth-child(3) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235a5a5a' fill-opacity='0.4'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-design:nth-child(4) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='72' viewBox='0 0 36 72'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23565656' fill-opacity='0.4'%3E%3Cpath d='M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-design:nth-child(5) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235c5c5c' fill-opacity='0.4'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-design:nth-child(6) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23656565' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-collection-cover{width:100%;min-height:225px;background-color:#2f2f2f;border-radius:0;display:flex;align-items:center;justify-content:center;transition:0.2s ease}.gb-layout-collection-cover:hover{background-color:#202020 !important}.gb-layout-collection-cover .gb-layout-collection-label{color:#fff;font-size:26px}.gb-layout-collection-button{width:100%}.gb-collections-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;background:#f2f2f2;padding:30px 20px}.gb-collections-header h2{margin:0}.gb-collections-link{background:#fff;border-radius:5px;padding:10px;box-shadow:1px 1px 2px #ccc;text-decoration:none}.gb-collections-link:hover{cursor:pointer}.gb-collections-link:focus{box-shadow:0 0 0 2px #007cba}.gb-collections-link span{margin-right:5px;transition:color 0.05s ease-in}.gb-collections-view-all-link{color:#0073aa;border:none;padding:0;margin-bottom:12px;display:flex;align-items:center;line-height:1}.gb-collections-view-all-link:hover{color:#00a0d2;cursor:pointer}.gb-collections-view-all-link span{margin-right:2px;transition:color 0.05s ease-in;font-size:15px}.gb-collections-view-all-link span::before{vertical-align:middle}.gb-collection-title{font-size:28px}.gb-collection-type-title{font-size:20px;margin-bottom:25px}.gb-collections-body .gb-collection-type-title:first-of-type{margin-top:45px}.gpb-slate-section-contact-box .wp-block-genesis-blocks-gb-column{height:100%}
16
- #editor div[class^="wp-block-genesis-blocks-"] .gb-change-image{position:absolute;z-index:50;padding:0;top:0;left:0;opacity:1;height:100%}#editor div[class^="wp-block-genesis-blocks-"] .gb-change-image img{transition:0.2s ease}#editor div[class^="wp-block-genesis-blocks-"] .gb-change-image:hover{background:none;box-shadow:none}#editor div[class^="wp-block-genesis-blocks-"] .gb-change-image:hover img{opacity:0.7}#editor div[class^="wp-block-genesis-blocks-"] .gb-change-image:focus{background:none;border:none;outline:none;box-shadow:none}#editor div[class^="wp-block-genesis-blocks-"] .gb-add-image{position:absolute;left:0;top:0;z-index:50;padding:0;width:100%;height:100%}#editor div[class^="wp-block-genesis-blocks-"] .gb-add-image svg{position:absolute;top:17px;left:19px}#editor div[class^="wp-block-genesis-blocks-"] .gb-remove-image{color:#ec3939;position:absolute;right:0;top:0;height:auto;width:20px;left:auto;z-index:60;margin:0;padding:0;background:#fff;border-radius:50px}#editor div[class^="wp-block-genesis-blocks-"] .gb-remove-image:active,#editor div[class^="wp-block-genesis-blocks-"] .gb-remove-image:focus{color:#ec3939;background:#fff}#editor div[class^="wp-block-genesis-blocks-"] .gb-remove-image:not(:disabled):not([aria-disabled=true]):focus{background:#fff}.gb-inspector-help-text .components-base-control__help{margin-top:0}.wp-block *[class*="gpb-fluid"],.editor-styles-wrapper *[class*="gpb-fluid"]{margin:0 0 1rem 0;line-height:1.1;font-weight:normal}.editor-styles-wrapper .gpb-fluid-1{font-size:20px}@media (min-width: 600px){.editor-styles-wrapper .gpb-fluid-1{font-size:calc(11.50943px + 100vw * .01415)}}@media (min-width: 1024px){.editor-styles-wrapper .gpb-fluid-1{font-size:26px}}.editor-styles-wrapper .gpb-fluid-2{font-size:22px}@media (min-width: 600px){.editor-styles-wrapper .gpb-fluid-2{font-size:calc(10.67925px + 100vw * .01887)}}@media (min-width: 1024px){.editor-styles-wrapper .gpb-fluid-2{font-size:30px}}.editor-styles-wrapper .gpb-fluid-3{font-size:24px}@media (min-width: 600px){.editor-styles-wrapper .gpb-fluid-3{font-size:calc(4.18868px + 100vw * .03302)}}@media (min-width: 1024px){.editor-styles-wrapper .gpb-fluid-3{font-size:38px}}.editor-styles-wrapper .gpb-fluid-4{font-size:28px}@media (min-width: 600px){.editor-styles-wrapper .gpb-fluid-4{font-size:calc(5.35849px + 100vw * .03774)}}@media (min-width: 1024px){.editor-styles-wrapper .gpb-fluid-4{font-size:44px}}.editor-styles-wrapper .gpb-fluid-5{font-size:32px}@media (min-width: 600px){.editor-styles-wrapper .gpb-fluid-5{font-size:calc(3.69811px + 100vw * .04717)}}@media (min-width: 1024px){.editor-styles-wrapper .gpb-fluid-5{font-size:52px}}.editor-styles-wrapper .gpb-fluid-6{font-size:36px}@media (min-width: 600px){.editor-styles-wrapper .gpb-fluid-6{font-size:calc(2.03774px + 100vw * .0566)}}@media (min-width: 1024px){.editor-styles-wrapper .gpb-fluid-6{font-size:60px}}.gb-responsive-toggle{margin-top:2rem;margin-bottom:1rem}.gb-responsive-toggle .components-button.has-icon.has-text{margin-right:5px}.gb-responsive-toggle .components-button.has-icon .dashicon{margin-right:2px;margin-left:0}
1
+ .gb-block-testimonial{margin-bottom:0}.gb-block-testimonial .components-button:not(:disabled):not([aria-disabled=true]):focus{background:none;box-shadow:none}.block-editor-block-list__layout [data-type="genesis-blocks/gb-testimonial"]{margin-bottom:1.2em}.gb-testimonial-info h2.editor-rich-text__tinymce{line-height:1.2}.gb-testimonial-info p.editor-rich-text__tinymce{line-height:1.6}.gb-testimonial-info .gb-testimonial-title+.gb-testimonial-title{line-height:1.8}#editor div[class^=wp-block-genesis-blocks-].gb-block-testimonial .gb-add-image svg{height:20px;width:20px}
2
+ .gb-block-profile{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-profile-box"]{margin-bottom:1.2em}.gb-profile-image-wrap svg{pointer-events:none;margin:auto}.gb-profile-image-wrap .components-button:not(:disabled):not([aria-disabled=true]):focus{background:none;box-shadow:none}.gb-profile-content-wrap h2.editor-rich-text__tinymce{line-height:1.2}.gb-profile-content-wrap p.editor-rich-text__tinymce{line-height:1.6}#editor .wp-block-genesis-blocks-gb-profile-box.square .gb-remove-image{top:5px;right:5px}#editor .gb-has-avatar .gb-profile-image-square button{top:0;left:0;height:100%}#editor .gb-has-avatar .gb-profile-image-square .gb-change-image{transition:.2s ease}#editor .gb-has-avatar .gb-profile-image-square .gb-change-image:hover{opacity:.7}
3
  .gb-block-notice{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-notice"]{margin-bottom:1.2em}
4
+ .gb-block-drop-cap .gb-drop-cap-text:not(:focus)::first-letter{float:left;font-size:75px;line-height:.7em;margin-top:.15em;margin-right:25px;margin-bottom:25px;font-weight:bold;text-transform:uppercase}.gb-block-drop-cap.gb-drop-cap-square .gb-drop-cap-text:not(:focus)::first-letter{background:#32373c;color:#fff;padding:.2em}.gb-block-drop-cap.gb-drop-cap-border .gb-drop-cap-text:not(:focus)::first-letter{color:#32373c;padding:.2em;border:solid 4px}@media only screen and (min-width: 600px){.gb-block-drop-cap .gb-font-size-1.gb-drop-cap-text:not(:focus)::first-letter{font-size:75px}.gb-block-drop-cap .gb-font-size-2.gb-drop-cap-text:not(:focus)::first-letter{font-size:85px}.gb-block-drop-cap .gb-font-size-3.gb-drop-cap-text:not(:focus)::first-letter{font-size:95px}.gb-block-drop-cap .gb-font-size-4.gb-drop-cap-text:not(:focus)::first-letter{font-size:105px}.gb-block-drop-cap .gb-font-size-5.gb-drop-cap-text:not(:focus)::first-letter{font-size:115px}.gb-block-drop-cap .gb-font-size-6.gb-drop-cap-text:not(:focus)::first-letter{font-size:125px}}
5
  .gb-block-button+.blocks-button__inline-link .editor-url-input,.gb-block-button+.blocks-button__inline-link .block-editor-url-input{display:inline-block;width:auto}.gb-block-button+.blocks-button__inline-link .components-button{display:inline-block;padding:8px}.gb-block-button+.blocks-button__inline-link svg{vertical-align:middle;margin-right:8px}
6
  .block-editor-block-list__layout [data-type="genesis-blocks/gb-spacer"]{margin-bottom:1.2em}.gb-block-spacer{border:dashed 1px #ddd;margin-bottom:0}.gb-block-spacer .gb-spacer-handle{margin-bottom:0}.gb-block-spacer.is-selected::before{outline:none}.gb-block-spacer .block-editor-block-list__block-edit{outline:1px dashed #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit,.gb-block-spacer.is-hovered .block-editor-block-list__block-edit{outline:1px dotted #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit{outline:1px solid #ddd}.gb-spacer-control__resize-handle{background:none;border-radius:0;bottom:-15px !important;cursor:row-resize !important;display:none;height:32px !important;left:0 !important;width:100% !important;z-index:999}.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-selected .gb-spacer-control__resize-handle,.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-hovered .gb-spacer-control__resize-handle{display:block}.gb-spacer-control__resize-handle::after{background-color:#32373c;border-radius:50px;border:2px solid #fff;content:"";display:block;height:12px;left:50%;margin-left:-8px;margin-top:-6px;position:absolute;top:50%;width:12px}
7
  .gb-block-accordion{margin-bottom:0}
8
  .gb-block-cta{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-cta"]{margin-bottom:1.2em}.gb-cta-button .blocks-button__inline-link .editor-url-input{display:inline-block;width:auto}.gb-cta-button .blocks-button__inline-link .components-button{display:inline-block;padding:8px}.gb-cta-button .blocks-button__inline-link svg{vertical-align:middle;margin-right:8px}.gb-block-cta h2.editor-rich-text__tinymce.mce-content-body{line-height:1.2}.gb-cta-inspector-media.components-button{padding:8px}
9
  .gb-block-sharing{margin-bottom:0}.gb-share-list>li>a>svg{margin-right:5px;vertical-align:text-top;width:16px;height:16px}.gb-share-text-only .gb-share-list>li>a>svg{display:none}.gb-share-size-small .gb-share-list>li>a>svg{width:13px;height:13px}.gb-share-size-medium .gb-share-list>li>a>svg{width:16px;height:16px}.gb-share-size-large .gb-share-list>li>a>svg{width:26px;height:26px}.gb-share-icon-only .gb-share-list>li>a>svg{margin-right:0}
10
+ .gb-block-post-grid .gb-block-post-grid-title a{text-decoration:none}.gb-block-post-grid-markup-settings .components-base-control__help{margin-top:8px}.block-editor__container .block-editor-block-list__block .gb-block-post-grid a{color:inherit}.gb-block-post-grid-image{position:relative}.gb-block-post-grid-image:hover .gb-post-grid-no-image-placeholder{opacity:1;z-index:1}.gb-post-grid-no-image-placeholder{padding:40px;position:absolute !important;top:0;left:0;width:100%;height:100%;opacity:0;background:#f3f3f4;transition:.2s ease}.gb-post-grid-no-image-placeholder svg{margin-bottom:10px}.gb-post-grid-no-image-icon{position:absolute;top:10px;background:#ffe606;right:10px;padding:6px;line-height:1;height:32px;transition:.2s ease;border-radius:5px;z-index:1}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help{display:inline-block;font-weight:bold}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a{color:#0073aa;text-decoration:underline}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a:hover{color:#00a0d2}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder{align-items:center}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder .components-placeholder__fieldset{width:auto}
11
  .gb-container-inspector-media{padding:8px}
12
+ .edit-post-visual-editor .editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"],.edit-post-visual-editor .block-editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"]{margin-left:0;margin-right:0;overflow:hidden;min-width:0}.gb-pricing-table-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-pricing-table-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{display:-ms-grid;display:grid;grid-template-rows:1fr;grid-gap:0 2em;min-height:0}.gb-block-pricing-table-gap-0>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-0>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 0}.gb-block-pricing-table-gap-1>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-1>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 1em}.gb-block-pricing-table-gap-2>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-2>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 2em}.gb-block-pricing-table-gap-3>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-3>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 3em}.gb-block-pricing-table-gap-4>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-4>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 4em}.gb-block-pricing-table-gap-5>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-5>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 5em}.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-pricing-table-inside .editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .editor-block-list__block[data-align=wide],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=wide]{margin-left:auto;margin-right:auto}.gb-block-pricing-table-inside .editor-url-input input[type=text],.gb-block-pricing-table-inside .block-editor-block-list__block .block-editor-url-input input[type=text]{width:100%}.gb-pricing-has-currency div .block-editor-rich-text:first-child{vertical-align:top;margin-top:.7em;margin-right:3px;line-height:1}.gb-pricing-table-title.editor-rich-text__tinymce:focus strong[data-mce-selected]{background:rgba(0,0,0,0);color:inherit}div[data-type="genesis-blocks/gb-pricing-table-price"] .block-editor-block-list__block-edit div .editor-rich-text{display:inline-block}.gb-block-pricing-table .block-editor-block-list__layout div:first-child .block-editor-block-list__block-edit{margin-top:0}.gb-pricing-table-button .gb-block-button .components-button{padding:8px}
13
  .gb-block-newsletter .gb-newsletter-title.mce-content-body{margin-top:0;line-height:1.3}.gb-form-styles label{margin-bottom:8px;width:100%;display:block}.gb-form-styles input{width:100%;height:auto;border:solid 1px #ccc;min-height:45px;margin-bottom:15px;padding:15px;font-size:16px}.gb-newsletter-double-opt-in-setting-wrapper{margin-bottom:24px}.gb-newsletter-double-opt-in-setting-wrapper .description{margin-bottom:5px}.gb-newsletter-double-opt-in-toggle{margin-right:5px}
14
+ .gb-layout-column-wrap-admin,.gb-block-layout-column-inner .block-editor-inner-blocks{position:relative;z-index:1}.editor-styles-wrapper [data-type="genesis-blocks/gb-columns"] .wp-block{max-width:100%}.edit-post-visual-editor .editor-block-list__block [data-type="genesis-blocks/gb-column"],.edit-post-visual-editor .block-editor-block-list__block [data-type="genesis-blocks/gb-column"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{display:-ms-grid;display:grid;-ms-grid-rows:1fr;grid-template-rows:1fr;grid-gap:0 2em;min-height:0}.gb-block-layout-column-gap-0>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-0>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 0}.gb-block-layout-column-gap-1>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-1>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 1em}.gb-block-layout-column-gap-2>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-2>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 2em}.gb-block-layout-column-gap-3>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-3>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 3em}.gb-block-layout-column-gap-4>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-4>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 4em}.gb-block-layout-column-gap-5>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-5>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 5em}.gb-block-layout-column-gap-6>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-6>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 6em}.gb-block-layout-column-gap-7>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-7>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 7em}.gb-block-layout-column-gap-8>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-8>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 8em}.gb-block-layout-column-gap-9>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-9>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 9em}.gb-block-layout-column-gap-10>.editor-inner-blocks>.editor-block-list__layout,.gb-block-layout-column-gap-10>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 10em}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(1),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(2),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(2){-ms-grid-row:1;-ms-grid-column:2;grid-area:col2}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(3),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(3){-ms-grid-row:1;-ms-grid-column:3;grid-area:col3}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(4),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(4){-ms-grid-row:1;-ms-grid-column:4;grid-area:col4}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(5),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(5){-ms-grid-row:1;-ms-grid-column:5;grid-area:col5}.gb-layout-column-wrap-admin .editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(6),.gb-layout-column-wrap-admin .block-editor-block-list__layout [data-type="genesis-blocks/gb-column"]:nth-child(6){-ms-grid-row:1;-ms-grid-column:6;grid-area:col6}.gb-layout-columns-1>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-1>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1"}.gb-layout-columns-2>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-2>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"col1 col2"}.gb-2-col-wideleft>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-2-col-wideleft>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.gb-2-col-wideright>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-2-col-wideright>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.gb-layout-columns-3>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-3>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-areas:"col1 col2 col3"}.gb-3-col-widecenter>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-3-col-widecenter>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 2fr 1fr;grid-template-columns:1fr 2fr 1fr}.gb-3-col-wideleft>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-3-col-wideleft>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:2fr 1fr 1fr;grid-template-columns:2fr 1fr 1fr}.gb-3-col-wideright>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-3-col-wideright>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 2fr;grid-template-columns:1fr 1fr 2fr}.gb-layout-columns-4>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-4>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4"}.gb-4-col-wideleft>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-4-col-wideleft>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:2fr 1fr 1fr 1fr;grid-template-columns:2fr 1fr 1fr 1fr}.gb-4-col-wideright>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-4-col-wideright>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 2fr;grid-template-columns:1fr 1fr 1fr 2fr}.gb-layout-columns-5>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-5>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4 col5"}.gb-layout-columns-6>.gb-layout-column-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-layout-columns-6>.gb-layout-column-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4 col5 col6"}.block-editor .gb-layout-columns-4,.block-editor .gb-layout-columns-5,.block-editor .gb-layout-columns-6{overflow-x:visible}.gb-block-layout-column .editor-block-list__block[data-align=full],.gb-block-layout-column .block-editor-block-list__block[data-align=wide],.gb-block-layout-column .editor-block-list__block[data-align=full],.gb-block-layout-column .block-editor-block-list__block[data-align=wide]{margin-left:auto;margin-right:auto}[data-type="genesis-blocks/gb-column"].gb-is-vertically-aligned-top{align-self:flex-start}[data-type="genesis-blocks/gb-column"].gb-is-vertically-aligned-center{align-self:center}[data-type="genesis-blocks/gb-column"].gb-is-vertically-aligned-bottom{align-self:flex-end}[data-type="genesis-blocks/gb-columns"] .components-placeholder{padding:30px}[data-type="genesis-blocks/gb-columns"] .components-placeholder__fieldset{max-width:100%}.gb-column-selector-button-back{line-height:1.4;display:block;vertical-align:middle;width:100%;border-radius:3px;margin:25px auto 0 auto}.gb-column-selector-button-back:hover{color:#007cba}.gb-column-selector-button-back:active,.gb-column-selector-button-back:focus,.gb-column-selector-button-back:focus:enabled{background-color:rgba(0,0,0,0);box-shadow:none}.gb-column-selector-button-back::before{content:"←";margin-right:5px}.gb-column-selector-button-back svg{width:16px;margin-right:5px}.gb-column-select-panel .components-button-group{margin-bottom:4px}.gb-column-select-panel .components-button.is-small{height:auto;padding:8px;margin:0 5px 5px 0}.gb-column-select-panel .components-base-control__field+.components-base-control__help{margin-top:8px}.gb-columns-center .gb-layout-column-wrap-admin{margin:0 auto}.gb-block-layout-column .wp-block-image,.gb-block-layout-column .wp-block-image .components-resizable-box__container{max-width:100% !important}.is-button.gb-inspector-icon-button{display:inline-flex;margin-top:12px;padding-top:5px;padding-bottom:5px;height:40px}.gb-background-button-group{margin-bottom:25px}
15
+ .gb-layout-modal{width:1200px;min-height:90%;height:100%;overflow-y:hidden}.gb-layout-modal .components-modal__content{background:#f2f2f2;padding:0;overflow-x:hidden}.gb-layout-modal .components-modal__header{margin-bottom:25px;padding-left:50px;padding-right:25px}.gb-layout-modal .components-modal__header h1{font-weight:bold;font-size:1rem}.gb-layout-modal .components-modal__header .components-button{left:0}.gb-layout-modal .components-tab-panel__tab-content{background:#fff;padding:35px;border-top:1px solid #e2e4e7}.gb-layout-modal .components-tab-panel__tabs{padding:0 35px;margin-bottom:-1px}.gb-layout-modal .components-tab-panel__tabs button{padding:15px 20px;background:none;border:none;font-size:16px;height:auto}.gb-layout-modal .components-tab-panel__tabs button:hover{background:#fff;cursor:pointer}.gb-layout-modal .components-tab-panel__tabs .gb-layout-modal-active-tab{font-weight:600;background:#fff;border:1px solid #e2e4e7;border-bottom:none}.gb-layout-modal .components-base-control{display:inline-block}.gb-layout-modal .components-base-control:last-child{float:right}.gb-layout-modal .gb-layout-modal-header{background:#f2f2f2;padding:20px;margin-bottom:40px;display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-gap:0 5em}.gb-layout-modal .gb-layout-modal-header .components-base-control:last-child{align-self:flex-end;margin:0}.gb-layout-modal .gb-layout-modal-header .components-base-control__field{margin-bottom:0}.gb-layout-modal .gb-layout-modal-header select,.gb-layout-modal .gb-layout-modal-header input{font-size:16px;height:34px;width:100%}.gb-layout-modal .gb-layout-choices{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-gap:0 2em}.gb-layout-modal .gb-layout-view-full{-ms-grid-columns:1fr;grid-template-columns:1fr}.gb-layout-modal .gb-layout-view{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-gap:0 2em;margin-bottom:20px}.gb-layout-modal .gb-layout-view-left p{margin:0;line-height:2.2em}.gb-layout-modal .gb-layout-view-left a{font-weight:bold;color:#027bba}.gb-layout-modal .gb-layout-view-right{text-align:right}.gb-layout-modal .gb-layout-view-right button{margin-left:5px;height:auto;padding:5px}.gb-layout-modal .gb-layout-design{text-align:center;margin-bottom:40px;position:relative}.gb-layout-modal .gb-layout-design img{max-width:100%;display:block}.gb-layout-modal .gb-layout-design .gb-layout-insert-button{height:auto;background:none;border:none;box-shadow:none;border-bottom:none;padding:0;z-index:5;position:relative;display:block}.gb-layout-modal .gb-layout-design-inside{transition:.2s ease;border:solid 1px #ccc}.gb-layout-modal .gb-layout-design-inside:hover,.gb-layout-modal .gb-layout-design-inside:focus-within{box-shadow:0 0 0 8px #ececec}.gb-layout-modal .gb-layout-design-info{background:#fff;border-top:solid 1px #ccc;text-align:left;position:relative;padding:12px}.gb-layout-modal .gb-layout-design-info button:active{vertical-align:middle !important}.gb-layout-modal .gb-layout-design-title{font-weight:bold;font-size:13px;color:#444}.gb-layout-modal button.gb-layout-favorite-button{background:none;border:none;box-shadow:none;float:right;border-radius:3px;margin-top:-3px}.gb-layout-modal .components-button-group .components-button.gb-layout-favorite-button{border-radius:3px;padding:0 8px 0}.gb-layout-modal button.gb-layout-favorite-button:hover{background:#fff;border:none;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.gb-layout-modal .components-button-group .components-button.gb-layout-favorite-button:focus{box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2);background:#fff}.gb-layout-modal button.components-button.is-default:active:enabled{box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.gb-layout-modal .gb-layout-icon-favorite{fill:#888}.gb-layout-modal .gb-layout-icon-favorite-active{fill:#f9569b}.gb-layout-modal .gb-layout-zoom-button{position:absolute;top:15px;right:15px;background:#fff;border-radius:5px !important;transition:.2s ease;z-index:10;padding:5px;height:auto;opacity:0;display:none}.gb-layout-modal .gb-layout-design:hover .gb-layout-zoom-button{opacity:1}.gb-layout-modal .gb-layout-zoom-layout{grid-column:1/-1}.gb-layout-selector-placeholder .components-placeholder__instructions{margin-bottom:1.4em}.gb-layout-selector-placeholder button.gb-layout-modal-button{font-size:16px;height:auto;padding:6px 18px}[data-type="genesis-blocks/gb-layouts"]{-webkit-animation:2s ease 0s normal forwards 1 fadein;animation:2s ease 0s normal forwards 1 fadein}@keyframes fadein{0%{opacity:0}66%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadein{0%{opacity:0}66%{opacity:0}100%{opacity:1}}.current-tab-gb-layout-tab-reusable-blocks.gb-layout-choices{display:block}.current-tab-gb-layout-tab-reusable-blocks.gb-layout-choices a{text-decoration:none}.gb-layout-reusable{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:distribute;justify-content:space-around;font-size:14px;font-weight:600;padding:18px}.gb-layout-reusable:nth-child(even){background:#f2f2f2}.gb-layout-reusable>div{display:inline;-ms-flex:1 0 0;flex:1 0 0}.gb-layout-reusable a:hover{cursor:pointer}.gb-layout-reusable:hover .gb-layout-reusable-actions{opacity:1}.gb-layout-reusable-actions{text-align:right;font-size:14px;font-weight:normal;opacity:1;transition:.1s ease}.gb-layout-reusable-actions span{padding-left:15px}.gb-layout-reusable-actions i{font-size:17px;margin-right:2px}.gb-layout-modal .gb-layout-modal-header-reusable{margin-bottom:0;font-weight:bold}.gb-layout-modal .gb-layout-modal-header-reusable a{text-decoration:none}.gb-layout-modal-header-reusable-actions{text-align:right}.gb-layout-modal-footer{position:absolute;bottom:-1px;width:100%;background:#3c3b3b;border-top:solid 1px #e0e0e0;z-index:50;padding:10px 10px 10px 32px;height:auto;font-size:11px;color:#fff}.gb-layout-modal-footer svg{position:absolute;left:10px;width:18px;color:#fff}.gb-layout-modal-footer a{text-decoration:none;color:#fff}.gb-layout-modal-footer a:hover{text-decoration:underline}.gb-layout-modal-footer a:focus{color:#fff;text-decoration:underline}.gb-layout-modal-footer span{margin:0 5px}.gb-layout-modal-footer .gb-pro-feedback{float:right;font-weight:bold;position:relative}.gb-layout-modal-footer .gb-pro-feedback svg{left:-22px}div[data-type*="genesis-blocks/gb-columns"][data-align=full],div[data-type*="genesis-blocks/gb-container"][data-align=full]{margin-top:auto;margin-bottom:auto}div[data-type*="genesis-blocks/gb-container"][data-align=full] .gb-block-container{overflow:hidden}.components-placeholder.gb-layout-selector-placeholder,.components-placeholder.gb-column-selector-placeholder{align-items:center}.components-placeholder.gb-layout-selector-placeholder .components-placeholder__fieldset,.components-placeholder.gb-column-selector-placeholder .components-placeholder__fieldset{width:auto}.gb-layout-design:nth-child(1) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27100%27 height=%2718%27 viewBox=%270 0 100 18%27%3E%3Cpath fill=%27%234b4b4b%27 fill-opacity=%270.4%27 d=%27M61.82 18c3.47-1.45 6.86-3.78 11.3-7.34C78 6.76 80.34 5.1 83.87 3.42 88.56 1.16 93.75 0 100 0v6.16C98.76 6.05 97.43 6 96 6c-9.59 0-14.23 2.23-23.13 9.34-1.28 1.03-2.39 1.9-3.4 2.66h-7.65zm-23.64 0H22.52c-1-.76-2.1-1.63-3.4-2.66C11.57 9.3 7.08 6.78 0 6.16V0c6.25 0 11.44 1.16 16.14 3.42 3.53 1.7 5.87 3.35 10.73 7.24 4.45 3.56 7.84 5.9 11.31 7.34zM61.82 0h7.66a39.57 39.57 0 0 1-7.34 4.58C57.44 6.84 52.25 8 46 8S34.56 6.84 29.86 4.58A39.57 39.57 0 0 1 22.52 0h15.66C41.65 1.44 45.21 2 50 2c4.8 0 8.35-.56 11.82-2z%27%3E%3C/path%3E%3C/svg%3E")}.gb-layout-design:nth-child(2) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 304 304%27 width=%27304%27 height=%27304%27%3E%3Cpath fill=%27%23565656%27 fill-opacity=%270.4%27 d=%27M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z%27%3E%3C/path%3E%3C/svg%3E")}.gb-layout-design:nth-child(3) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg width=%2780%27 height=%2780%27 viewBox=%270 0 80 80%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%235a5a5a%27 fill-opacity=%270.4%27%3E%3Cpath d=%27M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z%27 /%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-design:nth-child(4) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2736%27 height=%2772%27 viewBox=%270 0 36 72%27%3E%3Cg fill-rule=%27evenodd%27%3E%3Cg fill=%27%23565656%27 fill-opacity=%270.4%27%3E%3Cpath d=%27M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-design:nth-child(5) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg width=%2752%27 height=%2726%27 viewBox=%270 0 52 26%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%235c5c5c%27 fill-opacity=%270.4%27%3E%3Cpath d=%27M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z%27 /%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-design:nth-child(6) .gb-layout-collection-cover{background-image:url("data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23656565%27 fill-opacity=%270.4%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.gb-layout-collection-cover{width:100%;min-height:225px;background-color:#2f2f2f;border-radius:0;display:flex;align-items:center;justify-content:center;transition:.2s ease}.gb-layout-collection-cover:hover{background-color:#202020 !important}.gb-layout-collection-cover .gb-layout-collection-label{color:#fff;font-size:26px}.gb-layout-collection-button{width:100%}.gb-collections-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;background:#f2f2f2;padding:30px 20px}.gb-collections-header h2{margin:0}.gb-collections-link{background:#fff;border-radius:5px;padding:10px;box-shadow:1px 1px 2px #ccc;text-decoration:none}.gb-collections-link:hover{cursor:pointer}.gb-collections-link:focus{box-shadow:0 0 0 2px #007cba}.gb-collections-link span{margin-right:5px;transition:color .05s ease-in}.gb-collections-view-all-link{color:#0073aa;border:none;padding:0;margin-bottom:12px;display:flex;align-items:center;line-height:1}.gb-collections-view-all-link:hover{color:#00a0d2;cursor:pointer}.gb-collections-view-all-link span{margin-right:2px;transition:color .05s ease-in;font-size:15px}.gb-collections-view-all-link span::before{vertical-align:middle}.gb-collection-title{font-size:28px}.gb-collection-type-title{font-size:20px;margin-bottom:25px}.gb-collections-body .gb-collection-type-title:first-of-type{margin-top:45px}.gpb-slate-section-contact-box .wp-block-genesis-blocks-gb-column{height:100%}
16
+ #editor div[class^=wp-block-genesis-blocks-] .gb-change-image{position:absolute;z-index:50;padding:0;top:0;left:0;opacity:1;height:100%}#editor div[class^=wp-block-genesis-blocks-] .gb-change-image img{transition:.2s ease}#editor div[class^=wp-block-genesis-blocks-] .gb-change-image:hover{background:none;box-shadow:none}#editor div[class^=wp-block-genesis-blocks-] .gb-change-image:hover img{opacity:.7}#editor div[class^=wp-block-genesis-blocks-] .gb-change-image:focus{background:none;border:none;outline:none;box-shadow:none}#editor div[class^=wp-block-genesis-blocks-] .gb-add-image{position:absolute;left:0;top:0;z-index:50;padding:0;width:100%;height:100%}#editor div[class^=wp-block-genesis-blocks-] .gb-add-image svg{position:absolute;top:17px;left:19px}#editor div[class^=wp-block-genesis-blocks-] .gb-remove-image{color:#ec3939;position:absolute;right:0;top:0;height:auto;width:20px;left:auto;z-index:60;margin:0;padding:0;background:#fff;border-radius:50px}#editor div[class^=wp-block-genesis-blocks-] .gb-remove-image:active,#editor div[class^=wp-block-genesis-blocks-] .gb-remove-image:focus{color:#ec3939;background:#fff}#editor div[class^=wp-block-genesis-blocks-] .gb-remove-image:not(:disabled):not([aria-disabled=true]):focus{background:#fff}.gb-inspector-help-text .components-base-control__help{margin-top:0}.wp-block *[class*=gpb-fluid],.editor-styles-wrapper *[class*=gpb-fluid]{margin:0 0 1rem 0;line-height:1.1;font-weight:normal}.editor-styles-wrapper .gpb-fluid-1{font-size:20px}@media(min-width: 600px){.editor-styles-wrapper .gpb-fluid-1{font-size:calc(11.5094339623px + 100vw * 0.0141509434)}}@media(min-width: 1024px){.editor-styles-wrapper .gpb-fluid-1{font-size:26px}}.editor-styles-wrapper .gpb-fluid-2{font-size:22px}@media(min-width: 600px){.editor-styles-wrapper .gpb-fluid-2{font-size:calc(10.679245283px + 100vw * 0.0188679245)}}@media(min-width: 1024px){.editor-styles-wrapper .gpb-fluid-2{font-size:30px}}.editor-styles-wrapper .gpb-fluid-3{font-size:24px}@media(min-width: 600px){.editor-styles-wrapper .gpb-fluid-3{font-size:calc(4.1886792453px + 100vw * 0.0330188679)}}@media(min-width: 1024px){.editor-styles-wrapper .gpb-fluid-3{font-size:38px}}.editor-styles-wrapper .gpb-fluid-4{font-size:28px}@media(min-width: 600px){.editor-styles-wrapper .gpb-fluid-4{font-size:calc(5.358490566px + 100vw * 0.0377358491)}}@media(min-width: 1024px){.editor-styles-wrapper .gpb-fluid-4{font-size:44px}}.editor-styles-wrapper .gpb-fluid-5{font-size:32px}@media(min-width: 600px){.editor-styles-wrapper .gpb-fluid-5{font-size:calc(3.6981132075px + 100vw * 0.0471698113)}}@media(min-width: 1024px){.editor-styles-wrapper .gpb-fluid-5{font-size:52px}}.editor-styles-wrapper .gpb-fluid-6{font-size:36px}@media(min-width: 600px){.editor-styles-wrapper .gpb-fluid-6{font-size:calc(2.0377358491px + 100vw * 0.0566037736)}}@media(min-width: 1024px){.editor-styles-wrapper .gpb-fluid-6{font-size:60px}}.gb-responsive-toggle{margin-top:2rem;margin-bottom:1rem}.gb-responsive-toggle .components-button.has-icon.has-text{margin-right:5px}.gb-responsive-toggle .components-button.has-icon .dashicon{margin-right:2px;margin-left:0}
dist/blocks.build.js CHANGED
@@ -1,316 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=306)}([function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(201);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(42).default,a=n(41);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r;
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Yt(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function _(e){if(null==e._isValid){var t=h(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function g(e){var t=f(NaN);return null!=e?p(h(t),e):h(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=a.momentProperties=[],y=!1;function v(e,t){var n,r,a,o=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=h(t)),c(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)c(a=t[r=b[n]])||(e[r]=a);return e}function k(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function M(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function L(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,t){var n=!0;return p((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,o,i,l=[],c=arguments.length;for(o=0;o<c;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])s(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}L(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var Y,T={};function S(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),T[e]||(L(t),T[e]=!0)}function R(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var n,r=p({},e);for(n in t)s(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&i(e[n])&&(r[n]=p({},r[n]));return r}function D(e){null!=e&&this.set(e)}function E(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,Y=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},O={};function H(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(O[e]=a),t&&(O[t[0]]=function(){return E(a.apply(this,arguments),t[1],t[2])}),n&&(O[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=B(t,e.localeData()),j[t]=j[t]||function(e){var t,n,r,a=e.match(C);for(t=0,n=a.length;t<n;t++)O[a[t]]?a[t]=O[a[t]]:a[t]=(r=a[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=R(a[r])?a[r].call(t,e):a[r];return o}}(t),j[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;n>=0&&P.test(e);)e=e.replace(P,r),P.lastIndex=0,n-=1;return e}var A={};function N(e,t){var n=e.toLowerCase();A[n]=A[n+"s"]=A[t]=e}function F(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)s(e,n)&&(t=F(n))&&(r[t]=e[n]);return r}var W={};function U(e,t){W[e]=t}function V(e){return e%4==0&&e%100!=0||e%400==0}function J(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=J(t)),n}function q(e,t){return function(n){return null!=n?(K(this,e,n),a.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&V(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Me(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,Z=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,me=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){Q[e]=R(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return s(Q,e)?Q[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ge,be={};function ye(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=G(e)}),r=e.length,n=0;n<r;n++)be[e[n]]=a}function ve(e,t){ye(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function ke(e,t,n){null!=t&&s(be,e)&&be[e](t,n._a,n,e)}function Me(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?V(e)?29:28:31-r%7%2}ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),N("month","M"),U("month",8),fe("M",re),fe("MM",re,X),fe("MMM",(function(e,t){return t.monthsShortRegex(e)})),fe("MMMM",(function(e,t){return t.monthsRegex(e)})),ye(["M","MM"],(function(e,t){t[1]=G(e)-1})),ye(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[1]=a:h(n).invalidMonth=e}));var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),we="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ye=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Te=pe,Se=pe;function Re(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=ge.call(this._shortMonthsParse,i))?a:null:-1!==(a=ge.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=ge.call(this._shortMonthsParse,i))||-1!==(a=ge.call(this._longMonthsParse,i))?a:null:-1!==(a=ge.call(this._longMonthsParse,i))||-1!==(a=ge.call(this._shortMonthsParse,i))?a:null}function xe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Me(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(xe(this,e),a.updateOffset(this,!0),this):$(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),o.sort(e),t=0;t<12;t++)r[t]=_e(r[t]),a[t]=_e(a[t]);for(t=0;t<24;t++)o[t]=_e(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ce(e){return V(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),N("year","y"),U("year",1),fe("Y",ue),fe("YY",re,X),fe("YYYY",se,te),fe("YYYYY",le,ne),fe("YYYYYY",le,ne),ye(["YYYYY","YYYYYY"],0),ye("YYYY",(function(e,t){t[0]=2===e.length?a.parseTwoDigitYear(e):G(e)})),ye("YY",(function(e,t){t[0]=a.parseTwoDigitYear(e)})),ye("Y",(function(e,t){t[0]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Pe=q("FullYear",!0);function je(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function Oe(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function He(e,t,n){var r=7+t-n;return-(7+Oe(e,0,r).getUTCDay()-t)%7+r-1}function ze(e,t,n,r,a){var o,i,s=1+7*(t-1)+(7+n-r)%7+He(e,r,a);return s<=0?i=Ce(o=e-1)+s:s>Ce(e)?(o=e+1,i=s-Ce(e)):(o=e,i=s),{year:o,dayOfYear:i}}function Be(e,t,n){var r,a,o=He(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+Ae(a=e.year()-1,t,n):i>Ae(e.year(),t,n)?(r=i-Ae(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Ae(e,t,n){var r=He(e,t,n),a=He(e+1,t,n);return(Ce(e)-r+a)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),U("week",5),U("isoWeek",5),fe("w",re),fe("ww",re,X),fe("W",re),fe("WW",re,X),ve(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=G(e)})),H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),fe("d",re),fe("e",re),fe("E",re),fe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),fe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),fe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,n,r){t[r]=G(e)}));var Fe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ie="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),We="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=pe,Ve=pe,Je=pe;function Ge(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._shortWeekdaysParse,i))||-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,i))||-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,i))||-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._shortWeekdaysParse,i))?a:null}function qe(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=_e(this.weekdaysMin(n,"")),a=_e(this.weekdaysShort(n,"")),o=_e(this.weekdays(n,"")),i.push(r),s.push(a),l.push(o),c.push(r),c.push(a),c.push(o);i.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,$e),H("k",["kk",2],0,(function(){return this.hours()||24})),H("hmm",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),N("hour","h"),U("hour",13),fe("a",Qe),fe("A",Qe),fe("H",re),fe("h",re),fe("k",re),fe("HH",re,X),fe("hh",re,X),fe("kk",re,X),fe("hmm",ae),fe("hmmss",oe),fe("Hmm",ae),fe("Hmmss",oe),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var r=G(e);t[3]=24===r?0:r})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=G(e),h(n).bigHour=!0})),ye("hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r)),h(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a)),h(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r))})),ye("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a))}));var Ze,Xe=q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:we,week:{dow:0,doy:6},weekdays:Fe,weekdaysMin:We,weekdaysShort:Ie,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function at(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(t))try{r=Ze._abbr,n(212)("./"+t),it(r)}catch(e){tt[t]=null}return tt[t]}function it(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new D(x(r,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),it(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,a,o=0;o<e.length;){for(t=(a=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;t>0;){if(r=ot(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}o++}return Ze}(e)}function ct(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Me(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ft=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,r,a,o,i,s=e._i,l=ut.exec(s)||dt.exec(s),c=pt.length,u=ft.length;if(l){for(h(e).iso=!0,t=0,n=c;t<n;t++)if(pt[t][1].exec(l[1])){a=pt[t][0],r=!1!==pt[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(ft[t][1].exec(l[3])){o=(l[2]||" ")+ft[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!mt.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Lt(e)}else e._isValid=!1}function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function vt(e){var t,n,r,a,o,i,s,l,c=_t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],a=c[2],o=c[5],i=c[6],s=c[7],l=[yt(n),we.indexOf(r),parseInt(a,10),parseInt(o,10),parseInt(i,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Ie.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return gt[e];if(t)return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}(c[8],c[9],c[10]),e._d=Oe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,o,i,s=[];if(!e._d){for(r=function(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,a,o,i,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,i=4,n=kt(t.GG,e._a[0],Be(Tt(),1,4).year),r=kt(t.W,1),((a=kt(t.E,1))<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,c=Be(Tt(),o,i),n=kt(t.gg,e._a[0],c.year),r=kt(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>Ae(n,o,i)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ze(n,r,a,o,i),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(i=kt(e._a[0],r[0]),(e._dayOfYear>Ce(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Oe(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Oe:je).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,o,i,s,l,c=""+e._i,u=c.length,d=0;for(l=(r=B(e._f,e._locale).match(C)||[]).length,t=0;t<l;t++)o=r[t],(n=(c.match(he(o,e))||[])[0])&&((i=c.substr(0,c.indexOf(n))).length>0&&h(e).unusedInput.push(i),c=c.slice(c.indexOf(n)+n.length),d+=n.length),O[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),ke(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-d,c.length>0&&h(e).unusedInput.push(c),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),Mt(e),ct(e)}else vt(e);else bt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),M(t)?new k(ct(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,r,a,o,i,s=!1,l=e._f.length;if(0===l)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)o=0,i=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Lt(t),_(t)&&(i=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));p(e,n||t)}(e):n?Lt(e):function(e){var t=e._i;c(t)?e._d=new Date(a.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ht.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,vt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=m(t.slice(0),(function(e){return parseInt(e,10)})),Mt(e)):i(t)?function(e){if(!e._d){var t=I(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Mt(e)}}(e):u(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),_(e)||(e._d=null),e))}function Yt(e,t,n,r,a){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new k(ct(wt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Tt(e,t,n,r){return Yt(e,t,n,r,!1)}a.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var St=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()})),Rt=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}));function xt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=I(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1,a=Dt.length;for(t in e)if(s(e,t)&&(-1===ge.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Dt[n]]){if(r)return!1;parseFloat(e[Dt[n]])!==G(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Ct(e){return e instanceof Et}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function jt(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)}))}jt("Z",":"),jt("ZZ",""),fe("Z",me),fe("ZZ",me),ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ht(me,e)}));var Ot=/([\+\-]|\d\d)/gi;function Ht(e,t){var n,r,a=(t||"").match(e);return null===a?null:0===(r=60*(n=((a[a.length-1]||[])+"").match(Ot)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?r:-r}function zt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(M(e)||d(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Tt(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Nt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function It(e,t){var n,r,a,o,i,l,c=e,d=null;return Ct(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Nt.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:G(d[2])*n,h:G(d[3])*n,m:G(d[4])*n,s:G(d[5])*n,ms:G(Pt(1e3*d[6]))*n}):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:Wt(d[2],n),M:Wt(d[3],n),w:Wt(d[4],n),d:Wt(d[5],n),h:Wt(d[6],n),m:Wt(d[7],n),s:Wt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Tt(c.from),i=Tt(c.to),a=o.isValid()&&i.isValid()?(i=zt(i,o),o.isBefore(i)?l=Ut(o,i):((l=Ut(i,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=a.milliseconds,c.M=a.months),r=new Et(c),Ct(e)&&s(e,"_locale")&&(r._locale=e._locale),Ct(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(e,t){return function(n,r){var a;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Jt(this,It(n,r),e),this}}function Jt(e,t,n,r){var o=t._milliseconds,i=Pt(t._days),s=Pt(t._months);e.isValid()&&(r=null==r||r,s&&xe(e,$(e,"Month")+s*n),i&&K(e,"Date",$(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&a.updateOffset(e,i||s))}It.fn=Et.prototype,It.invalid=function(){return It(NaN)};var Gt=Vt(1,"add"),qt=Vt(-1,"subtract");function $t(e){return"string"==typeof e||e instanceof String}function Kt(e){return M(e)||d(e)||$t(e)||u(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&$t(e)})).length),t&&n}(e)||function(e){var t,n,r=i(e)&&!l(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=o.length;for(t=0;t<c;t+=1)n=o[t],a=a||s(e,n);return r&&a}(e)||null==e}function Qt(e){var t,n=i(e)&&!l(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)r=r||s(e,a[t]);return n&&r}function Zt(e,t){if(e.date()<t.date())return-Zt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],o=[],i=this.eras();for(e=0,t=i.length;e<t;++e)r.push(_e(i[e].name)),n.push(_e(i[e].abbr)),a.push(_e(i[e].narrow)),o.push(_e(i[e].name)),o.push(_e(i[e].abbr)),o.push(_e(i[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function ln(e,t){H(0,[e,e.length],0,t)}function cn(e,t,n,r,a){var o;return null==e?Be(this,r,a).year:(t>(o=Ae(e,r,a))&&(t=o),un.call(this,e,t,n,r,a))}function un(e,t,n,r,a){var o=ze(e,t,n,r,a),i=Oe(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),fe("N",on),fe("NN",on),fe("NNN",on),fe("NNNN",(function(e,t){return t.erasNameRegex(e)})),fe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e})),fe("y",ce),fe("yy",ce),fe("yyy",ce),fe("yyyy",ce),fe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",re,X),fe("gg",re,X),fe("GGGG",se,te),fe("gggg",se,te),fe("GGGGG",le,ne),fe("ggggg",le,ne),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=G(e)})),ve(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),N("quarter","Q"),U("quarter",7),fe("Q",Z),ye("Q",(function(e,t){t[1]=3*(G(e)-1)})),H("D",["DD",2],"Do","date"),N("date","D"),U("date",9),fe("D",re),fe("DD",re,X),fe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=G(e.match(re)[0])}));var dn=q("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),U("dayOfYear",4),fe("DDD",ie),fe("DDDD",ee),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),H("m",["mm",2],0,"minute"),N("minute","m"),U("minute",14),fe("m",re),fe("mm",re,X),ye(["m","mm"],4);var mn=q("Minutes",!1);H("s",["ss",2],0,"second"),N("second","s"),U("second",15),fe("s",re),fe("ss",re,X),ye(["s","ss"],5);var pn,fn,hn=q("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),U("millisecond",16),fe("S",ie,Z),fe("SS",ie,X),fe("SSS",ie,ee),pn="SSSS";pn.length<=9;pn+="S")fe(pn,ce);function _n(e,t){t[6]=G(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ye(pn,_n);fn=q("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var gn=k.prototype;function bn(e){return e}gn.add=Gt,gn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Qt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Tt(),r=zt(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=t&&(R(t[o])?t[o].call(this,n):t[o]);return this.format(i||this.localeData().calendar(o,this,Tt(n)))},gn.clone=function(){return new k(this)},gn.diff=function(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(!(r=zt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=F(t)){case"year":o=Zt(this,r)/12;break;case"month":o=Zt(this,r);break;case"quarter":o=Zt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:J(o)},gn.endOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},gn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},gn.from=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?It({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.fromNow=function(e){return this.from(Tt(),e)},gn.to=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?It({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.toNow=function(e){return this.to(Tt(),e)},gn.get=function(e){return R(this[e=F(e)])?this[e]():this},gn.invalidAt=function(){return h(this).overflow},gn.isAfter=function(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},gn.isBefore=function(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},gn.isBetween=function(e,t,n,r){var a=M(e)?e:Tt(e),o=M(t)?t:Tt(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},gn.isSame=function(e,t){var n,r=M(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},gn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},gn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},gn.isValid=function(){return _(this)},gn.lang=en,gn.locale=Xt,gn.localeData=tn,gn.max=Rt,gn.min=St,gn.parsingFlags=function(){return p({},h(this))},gn.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:W[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=I(e)),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(R(this[e=F(e)]))return this[e](t);return this},gn.startOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),a.updateOffset(this,!0),this},gn.subtract=qt,gn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},gn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},gn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},gn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},gn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-a(o[e].since).year())*n+o[e].offset;return this.year()},gn.year=Pe,gn.isLeapYear=function(){return V(this.year())},gn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},gn.month=De,gn.daysInMonth=function(){return Me(this.year(),this.month())},gn.week=gn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},gn.isoWeek=gn.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gn.weeksInYear=function(){var e=this.localeData()._week;return Ae(this.year(),e.dow,e.doy)},gn.weeksInWeekYear=function(){var e=this.localeData()._week;return Ae(this.weekYear(),e.dow,e.doy)},gn.isoWeeksInYear=function(){return Ae(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return Ae(this.isoWeekYear(),1,4)},gn.date=dn,gn.day=gn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},gn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},gn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},gn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},gn.hour=gn.hours=Xe,gn.minute=gn.minutes=mn,gn.second=gn.seconds=hn,gn.millisecond=gn.milliseconds=fn,gn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ht(me,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Bt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Jt(this,It(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Bt(this)},gn.utc=function(e){return this.utcOffset(0,e)},gn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bt(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ht(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=At,gn.isUTC=At,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=w("dates accessor is deprecated. Use date instead.",dn),gn.months=w("months accessor is deprecated. Use month instead",De),gn.years=w("years accessor is deprecated. Use year instead",Pe),gn.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),gn.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=wt(t))._a?(e=t._isUTC?f(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&G(e[r])!==G(t[r]))&&i++;return i+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=D.prototype;function vn(e,t,n,r){var a=lt(),o=f().set(r,t);return a[n](o,e)}function kn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return vn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=vn(e,r,n,"month");return a}function Mn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,o=lt(),i=e?o._week.dow:0,s=[];if(null!=n)return vn(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=vn(t,(a+i)%7,r,"day");return s}yn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return R(r)?r.call(t,n):r},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=bn,yn.postformat=bn,yn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return R(a)?a(e,t,n,r):a.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,r,o,i=this._eras||lt("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":o=a(i[n].since).startOf("day"),i[n].since=o.valueOf()}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}}return i},yn.erasParse=function(e,t,n){var r,a,o,i,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(o=l[r].name.toUpperCase(),i=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,i,s].indexOf(e)>=0)return l[r]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ye).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ye.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var r,a,o;if(this._monthsParseExact)return Re.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Se),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return Be(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ve),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=w("moment.lang is deprecated. Use moment.locale instead.",it),a.langData=w("moment.langData is deprecated. Use moment.localeData instead.",lt);var Ln=Math.abs;function wn(e,t,n,r){var a=It(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Yn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var xn=Rn("ms"),Dn=Rn("s"),En=Rn("m"),Cn=Rn("h"),Pn=Rn("d"),jn=Rn("w"),On=Rn("M"),Hn=Rn("Q"),zn=Rn("y");function Bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var An=Bn("milliseconds"),Nn=Bn("seconds"),Fn=Bn("minutes"),In=Bn("hours"),Wn=Bn("days"),Un=Bn("months"),Vn=Bn("years"),Jn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var $n=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,l=$n(this._milliseconds)/1e3,c=$n(this._days),u=$n(this._months),d=this.asSeconds();return d?(e=J(l/60),t=J(e/60),l%=60,e%=60,n=J(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=Kn(this._months)!==Kn(d)?"-":"",i=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",a+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var Zn=Et.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=Ln(this._milliseconds),this._days=Ln(this._days),this._months=Ln(this._months),e.milliseconds=Ln(e.milliseconds),e.seconds=Ln(e.seconds),e.minutes=Ln(e.minutes),e.hours=Ln(e.hours),e.months=Ln(e.months),e.years=Ln(e.years),this},Zn.add=function(e,t){return wn(this,e,t,1)},Zn.subtract=function(e,t){return wn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Tn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=xn,Zn.asSeconds=Dn,Zn.asMinutes=En,Zn.asHours=Cn,Zn.asDays=Pn,Zn.asWeeks=jn,Zn.asMonths=On,Zn.asQuarters=Hn,Zn.asYears=zn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Zn._bubble=function(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*Yn(Sn(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=J(o/1e3),l.seconds=e%60,t=J(e/60),l.minutes=t%60,n=J(t/60),l.hours=n%24,i+=J(n/24),a=J(Tn(i)),s+=a,i-=Yn(Sn(a)),r=J(s/12),s%=12,l.days=i,l.months=s,l.years=r,this},Zn.clone=function(){return It(this)},Zn.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=An,Zn.seconds=Nn,Zn.minutes=Fn,Zn.hours=In,Zn.days=Wn,Zn.weeks=function(){return J(this.days()/7)},Zn.months=Un,Zn.years=Vn,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=It(e).abs(),o=Jn(a.as("s")),i=Jn(a.as("m")),s=Jn(a.as("h")),l=Jn(a.as("d")),c=Jn(a.as("M")),u=Jn(a.as("w")),d=Jn(a.as("y")),m=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(m=m||u<=1&&["w"]||u<n.w&&["ww",u]),(m=m||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,m[3]=+e>0,m[4]=r,qn.apply(null,m)}(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Zn.toISOString=Qn,Zn.toString=Qn,Zn.toJSON=Qn,Zn.locale=Xt,Zn.localeData=tn,Zn.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Zn.lang=en,H("X",0,0,"unix"),H("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date(G(e))})),
7
- //! moment.js
8
- a.version="2.29.4",t=Tt,a.fn=gn,a.min=function(){var e=[].slice.call(arguments,0);return xt("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return xt("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=f,a.unix=function(e){return Tt(1e3*e)},a.months=function(e,t){return kn(e,t,"months")},a.isDate=d,a.locale=it,a.invalid=g,a.duration=It,a.isMoment=M,a.weekdays=function(e,t,n){return Mn(e,t,n,"weekdays")},a.parseZone=function(){return Tt.apply(null,arguments).parseZone()},a.localeData=lt,a.isDuration=Ct,a.monthsShort=function(e,t){return kn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return Mn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(x(tt[e]._config,t)):(null!=(r=ot(e))&&(a=r._config),t=x(a,t),null==r&&(t.abbr=e),(n=new D(t)).parentLocale=tt[e],tt[e]=n),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return Y(tt)},a.weekdaysShort=function(e,t,n){return Mn(e,t,n,"weekdaysShort")},a.normalizeUnits=F,a.relativeTimeRounding=function(e){return void 0===e?Jn:"function"==typeof e&&(Jn=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=gn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(34)(e))},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";e.exports=n(204)},function(e,t,n){var r=n(181),a=n(213),o=n(290),i=n(13);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t,n){var r=n(185),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(209),a=n(210),o=n(44),i=n(211);e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(305)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(226),a=n(232);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t){e.exports=lodash},function(e,t,n){var r=n(22),a=n(228),o=n(229),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(216),a=n(217),o=n(218),i=n(219),s=n(220);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(183);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(12).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(16)(Object,"create");e.exports=r},function(e,t,n){var r=n(241);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(18),a=n(19);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(26);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(196);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){e.exports=function(e,t){var n,r,a=0;function o(){var o,i,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<l;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(o=new Array(l),i=0;i<l;i++)o[i]=arguments[i];return s={args:o,val:e.apply(null,o)},n?(n.prev=s,s.next=n):r=s,a===t.maxSize?(r=r.prev).next=null:a++,n=s,s.val}return t=t||{},o.clear=function(){n=null,r=null,a=0},o}},function(e,t,n){var r=n(189),a=n(296),o=n(297),i=Math.min;e.exports=function(e,t){if((e=o(e))<1||e>9007199254740991)return[];var n=4294967295,s=i(e,4294967295);t=a(t),e-=4294967295;for(var l=r(s,t);++n<e;)t(n);return l}},function(e,t,n){var r=n(302),a=n(303),o=n(44),i=n(304);e.exports=function(e){return r(e)||a(e)||o(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,a=[];++t<n;){var o=e[t];o&&(a[r++]=o)}return a}},function(e,t){function n(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,l,"next",e)}function l(e){n(i,a,o,s,l,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(16)(n(12),"Map");e.exports=r},function(e,t,n){var r=n(233),a=n(240),o=n(242),i=n(243),s=n(244);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(262),a=n(268),o=n(39);e.exports=function(e){return o(e)?r(e):a(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(184),a=n(38);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t,n){var r=n(13),a=n(26),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){var r=n(45);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){!function(e){"use strict";
9
- //! moment.js locale configuration
10
- e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
11
- //! moment.js locale configuration
12
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,i){var s=r(t),l=a[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
13
- //! moment.js locale configuration
14
- var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,a,o,i){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
15
- //! moment.js locale configuration
16
- e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
17
- //! moment.js locale configuration
18
- var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,o,i){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
19
- //! moment.js locale configuration
20
- e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
21
- //! moment.js locale configuration
22
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
23
- //! moment.js locale configuration
24
- e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
25
- //! moment.js locale configuration
26
- var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
27
- //! moment.js locale configuration
28
- function t(e,t,n){var r,a;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
29
- //! moment.js locale configuration
30
- e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
31
- //! moment.js locale configuration
32
- e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
33
- //! moment.js locale configuration
34
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
35
- //! moment.js locale configuration
36
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
37
- //! moment.js locale configuration
38
- var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
39
- //! moment.js locale configuration
40
- function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(6))},function(e,t,n){!function(e){"use strict";
41
- //! moment.js locale configuration
42
- function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
43
- //! moment.js locale configuration
44
- e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
45
- //! moment.js locale configuration
46
- var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(o(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(o(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(o(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(o(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(o(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(o(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
47
- //! moment.js locale configuration
48
- e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
49
- //! moment.js locale configuration
50
- e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
51
- //! moment.js locale configuration
52
- e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
53
- //! moment.js locale configuration
54
- function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
55
- //! moment.js locale configuration
56
- function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
57
- //! moment.js locale configuration
58
- function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
59
- //! moment.js locale configuration
60
- var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
61
- //! moment.js locale configuration
62
- e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],a=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
63
- //! moment.js locale configuration
64
- e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
65
- //! moment.js locale configuration
66
- e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(6))},function(e,t,n){!function(e){"use strict";
67
- //! moment.js locale configuration
68
- e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
69
- //! moment.js locale configuration
70
- e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
71
- //! moment.js locale configuration
72
- e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(6))},function(e,t,n){!function(e){"use strict";
73
- //! moment.js locale configuration
74
- e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
75
- //! moment.js locale configuration
76
- e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
77
- //! moment.js locale configuration
78
- e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
79
- //! moment.js locale configuration
80
- e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
81
- //! moment.js locale configuration
82
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(6))},function(e,t,n){!function(e){"use strict";
83
- //! moment.js locale configuration
84
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
85
- //! moment.js locale configuration
86
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(6))},function(e,t,n){!function(e){"use strict";
87
- //! moment.js locale configuration
88
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
89
- //! moment.js locale configuration
90
- function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
91
- //! moment.js locale configuration
92
- e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
93
- //! moment.js locale configuration
94
- var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
95
- //! moment.js locale configuration
96
- var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,a,o){var i="";switch(a){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":i=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":i=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":i=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":i=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":i=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":i=o?"vuoden":"vuotta"}return i=function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+i}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
97
- //! moment.js locale configuration
98
- e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
99
- //! moment.js locale configuration
100
- e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
101
- //! moment.js locale configuration
102
- var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
103
- //! moment.js locale configuration
104
- e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(6))},function(e,t,n){!function(e){"use strict";
105
- //! moment.js locale configuration
106
- e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
107
- //! moment.js locale configuration
108
- var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
109
- //! moment.js locale configuration
110
- e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
111
- //! moment.js locale configuration
112
- e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
113
- //! moment.js locale configuration
114
- e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
115
- //! moment.js locale configuration
116
- function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(6))},function(e,t,n){!function(e){"use strict";
117
- //! moment.js locale configuration
118
- function t(e,t,n,r){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(6))},function(e,t,n){!function(e){"use strict";
119
- //! moment.js locale configuration
120
- var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
121
- //! moment.js locale configuration
122
- e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(6))},function(e,t,n){!function(e){"use strict";
123
- //! moment.js locale configuration
124
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
125
- //! moment.js locale configuration
126
- function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
127
- //! moment.js locale configuration
128
- var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var a=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return a+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return a+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return a+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return a+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return a+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
129
- //! moment.js locale configuration
130
- e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
131
- //! moment.js locale configuration
132
- e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
133
- //! moment.js locale configuration
134
- function t(e){return e%100==11||e%10!=1}function n(e,n,r,a){var o=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||a?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||a?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||a?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(a?"daga":"dögum"):n?o+"dagur":o+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(a?"mánuði":"mánuðum"):n?o+"mánuður":o+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?o+(n||a?"ár":"árum"):o+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
135
- //! moment.js locale configuration
136
- e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
137
- //! moment.js locale configuration
138
- e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
139
- //! moment.js locale configuration
140
- e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(6))},function(e,t,n){!function(e){"use strict";
141
- //! moment.js locale configuration
142
- e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
143
- //! moment.js locale configuration
144
- e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
145
- //! moment.js locale configuration
146
- var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
147
- //! moment.js locale configuration
148
- var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
149
- //! moment.js locale configuration
150
- var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
151
- //! moment.js locale configuration
152
- e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(6))},function(e,t,n){!function(e){"use strict";
153
- //! moment.js locale configuration
154
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
155
- //! moment.js locale configuration
156
- var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
157
- //! moment.js locale configuration
158
- function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
159
- //! moment.js locale configuration
160
- e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(6))},function(e,t,n){!function(e){"use strict";
161
- //! moment.js locale configuration
162
- var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?a(n)[0]:r?a(n)[1]:a(n)[2]}function r(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function o(e,t,o,i){var s=e+" ";return 1===e?s+n(0,t,o[0],i):t?s+(r(e)?a(o)[1]:a(o)[0]):i?s+a(o)[1]:s+(r(e)?a(o)[1]:a(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
163
- //! moment.js locale configuration
164
- var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
165
- //! moment.js locale configuration
166
- var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
167
- //! moment.js locale configuration
168
- e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
169
- //! moment.js locale configuration
170
- e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
171
- //! moment.js locale configuration
172
- e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(6))},function(e,t,n){!function(e){"use strict";
173
- //! moment.js locale configuration
174
- function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(6))},function(e,t,n){!function(e){"use strict";
175
- //! moment.js locale configuration
176
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
177
- //! moment.js locale configuration
178
- e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
179
- //! moment.js locale configuration
180
- e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
181
- //! moment.js locale configuration
182
- e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
183
- //! moment.js locale configuration
184
- var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
185
- //! moment.js locale configuration
186
- e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
187
- //! moment.js locale configuration
188
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
189
- //! moment.js locale configuration
190
- var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
191
- //! moment.js locale configuration
192
- var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
193
- //! moment.js locale configuration
194
- e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
195
- //! moment.js locale configuration
196
- e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
197
- //! moment.js locale configuration
198
- var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
199
- //! moment.js locale configuration
200
- var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
201
- //! moment.js locale configuration
202
- e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
203
- //! moment.js locale configuration
204
- e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(6))},function(e,t,n){!function(e){"use strict";
205
- //! moment.js locale configuration
206
- function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
207
- //! moment.js locale configuration
208
- function t(e,t,n){var r,a;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
209
- //! moment.js locale configuration
210
- var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
211
- //! moment.js locale configuration
212
- e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
213
- //! moment.js locale configuration
214
- e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(6))},function(e,t,n){!function(e){"use strict";
215
- //! moment.js locale configuration
216
- var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var o=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
217
- //! moment.js locale configuration
218
- function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
219
- //! moment.js locale configuration
220
- e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
221
- //! moment.js locale configuration
222
- var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var o,i=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?i[0]:i[1]:(o=t.correctGrammaticalCase(e,i),"yy"===r&&n&&"godinu"===o?e+" godina":e+" "+o)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
223
- //! moment.js locale configuration
224
- var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var o,i=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?i[0]:i[1]:(o=t.correctGrammaticalCase(e,i),"yy"===r&&n&&"годину"===o?e+" година":e+" "+o)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
225
- //! moment.js locale configuration
226
- e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
227
- //! moment.js locale configuration
228
- e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
229
- //! moment.js locale configuration
230
- e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
231
- //! moment.js locale configuration
232
- var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
233
- //! moment.js locale configuration
234
- e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(6))},function(e,t,n){!function(e){"use strict";
235
- //! moment.js locale configuration
236
- e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
237
- //! moment.js locale configuration
238
- var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
239
- //! moment.js locale configuration
240
- e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(6))},function(e,t,n){!function(e){"use strict";
241
- //! moment.js locale configuration
242
- var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
243
- //! moment.js locale configuration
244
- e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
245
- //! moment.js locale configuration
246
- var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,a){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),a>0&&(o+=(""!==o?" ":"")+t[a]),""===o?"pagh":o}(e);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
247
- //! moment.js locale configuration
248
- var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
249
- //! moment.js locale configuration
250
- function t(e,t,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
251
- //! moment.js locale configuration
252
- e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
253
- //! moment.js locale configuration
254
- e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(6))},function(e,t,n){!function(e){"use strict";
255
- //! moment.js locale configuration
256
- e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
257
- //! moment.js locale configuration
258
- function t(e,t,n){var r,a;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,a={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
259
- //! moment.js locale configuration
260
- var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
261
- //! moment.js locale configuration
262
- e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
263
- //! moment.js locale configuration
264
- e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(6))},function(e,t,n){!function(e){"use strict";
265
- //! moment.js locale configuration
266
- e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
267
- //! moment.js locale configuration
268
- e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
269
- //! moment.js locale configuration
270
- e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
271
- //! moment.js locale configuration
272
- e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
273
- //! moment.js locale configuration
274
- e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(6))},function(e,t,n){!function(e){"use strict";
275
- //! moment.js locale configuration
276
- e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(6))},function(e,t,n){!function(e){"use strict";
277
- //! moment.js locale configuration
278
- e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(6))},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t,n){var r=n(20),a=n(221),o=n(222),i=n(223),s=n(224),l=n(225);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(18),a=n(23);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(227))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(245),a=n(19);e.exports=function e(t,n,o,i,s){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,o,i,e,s))}},function(e,t,n){var r=n(246),a=n(249),o=n(250);e.exports=function(e,t,n,i,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var m=l.get(e),p=l.get(t);if(m&&p)return m==t&&p==e;var f=-1,h=!0,_=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var g=e[f],b=t[f];if(i)var y=c?i(b,g,f,t,e,l):i(g,b,f,e,t,l);if(void 0!==y){if(y)continue;h=!1;break}if(_){if(!a(t,(function(e,t){if(!o(_,t)&&(g===e||s(g,e,n,i,l)))return _.push(t)}))){h=!1;break}}else if(g!==b&&!s(g,b,n,i,l)){h=!1;break}}return l.delete(e),l.delete(t),h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(263),a=n(19),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(12),a=n(264),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||a;e.exports=l}).call(this,n(34)(e))},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(265),a=n(266),o=n(267),i=o&&o.isTypedArray,s=i?a(i):r;e.exports=s},function(e,t,n){var r=n(23);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(197),a=n(27);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[a(t[n++])];return n&&n==o?e:void 0}},function(e,t,n){var r=n(13),a=n(40),o=n(279),i=n(282);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r,a,o,i,s;r=n(202),a=n(43).utf8,o=n(203),i=n(43).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?i.stringToBytes(e):a.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,m=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var f=s._ff,h=s._gg,_=s._hh,g=s._ii;for(p=0;p<n.length;p+=16){var b=c,y=u,v=d,k=m;c=f(c,u,d,m,n[p+0],7,-680876936),m=f(m,c,u,d,n[p+1],12,-389564586),d=f(d,m,c,u,n[p+2],17,606105819),u=f(u,d,m,c,n[p+3],22,-1044525330),c=f(c,u,d,m,n[p+4],7,-176418897),m=f(m,c,u,d,n[p+5],12,1200080426),d=f(d,m,c,u,n[p+6],17,-1473231341),u=f(u,d,m,c,n[p+7],22,-45705983),c=f(c,u,d,m,n[p+8],7,1770035416),m=f(m,c,u,d,n[p+9],12,-1958414417),d=f(d,m,c,u,n[p+10],17,-42063),u=f(u,d,m,c,n[p+11],22,-1990404162),c=f(c,u,d,m,n[p+12],7,1804603682),m=f(m,c,u,d,n[p+13],12,-40341101),d=f(d,m,c,u,n[p+14],17,-1502002290),c=h(c,u=f(u,d,m,c,n[p+15],22,1236535329),d,m,n[p+1],5,-165796510),m=h(m,c,u,d,n[p+6],9,-1069501632),d=h(d,m,c,u,n[p+11],14,643717713),u=h(u,d,m,c,n[p+0],20,-373897302),c=h(c,u,d,m,n[p+5],5,-701558691),m=h(m,c,u,d,n[p+10],9,38016083),d=h(d,m,c,u,n[p+15],14,-660478335),u=h(u,d,m,c,n[p+4],20,-405537848),c=h(c,u,d,m,n[p+9],5,568446438),m=h(m,c,u,d,n[p+14],9,-1019803690),d=h(d,m,c,u,n[p+3],14,-187363961),u=h(u,d,m,c,n[p+8],20,1163531501),c=h(c,u,d,m,n[p+13],5,-1444681467),m=h(m,c,u,d,n[p+2],9,-51403784),d=h(d,m,c,u,n[p+7],14,1735328473),c=_(c,u=h(u,d,m,c,n[p+12],20,-1926607734),d,m,n[p+5],4,-378558),m=_(m,c,u,d,n[p+8],11,-2022574463),d=_(d,m,c,u,n[p+11],16,1839030562),u=_(u,d,m,c,n[p+14],23,-35309556),c=_(c,u,d,m,n[p+1],4,-1530992060),m=_(m,c,u,d,n[p+4],11,1272893353),d=_(d,m,c,u,n[p+7],16,-155497632),u=_(u,d,m,c,n[p+10],23,-1094730640),c=_(c,u,d,m,n[p+13],4,681279174),m=_(m,c,u,d,n[p+0],11,-358537222),d=_(d,m,c,u,n[p+3],16,-722521979),u=_(u,d,m,c,n[p+6],23,76029189),c=_(c,u,d,m,n[p+9],4,-640364487),m=_(m,c,u,d,n[p+12],11,-421815835),d=_(d,m,c,u,n[p+15],16,530742520),c=g(c,u=_(u,d,m,c,n[p+2],23,-995338651),d,m,n[p+0],6,-198630844),m=g(m,c,u,d,n[p+7],10,1126891415),d=g(d,m,c,u,n[p+14],15,-1416354905),u=g(u,d,m,c,n[p+5],21,-57434055),c=g(c,u,d,m,n[p+12],6,1700485571),m=g(m,c,u,d,n[p+3],10,-1894986606),d=g(d,m,c,u,n[p+10],15,-1051523),u=g(u,d,m,c,n[p+1],21,-2054922799),c=g(c,u,d,m,n[p+8],6,1873313359),m=g(m,c,u,d,n[p+15],10,-30611744),d=g(d,m,c,u,n[p+6],15,-1560198380),u=g(u,d,m,c,n[p+13],21,1309151649),c=g(c,u,d,m,n[p+4],6,-145523070),m=g(m,c,u,d,n[p+11],10,-1120210379),d=g(d,m,c,u,n[p+2],15,718787259),u=g(u,d,m,c,n[p+9],21,-343485551),c=c+b>>>0,u=u+y>>>0,d=d+v>>>0,m=m+k>>>0}return r.endian([c,u,d,m])})._ff=function(e,t,n,r,a,o,i){var s=e+(t&n|~t&r)+(a>>>0)+i;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,n,r,a,o,i){var s=e+(t&r|n&~r)+(a>>>0)+i;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,n,r,a,o,i){var s=e+(t^n^r)+(a>>>0)+i;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,n,r,a,o,i){var s=e+(n^(t|~r))+(a>>>0)+i;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):r.bytesToHex(n)}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(205)},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var a=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?t.push(n.charAt(a>>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,a=0;r<e.length;a=++r%4)0!=a&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*a+8)-1)<<2*a|n.indexOf(e.charAt(r))>>>6-2*a);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
279
- /*!
280
- * Determine if an object is a Buffer
281
- *
282
- * @author Feross Aboukhadijeh <https://feross.org>
283
- * @license MIT
284
- */
285
- e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";
286
- /**
287
- * @license React
288
- * react.production.min.js
289
- *
290
- * Copyright (c) Facebook, Inc. and its affiliates.
291
- *
292
- * This source code is licensed under the MIT license found in the
293
- * LICENSE file in the root directory of this source tree.
294
- */var r=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var k=v.prototype=new y;k.constructor=v,_(k,b.prototype),k.isPureReactComponent=!0;var M=Array.isArray,L=Object.prototype.hasOwnProperty,w={current:null},Y={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,n){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)L.call(t,a)&&!Y.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:r,type:e,key:i,ref:s,props:o,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var R=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function D(e,t,n,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case a:l=!0}}if(l)return i=i(l=e),e=""===o?"."+x(l,0):o,M(i)?(n="",null!=e&&(n=e.replace(R,"$&/")+"/"),D(i,t,n,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(R,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",M(e))for(var c=0;c<e.length;c++){var u=o+x(s=e[c],c);l+=D(s,t,n,u,i)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e)))for(e=u.call(e),c=0;!(s=e.next()).done;)l+=D(s=s.value,t,n,u=o+x(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function E(e,t,n){if(null==e)return e;var r=[],a=0;return D(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function C(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},j={transition:null},O={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:j,ReactCurrentOwner:w};t.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return E(e,(function(){t++})),t},toArray:function(e){return E(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=s,t.PureComponent=v,t.StrictMode=i,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=_({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=w.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)L.call(t,c)&&!Y.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:r,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=T,t.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:C}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.2.0"},function(e,t,n){"use strict";
295
- /** @license React v17.0.2
296
- * react-dom.production.min.js
297
- *
298
- * Copyright (c) Facebook, Inc. and its affiliates.
299
- *
300
- * This source code is licensed under the MIT license found in the
301
- * LICENSE file in the root directory of this source tree.
302
- */var r=n(10),a=n(206),o=n(207);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,f={},h={};function _(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new _(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new _(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new _(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new _(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new _(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new _(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new _(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new _(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new _(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(h,e)||!p.call(f,e)&&(m.test(e)?h[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new _(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new _(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);g[t]=new _(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new _(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new _(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=60103,L=60106,w=60107,Y=60108,T=60114,S=60109,R=60110,x=60112,D=60113,E=60120,C=60115,P=60116,j=60121,O=60128,H=60129,z=60130,B=60131;if("function"==typeof Symbol&&Symbol.for){var A=Symbol.for;M=A("react.element"),L=A("react.portal"),w=A("react.fragment"),Y=A("react.strict_mode"),T=A("react.profiler"),S=A("react.provider"),R=A("react.context"),x=A("react.forward_ref"),D=A("react.suspense"),E=A("react.suspense_list"),C=A("react.memo"),P=A("react.lazy"),j=A("react.block"),A("react.scope"),O=A("react.opaque.id"),H=A("react.debug_trace_mode"),z=A("react.offscreen"),B=A("react.legacy_hidden")}var N,F="function"==typeof Symbol&&Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=F&&e[F]||e["@@iterator"])?e:null}function W(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var U=!1;function V(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var a=e.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function J(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 22:return e=V(e.type._render,!1);case 1:return e=V(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case L:return"Portal";case T:return"Profiler";case Y:return"StrictMode";case D:return"Suspense";case E:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case R:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case x:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case C:return G(e.type);case j:return G(e._render);case P:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ce(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",me="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,_e=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==me||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(be).forEach((function(e){ye.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Me=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Le(e,t){if(t){if(Me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function we(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Se=null,Re=null;function xe(e){if(e=Zr(e)){if("function"!=typeof Te)throw Error(i(280));var t=e.stateNode;t&&(t=ea(t),Te(e.stateNode,e.type,t))}}function De(e){Se?Re?Re.push(e):Re=[e]:Se=e}function Ee(){if(Se){var e=Se,t=Re;if(Re=Se=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Ce(e,t){return e(t)}function Pe(e,t,n,r,a){return e(t,n,r,a)}function je(){}var Oe=Ce,He=!1,ze=!1;function Be(){null===Se&&null===Re||(je(),Ee())}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=ea(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Ne=!1;if(d)try{var Fe={};Object.defineProperty(Fe,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Fe,Fe),window.removeEventListener("test",Fe,Fe)}catch(e){Ne=!1}function Ie(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var We=!1,Ue=null,Ve=!1,Je=null,Ge={onError:function(e){We=!0,Ue=e}};function qe(e,t,n,r,a,o,i,s,l){We=!1,Ue=null,Ie.apply(Ge,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Qe(e){if($e(e)!==e)throw Error(i(188))}function Ze(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Qe(a),e;if(o===r)return Qe(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Xe(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,at=!1,ot=[],it=null,st=null,lt=null,ct=new Map,ut=new Map,dt=[],mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function ft(e,t){switch(e){case"focusin":case"focusout":it=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function ht(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=pt(t,n,r,a,o),null!==t&&(null!==(t=Zr(t))&&tt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function _t(e){var t=Qr(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Zr(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){gt(e)&&n.delete(t)}function yt(){for(at=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=Zr(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==it&&gt(it)&&(it=null),null!==st&&gt(st)&&(st=null),null!==lt&&gt(lt)&&(lt=null),ct.forEach(bt),ut.forEach(bt)}function vt(e,t){e.blockedOn===t&&(e.blockedOn=null,at||(at=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,yt)))}function kt(e){function t(t){return vt(t,e)}if(0<ot.length){vt(ot[0],e);for(var n=1;n<ot.length;n++){var r=ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==it&&vt(it,e),null!==st&&vt(st,e),null!==lt&&vt(lt,e),ct.forEach(t),ut.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)_t(n),null===n.blockedOn&&dt.shift()}function Mt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Lt={animationend:Mt("Animation","AnimationEnd"),animationiteration:Mt("Animation","AnimationIteration"),animationstart:Mt("Animation","AnimationStart"),transitionend:Mt("Transition","TransitionEnd")},wt={},Yt={};function Tt(e){if(wt[e])return wt[e];if(!Lt[e])return e;var t,n=Lt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Yt)return wt[e]=n[t];return e}d&&(Yt=document.createElement("div").style,"AnimationEvent"in window||(delete Lt.animationend.animation,delete Lt.animationiteration.animation,delete Lt.animationstart.animation),"TransitionEvent"in window||delete Lt.transitionend.transition);var St=Tt("animationend"),Rt=Tt("animationiteration"),xt=Tt("animationstart"),Dt=Tt("transitionend"),Et=new Map,Ct=new Map,Pt=["abort","abort",St,"animationEnd",Rt,"animationIteration",xt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Dt,"transitionEnd","waiting","waiting"];function jt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Ct.set(r,t),Et.set(r,a),c(a,[r])}}(0,o.unstable_now)();var Ot=8;function Ht(e){if(0!=(1&e))return Ot=15,1;if(0!=(2&e))return Ot=14,2;if(0!=(4&e))return Ot=13,4;var t=24&e;return 0!==t?(Ot=12,t):0!=(32&e)?(Ot=11,32):0!==(t=192&e)?(Ot=10,t):0!=(256&e)?(Ot=9,256):0!==(t=3584&e)?(Ot=8,t):0!=(4096&e)?(Ot=7,4096):0!==(t=4186112&e)?(Ot=6,t):0!==(t=62914560&e)?(Ot=5,t):67108864&e?(Ot=4,67108864):0!=(134217728&e)?(Ot=3,134217728):0!==(t=805306368&e)?(Ot=2,t):0!=(1073741824&e)?(Ot=1,1073741824):(Ot=8,e)}function zt(e,t){var n=e.pendingLanes;if(0===n)return Ot=0;var r=0,a=0,o=e.expiredLanes,i=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,a=Ot=15;else if(0!==(o=134217727&n)){var l=o&~i;0!==l?(r=Ht(l),a=Ot):0!==(s&=o)&&(r=Ht(s),a=Ot)}else 0!==(o=n&~i)?(r=Ht(o),a=Ot):0!==s&&(r=Ht(s),a=Ot);if(0===r)return 0;if(r=n&((0>(r=31-Wt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Ht(t),a<=Ot)return t;Ot=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Wt(t)),r|=e[n],t&=~a;return r}function Bt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function At(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Nt(24&~t))?At(10,t):e;case 10:return 0===(e=Nt(192&~t))?At(8,t):e;case 8:return 0===(e=Nt(3584&~t))&&(0===(e=Nt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Nt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function Nt(e){return e&-e}function Ft(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function It(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ut(e)/Vt|0)|0},Ut=Math.log,Vt=Math.LN2;var Jt=o.unstable_UserBlockingPriority,Gt=o.unstable_runWithPriority,qt=!0;function $t(e,t,n,r){He||je();var a=Qt,o=He;He=!0;try{Pe(a,e,t,n,r)}finally{(He=o)||Be()}}function Kt(e,t,n,r){Gt(Jt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var a;if(qt)if((a=0==(4&t))&&0<ot.length&&-1<mt.indexOf(e))e=pt(null,e,t,n,r),ot.push(e);else{var o=Zt(e,t,n,r);if(null===o)a&&ft(e,r);else{if(a){if(-1<mt.indexOf(e))return e=pt(o,e,t,n,r),void ot.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return it=ht(it,e,t,n,r,a),!0;case"dragenter":return st=ht(st,e,t,n,r,a),!0;case"mouseover":return lt=ht(lt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return ct.set(o,ht(ct.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,ut.set(o,ht(ut.get(o)||null,e,t,n,r,a)),!0}return!1}(o,e,t,n,r))return;ft(e,r)}Dr(e,t,r,null,n)}}}function Zt(e,t,n,r){var a=Ye(r);if(null!==(a=Qr(a))){var o=$e(a);if(null===o)a=null;else{var i=o.tag;if(13===i){if(null!==(a=Ke(o)))return a;a=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Dr(e,t,r,a,n),null}var Xt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,a="value"in Xt?Xt.value:Xt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return tn=a.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function on(){return!1}function sn(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?an:on,this.isPropagationStopped=on,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var ln,cn,un,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mn=sn(dn),pn=a({},dn,{view:0,detail:0}),fn=sn(pn),hn=a({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,cn=e.screenY-un.screenY):cn=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),_n=sn(hn),gn=sn(a({},hn,{dataTransfer:0})),bn=sn(a({},pn,{relatedTarget:0})),yn=sn(a({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=sn(a({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),kn=sn(a({},dn,{data:0})),Mn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ln={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function Tn(){return Yn}var Sn=sn(a({},pn,{key:function(e){if(e.key){var t=Mn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ln[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tn,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Rn=sn(a({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=sn(a({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tn})),Dn=sn(a({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),En=sn(a({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Cn=[9,13,27,32],Pn=d&&"CompositionEvent"in window,jn=null;d&&"documentMode"in document&&(jn=document.documentMode);var On=d&&"TextEvent"in window&&!jn,Hn=d&&(!Pn||jn&&8<jn&&11>=jn),zn=String.fromCharCode(32),Bn=!1;function An(e,t){switch(e){case"keyup":return-1!==Cn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var In={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!In[e.type]:"textarea"===t}function Un(e,t,n,r){De(r),0<(t=Cr(t,"onChange")).length&&(n=new mn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Jn=null;function Gn(e){wr(e,0)}function qn(e){if(Q(Xr(e)))return e}function $n(e,t){if("change"===e)return t}var Kn=!1;if(d){var Qn;if(d){var Zn="oninput"in document;if(!Zn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Zn="function"==typeof Xn.oninput}Qn=Zn}else Qn=!1;Kn=Qn&&(!document.documentMode||9<document.documentMode)}function er(){Vn&&(Vn.detachEvent("onpropertychange",tr),Jn=Vn=null)}function tr(e){if("value"===e.propertyName&&qn(Jn)){var t=[];if(Un(t,Jn,e,Ye(e)),e=Gn,He)e(t);else{He=!0;try{Ce(e,t)}finally{He=!1,Be()}}}}function nr(e,t,n){"focusin"===e?(er(),Jn=n,(Vn=t).attachEvent("onpropertychange",tr)):"focusout"===e&&er()}function rr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Jn)}function ar(e,t){if("click"===e)return qn(t)}function or(e,t){if("input"===e||"change"===e)return qn(t)}var ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},sr=Object.prototype.hasOwnProperty;function lr(e,t){if(ir(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!sr.call(t,n[r])||!ir(e[n[r]],t[n[r]]))return!1;return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pr=d&&"documentMode"in document&&11>=document.documentMode,fr=null,hr=null,_r=null,gr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;gr||null==fr||fr!==Z(r)||("selectionStart"in(r=fr)&&mr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_r&&lr(_r,r)||(_r=r,0<(r=Cr(hr,"onSelect")).length&&(t=new mn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fr)))}jt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),jt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),jt(Pt,2);for(var yr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),vr=0;vr<yr.length;vr++)Ct.set(yr[vr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,s,l,c){if(qe.apply(this,arguments),We){if(!We)throw Error(i(198));var u=Ue;We=!1,Ue=null,Ve||(Ve=!0,Je=u)}}(r,t,void 0,e),e.currentTarget=null}function wr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Lr(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Lr(a,s,c),o=l}}}if(Ve)throw e=Je,Ve=!1,Je=null,e}function Yr(e,t){var n=ta(t),r=e+"__bubble";n.has(r)||(xr(t,e,2,!1),n.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Sr(e){e[Tr]||(e[Tr]=!0,s.forEach((function(t){Mr.has(t)||Rr(t,!1,e,null),Rr(t,!0,e,null)})))}function Rr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Mr.has(e)){if("scroll"!==e)return;a|=2,o=r}var i=ta(o),s=e+"__"+(t?"capture":"bubble");i.has(s)||(t&&(a|=4),xr(o,e,a,t),i.add(s))}function xr(e,t,n,r){var a=Ct.get(t);switch(void 0===a?2:a){case 0:a=$t;break;case 1:a=Kt;break;default:a=Qt}n=a.bind(null,t,n,e),a=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Dr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=Qr(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(ze)return e(t,n);ze=!0;try{Oe(e,t,n)}finally{ze=!1,Be()}}((function(){var r=o,a=Ye(n),i=[];e:{var s=Et.get(e);if(void 0!==s){var l=mn,c=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":l=Sn;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=_n;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=xn;break;case St:case Rt:case xt:l=yn;break;case Dt:l=Dn;break;case"scroll":l=fn;break;case"wheel":l=En;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Rn}var u=0!=(4&t),d=!u&&"scroll"===e,m=u?null!==s?s+"Capture":null:s;u=[];for(var p,f=r;null!==f;){var h=(p=f).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==m&&(null!=(h=Ae(f,m))&&u.push(Er(f,h,p)))),d)break;f=f.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!Qr(c)&&!c[$r])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?Qr(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=_n,h="onMouseLeave",m="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=Rn,h="onPointerLeave",m="onPointerEnter",f="pointer"),d=null==l?s:Xr(l),p=null==c?s:Xr(c),(s=new u(h,f+"leave",l,n,a)).target=d,s.relatedTarget=p,h=null,Qr(a)===r&&((u=new u(m,f+"enter",c,n,a)).target=p,u.relatedTarget=d,h=u),d=h,l&&c)e:{for(m=c,f=0,p=u=l;p;p=Pr(p))f++;for(p=0,h=m;h;h=Pr(h))p++;for(;0<f-p;)u=Pr(u),f--;for(;0<p-f;)m=Pr(m),p--;for(;f--;){if(u===m||null!==m&&u===m.alternate)break e;u=Pr(u),m=Pr(m)}u=null}else u=null;null!==l&&jr(i,s,l,u,!1),null!==c&&null!==d&&jr(i,d,c,u,!0)}if("select"===(l=(s=r?Xr(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var _=$n;else if(Wn(s))if(Kn)_=or;else{_=rr;var g=nr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(_=ar);switch(_&&(_=_(e,r))?Un(i,_,n,a):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ae(s,"number",s.value)),g=r?Xr(r):window,e){case"focusin":(Wn(g)||"true"===g.contentEditable)&&(fr=g,hr=r,_r=null);break;case"focusout":_r=hr=fr=null;break;case"mousedown":gr=!0;break;case"contextmenu":case"mouseup":case"dragend":gr=!1,br(i,n,a);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":br(i,n,a)}var b;if(Pn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Fn?An(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Hn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Fn&&(b=nn()):(en="value"in(Xt=a)?Xt.value:Xt.textContent,Fn=!0)),0<(g=Cr(r,y)).length&&(y=new kn(y,e,null,n,a),i.push({event:y,listeners:g}),b?y.data=b:null!==(b=Nn(n))&&(y.data=b))),(b=On?function(e,t){switch(e){case"compositionend":return Nn(t);case"keypress":return 32!==t.which?null:(Bn=!0,zn);case"textInput":return(e=t.data)===zn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!Pn&&An(e,t)?(e=nn(),tn=en=Xt=null,Fn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=Cr(r,"onBeforeInput")).length&&(a=new kn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}wr(i,t)}))}function Er(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Ae(e,n))&&r.unshift(Er(e,o,a)),null!=(o=Ae(e,t))&&r.push(Er(e,o,a))),e=e.return}return r}function Pr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function jr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Ae(n,o))&&i.unshift(Er(n,l,s)):a||null!=(l=Ae(n,o))&&i.push(Er(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Or(){}var Hr=null,zr=null;function Br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ar(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Nr="function"==typeof setTimeout?setTimeout:void 0,Fr="function"==typeof clearTimeout?clearTimeout:void 0;function Ir(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Wr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Ur(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Vr=0;var Jr=Math.random().toString(36).slice(2),Gr="__reactFiber$"+Jr,qr="__reactProps$"+Jr,$r="__reactContainer$"+Jr,Kr="__reactEvents$"+Jr;function Qr(e){var t=e[Gr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$r]||n[Gr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ur(e);null!==e;){if(n=e[Gr])return n;e=Ur(e)}return t}n=(e=n).parentNode}return null}function Zr(e){return!(e=e[Gr]||e[$r])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Xr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ea(e){return e[qr]||null}function ta(e){var t=e[Kr];return void 0===t&&(t=e[Kr]=new Set),t}var na=[],ra=-1;function aa(e){return{current:e}}function oa(e){0>ra||(e.current=na[ra],na[ra]=null,ra--)}function ia(e,t){ra++,na[ra]=e.current,e.current=t}var sa={},la=aa(sa),ca=aa(!1),ua=sa;function da(e,t){var n=e.type.contextTypes;if(!n)return sa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ma(e){return null!=(e=e.childContextTypes)}function pa(){oa(ca),oa(la)}function fa(e,t,n){if(la.current!==sa)throw Error(i(168));ia(la,t),ia(ca,n)}function ha(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,G(t)||"Unknown",o));return a({},n,r)}function _a(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sa,ua=la.current,ia(la,e),ia(ca,ca.current),!0}function ga(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=ha(e,t,ua),r.__reactInternalMemoizedMergedChildContext=e,oa(ca),oa(la),ia(la,e)):oa(ca),ia(ca,n)}var ba=null,ya=null,va=o.unstable_runWithPriority,ka=o.unstable_scheduleCallback,Ma=o.unstable_cancelCallback,La=o.unstable_shouldYield,wa=o.unstable_requestPaint,Ya=o.unstable_now,Ta=o.unstable_getCurrentPriorityLevel,Sa=o.unstable_ImmediatePriority,Ra=o.unstable_UserBlockingPriority,xa=o.unstable_NormalPriority,Da=o.unstable_LowPriority,Ea=o.unstable_IdlePriority,Ca={},Pa=void 0!==wa?wa:function(){},ja=null,Oa=null,Ha=!1,za=Ya(),Ba=1e4>za?Ya:function(){return Ya()-za};function Aa(){switch(Ta()){case Sa:return 99;case Ra:return 98;case xa:return 97;case Da:return 96;case Ea:return 95;default:throw Error(i(332))}}function Na(e){switch(e){case 99:return Sa;case 98:return Ra;case 97:return xa;case 96:return Da;case 95:return Ea;default:throw Error(i(332))}}function Fa(e,t){return e=Na(e),va(e,t)}function Ia(e,t,n){return e=Na(e),ka(e,t,n)}function Wa(){if(null!==Oa){var e=Oa;Oa=null,Ma(e)}Ua()}function Ua(){if(!Ha&&null!==ja){Ha=!0;var e=0;try{var t=ja;Fa(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ja=null}catch(t){throw null!==ja&&(ja=ja.slice(e+1)),ka(Sa,Wa),t}finally{Ha=!1}}}var Va=k.ReactCurrentBatchConfig;function Ja(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Ga=aa(null),qa=null,$a=null,Ka=null;function Qa(){Ka=$a=qa=null}function Za(e){var t=Ga.current;oa(Ga),e.type._context._currentValue=t}function Xa(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function eo(e,t){qa=e,Ka=$a=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ci=!0),e.firstContext=null)}function to(e,t){if(Ka!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Ka=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$a){if(null===qa)throw Error(i(308));$a=t,qa.dependencies={lanes:0,firstContext:t,responders:null}}else $a=$a.next=t;return e._currentValue}var no=!1;function ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function oo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function io(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function so(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function lo(e,t,n,r){var o=e.updateQueue;no=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?i=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var m=(d=d.updateQueue).lastBaseUpdate;m!==s&&(null===m?d.firstBaseUpdate=u:m.next=u,d.lastBaseUpdate=c)}}if(null!==i){for(m=o.baseState,s=0,d=u=c=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var f=e,h=i;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){m=f.call(p,m,l);break e}m=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,m,l):f))break e;m=a({},m,l);break e;case 2:no=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(u=d=p,c=m):d=d.next=p,s|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===d&&(c=m),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,js|=s,e.lanes=s,e.memoizedState=m}}function co(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(i(191,a));a.call(r)}}}var uo=(new r.Component).refs;function mo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var po={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ol(),a=il(e),o=oo(r,a);o.payload=t,null!=n&&(o.callback=n),io(e,o),sl(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ol(),a=il(e),o=oo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),io(e,o),sl(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ol(),r=il(e),a=oo(n,r);a.tag=2,null!=t&&(a.callback=t),io(e,a),sl(e,r,n)}};function fo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function ho(e,t,n){var r=!1,a=sa,o=t.contextType;return"object"==typeof o&&null!==o?o=to(o):(a=ma(t)?ua:la.current,o=(r=null!=(r=t.contextTypes))?da(e,a):sa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=po,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function _o(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&po.enqueueReplaceState(t,t.state,null)}function go(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=uo,ro(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=to(o):(o=ma(t)?ua:la.current,a.context=da(e,o)),lo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(mo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&po.enqueueReplaceState(a,a.state,null),lo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var bo=Array.isArray;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=r.refs;t===uo&&(t=r.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function vo(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ko(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Al(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Wl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Nl(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ul(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Fl(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Wl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case M:return(n=Nl(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case L:return(t=Ul(t,e.mode,n)).return=e,t}if(bo(t)||I(t))return(t=Fl(t,e.mode,n,null)).return=e,t;vo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case M:return n.key===a?n.type===w?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case L:return n.key===a?u(e,t,n,r):null}if(bo(n)||I(n))return null!==a?null:d(e,t,n,r,null);vo(e,n)}return null}function f(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case M:return e=e.get(null===r.key?n:r.key)||null,r.type===w?d(t,e,r.props.children,a,r.key):c(t,e,r,a);case L:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(bo(r)||I(r))return d(t,e=e.get(n)||null,r,a,null);vo(t,r)}return null}function h(a,i,s,l){for(var c=null,u=null,d=i,h=i=0,_=null;null!==d&&h<s.length;h++){d.index>h?(_=d,d=null):_=d.sibling;var g=p(a,d,s[h],l);if(null===g){null===d&&(d=_);break}e&&d&&null===g.alternate&&t(a,d),i=o(g,i,h),null===u?c=g:u.sibling=g,u=g,d=_}if(h===s.length)return n(a,d),c;if(null===d){for(;h<s.length;h++)null!==(d=m(a,s[h],l))&&(i=o(d,i,h),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(a,d);h<s.length;h++)null!==(_=f(d,a,h,s[h],l))&&(e&&null!==_.alternate&&d.delete(null===_.key?h:_.key),i=o(_,i,h),null===u?c=_:u.sibling=_,u=_);return e&&d.forEach((function(e){return t(a,e)})),c}function _(a,s,l,c){var u=I(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,h=s,_=s=0,g=null,b=l.next();null!==h&&!b.done;_++,b=l.next()){h.index>_?(g=h,h=null):g=h.sibling;var y=p(a,h,b.value,c);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(a,h),s=o(y,s,_),null===d?u=y:d.sibling=y,d=y,h=g}if(b.done)return n(a,h),u;if(null===h){for(;!b.done;_++,b=l.next())null!==(b=m(a,b.value,c))&&(s=o(b,s,_),null===d?u=b:d.sibling=b,d=b);return u}for(h=r(a,h);!b.done;_++,b=l.next())null!==(b=f(h,a,_,b.value,c))&&(e&&null!==b.alternate&&h.delete(null===b.key?_:b.key),s=o(b,s,_),null===d?u=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),u}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===w&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case M:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(o.type===w){n(e,c.sibling),(r=a(c,o.props.children)).return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),(r=a(c,o.props)).ref=yo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===w?((r=Fl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Nl(o.type,o.key,o.props,null,e.mode,l)).ref=yo(e,r,o),l.return=e,e=l)}return s(e);case L:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ul(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Wl(o,e.mode,l)).return=e,e=r),s(e);if(bo(o))return h(e,r,o,l);if(I(o))return _(e,r,o,l);if(u&&vo(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,G(e.type)||"Component"))}return n(e,r)}}var Mo=ko(!0),Lo=ko(!1),wo={},Yo=aa(wo),To=aa(wo),So=aa(wo);function Ro(e){if(e===wo)throw Error(i(174));return e}function xo(e,t){switch(ia(So,t),ia(To,e),ia(Yo,wo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fe(null,"");break;default:t=fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}oa(Yo),ia(Yo,t)}function Do(){oa(Yo),oa(To),oa(So)}function Eo(e){Ro(So.current);var t=Ro(Yo.current),n=fe(t,e.type);t!==n&&(ia(To,e),ia(Yo,n))}function Co(e){To.current===e&&(oa(Yo),oa(To))}var Po=aa(0);function jo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Oo=null,Ho=null,zo=!1;function Bo(e,t){var n=zl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ao(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function No(e){if(zo){var t=Ho;if(t){var n=t;if(!Ao(e,t)){if(!(t=Wr(n.nextSibling))||!Ao(e,t))return e.flags=-1025&e.flags|2,zo=!1,void(Oo=e);Bo(Oo,n)}Oo=e,Ho=Wr(t.firstChild)}else e.flags=-1025&e.flags|2,zo=!1,Oo=e}}function Fo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Oo=e}function Io(e){if(e!==Oo)return!1;if(!zo)return Fo(e),zo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ar(t,e.memoizedProps))for(t=Ho;t;)Bo(e,t),t=Wr(t.nextSibling);if(Fo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ho=Wr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ho=null}}else Ho=Oo?Wr(e.stateNode.nextSibling):null;return!0}function Wo(){Ho=Oo=null,zo=!1}var Uo=[];function Vo(){for(var e=0;e<Uo.length;e++)Uo[e]._workInProgressVersionPrimary=null;Uo.length=0}var Jo=k.ReactCurrentDispatcher,Go=k.ReactCurrentBatchConfig,qo=0,$o=null,Ko=null,Qo=null,Zo=!1,Xo=!1;function ei(){throw Error(i(321))}function ti(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function ni(e,t,n,r,a,o){if(qo=o,$o=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Jo.current=null===e||null===e.memoizedState?Ri:xi,e=n(r,a),Xo){o=0;do{if(Xo=!1,!(25>o))throw Error(i(301));o+=1,Qo=Ko=null,t.updateQueue=null,Jo.current=Di,e=n(r,a)}while(Xo)}if(Jo.current=Si,t=null!==Ko&&null!==Ko.next,qo=0,Qo=Ko=$o=null,Zo=!1,t)throw Error(i(300));return e}function ri(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qo?$o.memoizedState=Qo=e:Qo=Qo.next=e,Qo}function ai(){if(null===Ko){var e=$o.alternate;e=null!==e?e.memoizedState:null}else e=Ko.next;var t=null===Qo?$o.memoizedState:Qo.next;if(null!==t)Qo=t,Ko=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Ko=e).memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},null===Qo?$o.memoizedState=Qo=e:Qo=Qo.next=e}return Qo}function oi(e,t){return"function"==typeof t?t(e):t}function ii(e){var t=ai(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Ko,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var l=s=o=null,c=a;do{var u=c.lane;if((qo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,$o.lanes|=u,js|=u}c=c.next}while(null!==c&&c!==a);null===l?o=r:l.next=s,ir(r,t.memoizedState)||(Ci=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function si(e){var t=ai(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{o=e(o,s.action),s=s.next}while(s!==a);ir(o,t.memoizedState)||(Ci=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function li(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(qo&e)===e)&&(t._workInProgressVersionPrimary=r,Uo.push(t))),e)return n(t._source);throw Uo.push(t),Error(i(350))}function ci(e,t,n,r){var a=Ts;if(null===a)throw Error(i(349));var o=t._getVersion,s=o(t._source),l=Jo.current,c=l.useState((function(){return li(a,t,n)})),u=c[1],d=c[0];c=Qo;var m=e.memoizedState,p=m.refs,f=p.getSnapshot,h=m.source;m=m.subscribe;var _=$o;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=o(t._source);if(!ir(s,e)){e=n(t._source),ir(d,e)||(u(e),e=il(_),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0<i;){var l=31-Wt(i),c=1<<l;r[l]|=e,i&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=il(_);a.mutableReadLanes|=r&a.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),ir(f,n)&&ir(h,t)&&ir(m,r)||((e={pending:null,dispatch:null,lastRenderedReducer:oi,lastRenderedState:d}).dispatch=u=Ti.bind(null,$o,e),c.queue=e,c.baseQueue=null,d=li(a,t,n),c.memoizedState=c.baseState=d),d}function ui(e,t,n){return ci(ai(),e,t,n)}function di(e){var t=ri();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:oi,lastRenderedState:e}).dispatch=Ti.bind(null,$o,e),[t.memoizedState,e]}function mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=$o.updateQueue)?(t={lastEffect:null},$o.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function pi(e){return e={current:e},ri().memoizedState=e}function fi(){return ai().memoizedState}function hi(e,t,n,r){var a=ri();$o.flags|=e,a.memoizedState=mi(1|t,n,void 0,void 0===r?null:r)}function _i(e,t,n,r){var a=ai();r=void 0===r?null:r;var o=void 0;if(null!==Ko){var i=Ko.memoizedState;if(o=i.destroy,null!==r&&ti(r,i.deps))return void mi(t,n,o,r)}$o.flags|=e,a.memoizedState=mi(1|t,n,o,r)}function gi(e,t){return hi(516,4,e,t)}function bi(e,t){return _i(516,4,e,t)}function yi(e,t){return _i(4,2,e,t)}function vi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ki(e,t,n){return n=null!=n?n.concat([e]):null,_i(4,2,vi.bind(null,t,e),n)}function Mi(){}function Li(e,t){var n=ai();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ti(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wi(e,t){var n=ai();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ti(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Yi(e,t){var n=Aa();Fa(98>n?98:n,(function(){e(!0)})),Fa(97<n?97:n,(function(){var n=Go.transition;Go.transition=1;try{e(!1),t()}finally{Go.transition=n}}))}function Ti(e,t,n){var r=ol(),a=il(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===$o||null!==i&&i===$o)Xo=Zo=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=i(s,n);if(o.eagerReducer=i,o.eagerState=l,ir(l,s))return}catch(e){}sl(e,a,r)}}var Si={readContext:to,useCallback:ei,useContext:ei,useEffect:ei,useImperativeHandle:ei,useLayoutEffect:ei,useMemo:ei,useReducer:ei,useRef:ei,useState:ei,useDebugValue:ei,useDeferredValue:ei,useTransition:ei,useMutableSource:ei,useOpaqueIdentifier:ei,unstable_isNewReconciler:!1},Ri={readContext:to,useCallback:function(e,t){return ri().memoizedState=[e,void 0===t?null:t],e},useContext:to,useEffect:gi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,hi(4,2,vi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hi(4,2,e,t)},useMemo:function(e,t){var n=ri();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ri();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ti.bind(null,$o,e),[r.memoizedState,e]},useRef:pi,useState:di,useDebugValue:Mi,useDeferredValue:function(e){var t=di(e),n=t[0],r=t[1];return gi((function(){var t=Go.transition;Go.transition=1;try{r(e)}finally{Go.transition=t}}),[e]),n},useTransition:function(){var e=di(!1),t=e[0];return pi(e=Yi.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ri();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ci(r,e,t,n)},useOpaqueIdentifier:function(){if(zo){var e=!1,t=function(e){return{$$typeof:O,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Vr++).toString(36))),Error(i(355))})),n=di(t)[1];return 0==(2&$o.mode)&&($o.flags|=516,mi(5,(function(){n("r:"+(Vr++).toString(36))}),void 0,null)),t}return di(t="r:"+(Vr++).toString(36)),t},unstable_isNewReconciler:!1},xi={readContext:to,useCallback:Li,useContext:to,useEffect:bi,useImperativeHandle:ki,useLayoutEffect:yi,useMemo:wi,useReducer:ii,useRef:fi,useState:function(){return ii(oi)},useDebugValue:Mi,useDeferredValue:function(e){var t=ii(oi),n=t[0],r=t[1];return bi((function(){var t=Go.transition;Go.transition=1;try{r(e)}finally{Go.transition=t}}),[e]),n},useTransition:function(){var e=ii(oi)[0];return[fi().current,e]},useMutableSource:ui,useOpaqueIdentifier:function(){return ii(oi)[0]},unstable_isNewReconciler:!1},Di={readContext:to,useCallback:Li,useContext:to,useEffect:bi,useImperativeHandle:ki,useLayoutEffect:yi,useMemo:wi,useReducer:si,useRef:fi,useState:function(){return si(oi)},useDebugValue:Mi,useDeferredValue:function(e){var t=si(oi),n=t[0],r=t[1];return bi((function(){var t=Go.transition;Go.transition=1;try{r(e)}finally{Go.transition=t}}),[e]),n},useTransition:function(){var e=si(oi)[0];return[fi().current,e]},useMutableSource:ui,useOpaqueIdentifier:function(){return si(oi)[0]},unstable_isNewReconciler:!1},Ei=k.ReactCurrentOwner,Ci=!1;function Pi(e,t,n,r){t.child=null===e?Lo(t,null,n,r):Mo(t,e.child,n,r)}function ji(e,t,n,r,a){n=n.render;var o=t.ref;return eo(t,a),r=ni(e,t,n,r,o,a),null===e||Ci?(t.flags|=1,Pi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,es(e,t,a))}function Oi(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||Bl(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Hi(e,t,i,r,a,o))}return i=e.child,0==(a&o)&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)?es(e,t,o):(t.flags|=1,(e=Al(i,r)).ref=t.ref,e.return=t,t.child=e)}function Hi(e,t,n,r,a,o){if(null!==e&&lr(e.memoizedProps,r)&&e.ref===t.ref){if(Ci=!1,0==(o&a))return t.lanes=e.lanes,es(e,t,o);0!=(16384&e.flags)&&(Ci=!0)}return Ai(e,t,n,r,o)}function zi(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},hl(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},hl(t,e),null;t.memoizedState={baseLanes:0},hl(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,hl(t,r);return Pi(e,t,a,n),t.child}function Bi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ai(e,t,n,r,a){var o=ma(n)?ua:la.current;return o=da(t,o),eo(t,a),n=ni(e,t,n,r,o,a),null===e||Ci?(t.flags|=1,Pi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,es(e,t,a))}function Ni(e,t,n,r,a){if(ma(n)){var o=!0;_a(t)}else o=!1;if(eo(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ho(t,n,r),go(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=to(c):c=da(t,c=ma(n)?ua:la.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&_o(t,i,r,c),no=!1;var m=t.memoizedState;i.state=m,lo(t,r,i,a),l=t.memoizedState,s!==r||m!==l||ca.current||no?("function"==typeof u&&(mo(t,n,u,r),l=t.memoizedState),(s=no||fo(t,n,s,r,m,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,ao(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Ja(t.type,s),i.props=c,d=t.pendingProps,m=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=to(l):l=da(t,l=ma(n)?ua:la.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||m!==l)&&_o(t,i,r,l),no=!1,m=t.memoizedState,i.state=m,lo(t,r,i,a);var f=t.memoizedState;s!==d||m!==f||ca.current||no?("function"==typeof p&&(mo(t,n,p,r),f=t.memoizedState),(c=no||fo(t,n,c,r,m,f,l))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,f,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=f),i.props=r,i.state=f,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=256),r=!1)}return Fi(e,t,n,r,o,a)}function Fi(e,t,n,r,a,o){Bi(e,t);var i=0!=(64&t.flags);if(!r&&!i)return a&&ga(t,n,!1),es(e,t,o);r=t.stateNode,Ei.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Mo(t,e.child,null,o),t.child=Mo(t,null,s,o)):Pi(e,t,s,o),t.memoizedState=r.state,a&&ga(t,n,!0),t.child}function Ii(e){var t=e.stateNode;t.pendingContext?fa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&fa(0,t.context,!1),xo(e,t.containerInfo)}var Wi,Ui,Vi,Ji={dehydrated:null,retryLane:0};function Gi(e,t,n){var r,a=t.pendingProps,o=Po.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),ia(Po,1&o),null===e?(void 0!==a.fallback&&No(t),e=a.children,o=a.fallback,i?(e=qi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ji,e):"number"==typeof a.unstable_expectedLoadTime?(e=qi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ji,t.lanes=33554432,e):((n=Il({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(a=Ki(e,t,a.children,a.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Ji,a):(n=$i(e,t,a.children,n),t.memoizedState=null,n))}function qi(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Il(t,a,0,null),n=Fl(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function $i(e,t,n,r){var a=e.child;return e=a.sibling,n=Al(a,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Ki(e,t,n,r,a){var o=t.mode,i=e.child;e=i.sibling;var s={mode:"hidden",children:n};return 0==(2&o)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=s,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Al(i,s),null!==e?r=Al(e,r):(r=Fl(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Qi(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Xa(e.return,t)}function Zi(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.lastEffect=o)}function Xi(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Pi(e,t,r.children,n),0!=(2&(r=Po.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qi(e,n);else if(19===e.tag)Qi(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ia(Po,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===jo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Zi(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===jo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Zi(t,!0,n,null,o,t.lastEffect);break;case"together":Zi(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function es(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),js|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Al(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Al(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ts(e,t){if(!zo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ns(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ma(t.type)&&pa(),null;case 3:return Do(),oa(ca),oa(la),Vo(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Io(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Co(t);var o=Ro(So.current);if(n=t.type,null!==e&&null!=t.stateNode)Ui(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Ro(Yo.current),Io(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Gr]=t,r[qr]=s,n){case"dialog":Yr("cancel",r),Yr("close",r);break;case"iframe":case"object":case"embed":Yr("load",r);break;case"video":case"audio":for(e=0;e<kr.length;e++)Yr(kr[e],r);break;case"source":Yr("error",r);break;case"img":case"image":case"link":Yr("error",r),Yr("load",r);break;case"details":Yr("toggle",r);break;case"input":ee(r,s),Yr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Yr("invalid",r);break;case"textarea":le(r,s),Yr("invalid",r)}for(var c in Le(n,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Yr("scroll",r));switch(n){case"input":K(r),re(r,s,!0);break;case"textarea":K(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Or)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Gr]=t,e[qr]=r,Wi(e,t),t.stateNode=e,c=we(n,r),n){case"dialog":Yr("cancel",e),Yr("close",e),o=r;break;case"iframe":case"object":case"embed":Yr("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)Yr(kr[o],e);o=r;break;case"source":Yr("error",e),o=r;break;case"img":case"image":case"link":Yr("error",e),Yr("load",e),o=r;break;case"details":Yr("toggle",e),o=r;break;case"input":ee(e,r),o=X(e,r),Yr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Yr("invalid",e);break;case"textarea":le(e,r),o=se(e,r),Yr("invalid",e);break;default:o=r}Le(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?ke(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&_e(e,d):"children"===s?"string"==typeof d?("textarea"!==n||""!==d)&&ge(e,d):"number"==typeof d&&ge(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Yr("scroll",e):null!=d&&v(e,s,d,c))}switch(n){case"input":K(e),re(e,r,!1);break;case"textarea":K(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ie(e,!!r.multiple,s,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Or)}Br(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Vi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Ro(So.current),Ro(Yo.current),Io(t)?(r=t.stateNode,n=t.memoizedProps,r[Gr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Gr]=t,t.stateNode=r)}return null;case 13:return oa(Po),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Io(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Po.current)?0===Es&&(Es=3):(0!==Es&&3!==Es||(Es=4),null===Ts||0==(134217727&js)&&0==(134217727&Os)||dl(Ts,Rs))),(r||n)&&(t.flags|=4),null);case 4:return Do(),null===e&&Sr(t.stateNode.containerInfo),null;case 10:return Za(t),null;case 17:return ma(t.type)&&pa(),null;case 19:if(oa(Po),null===(r=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=r.rendering))if(s)ts(r,!1);else{if(0!==Es||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=jo(e))){for(t.flags|=64,ts(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ia(Po,1&Po.current|2),t.child}e=e.sibling}null!==r.tail&&Ba()>As&&(t.flags|=64,s=!0,ts(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=jo(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ts(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!zo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ba()-r.renderingStartTime>As&&1073741824!==n&&(t.flags|=64,s=!0,ts(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ba(),n.sibling=null,t=Po.current,ia(Po,s?1&t|2:1&t),n):null;case 23:case 24:return _l(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function rs(e){switch(e.tag){case 1:ma(e.type)&&pa();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Do(),oa(ca),oa(la),Vo(),0!=(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Co(e),null;case 13:return oa(Po),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return oa(Po),null;case 4:return Do(),null;case 10:return Za(e),null;case 23:case 24:return _l(),null;default:return null}}function as(e,t){try{var n="",r=t;do{n+=J(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a}}function os(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Wi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ui=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ro(Yo.current);var i,s=null;switch(n){case"input":o=X(e,o),r=X(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Or)}for(d in Le(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(i in c)!c.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&c[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Yr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===O?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Vi=function(e,t,n,r){n!==r&&(t.flags|=4)};var is="function"==typeof WeakMap?WeakMap:Map;function ss(e,t,n){(n=oo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ws||(Ws=!0,Us=r),os(0,t)},n}function ls(e,t,n){(n=oo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return os(0,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Vs?Vs=new Set([this]):Vs.add(this),os(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var cs="function"==typeof WeakSet?WeakSet:Set;function us(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Pl(e,t)}else t.current=null}function ds(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ja(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Ir(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(i(163))}function ms(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(Dl(n,e),xl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ja(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&co(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}co(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Br(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(i(163))}function ps(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=ve("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function fs(e,t){if(ya&&"function"==typeof ya.onCommitFiberUnmount)try{ya.onCommitFiberUnmount(ba,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))Dl(t,n);else{r=t;try{a()}catch(e){Pl(r,e)}}n=n.next}while(n!==e)}break;case 1:if(us(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Pl(t,e)}break;case 5:us(t);break;case 4:bs(e,t)}}function hs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function _s(e){return 5===e.tag||3===e.tag||4===e.tag}function gs(e){e:{for(var t=e.return;null!==t;){if(_s(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||_s(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var a=t.tag,o=5===a||6===a;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=Or));else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var a=t.tag,o=5===a||6===a;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function bs(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var s=e,l=a,c=l;;)if(fs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=a.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(fs(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function ys(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[qr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),we(e,a),t=we(e,r),a=0;a<o.length;a+=2){var s=o[a],l=o[a+1];"style"===s?ke(n,l):"dangerouslySetInnerHTML"===s?_e(n,l):"children"===s?ge(n,l):v(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ie(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,kt(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Bs=Ba(),ps(t.child,!0)),void vs(t);case 19:return void vs(t);case 17:return;case 23:case 24:return void ps(t,null!==t.memoizedState)}throw Error(i(163))}function vs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new cs),t.forEach((function(t){var r=Ol.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ks(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Ms=Math.ceil,Ls=k.ReactCurrentDispatcher,ws=k.ReactCurrentOwner,Ys=0,Ts=null,Ss=null,Rs=0,xs=0,Ds=aa(0),Es=0,Cs=null,Ps=0,js=0,Os=0,Hs=0,zs=null,Bs=0,As=1/0;function Ns(){As=Ba()+500}var Fs,Is=null,Ws=!1,Us=null,Vs=null,Js=!1,Gs=null,qs=90,$s=[],Ks=[],Qs=null,Zs=0,Xs=null,el=-1,tl=0,nl=0,rl=null,al=!1;function ol(){return 0!=(48&Ys)?Ba():-1!==el?el:el=Ba()}function il(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Aa()?1:2;if(0===tl&&(tl=Ps),0!==Va.transition){0!==nl&&(nl=null!==zs?zs.pendingLanes:0),e=tl;var t=4186112&~nl;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Aa(),0!=(4&Ys)&&98===e?e=At(12,tl):e=At(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),tl),e}function sl(e,t,n){if(50<Zs)throw Zs=0,Xs=null,Error(i(185));if(null===(e=ll(e,t)))return null;It(e,t,n),e===Ts&&(Os|=t,4===Es&&dl(e,Rs));var r=Aa();1===t?0!=(8&Ys)&&0==(48&Ys)?ml(e):(cl(e,n),0===Ys&&(Ns(),Wa())):(0==(4&Ys)||98!==r&&99!==r||(null===Qs?Qs=new Set([e]):Qs.add(e)),cl(e,n)),zs=e}function ll(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function cl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Wt(s),c=1<<l,u=o[l];if(-1===u){if(0==(c&r)||0!=(c&a)){u=t,Ht(c);var d=Ot;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=zt(e,e===Ts?Rs:0),t=Ot,0===r)null!==n&&(n!==Ca&&Ma(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ca&&Ma(n)}15===t?(n=ml.bind(null,e),null===ja?(ja=[n],Oa=ka(Sa,Ua)):ja.push(n),n=Ca):14===t?n=Ia(99,ml.bind(null,e)):n=Ia(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),ul.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ul(e){if(el=-1,nl=tl=0,0!=(48&Ys))throw Error(i(327));var t=e.callbackNode;if(Rl()&&e.callbackNode!==t)return null;var n=zt(e,e===Ts?Rs:0);if(0===n)return null;var r=n,a=Ys;Ys|=16;var o=yl();for(Ts===e&&Rs===r||(Ns(),gl(e,r));;)try{Ml();break}catch(t){bl(e,t)}if(Qa(),Ls.current=o,Ys=a,null!==Ss?r=0:(Ts=null,Rs=0,r=Es),0!=(Ps&Os))gl(e,0);else if(0!==r){if(2===r&&(Ys|=64,e.hydrate&&(e.hydrate=!1,Ir(e.containerInfo)),0!==(n=Bt(e))&&(r=vl(e,n))),1===r)throw t=Cs,gl(e,0),dl(e,n),cl(e,Ba()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:Yl(e);break;case 3:if(dl(e,n),(62914560&n)===n&&10<(r=Bs+500-Ba())){if(0!==zt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){ol(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Nr(Yl.bind(null,e),r);break}Yl(e);break;case 4:if(dl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var s=31-Wt(n);o=1<<s,(s=r[s])>a&&(a=s),n&=~o}if(n=a,10<(n=(120>(n=Ba()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ms(n/1960))-n)){e.timeoutHandle=Nr(Yl.bind(null,e),n);break}Yl(e);break;case 5:Yl(e);break;default:throw Error(i(329))}}return cl(e,Ba()),e.callbackNode===t?ul.bind(null,e):null}function dl(e,t){for(t&=~Hs,t&=~Os,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),r=1<<n;e[n]=-1,t&=~r}}function ml(e){if(0!=(48&Ys))throw Error(i(327));if(Rl(),e===Ts&&0!=(e.expiredLanes&Rs)){var t=Rs,n=vl(e,t);0!=(Ps&Os)&&(n=vl(e,t=zt(e,t)))}else n=vl(e,t=zt(e,0));if(0!==e.tag&&2===n&&(Ys|=64,e.hydrate&&(e.hydrate=!1,Ir(e.containerInfo)),0!==(t=Bt(e))&&(n=vl(e,t))),1===n)throw n=Cs,gl(e,0),dl(e,t),cl(e,Ba()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yl(e),cl(e,Ba()),null}function pl(e,t){var n=Ys;Ys|=1;try{return e(t)}finally{0===(Ys=n)&&(Ns(),Wa())}}function fl(e,t){var n=Ys;Ys&=-2,Ys|=8;try{return e(t)}finally{0===(Ys=n)&&(Ns(),Wa())}}function hl(e,t){ia(Ds,xs),xs|=t,Ps|=t}function _l(){xs=Ds.current,oa(Ds)}function gl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Fr(n)),null!==Ss)for(n=Ss.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&pa();break;case 3:Do(),oa(ca),oa(la),Vo();break;case 5:Co(r);break;case 4:Do();break;case 13:case 19:oa(Po);break;case 10:Za(r);break;case 23:case 24:_l()}n=n.return}Ts=e,Ss=Al(e.current,null),Rs=xs=Ps=t,Es=0,Cs=null,Hs=Os=js=0}function bl(e,t){for(;;){var n=Ss;try{if(Qa(),Jo.current=Si,Zo){for(var r=$o.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}Zo=!1}if(qo=0,Qo=Ko=$o=null,Xo=!1,ws.current=null,null===n||null===n.return){Es=1,Cs=t,Ss=null;break}e:{var o=e,i=n.return,s=n,l=t;if(t=Rs,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&Po.current),m=i;do{var p;if(p=13===m.tag){var f=m.memoizedState;if(null!==f)p=null!==f.dehydrated;else{var h=m.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!d)}}if(p){var _=m.updateQueue;if(null===_){var g=new Set;g.add(c),m.updateQueue=g}else _.add(c);if(0==(2&m.mode)){if(m.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var b=oo(-1,1);b.tag=2,io(s,b)}s.lanes|=1;break e}l=void 0,s=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new is,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var v=jl.bind(null,o,c,s);c.then(v,v)}m.flags|=4096,m.lanes=t;break e}m=m.return}while(null!==m);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Es&&(Es=2),l=as(l,s),m=i;do{switch(m.tag){case 3:o=l,m.flags|=4096,t&=-t,m.lanes|=t,so(m,ss(0,o,t));break e;case 1:o=l;var k=m.type,M=m.stateNode;if(0==(64&m.flags)&&("function"==typeof k.getDerivedStateFromError||null!==M&&"function"==typeof M.componentDidCatch&&(null===Vs||!Vs.has(M)))){m.flags|=4096,t&=-t,m.lanes|=t,so(m,ls(m,o,t));break e}}m=m.return}while(null!==m)}wl(n)}catch(e){t=e,Ss===n&&null!==n&&(Ss=n=n.return);continue}break}}function yl(){var e=Ls.current;return Ls.current=Si,null===e?Si:e}function vl(e,t){var n=Ys;Ys|=16;var r=yl();for(Ts===e&&Rs===t||gl(e,t);;)try{kl();break}catch(t){bl(e,t)}if(Qa(),Ys=n,Ls.current=r,null!==Ss)throw Error(i(261));return Ts=null,Rs=0,Es}function kl(){for(;null!==Ss;)Ll(Ss)}function Ml(){for(;null!==Ss&&!La();)Ll(Ss)}function Ll(e){var t=Fs(e.alternate,e,xs);e.memoizedProps=e.pendingProps,null===t?wl(e):Ss=t,ws.current=null}function wl(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ns(n,t,xs)))return void(Ss=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&xs)||0==(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=rs(t)))return n.flags&=2047,void(Ss=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ss=t);Ss=t=e}while(null!==t);0===Es&&(Es=5)}function Yl(e){var t=Aa();return Fa(99,Tl.bind(null,e,t)),null}function Tl(e,t){do{Rl()}while(null!==Gs);if(0!=(48&Ys))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-Wt(o),u=1<<c;a[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==Qs&&0==(24&r)&&Qs.has(e)&&Qs.delete(e),e===Ts&&(Ss=Ts=null,Rs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Ys,Ys|=32,ws.current=null,Hr=qt,mr(s=dr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,m=-1,p=-1,f=0,h=0,_=s,g=null;t:for(;;){for(var b;_!==l||0!==o&&3!==_.nodeType||(m=d+o),_!==c||0!==u&&3!==_.nodeType||(p=d+u),3===_.nodeType&&(d+=_.nodeValue.length),null!==(b=_.firstChild);)g=_,_=b;for(;;){if(_===s)break t;if(g===l&&++f===o&&(m=d),g===c&&++h===u&&(p=d),null!==(b=_.nextSibling))break;g=(_=g).parentNode}_=b}l=-1===m||-1===p?null:{start:m,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;zr={focusedElem:s,selectionRange:l},qt=!1,rl=null,al=!1,Is=r;do{try{Sl()}catch(e){if(null===Is)throw Error(i(330));Pl(Is,e),Is=Is.nextEffect}}while(null!==Is);rl=null,Is=r;do{try{for(s=e;null!==Is;){var y=Is.flags;if(16&y&&ge(Is.stateNode,""),128&y){var v=Is.alternate;if(null!==v){var k=v.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&y){case 2:gs(Is),Is.flags&=-3;break;case 6:gs(Is),Is.flags&=-3,ys(Is.alternate,Is);break;case 1024:Is.flags&=-1025;break;case 1028:Is.flags&=-1025,ys(Is.alternate,Is);break;case 4:ys(Is.alternate,Is);break;case 8:bs(s,l=Is);var M=l.alternate;hs(l),null!==M&&hs(M)}Is=Is.nextEffect}}catch(e){if(null===Is)throw Error(i(330));Pl(Is,e),Is=Is.nextEffect}}while(null!==Is);if(k=zr,v=dr(),y=k.focusedElem,s=k.selectionRange,v!==y&&y&&y.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(y.ownerDocument.documentElement,y)){null!==s&&mr(y)&&(v=s.start,void 0===(k=s.end)&&(k=v),"selectionStart"in y?(y.selectionStart=v,y.selectionEnd=Math.min(k,y.value.length)):(k=(v=y.ownerDocument||document)&&v.defaultView||window).getSelection&&(k=k.getSelection(),l=y.textContent.length,M=Math.min(s.start,l),s=void 0===s.end?M:Math.min(s.end,l),!k.extend&&M>s&&(l=s,s=M,M=l),l=ur(y,M),o=ur(y,s),l&&o&&(1!==k.rangeCount||k.anchorNode!==l.node||k.anchorOffset!==l.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((v=v.createRange()).setStart(l.node,l.offset),k.removeAllRanges(),M>s?(k.addRange(v),k.extend(o.node,o.offset)):(v.setEnd(o.node,o.offset),k.addRange(v))))),v=[];for(k=y;k=k.parentNode;)1===k.nodeType&&v.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<v.length;y++)(k=v[y]).element.scrollLeft=k.left,k.element.scrollTop=k.top}qt=!!Hr,zr=Hr=null,e.current=n,Is=r;do{try{for(y=e;null!==Is;){var L=Is.flags;if(36&L&&ms(y,Is.alternate,Is),128&L){v=void 0;var w=Is.ref;if(null!==w){var Y=Is.stateNode;switch(Is.tag){case 5:v=Y;break;default:v=Y}"function"==typeof w?w(v):w.current=v}}Is=Is.nextEffect}}catch(e){if(null===Is)throw Error(i(330));Pl(Is,e),Is=Is.nextEffect}}while(null!==Is);Is=null,Pa(),Ys=a}else e.current=n;if(Js)Js=!1,Gs=e,qs=t;else for(Is=r;null!==Is;)t=Is.nextEffect,Is.nextEffect=null,8&Is.flags&&((L=Is).sibling=null,L.stateNode=null),Is=t;if(0===(r=e.pendingLanes)&&(Vs=null),1===r?e===Xs?Zs++:(Zs=0,Xs=e):Zs=0,n=n.stateNode,ya&&"function"==typeof ya.onCommitFiberRoot)try{ya.onCommitFiberRoot(ba,n,void 0,64==(64&n.current.flags))}catch(e){}if(cl(e,Ba()),Ws)throw Ws=!1,e=Us,Us=null,e;return 0!=(8&Ys)||Wa(),null}function Sl(){for(;null!==Is;){var e=Is.alternate;al||null===rl||(0!=(8&Is.flags)?Xe(Is,rl)&&(al=!0):13===Is.tag&&ks(e,Is)&&Xe(Is,rl)&&(al=!0));var t=Is.flags;0!=(256&t)&&ds(e,Is),0==(512&t)||Js||(Js=!0,Ia(97,(function(){return Rl(),null}))),Is=Is.nextEffect}}function Rl(){if(90!==qs){var e=97<qs?97:qs;return qs=90,Fa(e,El)}return!1}function xl(e,t){$s.push(t,e),Js||(Js=!0,Ia(97,(function(){return Rl(),null})))}function Dl(e,t){Ks.push(t,e),Js||(Js=!0,Ia(97,(function(){return Rl(),null})))}function El(){if(null===Gs)return!1;var e=Gs;if(Gs=null,0!=(48&Ys))throw Error(i(331));var t=Ys;Ys|=32;var n=Ks;Ks=[];for(var r=0;r<n.length;r+=2){var a=n[r],o=n[r+1],s=a.destroy;if(a.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(i(330));Pl(o,e)}}for(n=$s,$s=[],r=0;r<n.length;r+=2){a=n[r],o=n[r+1];try{var l=a.create;a.destroy=l()}catch(e){if(null===o)throw Error(i(330));Pl(o,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ys=t,Wa(),!0}function Cl(e,t,n){io(e,t=ss(0,t=as(n,t),1)),t=ol(),null!==(e=ll(e,1))&&(It(e,1,t),cl(e,t))}function Pl(e,t){if(3===e.tag)Cl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Cl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vs||!Vs.has(r))){var a=ls(n,e=as(t,e),1);if(io(n,a),a=ol(),null!==(n=ll(n,1)))It(n,1,a),cl(n,a);else if("function"==typeof r.componentDidCatch&&(null===Vs||!Vs.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function jl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ol(),e.pingedLanes|=e.suspendedLanes&n,Ts===e&&(Rs&n)===n&&(4===Es||3===Es&&(62914560&Rs)===Rs&&500>Ba()-Bs?gl(e,0):Hs|=n),cl(e,t)}function Ol(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Aa()?1:2:(0===tl&&(tl=Ps),0===(t=Nt(62914560&~tl))&&(t=4194304))),n=ol(),null!==(e=ll(e,t))&&(It(e,t,n),cl(e,n))}function Hl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zl(e,t,n,r){return new Hl(e,t,n,r)}function Bl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Al(e,t){var n=e.alternate;return null===n?((n=zl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nl(e,t,n,r,a,o){var s=2;if(r=e,"function"==typeof e)Bl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case w:return Fl(n.children,a,o,t);case H:s=8,a|=16;break;case Y:s=8,a|=1;break;case T:return(e=zl(12,n,t,8|a)).elementType=T,e.type=T,e.lanes=o,e;case D:return(e=zl(13,n,t,a)).type=D,e.elementType=D,e.lanes=o,e;case E:return(e=zl(19,n,t,a)).elementType=E,e.lanes=o,e;case z:return Il(n,a,o,t);case B:return(e=zl(24,n,t,a)).elementType=B,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case R:s=9;break e;case x:s=11;break e;case C:s=14;break e;case P:s=16,r=null;break e;case j:s=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=zl(s,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Fl(e,t,n,r){return(e=zl(7,e,r,t)).lanes=n,e}function Il(e,t,n,r){return(e=zl(23,e,r,t)).elementType=z,e.lanes=n,e}function Wl(e,t,n){return(e=zl(6,e,null,t)).lanes=n,e}function Ul(e,t,n){return(t=zl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ft(0),this.expirationTimes=Ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ft(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:L,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Gl(e,t,n,r){var a=t.current,o=ol(),s=il(a);e:if(n){t:{if($e(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ma(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(i(171))}if(1===n.tag){var c=n.type;if(ma(c)){n=ha(n,c,l);break e}}n=l}else n=sa;return null===t.context?t.context=n:t.pendingContext=n,(t=oo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),io(a,t),sl(a,s,o),s}function ql(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $l(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kl(e,t){$l(e,t),(e=e.alternate)&&$l(e,t)}function Ql(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Vl(e,t,null!=n&&!0===n.hydrate),t=zl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ro(t),e[$r]=n.current,Sr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function Zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var s=a;a=function(){var e=ql(i);s.call(e)}}Gl(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ql(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var l=a;a=function(){var e=ql(i);l.call(e)}}fl((function(){Gl(t,i,e,a)}))}return ql(i)}function ec(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zl(t))throw Error(i(200));return Jl(e,t,null,n)}Fs=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ca.current)Ci=!0;else{if(0==(n&r)){switch(Ci=!1,t.tag){case 3:Ii(t),Wo();break;case 5:Eo(t);break;case 1:ma(t.type)&&_a(t);break;case 4:xo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;ia(Ga,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Gi(e,t,n):(ia(Po,1&Po.current),null!==(t=es(e,t,n))?t.sibling:null);ia(Po,1&Po.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Xi(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),ia(Po,Po.current),r)break;return null;case 23:case 24:return t.lanes=0,zi(e,t,n)}return es(e,t,n)}Ci=0!=(16384&e.flags)}else Ci=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=da(t,la.current),eo(t,n),a=ni(null,t,r,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ma(r)){var o=!0;_a(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,ro(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&mo(t,r,s,e),a.updater=po,t.stateNode=a,a._reactInternals=t,go(t,r,e,n),t=Fi(null,t,r,!0,o,n)}else t.tag=0,Pi(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return Bl(e)?1:0;if(null!=e){if((e=e.$$typeof)===x)return 11;if(e===C)return 14}return 2}(a),e=Ja(a,e),o){case 0:t=Ai(null,t,a,e,n);break e;case 1:t=Ni(null,t,a,e,n);break e;case 11:t=ji(null,t,a,e,n);break e;case 14:t=Oi(null,t,a,Ja(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ai(e,t,r,a=t.elementType===r?a:Ja(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ni(e,t,r,a=t.elementType===r?a:Ja(r,a),n);case 3:if(Ii(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,ao(e,t),lo(t,r,null,n),(r=t.memoizedState.element)===a)Wo(),t=es(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&(Ho=Wr(t.stateNode.containerInfo.firstChild),Oo=t,o=zo=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],Uo.push(o);for(n=Lo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Pi(e,t,r,n),Wo();t=t.child}return t;case 5:return Eo(t),null===e&&No(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,Ar(r,a)?s=null:null!==o&&Ar(r,o)&&(t.flags|=16),Bi(e,t),Pi(e,t,s,n),t.child;case 6:return null===e&&No(t),null;case 13:return Gi(e,t,n);case 4:return xo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Mo(t,null,r,n):Pi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ji(e,t,r,a=t.elementType===r?a:Ja(r,a),n);case 7:return Pi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,s=t.memoizedProps,o=a.value;var l=t.type._context;if(ia(Ga,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=ir(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===a.children&&!ca.current){t=es(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===l.tag&&((u=oo(-1,n&-n)).tag=2,io(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),Xa(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Pi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,eo(t,n),r=r(a=to(a,o.unstable_observedBits)),t.flags|=1,Pi(e,t,r,n),t.child;case 14:return o=Ja(a=t.type,t.pendingProps),Oi(e,t,a,o=Ja(a.type,o),r,n);case 15:return Hi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ja(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ma(r)?(e=!0,_a(t)):e=!1,eo(t,n),ho(t,r,a),go(t,r,a,n),Fi(null,t,r,!0,e,n);case 19:return Xi(e,t,n);case 23:case 24:return zi(e,t,n)}throw Error(i(156,t.tag))},Ql.prototype.render=function(e){Gl(e,this._internalRoot,null,null)},Ql.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Gl(null,e,null,(function(){t[$r]=null}))},et=function(e){13===e.tag&&(sl(e,4,ol()),Kl(e,4))},tt=function(e){13===e.tag&&(sl(e,67108864,ol()),Kl(e,67108864))},nt=function(e){if(13===e.tag){var t=ol(),n=il(e);sl(e,n,t),Kl(e,n)}},rt=function(e,t){return t()},Te=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ea(r);if(!a)throw Error(i(90));Q(r),ne(r,a)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Ce=pl,Pe=function(e,t,n,r,a){var o=Ys;Ys|=4;try{return Fa(98,e.bind(null,t,n,r,a))}finally{0===(Ys=o)&&(Ns(),Wa())}},je=function(){0==(49&Ys)&&(function(){if(null!==Qs){var e=Qs;Qs=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,cl(e,Ba())}))}Wa()}(),Rl())},Oe=function(e,t){var n=Ys;Ys|=2;try{return e(t)}finally{0===(Ys=n)&&(Ns(),Wa())}};var tc={Events:[Zr,Xr,ea,De,Ee,Rl,{current:!1}]},nc={findFiberByHostInstance:Qr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{ba=ac.inject(rc),ya=ac}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=ec,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ys;if(0!=(48&n))return e(t);Ys|=1;try{if(e)return Fa(99,e.bind(null,t))}finally{Ys=n,Wa()}},t.hydrate=function(e,t,n){if(!Zl(t))throw Error(i(200));return Xl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Zl(t))throw Error(i(200));return Xl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zl(e))throw Error(i(40));return!!e._reactRootContainer&&(fl((function(){Xl(null,null,e,!1,(function(){e._reactRootContainer=null,e[$r]=null}))})),!0)},t.unstable_batchedUpdates=pl,t.unstable_createPortal=function(e,t){return ec(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zl(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Xl(e,t,n,!1,r)},t.version="17.0.2"},function(e,t,n){"use strict";
303
- /*
304
- object-assign
305
- (c) Sindre Sorhus
306
- @license MIT
307
- */var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=i(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))a.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";e.exports=n(208)},function(e,t,n){"use strict";
308
- /** @license React v0.20.2
309
- * scheduler.production.min.js
310
- *
311
- * Copyright (c) Facebook, Inc. and its affiliates.
312
- *
313
- * This source code is licensed under the MIT license found in the
314
- * LICENSE file in the root directory of this source tree.
315
- */var r,a,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,d=null,m=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(m,0),e}};r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(m,0))},a=function(e,t){d=setTimeout(e,t)},o=function(){clearTimeout(d)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,g=null,b=-1,y=5,v=0;t.unstable_shouldYield=function(){return t.unstable_now()>=v},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,M=k.port2;k.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();v=e+y;try{g(!0,e)?M.postMessage(null):(_=!1,g=null)}catch(e){throw M.postMessage(null),e}}else _=!1},r=function(e){g=e,_||(_=!0,M.postMessage(null))},a=function(e,n){b=p((function(){e(t.unstable_now())}),n)},o=function(){f(b),b=-1}}function L(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<T(a,t)))break e;e[r]=t,e[n]=a,n=r}}function w(e){return void 0===(e=e[0])?null:e}function Y(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],s=o+1,l=e[s];if(void 0!==i&&0>T(i,n))void 0!==l&&0>T(l,i)?(e[r]=l,e[s]=n,r=s):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==l&&0>T(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var S=[],R=[],x=1,D=null,E=3,C=!1,P=!1,j=!1;function O(e){for(var t=w(R);null!==t;){if(null===t.callback)Y(R);else{if(!(t.startTime<=e))break;Y(R),t.sortIndex=t.expirationTime,L(S,t)}t=w(R)}}function H(e){if(j=!1,O(e),!P)if(null!==w(S))P=!0,r(z);else{var t=w(R);null!==t&&a(H,t.startTime-e)}}function z(e,n){P=!1,j&&(j=!1,o()),C=!0;var r=E;try{for(O(n),D=w(S);null!==D&&(!(D.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=D.callback;if("function"==typeof i){D.callback=null,E=D.priorityLevel;var s=i(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?D.callback=s:D===w(S)&&Y(S),O(n)}else Y(S);D=w(S)}if(null!==D)var l=!0;else{var c=w(R);null!==c&&a(H,c.startTime-n),l=!1}return l}finally{D=null,E=r,C=!1}}var B=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||C||(P=!0,r(z))},t.unstable_getCurrentPriorityLevel=function(){return E},t.unstable_getFirstCallbackNode=function(){return w(S)},t.unstable_next=function(e){switch(E){case 1:case 2:case 3:var t=3;break;default:t=E}var n=E;E=t;try{return e()}finally{E=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=E;E=e;try{return t()}finally{E=n}},t.unstable_scheduleCallback=function(e,n,i){var s=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?s+i:s:i=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:x++,callback:n,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>s?(e.sortIndex=i,L(R,e),null===w(S)&&e===w(R)&&(j?o():j=!0,a(H,i-s))):(e.sortIndex=l,L(S,e),P||C||(P=!0,r(z))),e},t.unstable_wrapCallback=function(e){var t=E;return function(){var n=E;E=t;try{return e.apply(this,arguments)}finally{E=n}}}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r={"./af":46,"./af.js":46,"./ar":47,"./ar-dz":48,"./ar-dz.js":48,"./ar-kw":49,"./ar-kw.js":49,"./ar-ly":50,"./ar-ly.js":50,"./ar-ma":51,"./ar-ma.js":51,"./ar-sa":52,"./ar-sa.js":52,"./ar-tn":53,"./ar-tn.js":53,"./ar.js":47,"./az":54,"./az.js":54,"./be":55,"./be.js":55,"./bg":56,"./bg.js":56,"./bm":57,"./bm.js":57,"./bn":58,"./bn-bd":59,"./bn-bd.js":59,"./bn.js":58,"./bo":60,"./bo.js":60,"./br":61,"./br.js":61,"./bs":62,"./bs.js":62,"./ca":63,"./ca.js":63,"./cs":64,"./cs.js":64,"./cv":65,"./cv.js":65,"./cy":66,"./cy.js":66,"./da":67,"./da.js":67,"./de":68,"./de-at":69,"./de-at.js":69,"./de-ch":70,"./de-ch.js":70,"./de.js":68,"./dv":71,"./dv.js":71,"./el":72,"./el.js":72,"./en-au":73,"./en-au.js":73,"./en-ca":74,"./en-ca.js":74,"./en-gb":75,"./en-gb.js":75,"./en-ie":76,"./en-ie.js":76,"./en-il":77,"./en-il.js":77,"./en-in":78,"./en-in.js":78,"./en-nz":79,"./en-nz.js":79,"./en-sg":80,"./en-sg.js":80,"./eo":81,"./eo.js":81,"./es":82,"./es-do":83,"./es-do.js":83,"./es-mx":84,"./es-mx.js":84,"./es-us":85,"./es-us.js":85,"./es.js":82,"./et":86,"./et.js":86,"./eu":87,"./eu.js":87,"./fa":88,"./fa.js":88,"./fi":89,"./fi.js":89,"./fil":90,"./fil.js":90,"./fo":91,"./fo.js":91,"./fr":92,"./fr-ca":93,"./fr-ca.js":93,"./fr-ch":94,"./fr-ch.js":94,"./fr.js":92,"./fy":95,"./fy.js":95,"./ga":96,"./ga.js":96,"./gd":97,"./gd.js":97,"./gl":98,"./gl.js":98,"./gom-deva":99,"./gom-deva.js":99,"./gom-latn":100,"./gom-latn.js":100,"./gu":101,"./gu.js":101,"./he":102,"./he.js":102,"./hi":103,"./hi.js":103,"./hr":104,"./hr.js":104,"./hu":105,"./hu.js":105,"./hy-am":106,"./hy-am.js":106,"./id":107,"./id.js":107,"./is":108,"./is.js":108,"./it":109,"./it-ch":110,"./it-ch.js":110,"./it.js":109,"./ja":111,"./ja.js":111,"./jv":112,"./jv.js":112,"./ka":113,"./ka.js":113,"./kk":114,"./kk.js":114,"./km":115,"./km.js":115,"./kn":116,"./kn.js":116,"./ko":117,"./ko.js":117,"./ku":118,"./ku.js":118,"./ky":119,"./ky.js":119,"./lb":120,"./lb.js":120,"./lo":121,"./lo.js":121,"./lt":122,"./lt.js":122,"./lv":123,"./lv.js":123,"./me":124,"./me.js":124,"./mi":125,"./mi.js":125,"./mk":126,"./mk.js":126,"./ml":127,"./ml.js":127,"./mn":128,"./mn.js":128,"./mr":129,"./mr.js":129,"./ms":130,"./ms-my":131,"./ms-my.js":131,"./ms.js":130,"./mt":132,"./mt.js":132,"./my":133,"./my.js":133,"./nb":134,"./nb.js":134,"./ne":135,"./ne.js":135,"./nl":136,"./nl-be":137,"./nl-be.js":137,"./nl.js":136,"./nn":138,"./nn.js":138,"./oc-lnc":139,"./oc-lnc.js":139,"./pa-in":140,"./pa-in.js":140,"./pl":141,"./pl.js":141,"./pt":142,"./pt-br":143,"./pt-br.js":143,"./pt.js":142,"./ro":144,"./ro.js":144,"./ru":145,"./ru.js":145,"./sd":146,"./sd.js":146,"./se":147,"./se.js":147,"./si":148,"./si.js":148,"./sk":149,"./sk.js":149,"./sl":150,"./sl.js":150,"./sq":151,"./sq.js":151,"./sr":152,"./sr-cyrl":153,"./sr-cyrl.js":153,"./sr.js":152,"./ss":154,"./ss.js":154,"./sv":155,"./sv.js":155,"./sw":156,"./sw.js":156,"./ta":157,"./ta.js":157,"./te":158,"./te.js":158,"./tet":159,"./tet.js":159,"./tg":160,"./tg.js":160,"./th":161,"./th.js":161,"./tk":162,"./tk.js":162,"./tl-ph":163,"./tl-ph.js":163,"./tlh":164,"./tlh.js":164,"./tr":165,"./tr.js":165,"./tzl":166,"./tzl.js":166,"./tzm":167,"./tzm-latn":168,"./tzm-latn.js":168,"./tzm.js":167,"./ug-cn":169,"./ug-cn.js":169,"./uk":170,"./uk.js":170,"./ur":171,"./ur.js":171,"./uz":172,"./uz-latn":173,"./uz-latn.js":173,"./uz.js":172,"./vi":174,"./vi.js":174,"./x-pseudo":175,"./x-pseudo.js":175,"./yo":176,"./yo.js":176,"./zh-cn":177,"./zh-cn.js":177,"./zh-hk":178,"./zh-hk.js":178,"./zh-mo":179,"./zh-mo.js":179,"./zh-tw":180,"./zh-tw.js":180};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=212},function(e,t,n){var r=n(214),a=n(278),o=n(198),i=n(13),s=n(287);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(215),a=n(277),o=n(195);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(182),a=n(187);e.exports=function(e,t,n,o){var i=n.length,s=i,l=!o;if(null==e)return!s;for(e=Object(e);i--;){var c=n[i];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<s;){var u=(c=n[i])[0],d=e[u],m=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(o)var f=o(d,m,u,e,t,p);if(!(void 0===f?a(m,d,3,o,p):f))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(21),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(21);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(21);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(21);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(20);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(20),a=n(35),o=n(36);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!a||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(184),a=n(230),o=n(23),i=n(186),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(r(e)?m:s).test(i(e))}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(22),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,a=n(231),o=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(12)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(234),a=n(20),o=n(35);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}},function(e,t,n){var r=n(235),a=n(236),o=n(237),i=n(238),s=n(239);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(24);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(24),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(24),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(24);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(25);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(25);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(25);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(25);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(182),a=n(188),o=n(251),i=n(255),s=n(272),l=n(13),c=n(191),u=n(193),d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,f,h){var _=l(e),g=l(t),b=_?"[object Array]":s(e),y=g?"[object Array]":s(t),v=(b="[object Arguments]"==b?d:b)==d,k=(y="[object Arguments]"==y?d:y)==d,M=b==y;if(M&&c(e)){if(!c(t))return!1;_=!0,v=!1}if(M&&!v)return h||(h=new r),_||u(e)?a(e,t,n,p,f,h):o(e,t,b,n,p,f,h);if(!(1&n)){var L=v&&m.call(e,"__wrapped__"),w=k&&m.call(t,"__wrapped__");if(L||w){var Y=L?e.value():e,T=w?t.value():t;return h||(h=new r),f(Y,T,n,p,h)}}return!!M&&(h||(h=new r),i(e,t,n,p,f,h))}},function(e,t,n){var r=n(36),a=n(247),o=n(248);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=a,i.prototype.has=o,e.exports=i},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(22),a=n(252),o=n(183),i=n(188),s=n(253),l=n(254),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var f=1&r;if(p||(p=l),e.size!=t.size&&!f)return!1;var h=m.get(e);if(h)return h==t;r|=2,m.set(e,t);var _=i(p(e),p(t),r,c,d,m);return m.delete(e),_;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t,n){var r=n(12).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(256),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var m=c[d];if(!(l?m in t:a.call(t,m)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var h=!0;s.set(e,t),s.set(t,e);for(var _=l;++d<u;){var g=e[m=c[d]],b=t[m];if(o)var y=l?o(b,g,m,t,e,s):o(g,b,m,e,t,s);if(!(void 0===y?g===b||i(g,b,n,o,s):y)){h=!1;break}_||(_="constructor"==m)}if(h&&!_){var v=e.constructor,k=t.constructor;v==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof k&&k instanceof k||(h=!1)}return s.delete(e),s.delete(t),h}},function(e,t,n){var r=n(257),a=n(259),o=n(37);e.exports=function(e){return r(e,o,a)}},function(e,t,n){var r=n(258),a=n(13);e.exports=function(e,t,n){var o=t(e);return a(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(260),a=n(261),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return o.call(e,t)})))}:a;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(189),a=n(190),o=n(13),i=n(191),s=n(192),l=n(193),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&a(e),d=!n&&!u&&i(e),m=!n&&!u&&!d&&l(e),p=n||u||d||m,f=p?r(e.length,String):[],h=f.length;for(var _ in e)!t&&!c.call(e,_)||p&&("length"==_||d&&("offset"==_||"parent"==_)||m&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||s(_,h))||f.push(_);return f}},function(e,t,n){var r=n(18),a=n(19);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(18),a=n(38),o=n(19),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&a(e.length)&&!!i[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(185),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s}).call(this,n(34)(e))},function(e,t,n){var r=n(269),a=n(270),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(271)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(273),a=n(35),o=n(274),i=n(275),s=n(276),l=n(18),c=n(186),u=c(r),d=c(a),m=c(o),p=c(i),f=c(s),h=l;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||o&&"[object Promise]"!=h(o.resolve())||i&&"[object Set]"!=h(new i)||s&&"[object WeakMap]"!=h(new s))&&(h=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case d:return"[object Map]";case m:return"[object Promise]";case p:return"[object Set]";case f:return"[object WeakMap]"}return t}),e.exports=h},function(e,t,n){var r=n(16)(n(12),"DataView");e.exports=r},function(e,t,n){var r=n(16)(n(12),"Promise");e.exports=r},function(e,t,n){var r=n(16)(n(12),"Set");e.exports=r},function(e,t,n){var r=n(16)(n(12),"WeakMap");e.exports=r},function(e,t,n){var r=n(194),a=n(37);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,r(i)]}return t}},function(e,t,n){var r=n(187),a=n(28),o=n(284),i=n(40),s=n(194),l=n(195),c=n(27);e.exports=function(e,t){return i(e)&&s(t)?l(c(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,3)}}},function(e,t,n){var r=n(280),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},function(e,t,n){var r=n(281);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(36);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(283);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(22),a=n(181),o=n(13),i=n(26),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(285),a=n(286);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(197),a=n(190),o=n(13),i=n(192),s=n(38),l=n(27);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var m=l(t[c]);if(!(d=null!=e&&n(e,m)))break;e=e[m]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&i(m,u)&&(o(e)||a(e))}},function(e,t,n){var r=n(288),a=n(289),o=n(40),i=n(27);e.exports=function(e){return o(e)?r(i(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(196);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(291),a=n(39);e.exports=function(e,t){var n=-1,o=a(e)?Array(e.length):[];return r(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}},function(e,t,n){var r=n(292),a=n(295)(r);e.exports=a},function(e,t,n){var r=n(293),a=n(37);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(294)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),s=i.length;s--;){var l=i[e?s:++a];if(!1===n(o[l],l,o))break}return t}}},function(e,t,n){var r=n(39);e.exports=function(e,t){return function(n,a){if(null==n)return n;if(!r(n))return e(n,a);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&!1!==a(s[i],i,s););return n}}},function(e,t,n){var r=n(198);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(298);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(299);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(300),a=n(23),o=n(26),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}},function(e,t,n){var r=n(301),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(45);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(42).default;function a(){"use strict";
316
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=a=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,o=Object.create(a.prototype),i=new T(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return R()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=L(i,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=m(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p={};function f(){}function h(){}function _(){}var g={};u(g,s,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(S([])));y&&y!==n&&o.call(y,s)&&(g=y);var v=_.prototype=f.prototype=Object.create(g);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){var n;this._invoke=function(a,i){function s(){return new t((function(n,s){!function n(a,i,s,l){var c=m(e[a],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}(a,i,n,s)}))}return n=n?n.then(s,s):s()}}function L(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=m(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:R}}function R(){return{value:void 0,done:!0}}return h.prototype=_,u(v,"constructor",_),u(_,"constructor",h),h.displayName=u(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,u(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},k(M.prototype),u(M.prototype,l,(function(){return this})),t.AsyncIterator=M,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new M(d(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(v),u(v,c,"Generator"),u(v,s,(function(){return this})),u(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Y),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t);var r=n(9),a=n.n(r),o=n(7),i=n.n(o),s=n(1),l=n.n(s),c=n(2),u=n.n(c),d=n(3),m=n.n(d),p=n(4),f=n.n(p),h=n(0),_=n.n(h),g=n(5),b=n.n(g);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var v=wp.element.Component,k=wp.hooks.applyFilters,M=function(e){m()(n,e);var t=y(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){if(void 0===this.props.children)return null;var e=!1;if(void 0!==this.props.children.props&&void 0!==this.props.children.props.name||(e=!0),e&&(void 0===this.props.children._owner||void 0===this.props.children._owner.memoizedProps||void 0===this.props.children._owner.memoizedProps.name))return this.props.children;var t=e?this.props.children._owner.memoizedProps.name:this.props.children.props.name;return k("gb_should_render_block_setting",!0,t,this.props.id,genesis_blocks_globals.user_data)?this.props.children:null}}]),n}(v);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var w=wp.i18n.__,Y=wp.element.Component,T=wp.blockEditor,S=T.InspectorControls,R=T.PanelColorSettings,x=wp.components,D=x.PanelBody,E=x.RangeControl,C=x.SelectControl,P=function(e){m()(n,e);var t=L(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:"left-aligned",label:w("Left Aligned","genesis-blocks")},{value:"right-aligned",label:w("Right Aligned","genesis-blocks")}],n=this.props,r=n.attributes,a=r.testimonialBackgroundColor,o=r.testimonialTextColor,i=r.testimonialFontSize,s=r.testimonialCiteAlign,l=n.setAttributes;return React.createElement(S,{key:"inspector"},React.createElement(D,null,React.createElement(M,{id:"gb_testimonial_testimonialFontSize"},React.createElement(E,{label:w("Font Size","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({testimonialFontSize:t})},min:14,max:24,step:1})),React.createElement(M,{id:"gb_testimonial_testimonialCiteAlign"},React.createElement(C,{label:w("Cite Alignment","genesis-blocks"),description:w("Left or right align the cite name and title.","genesis-blocks"),options:t,value:s,onChange:function(t){return e.props.setAttributes({testimonialCiteAlign:t})}}))),React.createElement(M,{id:"gb_testimonial_testimonialBackgroundColor"},React.createElement(R,{title:w("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({testimonialBackgroundColor:e})},label:w("Background Color","genesis-blocks")}]})),React.createElement(M,{id:"gb_testimonial_testimonialTextColor"},React.createElement(R,{title:w("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return l({testimonialTextColor:e})},label:w("Text Color","genesis-blocks")}]})))}}]),n}(Y);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var O=function(e){m()(n,e);var t=j(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.testimonialImgURL,n=e.testimonialBackgroundColor,r=e.testimonialTextColor,a=e.testimonialFontSize,o=e.testimonialCiteAlign;return React.createElement("div",{style:{backgroundColor:n||"#f2f2f2",color:r||"#32373c"},className:b()(this.props.className,o,{"gb-has-avatar":t},"gb-font-size-"+a,"gb-block-testimonial")},this.props.children)}}]),n}(wp.element.Component),H={};H.upload=React.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"}));var z=H;function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var F=wp.i18n.__,I=wp.element,W=I.Component,U=I.Fragment,V=wp.blockEditor,J=V.RichText,G=V.AlignmentToolbar,q=V.BlockControls,$=V.MediaUpload,K=wp.components,Q=K.Button,Z=K.Dashicon,X=["image"],ee=function(e){m()(n,e);var t=N(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.testimonialName,o=n.testimonialTitle,i=n.testimonialContent,s=n.testimonialAlignment,l=n.testimonialImgURL,c=n.testimonialImgID,u=n.testimonialImgAlt,d=n.testimonialTextColor,m=t.setAttributes,p=function(){m({testimonialImgURL:null,testimonialImgID:null,testimonialImgAlt:null})};return[React.createElement(q,{key:"controls"},React.createElement(G,{value:s,onChange:function(e){return m({testimonialAlignment:e})}})),React.createElement(P,a()({key:"gb-testimonial-inspector-"+this.props.clientId},A({setAttributes:m},this.props))),React.createElement(O,a()({key:"gb-testimonial-editor-"+this.props.clientId},this.props),React.createElement(J,{tagName:"div",multiline:"p",placeholder:F("Add testimonial text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:i,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:b()("gb-testimonial-text"),style:{textAlign:s},onChange:function(e){return m({testimonialContent:e})}}),React.createElement("div",{className:"gb-testimonial-info"},React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement($,{buttonProps:{className:"change-image"},onSelect:function(e){return m({testimonialImgID:e.id,testimonialImgURL:e.sizes.thumbnail.url,testimonialImgAlt:e.alt})},allowed:X,type:"image",value:c,render:function(e){var t=e.open;return React.createElement(U,null,React.createElement(Q,{className:c?"gb-change-image":"gb-add-image",onClick:t},c?React.createElement("img",{className:"gb-testimonial-avatar",src:l,alt:u||null}):z.upload),c&&React.createElement(Q,{className:"gb-remove-image",onClick:p},React.createElement(Z,{icon:"dismiss"})))}}))),React.createElement(J,{tagName:"h2",placeholder:F("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,className:"gb-testimonial-name",style:{color:d},onChange:function(t){return e.props.setAttributes({testimonialName:t})}}),React.createElement(J,{tagName:"small",placeholder:F("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,className:"gb-testimonial-title",style:{color:d},onChange:function(t){return e.props.setAttributes({testimonialTitle:t})}})))]}}]),n}(W);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var ne=wp.element.Component,re=wp.blockEditor.RichText,ae=function(e){m()(n,e);var t=te(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.testimonialName,n=e.testimonialTitle,r=e.testimonialContent,a=e.testimonialAlignment,o=e.testimonialImgURL,i=e.testimonialImgAlt,s=e.testimonialTextColor;return React.createElement(O,this.props,React.createElement(re.Content,{tagName:"div",className:"gb-testimonial-text",style:{textAlign:a},value:r}),React.createElement("div",{className:"gb-testimonial-info"},o&&React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement("img",{className:"gb-testimonial-avatar",src:o,alt:i||null}))),t&&React.createElement(re.Content,{tagName:"h2",className:"gb-testimonial-name",style:{color:s||"#32373c"},value:t}),n&&React.createElement(re.Content,{tagName:"small",className:"gb-testimonial-title",style:{color:s||"#32373c"},value:n})))}}]),n}(ne),oe=(n(336),n(338),wp.i18n.__);function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-testimonial",{title:oe("Testimonial","genesis-blocks"),description:oe("Add a user testimonial with a name and title.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[oe("testimonial","genesis-blocks"),oe("quote","genesis-blocks"),oe("atomic","genesis-blocks")],attributes:{testimonialName:{type:"array",selector:".gb-testimonial-name",source:"children"},testimonialTitle:{type:"array",selector:".gb-testimonial-title",source:"children"},testimonialContent:{type:"array",selector:".gb-testimonial-text",source:"children"},testimonialAlignment:{type:"string"},testimonialImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},testimonialImgID:{type:"number"},testimonialImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},testimonialBackgroundColor:{type:"string",default:"#f2f2f2"},testimonialTextColor:{type:"string",default:"#32373c"},testimonialFontSize:{type:"number",default:18},testimonialCiteAlign:{type:"string",default:"left-aligned"}},gb_settings_data:{gb_testimonial_testimonialFontSize:{title:oe("Font Size","genesis-blocks")},gb_testimonial_testimonialCiteAlign:{title:oe("Cite Alignment","genesis-blocks")},gb_testimonial_testimonialBackgroundColor:{title:oe("Background Color","genesis-blocks")},gb_testimonial_testimonialTextColor:{title:oe("Text Color","genesis-blocks")}},edit:function(e){return React.createElement(ee,e)},save:function(e){return React.createElement(ae,e)}});var se=wp.i18n.__,le=wp.element.Component,ce=wp.blockEditor,ue=ce.InspectorControls,de=ce.PanelColorSettings,me=wp.components,pe=me.PanelBody,fe=me.RangeControl,he=me.SelectControl,_e=me.TextControl,ge=function(e){m()(n,e);var t=ie(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.profileFontSize,r=t.profileBackgroundColor,a=t.profileTextColor,o=t.profileLinkColor,i=t.twitter,s=t.facebook,l=t.instagram,c=t.pinterest,u=t.google,d=t.youtube,m=t.github,p=t.linkedin,f=t.wordpress,h=t.email,_=t.website,g=t.profileAvatarShape,b=this.props.setAttributes,y=[{value:"square",label:se("Square","genesis-blocks")},{value:"round",label:se("Round","genesis-blocks")}];return React.createElement(ue,{key:"inspector"},React.createElement(pe,null,React.createElement(M,{id:"gb_author_profile_profileFontSize"},React.createElement(fe,{label:se("Font Size","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({profileFontSize:t})},min:14,max:24,step:1})),React.createElement(M,{id:"gb_author_profile_profileAvatarShape"},React.createElement(he,{label:se("Avatar Shape","genesis-blocks"),description:se("Choose between a round or square avatar shape.","genesis-blocks"),options:y,value:g,onChange:function(t){return e.props.setAttributes({profileAvatarShape:t})}})),React.createElement(M,{id:"gb_author_profile_profileBackgroundColor"},React.createElement(de,{title:se("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return b({profileBackgroundColor:e})},label:se("Background Color","genesis-blocks")}]})),React.createElement(M,{id:"gb_author_profile_profileTextColor"},React.createElement(de,{title:se("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return b({profileTextColor:e})},label:se("Text Color","genesis-blocks")}]})),React.createElement(M,{id:"gb_author_profile_profileLinkColor"},React.createElement(de,{title:se("Social Link Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return b({profileLinkColor:e})},label:se("Social Link Color","genesis-blocks")}]}))),React.createElement(M,{id:"gb_author_profile_socialLinks"},React.createElement(pe,{title:se("Social Links","genesis-blocks"),initialOpen:!1},React.createElement("p",null,se("Add links to your social media site and they will appear in the bottom of the profile box.","genesis-blocks")),React.createElement(_e,{label:se("Twitter URL","genesis-blocks"),type:"url",value:i,onChange:function(t){return e.props.setAttributes({twitter:t})}}),React.createElement(_e,{label:se("Facebook URL","genesis-blocks"),type:"url",value:s,onChange:function(t){return e.props.setAttributes({facebook:t})}}),React.createElement(_e,{label:se("Instagram URL","genesis-blocks"),type:"url",value:l,onChange:function(t){return e.props.setAttributes({instagram:t})}}),React.createElement(_e,{label:se("Pinterest URL","genesis-blocks"),type:"url",value:c,onChange:function(t){return e.props.setAttributes({pinterest:t})}}),React.createElement(_e,{label:se("Google URL","genesis-blocks"),type:"url",value:u,onChange:function(t){return e.props.setAttributes({google:t})}}),React.createElement(_e,{label:se("YouTube URL","genesis-blocks"),type:"url",value:d,onChange:function(t){return e.props.setAttributes({youtube:t})}}),React.createElement(_e,{label:se("Github URL","genesis-blocks"),type:"url",value:m,onChange:function(t){return e.props.setAttributes({github:t})}}),React.createElement(_e,{label:se("LinkedIn URL","genesis-blocks"),type:"url",value:p,onChange:function(t){return e.props.setAttributes({linkedin:t})}}),React.createElement(_e,{label:se("WordPress Profile URL","genesis-blocks"),type:"url",value:f,onChange:function(t){return e.props.setAttributes({wordpress:t})}}),React.createElement(_e,{label:se("Email URL","genesis-blocks"),help:se('Supports a URL or an email link. Email links must be prefixed with "mailto:". Example: mailto:test@example.com',"genesis-blocks"),type:"url",value:h,onChange:function(t){return e.props.setAttributes({email:t})}}),React.createElement(_e,{label:se("Website URL","genesis-blocks"),type:"url",value:_,onChange:function(t){return e.props.setAttributes({website:t})}}))))}}]),n}(le);function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var ye=function(e){m()(n,e);var t=be(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileAlignment,n=e.profileImgURL,r=e.profileFontSize,a=e.profileBackgroundColor,o=e.profileTextColor,i=e.profileAvatarShape;return React.createElement("div",{style:{backgroundColor:a,color:o},className:b()(this.props.className,t,i,{"gb-has-avatar":n},"gb-font-size-"+r,"gb-block-profile","gb-profile-columns")},this.props.children)}}]),n}(wp.element.Component);function ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var ke=wp.i18n.__,Me=function(e){m()(n,e);var t=ve(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Website","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-website-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-website-"+this.props.clientId},ke("Visit Website (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"})))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Twitter","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-twitter-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-twitter-"+this.props.clientId},ke("Visit Twitter account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Facebook","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-facebook-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-facebook-"+this.props.clientId},ke("Visit Facebook account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Instagram","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-instagram-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-instagram-"+this.props.clientId},ke("Visit Instagram account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Pinterest","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-pinterest-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-pinterest-"+this.props.clientId},ke("Visit Pinterest account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"})))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Google","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-google-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-google-"+this.props.clientId},ke("Visit Google account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("YouTube","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-youtube-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-youtube-"+this.props.clientId},ke("Visit YouTube account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("LinkedIn","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-linkedin-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-linkedin-"+this.props.clientId},ke("Visit LinkedIn account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Github","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-github-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-github-"+this.props.clientId},ke("Visit GitHub account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("WordPress","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-wordpress-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-wordpress-"+this.props.clientId},ke("Visit WordPress account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M21.469 6.825c.84 1.537 1.318 3.3 1.318 5.175 0 3.979-2.156 7.456-5.363 9.325l3.295-9.527c.615-1.54.82-2.771.82-3.864 0-.405-.026-.78-.07-1.11m-7.981.105c.647-.03 1.232-.105 1.232-.105.582-.075.514-.93-.067-.899 0 0-1.755.135-2.88.135-1.064 0-2.85-.15-2.85-.15-.585-.03-.661.855-.075.885 0 0 .54.061 1.125.09l1.68 4.605-2.37 7.08L5.354 6.9c.649-.03 1.234-.1 1.234-.1.585-.075.516-.93-.065-.896 0 0-1.746.138-2.874.138-.2 0-.438-.008-.69-.015C4.911 3.15 8.235 1.215 12 1.215c2.809 0 5.365 1.072 7.286 2.833-.046-.003-.091-.009-.141-.009-1.06 0-1.812.923-1.812 1.914 0 .89.513 1.643 1.06 2.531.411.72.89 1.643.89 2.977 0 .915-.354 1.994-.821 3.479l-1.075 3.585-3.9-11.61.001.014zM12 22.784c-1.059 0-2.081-.153-3.048-.437l3.237-9.406 3.315 9.087c.024.053.05.101.078.149-1.12.393-2.325.609-3.582.609M1.211 12c0-1.564.336-3.05.935-4.39L7.29 21.709C3.694 19.96 1.212 16.271 1.211 12M12 0C5.385 0 0 5.385 0 12s5.385 12 12 12 12-5.385 12-12S18.615 0 12 0"})))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":ke("Email","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-email-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-email-"+this.props.clientId},ke("Email","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})))))}}]),n}(wp.element.Component);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var we=function(e){m()(n,e);var t=Le(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}]),n}(wp.element.Component);function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Re=wp.i18n.__,xe=wp.element,De=xe.Component,Ee=xe.Fragment,Ce=wp.blockEditor,Pe=Ce.RichText,je=Ce.AlignmentToolbar,Oe=Ce.BlockControls,He=Ce.MediaUpload,ze=wp.components,Be=ze.Button,Ae=ze.Dashicon,Ne=["image"],Fe=function(e){m()(n,e);var t=Se(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.attributes.clientId&&e.props.attributes.clientId===e.props.clientId||e.props.setAttributes({clientId:e.props.clientId}),e}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.profileName,r=t.profileTitle,o=t.profileContent,i=t.profileAlignment,s=t.profileImgURL,l=t.profileImgID,c=t.profileImgAlt,u=t.profileTextColor,d=e.setAttributes;return[React.createElement(Oe,{key:"controls"},React.createElement(je,{value:i,onChange:function(e){return d({profileAlignment:e})}})),React.createElement(ge,a()({key:"gb-author-profile-inspector-"+this.props.clientId},Te({setAttributes:d},this.props))),React.createElement(ye,a()({key:"gb-author-profile-"+this.props.clientId},this.props),React.createElement(we,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement(He,{buttonProps:{className:"change-image"},onSelect:function(e){return d({profileImgID:e.id,profileImgURL:e.url,profileImgAlt:e.alt})},allowed:Ne,type:"image",value:l,render:function(e){var t=e.open;return React.createElement(Ee,null,React.createElement(Be,{onClick:t},l?React.createElement("img",{className:b()("gb-profile-avatar","gb-change-image","wp-image-"+l),src:s,alt:c}):z.upload),l&&React.createElement(Be,{className:"gb-remove-image",onClick:function(){d({profileImgID:null,profileImgURL:null,profileImgAlt:null})}},React.createElement(Ae,{icon:"dismiss"})))}}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},React.createElement(Pe,{tagName:"h2",placeholder:Re("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,className:"gb-profile-name",style:{color:u},onChange:function(e){return d({profileName:e})}}),React.createElement(Pe,{tagName:"p",placeholder:Re("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,className:"gb-profile-title",style:{color:u},onChange:function(e){return d({profileTitle:e})}}),React.createElement(Pe,{tagName:"div",className:"gb-profile-text",multiline:"p",placeholder:Re("Add profile text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],onChange:function(e){return d({profileContent:e})}}),React.createElement(Me,this.props)))]}}]),n}(De);function Ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var We=wp.element.Component,Ue=wp.blockEditor.RichText,Ve=function(e){m()(n,e);var t=Ie(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileImgAlt,i=e.profileImgID,s=e.profileTextColor;return React.createElement(ye,this.props,a&&i&&React.createElement(we,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:b()("gb-profile-avatar","wp-image-"+i),src:a,alt:o}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(Ue.Content,{tagName:"h2",className:"gb-profile-name",style:{color:s},value:t}),n&&React.createElement(Ue.Content,{tagName:"p",className:"gb-profile-title",style:{color:s},value:n}),r&&React.createElement(Ue.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(Me,this.props)))}}]),n}(We);n(339),n(340);function Je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ge=function(e){m()(n,e);var t=Je(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileAlignment,n=e.profileImgURL,r=e.profileFontSize,a=e.profileBackgroundColor,o=e.profileTextColor,i=e.profileAvatarShape;return React.createElement("div",{style:{backgroundColor:a,color:o},className:b()(this.props.className,t,i,{"gb-has-avatar":n},"gb-font-size-"+r,"gb-block-profile","gb-profile-columns")},this.props.children)}}]),n}(wp.element.Component);function qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var $e=wp.i18n.__,Ke=function(e){m()(n,e);var t=qe(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer"},$e("Website","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fas fa-link"}))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer"},$e("Twitter","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-twitter"}))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer"},$e("Facebook","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-facebook-f"}))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer"},$e("Instagram","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-instagram"}))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer"},$e("Pinterest","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-pinterest"}))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer"},$e("Google","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-google"}))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer"},$e("YouTube","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-youtube"}))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer"},$e("LinkedIn","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-linkedin"}))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer"},$e("Github","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-github"}))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer"},$e("WordPress","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-wordpress-simple"}))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer"},$e("Email","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"far fa-envelope"}))))}}]),n}(wp.element.Component);function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ze=function(e){m()(n,e);var t=Qe(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}]),n}(wp.element.Component);function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var et=wp.element.Component,tt=wp.blockEditor.RichText,nt={attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},save:function(e){m()(n,e);var t=Xe(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileImgAlt,i=e.profileImgID,s=e.profileTextColor;return React.createElement(Ge,this.props,a&&React.createElement(Ze,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:b()("gb-profile-avatar","wp-image-"+i),src:a,alt:o}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(tt.Content,{tagName:"h2",className:"gb-profile-name",style:{color:s},value:t}),n&&React.createElement(tt.Content,{tagName:"p",className:"gb-profile-title",style:{color:s},value:n}),r&&React.createElement(tt.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(Ke,this.props)))}}]),n}(et)};function rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var at=wp.element.Component,ot=wp.blockEditor.RichText,it=[nt,{attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},website:{type:"url"}},save:function(e){m()(n,e);var t=rt(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileTextColor;return React.createElement(ye,this.props,a&&React.createElement(we,this.props,React.createElement("div",{className:"gb-profile-image-square"},React.createElement("img",{className:"gb-profile-avatar",src:a,alt:"avatar"}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(ot.Content,{tagName:"h2",className:"gb-profile-name",style:{color:o},value:t}),n&&React.createElement(ot.Content,{tagName:"p",className:"gb-profile-title",style:{color:o},value:n}),r&&React.createElement(ot.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(Me,this.props)))}}]),n}(at)}],st=wp.i18n.__;function lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-profile-box",{title:st("Profile Box","genesis-blocks"),description:st("Add a profile box with bio info and social media links.","genesis-blocks"),icon:"admin-users",category:"genesis-blocks",keywords:[st("author","genesis-blocks"),st("profile","genesis-blocks"),st("atomic","genesis-blocks"),st("genesis","genesis-blocks")],attributes:{clientId:{type:"string",default:""},profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},gb_settings_data:{gb_author_profile_profileFontSize:{title:st("Font Size","genesis-blocks")},gb_author_profile_profileAvatarShape:{title:st("Avatar Shape","genesis-blocks")},gb_author_profile_profileBackgroundColor:{title:st("Background Color","genesis-blocks")},gb_author_profile_profileTextColor:{title:st("Text Color","genesis-blocks")},gb_author_profile_profileLinkColor:{title:st("Social Link Color","genesis-blocks")},gb_author_profile_socialLinks:{title:st("Social Links","genesis-blocks")}},edit:function(e){return React.createElement(Fe,a()({},e,{clientId:e.clientId}))},save:function(e){return React.createElement(Ve,a()({},e,{clientId:e.attributes.clientId}))},deprecated:it});var ct=wp.i18n.__,ut=wp.element.Component,dt=wp.blockEditor,mt=dt.PanelColorSettings,pt=dt.InspectorControls,ft=wp.components,ht=ft.PanelBody,_t=ft.RangeControl,gt=ft.SelectControl,bt=function(e){m()(n,e);var t=lt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:null,label:ct("Always Show","genesis-blocks")},{value:"gb-dismissable",label:ct("Dismissible","genesis-blocks")}],n=this.props.attributes,r=n.noticeBackgroundColor,a=n.noticeTextColor,o=n.noticeTitleColor,i=n.noticeFontSize,s=n.noticeDismiss,l=this.props.setAttributes;return React.createElement(pt,{key:"inspector"},React.createElement(ht,null,React.createElement(M,{id:"gb_notice_noticeFontSize"},React.createElement(_t,{label:ct("Font Size","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({noticeFontSize:t})},min:14,max:24,step:1})),React.createElement(M,{id:"gb_notice_noticeDismiss"},React.createElement(gt,{label:ct("Notice Display","genesis-blocks"),description:ct("Do you want the message to always show or dismissible?","genesis-blocks"),options:t,value:s,onChange:function(t){return e.props.setAttributes({noticeDismiss:t})}}))),React.createElement(M,{id:"gb_notice_colorSettings"},React.createElement(mt,{title:ct("Notice Color","genesis-blocks"),colorValue:r,initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return l({noticeBackgroundColor:e})},colors:[{color:"#00d1b2",name:"teal"},{color:"#3373dc",name:"royal blue"},{color:"#209cef",name:"sky blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"},{color:"#392F43",name:"black"}],label:ct("Notice Color","genesis-blocks")}]}),React.createElement(mt,{title:ct("Title Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return l({noticeTitleColor:e})},label:ct("Title Color","genesis-blocks")}]}),React.createElement(mt,{title:ct("Text Color","genesis-blocks"),colorValue:a,initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({noticeTextColor:e})},label:ct("Text Color","genesis-blocks")}]})))}}]),n}(ut),yt=n(199),vt=n.n(yt);function kt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Mt=function(e){m()(n,e);var t=kt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.noticeTitle,r=t.noticeAlignment,a=t.noticeBackgroundColor,o=t.noticeTextColor,i=t.noticeFontSize,s=t.noticeDismiss,l=(e=s+n,vt()(e).substr(0,6));return React.createElement("div",{style:{color:o,textAlign:r,backgroundColor:a},className:b()(this.props.className,s,"gb-font-size-"+i,"gb-block-notice"),"data-id":l},this.props.children)}}]),n}(wp.element.Component);function Lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var wt=function(e){m()(n,e);var t=Lt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes.noticeTitleColor;return React.createElement("div",{className:"gb-notice-dismiss",style:{fill:e,color:e}},this.props.children)}}]),n}(wp.element.Component),Yt={};Yt.upload=React.createElement("svg",{width:"20px",height:"20px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"})),Yt.dismiss=React.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},React.createElement("path",{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zM15 13l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"}));var Tt=Yt;n(341),n(342);function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Dt=wp.i18n.__,Et=wp.element.Component,Ct=wp.blocks.registerBlockType,Pt=wp.blockEditor,jt=Pt.RichText,Ot=Pt.AlignmentToolbar,Ht=Pt.BlockControls,zt=function(e){m()(n,e);var t=xt(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.noticeTitle,r=t.noticeContent,o=t.noticeAlignment,i=t.noticeBackgroundColor,s=t.noticeTitleColor,l=t.noticeDismiss,c=e.setAttributes;return[React.createElement(Ht,{key:"controls"},React.createElement(Ot,{value:o,onChange:function(e){return c({noticeAlignment:e})}})),React.createElement(bt,a()({key:"gb-notice-inspector-"+this.props.clientId},Rt({setAttributes:c},this.props))),React.createElement(Mt,a()({key:"gb-notice-noticebox-"+this.props.clientId},this.props),l&&"gb-dismissable"===l&&React.createElement(wt,this.props,Tt.dismiss),React.createElement(jt,{tagName:"p",placeholder:Dt("Notice Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,className:b()("gb-notice-title"),style:{color:s},onChange:function(e){return c({noticeTitle:e})}}),React.createElement(jt,{tagName:"div",multiline:"p",placeholder:Dt("Add notice text…","genesis-blocks"),value:r,className:b()("gb-notice-text"),style:{borderColor:i},onChange:function(e){return c({noticeContent:e})}}))]}}]),n}(Et);function Bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}Ct("genesis-blocks/gb-notice",{title:Dt("Notice","genesis-blocks"),description:Dt("Add a stylized text notice.","genesis-blocks"),icon:"format-aside",category:"genesis-blocks",keywords:[Dt("notice","genesis-blocks"),Dt("message","genesis-blocks"),Dt("atomic","genesis-blocks")],attributes:{noticeTitle:{type:"string",selector:".gb-notice-title"},noticeContent:{type:"array",selector:".gb-notice-text",source:"children"},noticeAlignment:{type:"string"},noticeBackgroundColor:{type:"string",default:"#00d1b2"},noticeTextColor:{type:"string",default:"#32373c"},noticeTitleColor:{type:"string",default:"#fff"},noticeFontSize:{type:"number",default:18},noticeDismiss:{type:"string",default:""}},gb_settings_data:{gb_notice_noticeFontSize:{title:Dt("Font Size","genesis-blocks")},gb_notice_noticeDismiss:{title:Dt("Notice Display","genesis-blocks")},gb_notice_colorSettings:{title:Dt("Notice Color","genesis-blocks")}},edit:zt,save:function(e){var t=e.attributes,n=t.noticeTitle,r=t.noticeContent,a=t.noticeBackgroundColor,o=t.noticeTitleColor,i=t.noticeDismiss;return React.createElement(Mt,e,i&&"gb-dismissable"===i&&React.createElement(wt,e,Tt.dismiss),n&&React.createElement("div",{className:"gb-notice-title",style:{color:o}},React.createElement(jt.Content,{tagName:"p",value:n})),r&&React.createElement(jt.Content,{tagName:"div",className:"gb-notice-text",style:{borderColor:a},value:r}))}});var At=wp.i18n.__,Nt=wp.element.Component,Ft=wp.blockEditor.InspectorControls,It=wp.components,Wt=It.RangeControl,Ut=It.SelectControl,Vt=It.PanelBody,Jt=function(e){m()(n,e);var t=Bt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.dropCapFontSize,r=t.dropCapStyle,a=[{value:"gb-drop-cap-letter",label:At("Letter","genesis-blocks")},{value:"gb-drop-cap-square",label:At("Square","genesis-blocks")},{value:"gb-drop-cap-border",label:At("Border","genesis-blocks")}];return React.createElement(Ft,{key:"inspector"},React.createElement(Vt,null,React.createElement(M,{id:"gb_dropcap_dropCapFontSize"},React.createElement(Wt,{label:At("Drop Cap Size","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({dropCapFontSize:t})},min:1,max:6,step:1})),React.createElement(M,{id:"gb_dropcap_dropCapStyle"},React.createElement(Ut,{label:At("Drop Cap Style","genesis-blocks"),description:At("Choose the style of the drop cap in your paragraph","genesis-blocks"),options:a,value:r,onChange:function(t){return e.props.setAttributes({dropCapStyle:t})}}))))}}]),n}(Nt);function Gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var qt=function(e){m()(n,e);var t=Gt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.dropCapAlignment,n=e.dropCapTextColor,r=e.dropCapFontSize,a=e.dropCapStyle;return React.createElement("div",{style:{color:n,textAlign:t},className:b()(this.props.className,a,"gb-font-size-"+r,"gb-block-drop-cap")},this.props.children)}}]),n}(wp.element.Component);n(343),n(344);function $t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Kt=wp.i18n.__,Qt=wp.element.Component,Zt=wp.blocks.registerBlockType,Xt=wp.blockEditor,en=Xt.RichText,tn=Xt.AlignmentToolbar,nn=Xt.BlockControls,rn=function(e){m()(n,e);var t=$t(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.dropCapContent,r=t.dropCapAlignment,o=t.dropCapFontSize;return[React.createElement(nn,{key:"controls"},React.createElement(tn,{value:r,onChange:function(t){return e.props.setAttributes({dropCapAlignment:t})}})),React.createElement(Jt,a()({key:"gb-drop-cap-inspector-"+this.props.clientId},this.props)),React.createElement(qt,a()({key:"gb-drop-cap-"+this.props.clientId},this.props),React.createElement(en,{tagName:"div",multiline:"p",placeholder:Kt("Add paragraph text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:b()("gb-drop-cap-text","gb-font-size-"+o),onChange:function(t){return e.props.setAttributes({dropCapContent:t})}}))]}}]),n}(Qt);Zt("genesis-blocks/gb-drop-cap",{title:Kt("Drop Cap","genesis-blocks"),description:Kt("Add a styled drop cap to the beginning of your paragraph.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[Kt("drop cap","genesis-blocks"),Kt("quote","genesis-blocks"),Kt("genesis","genesis-blocks")],attributes:{dropCapContent:{type:"array",selector:".gb-drop-cap-text",source:"children"},dropCapAlignment:{type:"string"},dropCapBackgroundColor:{type:"string",default:"#f2f2f2"},dropCapTextColor:{type:"string",default:"#32373c"},dropCapFontSize:{type:"number",default:3},dropCapStyle:{type:"string",default:"drop-cap-letter"}},gb_settings_data:{gb_dropcap_dropCapFontSize:{title:Kt("Drop Cap Size","genesis-blocks")},gb_dropcap_dropCapStyle:{title:Kt("Drop Cap Style","genesis-blocks")}},edit:rn,save:function(e){var t=e.attributes.dropCapContent;return React.createElement(qt,e,t&&React.createElement(en.Content,{tagName:"div",className:"gb-drop-cap-text",value:t}))}});var an=wp.i18n.__,on=wp.element.Fragment,sn=wp.components,ln=sn.SelectControl,cn=sn.ToggleControl,un=wp.blockEditor.PanelColorSettings;function dn(e){var t=e.enableButtonBackgroundColor,n=e.buttonBackgroundColor,r=e.onChangeButtonColor,a=void 0===r?function(){}:r,o=e.enableButtonTextColor,i=e.buttonTextColor,s=e.onChangeButtonTextColor,l=void 0===s?function(){}:s,c=e.enableButtonSize,u=e.buttonSize,d=e.onChangeButtonSize,m=void 0===d?function(){}:d,p=e.enableButtonShape,f=e.buttonShape,h=e.onChangeButtonShape,_=void 0===h?function(){}:h,g=e.enableButtonTarget,b=e.buttonTarget,y=e.onChangeButtonTarget,v=void 0===y?function(){}:y,k=[{value:"gb-button-size-small",label:an("Small","genesis-blocks")},{value:"gb-button-size-medium",label:an("Medium","genesis-blocks")},{value:"gb-button-size-large",label:an("Large","genesis-blocks")},{value:"gb-button-size-extralarge",label:an("Extra Large","genesis-blocks")}],L=[{value:"gb-button-shape-square",label:an("Square","genesis-blocks")},{value:"gb-button-shape-rounded",label:an("Rounded Square","genesis-blocks")},{value:"gb-button-shape-circular",label:an("Circular","genesis-blocks")}];return React.createElement(on,null,React.createElement(M,{id:"gb_button_buttonOptions"},!1!==g&&React.createElement(cn,{label:an("Open link in new window","genesis-blocks"),checked:b,onChange:v}),!1!==c&&React.createElement(ln,{selected:u,label:an("Button Size","genesis-blocks"),value:u,options:k.map((function(e){return{value:e.value,label:e.label}})),onChange:m}),!1!==p&&React.createElement(ln,{label:an("Button Shape","genesis-blocks"),value:f,options:L.map((function(e){return{value:e.value,label:e.label}})),onChange:_}),!1!==t&&React.createElement(un,{title:an("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:a,label:an("Button Color","genesis-blocks")}]}),!1!==o&&React.createElement(un,{title:an("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:l,label:an("Button Text Color","genesis-blocks")}]})))}function mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}wp.i18n.__;var pn=wp.element.Component,fn=wp.blockEditor.InspectorControls,hn=wp.components.PanelBody,_n=function(e){m()(n,e);var t=mn(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonBackgroundColor,n=e.buttonTextColor,r=e.buttonSize,a=e.buttonShape,o=e.buttonTarget,i=this.props.setAttributes;return React.createElement(fn,{key:"inspector"},React.createElement(hn,null,React.createElement(dn,{buttonTarget:o,onChangeButtonTarget:function(e){return i({buttonTarget:!o})},buttonSize:r,onChangeButtonSize:function(e){return i({buttonSize:e})},buttonShape:a,onChangeButtonShape:function(e){return i({buttonShape:e})},buttonBackgroundColor:t,onChangeButtonColor:function(e){return i({buttonBackgroundColor:e})},buttonTextColor:n,onChangeButtonTextColor:function(e){return i({buttonTextColor:e})}})))}}]),n}(pn);function gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var bn=function(e){m()(n,e);var t=gn(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{style:{textAlign:this.props.attributes.buttonAlignment},className:b()(this.props.className,"gb-block-button")},this.props.children)}}]),n}(wp.element.Component);n(345),n(346);function yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var vn=wp.i18n.__,kn=wp.element.Component,Mn=wp.blocks.registerBlockType,Ln=wp.blockEditor,wn=Ln.RichText,Yn=Ln.AlignmentToolbar,Tn=Ln.BlockControls,Sn=Ln.URLInput,Rn=wp.components,xn=Rn.Button,Dn=Rn.Dashicon,En=Rn.Icon,Cn=function(e){m()(n,e);var t=yn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,i=t.buttonBackgroundColor,s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=e.isSelected,d=e.setAttributes;return[React.createElement(Tn,{key:"controls"},React.createElement(Yn,{value:o,onChange:function(e){d({buttonAlignment:e})}})),React.createElement(_n,a()({key:"gb-button-inspector-"+this.props.clientId},this.props)),React.createElement(bn,a()({key:"gb-button-custombutton-"+this.props.clientId},this.props),React.createElement(wn,{tagName:"span",placeholder:vn("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:[],className:b()("gb-button",c,l),style:{color:s||"#ffffff",backgroundColor:i||"#3373dc"},onChange:function(e){return d({buttonText:e})}})),u&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o}},React.createElement(Dn,{icon:"admin-links"}),React.createElement(Sn,{className:"button-url",value:r,onChange:function(e){return d({buttonUrl:e})}}),React.createElement(xn,{label:vn("Apply","genesis-blocks"),type:"submit"},React.createElement(En,{icon:"editor-break"})))]}}]),n}(kn);function Pn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}Mn("genesis-blocks/gb-button",{title:vn("Button","genesis-blocks"),description:vn("Add a customizable button.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[vn("button","genesis-blocks"),vn("link","genesis-blocks"),vn("genesis","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1}},gb_settings_data:{gb_button_buttonOptions:{title:vn("Button Options","genesis-blocks")}},edit:Cn,save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=t.buttonBackgroundColor,o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget;return React.createElement(bn,e,n&&React.createElement("a",{href:r,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o||"#ffffff",backgroundColor:a||"#3373dc"}},React.createElement(wn.Content,{value:n})))}});var jn=wp.i18n.__,On=wp.element,Hn=On.Component,zn=On.Fragment,Bn=wp.blockEditor,An=Bn.InspectorControls,Nn=Bn.PanelColorSettings,Fn=wp.components,In=Fn.PanelBody,Wn=Fn.RangeControl,Un=Fn.ToggleControl,Vn=Fn.SelectControl,Jn=function(e){m()(n,e);var t=Pn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.spacerHeight,a=n.spacerDivider,o=n.spacerDividerStyle,i=n.spacerDividerColor,s=n.spacerDividerHeight,l=t.setAttributes,c=[{value:"gb-divider-solid",label:jn("Solid","genesis-blocks")},{value:"gb-divider-dashed",label:jn("Dashed","genesis-blocks")},{value:"gb-divider-dotted",label:jn("Dotted","genesis-blocks")}];return React.createElement(An,{key:"inspector"},React.createElement(In,null,React.createElement(M,{id:"gb_spacer_spacerHeight"},React.createElement(Wn,{label:jn("Spacer Height","genesis-blocks"),value:r||"",onChange:function(t){return e.props.setAttributes({spacerHeight:t})},min:30,max:600})),React.createElement(M,{id:"gb_spacer_spacerDivider"},React.createElement(Un,{label:jn("Add Divider","genesis-blocks"),checked:a,onChange:function(){return e.props.setAttributes({spacerDivider:!a})}}))),a?React.createElement(zn,null,React.createElement(In,null,React.createElement(M,{id:"gb_spacer_spacerDividerStyle"},React.createElement(Vn,{label:jn("Divider Style","genesis-blocks"),value:o,options:c.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({spacerDividerStyle:t})}})),React.createElement(M,{id:"gb_spacer_spacerDividerHeight"},React.createElement(Wn,{label:jn("Divider Height","genesis-blocks"),value:s||"",onChange:function(t){return e.props.setAttributes({spacerDividerHeight:t})},min:1,max:5}))),React.createElement(M,{id:"gb_spacer_dividerColor"},React.createElement(Nn,{title:jn("Divider Color","genesis-blocks"),initialOpen:!1,colorSettings:[{colors:[{color:"#ddd",name:"white"},{color:"#333",name:"black"},{color:"#3373dc",name:"royal blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"}],value:i,onChange:function(e){return l({spacerDividerColor:e})},label:jn("Divider Color","genesis-blocks")}]}))):null)}}]),n}(Hn);function Gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var qn,$n=function(e){m()(n,e);var t=Gn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.spacerDivider,n=e.spacerDividerStyle,r=e.spacerDividerColor,a=e.spacerDividerHeight;return React.createElement("div",{style:{color:r},className:b()(this.props.className,"gb-block-spacer",n,{"gb-spacer-divider":t},"gb-divider-size-"+a)},this.props.children)}}]),n}(wp.element.Component),Kn=n(10),Qn=n.n(Kn),Zn=n(200),Xn=(qn=function(e,t){return(qn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}qn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),er=function(){return(er=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},tr={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},nr={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},rr={width:"20px",height:"20px",position:"absolute"},ar={top:er(er({},tr),{top:"-5px"}),right:er(er({},nr),{left:void 0,right:"-5px"}),bottom:er(er({},tr),{top:void 0,bottom:"-5px"}),left:er(er({},nr),{left:"-5px"}),topRight:er(er({},rr),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:er(er({},rr),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:er(er({},rr),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:er(er({},rr),{left:"-10px",top:"-10px",cursor:"nw-resize"})},or=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return Xn(t,e),t.prototype.render=function(){return Kn.createElement("div",{className:this.props.className||"",style:er(er({position:"absolute",userSelect:"none"},ar[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(Kn.PureComponent),ir=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),sr=function(){return(sr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},lr={width:"auto",height:"auto"},cr=function(e,t,n){return Math.max(Math.min(e,n),t)},ur=function(e,t){return Math.round(e/t)*t},dr=function(e,t){return new RegExp(e,"i").test(t)},mr=function(e){return Boolean(e.touches&&e.touches.length)},pr=function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,a){return Math.abs(r-e)<Math.abs(t[n]-e)?a:n}),0),a=Math.abs(t[r]-e);return 0===n||a<n?t[r]:e},fr=function(e){return"auto"===(e=e.toString())||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:e+"px"},hr=function(e,t,n,r){if(e&&"string"==typeof e){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%"))return t*(Number(e.replace("%",""))/100);if(e.endsWith("vw"))return n*(Number(e.replace("vw",""))/100);if(e.endsWith("vh"))return r*(Number(e.replace("vh",""))/100)}return e},_r=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],gr=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0 0 100%",t.classList?t.classList.add("__resizable_base__"):t.className+="__resizable_base__",e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;t&&t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return ir(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||lr},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,a=this.resizable.style.position;"relative"!==a&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=a}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&e.propsSize[t].toString().endsWith("%")){if(e.state[t].toString().endsWith("%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return fr(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?fr(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?fr(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%",e.style.minHeight="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,a=this.props.boundsByDirection,o=this.state.direction,i=a&&dr("left",o),s=a&&dr("top",o);if("parent"===this.props.bounds){var l=this.parentNode;l&&(n=i?this.resizableRight-this.parentLeft:l.offsetWidth+(this.parentLeft-this.resizableLeft),r=s?this.resizableBottom-this.parentTop:l.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=i?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=i?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,a=this.state,o=a.direction,i=a.original,s=this.props,l=s.lockAspectRatio,c=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=i.width,m=i.height,p=c||0,f=u||0;return dr("right",o)&&(d=i.width+(e-i.x)*r/n,l&&(m=(d-f)/this.ratio+p)),dr("left",o)&&(d=i.width-(e-i.x)*r/n,l&&(m=(d-f)/this.ratio+p)),dr("bottom",o)&&(m=i.height+(t-i.y)*r/n,l&&(d=(m-p)*this.ratio+f)),dr("top",o)&&(m=i.height-(t-i.y)*r/n,l&&(d=(m-p)*this.ratio+f)),{newWidth:d,newHeight:m}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var a=this.props,o=a.lockAspectRatio,i=a.lockAspectRatioExtraHeight,s=a.lockAspectRatioExtraWidth,l=void 0===r.width?10:r.width,c=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,m=i||0,p=s||0;if(o){var f=(u-m)*this.ratio+p,h=(d-m)*this.ratio+p,_=(l-p)/this.ratio+m,g=(c-p)/this.ratio+m,b=Math.max(l,f),y=Math.min(c,h),v=Math.max(u,_),k=Math.min(d,g);e=cr(e,b,y),t=cr(t,v,k)}else e=cr(e,l,c),t=cr(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),a=r.left,o=r.top,i=r.right,s=r.bottom;this.resizableLeft=a,this.resizableRight=i,this.resizableTop=o,this.resizableBottom=s}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,a=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(r=e.nativeEvent.clientX,a=e.nativeEvent.clientY):e.nativeEvent&&mr(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,a=e.nativeEvent.touches[0].clientY),this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var o=this.window.getComputedStyle(this.resizable);if("auto"!==o.flexBasis){var i=this.parentNode;if(i){var s=this.window.getComputedStyle(i).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=o.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:r,y:a,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:sr(sr({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(l)}},t.prototype.onMouseMove=function(e){var t=this;if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&mr(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var n=this.props,r=n.maxWidth,a=n.maxHeight,o=n.minWidth,i=n.minHeight,s=mr(e)?e.touches[0].clientX:e.clientX,l=mr(e)?e.touches[0].clientY:e.clientY,c=this.state,u=c.direction,d=c.original,m=c.width,p=c.height,f=this.getParentSize(),h=function(e,t,n,r,a,o,i){return r=hr(r,e.width,t,n),a=hr(a,e.height,t,n),o=hr(o,e.width,t,n),i=hr(i,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===a?void 0:Number(a),minWidth:void 0===o?void 0:Number(o),minHeight:void 0===i?void 0:Number(i)}}(f,this.window.innerWidth,this.window.innerHeight,r,a,o,i);r=h.maxWidth,a=h.maxHeight,o=h.minWidth,i=h.minHeight;var _=this.calculateNewSizeFromDirection(s,l),g=_.newHeight,b=_.newWidth,y=this.calculateNewMaxFromBoundary(r,a);this.props.snap&&this.props.snap.x&&(b=pr(b,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(g=pr(g,this.props.snap.y,this.props.snapGap));var v=this.calculateNewSizeFromAspectRatio(b,g,{width:y.maxWidth,height:y.maxHeight},{width:o,height:i});if(b=v.newWidth,g=v.newHeight,this.props.grid){var k=ur(b,this.props.grid[0]),M=ur(g,this.props.grid[1]),L=this.props.snapGap||0;b=0===L||Math.abs(k-b)<=L?k:b,g=0===L||Math.abs(M-g)<=L?M:g}var w={width:b-d.width,height:g-d.height};if(m&&"string"==typeof m)if(m.endsWith("%"))b=b/f.width*100+"%";else if(m.endsWith("vw")){b=b/this.window.innerWidth*100+"vw"}else if(m.endsWith("vh")){b=b/this.window.innerHeight*100+"vh"}if(p&&"string"==typeof p)if(p.endsWith("%"))g=g/f.height*100+"%";else if(p.endsWith("vw")){g=g/this.window.innerWidth*100+"vw"}else if(p.endsWith("vh")){g=g/this.window.innerHeight*100+"vh"}var Y={width:this.createSizeForCssProperty(b,"width"),height:this.createSizeForCssProperty(g,"height")};"row"===this.flexDir?Y.flexBasis=Y.width:"column"===this.flexDir&&(Y.flexBasis=Y.height),Object(Zn.flushSync)((function(){t.setState(Y)})),this.props.onResize&&this.props.onResize(e,u,this.resizable,w)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,a=t.original;if(n&&this.resizable){var o={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,o),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:sr(sr({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,a=t.handleClasses,o=t.handleWrapperStyle,i=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var l=Object.keys(n).map((function(t){return!1!==n[t]?Kn.createElement(or,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:a&&a[t]},s&&s[t]?s[t]:null):null}));return Kn.createElement("div",{className:i,style:o},l)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==_r.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=sr(sr(sr({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return Kn.createElement(r,sr({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&Kn.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(Kn.PureComponent);n(347),n(348);function br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var yr=wp.i18n.__,vr=wp.element.Component,kr=wp.blocks.registerBlockType,Mr=function(e){m()(n,e);var t=br(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.spacerHeight,r=t.spacerDividerColor,o=e.className,i=e.setAttributes,s=e.toggleSelection;return[React.createElement(Jn,a()({key:"gb-spacer-inspector-"+this.props.clientId},this.props)),React.createElement($n,a()({key:"gb-spacer-editor-"+this.props.clientId},this.props),React.createElement(gr,{className:b()(o,"gb-spacer-handle"),style:{color:r},size:{width:"100%",height:n},minWidth:"100%",maxWidth:"100%",minHeight:"100%",handleClasses:{bottomLeft:"gb-spacer-control__resize-handle"},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!0,topLeft:!1},onResizeStart:function(){s(!1)},onResizeStop:function(e,t,r,a){i({spacerHeight:parseInt(n+a.height,10)}),s(!0)}}))]}}]),n}(vr);function Lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}kr("genesis-blocks/gb-spacer",{title:yr("Spacer","genesis-blocks"),description:yr("Add a spacer and divider between your blocks.","genesis-blocks"),icon:"image-flip-vertical",category:"genesis-blocks",keywords:[yr("spacer","genesis-blocks"),yr("divider","genesis-blocks"),yr("atomic","genesis-blocks")],attributes:{spacerHeight:{type:"number",default:30},spacerDivider:{type:"boolean",default:!1},spacerDividerStyle:{type:"string",default:"gb-divider-solid"},spacerDividerColor:{type:"string",default:"#ddd"},spacerDividerHeight:{type:"number",default:1}},gb_settings_data:{gb_spacer_spacerHeight:{title:yr("Spacer Height","genesis-blocks")},gb_spacer_spacerDivider:{title:yr("Add Divider","genesis-blocks")},gb_spacer_spacerDividerStyle:{title:yr("Divider Style","genesis-blocks")},gb_spacer_spacerDividerHeight:{title:yr("Divider Height","genesis-blocks")},gb_spacer_dividerColor:{title:yr("Divider Color","genesis-blocks")}},edit:Mr,save:function(e){var t=e.attributes.spacerHeight;return React.createElement($n,e,React.createElement("hr",{style:{height:t?t+"px":void 0}}))}});var wr=wp.i18n.__,Yr=wp.element.Component,Tr=wp.blockEditor.InspectorControls,Sr=wp.components,Rr=Sr.PanelBody,xr=Sr.RangeControl,Dr=Sr.ToggleControl,Er=function(e){m()(n,e);var t=Lr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return React.createElement(Tr,{key:"inspector"},React.createElement(Rr,null,React.createElement(M,{id:"gb_accordion_accordionFontSize"},React.createElement(xr,{label:wr("Title Font Size","genesis-blocks"),value:this.props.attributes.accordionFontSize,onChange:function(t){return e.props.setAttributes({accordionFontSize:t})},min:14,max:24,step:1})),React.createElement(M,{id:"gb_accordion_accordionOpen"},React.createElement(Dr,{label:wr("Open by default","genesis-blocks"),checked:this.props.attributes.accordionOpen,onChange:function(){return e.props.setAttributes({accordionOpen:!e.props.attributes.accordionOpen})}}))))}}]),n}(Yr);function Cr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Pr=function(e){m()(n,e);var t=Cr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:b()(this.props.className,this.props.attributes.accordionAlignment?"gb-align-"+this.props.attributes.accordionAlignment:void 0,"gb-block-accordion",this.props.attributes.accordionFontSize?"gb-font-size-"+this.props.attributes.accordionFontSize:null)},this.props.children)}}]),n}(wp.element.Component);function jr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Or=wp.i18n.__,Hr=wp.element.Component,zr=wp.blockEditor,Br=zr.RichText,Ar=zr.AlignmentToolbar,Nr=zr.BlockControls,Fr=zr.InnerBlocks,Ir=function(e){m()(n,e);var t=jr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return[React.createElement(Nr,{key:"controls"},React.createElement(Ar,{value:this.props.attributes.accordionAlignment,onChange:function(t){return e.props.setAttributes({accordionAlignment:t})}})),React.createElement(Er,a()({key:"gb-accordion-inspector-"+this.props.clientId},this.props)),React.createElement(Pr,a()({key:"gb-accordion-"+this.props.clientId},this.props),React.createElement(Br,{tagName:"p",placeholder:Or("Accordion Title","genesis-blocks"),value:this.props.attributes.accordionTitle,className:"gb-accordion-title",onChange:function(t){return e.props.setAttributes({accordionTitle:t})}}),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Fr,null)))]}}]),n}(Hr);function Wr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ur=wp.element.Component,Vr=wp.blockEditor,Jr=Vr.RichText,Gr=Vr.InnerBlocks,qr=function(e){m()(n,e);var t=Wr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement(Pr,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Jr.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Gr.Content,null))))}}]),n}(Ur);function $r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Kr=function(e){m()(n,e);var t=$r(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.accordionAlignment,n=e.accordionFontSize;return React.createElement("div",{style:{},className:b()(this.props.className,t,"gb-block-accordion","gb-font-size-"+n)},this.props.children)}}]),n}(wp.element.Component);function Qr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Zr=wp.element.Component,Xr=wp.blockEditor,ea=Xr.RichText,ta=Xr.InnerBlocks,na=function(e){m()(n,e);var t=Qr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement(Kr,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(ea.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(ta.Content,null))))}}]),n}(Zr),ra=[{attributes:{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:18},accordionOpen:{type:"boolean",default:!1}},save:function(e){return React.createElement(na,e)}}],aa=(n(349),n(350),wp.i18n.__),oa=(wp.element.Component,{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:void 0},accordionOpen:{type:"boolean",default:!1}});function ia(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-accordion",{title:aa("Accordion","genesis-blocks"),description:aa("Add accordion block with a title and text.","genesis-blocks"),icon:"editor-ul",category:"genesis-blocks",keywords:[aa("accordion","genesis-blocks"),aa("list","genesis-blocks"),aa("genesis","genesis-blocks")],attributes:oa,gb_settings_data:{gb_accordion_accordionFontSize:{title:aa("Title Font Size","genesis-blocks")},gb_accordion_accordionOpen:{title:aa("Open by default","genesis-blocks")}},edit:function(e){return React.createElement(Ir,e)},save:function(e){return React.createElement(qr,e)},deprecated:ra});var sa=wp.i18n.__,la=wp.element.Component,ca=wp.blockEditor,ua=ca.InspectorControls,da=ca.PanelColorSettings,ma=ca.MediaUpload,pa=wp.components,fa=pa.Button,ha=pa.Icon,_a=pa.PanelBody,ga=pa.RangeControl,ba=pa.SelectControl,ya=pa.ToggleControl,va=function(e){m()(n,e);var t=ia(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.buttonBackgroundColor,r=t.buttonTextColor,a=t.buttonSize,o=t.buttonShape,i=t.buttonTarget,s=t.titleFontSize,l=t.ctaTextFontSize,c=t.ctaBackgroundColor,u=t.ctaTextColor,d=t.dimRatio,m=t.imgURL,p=t.imgID,f=this.props.setAttributes,h=[{value:"gb-button-size-small",label:sa("Small")},{value:"gb-button-size-medium",label:sa("Medium")},{value:"gb-button-size-large",label:sa("Large")},{value:"gb-button-size-extralarge",label:sa("Extra Large")}],_=[{value:"gb-button-shape-square",label:sa("Square")},{value:"gb-button-shape-rounded",label:sa("Rounded Square")},{value:"gb-button-shape-circular",label:sa("Circular")}],g=function(){f({imgID:null,imgURL:null,imgAlt:null})};return React.createElement(ua,{key:"inspector"},React.createElement(M,{id:"gb_cta_textOptions"},React.createElement(_a,{title:sa("Text Options","genesis-blocks"),initialOpen:!0},React.createElement(ga,{label:sa("Title Font Size","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({titleFontSize:t})},min:24,max:60,step:2}),React.createElement(ga,{label:sa("Text Font Size","genesis-blocks"),value:l,onChange:function(t){return e.props.setAttributes({ctaTextFontSize:t})},min:14,max:24,step:2}),React.createElement(da,{title:sa("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:u,onChange:function(e){return f({ctaTextColor:e})},label:sa("Text Color","genesis-blocks")}]}))),React.createElement(M,{id:"gb_cta_backgroundOptions"},React.createElement(_a,{title:sa("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,sa("Select a background image:","genesis-blocks")),React.createElement(ma,{onSelect:function(e){f({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:p,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(fa,{className:"gb-cta-inspector-media",label:sa("Edit image","genesis-blocks"),onClick:t},React.createElement(ha,{icon:"format-image"}),sa("Select Image","genesis-blocks")),m&&!!m.length&&React.createElement(fa,{className:"gb-cta-inspector-media",label:sa("Remove Image","genesis-blocks"),onClick:g},React.createElement(ha,{icon:"dismiss"}),sa("Remove","genesis-blocks")))}}),m&&!!m.length&&React.createElement(ga,{label:sa("Image Opacity","genesis-blocks"),value:d,onChange:function(t){return e.props.setAttributes({dimRatio:t})},min:0,max:100,step:10}),React.createElement(da,{title:sa("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,onChange:function(e){return f({ctaBackgroundColor:e})},label:sa("Overlay Color","genesis-blocks")}]}))),React.createElement(M,{id:"gb_cta_buttonOptions"},React.createElement(_a,{title:sa("Button Options","genesis-blocks"),initialOpen:!1},React.createElement(ya,{label:sa("Open link in new window","genesis-blocks"),checked:i,onChange:function(){return e.props.setAttributes({buttonTarget:!i})}}),React.createElement(ba,{label:sa("Button Size","genesis-blocks"),value:a,options:h.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({buttonSize:t})}}),React.createElement(ba,{label:sa("Button Shape","genesis-blocks"),value:o,options:_.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({buttonShape:t})}}),React.createElement(da,{title:sa("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:function(e){return f({buttonBackgroundColor:e})},label:sa("Button Color","genesis-blocks")}]}),React.createElement(da,{title:sa("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return f({buttonTextColor:e})},label:sa("Button Text Color","genesis-blocks")}]}))))}}]),n}(la);function ka(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ma=function(e){m()(n,e);var t=ka(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=(t.buttonText,t.buttonUrl,t.buttonAlignment),r=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize,t.buttonShape,t.buttonTarget,t.ctaTitle,t.ctaText,t.ctaTitleFontSize,t.ctaTextFontSize),a=t.ctaWidth,o=t.ctaBackgroundColor,s=(t.ctaTextColor,b()([this.props.className,"gb-block-cta"],(e={},i()(e,"gb-font-size-"+r,r),i()(e,"align"+a,a),e))),l={backgroundColor:o||void 0,textAlign:n||void 0};return React.createElement("div",{style:l,className:s||void 0},this.props.children)}}]),n}(wp.element.Component);function La(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var wa=function(e){m()(n,e);var t=La(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=(t.buttonText,t.buttonUrl,t.buttonAlignment),r=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize,t.buttonShape,t.buttonTarget,t.ctaTitle,t.ctaText,t.ctaTitleFontSize,t.ctaTextFontSize),a=t.ctaWidth,o=t.ctaBackgroundColor,s=(t.ctaTextColor,b()([this.props.className,"gb-block-cta"],(e={},i()(e,"gb-font-size-"+r,r),i()(e,"align"+a,a),e))),l={backgroundColor:o||void 0,textAlign:n||void 0};return React.createElement("div",{style:l,className:s||void 0},this.props.children)}}]),n}(wp.element.Component);function Ya(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ta=function(e){m()(n,e);var t=Ya(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=(e.buttonText,e.buttonUrl,e.buttonAlignment),n=(e.buttonBackgroundColor,e.buttonTextColor,e.buttonSize,e.buttonShape,e.buttonTarget,e.ctaTitle,e.ctaText,e.ctaTitleFontSize,e.ctaTextFontSize),r=(e.ctaWidth,e.ctaBackgroundColor),a=(e.ctaTextColor,b()([this.props.className,"gb-block-cta"],i()({},"gb-font-size-"+n,n))),o={backgroundColor:r||void 0,textAlign:t||void 0};return React.createElement("div",{style:o,className:a||void 0},this.props.children)}}]),n}(wp.element.Component);function Sa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ra=function(e){m()(n,e);var t=Sa(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=(e.buttonText,e.buttonUrl,e.buttonAlignment),n=(e.buttonBackgroundColor,e.buttonTextColor,e.buttonSize,e.buttonShape,e.buttonTarget,e.ctaTitle,e.ctaText,e.ctaTitleFontSize,e.ctaTextFontSize),r=e.ctaWidth,a=e.ctaBackgroundColor;e.ctaTextColor;return React.createElement("div",{style:{backgroundColor:a,textAlign:t},className:b()(this.props.className,"align".concat(r),"gb-block-cta","gb-font-size-"+n)},this.props.children)}}]),n}(wp.element.Component);function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Da=wp.blockEditor.RichText,Ea=[{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.titleFontSize,p=(t.ctaTextFontSize,t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),f=t.imgURL,h=(t.imgID,t.imgAlt),_=t.dimRatio;return React.createElement(wa,e,f&&!!f.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ca(_),{"has-background-dim":0!==_}),src:f,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Da.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+m),style:{color:p},value:c}),u&&React.createElement(Da.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+d),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Da.Content,{value:n}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.ctaTextFontSize,p=(t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),f=t.imgURL,h=(t.imgID,t.imgAlt),_=t.dimRatio;return React.createElement(Ta,e,f&&!!f.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ca(_),{"has-background-dim":0!==_}),src:f,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Da.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+d),style:{color:p},value:c}),u&&React.createElement(Da.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+m),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Da.Content,{value:n}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},ctaTitleFontSize:{type:"string",default:"32"},ctaTextFontSize:{type:"string",default:"20"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string",default:"#f2f2f2"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.ctaTextFontSize,p=(t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),f=t.imgURL,h=(t.imgID,t.imgAlt),_=t.dimRatio;return React.createElement(Ra,e,f&&!!f.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ca(_),{"has-background-dim":0!==_}),src:f,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Da.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+d),style:{color:p},value:c}),u&&React.createElement(Da.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+m),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Da.Content,{value:n}))))},migrate:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({titleFontSize:e.ctaTitleFontSize},e)}}];function Ca(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}n(351),n(352);function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ha=wp.i18n.__,za=wp.element.Component,Ba=wp.blocks.registerBlockType,Aa=wp.blockEditor,Na=Aa.AlignmentToolbar,Fa=Aa.URLInput,Ia=Aa.BlockControls,Wa=Aa.BlockAlignmentToolbar,Ua=Aa.RichText,Va=wp.components,Ja=Va.Button,Ga=Va.Dashicon,qa=Va.Icon,$a=function(e){m()(n,e);var t=Oa(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,i=t.buttonBackgroundColor,s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=t.ctaTitle,d=t.ctaText,m=t.titleFontSize,p=t.ctaTextFontSize,f=t.ctaWidth,h=t.ctaTextColor,_=t.imgURL,g=t.imgAlt,y=t.dimRatio,v=e.isSelected,k=e.setAttributes;return[React.createElement(Ia,{key:"gb-cta-block-controls-"+this.props.clientId},React.createElement(Wa,{value:f,onChange:function(e){return k({ctaWidth:e})},controls:["center","wide","full"]}),React.createElement(Na,{value:o,onChange:function(e){k({buttonAlignment:e})}})),React.createElement(va,a()({key:"gb-cta-inspector-"+this.props.clientId},ja({setAttributes:k},this.props))),React.createElement(Ma,a()({key:"gb-cta-"+this.props.clientId},this.props),_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ka(y),{"has-background-dim":0!==y}),src:_,alt:g})),React.createElement("div",{className:"gb-cta-content"},React.createElement(Ua,{tagName:"h2",placeholder:Ha("Call-To-Action Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:u,className:b()("gb-cta-title","gb-font-size-"+m),style:{color:h},onChange:function(e){return k({ctaTitle:e})}}),React.createElement(Ua,{tagName:"div",multiline:"p",placeholder:Ha("Call To Action Text","genesis-blocks"),keepPlaceholderOnFocus:!0,value:d,className:b()("gb-cta-text","gb-font-size-"+p),style:{color:h},onChange:function(e){return k({ctaText:e})}})),React.createElement("div",{className:"gb-cta-button"},React.createElement(Ua,{tagName:"span",placeholder:Ha("Button text…","genesis-blocks"),value:n,allowedFormats:[],className:b()("gb-button",c,l),style:{color:s,backgroundColor:i},onChange:function(e){return k({buttonText:e})}}),v&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o}},React.createElement(Ga,{icon:"admin-links"}),React.createElement(Fa,{className:"button-url",value:r,onChange:function(e){return k({buttonUrl:e})}}),React.createElement(Ja,{label:Ha("Apply","genesis-blocks"),type:"submit"},React.createElement(qa,{icon:"editor-break"})))))]}}]),n}(za);function Ka(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function Qa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}Ba("genesis-blocks/gb-cta",{title:Ha("Call To Action","genesis-blocks"),description:Ha("Add a call to action section with a title, text, and a button.","genesis-blocks"),icon:"megaphone",category:"genesis-blocks",keywords:[Ha("call to action","genesis-blocks"),Ha("cta","genesis-blocks"),Ha("atomic","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},gb_settings_data:{gb_cta_textOptions:{title:Ha("Text Options","genesis-blocks")},gb_cta_backgroundOptions:{title:Ha("Background Options","genesis-blocks")},gb_cta_buttonOptions:{title:Ha("Button Options","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.ctaWidth;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:$a,save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=t.buttonBackgroundColor,o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.titleFontSize,p=t.ctaTextColor,f=t.imgURL,h=t.imgAlt,_=t.dimRatio;return React.createElement(Ma,e,f&&!!f.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ka(_),{"has-background-dim":0!==_}),src:f,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Ua.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+m),style:{color:p},value:c}),u&&React.createElement(Ua.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+d),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:"noopener noreferrer",className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Ua.Content,{value:n}))))},deprecated:Ea});var Za=wp.i18n.__,Xa=wp.element.Component,eo=wp.blockEditor.InspectorControls,to=wp.components,no=to.PanelBody,ro=to.SelectControl,ao=to.ToggleControl,oo=function(e){m()(n,e);var t=Qa(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:"gb-share-icon-text",label:Za("Icon and Text","genesis-blocks")},{value:"gb-share-icon-only",label:Za("Icon Only","genesis-blocks")},{value:"gb-share-text-only",label:Za("Text Only","genesis-blocks")}],n=[{value:"gb-share-shape-square",label:Za("Square","genesis-blocks")},{value:"gb-share-shape-rounded",label:Za("Rounded Square","genesis-blocks")},{value:"gb-share-shape-circular",label:Za("Circular","genesis-blocks")}],r=[{value:"gb-share-size-small",label:Za("Small","genesis-blocks")},{value:"gb-share-size-medium",label:Za("Medium","genesis-blocks")},{value:"gb-share-size-large",label:Za("Large","genesis-blocks")}],a=[{value:"gb-share-color-standard",label:Za("Standard","genesis-blocks")},{value:"gb-share-color-social",label:Za("Social Colors","genesis-blocks")}];return React.createElement(eo,{key:"inspector"},React.createElement(M,{id:"gb_sharing_links"},React.createElement(no,null,React.createElement("p",null,Za("Enable or disable the sharing links you want to output.","genesis-blocks")),React.createElement(ao,{label:Za("Twitter","genesis-blocks"),checked:!!this.props.attributes.twitter,onChange:function(){return e.props.setAttributes({twitter:!e.props.attributes.twitter})}}),React.createElement(ao,{label:Za("Facebook","genesis-blocks"),checked:!!this.props.attributes.facebook,onChange:function(){return e.props.setAttributes({facebook:!e.props.attributes.facebook})}}),React.createElement(ao,{label:Za("Pinterest","genesis-blocks"),checked:!!this.props.attributes.pinterest,onChange:function(){return e.props.setAttributes({pinterest:!e.props.attributes.pinterest})}}),React.createElement(ao,{label:Za("LinkedIn","genesis-blocks"),checked:!!this.props.attributes.linkedin,onChange:function(){return e.props.setAttributes({linkedin:!e.props.attributes.linkedin})}}),React.createElement(ao,{label:Za("Reddit","genesis-blocks"),checked:!!this.props.attributes.reddit,onChange:function(){return e.props.setAttributes({reddit:!e.props.attributes.reddit})}}),React.createElement(ao,{label:Za("Email","genesis-blocks"),checked:!!this.props.attributes.email,onChange:function(){return e.props.setAttributes({email:!e.props.attributes.email})}}))),React.createElement(no,{title:Za("Sharing Button Options","genesis-blocks"),initialOpen:!1},React.createElement(M,{id:"gb_sharing_shareButtonStyle"},React.createElement(ro,{label:Za("Button Style","genesis-blocks"),value:this.props.attributes.shareButtonStyle,options:t.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonStyle:t})}})),React.createElement(M,{id:"gb_sharing_shareButtonShape"},React.createElement(ro,{label:Za("Button Shape","genesis-blocks"),value:this.props.attributes.shareButtonShape,options:n.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonShape:t})}})),React.createElement(M,{id:"gb_sharing_shareButtonSize"},React.createElement(ro,{label:Za("Button Size","genesis-blocks"),value:this.props.attributes.shareButtonSize,options:r.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonSize:t})}})),React.createElement(M,{id:"gb_sharing_shareButtonColor"},React.createElement(ro,{label:Za("Button Color","genesis-blocks"),value:this.props.attributes.shareButtonColor,options:a.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonColor:t})}}))))}}]),n}(Xa);function io(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var so=function(e){m()(n,e);var t=io(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:b()(this.props.className,this.props.attributes.shareButtonStyle,this.props.attributes.shareButtonShape,this.props.attributes.shareButtonSize,this.props.attributes.shareButtonColor,this.props.attributes.shareAlignment?"gb-align-"+this.props.attributes.shareAlignment:void 0,"gb-block-sharing")},this.props.children)}}]),n}(wp.element.Component);function lo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var co=wp.i18n.__,uo=wp.element.Component,mo=wp.blockEditor,po=mo.AlignmentToolbar,fo=mo.BlockControls,ho=function(e){m()(n,e);var t=lo(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.attributes.clientId&&e.props.attributes.clientId===e.props.clientId||e.props.setAttributes({clientId:e.props.clientId}),e}return u()(n,[{key:"render",value:function(){var e=this;return[React.createElement(fo,{key:"controls"},React.createElement(po,{value:this.props.attributes.shareAlignment,onChange:function(t){return e.props.setAttributes({shareAlignment:t})}})),React.createElement(oo,a()({key:"gb-share-inspector-"+this.props.clientId},this.props)),React.createElement(so,a()({key:"gb-share-links-"+this.props.clientId},this.props),React.createElement("ul",{className:"gb-share-list"},this.props.attributes.twitter&&React.createElement("li",null,React.createElement("a",{className:"gb-share-twitter"},React.createElement("svg",{"aria-labelledby":"gb-link-twitter-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-twitter-"+this.props.clientId},co("Visit Twitter account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})),React.createElement("span",{className:"gb-social-text"},co("Share on Twitter","genesis-blocks")))),this.props.attributes.facebook&&React.createElement("li",null,React.createElement("a",{className:"gb-share-facebook"},React.createElement("svg",{"aria-labelledby":"gb-link-facebook-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-facebook-"+this.props.clientId},co("Visit Facebook account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})),React.createElement("span",{className:"gb-social-text"},co("Share on Facebook","genesis-blocks")))),this.props.attributes.pinterest&&React.createElement("li",null,React.createElement("a",{className:"gb-share-pinterest"},React.createElement("svg",{"aria-labelledby":"gb-link-pinterest-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-pinterest-"+this.props.clientId},co("Visit Pinterest account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"})),React.createElement("span",{className:"gb-social-text"},co("Share on Pinterest","genesis-blocks")))),this.props.attributes.linkedin&&React.createElement("li",null,React.createElement("a",{className:"gb-share-linkedin"},React.createElement("svg",{"aria-labelledby":"gb-link-linkedin-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-linkedin-"+this.props.clientId},co("Visit LinkedIn account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})),React.createElement("span",{className:"gb-social-text"},co("Share on LinkedIn","genesis-blocks")))),this.props.attributes.reddit&&React.createElement("li",null,React.createElement("a",{className:"gb-share-reddit"},React.createElement("svg",{"aria-labelledby":"gb-link-reddit-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-reddit-"+this.props.clientId},co("Share on Reddit","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"})),React.createElement("span",{className:"gb-social-text"},co("Share on reddit","genesis-blocks")))),this.props.attributes.email&&React.createElement("li",null,React.createElement("a",{className:"gb-share-email"},React.createElement("svg",{"aria-labelledby":"gb-link-email-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-email-"+this.props.clientId},co("Email","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})),React.createElement("span",{className:"gb-social-text"},co("Share via Email","genesis-blocks"))))))]}}]),n}(uo),_o=(n(353),n(354),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-sharing",{title:_o("Sharing","genesis-blocks"),description:_o("Add sharing buttons to your posts and pages.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[_o("sharing","genesis-blocks"),_o("social","genesis-blocks"),_o("atomic","genesis-blocks")],gb_settings_data:{gb_sharing_links:{title:_o("Sharing Links","genesis-blocks")},gb_sharing_shareButtonStyle:{title:_o("Button Style","genesis-blocks")},gb_sharing_shareButtonShape:{title:_o("Button Shape","genesis-blocks")},gb_sharing_shareButtonSize:{title:_o("Button Size","genesis-blocks")},gb_sharing_shareButtonColor:{title:_o("Button Color","genesis-blocks")}},edit:function(e){return React.createElement(ho,a()({},e,{clientId:e.clientId}))},save:function(){return null}});var go=n(14),bo=n.n(go),yo=n(6),vo=n.n(yo),ko=n(32),Mo=n.n(ko),Lo=n(11),wo=n.n(Lo);function Yo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var To=wp.i18n.__,So=wp.element,Ro=So.Component,xo=(So.Fragment,wp.blockEditor.InspectorControls),Do=wp.components,Eo=Do.PanelBody,Co=Do.QueryControls,Po=Do.RangeControl,jo=Do.SelectControl,Oo=Do.TextControl,Ho=Do.ToggleControl,zo=Do.FormTokenField,Bo=Do.Spinner,Ao=wp.url.addQueryArgs,No=wp.apiFetch,Fo=[],Io=function(e){m()(n,e);var t=Yo(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).state={categoriesList:!1,categoriesTitleToIdRelationships:!1,categoriesIdToTitleRelationships:!1,pagesList:!1,pagesTitleToIdRelationships:!1,pagesIdToTitleRelationships:!1,waitingForApiResponse:!1},e}return u()(n,[{key:"componentDidMount",value:function(){this.stillMounted=!0}},{key:"componentDidUpdate",value:function(){if(this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.categories&&!this.state.categoriesList&&"post"===this.props.attributes.postType&&this.getCategoriesFromServer(!!this.props.attributes.categories&&this.props.attributes.categories,!0),this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.selectedPages.length>0&&!this.state.pagesList&&"page"===this.props.attributes.postType){var e=[];for(var t in this.props.attributes.selectedPages)e.push(this.props.attributes.selectedPages[t].value);this.getPagesFromServer(e||!1,!0)}}},{key:"componentWillUnmount",value:function(){this.stillMounted=!1}},{key:"getCategoriesFromServer",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r){if(t.setState({waitingForApiResponse:!0,categoriesList:!1}),!e||0===e.length)return n||t.setState({waitingForApiResponse:!1}),void r();var a={per_page:99,search:e};n&&(a={per_page:99,include:e}),t.fetchRequest=No({path:Ao("/wp/v2/categories",a)}).then((function(e){var n=t.state.categoriesTitleToIdRelationships?t.state.categoriesTitleToIdRelationships:{},a=t.state.categoriesIdToTitleRelationships?t.state.categoriesIdToTitleRelationships:{};for(var o in e)n[e[o].name+" ("+e[o].slug+")"]=e[o].id,a[e[o].id]=e[o].name+" ("+e[o].slug+")";t.setState({categoriesList:e,categoriesTitleToIdRelationships:n,categoriesIdToTitleRelationships:a,waitingForApiResponse:!1}),r()})).catch((function(){console.log("category request failure: ".concat(error.message)),t.stillMounted&&(t.setState({categoriesList:[],waitingForApiResponse:!1}),r())}))}))}},{key:"getPagesFromServer",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r){if(t.setState({waitingForApiResponse:!0,pagesList:!1}),!e||0===e.length)return n||t.setState({waitingForApiResponse:!1}),void r();var a={per_page:-1,search:e};n&&(a={per_page:-1,include:e}),t.fetchRequest=No({path:Ao("/wp/v2/pages",a)}).then((function(e){var n=t.state.pagesTitleToIdRelationships?t.state.pagesTitleToIdRelationships:{},a=t.state.pagesIdToTitleRelationships?t.state.pagesIdToTitleRelationships:{};for(var o in e)n[e[o].title.rendered+" ("+e[o].slug+")"]=e[o].id,a[e[o].id]=e[o].title.rendered+" ("+e[o].slug+")";t.setState({pagesList:e,pagesTitleToIdRelationships:n,pagesIdToTitleRelationships:a,waitingForApiResponse:!1}),r()})).catch((function(){t.stillMounted&&(t.setState({pagesList:[],waitingForApiResponse:!1}),r())}))}))}},{key:"imageSizeSelect",value:function(){var e=wp.data.select("core/block-editor").getSettings();return Mo()(wo()(e.imageSizes,(function(e){var t=e.name;return{value:e.slug,label:t}})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,a=t.latestPosts,o=n.order,i=n.orderBy,s=this.state,l=s.categoriesList,c=s.categoriesTitleToIdRelationships,u=s.categoriesIdToTitleRelationships,d=s.pagesList,m=s.pagesTitleToIdRelationships,p=s.pagesIdToTitleRelationships,f=[{value:"post",label:To("Post","genesis-blocks")},{value:"page",label:To("Page","genesis-blocks")}],h=[{value:"div",label:To("div","genesis-blocks")},{value:"header",label:To("header","genesis-blocks")},{value:"section",label:To("section","genesis-blocks")},{value:"article",label:To("article","genesis-blocks")},{value:"main",label:To("main","genesis-blocks")},{value:"aside",label:To("aside","genesis-blocks")},{value:"footer",label:To("footer","genesis-blocks")}],_=[{value:"h2",label:To("H2","genesis-blocks")},{value:"h3",label:To("H3","genesis-blocks")},{value:"h4",label:To("H4","genesis-blocks")},{value:"h5",label:To("H5","genesis-blocks")},{value:"h6",label:To("H6","genesis-blocks")}],g=Array.isArray(a)&&a.length,b="post"===n.postType,y={value:"selectimage",label:To("Select image size","genesis-blocks")},v={value:"gb-block-post-grid-landscape",label:To("GB Grid Landscape","genesis-blocks")},k={value:"gb-block-post-grid-square",label:To("GB Grid Square","genesis-blocks")},L=this.imageSizeSelect();L.push(k,v),L.unshift(y);return React.createElement(xo,null,React.createElement(Eo,{title:To("Post and Page Grid Settings","genesis-blocks"),className:b?null:"genesis-blocks-hide-query"},React.createElement(M,{id:"gb_postgrid_postType"},React.createElement(jo,{label:To("Content Type","genesis-blocks"),options:f,value:n.postType,onChange:function(t){return e.props.setAttributes({postType:t})}})),"page"===n.postType&&React.createElement(M,{id:"gb_postgrid_selectedPages"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(zo,{suggestions:Mo()(wo()(d,(function(e){var t=e.title,n=e.slug;return t.rendered+" ("+n+")"}))),label:React.createElement(React.Fragment,null,To("Enter page names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(Bo,null)):null),placeholder:To("Start typing page name…","genesis-blocks"),value:function(){if(!e.props.attributes.selectedPages)return[];var t=[];for(var n in e.props.attributes.selectedPages){var r=e.props.attributes.selectedPages[n].value;p[r]&&t.push(p[e.props.attributes.selectedPages[n].value])}return t}(),onInputChange:function(t){var n="getPagesFromServer";Fo[n]&&(clearTimeout(Fo[n]),Fo[n]=null),Fo[n]=setTimeout((function(){clearTimeout(Fo[n]),e.getPagesFromServer(t)}),500)},onChange:function(e){var t=[];for(var n in e)t.push({value:m[e[n]]});t||(t=void 0),r({selectedPages:t})}})))),"post"===n.postType&&React.createElement(M,{id:"gb_postgrid_categories"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(zo,{suggestions:Mo()(wo()(l,(function(e){return e.name+" ("+e.slug+")"}))),label:React.createElement(React.Fragment,null,To("Enter category names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(Bo,null)):null),placeholder:To("Start typing category name…","genesis-blocks"),value:function(){if(!e.props.attributes.categories)return[];var t=e.props.attributes.categories.split(","),n=[];for(var r in t)u[t[r]]&&n.push(u[t[r]]);return n}(),onInputChange:function(t){var n="getCategoriesFromServer";Fo[n]&&(clearTimeout(Fo[n]),Fo[n]=null),Fo[n]=setTimeout((function(){clearTimeout(Fo[n]),e.getCategoriesFromServer(t)}),500)},onChange:function(e){var t="";for(var n in e)c[e[n]]&&(t=t+c[e[n]]+",");(t=t.replace(/,\s*$/,""))||(t=void 0),r({categories:void 0!==t?t:""})}})))),"post"===n.postType&&React.createElement(React.Fragment,null,React.createElement(M,{id:"gb_postgrid_queryControls"},React.createElement(Co,{order:o,orderBy:i,numberOfItems:n.postsToShow,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}})),React.createElement(M,{id:"gb_postgrid_offset"},React.createElement(Po,{label:To("Number of items to offset","genesis-blocks"),value:n.offset,onChange:function(e){return r({offset:e})},min:0,max:20}))),"grid"===n.postLayout&&React.createElement(M,{id:"gb_postgrid_columns"},React.createElement(Po,{label:To("Columns","genesis-blocks"),value:n.columns,onChange:function(e){return r({columns:e})},min:1,max:g?Math.min(4,a.length):4}))),React.createElement(Eo,{title:To("Post and Page Grid Content","genesis-blocks"),initialOpen:!1},React.createElement(M,{id:"gb_postgrid_displaySectionTitle"},React.createElement(Ho,{label:To("Display Section Title","genesis-blocks"),checked:n.displaySectionTitle,onChange:function(){return e.props.setAttributes({displaySectionTitle:!n.displaySectionTitle})}})),n.displaySectionTitle&&React.createElement(M,{id:"gb_postgrid_sectionTitle"},React.createElement(Oo,{label:To("Section Title","genesis-blocks"),type:"text",value:n.sectionTitle,onChange:function(t){return e.props.setAttributes({sectionTitle:t})}})),React.createElement(M,{id:"gb_postgrid_displayPostImage"},React.createElement(Ho,{label:To("Display Featured Image","genesis-blocks"),checked:n.displayPostImage,onChange:function(){return e.props.setAttributes({displayPostImage:!n.displayPostImage})}})),n.displayPostImage&&React.createElement(M,{id:"gb_postgrid_imageSizeValue"},React.createElement(jo,{label:To("Image Size","genesis-blocks"),value:function(){for(var e=0;e<L.length;e++)if(L[e].value===n.imageSize)return n.imageSize;return"full"}(),options:L,onChange:function(t){return e.props.setAttributes({imageSize:t})}})),React.createElement(M,{id:"gb_postgrid_displayPostTitle"},React.createElement(Ho,{label:To("Display Title","genesis-blocks"),checked:n.displayPostTitle,onChange:function(){return e.props.setAttributes({displayPostTitle:!n.displayPostTitle})}})),b&&React.createElement(M,{id:"gb_postgrid_displayPostAuthor"},React.createElement(Ho,{label:To("Display Author","genesis-blocks"),checked:n.displayPostAuthor,onChange:function(){return e.props.setAttributes({displayPostAuthor:!n.displayPostAuthor})}})),b&&React.createElement(M,{id:"gb_postgrid_displayPostDate"},React.createElement(Ho,{label:To("Display Date","genesis-blocks"),checked:n.displayPostDate,onChange:function(){return e.props.setAttributes({displayPostDate:!n.displayPostDate})}})),React.createElement(M,{id:"gb_postgrid_displayPostExcerpt"},React.createElement(Ho,{label:To("Display Excerpt","genesis-blocks"),checked:n.displayPostExcerpt,onChange:function(){return e.props.setAttributes({displayPostExcerpt:!n.displayPostExcerpt})}})),n.displayPostExcerpt&&React.createElement(M,{id:"gb_postgrid_excerptLength"},React.createElement(Po,{label:To("Excerpt Length","genesis-blocks"),value:n.excerptLength,onChange:function(e){return r({excerptLength:e})},min:0,max:150})),React.createElement(M,{id:"gb_postgrid_displayPostLink"},React.createElement(Ho,{label:To("Display Continue Reading Link","genesis-blocks"),checked:n.displayPostLink,onChange:function(){return e.props.setAttributes({displayPostLink:!n.displayPostLink})}})),n.displayPostLink&&React.createElement(M,{id:"gb_postgrid_readMoreText"},React.createElement(Oo,{label:To("Customize Continue Reading Text","genesis-blocks"),type:"text",value:n.readMoreText,onChange:function(t){return e.props.setAttributes({readMoreText:t})}}))),React.createElement(Eo,{title:To("Post and Page Grid Markup","genesis-blocks"),initialOpen:!1,className:"gb-block-post-grid-markup-settings"},React.createElement(M,{id:"gb_postgrid_sectionTag"},React.createElement(jo,{label:To("Post Grid Section Tag","genesis-blocks"),options:h,value:n.sectionTag,onChange:function(t){return e.props.setAttributes({sectionTag:t})},help:To("Change the post grid section tag to match your content hierarchy.","genesis-blocks")})),n.sectionTitle&&React.createElement(M,{id:"gb_postgrid_sectionTitleTag"},React.createElement(jo,{label:To("Section Title Heading Tag","genesis-blocks"),options:_,value:n.sectionTitleTag,onChange:function(t){return e.props.setAttributes({sectionTitleTag:t})},help:To("Change the post/page section title tag to match your content hierarchy.","genesis-blocks")})),n.displayPostTitle&&React.createElement(M,{id:"gb_postgrid_postTitleTag"},React.createElement(jo,{label:To("Post Title Heading Tag","genesis-blocks"),options:_,value:n.postTitleTag,onChange:function(t){return e.props.setAttributes({postTitleTag:t})},help:To("Change the post/page title tag to match your content hierarchy.","genesis-blocks")}))))}}]),n}(Ro),Wo=n(28),Uo=n.n(Wo);function Vo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Jo=wp.i18n.__,Go=wp.element,qo=Go.Fragment,$o=Go.Component,Ko=wp.components,Qo=Ko.Placeholder,Zo=Ko.Dashicon,Xo=function(e){m()(n,e);var t=Vo(n);function n(e){var r;return l()(this,n),(r=t.apply(this,arguments)).state={imageUrl:"",imageLoaded:!1,setImageUrlSubscription:!1},r}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.imgSize!==e.imgSize&&this.setImageUrl()}},{key:"componentDidMount",value:function(){var e=this;this.setState({setImageUrlSubscription:wp.data.subscribe((function(){e.setImageUrl()}))})}},{key:"componentWillUnmount",value:function(){this.state.setImageUrlSubscription()}},{key:"setImageUrl",value:function(){var e=this.getImageUrl();e||(e=this.getFullImageSize()),e&&this.setState({imageUrl:e,imageLoaded:!0})}},{key:"getImageUrl",value:function(){return Uo()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes",this.props.imgSize,"source_url"])}},{key:"getFullImageSize",value:function(){return Uo()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes","full","source_url"])}},{key:"render",value:function(){return React.createElement(qo,null,React.createElement("div",{className:b()("gb-block-post-grid-image")},React.createElement("a",{href:this.props.imgLink,target:"_blank",rel:"bookmark noopener noreferrer"},React.createElement("img",{src:this.state.imageUrl?this.state.imageUrl:this.props.imgSizeLandscape,alt:this.props.imgAlt,className:this.props.imgClass})),!this.getImageUrl()&&this.state.imageLoaded&&"selectimage"!==this.props.imgSize&&React.createElement(qo,null,React.createElement("div",{className:"gb-post-grid-no-image-icon"},React.createElement(Zo,{icon:"warning"})),React.createElement(Qo,{className:"gb-post-grid-no-image-placeholder"},React.createElement(Zo,{icon:"info"}),React.createElement("div",{className:"components-placeholder__label"},Jo("There is no image generated for the selected image size, so a fallback image size is being used.","genesis-blocks")),React.createElement("div",{className:"gb-post-grid-image-help"},React.createElement("a",{target:"_blank",rel:"noreferrer noopener","aria-label":Jo("Learn more about image sizes (opens in a new tab)","genesis-blocks"),href:"https://github.com/studiopress/genesis-blocks/wiki/Post-Grid-Block#featured-image-sizes"},Jo("Learn more ","genesis-blocks"),React.createElement("span",null,"→")))))))}}]),n}($o);function ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ti(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ni=wp.element,ri=ni.useState,ai=ni.useEffect,oi=wp.i18n.__,ii=wp.htmlEntities.decodeEntities,si=wp.components,li=si.Placeholder,ci=si.Spinner,ui=si.ToolbarGroup,di=wp.blockEditor,mi=di.BlockAlignmentToolbar,pi=di.BlockControls,fi=wp.apiFetch,hi=wp.url.addQueryArgs,_i=[];n(355),n(356);var gi=wp.i18n.__;function bi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-post-grid",{title:gi("Post and Page Grid","genesis-blocks"),description:gi("Add a grid or list of customizable posts or pages.","genesis-blocks"),icon:"grid-view",category:"genesis-blocks",keywords:[gi("post","genesis-blocks"),gi("page","genesis-blocks"),gi("grid","genesis-blocks"),gi("atomic","genesis-blocks")],edit:function(e){var t,n=ri(),r=bo()(n,2),o=r[0],s=r[1],l=ri(e),c=bo()(l,2),u=c[0],d=c[1],m=e.attributes,p=e.setAttributes;if(e.attributes.postType!==u.postType||e.attributes.selectedPages!==u.selectedPages||e.attributes.categories!==u.categories||e.attributes.order!==u.order||e.attributes.orderby!==u.orderby||e.attributes.offset!==u.offset||e.attributes.postsToShow!==u.postsToShow){var f="handleUpdateAttributes";_i[f]&&(clearTimeout(_i[f]),_i[f]=null),_i[f]=setTimeout((function(){clearTimeout(_i[f]),d(e.attributes)}),500)}ai((function(){s(null)}),[u]),ai((function(){o||("post"===e.attributes.postType&&new Promise((function(t){var n={order:e.attributes.order,orderby:e.attributes.orderBy,per_page:e.attributes.postsToShow,offset:e.attributes.offset};if(wp.data.select("core/editor")){var r=wp.data.select("core/editor").getCurrentPostId();r&&(n.exclude=[r])}e.attributes.categories&&(n.categories=e.attributes.categories),fi({path:hi("/wp/v2/posts",n)}).then((function(e){s(e),t()})).catch((function(e){console.log(e)}))})),"page"===e.attributes.postType&&new Promise((function(t){var n=e.attributes.selectedPages&&e.attributes.selectedPages.length>0?e.attributes.selectedPages.map((function(e){return e.value})):null,r={per_page:6},a=wp.data.select("core/editor").getCurrentPostId();a&&(r.exclude=[a]),n&&(delete r.per_page,r.include=n,r.orderby="include"),fi({path:hi("/wp/v2/pages",r)}).then((function(e){s(e),t()})).catch((function(e){console.log(e)}))})))}),[o]);var h=Array.isArray(o)&&o.length,_="post"===m.postType;if(!h)return React.createElement(React.Fragment,null,React.createElement(Io,ti({setAttributes:p},e)),React.createElement(li,{icon:"admin-post",label:oi("Genesis Blocks Post and Page Grid","genesis-blocks")},Array.isArray(o)?oi("No posts found.","genesis-blocks"):React.createElement(ci,null)));var g=[{icon:"grid-view",title:oi("Grid View","genesis-blocks"),onClick:function(){return p({postLayout:"grid"})},isActive:"grid"===m.postLayout},{icon:"list-view",title:oi("List View","genesis-blocks"),onClick:function(){return p({postLayout:"list"})},isActive:"list"===m.postLayout}],y=m.sectionTag?m.sectionTag:"section",v=m.sectionTitleTag?m.sectionTitleTag:"h2",k=m.postTitleTag?m.postTitleTag:"h3";return React.createElement(React.Fragment,null,React.createElement(Io,ti({setAttributes:p},e)),React.createElement(pi,null,React.createElement(mi,{value:m.align,onChange:function(e){p({align:e})},controls:["center","wide","full"]}),React.createElement(ui,{controls:g})),React.createElement(y,{className:b()(e.className,"gb-block-post-grid")},m.displaySectionTitle&&m.sectionTitle&&React.createElement(v,{className:"gb-post-grid-section-title"},m.sectionTitle),React.createElement("div",{className:b()((t={"is-grid":"grid"===m.postLayout,"is-list":"list"===m.postLayout},i()(t,"columns-".concat(m.columns),"grid"===m.postLayout),i()(t,"gb-post-grid-items","gb-post-grid-items"),t))},o.map((function(t,n){return React.createElement("article",{key:n,id:"post-"+t.id,className:b()("post-"+t.id,t.featured_image_src&&m.displayPostImage?"has-post-thumbnail":null)},m.displayPostImage&&t.featured_media?React.createElement(Xo,a()({},e,{imgAlt:ii(t.title.rendered.trim())||oi("(Untitled)","genesis-blocks"),imgClass:"wp-image-".concat(t.featured_media.toString()),imgID:t.featured_media.toString(),imgSize:m.imageSize,imgSizeLandscape:t.featured_image_src,imgSizeSquare:t.featured_image_src_square,imgLink:t.link})):null,React.createElement("div",{className:"gb-block-post-grid-text"},React.createElement("header",{className:"gb-block-post-grid-header"},m.displayPostTitle&&React.createElement(k,{className:"gb-block-post-grid-title"},React.createElement("a",{href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},ii(t.title.rendered.trim())||oi("(Untitled)","genesis-blocks"))),_&&t.author_info&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-byline"},m.displayPostAuthor&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-author"},React.createElement("a",{className:"gb-text-link",target:"_blank",rel:"noopener noreferrer",href:t.author_info.author_link},t.author_info.display_name)),m.displayPostDate&&t.date_gmt&&React.createElement("time",{dateTime:vo()(t.date_gmt).utc().format(),className:"gb-block-post-grid-date"},vo()(t.date_gmt).local().format("MMMM DD, Y","genesis-blocks")))),React.createElement("div",{className:"gb-block-post-grid-excerpt"},m.displayPostExcerpt&&t.excerpt&&React.createElement("div",{dangerouslySetInnerHTML:{__html:(r=t.excerpt.rendered,o=m.excerptLength,r.split(" ").splice(0,o).join(" "))}}),m.displayPostLink&&React.createElement("p",null,React.createElement("a",{className:"gb-block-post-grid-more-link gb-text-link",href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},m.readMoreText)))));var r,o})))))},gb_settings_data:{gb_postgrid_postType:{title:gi("Content Type","genesis-blocks")},gb_postgrid_queryControls:{title:gi("Query Controls","genesis-blocks")},gb_postgrid_offset:{title:gi("Post Offset","genesis-blocks")},gb_postgrid_columns:{title:gi("Columns","genesis-blocks")},gb_postgrid_displaySectionTitle:{title:gi("Display Section Title","genesis-blocks")},gb_postgrid_sectionTitle:{title:gi("Section Title","genesis-blocks")},gb_postgrid_displayPostImage:{title:gi("Display Featured Image","genesis-blocks")},gb_postgrid_imageSizeValue:{title:gi("Image Size","genesis-blocks")},gb_postgrid_displayPostTitle:{title:gi("Display Post Title","genesis-blocks")},gb_postgrid_displayPostAuthor:{title:gi("Display Post Author","genesis-blocks")},gb_postgrid_displayPostDate:{title:gi("Display Post Date","genesis-blocks")},gb_postgrid_displayPostExcerpt:{title:gi("Display Post Excerpt","genesis-blocks")},gb_postgrid_excerptLength:{title:gi("Excerpt Length","genesis-blocks")},gb_postgrid_displayPostLink:{title:gi("Display Continue Reading Link","genesis-blocks")},gb_postgrid_readMoreText:{title:gi("Read More Text","genesis-blocks")},gb_postgrid_sectionTag:{title:gi("Post Grid Section Tag","genesis-blocks")},gb_postgrid_sectionTitleTag:{title:gi("Section Title Heading Tag","genesis-blocks")},gb_postgrid_postTitleTag:{title:gi("Post Title Heading Tag","genesis-blocks")}},save:function(){return null}});var yi=wp.i18n.__,vi=wp.element.Component,ki=wp.blockEditor,Mi=ki.InspectorControls,Li=ki.PanelColorSettings,wi=ki.MediaUpload,Yi=wp.components,Ti=Yi.Button,Si=Yi.Icon,Ri=Yi.PanelBody,xi=Yi.RangeControl,Di=function(e){m()(n,e);var t=bi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.containerPaddingTop,r=t.containerPaddingRight,a=t.containerPaddingBottom,o=t.containerPaddingLeft,i=t.containerMarginTop,s=t.containerMarginBottom,l=t.containerMaxWidth,c=t.containerBackgroundColor,u=t.containerDimRatio,d=t.containerImgURL,m=t.containerImgID,p=this.props.setAttributes,f=function(){p({containerImgID:null,containerImgURL:null,containerImgAlt:null})};return React.createElement(Mi,{key:"inspector"},React.createElement(M,{id:"gb_container_containerOptions"},React.createElement(Ri,{title:yi("Container Options","genesis-blocks"),initialOpen:!0},React.createElement(xi,{label:yi("Padding Top (%)","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({containerPaddingTop:t})},min:0,max:30,step:.5}),React.createElement(xi,{label:yi("Padding Bottom (%)","genesis-blocks"),value:a,onChange:function(t){return e.props.setAttributes({containerPaddingBottom:t})},min:0,max:30,step:.5}),React.createElement(xi,{label:yi("Padding Left (%)","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({containerPaddingLeft:t})},min:0,max:30,step:.5}),React.createElement(xi,{label:yi("Padding Right (%)","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({containerPaddingRight:t})},min:0,max:30,step:.5}),React.createElement(xi,{label:yi("Margin Top (%)","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({containerMarginTop:t})},min:0,max:30,step:1}),React.createElement(xi,{label:yi("Margin Bottom (%)","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({containerMarginBottom:t})},min:0,max:30,step:.5}),React.createElement(xi,{label:yi("Inside Container Max Width (px)","genesis-blocks"),value:l,onChange:function(t){return e.props.setAttributes({containerMaxWidth:t})},min:500,max:1600,step:1}))),React.createElement(M,{id:"gb_container_backgroundOptions"},React.createElement(Ri,{title:yi("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,yi("Select a background image:","genesis-blocks")),React.createElement(wi,{onSelect:function(e){p({containerImgID:e.id,containerImgURL:e.url,containerImgAlt:e.alt})},type:"image",value:m,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(Ti,{className:"gb-container-inspector-media",label:yi("Edit image","genesis-blocks"),onClick:t},React.createElement(Si,{icon:"format-image"}),yi("Select Image","genesis-blocks")),d&&!!d.length&&React.createElement(Ti,{className:"gb-container-inspector-media",label:yi("Remove Image","genesis-blocks"),onClick:f},React.createElement(Si,{icon:"dismiss"}),yi("Remove","genesis-blocks")))}}),d&&!!d.length&&React.createElement(xi,{label:yi("Image Opacity","genesis-blocks"),value:u,onChange:function(t){return e.props.setAttributes({containerDimRatio:t})},min:0,max:100,step:10}),React.createElement(Li,{title:yi("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,label:yi("Background Color","genesis-blocks"),onChange:function(e){return p({containerBackgroundColor:e})}}]}))))}}]),n}(vi);function Ei(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ci=function(e){m()(n,e);var t=Ei(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.containerBackgroundColor,r=t.containerAlignment,a=t.containerPaddingTop,o=t.containerPaddingRight,s=t.containerPaddingBottom,l=t.containerPaddingLeft,c=t.containerMarginTop,u=t.containerMarginBottom,d=t.containerWidth,m=t.containerMaxWidth,p=t.containerImgURL,f=t.containerImgAlt,h=t.containerDimRatio,_={backgroundColor:n||void 0,textAlign:r||void 0,paddingLeft:l?"".concat(l,"%"):void 0,paddingRight:o?"".concat(o,"%"):void 0,paddingBottom:s?"".concat(s,"%"):void 0,paddingTop:a?"".concat(a,"%"):void 0,marginTop:c?"".concat(c,"%"):void 0,marginBottom:u?"".concat(u,"%"):void 0},g=b()([this.props.className,"gb-block-container"],i()({},"align"+d,d));return React.createElement("div",{style:_,className:g||void 0},React.createElement("div",{className:"gb-container-inside"},p&&!!p.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(e=h,0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)),{"has-background-dim":0!==h}),src:p,alt:f})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:m?"".concat(m,"px"):void 0}},this.props.children)))}}]),n}(wp.element.Component);function Pi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var ji=function(e){m()(n,e);var t=Pi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.containerBackgroundColor,n=e.containerAlignment,r=e.containerPaddingTop,a=e.containerPaddingRight,o=e.containerPaddingBottom,s=e.containerPaddingLeft,l=e.containerMarginTop,c=e.containerMarginBottom,u=e.containerWidth,d=(e.containerMaxWidth,b()([this.props.className,"gb-block-container"],i()({},"align"+u,u)));return React.createElement("div",{style:{backgroundColor:t,textAlign:n,paddingLeft:"".concat(s,"%"),paddingRight:"".concat(a,"%"),paddingBottom:"".concat(o,"%"),paddingTop:"".concat(r,"%"),marginTop:"".concat(l,"%"),marginBottom:"".concat(c,"%")},className:d||void 0},this.props.children)}}]),n}(wp.element.Component);function Oi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Hi=function(e){m()(n,e);var t=Oi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.containerBackgroundColor,r=t.containerAlignment,a=t.containerPaddingTop,o=t.containerPaddingRight,s=t.containerPaddingBottom,l=t.containerPaddingLeft,c=t.containerMarginTop,u=t.containerMarginBottom,d=t.containerWidth,m=t.containerMaxWidth,p=t.containerImgURL,f=t.containerImgAlt,h=t.containerDimRatio,_={backgroundColor:n||void 0,textAlign:r||void 0,paddingLeft:l?"".concat(l,"%"):void 0,paddingRight:o?"".concat(o,"%"):void 0,paddingBottom:s?"".concat(s,"%"):void 0,paddingTop:a?"".concat(a,"%"):void 0,marginTop:c?"".concat(c,"%"):void 0,marginBottom:u?"".concat(u,"%"):void 0},g=b()([this.props.className,"gb-block-container"],i()({},"align"+d,d));return React.createElement("div",{style:_,className:g||void 0},React.createElement("div",{className:"gb-container-inside"},p&&!!p.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(e=h,0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)),{"has-background-dim":0!==h}),src:p,alt:f})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:"".concat(m,"px")}},this.props.children)))}}]),n}(wp.element.Component);var zi=wp.blockEditor.InnerBlocks;var Bi=[{attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:function(e){return React.createElement(Hi,e,React.createElement(zi.Content,null))}},{attributes:{containerPaddingTop:{type:"number",default:0},containerPaddingRight:{type:"number",default:0},containerPaddingBottom:{type:"number",default:0},containerPaddingLeft:{type:"number",default:0},containerMarginTop:{type:"number",default:0},containerMarginBottom:{type:"number",default:0},containerWidth:{type:"string",default:"center"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string",default:"#fff"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:function(e){var t,n=e.attributes,r=n.containerMaxWidth,a=n.containerImgURL,o=n.containerImgAlt,i=n.containerDimRatio;return React.createElement(ji,e,React.createElement("div",{className:"gb-container-inside"},a&&!!a.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(t=i,0===t||50===t?null:"has-background-dim-"+10*Math.round(t/10)),{"has-background-dim":0!==i}),src:a,alt:o})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:"".concat(r,"px")}},React.createElement(zi.Content,null))))}}];n(357),n(358);function Ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ai(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ii=wp.i18n.__,Wi=wp.element.Component,Ui=wp.blocks.registerBlockType,Vi=wp.blockEditor.InnerBlocks,Ji=function(e){m()(n,e);var t=Fi(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.setAttributes;return[React.createElement(Di,a()({key:"gb-container-inspector-"+this.props.clientId},Ni({setAttributes:e},this.props))),React.createElement(Ci,a()({key:"gb-container-"+this.props.clientId},this.props),React.createElement(Vi,null))]}}]),n}(Wi);function Gi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}Ui("genesis-blocks/gb-container",{title:Ii("Container","genesis-blocks"),description:Ii("Add a container block to wrap several blocks in a parent container.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[Ii("container","genesis-blocks"),Ii("section","genesis-blocks"),Ii("genesis","genesis-blocks")],supports:{align:["center","wide","full"]},attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number"},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},gb_settings_data:{gb_container_containerOptions:{title:Ii("Container Options","genesis-blocks")},gb_container_backgroundOptions:{title:Ii("Background Options","genesis-blocks")}},edit:Ji,save:function(e){return React.createElement(Ci,e,React.createElement(Vi.Content,null))},getEditWrapperProps:function(e){var t=e.containerWidth;if("center"===t||"wide"===t||"full"===t)return{"data-align":t}},deprecated:Bi});var qi=wp.i18n.__,$i=wp.element.Component,Ki=wp.blockEditor.InspectorControls,Qi=wp.components,Zi=Qi.PanelBody,Xi=Qi.RangeControl,es=function(e){m()(n,e);var t=Gi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.columns,r=t.columnsGap;return React.createElement(Ki,{key:"inspector"},React.createElement(Zi,null,React.createElement(M,{id:"gb_pricing_columns"},React.createElement(Xi,{label:qi("Pricing Columns","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({columns:t})},min:1,max:4})),React.createElement(M,{id:"gb_pricing_columnsGap"},React.createElement(Xi,{label:qi("Pricing Columns Gap","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({columnsGap:t})},min:0,max:5,step:1}))))}}]),n}($i);function ts(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var ns=function(e){m()(n,e);var t=ts(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.columns,n=e.align,r=b()([this.props.className,"gb-pricing-columns-"+t],i()({},"align"+n,n));return React.createElement("div",{className:r||void 0},this.props.children)}}]),n}(wp.element.Component),rs=n(29),as=n.n(rs),os=n(30),is=n.n(os);function ss(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ls(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ss(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ss(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var us=wp.i18n.__,ds=wp.element.Component,ms=wp.blocks.registerBlockType,ps=wp.blockEditor,fs=ps.BlockControls,hs=ps.BlockAlignmentToolbar,_s=ps.InnerBlocks,gs=wp.data.dispatch,bs=["genesis-blocks/gb-pricing-table"],ys=as()((function(e){return is()(e,(function(){return["genesis-blocks/gb-pricing-table"]}))})),vs=function(e){m()(n,e);var t=cs(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.attributes.columns!==e.attributes.columns&&gs("core/block-editor").synchronizeTemplate()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.columns,r=t.columnsGap,o=t.align,i=e.setAttributes;return[React.createElement(fs,{key:"controls"},React.createElement(hs,{value:o,onChange:function(e){return i({align:e})},controls:["center","wide","full"]})),React.createElement(es,a()({key:"gb-pricing-table-inspector-"+this.props.clientId},ls({setAttributes:i},this.props))),React.createElement(ns,a()({key:"gb-pricing-table-"+this.props.clientId},this.props),React.createElement("div",{className:b()("gb-pricing-table-wrap-admin","gb-block-pricing-table-gap-"+r)},React.createElement(_s,{template:ys(n),templateLock:"all",allowedBlocks:bs})))]}}]),n}(ds);function ks(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}ms("genesis-blocks/gb-pricing",{title:us("Pricing","genesis-blocks"),description:us("Add a pricing table.","genesis-blocks"),icon:"cart",category:"genesis-blocks",keywords:[us("pricing table","genesis-blocks"),us("shop","genesis-blocks"),us("purchase","genesis-blocks")],attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:2},align:{type:"string"}},gb_settings_data:{gb_pricing_columns:{title:us("Pricing Columns","genesis-blocks")},gb_pricing_columnsGap:{title:us("Pricing Columns Gap","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:vs,save:function(e){var t=e.attributes.columnsGap,n=b()(["gb-pricing-table-wrap","gb-block-pricing-table-gap-"+t]);return React.createElement(ns,e,React.createElement("div",{className:n||void 0},React.createElement(_s.Content,null)))}});var Ms=wp.i18n.__,Ls=wp.element.Component,ws=wp.blockEditor,Ys=ws.InspectorControls,Ts=ws.PanelColorSettings,Ss=wp.components,Rs=Ss.PanelBody,xs=Ss.RangeControl,Ds=function(e){m()(n,e);var t=ks(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.borderWidth,a=n.borderColor,o=n.borderRadius,i=n.backgroundColor,s=n.padding,l=t.setAttributes;return React.createElement(Ys,{key:"inspector"},React.createElement(Rs,null,React.createElement(M,{id:"gb_pricing_inner_padding"},React.createElement(xs,{label:Ms("Pricing Column Padding","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({padding:t})},min:0,max:20,step:1})),React.createElement(M,{id:"gb_pricing_inner_borderWidth"},React.createElement(xs,{label:Ms("Pricing Column Border","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({borderWidth:t})},min:0,max:10,step:1})),React.createElement(M,{id:"gb_pricing_inner_borderRadius"},React.createElement(xs,{label:Ms("Pricing Column Border Radius","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({borderRadius:t})},min:0,max:20,step:1}))),0<r&&React.createElement(M,{id:"gb_pricing_inner_borderColor"},React.createElement(Ts,{title:Ms("Pricing Column Border Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({borderColor:e})},label:Ms("Border Color","genesis-blocks")}]})),React.createElement(M,{id:"gb_pricing_inner_colorSettings"},React.createElement(Ts,{title:Ms("Pricing Column Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:function(e){return l({backgroundColor:e})},label:Ms("Background Color","genesis-blocks")}]})))}}]),n}(Ls);n(359),n(360);function Es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Es(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Es(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ps(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var js=wp.i18n.__,Os=wp.element.Component,Hs=wp.blocks.registerBlockType,zs=wp.blockEditor,Bs=zs.InnerBlocks,As=zs.AlignmentToolbar,Ns=zs.BlockControls,Fs=wp.element.Fragment,Is=["genesis-blocks/gb-pricing-table-description","genesis-blocks/gb-pricing-table-price","genesis-blocks/gb-pricing-table-subtitle","genesis-blocks/gb-pricing-table-title","genesis-blocks/gb-pricing-table-button","core/paragraph","core/image","core/html","core/shortcode"],Ws=function(e){m()(n,e);var t=Ps(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.borderWidth,r=t.borderColor,o=t.borderRadius,i=t.backgroundColor,s=t.padding,l=t.alignment,c=e.setAttributes,u={borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:r||null,borderRadius:o||null,backgroundColor:i||null,padding:s?s+"%":null};return[React.createElement(Ns,{key:"controls"},React.createElement(As,{value:l,onChange:function(e){c({alignment:e})}})),React.createElement(Ds,a()({key:"gb-pricing-table-inner-inspector-"+this.props.clientId},Cs({setAttributes:c},this.props))),React.createElement(Fs,{key:"gb-pricing-table-inner-fragment-"+this.props.clientId},React.createElement("div",{className:b()(l?"gb-block-pricing-table-"+l:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:u},React.createElement(Bs,{template:[["genesis-blocks/gb-pricing-table-title",{title:"<strong>Price Title</strong>",fontSize:"medium",paddingTop:30,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-subtitle",{subtitle:"Price Subtitle Description",customFontSize:20,paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-price",{price:"49",currency:"$",customFontSize:60,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-features",{features:"<li>Product Feature One</li><li>Product Feature Two</li><li>Product Feature Three</li>",multilineTag:"li",ordered:!1,customFontSize:20,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["genesis-blocks/gb-pricing-table-button",{buttonText:"Buy Now",buttonBackgroundColor:"#272c30",paddingTop:15,paddingRight:20,paddingBottom:35,paddingLeft:20}]],templateLock:!1,allowedBlocks:Is,templateInsertUpdatesSelection:!1}))))]}}]),n}(Os);Hs("genesis-blocks/gb-pricing-table",{title:js("Pricing Column","genesis-blocks"),description:js("Add a pricing column.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing"],keywords:[js("pricing","genesis-blocks"),js("shop","genesis-blocks"),js("buy","genesis-blocks")],attributes:{borderWidth:{type:"number",default:2},borderColor:{type:"string"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string"},alignment:{type:"string"},padding:{type:"number"}},gb_settings_data:{gb_pricing_inner_padding:{title:js("Pricing Column Padding","genesis-blocks")},gb_pricing_inner_borderWidth:{title:js("Pricing Column Border","genesis-blocks")},gb_pricing_inner_borderRadius:{title:js("Pricing Column Border Radius","genesis-blocks")},gb_pricing_inner_borderColor:{title:js("Pricing Column Border Color","genesis-blocks")},gb_pricing_inner_colorSettings:{title:js("Pricing Column Background Color","genesis-blocks")}},edit:Ws,save:function(e){var t=e.attributes,n=t.borderWidth,r=t.borderColor,a=t.borderRadius,o=t.backgroundColor,i=t.alignment,s=t.padding,l={borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:r||null,borderRadius:a||null,backgroundColor:o||null,padding:s?s+"%":null};return React.createElement("div",{className:b()(i?"gb-block-pricing-table-"+i:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:l},React.createElement(Bs.Content,null)))}});var Us=wp.i18n.__,Vs=wp.element.Fragment,Js=wp.components.RangeControl;function Gs(e){var t=e.padding,n=e.paddingTitle,r=e.paddingHelp,a=e.paddingMin,o=e.paddingMax,i=e.paddingEnable,s=e.onChangePadding,l=void 0===s?function(){}:s,c=e.paddingTop,u=e.paddingTopMin,d=e.paddingTopMax,m=e.paddingEnableTop,p=e.onChangePaddingTop,f=void 0===p?function(){}:p,h=e.paddingRight,_=e.paddingRightMin,g=e.paddingRightMax,b=e.paddingEnableRight,y=e.onChangePaddingRight,v=void 0===y?function(){}:y,k=e.paddingBottom,M=e.paddingBottomMin,L=e.paddingBottomMax,w=e.paddingEnableBottom,Y=e.onChangePaddingBottom,T=void 0===Y?function(){}:Y,S=e.paddingLeft,R=e.paddingLeftMin,x=e.paddingLeftMax,D=e.paddingEnableLeft,E=e.onChangePaddingLeft,C=void 0===E?function(){}:E,P=e.paddingVertical,j=e.paddingEnableVertical,O=e.paddingVerticalMin,H=e.paddingVerticalMax,z=e.onChangePaddingVertical,B=void 0===z?function(){}:z,A=e.paddingHorizontal,N=e.paddingEnableHorizontal,F=e.paddingHorizontalMin,I=e.paddingHorizontalMax,W=e.onChangePaddingHorizontal,U=void 0===W?function(){}:W;return React.createElement(Vs,null,i&&React.createElement(Js,{label:n||Us("Padding","genesis-blocks"),help:r||null,value:t,min:a,max:o,onChange:l}),m&&React.createElement(Js,{label:Us("Padding Top","genesis-blocks"),value:c,min:u,max:d,onChange:f}),b&&React.createElement(Js,{label:Us("Padding Right","genesis-blocks"),value:h,min:_,max:g,onChange:v}),w&&React.createElement(Js,{label:Us("Padding Bottom","genesis-blocks"),value:k,min:M,max:L,onChange:T}),D&&React.createElement(Js,{label:Us("Padding Left","genesis-blocks"),value:S,min:R,max:x,onChange:C}),j&&React.createElement(Js,{label:Us("Padding Vertical","genesis-blocks"),value:P,min:O,max:H,onChange:B}),N&&React.createElement(Js,{label:Us("Padding Horizontal","genesis-blocks"),value:A,min:F,max:I,onChange:U}))}function qs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var $s=wp.i18n.__,Ks=wp.element.Component,Qs=wp.compose.compose,Zs=wp.blockEditor,Xs=Zs.InspectorControls,el=Zs.FontSizePicker,tl=Zs.withFontSizes,nl=Zs.withColors,rl=Zs.ContrastChecker,al=Zs.PanelColorSettings,ol=wp.components,il=ol.withFallbackStyles,sl=ol.PanelBody,ll=ol.ToggleControl,cl=ol.TextControl,ul=(ol.RangeControl,il((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}}))),dl=function(e){m()(n,e);var t=qs(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.showTerm,a=n.showCurrency,o=n.term,i=n.currency,s=n.paddingTop,l=n.paddingRight,c=n.paddingBottom,u=n.paddingLeft,d=(t.isSelected,t.setAttributes),m=t.fallbackFontSize,p=t.fontSize,f=t.setFontSize,h=t.backgroundColor,_=t.textColor,g=t.setBackgroundColor,b=t.setTextColor,y=t.fallbackBackgroundColor,v=t.fallbackTextColor;return React.createElement(Xs,{key:"inspector"},React.createElement(sl,{title:$s("Text Settings","genesis-blocks")},React.createElement(el,{fallbackFontSize:m,value:p.size,onChange:f}),React.createElement(ll,{label:$s("Show currency symbol","genesis-blocks"),checked:a,onChange:function(){return e.props.setAttributes({showCurrency:!a})}}),a&&React.createElement(cl,{label:$s("Currency Symbol","genesis-blocks"),type:"text",value:i,onChange:function(t){return e.props.setAttributes({currency:t})}}),React.createElement(ll,{label:$s("Show pricing duration","genesis-blocks"),checked:r,onChange:function(){return e.props.setAttributes({showTerm:!r})}}),r&&React.createElement(cl,{label:$s("Pricing Duration","genesis-blocks"),type:"text",value:o,onChange:function(t){return e.props.setAttributes({term:t})}})),React.createElement(sl,{title:$s("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Gs,{paddingEnableTop:!0,paddingTop:s,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return d({paddingTop:e})},paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return d({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:c,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return d({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return d({paddingLeft:e})}})),React.createElement(al,{title:$s("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:h.color,onChange:g,label:$s("Background Color","genesis-blocks")},{value:_.color,onChange:b,label:$s("Text Color","genesis-blocks")}]},React.createElement(rl,{textColor:_.color,backgroundColor:h.color,fallbackTextColor:v,fallbackBackgroundColor:y,fontSize:p.size})))}}]),n}(Ks),ml=Qs([ul,tl("fontSize"),nl("backgroundColor",{textColor:"color"})])(dl);function pl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var fl=wp.i18n.__,hl=(wp.blocks.registerBlockType,wp.compose.compose),_l=wp.element,gl=_l.Component,bl=_l.Fragment,yl=wp.blockEditor,vl=yl.RichText,kl=yl.withFontSizes,Ml=yl.withColors,Ll=function(e){m()(n,e);var t=pl(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.price,a=n.currency,o=n.term,s=n.showTerm,l=n.showCurrency,c=n.paddingTop,u=n.paddingRight,d=n.paddingBottom,m=n.paddingLeft,p=(t.isSelected,t.className,t.setAttributes),f=(t.fallbackFontSize,t.fontSize),h=t.backgroundColor,_=t.textColor,g=b()((e={"gb-pricing-table-price-wrap":!0,"has-text-color":_.color,"has-background":h.color},i()(e,h.class,h.class),i()(e,_.class,_.class),i()(e,"gb-pricing-has-currency",l),e)),y=b()(i()({"gb-pricing-table-price":!0},f.class,f.class)),v={backgroundColor:h.color,color:_.color,paddingTop:c?c+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:d?d+"px":void 0,paddingLeft:m?m+"px":void 0},k={fontSize:f.size?f.size+"px":void 0},M=Math.floor(f.size/2.5),L={fontSize:f.size?M+"px":void 0},w=Math.floor(f.size/2.5),Y={fontSize:f.size?w+"px":void 0};return[React.createElement(bl,{key:"gb-pricing-table-inner-component-price-"+this.props.clientId},React.createElement(ml,this.props),React.createElement("div",{className:g||void 0,style:v},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},l&&React.createElement(vl,{tagName:"span",itemProp:"priceCurrency",placeholder:fl("$","genesis-blocks"),keepPlaceholderOnFocus:!0,value:a,onChange:function(e){return p({currency:e})},className:"gb-pricing-table-currency",style:L}),React.createElement(vl,{tagName:"div",itemProp:"price",placeholder:fl("49","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return p({price:e})},style:k,className:y||void 0}),s&&React.createElement(vl,{tagName:"span",value:o,placeholder:fl("/mo","genesis-blocks"),keepPlaceholderOnFocus:!0,onChange:function(e){return p({term:e})},className:"gb-pricing-table-term",style:Y}))))]}}]),n}(gl),wl=hl([kl("fontSize"),Ml("backgroundColor",{textColor:"color"})])(Ll),Yl=wp.i18n.__,Tl=wp.blockEditor,Sl=Tl.RichText,Rl=Tl.getFontSizeClass,xl=Tl.getColorClassName,Dl=[{attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},save:function(e){var t,n=e.attributes,r=n.price,a=n.currency,o=n.fontSize,s=n.customFontSize,l=n.backgroundColor,c=n.textColor,u=n.customBackgroundColor,d=n.customTextColor,m=n.term,p=n.showTerm,f=n.showCurrency,h=n.paddingTop,_=n.paddingRight,g=n.paddingBottom,y=n.paddingLeft,v=Rl(o),k=xl("color",c),M=xl("background-color",l),L=b()((t={"has-background":l||u,"gb-pricing-table-price-wrap":!0},i()(t,k,k),i()(t,M,M),i()(t,"gb-pricing-has-currency",f&&a),t)),w=b()(i()({"gb-pricing-table-price":!0},v,v)),Y={backgroundColor:M?void 0:u,color:k?void 0:d,paddingTop:h?h+"px":void 0,paddingRight:_?_+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:y?y+"px":void 0},T={fontSize:v?void 0:s},S=v?void 0:s,R=Math.floor(S/2.5),x={fontSize:S?R+"px":void 0},D=Math.floor(S/2.5),E={fontSize:S?D+"px":void 0};return React.createElement("div",{className:L||void 0,style:Y},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&f&&React.createElement(Sl.Content,{tagName:"span",itemProp:"priceCurrency",placeholder:Yl("$","genesis-blocks"),value:a,className:"gb-pricing-table-currency",style:x}),React.createElement(Sl.Content,{tagName:"div",itemProp:"price",value:r,className:w||void 0,style:T}),m&&p&&React.createElement(Sl.Content,{tagName:"span",value:m,className:"gb-pricing-table-term",style:E})))}}],El=wp.i18n.__,Cl=wp.blocks.registerBlockType,Pl=wp.element,jl=(Pl.Component,Pl.Fragment,wp.blockEditor),Ol=jl.RichText,Hl=jl.getFontSizeClass,zl=(jl.FontSizePicker,jl.withFontSizes,jl.getColorClassName);function Bl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}Cl("genesis-blocks/gb-pricing-table-price",{title:El("Product Price","genesis-blocks"),description:El("Adds a product price component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[El("pricing table","genesis-blocks"),El("price","genesis-blocks"),El("shop","genesis-blocks")],attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:wl,save:function(e){var t,n=e.attributes,r=n.price,a=n.currency,o=n.fontSize,s=n.customFontSize,l=n.backgroundColor,c=n.textColor,u=n.customBackgroundColor,d=n.customTextColor,m=n.term,p=n.showTerm,f=n.showCurrency,h=n.paddingTop,_=n.paddingRight,g=n.paddingBottom,y=n.paddingLeft,v=Hl(o),k=zl("color",c),M=zl("background-color",l),L=b()((t={"has-background":l||u,"gb-pricing-table-price-wrap":!0},i()(t,k,k),i()(t,M,M),i()(t,"gb-pricing-has-currency",f&&a),t)),w=b()(i()({"gb-pricing-table-price":!0},v,v)),Y={backgroundColor:M?void 0:u,color:k?void 0:d,paddingTop:h?h+"px":void 0,paddingRight:_?_+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:y?y+"px":void 0},T={fontSize:v?void 0:s},S=v?void 0:s,R=Math.floor(S/2.5),x={fontSize:S?R+"px":void 0},D=Math.floor(S/2.5),E={fontSize:S?D+"px":void 0};return React.createElement("div",{className:L||void 0,style:Y},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&f&&React.createElement(Ol.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"gb-pricing-table-currency",style:x}),React.createElement(Ol.Content,{tagName:"div",itemProp:"price",value:r,className:w||void 0,style:T}),m&&p&&React.createElement(Ol.Content,{tagName:"span",value:m,className:"gb-pricing-table-term",style:E})))},deprecated:Dl});var Al=wp.i18n.__,Nl=wp.element.Component,Fl=wp.compose.compose,Il=wp.blockEditor,Wl=Il.InspectorControls,Ul=Il.FontSizePicker,Vl=Il.withFontSizes,Jl=Il.withColors,Gl=Il.ContrastChecker,ql=Il.PanelColorSettings,$l=Il.ColorPalette,Kl=wp.components,Ql=Kl.withFallbackStyles,Zl=Kl.PanelBody,Xl=Kl.PanelRow,ec=Kl.SelectControl,tc=Kl.BaseControl,nc=Kl.RangeControl,rc=Ql((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}})),ac=function(e){m()(n,e);var t=Bl(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.borderStyle,a=n.borderColor,o=n.borderWidth,i=n.paddingTop,s=n.paddingRight,l=n.paddingBottom,c=n.paddingLeft,u=(t.isSelected,t.setAttributes),d=t.fallbackFontSize,m=t.fontSize,p=t.setFontSize,f=t.backgroundColor,h=t.textColor,_=t.setBackgroundColor,g=t.setTextColor,b=t.fallbackBackgroundColor,y=t.fallbackTextColor,v=[{value:"gb-list-border-none",label:Al("None")},{value:"gb-list-border-solid",label:Al("Solid")},{value:"gb-list-border-dotted",label:Al("Dotted")},{value:"gb-list-border-dashed",label:Al("Dashed")}];return React.createElement(Wl,{key:"inspector"},React.createElement(Zl,{title:Al("Text Settings","genesis-blocks")},React.createElement(Ul,{fallbackFontSize:d,value:m.size,onChange:p}),React.createElement(ec,{label:Al("List Border Style","genesis-blocks"),value:r,options:v.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({borderStyle:t})}}),"gb-list-border-none"!==r&&React.createElement(nc,{label:Al("List Border Width","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({borderWidth:t})},min:1,max:5,step:1}),"gb-list-border-none"!==r&&React.createElement(Xl,null,React.createElement(tc,{label:Al("List Border Color","genesis-blocks"),id:"gb-list-border-color-"+this.props.clientId},React.createElement($l,{initialOpen:!1,value:a,onChange:function(e){return u({borderColor:e})}})))),React.createElement(Zl,{title:Al("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Gs,{paddingEnableTop:!0,paddingTop:i,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return u({paddingTop:e})},paddingEnableRight:!0,paddingRight:s,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return u({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:l,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return u({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return u({paddingLeft:e})}})),React.createElement(ql,{title:Al("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:f.color,onChange:_,label:Al("Background Color","genesis-blocks")},{value:h.color,onChange:g,label:Al("Text Color","genesis-blocks")}]},React.createElement(Gl,{textColor:h.color,backgroundColor:f.color,fallbackTextColor:y,fallbackBackgroundColor:b,fontSize:m.size})))}}]),n}(Nl),oc=Fl([rc,Vl("fontSize"),Jl("backgroundColor",{textColor:"color"})])(ac);function ic(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var sc=wp.i18n.__,lc=(wp.blocks.registerBlockType,wp.compose.compose),cc=wp.element,uc=cc.Component,dc=cc.Fragment,mc=wp.blockEditor,pc=mc.RichText,fc=mc.withFontSizes,hc=mc.withColors,_c=function(e){m()(n,e);var t=ic(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.features,a=n.borderStyle,o=n.borderColor,s=n.borderWidth,l=n.paddingTop,c=n.paddingRight,u=n.paddingBottom,d=n.paddingLeft,m=(t.isSelected,t.className,t.setAttributes),p=(t.fallbackFontSize,t.fontSize),f=t.backgroundColor,h=t.textColor,_=b()((e={"gb-pricing-table-features":!0},i()(e,p.class,p.class),i()(e,"has-text-color",h.color),i()(e,"has-background",f.color),i()(e,f.class,f.class),i()(e,h.class,h.class),i()(e,a,a),i()(e,"gb-list-border-width-"+s,s),e)),g={fontSize:p.size?p.size+"px":void 0,backgroundColor:f.color,color:h.color,borderColor:o||void 0,paddingTop:l?l+"px":void 0,paddingRight:c?c+"px":void 0,paddingBottom:u?u+"px":void 0,paddingLeft:d?d+"px":void 0};return[React.createElement(dc,{key:"gb-pricing-table-inner-component-description-"+this.props.clientId},React.createElement(oc,this.props),React.createElement(pc,{tagName:"ul",multiline:"li",itemProp:"description",placeholder:sc("Add a product feature","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return m({features:e})},style:g,className:_||void 0}))]}}]),n}(uc),gc=lc([fc("fontSize"),hc("backgroundColor",{textColor:"color"})])(_c),bc=wp.i18n.__,yc=wp.blocks.registerBlockType,vc=(wp.element.Component,wp.blockEditor),kc=vc.RichText,Mc=vc.getFontSizeClass,Lc=(vc.FontSizePicker,vc.withFontSizes,vc.getColorClassName);function wc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}yc("genesis-blocks/gb-pricing-table-features",{title:bc("Product Features","genesis-blocks"),description:bc("Adds a product feature component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[bc("pricing table","genesis-blocks"),bc("features","genesis-blocks"),bc("shop","genesis-blocks")],attributes:{features:{type:"string",source:"html",selector:"ol,ul",multiline:"li"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},borderStyle:{type:"string",default:"gb-list-border-none"},borderColor:{type:"string"},borderWidth:{type:"number",default:1},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:gc,save:function(e){var t,n=e.attributes,r=n.features,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.borderStyle,m=n.borderColor,p=n.borderWidth,f=n.paddingTop,h=n.paddingRight,_=n.paddingBottom,g=n.paddingLeft,y=Mc(a),v=Lc("color",l),k=Lc("background-color",s),M=b()((t={"has-background":s||c,"gb-pricing-table-features":!0},i()(t,y,y),i()(t,v,v),i()(t,k,k),i()(t,d,d),i()(t,"gb-list-border-width-"+p,p),t)),L={fontSize:y?void 0:o,backgroundColor:k?void 0:c,color:v?void 0:u,borderColor:m||void 0,paddingTop:f?f+"px":void 0,paddingRight:h?h+"px":void 0,paddingBottom:_?_+"px":void 0,paddingLeft:g?g+"px":void 0};return React.createElement(kc.Content,{tagName:"ul",itemProp:"description",value:r,className:M||void 0,style:L})}});var Yc=wp.i18n.__,Tc=wp.element.Component,Sc=wp.compose.compose,Rc=wp.blockEditor,xc=Rc.InspectorControls,Dc=Rc.FontSizePicker,Ec=Rc.withFontSizes,Cc=Rc.withColors,Pc=Rc.ContrastChecker,jc=Rc.PanelColorSettings,Oc=(Rc.RangeControl,wp.components),Hc=Oc.withFallbackStyles,zc=Oc.PanelBody,Bc=Hc((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}})),Ac=function(e){m()(n,e);var t=wc(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.paddingTop,r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=(e.isSelected,e.setAttributes),s=e.fallbackFontSize,l=e.fontSize,c=e.setFontSize,u=e.backgroundColor,d=e.textColor,m=e.setBackgroundColor,p=e.setTextColor,f=e.fallbackBackgroundColor,h=e.fallbackTextColor;return React.createElement(xc,{key:"inspector"},React.createElement(zc,{title:Yc("Text Settings","genesis-blocks")},React.createElement(Dc,{fallbackFontSize:s,value:l.size,onChange:c})),React.createElement(zc,{title:Yc("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Gs,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return i({paddingTop:e})},paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return i({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:a,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return i({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return i({paddingLeft:e})}})),React.createElement(jc,{title:Yc("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:u.color,onChange:m,label:Yc("Background Color","genesis-blocks")},{value:d.color,onChange:p,label:Yc("Text Color","genesis-blocks")}]},React.createElement(Pc,{textColor:d.color,backgroundColor:u.color,fallbackTextColor:h,fallbackBackgroundColor:f,fontSize:l.size})))}}]),n}(Tc),Nc=Sc([Bc,Ec("fontSize"),Cc("backgroundColor",{textColor:"color"})])(Ac);function Fc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Ic=wp.i18n.__,Wc=(wp.blocks.registerBlockType,wp.compose.compose),Uc=wp.element,Vc=Uc.Component,Jc=Uc.Fragment,Gc=wp.blockEditor,qc=Gc.RichText,$c=Gc.withFontSizes,Kc=Gc.withColors,Qc=function(e){m()(n,e);var t=Fc(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.title,a=n.paddingTop,o=n.paddingRight,s=n.paddingBottom,l=n.paddingLeft,c=(t.isSelected,t.className,t.setAttributes),u=(t.fallbackFontSize,t.fontSize),d=t.backgroundColor,m=t.textColor,p=b()((e={"gb-pricing-table-title":!0},i()(e,u.class,u.class),i()(e,"has-text-color",m.color),i()(e,"has-background",d.color),i()(e,d.class,d.class),i()(e,m.class,m.class),e)),f={fontSize:u.size?u.size+"px":void 0,backgroundColor:d.color,color:m.color,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return[React.createElement(Jc,{key:"gb-pricing-table-inner-component-title-"+this.props.clientId},React.createElement(Nc,this.props),React.createElement(qc,{tagName:"div",itemProp:"name",placeholder:Ic("Price Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return c({title:e})},style:f,className:p||void 0}))]}}]),n}(Vc),Zc=Wc([$c("fontSize"),Kc("backgroundColor",{textColor:"color"})])(Qc),Xc=wp.i18n.__,eu=wp.blocks.registerBlockType,tu=(wp.element.Component,wp.blockEditor),nu=tu.RichText,ru=tu.getFontSizeClass,au=(tu.FontSizePicker,tu.withFontSizes,tu.getColorClassName);function ou(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}eu("genesis-blocks/gb-pricing-table-title",{title:Xc("Product Title","genesis-blocks"),description:Xc("Adds a product title component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Xc("pricing table","genesis-blocks"),Xc("title","genesis-blocks"),Xc("shop","genesis-blocks")],attributes:{title:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Zc,save:function(e){var t,n=e.attributes,r=n.title,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.paddingTop,m=n.paddingRight,p=n.paddingBottom,f=n.paddingLeft,h=ru(a),_=au("color",l),g=au("background-color",s),y={fontSize:h?void 0:o,backgroundColor:g?void 0:c,color:_?void 0:u,paddingTop:d?d+"px":void 0,paddingRight:m?m+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:f?f+"px":void 0},v=b()((t={"has-background":s||c,"gb-pricing-table-title":!0},i()(t,h,h),i()(t,_,_),i()(t,g,g),t));return React.createElement(nu.Content,{tagName:"div",itemProp:"name",value:r,style:y,className:v||void 0})}});var iu=wp.i18n.__,su=(wp.blocks.registerBlockType,wp.compose.compose),lu=wp.element,cu=lu.Component,uu=lu.Fragment,du=wp.blockEditor,mu=du.RichText,pu=du.withFontSizes,fu=du.withColors,hu=function(e){m()(n,e);var t=ou(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.subtitle,a=n.paddingTop,o=n.paddingRight,s=n.paddingBottom,l=n.paddingLeft,c=(t.isSelected,t.className,t.setAttributes),u=(t.fallbackFontSize,t.fontSize),d=t.backgroundColor,m=t.textColor,p=b()((e={"gb-pricing-table-subtitle":!0},i()(e,u.class,u.class),i()(e,"has-text-color",m.color),i()(e,"has-background",d.color),i()(e,d.class,d.class),i()(e,m.class,m.class),e)),f={fontSize:u.size?u.size+"px":void 0,backgroundColor:d.color,color:m.color,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return[React.createElement(uu,{key:"gb-pricing-table-inner-component-subtitle-"+this.props.clientId},React.createElement(Nc,this.props),React.createElement(mu,{tagName:"div",placeholder:iu("Price Subtitle","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return c({subtitle:e})},style:f,className:p||void 0}))]}}]),n}(cu),_u=su([pu("fontSize"),fu("backgroundColor",{textColor:"color"})])(hu),gu=wp.i18n.__,bu=wp.blocks.registerBlockType,yu=(wp.element.Component,wp.blockEditor),vu=yu.RichText,ku=yu.getFontSizeClass,Mu=(yu.FontSizePicker,yu.withFontSizes,yu.getColorClassName);function Lu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}bu("genesis-blocks/gb-pricing-table-subtitle",{title:gu("Product Subtitle","genesis-blocks"),description:gu("Adds a product subtitle component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[gu("pricing table","genesis-blocks"),gu("subtitle","genesis-blocks"),gu("shop","genesis-blocks")],attributes:{subtitle:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:_u,save:function(e){var t,n=e.attributes,r=n.subtitle,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.paddingTop,m=n.paddingRight,p=n.paddingBottom,f=n.paddingLeft,h=ku(a),_=Mu("color",l),g=Mu("background-color",s),y=b()((t={"has-background":s||c,"gb-pricing-table-subtitle":!0},i()(t,h,h),i()(t,_,_),i()(t,g,g),t)),v={fontSize:h?void 0:o,backgroundColor:g?void 0:c,color:_?void 0:u,paddingTop:d?d+"px":void 0,paddingRight:m?m+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:f?f+"px":void 0};return React.createElement(vu.Content,{tagName:"div",value:r,className:y||void 0,style:v})}});var wu=wp.i18n.__,Yu=wp.element.Component,Tu=wp.compose.compose,Su=wp.blockEditor,Ru=Su.InspectorControls,xu=(Su.FontSizePicker,Su.withFontSizes),Du=Su.withColors,Eu=(Su.ContrastChecker,Su.PanelColorSettings),Cu=wp.components,Pu=Cu.withFallbackStyles,ju=Cu.PanelBody,Ou=(Cu.ToggleControl,Cu.TextControl,Cu.RangeControl,Pu((function(e,t){var n=t.attributes.backgroundColor,r=e.querySelector('[contenteditable="true"]'),a=r?getComputedStyle(r):null;return{fallbackBackgroundColor:n||!a?void 0:a.backgroundColor}}))),Hu=function(e){m()(n,e);var t=Lu(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.paddingTop,r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=(t.buttonText,t.buttonUrl,t.buttonAlignment,t.buttonBackgroundColor),s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,d=(e.isSelected,e.setAttributes),m=e.backgroundColor,p=e.setBackgroundColor;e.fallbackBackgroundColor;return React.createElement(Ru,{key:"inspector"},React.createElement(ju,{title:wu("Button Settings","genesis-blocks")},React.createElement(dn,{buttonTarget:u,onChangeButtonTarget:function(e){return d({buttonTarget:!u})},buttonSize:l,onChangeButtonSize:function(e){return d({buttonSize:e})},buttonShape:c,onChangeButtonShape:function(e){return d({buttonShape:e})},buttonBackgroundColor:i,onChangeButtonColor:function(e){return d({buttonBackgroundColor:e})},buttonTextColor:s,onChangeButtonTextColor:function(e){return d({buttonTextColor:e})}})),React.createElement(ju,{title:wu("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Gs,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return d({paddingTop:e})},paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return d({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:a,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return d({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return d({paddingLeft:e})}})),React.createElement(Eu,{title:wu("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:m.color,onChange:p,label:wu("Background Color","genesis-blocks")}]}))}}]),n}(Yu),zu=Tu([Ou,xu("fontSize"),Du("backgroundColor")])(Hu);function Bu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Au=wp.i18n.__,Nu=(wp.blocks.registerBlockType,wp.compose.compose),Fu=wp.element,Iu=Fu.Component,Wu=Fu.Fragment,Uu=wp.blockEditor,Vu=Uu.RichText,Ju=Uu.withFontSizes,Gu=Uu.withColors,qu=(Uu.InnerBlocks,Uu.URLInput),$u=wp.components,Ku=$u.Button,Qu=$u.Dashicon,Zu=$u.Icon,Xu=function(e){m()(n,e);var t=Bu(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=(t.subtitle,t.paddingTop),r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=t.buttonText,s=t.buttonUrl,l=t.buttonAlignment,c=t.buttonBackgroundColor,u=t.buttonTextColor,d=t.buttonSize,m=t.buttonShape,p=(t.buttonTarget,e.isSelected),f=(e.className,e.setAttributes),h=e.backgroundColor,_=b()({"gb-pricing-table-button":!0}),g={backgroundColor:h.color,paddingTop:n?n+"px":void 0,paddingRight:r?r+"px":void 0,paddingBottom:a?a+"px":void 0,paddingLeft:o?o+"px":void 0};return[React.createElement(Wu,{key:"gb-pricing-table-inner-component-button-"+this.props.clientId},React.createElement(zu,this.props),React.createElement("div",{className:_||void 0,style:g},React.createElement(bn,this.props,React.createElement(Vu,{tagName:"span",placeholder:Au("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:i,allowedFormats:[],className:b()("gb-button",m,d),style:{color:u,backgroundColor:c},onChange:function(e){return f({buttonText:e})}})),p&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(l),onSubmit:function(e){return e.preventDefault()},style:{textAlign:l}},React.createElement(Qu,{icon:"admin-links"}),React.createElement(qu,{className:"button-url",value:s,onChange:function(e){return f({buttonUrl:e})}}),React.createElement(Ku,{label:Au("Apply","genesis-blocks"),type:"submit"},React.createElement(Zu,{icon:"editor-break"})))))]}}]),n}(Iu),ed=Nu([Ju("fontSize"),Gu("backgroundColor",{textColor:"color"})])(Xu),td=wp.i18n.__,nd=wp.blocks.registerBlockType,rd=(wp.element.Component,wp.blockEditor),ad=rd.RichText,od=(rd.getFontSizeClass,rd.FontSizePicker,rd.withFontSizes,rd.getColorClassName);nd("genesis-blocks/gb-pricing-table-button",{title:td("Product Button","genesis-blocks"),description:td("Adds a product button component.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[td("pricing table","genesis-blocks"),td("subtitle","genesis-blocks"),td("shop","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:ed,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,a=t.paddingTop,o=t.paddingRight,s=t.paddingBottom,l=t.paddingLeft,c=t.buttonText,u=t.buttonUrl,d=(t.buttonAlignment,t.buttonBackgroundColor),m=t.buttonTextColor,p=t.buttonSize,f=t.buttonShape,h=t.buttonTarget,_=od("background-color",n),g=b()(i()({"has-background":n||r,"gb-pricing-table-button":!0},_,_)),y={backgroundColor:_?void 0:r,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return React.createElement("div",{className:g||void 0,style:y},React.createElement(bn,e,c&&React.createElement("a",{href:u,target:h?"_blank":null,rel:h?"noopener noreferrer":null,className:b()("gb-button",f,p),style:{color:m,backgroundColor:d}},React.createElement(ad.Content,{value:c}))))}});var id=wp.i18n.__,sd=wp.element.Fragment,ld=wp.components.RangeControl;function cd(e){var t=e.marginTop,n=e.marginTopLabel,r=e.marginTopMin,a=e.marginTopMax,o=e.marginEnableTop,i=e.onChangeMarginTop,s=void 0===i?function(){}:i,l=e.marginRight,c=e.marginRightLabel,u=e.marginRightMin,d=e.marginRightMax,m=e.marginEnableRight,p=e.onChangeMarginRight,f=void 0===p?function(){}:p,h=e.marginBottom,_=e.marginBottomLabel,g=e.marginBottomMin,b=e.marginBottomMax,y=e.marginEnableBottom,v=e.onChangeMarginBottom,k=void 0===v?function(){}:v,M=e.marginLeft,L=e.marginLeftLabel,w=e.marginLeftMin,Y=e.marginLeftMax,T=e.marginEnableLeft,S=e.onChangeMarginLeft,R=void 0===S?function(){}:S,x=e.marginVertical,D=e.marginVerticalLabel,E=e.marginEnableVertical,C=e.marginVerticalMin,P=e.marginVerticalMax,j=e.onChangeMarginVertical,O=void 0===j?function(){}:j,H=e.marginHorizontal,z=e.marginHorizontalLabel,B=e.marginEnableHorizontal,A=e.marginHorizontalMin,N=e.marginHorizontalMax,F=e.onChangeMarginHorizontal,I=void 0===F?function(){}:F;return React.createElement(sd,null,o&&React.createElement(ld,{label:n||id("Margin Top","genesis-blocks"),value:t,min:r,max:a,onChange:s}),m&&React.createElement(ld,{label:c||id("Margin Right","genesis-blocks"),value:l,min:u,max:d,onChange:f}),y&&React.createElement(ld,{label:_||id("Margin Bottom","genesis-blocks"),value:h,min:g,max:b,onChange:k}),T&&React.createElement(ld,{label:L||id("Margin Left","genesis-blocks"),value:M,min:w,max:Y,onChange:R}),E&&React.createElement(ld,{label:D||id("Margin Vertical","genesis-blocks"),value:x,min:C,max:P,onChange:O}),B&&React.createElement(ld,{label:z||id("Margin Horizontal","genesis-blocks"),value:H,min:A,max:N,onChange:I}))}function ud(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var dd=wp.i18n.__,md=wp.element.Component,pd=wp.compose.compose,fd=wp.blockEditor,hd=fd.InspectorControls,_d=fd.withColors,gd=fd.ContrastChecker,bd=fd.PanelColorSettings,yd=wp.components,vd=yd.PanelBody,kd=yd.SelectControl,Md=yd.TextControl,Ld=yd.FormToggle,wd=(0,yd.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.backgroundColor,a=n.textColor,o=n.buttonBackgroundColor,i=n.buttonTextColor,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:r||!l?void 0:l.backgroundColor,fallbackTextColor:a||!l?void 0:l.color,fallbackButtonBackgroundColor:o||!l?void 0:l.buttonBackgroundColor,fallbackButtonTextColor:i||!l?void 0:l.buttonTextColor}})),Yd=function(e){m()(n,e);var t=ud(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"doubleOptInChange",value:function(e){this.props.doubleOptIn&&this.props.doubleOptIn(e.target.checked)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.backgroundColor,a=e.setBackgroundColor,o=e.fallbackBackgroundColor,i=e.textColor,s=e.fallbackTextColor,l=e.setTextColor,c=e.buttonBackgroundColor,u=e.fallbackButtonBackgroundColor,d=e.buttonTextColor,m=e.fallbackButtonTextColor,p=e.setButtonBackgroundColor,f=e.setButtonTextColor,h={mailchimp:{label:"Mailchimp",value:"mailchimp",lists:[{label:dd("Select a list","genesis-blocks"),value:""}]}};return genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.lists.map((function(e){return h.mailchimp.lists.push({label:e.name,value:e.id})})),React.createElement(hd,null,React.createElement(vd,{title:dd("Newsletter","genesis-blocks"),initialOpen:!t.mailingList},React.createElement(M,{id:"gb_newsletter_mailingList"},React.createElement(kd,{label:dd("Mailing List","genesis-blocks"),help:dd("The list people will be subscribed to.","genesis-blocks"),options:h.mailchimp.lists,value:t.mailingList,onChange:function(e){return n({mailingList:e})}})),React.createElement(M,{id:"gb_newsletter_successMessage"},React.createElement(Md,{type:"string",label:dd("Success Message","genesis-blocks"),help:dd("The message shown when people successfully subscribe.","genesis-blocks"),value:t.successMessage,onChange:function(e){return n({successMessage:e})}})),React.createElement(M,{id:"gb_newsletter_doubleOptIn"},React.createElement("div",{className:"gb-newsletter-double-opt-in-setting-wrapper"},React.createElement(Ld,{id:"double-opt-in-toggle-"+this.props.instanceId,className:"gb-newsletter-double-opt-in-toggle",checked:t.doubleOptIn,onChange:function(e){return n({doubleOptIn:e.target.checked})}}),React.createElement("label",{className:"gb-newsletter-double-opt-in-setting-label",htmlFor:"double-opt-in-toggle-"+this.props.instanceId},dd("Enable Double Opt-In","genesis-blocks")),React.createElement("p",{className:"description"},dd("Send contacts an opt-in confirmation email when they subscribe to your list.","genesis-blocks"))))),React.createElement(vd,{title:dd("General","genesis-blocks"),initialOpen:!!t.mailingList},React.createElement(M,{id:"gb_newsletter_containerPadding"},React.createElement(Gs,{paddingEnable:!0,paddingTitle:dd("Block Padding","genesis-blocks"),paddingHelp:dd("Adjust the padding applied to the inside of the block.","genesis-blocks"),padding:t.containerPadding,paddingMin:"0",paddingMax:"100",onChangePadding:function(e){return n({containerPadding:e})}})),React.createElement(M,{id:"gb_newsletter_containerMargin"},React.createElement(cd,{marginEnableTop:!0,marginTopLabel:dd("Block Margin Top","genesis-blocks"),marginTop:t.containerMarginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return n({containerMarginTop:e})},marginEnableBottom:!0,marginBottomLabel:dd("Block Margin Bottom","genesis-blocks"),marginBottom:t.containerMarginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return n({containerMarginBottom:e})}})),React.createElement(dn,{enableButtonTarget:!1,buttonSize:t.buttonSize,onChangeButtonSize:function(e){return n({buttonSize:e})},buttonShape:t.buttonShape,onChangeButtonShape:function(e){return n({buttonShape:e})},enableButtonBackgroundColor:!1,enableButtonTextColor:!1})),React.createElement(M,{id:"gb_newsletter_colorOptions"},React.createElement(bd,{title:dd("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r.color,onChange:a,label:dd("Block Background Color","genesis-blocks")},{value:i.color,onChange:l,label:dd("Block Text Color","genesis-blocks")},{value:c.color,onChange:p,label:dd("Button Background Color","genesis-blocks")},{value:d.color,onChange:f,label:dd("Button Text Color","genesis-blocks")}]},React.createElement(gd,{textColor:i.color,backgroundColor:r.color,fallbackTextColor:s,fallbackBackgroundColor:o}),React.createElement(gd,{textColor:d.color,backgroundColor:c.color,fallbackButtonTextColor:m,fallbackButtonBackgroundColor:u}),React.createElement(gd,{textColor:c.color,backgroundColor:r.color,fallbackButtonBackgroundColor:u,fallbackBackgroundColor:o}))))}}]),n}(md),Td=pd([wd,_d("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(Yd);function Sd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Rd=wp.element.Component,xd=(wp.blockEditor.getColorClassName,function(e){m()(n,e);var t=Sd(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n,r=this.props,a=r.attributes,o=r.backgroundColor,s=r.textColor;return t=a.customBackgroundColor?"gb-has-custom-background-color":a.backgroundColor?"has-"+a.backgroundColor+"-background-color":null,n=a.customTextColor?"gb-has-custom-text-color":a.textColor?"has-"+a.textColor+"-color":null,React.createElement("div",{style:{backgroundColor:o.color,padding:a.containerPadding?a.containerPadding:void 0,marginTop:a.containerMarginTop?a.containerMarginTop:void 0,marginBottom:a.containerMarginBottom?a.containerMarginBottom:void 0,color:s.color},className:b()([this.props.className],(e={"gb-block-newsletter":!0,"gb-form-styles":!0,"has-background":a.backgroundColor||a.customBackgroundColor},i()(e,t,t),i()(e,n,n),e))},this.props.children)}}]),n}(Rd));function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ed(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dd(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Pd=wp.i18n.__,jd=wp.compose,Od=jd.compose,Hd=jd.withInstanceId,zd=wp.blockEditor,Bd=(zd.getColorClassName,zd.RichText),Ad=zd.withColors,Nd=wp.element,Fd=Nd.Fragment,Id=Nd.Component,Wd=wp.components,Ud=Wd.TextControl,Vd=(0,Wd.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.backgroundColor,a=n.textColor,o=n.buttonBackgroundColor,i=e.querySelector('[contenteditable="true"]'),s=i?getComputedStyle(i):null;return{fallbackBackgroundColor:r||!s?void 0:s.backgroundColor,fallbackTextColor:a||!s?void 0:s.color,fallbackButtonBackgroundColor:o||!s?void 0:s.buttonBackgroundColor}})),Jd=function(e){m()(n,e);var t=Cd(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.setAttributes({instanceId:e.props.instanceId}),e}return u()(n,[{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.attributes,i=r.isSelected,s=r.setAttributes,l=r.buttonBackgroundColor,c=r.buttonTextColor,u=genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.api_key_defined;return e=o.customButtonBackgroundColor?"gb-has-custom-background-color":o.buttonBackgroundColor?"has-"+o.buttonBackgroundColor+"-background-color":null,t=o.customButtonTextColor?"gb-has-custom-text-color":o.buttonTextColor?"has-"+o.buttonTextColor+"-color":null,[React.createElement(Td,a()({key:"gb-newsletter-inspector-"+this.props.clientId},Ed({setAttributes:s},this.props))),React.createElement(xd,a()({key:"gb-newsletter-container-"+this.props.clientId},this.props),!u&&React.createElement(Fd,null,React.createElement("div",{className:"gb-newsletter-notice"},Pd("You must define your newsletter provider API keys to use this block.","genesis-blocks"),React.createElement("p",null,React.createElement("a",{href:genesis_blocks_newsletter_block_vars.plugin_settings_page_url,target:"_blank",rel:"noopener noreferrer"},Pd("Configure your settings","genesis-blocks"))))),u&&React.createElement(Fd,null,React.createElement(Bd,{tagName:"span",className:"gb-block-newsletter-label",keepPlaceholderOnFocus:!0,allowedFormats:[],value:o.emailInputLabel,onChange:function(e){return n.props.setAttributes({emailInputLabel:e})}}),React.createElement(Ud,{name:"gb-newsletter-email-address"}),React.createElement("div",{className:b()("gb-block-button")},React.createElement(bn,this.props,React.createElement(Bd,{tagName:"span",placeholder:Pd("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o.buttonText,allowedFormats:[],className:b()("gb-button",o.buttonClass,o.buttonShape,o.buttonSize,e,t,{"has-background":o.buttonBackgroundColor||o.customButtonBackgroundColor,"has-text-color":o.buttonTextColor||o.customButtonTextColor}),style:{backgroundColor:l.color,color:c.color},onChange:function(e){return n.props.setAttributes({buttonText:e})}})),i&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o.buttonAlignment),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o.buttonAlignment}}))))]}}]),n}(Id),Gd=Od([Vd,Ad("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(Hd(Jd)),qd=(n(361),n(362),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-newsletter",{title:qd("Email newsletter","genesis-blocks"),description:qd("Add an email newsletter sign-up form.","genesis-blocks"),category:"genesis-blocks",icon:"email-alt",keywords:[qd("Mailchimp","genesis-blocks"),qd("Subscribe","genesis-blocks"),qd("Newsletter","genesis-blocks")],edit:Gd,gb_settings_data:{gb_newsletter_mailingList:{title:qd("Mailing List","genesis-blocks")},gb_newsletter_successMessage:{title:qd("Success Message","genesis-blocks")},gb_newsletter_doubleOptIn:{title:qd("Enable Double Opt-In","genesis-blocks")},gb_newsletter_containerPadding:{title:qd("Form Padding","genesis-blocks")},gb_newsletter_containerMargin:{title:qd("Form Margin","genesis-blocks")},gb_newsletter_colorOptions:{title:qd("Color Options","genesis-blocks")}},save:function(){return null}});var $d=n(31),Kd=n.n($d);var Qd=function(e){return[void 0!==e.backgroundDimRatio&&100!==e.backgroundDimRatio?"gb-has-background-dim":null,(t=e.backgroundDimRatio,100>t?"gb-has-background-dim-"+10*Math.round(t/10):null),e.backgroundImgURL&&e.backgroundSize&&"no-repeat"===e.backgroundRepeat?"gb-background-"+e.backgroundSize:null,e.backgroundImgURL&&e.backgroundRepeat?"gb-background-"+e.backgroundRepeat:null,e.hasParallax?"gb-has-parallax":null];var t},Zd=function(e){return{backgroundImage:e.backgroundImgURL?"url(".concat(e.backgroundImgURL,")"):void 0,backgroundPosition:e.focalPoint?"".concat(100*e.focalPoint.x,"% ").concat(100*e.focalPoint.y,"%"):void 0}};function Xd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function em(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var tm=function(e){m()(n,e);var t=em(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,t=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null;var r,a,o=b()([this.props.className,"gb-layout-columns-"+n.columns,n.layout].concat(Kd()(Qd(n)),[e,t,n.columnMaxWidth&&n.centerColumns?"gb-columns-center":null]),i()({},"align"+n.align,n.align));r=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},a=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xd(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null},Zd(n));return React.createElement("div",{className:o||void 0,style:Object.assign(r,a,s)},this.props.children)}}]),n}(wp.element.Component),nm={};nm.oneEqual=React.createElement("svg",{className:"dashicon",height:"26",viewBox:"0 0 60 30",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"60",height:"30",fill:"#6d6a6f"})),nm.twoEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"33",y:"0",width:"29",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"29",height:"30",fill:"#6d6a6f"})),nm.twoLeftWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"43",y:"0",width:"16",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"39",height:"30",fill:"#6d6a6f"})),nm.twoRightWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"20",y:"0",width:"39",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"16",height:"30",fill:"#6d6a6f"})),nm.threeEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"21.500",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"43",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"})),nm.threeWideCenter=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"31",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"50",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),nm.threeWideLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"30",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"34",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),nm.threeWideRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30",y:"0",width:"30",height:"30",fill:"#6d6a6f"})),nm.fourEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"16",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"32",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"48",y:"0",width:"12",height:"30",fill:"#6d6a6f"})),nm.fourLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"21",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),nm.fourRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38.400",y:"0",width:"21",height:"30",fill:"#6d6a6f"})),nm.fiveEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.400",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"24.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"37.200",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),nm.sixEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"10.330",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"20.660",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30.990",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"41.320",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51.650",y:"0",width:"7",height:"30",fill:"#6d6a6f"})),nm.blockIcon=React.createElement("svg",{viewBox:"0 0 60 34",height:"34",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"38",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"22",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"6",y:"0",width:"12",height:"34",fill:"#6d6a6f"}));var rm=nm,am=wp.i18n.__,om={1:[{name:am("1 Column","genesis-blocks"),key:"gb-1-col-equal",col:1,icon:rm.oneEqual}],2:[{name:am("2 Columns - 50/50","genesis-blocks"),key:"gb-2-col-equal",col:2,icon:rm.twoEqual},{name:am("2 Columns - 75/25","genesis-blocks"),key:"gb-2-col-wideleft",col:2,icon:rm.twoLeftWide},{name:am("2 Columns - 25/75","genesis-blocks"),key:"gb-2-col-wideright",col:2,icon:rm.twoRightWide}],3:[{name:am("3 Columns - 33/33/33","genesis-blocks"),key:"gb-3-col-equal",col:3,icon:rm.threeEqual},{name:am("3 Columns - 25/50/25","genesis-blocks"),key:"gb-3-col-widecenter",col:3,icon:rm.threeWideCenter},{name:am("3 Columns - 50/25/25","genesis-blocks"),key:"gb-3-col-wideleft",col:3,icon:rm.threeWideLeft},{name:am("3 Columns - 25/25/50","genesis-blocks"),key:"gb-3-col-wideright",col:3,icon:rm.threeWideRight}],4:[{name:am("4 Columns - 25/25/25/25","genesis-blocks"),key:"gb-4-col-equal",col:4,icon:rm.fourEqual},{name:am("4 Columns - 40/20/20/20","genesis-blocks"),key:"gb-4-col-wideleft",col:4,icon:rm.fourLeft},{name:am("4 Columns - 20/20/20/40","genesis-blocks"),key:"gb-4-col-wideright",col:4,icon:rm.fourRight}],5:[{name:am("5 Columns","genesis-blocks"),key:"gb-5-col-equal",col:5,icon:rm.fiveEqual}],6:[{name:am("6 Columns","genesis-blocks"),key:"gb-6-col-equal",col:6,icon:rm.sixEqual}]};function im(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var lm=wp.i18n.__,cm=wp.element,um=cm.Fragment,dm=cm.Component,mm=wp.components,pm=mm.PanelBody,fm=mm.RangeControl,hm=mm.Button,_m=mm.ButtonGroup,gm=mm.FocalPointPicker,bm=mm.Icon,ym=mm.ToggleControl,vm=mm.SelectControl,km=wp.blockEditor,Mm=km.MediaUpload,Lm=km.MediaUploadCheck,wm=function(e){m()(n,e);var t=sm(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.setAttributes,o=[{value:"no-repeat",label:lm("No Repeat","genesis-blocks")},{value:"repeat",label:lm("Repeat","genesis-blocks")},{value:"repeat-x",label:lm("Repeat Horizontally","genesis-blocks")},{value:"repeat-y",label:lm("Repeat Vertically","genesis-blocks")}],s=[{value:"auto",label:lm("Auto","genesis-blocks")},{value:"cover",label:lm("Cover","genesis-blocks")},{value:"contain",label:lm("Contain","genesis-blocks")}];return"cover"===r.backgroundSize&&(e=lm("Scales the image as large as possible without stretching the image. Cropped either vertically or horizontally so that no empty space remains.","genesis-blocks")),"contain"===r.backgroundSize&&(e=lm("Scales the image as large as possible without cropping or stretching the image.","genesis-blocks")),"auto"===r.backgroundSize&&(e=lm("Scales the background image in the corresponding direction such that its intrinsic proportions are maintained.","genesis-blocks")),React.createElement(um,null,React.createElement(pm,{title:lm("Background Image","genesis-blocks"),initialOpen:!1},React.createElement(Lm,null,React.createElement(Mm,{onSelect:function(e){a({backgroundImgURL:e.url})},type:"image",value:r.backgroundImgURL,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(_m,{className:"gb-background-button-group"},React.createElement(hm,{className:"gb-inspector-icon-button gb-background-add-button is-button is-default",label:lm("Edit image","genesis-blocks"),onClick:t},React.createElement(bm,{icon:"format-image"}),lm("Select Image","genesis-blocks")),r.backgroundImgURL&&React.createElement(hm,{className:"gb-inspector-icon-button gb-background-remove-button is-button is-default",label:lm("Remove Image","genesis-blocks"),onClick:function(){return a({backgroundImgURL:null})}},React.createElement(bm,{icon:"dismiss"}),lm("Remove","genesis-blocks"))))}})),r.backgroundImgURL&&React.createElement(um,null,React.createElement(gm,{label:lm("Focal Point","genesis-blocks"),url:r.backgroundImgURL,value:r.focalPoint,onChange:function(e){return a({focalPoint:e})}}),React.createElement(fm,{label:lm("Image Opacity","genesis-blocks"),value:r.backgroundDimRatio,onChange:function(e){return t.props.setAttributes({backgroundDimRatio:e})},min:0,max:100,step:10}),React.createElement(ym,{label:lm("Fixed Background","genesis-blocks"),checked:r.hasParallax,onChange:function(){a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?im(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):im(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hasParallax:!r.hasParallax},r.hasParallax?{}:{focalPoint:void 0}))}}),React.createElement(vm,{className:"gb-inspector-help-text",label:lm("Image Display","genesis-blocks"),value:r.backgroundSize,help:e,options:s,onChange:function(e){return t.props.setAttributes({backgroundSize:e})}}),"cover"!==r.backgroundSize&&React.createElement(vm,{label:lm("Image Repeat","genesis-blocks"),value:r.backgroundRepeat,options:o,onChange:function(e){return t.props.setAttributes({backgroundRepeat:e})}}))))}}]),n}(dm);function Ym(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Tm=wp.i18n.__,Sm=wp.element,Rm=Sm.Component,xm=Sm.Fragment,Dm=wp.blockEditor,Em=Dm.InspectorControls,Cm=Dm.PanelColorSettings,Pm=Dm.ContrastChecker,jm=wp.components,Om=jm.PanelBody,Hm=jm.RangeControl,zm=jm.ButtonGroup,Bm=jm.Button,Am=jm.Tooltip,Nm=jm.ToggleControl,Fm=jm.SelectControl,Im=function(e){m()(n,e);var t=Ym(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,a=t.backgroundColor,o=t.setBackgroundColor,i=t.textColor,s=t.setTextColor,l=1;n.columns&&(l=parseInt(n.columns.toString().split("-")));var c=[{value:"px",label:Tm("Pixel (px)","genesis-blocks")},{value:"%",label:Tm("Percent (%)","genesis-blocks")},{value:"em",label:Tm("Em (em)","genesis-blocks")}];return React.createElement(Em,{key:"inspector"},n.layout&&React.createElement(Om,{title:Tm("General","genesis-blocks"),initialOpen:!0,className:"gb-column-select-panel"},React.createElement(M,{id:"gb_column_columns"},React.createElement(Hm,{label:Tm("Column Count","genesis-blocks"),help:Tm("Note: Changing the column count after you've added content to the column can cause loss of content.","genesis-blocks"),value:n.columns,onChange:function(t){return e.props.setAttributes({columns:t,layout:"gb-"+t+"-col-equal"})},min:1,max:6,step:1})),React.createElement("hr",null),(2===n.columns||3===n.columns||4===n.columns)&&React.createElement(xm,null,React.createElement(M,{id:"gb_column_columnLayouts"},React.createElement("p",null,Tm("Column Layout","genesis-blocks")),React.createElement(zm,{"aria-label":Tm("Column Layout","genesis-blocks")},wo()(om[l],(function(t){var n=t.name,a=t.key,o=t.icon;t.col;return React.createElement(Am,{text:n,key:a},React.createElement(Bm,{key:a,className:"gb-column-selector-button",isSmall:!0,onClick:function(){r({layout:a}),e.setState({selectLayout:!1})}},o))}))),React.createElement("p",null,React.createElement("i",null,Tm("Change the layout of your columns.","genesis-blocks"))),React.createElement("hr",null))),React.createElement(M,{id:"gb_column_columnsGap"},React.createElement(Hm,{label:Tm("Column Gap","genesis-blocks"),help:Tm("Adjust the spacing between columns.","genesis-blocks"),value:n.columnsGap,onChange:function(t){return e.props.setAttributes({columnsGap:t})},min:0,max:10,step:1})),React.createElement("hr",null),React.createElement(M,{id:"gb_column_columnMaxWidth"},React.createElement(Hm,{label:Tm("Column Inner Max Width (px)"),help:Tm("Adjust the width of the content inside the container wrapper.","genesis-blocks"),value:n.columnMaxWidth,onChange:function(t){return e.props.setAttributes({columnMaxWidth:t})},min:0,max:2e3,step:1})),0<n.columnMaxWidth&&React.createElement(M,{id:"gb_column_centerColumns"},React.createElement(Nm,{label:Tm("Center Columns In Container","genesis-blocks"),help:Tm("Center the columns in the container when max-width is used.","genesis-blocks"),checked:n.centerColumns,onChange:function(){return e.props.setAttributes({centerColumns:!n.centerColumns})}})),React.createElement("hr",null),React.createElement(M,{id:"gb_column_responsiveToggle"},React.createElement(Nm,{label:Tm("Responsive Columns","genesis-blocks"),help:Tm("Columns will be adjusted to fit on tablets and mobile devices.","genesis-blocks"),checked:n.responsiveToggle,onChange:function(){return e.props.setAttributes({responsiveToggle:!n.responsiveToggle})}}))),React.createElement(M,{id:"gb_column_marginPadding"},React.createElement(Om,{title:Tm("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(Fm,{label:Tm("Margin Unit","genesis-blocks"),help:Tm("Choose between pixel, percent, or em units.","genesis-blocks"),options:c,value:n.marginUnit,onChange:function(t){return e.props.setAttributes({marginUnit:t})}}),React.createElement(Nm,{label:Tm("Sync Margin","genesis-blocks"),help:Tm("Top and bottom margins will have the same value.","genesis-blocks"),checked:n.marginSync,onChange:function(){return e.props.setAttributes({marginSync:!n.marginSync})}}),n.marginSync?React.createElement(cd,{marginEnableVertical:!0,marginVerticalLabel:Tm("Margin Top/Bottom","genesis-blocks"),marginVertical:n.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:function(e){return r({margin:e})}}):React.createElement(cd,{marginEnableTop:!0,marginTop:n.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return r({marginTop:e})},marginEnableBottom:!0,marginBottom:n.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return r({marginBottom:e})}}),React.createElement("hr",null),React.createElement(Fm,{label:Tm("Padding Unit","genesis-blocks"),help:Tm("Choose between pixel, percent, or em units.","genesis-blocks"),options:c,value:n.paddingUnit,onChange:function(t){return e.props.setAttributes({paddingUnit:t})}}),React.createElement(Nm,{label:Tm("Sync Padding","genesis-blocks"),help:Tm("Padding on all sides will have the same value.","genesis-blocks"),checked:n.paddingSync,onChange:function(){return e.props.setAttributes({paddingSync:!n.paddingSync})}}),n.paddingSync?React.createElement(Gs,{paddingEnable:!0,padding:n.padding,paddingMin:"0",paddingMax:"200",onChangePadding:function(e){return r({padding:e})}}):React.createElement(Gs,{paddingEnableTop:!0,paddingTop:n.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:function(e){return r({paddingTop:e})},paddingEnableRight:!0,paddingRight:n.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:function(e){return r({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:n.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:function(e){return r({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:n.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:function(e){return r({paddingLeft:e})}}))),React.createElement(M,{id:"gb_column_colorSettings"},React.createElement(Cm,{title:Tm("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a.color,onChange:o,label:Tm("Background Color","genesis-blocks")},{value:i.color,onChange:s,label:Tm("Text Color","genesis-blocks")}]},React.createElement(Pm,{textColor:i.color,backgroundColor:a.color}))),React.createElement(M,{id:"gb_column_backgroundImagePanel"},React.createElement(wm,this.props)))}}]),n}(Rm);function Wm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Um=wp.i18n.__,Vm=wp.element,Jm=Vm.Component,Gm=Vm.Fragment,qm=wp.compose.compose,$m=wp.blockEditor,Km=$m.BlockControls,Qm=$m.BlockAlignmentToolbar,Zm=$m.InnerBlocks,Xm=$m.withColors,ep=wp.components,tp=ep.Placeholder,np=ep.ButtonGroup,rp=ep.Tooltip,ap=ep.Button,op=["genesis-blocks/gb-column"],ip=as()((function(e){return is()(e,(function(){return["genesis-blocks/gb-column"]}))})),sp=function(e){m()(n,e);var t=Wm(n);function n(e){var r;return l()(this,n),(r=t.apply(this,arguments)).state={selectLayout:!0},r}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=1;n.columns&&(o=parseInt(n.columns.toString().split("-")));var i=[{name:Um("1 Column","genesis-blocks"),key:"one-column",columns:1,icon:rm.oneEqual},{name:Um("2 Columns","genesis-blocks"),key:"two-column",columns:2,icon:rm.twoEqual},{name:Um("3 Columns","genesis-blocks"),key:"three-column",columns:3,icon:rm.threeEqual},{name:Um("4 Columns","genesis-blocks"),key:"four-column",columns:4,icon:rm.fourEqual},{name:Um("5 Columns","genesis-blocks"),key:"five-column",columns:5,icon:rm.fiveEqual},{name:Um("6 Columns","genesis-blocks"),key:"six-column",columns:6,icon:rm.sixEqual}];return!n.layout&&this.state.selectLayout?[React.createElement(tp,{key:"placeholder",icon:"editor-table",label:n.columns?Um("Column Layout","genesis-blocks"):Um("Column Number","genesis-blocks"),instructions:n.columns?Um("Select a layout for this column.","genesis-blocks"):Um("Select the number of columns for this layout.","genesis-blocks"),className:"gb-column-selector-placeholder"},n.columns?React.createElement(Gm,null,React.createElement(np,{"aria-label":Um("Select Column Layout","genesis-blocks"),className:"gb-column-selector-group"},wo()(om[o],(function(t){var n=t.name,a=t.key,o=t.icon;return React.createElement(rp,{text:n,key:a},React.createElement("div",{className:"gb-column-selector"},React.createElement(ap,{key:a,className:b()("gb-column-selector-button",a),isSmall:!0,onClick:function(){r({layout:a}),e.setState({selectLayout:!1})}},o)))}))),React.createElement(ap,{className:"gb-column-selector-button-back",onClick:function(){r({columns:null}),e.setState({selectLayout:!0})}},Um("Return to Column Selection","genesis-blocks"))):React.createElement(np,{"aria-label":Um("Select Row Columns","genesis-blocks"),className:"gb-column-selector-group"},wo()(i,(function(t){var n=t.name,a=t.key,o=t.icon,i=t.columns;return React.createElement(rp,{text:n,key:a},React.createElement("div",{className:"gb-column-selector"},React.createElement(ap,{className:b()("gb-column-selector-button","gb-select-"+a),isSmall:!0,onClick:function(){r({columns:i,layout:1===i||5===i||6===i?a:null}),1===i&&e.setState({selectLayout:!1})}},o)))}))))]:[React.createElement(Km,{key:"controls"},React.createElement(Qm,{value:n.align,onChange:function(e){return r({align:e})},controls:["center","wide","full"]})),React.createElement(Im,a()({},this.props,{key:"inspector"})),React.createElement(tm,a()({},this.props,{backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color,key:"columns"}),React.createElement("div",{className:b()("gb-layout-column-wrap-admin","gb-block-layout-column-gap-"+n.columnsGap,n.responsiveToggle?"gb-is-responsive-column":null),style:{maxWidth:n.columnMaxWidth?n.columnMaxWidth:null}},React.createElement(Zm,{template:ip(n.columns),templateLock:"all",allowedBlocks:op})))]}}]),n}(Jm),lp=qm([Xm("backgroundColor",{textColor:"color"})])(sp);function cp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var up=wp.element.Component,dp=wp.blockEditor.InnerBlocks,mp=function(e){m()(n,e);var t=cp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=b()(["gb-layout-column-wrap","gb-block-layout-column-gap-"+e.columnsGap,e.responsiveToggle?"gb-is-responsive-column":null]);return React.createElement(tm,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement("div",{className:t||void 0,style:{maxWidth:e.columnMaxWidth?e.columnMaxWidth:null}},React.createElement(dp.Content,null)))}}]),n}(up),pp={backgroundImgURL:{type:"string"},backgroundDimRatio:{type:"number",default:100},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundSize:{type:"string",default:"cover"},hasParallax:{type:"boolean",default:!1},focalPoint:{type:"object"}};function fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fp(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _p=wp.i18n.__;function gp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-columns",{title:_p("Advanced Columns","genesis-blocks"),description:_p("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[_p("column","genesis-blocks"),_p("grid","genesis-blocks"),_p("row","genesis-blocks")],attributes:hp(hp({},pp),{},{columns:{type:"number"},layout:{type:"string"},columnsGap:{type:"number",default:2},align:{type:"string"},responsiveToggle:{type:"boolean",default:!0},marginSync:{type:"boolean",default:!1},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},marginUnit:{type:"string",default:"px"},paddingSync:{type:"boolean",default:!1},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingUnit:{type:"string",default:"px"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},columnMaxWidth:{type:"number"},centerColumns:{type:"boolean",default:!0}}),gb_settings_data:{gb_column_columns:{title:_p("Column Count","genesis-blocks")},gb_column_columnLayouts:{title:_p("Column Layout","genesis-blocks")},gb_column_columnsGap:{title:_p("Column Gap","genesis-blocks")},gb_column_columnMaxWidth:{title:_p("Column Inner Max Width","genesis-blocks")},gb_column_centerColumns:{title:_p("Center Columns In Container","genesis-blocks")},gb_column_responsiveToggle:{title:_p("Responsive Columns","genesis-blocks")},gb_column_marginPadding:{title:_p("Margin / Padding","genesis-blocks")},gb_column_colorSettings:{title:_p("Color Settings","genesis-blocks")},gb_column_backgroundImagePanel:{title:_p("Background Settings","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:function(e){return React.createElement(lp,e)},save:function(e){return React.createElement(mp,e)}});var bp=wp.i18n.__,yp=wp.element.Component,vp=wp.compose.compose,kp=wp.blockEditor,Mp=kp.InspectorControls,Lp=kp.PanelColorSettings,Yp=kp.withColors,Tp=kp.ContrastChecker,Sp=wp.components,Rp=Sp.PanelBody,xp=Sp.ToggleControl,Dp=Sp.SelectControl,Ep=function(e){m()(n,e);var t=gp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.backgroundColor,r=t.setBackgroundColor,a=t.textColor,o=t.setTextColor,i=t.attributes,s=t.setAttributes,l=[{value:"px",label:bp("Pixel (px)","genesis-blocks")},{value:"%",label:bp("Percent (%)","genesis-blocks")},{value:"em",label:bp("Em (em)","genesis-blocks")}];return React.createElement(Mp,{key:"inspector"},React.createElement(M,{id:"gb_column_inner_marginPadding"},React.createElement(Rp,{title:bp("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(Dp,{label:bp("Margin Unit","genesis-blocks"),help:bp("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:i.marginUnit,onChange:function(t){return e.props.setAttributes({marginUnit:t})}}),React.createElement(xp,{label:bp("Sync Margin","genesis-blocks"),help:bp("Top and bottom margins will have the same value.","genesis-blocks"),checked:i.marginSync,onChange:function(){return e.props.setAttributes({marginSync:!i.marginSync})}}),i.marginSync?React.createElement(cd,{marginEnableVertical:!0,marginVerticalLabel:bp("Margin Top/Bottom","genesis-blocks"),marginVertical:i.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:function(e){return s({margin:e})}}):React.createElement(cd,{marginEnableTop:!0,marginTop:i.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return s({marginTop:e})},marginEnableBottom:!0,marginBottom:i.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return s({marginBottom:e})}}),React.createElement("hr",null),React.createElement(Dp,{label:bp("Padding Unit","genesis-blocks"),help:bp("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:i.paddingUnit,onChange:function(t){return e.props.setAttributes({paddingUnit:t})}}),React.createElement(xp,{label:bp("Sync Padding","genesis-blocks"),help:bp("Padding on all sides will have the same value.","genesis-blocks"),checked:i.paddingSync,onChange:function(){return e.props.setAttributes({paddingSync:!i.paddingSync})}}),i.paddingSync?React.createElement(Gs,{paddingEnable:!0,padding:i.padding,paddingMin:"0",paddingMax:"200",onChangePadding:function(e){return s({padding:e})}}):React.createElement(Gs,{paddingEnableTop:!0,paddingTop:i.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:function(e){return s({paddingTop:e})},paddingEnableRight:!0,paddingRight:i.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:function(e){return s({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:i.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:function(e){return s({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:i.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:function(e){return s({paddingLeft:e})}}))),React.createElement(M,{id:"gb_column_inner_colorSettings"},React.createElement(Lp,{title:bp("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n.color,onChange:r,label:bp("Background Color","genesis-blocks")},{value:a.color,onChange:o,label:bp("Text Color","genesis-blocks")}]},React.createElement(Tp,{textColor:a.color,backgroundColor:n.color}))),React.createElement(M,{id:"gb_column_inner_backgroundImagePanel"},React.createElement(wm,this.props)))}}]),n}(yp),Cp=vp([Yp("backgroundColor",{textColor:"color"})])(Ep);function Pp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Op=function(e){m()(n,e);var t=jp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},t=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var r,a,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pp(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:n.textAlign?n.textAlign:null},Zd(n));return r=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,a=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null,React.createElement("div",{className:b()(this.props.className,"gb-block-layout-column",n.columnVerticalAlignment?"gb-is-vertically-aligned-"+n.columnVerticalAlignment:null)},React.createElement("div",{className:b.a.apply(void 0,["gb-block-layout-column-inner",r,a].concat(Kd()(Qd(n)))),style:Object.assign(e,t,o)},this.props.children))}}]),n}(wp.element.Component);function Hp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var zp=wp.i18n.__,Bp=wp.compose.compose,Ap=wp.element.Component,Np=wp.components.ToolbarGroup,Fp=wp.blockEditor,Ip=Fp.AlignmentToolbar,Wp=Fp.BlockControls,Up=Fp.InnerBlocks,Vp=Fp.withColors,Jp=function(e){m()(n,e);var t=Hp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=[{icon:"arrow-up-alt2",title:zp("Vertical Align Top","genesis-blocks"),isActive:"top"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"top"})}},{icon:"minus",title:zp("Vertical Align Middle","genesis-blocks"),isActive:"center"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"center"})}},{icon:"arrow-down-alt2",title:zp("Vertical Align Bottom","genesis-blocks"),isActive:"bottom"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"bottom"})}}];return[React.createElement(Wp,{key:"controls"},React.createElement(Ip,{value:t.textAlign,onChange:function(e){n({textAlign:e})}}),React.createElement(Np,{controls:r})),React.createElement(Cp,a()({},this.props,{key:"inspector"})),React.createElement(Op,a()({backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color},this.props,{key:"column"}),React.createElement(Up,{template:[["core/paragraph"]],templateLock:!1,templateInsertUpdatesSelection:!1}))]}}]),n}(Ap),Gp=Bp([Vp("backgroundColor",{textColor:"color"})])(Jp);function qp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var $p=wp.element.Component,Kp=wp.blockEditor.InnerBlocks,Qp=function(e){m()(n,e);var t=qp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes;return React.createElement(Op,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(Kp.Content,null))}}]),n}($p);function Zp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Xp=function(e){m()(n,e);var t=Zp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},t=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var r,a,o={backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:n.textAlign?n.textAlign:null};return r=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,a=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null,React.createElement("div",{className:b()("gb-block-layout-column",n.columnVerticalAlignment?"gb-is-vertically-aligned-"+n.columnVerticalAlignment:null)},React.createElement("div",{className:b()("gb-block-layout-column-inner",r,a),style:Object.assign(e,t,o)},this.props.children))}}]),n}(wp.element.Component);function ef(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var tf=wp.element.Component,nf=wp.blockEditor.InnerBlocks,rf=function(e){m()(n,e);var t=ef(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes;return React.createElement(Xp,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(nf.Content,null))}}]),n}(tf),af=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}},save:function(e){return React.createElement(rf,e)}}];n(363),n(364);function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?of(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lf=wp.i18n.__;(0,wp.blocks.registerBlockType)("genesis-blocks/gb-column",{title:lf("Column","genesis-blocks"),description:lf("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",parent:["genesis-blocks/gb-columns"],keywords:[lf("column","genesis-blocks"),lf("layout","genesis-blocks"),lf("row","genesis-blocks")],attributes:sf(sf({},pp),{},{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}}),gb_settings_data:{gb_column_inner_marginPadding:{title:lf("Margin and Padding","genesis-blocks")},gb_column_inner_colorSettings:{title:lf("Color","genesis-blocks")},gb_column_inner_backgroundImagePanel:{title:lf("Background Image","genesis-blocks")}},edit:function(e){return React.createElement(Gp,e)},save:function(e){return React.createElement(Qp,e)},deprecated:af});var cf=wp.compose.createHigherOrderComponent((function(e){return function(t){return"genesis-blocks/gb-column"===t.block.name&&t.block.attributes.columnVerticalAlignment?React.createElement(e,a()({},t,{className:"gb-is-vertically-aligned-"+t.block.attributes.columnVerticalAlignment})):React.createElement(e,t)}}),"withClientIdClassName");function uf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}wp.hooks.addFilter("editor.BlockListBlock","genesis-blocks/add-vertical-align-class",cf);var df=wp.i18n.__,mf=wp.element,pf=mf.Component,ff=mf.Fragment,hf=wp.components,_f=hf.Button,gf=hf.Dashicon,bf=hf.Tooltip,yf=function(e){m()(n,e);var t=uf(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"addDefaultSrc",value:function(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}},{key:"render",value:function(){var e=this;return React.createElement(ff,null,React.createElement("div",{key:"gb-layout-design-"+this.props.itemKey,className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(_f,{key:this.props.itemKey,className:"gb-layout-insert-button",isSmall:!0,onClick:function(){e.props.import(e.props.content,e.props.clientId)}},React.createElement("img",{src:this.props.image?this.props.image:genesis_blocks_globals.pattern_fallback_image,alt:this.props.name,onError:this.addDefaultSrc})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},this.props.name,React.createElement(bf,{text:this.props.context.favoriteKeys.includes(this.props.itemKey)?df("Remove from Favorites","genesis-blocks"):df("Add to Favorites","genesis-blocks")},React.createElement(_f,{key:"buttonFavorite",className:"gb-layout-favorite-button",isSmall:!0,onClick:function(){e.props.context.toggleFavorite(e.props.itemKey)}},React.createElement(gf,{icon:"heart",className:b()("gb-layout-icon-favorite",this.props.context.favoriteKeys.includes(this.props.itemKey)&&"gb-layout-icon-favorite-active")})))))))))}}]),n}(pf);function vf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var kf=wp.i18n.__,Mf=wp.url.addQueryArgs,Lf=wp.element,wf=Lf.Component,Yf=Lf.Fragment,Tf=function(e){m()(n,e);var t=vf(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.itemKey.match(/\d+/g)[0];return React.createElement(Yf,null,React.createElement("div",{className:"gb-layout-reusable"},React.createElement("div",null,React.createElement("a",{role:"button",key:this.props.itemKey,className:"gb-layout-insert-button",onClick:function(){e.props.import(e.props.content)}},this.props.name)),React.createElement("div",{className:"gb-layout-reusable-actions"},React.createElement("span",null,React.createElement("a",{href:Mf("post.php",{post:t,post_type:"wp_block",action:"edit"}),target:"_blank",rel:"noopener noreferrer"},kf("Edit","genesis-blocks"))))))}}]),n}(wf),Sf=wp.blocks.rawHandler;function Rf(e,t){wp.data.dispatch("core/block-editor").replaceBlocks(t,Sf({HTML:e,mode:"BLOCKS"}))}var xf=wp.element.useState;wp.i18n.__;var Df=wp.components.Button;function Ef(e){return React.createElement(React.Fragment,null,React.createElement("div",{className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(Df,{className:"gb-layout-insert-button gb-layout-collection-button",isSmall:!0,onClick:function(){e.collectionsView.setCurrentView("collection"),e.setCurrentCollection(e.collectionSlug)}},React.createElement("div",{className:"gb-layout-collection-cover"},React.createElement("img",{src:e.context.collections[e.collectionSlug].thumbnail?e.context.collections[e.collectionSlug].thumbnail:genesis_blocks_globals.pattern_fallback_image,alt:e.context.collections[e.collectionSlug].label,onError:function(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},React.createElement("span",{className:"gb-layout-collection-label"},e.context.collections[e.collectionSlug].label))))))))}var Cf=wp.data,Pf=Cf.useDispatch,jf=Cf.useSelect,Of=wp.i18n.__,Hf=wp.components.ButtonGroup;function zf(e){var t,n,r,o=jf((function(e){return e("core/block-editor").getSettings()})).currentCollection,i=(t=xf({view:o?"collection":"collections"}.view),{currentView:(n=bo()(t,2))[0],setCurrentView:n[1]}),s=Pf("core/block-editor").updateSettings,l=function(e){return s({currentCollection:e})};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"layouts",n=[];for(var r in e.context[t]){var a=e.context[t][r];a.hasOwnProperty("collection")&&o===a.collection.slug&&n.push(React.createElement(yf,{key:a.key,itemKey:a.key,name:a.name,image:a.image,import:Rf,content:a.content,context:e.context,clientId:e.clientId}))}return 0===n.length?"":React.createElement(React.Fragment,null,React.createElement("h3",{className:"gb-collection-type-title"},"layouts"===t?Of("Page Layouts","genesis-blocks"):"sections"===t?Of("Page Sections","genesis-blocks"):void 0),React.createElement(Hf,{className:"gb-layout-choices","aria-label":Of("Layout Options in this Collection","genesis-blocks")},n))}return React.createElement("div",{className:"gb-collections"},React.createElement("div",{className:"gb-collections-header"},React.createElement("div",{className:"gb-collections-header-left"},"collection"!==i.currentView?"":React.createElement("div",{className:"gb-collections-view-all-container"},React.createElement("button",{className:"gb-collections-view-all-link",onClick:function(){i.setCurrentView("collections"),i.setCurrentCollection(null)}},React.createElement("span",{className:"dashicons dashicons-arrow-left-alt"}),Of("View All Collections ","genesis-blocks"))),"collections"===i.currentView?React.createElement("h2",{className:"gb-collection-title"},Of("Collections ","genesis-blocks")):"collection"===i.currentView?React.createElement("h2",{className:"gb-collection-title"},Of("Browsing ","genesis-blocks")+(null===(r=e.context.collections[o])||void 0===r?void 0:r.label)):void 0),React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://developer.wpengine.com/genesis-blocks/layouts-block/#collections",tabIndex:"0",className:"gb-collections-link"},React.createElement("span",{className:"dashicons dashicons-info"}),Of("Learn about Collections","genesis-blocks"))),React.createElement("div",{className:"gb-collections-body"},function(t){if("collections"!==i.currentView)return"";var n=[];for(var r in t)n.push(React.createElement(Ef,a()({key:r,collectionSlug:r,collectionsView:i,setCurrentCollection:l},e)));return React.createElement(Hf,{className:"gb-layout-choices","aria-label":Of("Collections Available","genesis-blocks")},n)}(e.context.collections),"collection"!==i.currentView?"":React.createElement(React.Fragment,null,c("sections"),c("layouts"))))}function Bf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Af=wp.compose.compose,Nf=wp.blocks.rawHandler,Ff=wp.data,If=Ff.withSelect,Wf=Ff.withDispatch,Uf=wp.element,Vf=Uf.Component,Jf=Uf.Fragment,Gf=function(e){m()(n,e);var t=Bf(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"layoutTabContent",value:function(){return"gb-layout-tab-reusable-blocks"===this.props.currentTab?React.createElement(Tf,this.props):"gb-layout-tab-collections"===this.props.currentTab?React.createElement(zf,this.props):React.createElement(yf,this.props)}},{key:"render",value:function(){return React.createElement(Jf,null,this.layoutTabContent())}}]),n}(Vf),qf=Af(If((function(e,t){var n,r=t.clientId,a=e("core/block-editor").getBlock;return n=!e("core/editor")||(n=e("core/editor").canUserUseUnfilteredHTML)(),{block:a(r),canUserUseUnfilteredHTML:n}})),Wf((function(e,t){var n=t.block,r=t.canUserUseUnfilteredHTML;return{import:function(t){return e("core/block-editor").replaceBlocks(n.clientId,Nf({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:r}))}}})))(Gf),$f=n(33),Kf=n.n($f),Qf=n(41),Zf=n.n(Qf),Xf=n(15),eh=n.n(Xf);function th(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var nh=wp.apiFetch,rh=Object(Kn.createContext)({favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""}),ah=function(e){m()(r,e);var t,n=th(r);function r(){var e;l()(this,r);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=n.call.apply(n,[this].concat(a)),i()(Zf()(e),"state",{favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""}),e}return u()(r,[{key:"getFavoriteKeys",value:function(){return nh({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"getFavorites",value:function(){var e=this;return nh({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((function(t){var n=[];return Object.values(e.state.all).forEach((function(e){t.includes(e.key)&&n.push(e)})),n})).catch((function(e){return console.error(e)}))}},{key:"addFavorite",value:function(e){return nh({path:"/genesisblocks/v1/layouts/favorites",method:"PATCH",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).catch((function(e){return console.error(e)}))}},{key:"removeFavorite",value:function(e){return nh({path:"/genesisblocks/v1/layouts/favorites",method:"DELETE",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).catch((function(e){return console.error(e)}))}},{key:"componentDidMount",value:(t=Kf()(eh.a.mark((function e(){var t,n=this;return eh.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getFavoriteKeys();case 2:t=e.sent,wp.apiFetch({method:"GET",path:"/genesisblocks/v1/layouts/all?filter=allowed"}).then(function(){var e=Kf()(eh.a.mark((function e(r){var a,o,i,s,l;return eh.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=[],o=[],i=[],s=[],l=[],Object.values(r).forEach((function(e){"layout"===e.type&&a.push(e),"section"===e.type&&o.push(e),"wp_block"===e.type&&i.push(e),e.hasOwnProperty("collection")&&(l.hasOwnProperty(e.collection.slug)||(l[e.collection.slug]=[],e.collection.image=e.image,l[e.collection.slug]=e.collection)),t.includes(e.key)&&s.push(e)})),n.setState({all:r,layouts:a,sections:o,favorites:s,favoriteKeys:t,reusableBlocks:i,collections:l});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(){var e,t=this;return this.state.all?Qn.a.createElement(rh.Provider,{value:{favorites:this.state.favorites,favoriteKeys:this.state.favoriteKeys,layouts:this.state.layouts,sections:this.state.sections,all:this.state.all,reusableBlocks:this.state.reusableBlocks,collections:this.state.collections,toggleFavorite:(e=Kf()(eh.a.mark((function e(n){var r,a;return eh.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getFavoriteKeys();case 2:if(!(r=e.sent).includes(n)){e.next=9;break}return e.next=6,t.removeFavorite(n);case 6:r=e.sent,e.next=12;break;case 9:return e.next=11,t.addFavorite(n);case 11:r=e.sent;case 12:return e.next=14,t.getFavorites();case 14:return a=e.sent,t.setState({favorites:a,favoriteKeys:r}),e.abrupt("return",a);case 17:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}},this.props.children):null}}]),r}(Kn.Component);function oh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var ih=wp.i18n.__,sh=wp.url.addQueryArgs,lh=wp.element,ch=lh.Component,uh=lh.Fragment,dh=wp.components,mh=dh.ButtonGroup,ph=dh.TextControl,fh=dh.SelectControl,hh=function(e){m()(n,e);var t=oh(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).state={category:"all",search:void 0,activeView:"grid"},e}return u()(n,[{key:"getLayoutArray",value:function(){var e=[];switch(this.props.currentTab){case"gb-layout-tab-layouts":e=this.props.context.layouts;break;case"gb-layout-tab-sections":e=this.props.context.sections;break;case"gb-layout-tab-favorites":e=this.props.context.favorites;break;case"gb-layout-tab-reusable-blocks":e=this.props.context.reusableBlocks;break;case"gb-layout-tab-collections":e=this.props.context.collections}return e}},{key:"render",value:function(){var e=this,t=this.getLayoutArray(),n=["all"];if("gb-layout-tab-collections"!==this.props.currentTab)for(var r=0;r<t.length;r++)for(var o=0;o<t[r].category.length;o++)n.includes(t[r].category[o])||n.push(t[r].category[o]);var i=n.map((function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1)}})),s=this.props.data;return"gb-layout-tab-collections"===this.props.currentTab?React.createElement(zf,a()({key:this.props.data.key},this.props)):React.createElement(uh,{key:"layout-library-fragment-"+this.props.clientId},"gb-layout-tab-reusable-blocks"!==this.props.currentTab?React.createElement(uh,null,React.createElement("div",{className:"gb-layout-modal-header"},React.createElement(fh,{key:"layout-library-select-categories-"+this.props.clientId,label:ih("Layout Categories","genesis-blocks"),value:this.state.category,options:i,onChange:function(t){e.setState({category:t})}}),React.createElement(ph,{key:"layout-library-search-layouts-"+this.props.clientId,type:"text",value:this.state.search,placeholder:ih("Search Layouts","genesis-blocks"),onChange:function(t){e.setState({search:t})}}))):React.createElement(uh,null,React.createElement("div",{className:"gb-layout-modal-header gb-layout-modal-header-reusable"},React.createElement("div",null,ih("Reusable Blocks","genesis-blocks")),React.createElement("div",{className:"gb-layout-modal-header-reusable-actions"},React.createElement("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:sh("edit.php",{post_type:"wp_block"}),target:"_blank",rel:"noopener noreferrer"},ih("Manage All Reusable Blocks","genesis-blocks"))))),React.createElement(rh.Consumer,null,(function(t){return React.createElement(mh,{key:"layout-library-context-button-group-"+e.props.clientId,className:b()("gb-layout-choices","current-tab-"+e.props.currentTab,"full"===e.state.activeView?"gb-layout-view-full":null),"aria-label":ih("Layout Options","genesis-blocks")},wo()(s,(function(n){var r=n.name,a=n.key,o=n.image,i=n.content,s=n.category,l=n.keywords,c=n.type;if(("all"===e.state.category||s.includes(e.state.category))&&(!e.state.search||l&&l.some((function(t){return t.toLowerCase().includes(e.state.search.toLowerCase())}))))return React.createElement(qf,{key:"layout-library-item-"+a,name:r,type:c,itemKey:a,image:o,content:i,context:t,clientId:e.props.clientId,currentTab:e.props.currentTab})})))})))}}]),n}(ch),_h=wp.i18n.__,gh=wp.element,bh=gh.Fragment,yh=gh.useState,vh=wp.components,kh=vh.Button,Mh=vh.Dashicon,Lh=vh.Modal,wh=vh.TabPanel,Yh=wp.data.useDispatch;var Th=function(e){var t=yh("gb-layout-tab-collections"),n=bo()(t,2),r=n[0],a=n[1],o=yh(!0),i=bo()(o,2),s=i[0],l=i[1],c=Yh("core/block-editor").removeBlock,u=[];return Object.keys(e.context.collections).length>0&&u.push({name:"gb-layout-tab-collections",title:_h("Collections","genesis-blocks"),className:"gb-layout-tab-collections"}),e.context.sections.length>0&&u.push({name:"gb-layout-tab-sections",title:_h("Sections","genesis-blocks"),className:"gb-layout-tab-sections"}),e.context.layouts.length>0&&u.push({name:"gb-layout-tab-layouts",title:_h("Layouts","genesis-blocks"),className:"gb-layout-tab-layouts"}),u.push({name:"gb-layout-tab-favorites",title:_h("Favorites","genesis-blocks"),className:"gb-layout-tab-favorites"}),e.context.reusableBlocks.length&&u.push({name:"gb-layout-tab-reusable-blocks",title:_h("Reusable Blocks","genesis-blocks"),className:"gb-layout-tab-reusable-blocks"}),React.createElement(bh,{key:"layout-modal-fragment-"+e.clientId},React.createElement(kh,{key:"layout-modal-library-button-"+e.clientId,isPrimary:!0,className:"gb-layout-modal-button",onClick:function(){l(!0)}},_h("Layout Library","genesis-blocks")),s?React.createElement(Lh,{key:"layout-modal-modal-component-"+e.clientId,className:"gb-layout-modal",title:_h("Layout Selector","genesis-blocks"),onRequestClose:function(){l(!1),a(null),c(e.clientId)}},genesis_blocks_globals.pro_activated&&React.createElement("div",{className:"gb-layout-modal-footer"},React.createElement(Mh,{icon:"editor-help"}),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/layouts-block/",target:"_blank",rel:"noopener noreferrer"},_h("Add Custom Layouts","genesis-blocks")),React.createElement("span",null,"·"),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/reusable-blocks/",target:"_blank",rel:"noopener noreferrer"},_h("Reusable Blocks","genesis-blocks")),React.createElement("a",{href:"https://www.research.net/r/XFQYFPP",target:"_blank",rel:"noopener noreferrer",className:"gb-pro-feedback"},React.createElement(Mh,{icon:"admin-comments"})," ",_h("Send Feedback","genesis-blocks"))),React.createElement(wh,{key:"layout-modal-tabpanel-"+e.clientId,className:"gb-layout-modal-panel",activeClass:"gb-layout-modal-active-tab",onSelect:function(e){a(e)},tabs:u},(function(t){var n=_h("Default tab content","genesis-blocks");if(t.name){if("gb-layout-tab-sections"===t.name)return[React.createElement(hh,{key:"layout-library-sections-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.sections,context:e.context})];if("gb-layout-tab-layouts"===t.name)return[React.createElement(hh,{key:"layout-library-layouts-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.layouts,context:e.context})];if("gb-layout-tab-collections"===t.name)return[React.createElement(hh,{key:"layout-library-collections-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.collections,context:e.context})];if("gb-layout-tab-favorites"===t.name)return[React.createElement(hh,{key:"layout-library-favorites-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.favorites,context:e.context})];if("gb-layout-tab-reusable-blocks"===t.name)return[React.createElement(hh,{key:"layout-library-reusable-blocks-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.reusableBlocks,context:e.context})]}return React.createElement("div",null,n)}))):null)};function Sh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_()(e);if(t){var a=_()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var Rh=wp.i18n.__,xh=wp.components.Placeholder,Dh=wp.element,Eh=Dh.Component,Ch=Dh.Fragment,Ph=wp.blockEditor,jh=Ph.BlockControls,Oh=Ph.BlockAlignmentToolbar,Hh=function(e){m()(n,e);var t=Sh(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.clientId;return[React.createElement(Ch,{key:this.props.clientId},React.createElement(jh,{key:"controls"},React.createElement(Oh,{value:t.align,onChange:function(e){return n({align:e})},controls:[]})),React.createElement(xh,{key:"placeholder",label:Rh("Layout Selector","genesis-blocks"),instructions:Rh("Launch the layout library to browse pre-designed sections.","genesis-blocks"),className:"gb-layout-selector-placeholder",icon:"layout"},React.createElement(rh.Consumer,{key:"layouts-context-provider-"+this.props.clientId},(function(e){return React.createElement(Th,{clientId:r,context:e})}))))]}}]),n}(Eh),zh=(n(365),n(366),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-layouts",{title:zh("Layouts","genesis-blocks"),description:zh("Add a pre-defined section or layout to posts and pages.","genesis-blocks"),icon:"layout",category:"genesis-blocks",keywords:[zh("layout","genesis-blocks"),zh("column","genesis-blocks"),zh("section","genesis-blocks")],edit:function(e){return React.createElement(ah,null,React.createElement(Hh,e))},save:function(){return null}});var Bh=!1;function Ah(){var e=wp.blocks.createBlock("genesis-blocks/gb-layouts");wp.data.dispatch("core/block-editor").insertBlocks(e)}wp.data.subscribe((function(){!function(){if(Bh)return;var e=document.querySelector(".edit-post-header__toolbar");if(!e)return;var t=document.createElement("div"),n='<div class="gb-toolbar-insert-layout">';n+='<button id="gbLayoutInsertButton" class="components-button components-icon-button" aria-label="'.concat(zh("Insert Layout","genesis-blocks"),'"><i class="dashicons dashicons-layout gb-toolbar-insert-layout-button"></i> ').concat(zh("Layouts","genesis-blocks"),"</button>"),n+="</div>",t.innerHTML=n,e.appendChild(t);var r=document.querySelector(".components-accessible-toolbar.edit-post-header-toolbar");r&&(r.style.flexGrow=0);document.getElementById("gbLayoutInsertButton").addEventListener("click",Ah),Bh=!0}()}));n(367),n(368);var Nh=["core/paragraph","core/heading"],Fh="Desktop",Ih="Tablet",Wh="Mobile",Uh={Desktop:"default",Tablet:"1200px",Mobile:"600px"};function Vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vh(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Gh=function(e){return e.replace(/([a-z])([A-Z1-9])/g,(function(e,t,n){return t+"-"+n})).toLowerCase()},qh=function(e){return"string"!=typeof e||e.match(/[A-Za-z]+$/)?e:"".concat(e,"px")},$h=function(e,t){var n;return null===(n=t.find((function(t){return e===t.slug})))||void 0===n?void 0:n.size},Kh=n(17);const Qh=e=>{if(!Object(Kh.isObject)(e)||Array.isArray(e))return e;const t=Object(Kh.pickBy)(Object(Kh.mapValues)(e,Qh),Kh.identity);return Object(Kh.isEmpty)(t)?void 0:t};var Zh=function(e){var t=e.clientId,n=e.device,r=e.selectedDevice,a=e.settingName,o=e.settingValue;return React.createElement(React.Fragment,null,o?"@media only screen and (max-width: ".concat(n,") {\n\t\t\t\t#block-").concat(t," {\n\t\t\t\t\t").concat(Gh(a),": ").concat(o," !important\n\t\t\t\t}\n\t\t\t}"):null,r===n&&o?"#block-".concat(t," {\n\t\t\t\t").concat(Gh(a),": ").concat(o," !important\n\t\t\t}"):null)};function Xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function e_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xh(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var t_=wp.blockEditor,n_=t_.InspectorControls,r_=t_.LineHeightControl,a_=wp.blocks.hasBlockSupport,o_=wp.components,i_=o_.Button,s_=o_.FontSizePicker,l_=o_.NavigableMenu,c_=o_.PanelBody,u_=wp.compose.createHigherOrderComponent,d_=wp.data,m_=d_.useDispatch,p_=d_.useSelect,f_=wp.i18n.__,h_=u_((function(e){return function(t){var n=p_((function(e){return e("core/block-editor").getSettings()})),r=n.disableCustomFontSizes,a=n.enableCustomLineHeight,o=n.fontSizes,s=p_((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?t():Fh})),l=m_("core/edit-post").__experimentalSetPreviewDeviceType,c=!a_(t.name,"typography.fontSize",!0)||!(null!=o&&o.length),u=!a_(t.name,"typography.lineHeight",!0)||!a;if(!Nh.includes(t.name)||c&&u)return React.createElement(e,t);var d,m,p,f=function(e){l&&l(e)},h=function(e,n){return t.attributes.gbResponsiveSettings&&t.attributes.gbResponsiveSettings[n]?t.attributes.gbResponsiveSettings[n][e]:""},_=function(e,n){t.setAttributes(i()({},"gbResponsiveSettings",e_(e_({},t.attributes.gbResponsiveSettings),{},i()({},Uh[s],e_(e_({},t.attributes.gbResponsiveSettings[Uh[s]]),{},i()({},e,n))))))},g=h("fontSize",Uh.Mobile),b=h("fontSize",Uh.Tablet);return React.createElement(React.Fragment,null,Object.keys(t.attributes.gbResponsiveSettings).length?React.createElement("style",null,c?null:React.createElement(React.Fragment,null,React.createElement(Zh,{device:Uh.Tablet,selectedDevice:Uh[s],settingName:"fontSize",settingValue:qh($h(b,o)||b),clientId:t.clientId}),React.createElement(Zh,{device:Uh.Mobile,selectedDevice:Uh[s],settingName:"fontSize",settingValue:qh($h(g,o)||g),clientId:t.clientId})),u?null:React.createElement(React.Fragment,null,React.createElement(Zh,{device:Uh.Tablet,selectedDevice:Uh[s],settingName:"lineHeight",settingValue:h("lineHeight",Uh.Tablet),clientId:t.clientId}),React.createElement(Zh,{device:Uh.Mobile,selectedDevice:Uh[s],settingName:"lineHeight",settingValue:h("lineHeight",Uh.Mobile),clientId:t.clientId}))):null,React.createElement(e,t),React.createElement(n_,null,React.createElement(c_,{title:f_("Responsive Typography","genesis-blocks")},React.createElement(l_,{className:"gb-responsive-toggle",onNavigate:function(){},orientation:"horizontal"},React.createElement(i_,{icon:"laptop",showTooltip:!0,label:f_("Desktop view","genesis-blocks"),onClick:function(){return f(Fh)},isPrimary:Fh===s,isSecondary:Fh!==s},f_("Desktop","genesis-blocks")),React.createElement(i_,{icon:"tablet",showTooltip:!0,label:f_("Tablet view","genesis-blocks"),onClick:function(){return f(Ih)},isPrimary:Ih===s,isSecondary:Ih!==s},f_("Tablet","genesis-blocks")),React.createElement(i_,{icon:"smartphone",showTooltip:!0,label:f_("Mobile view","genesis-blocks"),onClick:function(){return f(Wh)},isPrimary:Wh===s,isSecondary:Wh!==s},f_("Mobile","genesis-blocks"))),c?null:React.createElement(s_,{value:function(){var e,n,r,a,i,l;if(Fh===s)return $h(t.attributes.fontSize,o)||$h(null===(e=t.attributes)||void 0===e||null===(n=e.style)||void 0===n||null===(r=n.typography)||void 0===r?void 0:r.fontSize,o)||(null===(a=t.attributes)||void 0===a||null===(i=a.style)||void 0===i||null===(l=i.typography)||void 0===l?void 0:l.fontSize);var c=h("fontSize",Uh[s]);return $h(c,o)||c}(),onChange:function(e){var n=function(e,t){var n;return null===(n=t.find((function(t){return e===t.size})))||void 0===n?void 0:n.slug}(e,o);if(Fh!==s)_("fontSize",n||e);else{var r,a,i,l=e_(e_({},null===(r=t.attributes)||void 0===r?void 0:r.style),{},{typography:e_(e_({},null===(a=t.attributes)||void 0===a||null===(i=a.style)||void 0===i?void 0:i.typography),{},{fontSize:n?void 0:e})});t.setAttributes({style:Qh?Qh(l):l,fontSize:n})}},fontSizes:o,disableCustomFontSizes:r}),u||!r_?null:React.createElement(r_,{__nextHasNoMarginBottom:!0,value:Fh===s?null===(d=t.attributes)||void 0===d||null===(m=d.style)||void 0===m||null===(p=m.typography)||void 0===p?void 0:p.lineHeight:h("lineHeight",Uh[s]),onChange:function(e){if(Fh!==s)_("lineHeight",e);else{var n,r,a,o=e_(e_({},null===(n=t.attributes)||void 0===n?void 0:n.style),{},{typography:e_(e_({},null===(r=t.attributes)||void 0===r||null===(a=r.style)||void 0===a?void 0:a.typography),{},{lineHeight:e})});t.setAttributes({style:Qh?Qh(o):o})}}}))))}}),"withResponsiveSettings"),__=wp.hooks.addFilter;__("blocks.registerBlockType","genesis-blocks/add-responsive-controls-attributes",(function(e,t){return Nh.includes(t)?Jh(Jh({},e),{},{attributes:Jh(Jh({},null==e?void 0:e.attributes),{},i()({},"gbResponsiveSettings",{type:"object",default:{}}))}):e})),__("editor.BlockEdit","genesis-blocks/add-responsive-controls",h_)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]);
1
+ (()=>{var e,t={9945:(e,t,o)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},n.apply(this,arguments)}window.wp.element;var a=o(2779),i=o.n(a);const{Component:r}=wp.element,{applyFilters:l}=wp.hooks;class s extends r{render(){if(void 0===this.props.children)return null;let e=!1;if(void 0!==this.props.children.props&&void 0!==this.props.children.props.name||(e=!0),e&&(void 0===this.props.children._owner||void 0===this.props.children._owner.memoizedProps||void 0===this.props.children._owner.memoizedProps.name))return this.props.children;const t=e?this.props.children._owner.memoizedProps.name:this.props.children.props.name;return l("gb_should_render_block_setting",!0,t,this.props.id,genesis_blocks_globals.user_data)?this.props.children:null}}const{__}=wp.i18n,{Component:c}=wp.element,{InspectorControls:p,PanelColorSettings:g}=wp.blockEditor,{PanelBody:d,RangeControl:u,SelectControl:b}=wp.components;class m extends c{render(){const e=[{value:"left-aligned",label:__("Left Aligned","genesis-blocks")},{value:"right-aligned",label:__("Right Aligned","genesis-blocks")}],{attributes:{testimonialBackgroundColor:t,testimonialTextColor:o,testimonialFontSize:n,testimonialCiteAlign:a},setAttributes:i}=this.props;return React.createElement(p,{key:"inspector"},React.createElement(d,null,React.createElement(s,{id:"gb_testimonial_testimonialFontSize"},React.createElement(u,{label:__("Font Size","genesis-blocks"),value:n,onChange:e=>this.props.setAttributes({testimonialFontSize:e}),min:14,max:24,step:1})),React.createElement(s,{id:"gb_testimonial_testimonialCiteAlign"},React.createElement(b,{label:__("Cite Alignment","genesis-blocks"),description:__("Left or right align the cite name and title.","genesis-blocks"),options:e,value:a,onChange:e=>this.props.setAttributes({testimonialCiteAlign:e})}))),React.createElement(s,{id:"gb_testimonial_testimonialBackgroundColor"},React.createElement(g,{title:__("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>i({testimonialBackgroundColor:e}),label:__("Background Color","genesis-blocks")}]})),React.createElement(s,{id:"gb_testimonial_testimonialTextColor"},React.createElement(g,{title:__("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:e=>i({testimonialTextColor:e}),label:__("Text Color","genesis-blocks")}]})))}}const{Component:h}=wp.element;class k extends h{render(){const{attributes:{testimonialImgURL:e,testimonialBackgroundColor:t,testimonialTextColor:o,testimonialFontSize:n,testimonialCiteAlign:a}}=this.props;return React.createElement("div",{style:{backgroundColor:t||"#f2f2f2",color:o||"#32373c"},className:i()(this.props.className,a,{"gb-has-avatar":e},"gb-font-size-"+n,"gb-block-testimonial")},this.props.children)}}const f={};f.upload=React.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"}));const y=f,{__:v}=wp.i18n,{Component:C,Fragment:R}=wp.element,{RichText:E,AlignmentToolbar:w,BlockControls:x,MediaUpload:T}=wp.blockEditor,{Button:_,Dashicon:S}=wp.components,B=["image"];class z extends C{render(){const{attributes:{testimonialName:e,testimonialTitle:t,testimonialContent:o,testimonialAlignment:a,testimonialImgURL:r,testimonialImgID:l,testimonialImgAlt:s,testimonialTextColor:c},setAttributes:p}=this.props,g=()=>{p({testimonialImgURL:null,testimonialImgID:null,testimonialImgAlt:null})};return[React.createElement(x,{key:"controls"},React.createElement(w,{value:a,onChange:e=>p({testimonialAlignment:e})})),React.createElement(m,n({key:"gb-testimonial-inspector-"+this.props.clientId,setAttributes:p},this.props)),React.createElement(k,n({key:"gb-testimonial-editor-"+this.props.clientId},this.props),React.createElement(E,{tagName:"div",multiline:"p",placeholder:v("Add testimonial text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:i()("gb-testimonial-text"),style:{textAlign:a},onChange:e=>p({testimonialContent:e})}),React.createElement("div",{className:"gb-testimonial-info"},React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement(T,{buttonProps:{className:"change-image"},onSelect:e=>p({testimonialImgID:e.id,testimonialImgURL:e.sizes.thumbnail.url,testimonialImgAlt:e.alt}),allowed:B,type:"image",value:l,render:e=>{let{open:t}=e;return React.createElement(R,null,React.createElement(_,{className:l?"gb-change-image":"gb-add-image",onClick:t},l?React.createElement("img",{className:"gb-testimonial-avatar",src:r,alt:s||null}):y.upload),l&&React.createElement(_,{className:"gb-remove-image",onClick:g},React.createElement(S,{icon:"dismiss"})))}}))),React.createElement(E,{tagName:"h2",placeholder:v("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,className:"gb-testimonial-name",style:{color:c},onChange:e=>this.props.setAttributes({testimonialName:e})}),React.createElement(E,{tagName:"small",placeholder:v("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:t,className:"gb-testimonial-title",style:{color:c},onChange:e=>this.props.setAttributes({testimonialTitle:e})})))]}}const{Component:A}=wp.element,{RichText:N}=wp.blockEditor;class L extends A{render(){const{testimonialName:e,testimonialTitle:t,testimonialContent:o,testimonialAlignment:n,testimonialImgURL:a,testimonialImgAlt:i,testimonialTextColor:r}=this.props.attributes;return React.createElement(k,this.props,React.createElement(N.Content,{tagName:"div",className:"gb-testimonial-text",style:{textAlign:n},value:o}),React.createElement("div",{className:"gb-testimonial-info"},a&&React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement("img",{className:"gb-testimonial-avatar",src:a,alt:i||null}))),e&&React.createElement(N.Content,{tagName:"h2",className:"gb-testimonial-name",style:{color:r||"#32373c"},value:e}),t&&React.createElement(N.Content,{tagName:"small",className:"gb-testimonial-title",style:{color:r||"#32373c"},value:t})))}}const{__:P}=wp.i18n,{registerBlockType:I}=wp.blocks;I("genesis-blocks/gb-testimonial",{title:P("Testimonial","genesis-blocks"),description:P("Add a user testimonial with a name and title.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[P("testimonial","genesis-blocks"),P("quote","genesis-blocks"),P("atomic","genesis-blocks")],attributes:{testimonialName:{type:"array",selector:".gb-testimonial-name",source:"children"},testimonialTitle:{type:"array",selector:".gb-testimonial-title",source:"children"},testimonialContent:{type:"array",selector:".gb-testimonial-text",source:"children"},testimonialAlignment:{type:"string"},testimonialImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},testimonialImgID:{type:"number"},testimonialImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},testimonialBackgroundColor:{type:"string",default:"#f2f2f2"},testimonialTextColor:{type:"string",default:"#32373c"},testimonialFontSize:{type:"number",default:18},testimonialCiteAlign:{type:"string",default:"left-aligned"}},gb_settings_data:{gb_testimonial_testimonialFontSize:{title:P("Font Size","genesis-blocks")},gb_testimonial_testimonialCiteAlign:{title:P("Cite Alignment","genesis-blocks")},gb_testimonial_testimonialBackgroundColor:{title:P("Background Color","genesis-blocks")},gb_testimonial_testimonialTextColor:{title:P("Text Color","genesis-blocks")}},edit:e=>React.createElement(z,e),save:e=>React.createElement(L,e)});const{__:M}=wp.i18n,{Component:F}=wp.element,{InspectorControls:O,PanelColorSettings:U}=wp.blockEditor,{PanelBody:D,RangeControl:j,SelectControl:W,TextControl:V}=wp.components;class H extends F{render(){const{profileFontSize:e,profileBackgroundColor:t,profileTextColor:o,profileLinkColor:n,twitter:a,facebook:i,instagram:r,pinterest:l,google:c,youtube:p,github:g,linkedin:d,wordpress:u,email:b,website:m,profileAvatarShape:h}=this.props.attributes,{setAttributes:k}=this.props,f=[{value:"square",label:M("Square","genesis-blocks")},{value:"round",label:M("Round","genesis-blocks")}];return React.createElement(O,{key:"inspector"},React.createElement(D,null,React.createElement(s,{id:"gb_author_profile_profileFontSize"},React.createElement(j,{label:M("Font Size","genesis-blocks"),value:e,onChange:e=>this.props.setAttributes({profileFontSize:e}),min:14,max:24,step:1})),React.createElement(s,{id:"gb_author_profile_profileAvatarShape"},React.createElement(W,{label:M("Avatar Shape","genesis-blocks"),description:M("Choose between a round or square avatar shape.","genesis-blocks"),options:f,value:h,onChange:e=>this.props.setAttributes({profileAvatarShape:e})})),React.createElement(s,{id:"gb_author_profile_profileBackgroundColor"},React.createElement(U,{title:M("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>k({profileBackgroundColor:e}),label:M("Background Color","genesis-blocks")}]})),React.createElement(s,{id:"gb_author_profile_profileTextColor"},React.createElement(U,{title:M("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:e=>k({profileTextColor:e}),label:M("Text Color","genesis-blocks")}]})),React.createElement(s,{id:"gb_author_profile_profileLinkColor"},React.createElement(U,{title:M("Social Link Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>k({profileLinkColor:e}),label:M("Social Link Color","genesis-blocks")}]}))),React.createElement(s,{id:"gb_author_profile_socialLinks"},React.createElement(D,{title:M("Social Links","genesis-blocks"),initialOpen:!1},React.createElement("p",null,M("Add links to your social media site and they will appear in the bottom of the profile box.","genesis-blocks")),React.createElement(V,{label:M("Twitter URL","genesis-blocks"),type:"url",value:a,onChange:e=>this.props.setAttributes({twitter:e})}),React.createElement(V,{label:M("Facebook URL","genesis-blocks"),type:"url",value:i,onChange:e=>this.props.setAttributes({facebook:e})}),React.createElement(V,{label:M("Instagram URL","genesis-blocks"),type:"url",value:r,onChange:e=>this.props.setAttributes({instagram:e})}),React.createElement(V,{label:M("Pinterest URL","genesis-blocks"),type:"url",value:l,onChange:e=>this.props.setAttributes({pinterest:e})}),React.createElement(V,{label:M("Google URL","genesis-blocks"),type:"url",value:c,onChange:e=>this.props.setAttributes({google:e})}),React.createElement(V,{label:M("YouTube URL","genesis-blocks"),type:"url",value:p,onChange:e=>this.props.setAttributes({youtube:e})}),React.createElement(V,{label:M("Github URL","genesis-blocks"),type:"url",value:g,onChange:e=>this.props.setAttributes({github:e})}),React.createElement(V,{label:M("LinkedIn URL","genesis-blocks"),type:"url",value:d,onChange:e=>this.props.setAttributes({linkedin:e})}),React.createElement(V,{label:M("WordPress Profile URL","genesis-blocks"),type:"url",value:u,onChange:e=>this.props.setAttributes({wordpress:e})}),React.createElement(V,{label:M("Email URL","genesis-blocks"),help:M('Supports a URL or an email link. Email links must be prefixed with "mailto:". Example: mailto:test@example.com',"genesis-blocks"),type:"url",value:b,onChange:e=>this.props.setAttributes({email:e})}),React.createElement(V,{label:M("Website URL","genesis-blocks"),type:"url",value:m,onChange:e=>this.props.setAttributes({website:e})}))))}}const{Component:q}=wp.element;class G extends q{render(){const{profileAlignment:e,profileImgURL:t,profileFontSize:o,profileBackgroundColor:n,profileTextColor:a,profileAvatarShape:r}=this.props.attributes;return React.createElement("div",{style:{backgroundColor:n,color:a},className:i()(this.props.className,e,r,{"gb-has-avatar":t},"gb-font-size-"+o,"gb-block-profile","gb-profile-columns")},this.props.children)}}const{__:$}=wp.i18n,{Component:K}=wp.element;class Y extends K{render(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Website","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-website-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-website-"+this.props.clientId},$("Visit Website (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"})))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Twitter","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-twitter-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-twitter-"+this.props.clientId},$("Visit Twitter account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Facebook","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-facebook-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-facebook-"+this.props.clientId},$("Visit Facebook account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Instagram","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-instagram-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-instagram-"+this.props.clientId},$("Visit Instagram account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Pinterest","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-pinterest-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-pinterest-"+this.props.clientId},$("Visit Pinterest account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"})))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Google","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-google-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-google-"+this.props.clientId},$("Visit Google account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("YouTube","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-youtube-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-youtube-"+this.props.clientId},$("Visit YouTube account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("LinkedIn","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-linkedin-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-linkedin-"+this.props.clientId},$("Visit LinkedIn account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Github","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-github-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-github-"+this.props.clientId},$("Visit GitHub account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("WordPress","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-wordpress-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-wordpress-"+this.props.clientId},$("Visit WordPress account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M21.469 6.825c.84 1.537 1.318 3.3 1.318 5.175 0 3.979-2.156 7.456-5.363 9.325l3.295-9.527c.615-1.54.82-2.771.82-3.864 0-.405-.026-.78-.07-1.11m-7.981.105c.647-.03 1.232-.105 1.232-.105.582-.075.514-.93-.067-.899 0 0-1.755.135-2.88.135-1.064 0-2.85-.15-2.85-.15-.585-.03-.661.855-.075.885 0 0 .54.061 1.125.09l1.68 4.605-2.37 7.08L5.354 6.9c.649-.03 1.234-.1 1.234-.1.585-.075.516-.93-.065-.896 0 0-1.746.138-2.874.138-.2 0-.438-.008-.69-.015C4.911 3.15 8.235 1.215 12 1.215c2.809 0 5.365 1.072 7.286 2.833-.046-.003-.091-.009-.141-.009-1.06 0-1.812.923-1.812 1.914 0 .89.513 1.643 1.06 2.531.411.72.89 1.643.89 2.977 0 .915-.354 1.994-.821 3.479l-1.075 3.585-3.9-11.61.001.014zM12 22.784c-1.059 0-2.081-.153-3.048-.437l3.237-9.406 3.315 9.087c.024.053.05.101.078.149-1.12.393-2.325.609-3.582.609M1.211 12c0-1.564.336-3.05.935-4.39L7.29 21.709C3.694 19.96 1.212 16.271 1.211 12M12 0C5.385 0 0 5.385 0 12s5.385 12 12 12 12-5.385 12-12S18.615 0 12 0"})))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":$("Email","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-email-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-email-"+this.props.clientId},$("Email","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})))))}}const{Component:Q}=wp.element;class X extends Q{render(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}const{__:Z}=wp.i18n,{Component:J,Fragment:ee}=wp.element,{RichText:te,AlignmentToolbar:oe,BlockControls:ne,MediaUpload:ae}=wp.blockEditor,{Button:ie,Dashicon:re}=wp.components,le=["image"];class se extends J{constructor(){super(...arguments),this.props.attributes.clientId&&this.props.attributes.clientId===this.props.clientId||this.props.setAttributes({clientId:this.props.clientId})}render(){const{attributes:{profileName:e,profileTitle:t,profileContent:o,profileAlignment:a,profileImgURL:r,profileImgID:l,profileImgAlt:s,profileTextColor:c},setAttributes:p}=this.props;return[React.createElement(ne,{key:"controls"},React.createElement(oe,{value:a,onChange:e=>p({profileAlignment:e})})),React.createElement(H,n({key:"gb-author-profile-inspector-"+this.props.clientId,setAttributes:p},this.props)),React.createElement(G,n({key:"gb-author-profile-"+this.props.clientId},this.props),React.createElement(X,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement(ae,{buttonProps:{className:"change-image"},onSelect:e=>p({profileImgID:e.id,profileImgURL:e.url,profileImgAlt:e.alt}),allowed:le,type:"image",value:l,render:e=>{let{open:t}=e;return React.createElement(ee,null,React.createElement(ie,{onClick:t},l?React.createElement("img",{className:i()("gb-profile-avatar","gb-change-image","wp-image-"+l),src:r,alt:s}):y.upload),l&&React.createElement(ie,{className:"gb-remove-image",onClick:()=>{p({profileImgID:null,profileImgURL:null,profileImgAlt:null})}},React.createElement(re,{icon:"dismiss"})))}}))),React.createElement("div",{className:i()("gb-profile-column gb-profile-content-wrap")},React.createElement(te,{tagName:"h2",placeholder:Z("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,className:"gb-profile-name",style:{color:c},onChange:e=>p({profileName:e})}),React.createElement(te,{tagName:"p",placeholder:Z("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:t,className:"gb-profile-title",style:{color:c},onChange:e=>p({profileTitle:e})}),React.createElement(te,{tagName:"div",className:"gb-profile-text",multiline:"p",placeholder:Z("Add profile text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],onChange:e=>p({profileContent:e})}),React.createElement(Y,this.props)))]}}const{Component:ce}=wp.element,{RichText:pe}=wp.blockEditor;class ge extends ce{render(){const{profileName:e,profileTitle:t,profileContent:o,profileImgURL:n,profileImgAlt:a,profileImgID:r,profileTextColor:l}=this.props.attributes;return React.createElement(G,this.props,n&&r&&React.createElement(X,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:i()("gb-profile-avatar","wp-image-"+r),src:n,alt:a}))),React.createElement("div",{className:i()("gb-profile-column gb-profile-content-wrap")},e&&React.createElement(pe.Content,{tagName:"h2",className:"gb-profile-name",style:{color:l},value:e}),t&&React.createElement(pe.Content,{tagName:"p",className:"gb-profile-title",style:{color:l},value:t}),o&&React.createElement(pe.Content,{tagName:"div",className:"gb-profile-text",value:o}),React.createElement(Y,this.props)))}}const{Component:de}=wp.element;class ue extends de{constructor(e){super(...arguments)}render(){const{profileAlignment:e,profileImgURL:t,profileFontSize:o,profileBackgroundColor:n,profileTextColor:a,profileAvatarShape:r}=this.props.attributes;return React.createElement("div",{style:{backgroundColor:n,color:a},className:i()(this.props.className,e,r,{"gb-has-avatar":t},"gb-font-size-"+o,"gb-block-profile","gb-profile-columns")},this.props.children)}}const{__:be}=wp.i18n,{Component:me}=wp.element;class he extends me{constructor(e){super(...arguments)}render(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer"},be("Website","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fas fa-link"}))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer"},be("Twitter","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-twitter"}))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer"},be("Facebook","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-facebook-f"}))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer"},be("Instagram","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-instagram"}))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer"},be("Pinterest","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-pinterest"}))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer"},be("Google","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-google"}))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer"},be("YouTube","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-youtube"}))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer"},be("LinkedIn","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-linkedin"}))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer"},be("Github","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-github"}))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer"},be("WordPress","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-wordpress-simple"}))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer"},be("Email","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"far fa-envelope"}))))}}const{Component:ke}=wp.element;class fe extends ke{constructor(e){super(...arguments)}render(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}const{Component:ye}=wp.element,{RichText:ve}=wp.blockEditor,Ce={attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},save:class extends ye{constructor(){super(...arguments)}render(){const{profileName:e,profileTitle:t,profileContent:o,profileImgURL:n,profileImgAlt:a,profileImgID:r,profileTextColor:l}=this.props.attributes;return React.createElement(ue,this.props,n&&React.createElement(fe,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:i()("gb-profile-avatar","wp-image-"+r),src:n,alt:a}))),React.createElement("div",{className:i()("gb-profile-column gb-profile-content-wrap")},e&&React.createElement(ve.Content,{tagName:"h2",className:"gb-profile-name",style:{color:l},value:e}),t&&React.createElement(ve.Content,{tagName:"p",className:"gb-profile-title",style:{color:l},value:t}),o&&React.createElement(ve.Content,{tagName:"div",className:"gb-profile-text",value:o}),React.createElement(he,this.props)))}}},{Component:Re}=wp.element,{RichText:Ee}=wp.blockEditor,we=[Ce,{attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},website:{type:"url"}},save:class extends Re{constructor(){super(...arguments)}render(){const{profileName:e,profileTitle:t,profileContent:o,profileImgURL:n,profileTextColor:a}=this.props.attributes;return React.createElement(G,this.props,n&&React.createElement(X,this.props,React.createElement("div",{className:"gb-profile-image-square"},React.createElement("img",{className:"gb-profile-avatar",src:n,alt:"avatar"}))),React.createElement("div",{className:i()("gb-profile-column gb-profile-content-wrap")},e&&React.createElement(Ee.Content,{tagName:"h2",className:"gb-profile-name",style:{color:a},value:e}),t&&React.createElement(Ee.Content,{tagName:"p",className:"gb-profile-title",style:{color:a},value:t}),o&&React.createElement(Ee.Content,{tagName:"div",className:"gb-profile-text",value:o}),React.createElement(Y,this.props)))}}}],{__:xe}=wp.i18n,{registerBlockType:Te}=wp.blocks;Te("genesis-blocks/gb-profile-box",{title:xe("Profile Box","genesis-blocks"),description:xe("Add a profile box with bio info and social media links.","genesis-blocks"),icon:"admin-users",category:"genesis-blocks",keywords:[xe("author","genesis-blocks"),xe("profile","genesis-blocks"),xe("atomic","genesis-blocks"),xe("genesis","genesis-blocks")],attributes:{clientId:{type:"string",default:""},profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},gb_settings_data:{gb_author_profile_profileFontSize:{title:xe("Font Size","genesis-blocks")},gb_author_profile_profileAvatarShape:{title:xe("Avatar Shape","genesis-blocks")},gb_author_profile_profileBackgroundColor:{title:xe("Background Color","genesis-blocks")},gb_author_profile_profileTextColor:{title:xe("Text Color","genesis-blocks")},gb_author_profile_profileLinkColor:{title:xe("Social Link Color","genesis-blocks")},gb_author_profile_socialLinks:{title:xe("Social Links","genesis-blocks")}},edit:e=>React.createElement(se,n({},e,{clientId:e.clientId})),save:e=>React.createElement(ge,n({},e,{clientId:e.attributes.clientId})),deprecated:we});const{__:_e}=wp.i18n,{Component:Se}=wp.element,{PanelColorSettings:Be,InspectorControls:ze}=wp.blockEditor,{PanelBody:Ae,RangeControl:Ne,SelectControl:Le}=wp.components;class Pe extends Se{render(){const e=[{value:null,label:_e("Always Show","genesis-blocks")},{value:"gb-dismissable",label:_e("Dismissible","genesis-blocks")}],{attributes:{noticeBackgroundColor:t,noticeTextColor:o,noticeTitleColor:n,noticeFontSize:a,noticeDismiss:i}}=this.props,{setAttributes:r}=this.props;return React.createElement(ze,{key:"inspector"},React.createElement(Ae,null,React.createElement(s,{id:"gb_notice_noticeFontSize"},React.createElement(Ne,{label:_e("Font Size","genesis-blocks"),value:a,onChange:e=>this.props.setAttributes({noticeFontSize:e}),min:14,max:24,step:1})),React.createElement(s,{id:"gb_notice_noticeDismiss"},React.createElement(Le,{label:_e("Notice Display","genesis-blocks"),description:_e("Do you want the message to always show or dismissible?","genesis-blocks"),options:e,value:i,onChange:e=>this.props.setAttributes({noticeDismiss:e})}))),React.createElement(s,{id:"gb_notice_colorSettings"},React.createElement(Be,{title:_e("Notice Color","genesis-blocks"),colorValue:t,initialOpen:!1,colorSettings:[{value:t,onChange:e=>r({noticeBackgroundColor:e}),colors:[{color:"#00d1b2",name:"teal"},{color:"#3373dc",name:"royal blue"},{color:"#209cef",name:"sky blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"},{color:"#392F43",name:"black"}],label:_e("Notice Color","genesis-blocks")}]}),React.createElement(Be,{title:_e("Title Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>r({noticeTitleColor:e}),label:_e("Title Color","genesis-blocks")}]}),React.createElement(Be,{title:_e("Text Color","genesis-blocks"),colorValue:o,initialOpen:!1,colorSettings:[{value:o,onChange:e=>r({noticeTextColor:e}),label:_e("Text Color","genesis-blocks")}]})))}}var Ie=o(8762),Me=o.n(Ie);const{Component:Fe}=wp.element;class Oe extends Fe{render(){const{attributes:{noticeTitle:e,noticeAlignment:t,noticeBackgroundColor:o,noticeTextColor:n,noticeFontSize:a,noticeDismiss:r}}=this.props,l=(s=r+e,Me()(s).substr(0,6));var s;return React.createElement("div",{style:{color:n,textAlign:t,backgroundColor:o},className:i()(this.props.className,r,"gb-font-size-"+a,"gb-block-notice"),"data-id":l},this.props.children)}}const{Component:Ue}=wp.element;class De extends Ue{render(){const{attributes:{noticeTitleColor:e}}=this.props;return React.createElement("div",{className:"gb-notice-dismiss",style:{fill:e,color:e}},this.props.children)}}const je={};je.upload=React.createElement("svg",{width:"20px",height:"20px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"})),je.dismiss=React.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},React.createElement("path",{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zM15 13l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"}));const We=je,{__:Ve}=wp.i18n,{Component:He}=wp.element,{registerBlockType:qe}=wp.blocks,{RichText:Ge,AlignmentToolbar:$e,BlockControls:Ke}=wp.blockEditor;qe("genesis-blocks/gb-notice",{title:Ve("Notice","genesis-blocks"),description:Ve("Add a stylized text notice.","genesis-blocks"),icon:"format-aside",category:"genesis-blocks",keywords:[Ve("notice","genesis-blocks"),Ve("message","genesis-blocks"),Ve("atomic","genesis-blocks")],attributes:{noticeTitle:{type:"string",selector:".gb-notice-title"},noticeContent:{type:"array",selector:".gb-notice-text",source:"children"},noticeAlignment:{type:"string"},noticeBackgroundColor:{type:"string",default:"#00d1b2"},noticeTextColor:{type:"string",default:"#32373c"},noticeTitleColor:{type:"string",default:"#fff"},noticeFontSize:{type:"number",default:18},noticeDismiss:{type:"string",default:""}},gb_settings_data:{gb_notice_noticeFontSize:{title:Ve("Font Size","genesis-blocks")},gb_notice_noticeDismiss:{title:Ve("Notice Display","genesis-blocks")},gb_notice_colorSettings:{title:Ve("Notice Color","genesis-blocks")}},edit:class extends He{render(){const{attributes:{noticeTitle:e,noticeContent:t,noticeAlignment:o,noticeBackgroundColor:a,noticeTitleColor:r,noticeDismiss:l},setAttributes:s}=this.props;return[React.createElement(Ke,{key:"controls"},React.createElement($e,{value:o,onChange:e=>s({noticeAlignment:e})})),React.createElement(Pe,n({key:"gb-notice-inspector-"+this.props.clientId,setAttributes:s},this.props)),React.createElement(Oe,n({key:"gb-notice-noticebox-"+this.props.clientId},this.props),l&&"gb-dismissable"===l&&React.createElement(De,this.props,We.dismiss),React.createElement(Ge,{tagName:"p",placeholder:Ve("Notice Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,className:i()("gb-notice-title"),style:{color:r},onChange:e=>s({noticeTitle:e})}),React.createElement(Ge,{tagName:"div",multiline:"p",placeholder:Ve("Add notice text…","genesis-blocks"),value:t,className:i()("gb-notice-text"),style:{borderColor:a},onChange:e=>s({noticeContent:e})}))]}},save(e){const{noticeTitle:t,noticeContent:o,noticeBackgroundColor:n,noticeTitleColor:a,noticeDismiss:i}=e.attributes;return React.createElement(Oe,e,i&&"gb-dismissable"===i&&React.createElement(De,e,We.dismiss),t&&React.createElement("div",{className:"gb-notice-title",style:{color:a}},React.createElement(Ge.Content,{tagName:"p",value:t})),o&&React.createElement(Ge.Content,{tagName:"div",className:"gb-notice-text",style:{borderColor:n},value:o}))}});const{__:Ye}=wp.i18n,{Component:Qe}=wp.element,{InspectorControls:Xe}=wp.blockEditor,{RangeControl:Ze,SelectControl:Je,PanelBody:et}=wp.components;class tt extends Qe{render(){const{dropCapFontSize:e,dropCapStyle:t}=this.props.attributes,o=[{value:"gb-drop-cap-letter",label:Ye("Letter","genesis-blocks")},{value:"gb-drop-cap-square",label:Ye("Square","genesis-blocks")},{value:"gb-drop-cap-border",label:Ye("Border","genesis-blocks")}];return React.createElement(Xe,{key:"inspector"},React.createElement(et,null,React.createElement(s,{id:"gb_dropcap_dropCapFontSize"},React.createElement(Ze,{label:Ye("Drop Cap Size","genesis-blocks"),value:e,onChange:e=>this.props.setAttributes({dropCapFontSize:e}),min:1,max:6,step:1})),React.createElement(s,{id:"gb_dropcap_dropCapStyle"},React.createElement(Je,{label:Ye("Drop Cap Style","genesis-blocks"),description:Ye("Choose the style of the drop cap in your paragraph","genesis-blocks"),options:o,value:t,onChange:e=>this.props.setAttributes({dropCapStyle:e})}))))}}const{Component:ot}=wp.element;class nt extends ot{render(){const{dropCapAlignment:e,dropCapTextColor:t,dropCapFontSize:o,dropCapStyle:n}=this.props.attributes;return React.createElement("div",{style:{color:t,textAlign:e},className:i()(this.props.className,n,"gb-font-size-"+o,"gb-block-drop-cap")},this.props.children)}}const{__:at}=wp.i18n,{Component:it}=wp.element,{registerBlockType:rt}=wp.blocks,{RichText:lt,AlignmentToolbar:st,BlockControls:ct}=wp.blockEditor;rt("genesis-blocks/gb-drop-cap",{title:at("Drop Cap","genesis-blocks"),description:at("Add a styled drop cap to the beginning of your paragraph.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[at("drop cap","genesis-blocks"),at("quote","genesis-blocks"),at("genesis","genesis-blocks")],attributes:{dropCapContent:{type:"array",selector:".gb-drop-cap-text",source:"children"},dropCapAlignment:{type:"string"},dropCapBackgroundColor:{type:"string",default:"#f2f2f2"},dropCapTextColor:{type:"string",default:"#32373c"},dropCapFontSize:{type:"number",default:3},dropCapStyle:{type:"string",default:"drop-cap-letter"}},gb_settings_data:{gb_dropcap_dropCapFontSize:{title:at("Drop Cap Size","genesis-blocks")},gb_dropcap_dropCapStyle:{title:at("Drop Cap Style","genesis-blocks")}},edit:class extends it{render(){const{attributes:{dropCapContent:e,dropCapAlignment:t,dropCapFontSize:o}}=this.props;return[React.createElement(ct,{key:"controls"},React.createElement(st,{value:t,onChange:e=>this.props.setAttributes({dropCapAlignment:e})})),React.createElement(tt,n({key:"gb-drop-cap-inspector-"+this.props.clientId},this.props)),React.createElement(nt,n({key:"gb-drop-cap-"+this.props.clientId},this.props),React.createElement(lt,{tagName:"div",multiline:"p",placeholder:at("Add paragraph text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:i()("gb-drop-cap-text","gb-font-size-"+o),onChange:e=>this.props.setAttributes({dropCapContent:e})}))]}},save(e){const{dropCapContent:t}=e.attributes;return React.createElement(nt,e,t&&React.createElement(lt.Content,{tagName:"div",className:"gb-drop-cap-text",value:t}))}});const{__:pt}=wp.i18n,{Fragment:gt}=wp.element,{SelectControl:dt,ToggleControl:ut}=wp.components,{PanelColorSettings:bt}=wp.blockEditor;function mt(e){const{enableButtonBackgroundColor:t,buttonBackgroundColor:o,onChangeButtonColor:n=(()=>{}),enableButtonTextColor:a,buttonTextColor:i,onChangeButtonTextColor:r=(()=>{}),enableButtonSize:l,buttonSize:c,onChangeButtonSize:p=(()=>{}),enableButtonShape:g,buttonShape:d,onChangeButtonShape:u=(()=>{}),enableButtonTarget:b,buttonTarget:m,onChangeButtonTarget:h=(()=>{})}=e,k=[{value:"gb-button-size-small",label:pt("Small","genesis-blocks")},{value:"gb-button-size-medium",label:pt("Medium","genesis-blocks")},{value:"gb-button-size-large",label:pt("Large","genesis-blocks")},{value:"gb-button-size-extralarge",label:pt("Extra Large","genesis-blocks")}],f=[{value:"gb-button-shape-square",label:pt("Square","genesis-blocks")},{value:"gb-button-shape-rounded",label:pt("Rounded Square","genesis-blocks")},{value:"gb-button-shape-circular",label:pt("Circular","genesis-blocks")}];return React.createElement(gt,null,React.createElement(s,{id:"gb_button_buttonOptions"},!1!==b&&React.createElement(ut,{label:pt("Open link in new window","genesis-blocks"),checked:m,onChange:h}),!1!==l&&React.createElement(dt,{selected:c,label:pt("Button Size","genesis-blocks"),value:c,options:k.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:p}),!1!==g&&React.createElement(dt,{label:pt("Button Shape","genesis-blocks"),value:d,options:f.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:u}),!1!==t&&React.createElement(bt,{title:pt("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:n,label:pt("Button Color","genesis-blocks")}]}),!1!==a&&React.createElement(bt,{title:pt("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:r,label:pt("Button Text Color","genesis-blocks")}]})))}const{__:ht}=wp.i18n,{Component:kt}=wp.element,{InspectorControls:ft}=wp.blockEditor,{PanelBody:yt}=wp.components;class vt extends kt{render(){const{buttonBackgroundColor:e,buttonTextColor:t,buttonSize:o,buttonShape:n,buttonTarget:a}=this.props.attributes,{setAttributes:i}=this.props;return React.createElement(ft,{key:"inspector"},React.createElement(yt,null,React.createElement(mt,{buttonTarget:a,onChangeButtonTarget:e=>i({buttonTarget:!a}),buttonSize:o,onChangeButtonSize:e=>i({buttonSize:e}),buttonShape:n,onChangeButtonShape:e=>i({buttonShape:e}),buttonBackgroundColor:e,onChangeButtonColor:e=>i({buttonBackgroundColor:e}),buttonTextColor:t,onChangeButtonTextColor:e=>i({buttonTextColor:e})})))}}const{Component:Ct}=wp.element;class Rt extends Ct{render(){return React.createElement("div",{style:{textAlign:this.props.attributes.buttonAlignment},className:i()(this.props.className,"gb-block-button")},this.props.children)}}const{__:Et}=wp.i18n,{Component:wt}=wp.element,{registerBlockType:xt}=wp.blocks,{RichText:Tt,AlignmentToolbar:_t,BlockControls:St,URLInput:Bt}=wp.blockEditor,{Button:zt,Dashicon:At,Icon:Nt}=wp.components;xt("genesis-blocks/gb-button",{title:Et("Button","genesis-blocks"),description:Et("Add a customizable button.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[Et("button","genesis-blocks"),Et("link","genesis-blocks"),Et("genesis","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1}},gb_settings_data:{gb_button_buttonOptions:{title:Et("Button Options","genesis-blocks")}},edit:class extends wt{render(){const{attributes:{buttonText:e,buttonUrl:t,buttonAlignment:o,buttonBackgroundColor:a,buttonTextColor:r,buttonSize:l,buttonShape:s},isSelected:c,setAttributes:p}=this.props;return[React.createElement(St,{key:"controls"},React.createElement(_t,{value:o,onChange:e=>{p({buttonAlignment:e})}})),React.createElement(vt,n({key:"gb-button-inspector-"+this.props.clientId},this.props)),React.createElement(Rt,n({key:"gb-button-custombutton-"+this.props.clientId},this.props),React.createElement(Tt,{tagName:"span",placeholder:Et("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,allowedFormats:[],className:i()("gb-button",s,l),style:{color:r||"#ffffff",backgroundColor:a||"#3373dc"},onChange:e=>p({buttonText:e})})),c&&React.createElement("form",{key:"form-link",className:`blocks-button__inline-link gb-button-${o}`,onSubmit:e=>e.preventDefault(),style:{textAlign:o}},React.createElement(At,{icon:"admin-links"}),React.createElement(Bt,{className:"button-url",value:t,onChange:e=>p({buttonUrl:e})}),React.createElement(zt,{label:Et("Apply","genesis-blocks"),type:"submit"},React.createElement(Nt,{icon:"editor-break"})))]}},save(e){const{buttonText:t,buttonUrl:o,buttonBackgroundColor:n,buttonTextColor:a,buttonSize:r,buttonShape:l,buttonTarget:s}=e.attributes;return React.createElement(Rt,e,t&&React.createElement("a",{href:o,target:s?"_blank":null,rel:s?"noopener noreferrer":null,className:i()("gb-button",l,r),style:{color:a||"#ffffff",backgroundColor:n||"#3373dc"}},React.createElement(Tt.Content,{value:t})))}});const{__:Lt}=wp.i18n,{Component:Pt,Fragment:It}=wp.element,{InspectorControls:Mt,PanelColorSettings:Ft}=wp.blockEditor,{PanelBody:Ot,RangeControl:Ut,ToggleControl:Dt,SelectControl:jt}=wp.components;class Wt extends Pt{render(){const{attributes:{spacerHeight:e,spacerDivider:t,spacerDividerStyle:o,spacerDividerColor:n,spacerDividerHeight:a},setAttributes:i}=this.props,r=[{value:"gb-divider-solid",label:Lt("Solid","genesis-blocks")},{value:"gb-divider-dashed",label:Lt("Dashed","genesis-blocks")},{value:"gb-divider-dotted",label:Lt("Dotted","genesis-blocks")}];return React.createElement(Mt,{key:"inspector"},React.createElement(Ot,null,React.createElement(s,{id:"gb_spacer_spacerHeight"},React.createElement(Ut,{label:Lt("Spacer Height","genesis-blocks"),value:e||"",onChange:e=>this.props.setAttributes({spacerHeight:e}),min:30,max:600})),React.createElement(s,{id:"gb_spacer_spacerDivider"},React.createElement(Dt,{label:Lt("Add Divider","genesis-blocks"),checked:t,onChange:()=>this.props.setAttributes({spacerDivider:!t})}))),t?React.createElement(It,null,React.createElement(Ot,null,React.createElement(s,{id:"gb_spacer_spacerDividerStyle"},React.createElement(jt,{label:Lt("Divider Style","genesis-blocks"),value:o,options:r.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({spacerDividerStyle:e})}})),React.createElement(s,{id:"gb_spacer_spacerDividerHeight"},React.createElement(Ut,{label:Lt("Divider Height","genesis-blocks"),value:a||"",onChange:e=>this.props.setAttributes({spacerDividerHeight:e}),min:1,max:5}))),React.createElement(s,{id:"gb_spacer_dividerColor"},React.createElement(Ft,{title:Lt("Divider Color","genesis-blocks"),initialOpen:!1,colorSettings:[{colors:[{color:"#ddd",name:"white"},{color:"#333",name:"black"},{color:"#3373dc",name:"royal blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"}],value:n,onChange:e=>i({spacerDividerColor:e}),label:Lt("Divider Color","genesis-blocks")}]}))):null)}}const{Component:Vt}=wp.element;class Ht extends Vt{render(){const{spacerDivider:e,spacerDividerStyle:t,spacerDividerColor:o,spacerDividerHeight:n}=this.props.attributes;return React.createElement("div",{style:{color:o},className:i()(this.props.className,"gb-block-spacer",t,{"gb-spacer-divider":e},"gb-divider-size-"+n)},this.props.children)}}const qt=window.React;var Gt=o.n(qt);const $t=window.ReactDOM;var Kt,Yt=(Kt=function(e,t){return Kt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},Kt(e,t)},function(e,t){function __(){this.constructor=e}Kt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),Qt=function(){return Qt=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Qt.apply(this,arguments)},Xt={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},Zt={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Jt={width:"20px",height:"20px",position:"absolute"},eo={top:Qt(Qt({},Xt),{top:"-5px"}),right:Qt(Qt({},Zt),{left:void 0,right:"-5px"}),bottom:Qt(Qt({},Xt),{top:void 0,bottom:"-5px"}),left:Qt(Qt({},Zt),{left:"-5px"}),topRight:Qt(Qt({},Jt),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:Qt(Qt({},Jt),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:Qt(Qt({},Jt),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:Qt(Qt({},Jt),{left:"-10px",top:"-10px",cursor:"nw-resize"})},to=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return Yt(t,e),t.prototype.render=function(){return qt.createElement("div",{className:this.props.className||"",style:Qt(Qt({position:"absolute",userSelect:"none"},eo[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(qt.PureComponent),oo=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function __(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(__.prototype=o.prototype,new __)}}(),no=function(){return no=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},no.apply(this,arguments)},ao={width:"auto",height:"auto"},io=function(e,t,o){return Math.max(Math.min(e,o),t)},ro=function(e,t){return Math.round(e/t)*t},lo=function(e,t){return new RegExp(e,"i").test(t)},so=function(e){return Boolean(e.touches&&e.touches.length)},co=function(e,t,o){void 0===o&&(o=0);var n=t.reduce((function(o,n,a){return Math.abs(n-e)<Math.abs(t[o]-e)?a:o}),0),a=Math.abs(t[n]-e);return 0===o||a<o?t[n]:e},po=function(e){return"auto"===(e=e.toString())||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:e+"px"},go=function(e,t,o,n){if(e&&"string"==typeof e){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%"))return t*(Number(e.replace("%",""))/100);if(e.endsWith("vw"))return o*(Number(e.replace("vw",""))/100);if(e.endsWith("vh"))return n*(Number(e.replace("vh",""))/100)}return e},uo=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],bo="__resizable_base__",mo=function(e){function t(t){var o=e.call(this,t)||this;return o.ratio=1,o.resizable=null,o.parentLeft=0,o.parentTop=0,o.resizableLeft=0,o.resizableRight=0,o.resizableTop=0,o.resizableBottom=0,o.targetLeft=0,o.targetTop=0,o.appendBase=function(){if(!o.resizable||!o.window)return null;var e=o.parentNode;if(!e)return null;var t=o.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0 0 100%",t.classList?t.classList.add(bo):t.className+=bo,e.appendChild(t),t},o.removeBase=function(e){var t=o.parentNode;t&&t.removeChild(e)},o.ref=function(e){e&&(o.resizable=e)},o.state={isResizing:!1,width:void 0===(o.propsSize&&o.propsSize.width)?"auto":o.propsSize&&o.propsSize.width,height:void 0===(o.propsSize&&o.propsSize.height)?"auto":o.propsSize&&o.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},o.onResizeStart=o.onResizeStart.bind(o),o.onMouseMove=o.onMouseMove.bind(o),o.onMouseUp=o.onMouseUp.bind(o),o}return oo(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||ao},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var o=this.resizable.offsetWidth,n=this.resizable.offsetHeight,a=this.resizable.style.position;"relative"!==a&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:o,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:n,this.resizable.style.position=a}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,o=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&e.propsSize[t].toString().endsWith("%")){if(e.state[t].toString().endsWith("%"))return e.state[t].toString();var o=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/o[t]*100+"%"}return po(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?po(t.width):o("width"),height:t&&void 0!==t.height&&!this.state.isResizing?po(t.height):o("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,o=this.parentNode.style.flexWrap;"wrap"!==o&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%",e.style.minHeight="100%";var n={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=o),this.removeBase(e),n},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var o=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==o&&"auto"!==o?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var o,n,a=this.props.boundsByDirection,i=this.state.direction,r=a&&lo("left",i),l=a&&lo("top",i);if("parent"===this.props.bounds){var s=this.parentNode;s&&(o=r?this.resizableRight-this.parentLeft:s.offsetWidth+(this.parentLeft-this.resizableLeft),n=l?this.resizableBottom-this.parentTop:s.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(o=r?this.resizableRight:this.window.innerWidth-this.resizableLeft,n=l?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(o=r?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),n=l?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return o&&Number.isFinite(o)&&(e=e&&e<o?e:o),n&&Number.isFinite(n)&&(t=t&&t<n?t:n),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var o=this.props.scale||1,n=this.props.resizeRatio||1,a=this.state,i=a.direction,r=a.original,l=this.props,s=l.lockAspectRatio,c=l.lockAspectRatioExtraHeight,p=l.lockAspectRatioExtraWidth,g=r.width,d=r.height,u=c||0,b=p||0;return lo("right",i)&&(g=r.width+(e-r.x)*n/o,s&&(d=(g-b)/this.ratio+u)),lo("left",i)&&(g=r.width-(e-r.x)*n/o,s&&(d=(g-b)/this.ratio+u)),lo("bottom",i)&&(d=r.height+(t-r.y)*n/o,s&&(g=(d-u)*this.ratio+b)),lo("top",i)&&(d=r.height-(t-r.y)*n/o,s&&(g=(d-u)*this.ratio+b)),{newWidth:g,newHeight:d}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,o,n){var a=this.props,i=a.lockAspectRatio,r=a.lockAspectRatioExtraHeight,l=a.lockAspectRatioExtraWidth,s=void 0===n.width?10:n.width,c=void 0===o.width||o.width<0?e:o.width,p=void 0===n.height?10:n.height,g=void 0===o.height||o.height<0?t:o.height,d=r||0,u=l||0;if(i){var b=(p-d)*this.ratio+u,m=(g-d)*this.ratio+u,h=(s-u)/this.ratio+d,k=(c-u)/this.ratio+d,f=Math.max(s,b),y=Math.min(c,m),v=Math.max(p,h),C=Math.min(g,k);e=io(e,f,y),t=io(t,v,C)}else e=io(e,s,c),t=io(t,p,g);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var o=this.props.bounds.getBoundingClientRect();this.targetLeft=o.left,this.targetTop=o.top}if(this.resizable){var n=this.resizable.getBoundingClientRect(),a=n.left,i=n.top,r=n.right,l=n.bottom;this.resizableLeft=a,this.resizableRight=r,this.resizableTop=i,this.resizableBottom=l}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var o,n=0,a=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(n=e.nativeEvent.clientX,a=e.nativeEvent.clientY):e.nativeEvent&&so(e.nativeEvent)&&(n=e.nativeEvent.touches[0].clientX,a=e.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable&&!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var i=this.window.getComputedStyle(this.resizable);if("auto"!==i.flexBasis){var r=this.parentNode;if(r){var l=this.window.getComputedStyle(r).flexDirection;this.flexDir=l.startsWith("row")?"row":"column",o=i.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var s={original:{x:n,y:a,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:no(no({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:o};this.setState(s)}},t.prototype.onMouseMove=function(e){var t=this;if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&so(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var o=this.props,n=o.maxWidth,a=o.maxHeight,i=o.minWidth,r=o.minHeight,l=so(e)?e.touches[0].clientX:e.clientX,s=so(e)?e.touches[0].clientY:e.clientY,c=this.state,p=c.direction,g=c.original,d=c.width,u=c.height,b=this.getParentSize(),m=function(e,t,o,n,a,i,r){return n=go(n,e.width,t,o),a=go(a,e.height,t,o),i=go(i,e.width,t,o),r=go(r,e.height,t,o),{maxWidth:void 0===n?void 0:Number(n),maxHeight:void 0===a?void 0:Number(a),minWidth:void 0===i?void 0:Number(i),minHeight:void 0===r?void 0:Number(r)}}(b,this.window.innerWidth,this.window.innerHeight,n,a,i,r);n=m.maxWidth,a=m.maxHeight,i=m.minWidth,r=m.minHeight;var h=this.calculateNewSizeFromDirection(l,s),k=h.newHeight,f=h.newWidth,y=this.calculateNewMaxFromBoundary(n,a);this.props.snap&&this.props.snap.x&&(f=co(f,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(k=co(k,this.props.snap.y,this.props.snapGap));var v=this.calculateNewSizeFromAspectRatio(f,k,{width:y.maxWidth,height:y.maxHeight},{width:i,height:r});if(f=v.newWidth,k=v.newHeight,this.props.grid){var C=ro(f,this.props.grid[0]),R=ro(k,this.props.grid[1]),E=this.props.snapGap||0;f=0===E||Math.abs(C-f)<=E?C:f,k=0===E||Math.abs(R-k)<=E?R:k}var w={width:f-g.width,height:k-g.height};d&&"string"==typeof d&&(d.endsWith("%")?f=f/b.width*100+"%":d.endsWith("vw")?f=f/this.window.innerWidth*100+"vw":d.endsWith("vh")&&(f=f/this.window.innerHeight*100+"vh")),u&&"string"==typeof u&&(u.endsWith("%")?k=k/b.height*100+"%":u.endsWith("vw")?k=k/this.window.innerWidth*100+"vw":u.endsWith("vh")&&(k=k/this.window.innerHeight*100+"vh"));var x={width:this.createSizeForCssProperty(f,"width"),height:this.createSizeForCssProperty(k,"height")};"row"===this.flexDir?x.flexBasis=x.width:"column"===this.flexDir&&(x.flexBasis=x.height),(0,$t.flushSync)((function(){t.setState(x)})),this.props.onResize&&this.props.onResize(e,p,this.resizable,w)}},t.prototype.onMouseUp=function(e){var t=this.state,o=t.isResizing,n=t.direction,a=t.original;if(o&&this.resizable){var i={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(e,n,this.resizable,i),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:no(no({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,o=t.enable,n=t.handleStyles,a=t.handleClasses,i=t.handleWrapperStyle,r=t.handleWrapperClass,l=t.handleComponent;if(!o)return null;var s=Object.keys(o).map((function(t){return!1!==o[t]?qt.createElement(to,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:n&&n[t],className:a&&a[t]},l&&l[t]?l[t]:null):null}));return qt.createElement("div",{className:r,style:i},s)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,o){return-1!==uo.indexOf(o)||(t[o]=e.props[o]),t}),{}),o=no(no(no({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(o.flexBasis=this.state.flexBasis);var n=this.props.as||"div";return qt.createElement(n,no({ref:this.ref,style:o,className:this.props.className},t),this.state.isResizing&&qt.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(qt.PureComponent);const{__:ho}=wp.i18n,{Component:ko}=wp.element,{registerBlockType:fo}=wp.blocks;fo("genesis-blocks/gb-spacer",{title:ho("Spacer","genesis-blocks"),description:ho("Add a spacer and divider between your blocks.","genesis-blocks"),icon:"image-flip-vertical",category:"genesis-blocks",keywords:[ho("spacer","genesis-blocks"),ho("divider","genesis-blocks"),ho("atomic","genesis-blocks")],attributes:{spacerHeight:{type:"number",default:30},spacerDivider:{type:"boolean",default:!1},spacerDividerStyle:{type:"string",default:"gb-divider-solid"},spacerDividerColor:{type:"string",default:"#ddd"},spacerDividerHeight:{type:"number",default:1}},gb_settings_data:{gb_spacer_spacerHeight:{title:ho("Spacer Height","genesis-blocks")},gb_spacer_spacerDivider:{title:ho("Add Divider","genesis-blocks")},gb_spacer_spacerDividerStyle:{title:ho("Divider Style","genesis-blocks")},gb_spacer_spacerDividerHeight:{title:ho("Divider Height","genesis-blocks")},gb_spacer_dividerColor:{title:ho("Divider Color","genesis-blocks")}},edit:class extends ko{render(){const{attributes:{spacerHeight:e,spacerDividerColor:t},className:o,setAttributes:a,toggleSelection:r}=this.props;return[React.createElement(Wt,n({key:"gb-spacer-inspector-"+this.props.clientId},this.props)),React.createElement(Ht,n({key:"gb-spacer-editor-"+this.props.clientId},this.props),React.createElement(mo,{className:i()(o,"gb-spacer-handle"),style:{color:t},size:{width:"100%",height:e},minWidth:"100%",maxWidth:"100%",minHeight:"100%",handleClasses:{bottomLeft:"gb-spacer-control__resize-handle"},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!0,topLeft:!1},onResizeStart:()=>{r(!1)},onResizeStop:(t,o,n,i)=>{a({spacerHeight:parseInt(e+i.height,10)}),r(!0)}}))]}},save(e){const{spacerHeight:t}=e.attributes;return React.createElement(Ht,e,React.createElement("hr",{style:{height:t?t+"px":void 0}}))}});const{__:yo}=wp.i18n,{Component:vo}=wp.element,{InspectorControls:Co}=wp.blockEditor,{PanelBody:Ro,RangeControl:Eo,ToggleControl:wo}=wp.components;class xo extends vo{render(){return React.createElement(Co,{key:"inspector"},React.createElement(Ro,null,React.createElement(s,{id:"gb_accordion_accordionFontSize"},React.createElement(Eo,{label:yo("Title Font Size","genesis-blocks"),value:this.props.attributes.accordionFontSize,onChange:e=>this.props.setAttributes({accordionFontSize:e}),min:14,max:24,step:1})),React.createElement(s,{id:"gb_accordion_accordionOpen"},React.createElement(wo,{label:yo("Open by default","genesis-blocks"),checked:this.props.attributes.accordionOpen,onChange:()=>this.props.setAttributes({accordionOpen:!this.props.attributes.accordionOpen})}))))}}const{Component:To}=wp.element;class _o extends To{render(){return React.createElement("div",{className:i()(this.props.className,this.props.attributes.accordionAlignment?"gb-align-"+this.props.attributes.accordionAlignment:void 0,"gb-block-accordion",this.props.attributes.accordionFontSize?"gb-font-size-"+this.props.attributes.accordionFontSize:null)},this.props.children)}}const{__:So}=wp.i18n,{Component:Bo}=wp.element,{RichText:zo,AlignmentToolbar:Ao,BlockControls:No,InnerBlocks:Lo}=wp.blockEditor;class Po extends Bo{render(){return[React.createElement(No,{key:"controls"},React.createElement(Ao,{value:this.props.attributes.accordionAlignment,onChange:e=>this.props.setAttributes({accordionAlignment:e})})),React.createElement(xo,n({key:"gb-accordion-inspector-"+this.props.clientId},this.props)),React.createElement(_o,n({key:"gb-accordion-"+this.props.clientId},this.props),React.createElement(zo,{tagName:"p",placeholder:So("Accordion Title","genesis-blocks"),value:this.props.attributes.accordionTitle,className:"gb-accordion-title",onChange:e=>this.props.setAttributes({accordionTitle:e})}),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Lo,null)))]}}const{Component:Io}=wp.element,{RichText:Mo,InnerBlocks:Fo}=wp.blockEditor;class Oo extends Io{render(){return React.createElement(_o,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Mo.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Fo.Content,null))))}}const{Component:Uo}=wp.element;class Do extends Uo{constructor(e){super(...arguments)}render(){const{accordionAlignment:e,accordionFontSize:t}=this.props.attributes;return React.createElement("div",{style:{},className:i()(this.props.className,e,"gb-block-accordion","gb-font-size-"+t)},this.props.children)}}const{Component:jo}=wp.element,{RichText:Wo,InnerBlocks:Vo}=wp.blockEditor;class Ho extends jo{constructor(){super(...arguments)}render(){return React.createElement(Do,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Wo.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Vo.Content,null))))}}const qo=[{attributes:{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:18},accordionOpen:{type:"boolean",default:!1}},save:e=>React.createElement(Ho,e)}],{__:Go}=wp.i18n,{registerBlockType:$o}=wp.blocks;$o("genesis-blocks/gb-accordion",{title:Go("Accordion","genesis-blocks"),description:Go("Add accordion block with a title and text.","genesis-blocks"),icon:"editor-ul",category:"genesis-blocks",keywords:[Go("accordion","genesis-blocks"),Go("list","genesis-blocks"),Go("genesis","genesis-blocks")],attributes:{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:void 0},accordionOpen:{type:"boolean",default:!1}},gb_settings_data:{gb_accordion_accordionFontSize:{title:Go("Title Font Size","genesis-blocks")},gb_accordion_accordionOpen:{title:Go("Open by default","genesis-blocks")}},edit:e=>React.createElement(Po,e),save:e=>React.createElement(Oo,e),deprecated:qo});const{__:Ko}=wp.i18n,{Component:Yo}=wp.element,{InspectorControls:Qo,PanelColorSettings:Xo,MediaUpload:Zo}=wp.blockEditor,{Button:Jo,Icon:en,PanelBody:tn,RangeControl:on,SelectControl:nn,ToggleControl:an}=wp.components;class rn extends Yo{render(){const{buttonBackgroundColor:e,buttonTextColor:t,buttonSize:o,buttonShape:n,buttonTarget:a,titleFontSize:i,ctaTextFontSize:r,ctaBackgroundColor:l,ctaTextColor:c,dimRatio:p,imgURL:g,imgID:d}=this.props.attributes,{setAttributes:u}=this.props,b=[{value:"gb-button-size-small",label:Ko("Small")},{value:"gb-button-size-medium",label:Ko("Medium")},{value:"gb-button-size-large",label:Ko("Large")},{value:"gb-button-size-extralarge",label:Ko("Extra Large")}],m=[{value:"gb-button-shape-square",label:Ko("Square")},{value:"gb-button-shape-rounded",label:Ko("Rounded Square")},{value:"gb-button-shape-circular",label:Ko("Circular")}],h=()=>{u({imgID:null,imgURL:null,imgAlt:null})};return React.createElement(Qo,{key:"inspector"},React.createElement(s,{id:"gb_cta_textOptions"},React.createElement(tn,{title:Ko("Text Options","genesis-blocks"),initialOpen:!0},React.createElement(on,{label:Ko("Title Font Size","genesis-blocks"),value:i,onChange:e=>this.props.setAttributes({titleFontSize:e}),min:24,max:60,step:2}),React.createElement(on,{label:Ko("Text Font Size","genesis-blocks"),value:r,onChange:e=>this.props.setAttributes({ctaTextFontSize:e}),min:14,max:24,step:2}),React.createElement(Xo,{title:Ko("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,onChange:e=>u({ctaTextColor:e}),label:Ko("Text Color","genesis-blocks")}]}))),React.createElement(s,{id:"gb_cta_backgroundOptions"},React.createElement(tn,{title:Ko("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,Ko("Select a background image:","genesis-blocks")),React.createElement(Zo,{onSelect:e=>{u({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:d,render:e=>{let{open:t}=e;return React.createElement("div",null,React.createElement(Jo,{className:"gb-cta-inspector-media",label:Ko("Edit image","genesis-blocks"),onClick:t},React.createElement(en,{icon:"format-image"}),Ko("Select Image","genesis-blocks")),g&&!!g.length&&React.createElement(Jo,{className:"gb-cta-inspector-media",label:Ko("Remove Image","genesis-blocks"),onClick:h},React.createElement(en,{icon:"dismiss"}),Ko("Remove","genesis-blocks")))}}),g&&!!g.length&&React.createElement(on,{label:Ko("Image Opacity","genesis-blocks"),value:p,onChange:e=>this.props.setAttributes({dimRatio:e}),min:0,max:100,step:10}),React.createElement(Xo,{title:Ko("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:l,onChange:e=>u({ctaBackgroundColor:e}),label:Ko("Overlay Color","genesis-blocks")}]}))),React.createElement(s,{id:"gb_cta_buttonOptions"},React.createElement(tn,{title:Ko("Button Options","genesis-blocks"),initialOpen:!1},React.createElement(an,{label:Ko("Open link in new window","genesis-blocks"),checked:a,onChange:()=>this.props.setAttributes({buttonTarget:!a})}),React.createElement(nn,{label:Ko("Button Size","genesis-blocks"),value:o,options:b.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({buttonSize:e})}}),React.createElement(nn,{label:Ko("Button Shape","genesis-blocks"),value:n,options:m.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({buttonShape:e})}}),React.createElement(Xo,{title:Ko("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:e,onChange:e=>u({buttonBackgroundColor:e}),label:Ko("Button Color","genesis-blocks")}]}),React.createElement(Xo,{title:Ko("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>u({buttonTextColor:e}),label:Ko("Button Text Color","genesis-blocks")}]}))))}}const{Component:ln}=wp.element;class sn extends ln{render(){const{attributes:{buttonText:e,buttonUrl:t,buttonAlignment:o,buttonBackgroundColor:n,buttonTextColor:a,buttonSize:r,buttonShape:l,buttonTarget:s,ctaTitle:c,ctaText:p,ctaTitleFontSize:g,ctaTextFontSize:d,ctaWidth:u,ctaBackgroundColor:b,ctaTextColor:m}}=this.props,h=i()([this.props.className,"gb-block-cta"],{["gb-font-size-"+d]:d,["align"+u]:u}),k={backgroundColor:b||void 0,textAlign:o||void 0};return React.createElement("div",{style:k,className:h||void 0},this.props.children)}}const{Component:cn}=wp.element;class pn extends cn{constructor(e){super(...arguments)}render(){const{attributes:{buttonText:e,buttonUrl:t,buttonAlignment:o,buttonBackgroundColor:n,buttonTextColor:a,buttonSize:r,buttonShape:l,buttonTarget:s,ctaTitle:c,ctaText:p,ctaTitleFontSize:g,ctaTextFontSize:d,ctaWidth:u,ctaBackgroundColor:b,ctaTextColor:m}}=this.props,h=i()([this.props.className,"gb-block-cta"],{["gb-font-size-"+d]:d,["align"+u]:u}),k={backgroundColor:b||void 0,textAlign:o||void 0};return React.createElement("div",{style:k,className:h||void 0},this.props.children)}}const{Component:gn}=wp.element;class dn extends gn{constructor(e){super(...arguments)}render(){const{attributes:{buttonText:e,buttonUrl:t,buttonAlignment:o,buttonBackgroundColor:n,buttonTextColor:a,buttonSize:r,buttonShape:l,buttonTarget:s,ctaTitle:c,ctaText:p,ctaTitleFontSize:g,ctaTextFontSize:d,ctaWidth:u,ctaBackgroundColor:b,ctaTextColor:m}}=this.props,h=i()([this.props.className,"gb-block-cta"],{["gb-font-size-"+d]:d}),k={backgroundColor:b||void 0,textAlign:o||void 0};return React.createElement("div",{style:k,className:h||void 0},this.props.children)}}const{Component:un}=wp.element;class bn extends un{constructor(e){super(...arguments)}render(){const{attributes:{buttonText:e,buttonUrl:t,buttonAlignment:o,buttonBackgroundColor:n,buttonTextColor:a,buttonSize:r,buttonShape:l,buttonTarget:s,ctaTitle:c,ctaText:p,ctaTitleFontSize:g,ctaTextFontSize:d,ctaWidth:u,ctaBackgroundColor:b,ctaTextColor:m}}=this.props;return React.createElement("div",{style:{backgroundColor:b,textAlign:o},className:i()(this.props.className,`align${u}`,"gb-block-cta","gb-font-size-"+d)},this.props.children)}}const{RichText:mn}=wp.blockEditor,hn=[{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:e=>{const{buttonText:t,buttonUrl:o,buttonAlignment:n,buttonBackgroundColor:a,buttonTextColor:r,buttonSize:l,buttonShape:s,buttonTarget:c,ctaTitle:p,ctaText:g,ctaTitleFontSize:d,titleFontSize:u,ctaTextFontSize:b,ctaWidth:m,ctaBackgroundColor:h,ctaTextColor:k,imgURL:f,imgID:y,imgAlt:v,dimRatio:C}=e.attributes;return React.createElement(pn,e,f&&!!f.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:i()("gb-cta-image",kn(C),{"has-background-dim":0!==C}),src:f,alt:v})),React.createElement("div",{className:"gb-cta-content"},p&&React.createElement(mn.Content,{tagName:"h2",className:i()("gb-cta-title","gb-font-size-"+u),style:{color:k},value:p}),g&&React.createElement(mn.Content,{tagName:"div",className:i()("gb-cta-text","gb-font-size-"+d),style:{color:k},value:g})),t&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:o,target:c?"_blank":"_self",rel:c?"noopener noreferrer":null,className:i()("gb-button",s,l),style:{color:r,backgroundColor:a}},React.createElement(mn.Content,{value:t}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:e=>{const{buttonText:t,buttonUrl:o,buttonAlignment:n,buttonBackgroundColor:a,buttonTextColor:r,buttonSize:l,buttonShape:s,buttonTarget:c,ctaTitle:p,ctaText:g,ctaTitleFontSize:d,ctaTextFontSize:u,ctaWidth:b,ctaBackgroundColor:m,ctaTextColor:h,imgURL:k,imgID:f,imgAlt:y,dimRatio:v}=e.attributes;return React.createElement(dn,e,k&&!!k.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:i()("gb-cta-image",kn(v),{"has-background-dim":0!==v}),src:k,alt:y})),React.createElement("div",{className:"gb-cta-content"},p&&React.createElement(mn.Content,{tagName:"h2",className:i()("gb-cta-title","gb-font-size-"+d),style:{color:h},value:p}),g&&React.createElement(mn.Content,{tagName:"div",className:i()("gb-cta-text","gb-font-size-"+u),style:{color:h},value:g})),t&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:o,target:c?"_blank":"_self",rel:c?"noopener noreferrer":null,className:i()("gb-button",s,l),style:{color:r,backgroundColor:a}},React.createElement(mn.Content,{value:t}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},ctaTitleFontSize:{type:"string",default:"32"},ctaTextFontSize:{type:"string",default:"20"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string",default:"#f2f2f2"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50}},save:e=>{const{buttonText:t,buttonUrl:o,buttonAlignment:n,buttonBackgroundColor:a,buttonTextColor:r,buttonSize:l,buttonShape:s,buttonTarget:c,ctaTitle:p,ctaText:g,ctaTitleFontSize:d,ctaTextFontSize:u,ctaWidth:b,ctaBackgroundColor:m,ctaTextColor:h,imgURL:k,imgID:f,imgAlt:y,dimRatio:v}=e.attributes;return React.createElement(bn,e,k&&!!k.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:i()("gb-cta-image",kn(v),{"has-background-dim":0!==v}),src:k,alt:y})),React.createElement("div",{className:"gb-cta-content"},p&&React.createElement(mn.Content,{tagName:"h2",className:i()("gb-cta-title","gb-font-size-"+d),style:{color:h},value:p}),g&&React.createElement(mn.Content,{tagName:"div",className:i()("gb-cta-text","gb-font-size-"+u),style:{color:h},value:g})),t&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:o,target:c?"_blank":"_self",className:i()("gb-button",s,l),style:{color:r,backgroundColor:a}},React.createElement(mn.Content,{value:t}))))},migrate:e=>({titleFontSize:e.ctaTitleFontSize,...e})}];function kn(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}const{__:fn}=wp.i18n,{Component:yn}=wp.element,{registerBlockType:vn}=wp.blocks,{AlignmentToolbar:Cn,URLInput:Rn,BlockControls:En,BlockAlignmentToolbar:wn,RichText:xn}=wp.blockEditor,{Button:Tn,Dashicon:Sn,Icon:Bn}=wp.components;function zn(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}vn("genesis-blocks/gb-cta",{title:fn("Call To Action","genesis-blocks"),description:fn("Add a call to action section with a title, text, and a button.","genesis-blocks"),icon:"megaphone",category:"genesis-blocks",keywords:[fn("call to action","genesis-blocks"),fn("cta","genesis-blocks"),fn("atomic","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},gb_settings_data:{gb_cta_textOptions:{title:fn("Text Options","genesis-blocks")},gb_cta_backgroundOptions:{title:fn("Background Options","genesis-blocks")},gb_cta_buttonOptions:{title:fn("Button Options","genesis-blocks")}},getEditWrapperProps(e){let{ctaWidth:t}=e;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:class extends yn{render(){const{attributes:{buttonText:e,buttonUrl:t,buttonAlignment:o,buttonBackgroundColor:a,buttonTextColor:r,buttonSize:l,buttonShape:s,ctaTitle:c,ctaText:p,titleFontSize:g,ctaTextFontSize:d,ctaWidth:u,ctaTextColor:b,imgURL:m,imgAlt:h,dimRatio:k},isSelected:f,setAttributes:y}=this.props;return[React.createElement(En,{key:"gb-cta-block-controls-"+this.props.clientId},React.createElement(wn,{value:u,onChange:e=>y({ctaWidth:e}),controls:["center","wide","full"]}),React.createElement(Cn,{value:o,onChange:e=>{y({buttonAlignment:e})}})),React.createElement(rn,n({key:"gb-cta-inspector-"+this.props.clientId,setAttributes:y},this.props)),React.createElement(sn,n({key:"gb-cta-"+this.props.clientId},this.props),m&&!!m.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:i()("gb-cta-image",zn(k),{"has-background-dim":0!==k}),src:m,alt:h})),React.createElement("div",{className:"gb-cta-content"},React.createElement(xn,{tagName:"h2",placeholder:fn("Call-To-Action Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:c,className:i()("gb-cta-title","gb-font-size-"+g),style:{color:b},onChange:e=>y({ctaTitle:e})}),React.createElement(xn,{tagName:"div",multiline:"p",placeholder:fn("Call To Action Text","genesis-blocks"),keepPlaceholderOnFocus:!0,value:p,className:i()("gb-cta-text","gb-font-size-"+d),style:{color:b},onChange:e=>y({ctaText:e})})),React.createElement("div",{className:"gb-cta-button"},React.createElement(xn,{tagName:"span",placeholder:fn("Button text…","genesis-blocks"),value:e,allowedFormats:[],className:i()("gb-button",s,l),style:{color:r,backgroundColor:a},onChange:e=>y({buttonText:e})}),f&&React.createElement("form",{key:"form-link",className:`blocks-button__inline-link gb-button-${o}`,onSubmit:e=>e.preventDefault(),style:{textAlign:o}},React.createElement(Sn,{icon:"admin-links"}),React.createElement(Rn,{className:"button-url",value:t,onChange:e=>y({buttonUrl:e})}),React.createElement(Tn,{label:fn("Apply","genesis-blocks"),type:"submit"},React.createElement(Bn,{icon:"editor-break"})))))]}},save(e){const{buttonText:t,buttonUrl:o,buttonBackgroundColor:n,buttonTextColor:a,buttonSize:r,buttonShape:l,buttonTarget:s,ctaTitle:c,ctaText:p,ctaTitleFontSize:g,titleFontSize:d,ctaTextColor:u,imgURL:b,imgAlt:m,dimRatio:h}=e.attributes;return React.createElement(sn,e,b&&!!b.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:i()("gb-cta-image",zn(h),{"has-background-dim":0!==h}),src:b,alt:m})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(xn.Content,{tagName:"h2",className:i()("gb-cta-title","gb-font-size-"+d),style:{color:u},value:c}),p&&React.createElement(xn.Content,{tagName:"div",className:i()("gb-cta-text","gb-font-size-"+g),style:{color:u},value:p})),t&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:o,target:s?"_blank":"_self",rel:"noopener noreferrer",className:i()("gb-button",l,r),style:{color:a,backgroundColor:n}},React.createElement(xn.Content,{value:t}))))},deprecated:hn});const{__:An}=wp.i18n,{Component:Nn}=wp.element,{InspectorControls:Ln}=wp.blockEditor,{PanelBody:Pn,SelectControl:In,ToggleControl:Mn}=wp.components;class Fn extends Nn{render(){const e=[{value:"gb-share-icon-text",label:An("Icon and Text","genesis-blocks")},{value:"gb-share-icon-only",label:An("Icon Only","genesis-blocks")},{value:"gb-share-text-only",label:An("Text Only","genesis-blocks")}],t=[{value:"gb-share-shape-square",label:An("Square","genesis-blocks")},{value:"gb-share-shape-rounded",label:An("Rounded Square","genesis-blocks")},{value:"gb-share-shape-circular",label:An("Circular","genesis-blocks")}],o=[{value:"gb-share-size-small",label:An("Small","genesis-blocks")},{value:"gb-share-size-medium",label:An("Medium","genesis-blocks")},{value:"gb-share-size-large",label:An("Large","genesis-blocks")}],n=[{value:"gb-share-color-standard",label:An("Standard","genesis-blocks")},{value:"gb-share-color-social",label:An("Social Colors","genesis-blocks")}];return React.createElement(Ln,{key:"inspector"},React.createElement(s,{id:"gb_sharing_links"},React.createElement(Pn,null,React.createElement("p",null,An("Enable or disable the sharing links you want to output.","genesis-blocks")),React.createElement(Mn,{label:An("Twitter","genesis-blocks"),checked:!!this.props.attributes.twitter,onChange:()=>this.props.setAttributes({twitter:!this.props.attributes.twitter})}),React.createElement(Mn,{label:An("Facebook","genesis-blocks"),checked:!!this.props.attributes.facebook,onChange:()=>this.props.setAttributes({facebook:!this.props.attributes.facebook})}),React.createElement(Mn,{label:An("Pinterest","genesis-blocks"),checked:!!this.props.attributes.pinterest,onChange:()=>this.props.setAttributes({pinterest:!this.props.attributes.pinterest})}),React.createElement(Mn,{label:An("LinkedIn","genesis-blocks"),checked:!!this.props.attributes.linkedin,onChange:()=>this.props.setAttributes({linkedin:!this.props.attributes.linkedin})}),React.createElement(Mn,{label:An("Reddit","genesis-blocks"),checked:!!this.props.attributes.reddit,onChange:()=>this.props.setAttributes({reddit:!this.props.attributes.reddit})}),React.createElement(Mn,{label:An("Email","genesis-blocks"),checked:!!this.props.attributes.email,onChange:()=>this.props.setAttributes({email:!this.props.attributes.email})}))),React.createElement(Pn,{title:An("Sharing Button Options","genesis-blocks"),initialOpen:!1},React.createElement(s,{id:"gb_sharing_shareButtonStyle"},React.createElement(In,{label:An("Button Style","genesis-blocks"),value:this.props.attributes.shareButtonStyle,options:e.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({shareButtonStyle:e})}})),React.createElement(s,{id:"gb_sharing_shareButtonShape"},React.createElement(In,{label:An("Button Shape","genesis-blocks"),value:this.props.attributes.shareButtonShape,options:t.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({shareButtonShape:e})}})),React.createElement(s,{id:"gb_sharing_shareButtonSize"},React.createElement(In,{label:An("Button Size","genesis-blocks"),value:this.props.attributes.shareButtonSize,options:o.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({shareButtonSize:e})}})),React.createElement(s,{id:"gb_sharing_shareButtonColor"},React.createElement(In,{label:An("Button Color","genesis-blocks"),value:this.props.attributes.shareButtonColor,options:n.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({shareButtonColor:e})}}))))}}const{Component:On}=wp.element;class Un extends On{render(){return React.createElement("div",{className:i()(this.props.className,this.props.attributes.shareButtonStyle,this.props.attributes.shareButtonShape,this.props.attributes.shareButtonSize,this.props.attributes.shareButtonColor,this.props.attributes.shareAlignment?"gb-align-"+this.props.attributes.shareAlignment:void 0,"gb-block-sharing")},this.props.children)}}const{__:Dn}=wp.i18n,{Component:jn}=wp.element,{AlignmentToolbar:Wn,BlockControls:Vn}=wp.blockEditor;class Hn extends jn{constructor(){super(...arguments),this.props.attributes.clientId&&this.props.attributes.clientId===this.props.clientId||this.props.setAttributes({clientId:this.props.clientId})}render(){return[React.createElement(Vn,{key:"controls"},React.createElement(Wn,{value:this.props.attributes.shareAlignment,onChange:e=>this.props.setAttributes({shareAlignment:e})})),React.createElement(Fn,n({key:"gb-share-inspector-"+this.props.clientId},this.props)),React.createElement(Un,n({key:"gb-share-links-"+this.props.clientId},this.props),React.createElement("ul",{className:"gb-share-list"},this.props.attributes.twitter&&React.createElement("li",null,React.createElement("a",{className:"gb-share-twitter"},React.createElement("svg",{"aria-labelledby":"gb-link-twitter-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-twitter-"+this.props.clientId},Dn("Visit Twitter account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})),React.createElement("span",{className:"gb-social-text"},Dn("Share on Twitter","genesis-blocks")))),this.props.attributes.facebook&&React.createElement("li",null,React.createElement("a",{className:"gb-share-facebook"},React.createElement("svg",{"aria-labelledby":"gb-link-facebook-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-facebook-"+this.props.clientId},Dn("Visit Facebook account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})),React.createElement("span",{className:"gb-social-text"},Dn("Share on Facebook","genesis-blocks")))),this.props.attributes.pinterest&&React.createElement("li",null,React.createElement("a",{className:"gb-share-pinterest"},React.createElement("svg",{"aria-labelledby":"gb-link-pinterest-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-pinterest-"+this.props.clientId},Dn("Visit Pinterest account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"})),React.createElement("span",{className:"gb-social-text"},Dn("Share on Pinterest","genesis-blocks")))),this.props.attributes.linkedin&&React.createElement("li",null,React.createElement("a",{className:"gb-share-linkedin"},React.createElement("svg",{"aria-labelledby":"gb-link-linkedin-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-linkedin-"+this.props.clientId},Dn("Visit LinkedIn account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})),React.createElement("span",{className:"gb-social-text"},Dn("Share on LinkedIn","genesis-blocks")))),this.props.attributes.reddit&&React.createElement("li",null,React.createElement("a",{className:"gb-share-reddit"},React.createElement("svg",{"aria-labelledby":"gb-link-reddit-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-reddit-"+this.props.clientId},Dn("Share on Reddit","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"})),React.createElement("span",{className:"gb-social-text"},Dn("Share on reddit","genesis-blocks")))),this.props.attributes.email&&React.createElement("li",null,React.createElement("a",{className:"gb-share-email"},React.createElement("svg",{"aria-labelledby":"gb-link-email-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-email-"+this.props.clientId},Dn("Email","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})),React.createElement("span",{className:"gb-social-text"},Dn("Share via Email","genesis-blocks"))))))]}}const{__:qn}=wp.i18n,{registerBlockType:Gn}=wp.blocks;Gn("genesis-blocks/gb-sharing",{title:qn("Sharing","genesis-blocks"),description:qn("Add sharing buttons to your posts and pages.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[qn("sharing","genesis-blocks"),qn("social","genesis-blocks"),qn("atomic","genesis-blocks")],gb_settings_data:{gb_sharing_links:{title:qn("Sharing Links","genesis-blocks")},gb_sharing_shareButtonStyle:{title:qn("Button Style","genesis-blocks")},gb_sharing_shareButtonShape:{title:qn("Button Shape","genesis-blocks")},gb_sharing_shareButtonSize:{title:qn("Button Size","genesis-blocks")},gb_sharing_shareButtonColor:{title:qn("Button Color","genesis-blocks")}},edit:e=>React.createElement(Hn,n({},e,{clientId:e.clientId})),save:()=>null});const $n=window.moment;var Kn=o.n($n),Yn=o(417),Qn=o.n(Yn),Xn=o(6760),Zn=o.n(Xn);const{__:Jn}=wp.i18n,{Component:ea,Fragment:ta}=wp.element,{InspectorControls:oa}=wp.blockEditor,{PanelBody:na,QueryControls:aa,RangeControl:ia,SelectControl:ra,TextControl:la,ToggleControl:sa,FormTokenField:ca,Spinner:pa}=wp.components,{addQueryArgs:ga}=wp.url,{apiFetch:da}=wp,ua=[];class ba extends ea{constructor(){super(...arguments),this.state={categoriesList:!1,categoriesTitleToIdRelationships:!1,categoriesIdToTitleRelationships:!1,pagesList:!1,pagesTitleToIdRelationships:!1,pagesIdToTitleRelationships:!1,waitingForApiResponse:!1}}componentDidMount(){this.stillMounted=!0}componentDidUpdate(){if(this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.categories&&!this.state.categoriesList&&"post"===this.props.attributes.postType&&this.getCategoriesFromServer(!!this.props.attributes.categories&&this.props.attributes.categories,!0),this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.selectedPages.length>0&&!this.state.pagesList&&"page"===this.props.attributes.postType){const e=[];for(const t in this.props.attributes.selectedPages)e.push(this.props.attributes.selectedPages[t].value);this.getPagesFromServer(e||!1,!0)}}componentWillUnmount(){this.stillMounted=!1}getCategoriesFromServer(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((o=>{if(this.setState({waitingForApiResponse:!0,categoriesList:!1}),!e||0===e.length)return t||this.setState({waitingForApiResponse:!1}),void o();let n={per_page:99,search:e};t&&(n={per_page:99,include:e}),this.fetchRequest=da({path:ga("/wp/v2/categories",n)}).then((e=>{const t=this.state.categoriesTitleToIdRelationships?this.state.categoriesTitleToIdRelationships:{},n=this.state.categoriesIdToTitleRelationships?this.state.categoriesIdToTitleRelationships:{};for(const o in e)t[e[o].name+" ("+e[o].slug+")"]=e[o].id,n[e[o].id]=e[o].name+" ("+e[o].slug+")";this.setState({categoriesList:e,categoriesTitleToIdRelationships:t,categoriesIdToTitleRelationships:n,waitingForApiResponse:!1}),o()})).catch((()=>{console.log(`category request failure: ${error.message}`),this.stillMounted&&(this.setState({categoriesList:[],waitingForApiResponse:!1}),o())}))}))}getPagesFromServer(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((o=>{if(this.setState({waitingForApiResponse:!0,pagesList:!1}),!e||0===e.length)return t||this.setState({waitingForApiResponse:!1}),void o();let n={per_page:-1,search:e};t&&(n={per_page:-1,include:e}),this.fetchRequest=da({path:ga("/wp/v2/pages",n)}).then((e=>{const t=this.state.pagesTitleToIdRelationships?this.state.pagesTitleToIdRelationships:{},n=this.state.pagesIdToTitleRelationships?this.state.pagesIdToTitleRelationships:{};for(const o in e)t[e[o].title.rendered+" ("+e[o].slug+")"]=e[o].id,n[e[o].id]=e[o].title.rendered+" ("+e[o].slug+")";this.setState({pagesList:e,pagesTitleToIdRelationships:t,pagesIdToTitleRelationships:n,waitingForApiResponse:!1}),o()})).catch((()=>{this.stillMounted&&(this.setState({pagesList:[],waitingForApiResponse:!1}),o())}))}))}imageSizeSelect(){const e=wp.data.select("core/block-editor").getSettings();return Qn()(Zn()(e.imageSizes,(e=>{let{name:t,slug:o}=e;return{value:o,label:t}})))}render(){const{attributes:e,setAttributes:t,latestPosts:o}=this.props,{order:n,orderBy:a}=e,{categoriesList:i,categoriesTitleToIdRelationships:r,categoriesIdToTitleRelationships:l,pagesList:c,pagesTitleToIdRelationships:p,pagesIdToTitleRelationships:g}=this.state,d=[{value:"post",label:Jn("Post","genesis-blocks")},{value:"page",label:Jn("Page","genesis-blocks")}],u=[{value:"div",label:Jn("div","genesis-blocks")},{value:"header",label:Jn("header","genesis-blocks")},{value:"section",label:Jn("section","genesis-blocks")},{value:"article",label:Jn("article","genesis-blocks")},{value:"main",label:Jn("main","genesis-blocks")},{value:"aside",label:Jn("aside","genesis-blocks")},{value:"footer",label:Jn("footer","genesis-blocks")}],b=[{value:"h2",label:Jn("H2","genesis-blocks")},{value:"h3",label:Jn("H3","genesis-blocks")},{value:"h4",label:Jn("H4","genesis-blocks")},{value:"h5",label:Jn("H5","genesis-blocks")},{value:"h6",label:Jn("H6","genesis-blocks")}],m=Array.isArray(o)&&o.length,h="post"===e.postType,k={value:"selectimage",label:Jn("Select image size","genesis-blocks")},f={value:"gb-block-post-grid-landscape",label:Jn("GB Grid Landscape","genesis-blocks")},y={value:"gb-block-post-grid-square",label:Jn("GB Grid Square","genesis-blocks")},v=this.imageSizeSelect();return v.push(y,f),v.unshift(k),React.createElement(oa,null,React.createElement(na,{title:Jn("Post and Page Grid Settings","genesis-blocks"),className:h?null:"genesis-blocks-hide-query"},React.createElement(s,{id:"gb_postgrid_postType"},React.createElement(ra,{label:Jn("Content Type","genesis-blocks"),options:d,value:e.postType,onChange:e=>this.props.setAttributes({postType:e})})),"page"===e.postType&&React.createElement(s,{id:"gb_postgrid_selectedPages"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(ca,{suggestions:Qn()(Zn()(c,(e=>{let{title:t,slug:o}=e;return t.rendered+" ("+o+")"}))),label:React.createElement(React.Fragment,null,Jn("Enter page names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(pa,null)):null),placeholder:Jn("Start typing page name…","genesis-blocks"),value:(()=>{if(!this.props.attributes.selectedPages)return[];const e=[];for(const t in this.props.attributes.selectedPages){const o=this.props.attributes.selectedPages[t].value;g[o]&&e.push(g[this.props.attributes.selectedPages[t].value])}return e})(),onInputChange:e=>{const t="getPagesFromServer";ua[t]&&(clearTimeout(ua[t]),ua[t]=null),ua[t]=setTimeout((()=>{clearTimeout(ua[t]),this.getPagesFromServer(e)}),500)},onChange:e=>{let o=[];for(const t in e)o.push({value:p[e[t]]});o||(o=void 0),t({selectedPages:o})}})))),"post"===e.postType&&React.createElement(s,{id:"gb_postgrid_categories"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(ca,{suggestions:Qn()(Zn()(i,(e=>{let{name:t,slug:o}=e;return t+" ("+o+")"}))),label:React.createElement(React.Fragment,null,Jn("Enter category names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(pa,null)):null),placeholder:Jn("Start typing category name…","genesis-blocks"),value:(()=>{if(!this.props.attributes.categories)return[];const e=this.props.attributes.categories.split(","),t=[];for(const o in e)l[e[o]]&&t.push(l[e[o]]);return t})(),onInputChange:e=>{const t="getCategoriesFromServer";ua[t]&&(clearTimeout(ua[t]),ua[t]=null),ua[t]=setTimeout((()=>{clearTimeout(ua[t]),this.getCategoriesFromServer(e)}),500)},onChange:e=>{let o="";for(const t in e)r[e[t]]&&(o=o+r[e[t]]+",");o=o.replace(/,\s*$/,""),o||(o=void 0),t({categories:void 0!==o?o:""})}})))),"post"===e.postType&&React.createElement(React.Fragment,null,React.createElement(s,{id:"gb_postgrid_queryControls"},React.createElement(aa,{order:n,orderBy:a,numberOfItems:e.postsToShow,onOrderChange:e=>t({order:e}),onOrderByChange:e=>t({orderBy:e}),onNumberOfItemsChange:e=>t({postsToShow:e})})),React.createElement(s,{id:"gb_postgrid_offset"},React.createElement(ia,{label:Jn("Number of items to offset","genesis-blocks"),value:e.offset,onChange:e=>t({offset:e}),min:0,max:20}))),"grid"===e.postLayout&&React.createElement(s,{id:"gb_postgrid_columns"},React.createElement(ia,{label:Jn("Columns","genesis-blocks"),value:e.columns,onChange:e=>t({columns:e}),min:1,max:m?Math.min(4,o.length):4}))),React.createElement(na,{title:Jn("Post and Page Grid Content","genesis-blocks"),initialOpen:!1},React.createElement(s,{id:"gb_postgrid_displaySectionTitle"},React.createElement(sa,{label:Jn("Display Section Title","genesis-blocks"),checked:e.displaySectionTitle,onChange:()=>this.props.setAttributes({displaySectionTitle:!e.displaySectionTitle})})),e.displaySectionTitle&&React.createElement(s,{id:"gb_postgrid_sectionTitle"},React.createElement(la,{label:Jn("Section Title","genesis-blocks"),type:"text",value:e.sectionTitle,onChange:e=>this.props.setAttributes({sectionTitle:e})})),React.createElement(s,{id:"gb_postgrid_displayPostImage"},React.createElement(sa,{label:Jn("Display Featured Image","genesis-blocks"),checked:e.displayPostImage,onChange:()=>this.props.setAttributes({displayPostImage:!e.displayPostImage})})),e.displayPostImage&&React.createElement(s,{id:"gb_postgrid_imageSizeValue"},React.createElement(ra,{label:Jn("Image Size","genesis-blocks"),value:(()=>{for(let t=0;t<v.length;t++)if(v[t].value===e.imageSize)return e.imageSize;return"full"})(),options:v,onChange:e=>this.props.setAttributes({imageSize:e})})),React.createElement(s,{id:"gb_postgrid_displayPostTitle"},React.createElement(sa,{label:Jn("Display Title","genesis-blocks"),checked:e.displayPostTitle,onChange:()=>this.props.setAttributes({displayPostTitle:!e.displayPostTitle})})),h&&React.createElement(s,{id:"gb_postgrid_displayPostAuthor"},React.createElement(sa,{label:Jn("Display Author","genesis-blocks"),checked:e.displayPostAuthor,onChange:()=>this.props.setAttributes({displayPostAuthor:!e.displayPostAuthor})})),h&&React.createElement(s,{id:"gb_postgrid_displayPostDate"},React.createElement(sa,{label:Jn("Display Date","genesis-blocks"),checked:e.displayPostDate,onChange:()=>this.props.setAttributes({displayPostDate:!e.displayPostDate})})),React.createElement(s,{id:"gb_postgrid_displayPostExcerpt"},React.createElement(sa,{label:Jn("Display Excerpt","genesis-blocks"),checked:e.displayPostExcerpt,onChange:()=>this.props.setAttributes({displayPostExcerpt:!e.displayPostExcerpt})})),e.displayPostExcerpt&&React.createElement(s,{id:"gb_postgrid_excerptLength"},React.createElement(ia,{label:Jn("Excerpt Length","genesis-blocks"),value:e.excerptLength,onChange:e=>t({excerptLength:e}),min:0,max:150})),React.createElement(s,{id:"gb_postgrid_displayPostLink"},React.createElement(sa,{label:Jn("Display Continue Reading Link","genesis-blocks"),checked:e.displayPostLink,onChange:()=>this.props.setAttributes({displayPostLink:!e.displayPostLink})})),e.displayPostLink&&React.createElement(s,{id:"gb_postgrid_readMoreText"},React.createElement(la,{label:Jn("Customize Continue Reading Text","genesis-blocks"),type:"text",value:e.readMoreText,onChange:e=>this.props.setAttributes({readMoreText:e})}))),React.createElement(na,{title:Jn("Post and Page Grid Markup","genesis-blocks"),initialOpen:!1,className:"gb-block-post-grid-markup-settings"},React.createElement(s,{id:"gb_postgrid_sectionTag"},React.createElement(ra,{label:Jn("Post Grid Section Tag","genesis-blocks"),options:u,value:e.sectionTag,onChange:e=>this.props.setAttributes({sectionTag:e}),help:Jn("Change the post grid section tag to match your content hierarchy.","genesis-blocks")})),e.sectionTitle&&React.createElement(s,{id:"gb_postgrid_sectionTitleTag"},React.createElement(ra,{label:Jn("Section Title Heading Tag","genesis-blocks"),options:b,value:e.sectionTitleTag,onChange:e=>this.props.setAttributes({sectionTitleTag:e}),help:Jn("Change the post/page section title tag to match your content hierarchy.","genesis-blocks")})),e.displayPostTitle&&React.createElement(s,{id:"gb_postgrid_postTitleTag"},React.createElement(ra,{label:Jn("Post Title Heading Tag","genesis-blocks"),options:b,value:e.postTitleTag,onChange:e=>this.props.setAttributes({postTitleTag:e}),help:Jn("Change the post/page title tag to match your content hierarchy.","genesis-blocks")}))))}}var ma=o(2579),ha=o.n(ma);const{__:ka}=wp.i18n,{Fragment:fa,Component:ya}=wp.element,{Placeholder:va,Dashicon:Ca}=wp.components;class Ra extends ya{constructor(e){super(...arguments),this.state={imageUrl:"",imageLoaded:!1,setImageUrlSubscription:!1}}componentDidUpdate(e){this.props.imgSize!==e.imgSize&&this.setImageUrl()}componentDidMount(){this.setState({setImageUrlSubscription:wp.data.subscribe((()=>{this.setImageUrl()}))})}componentWillUnmount(){this.state.setImageUrlSubscription()}setImageUrl(){let e=this.getImageUrl();e||(e=this.getFullImageSize()),e&&this.setState({imageUrl:e,imageLoaded:!0})}getImageUrl(){return ha()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes",this.props.imgSize,"source_url"])}getFullImageSize(){return ha()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes","full","source_url"])}render(){return React.createElement(fa,null,React.createElement("div",{className:i()("gb-block-post-grid-image")},React.createElement("a",{href:this.props.imgLink,target:"_blank",rel:"bookmark noopener noreferrer"},React.createElement("img",{src:this.state.imageUrl?this.state.imageUrl:this.props.imgSizeLandscape,alt:this.props.imgAlt,className:this.props.imgClass})),!this.getImageUrl()&&this.state.imageLoaded&&"selectimage"!==this.props.imgSize&&React.createElement(fa,null,React.createElement("div",{className:"gb-post-grid-no-image-icon"},React.createElement(Ca,{icon:"warning"})),React.createElement(va,{className:"gb-post-grid-no-image-placeholder"},React.createElement(Ca,{icon:"info"}),React.createElement("div",{className:"components-placeholder__label"},ka("There is no image generated for the selected image size, so a fallback image size is being used.","genesis-blocks")),React.createElement("div",{className:"gb-post-grid-image-help"},React.createElement("a",{target:"_blank",rel:"noreferrer noopener","aria-label":ka("Learn more about image sizes (opens in a new tab)","genesis-blocks"),href:"https://github.com/studiopress/genesis-blocks/wiki/Post-Grid-Block#featured-image-sizes"},ka("Learn more ","genesis-blocks"),React.createElement("span",null,"→")))))))}}const{useState:Ea,useEffect:wa}=wp.element,{__:xa}=wp.i18n,{decodeEntities:Ta}=wp.htmlEntities,{Placeholder:_a,Spinner:Sa,ToolbarGroup:Ba}=wp.components,{BlockAlignmentToolbar:za,BlockControls:Aa}=wp.blockEditor,{apiFetch:Na}=wp,{addQueryArgs:La}=wp.url,Pa=[],{__:Ia}=wp.i18n,{registerBlockType:Ma}=wp.blocks;Ma("genesis-blocks/gb-post-grid",{title:Ia("Post and Page Grid","genesis-blocks"),description:Ia("Add a grid or list of customizable posts or pages.","genesis-blocks"),icon:"grid-view",category:"genesis-blocks",keywords:[Ia("post","genesis-blocks"),Ia("page","genesis-blocks"),Ia("grid","genesis-blocks"),Ia("atomic","genesis-blocks")],edit:e=>{const[t,o]=Ea(),[a,r]=Ea(e),{attributes:l,setAttributes:s}=e;if(e.attributes.postType!==a.postType||e.attributes.selectedPages!==a.selectedPages||e.attributes.categories!==a.categories||e.attributes.order!==a.order||e.attributes.orderby!==a.orderby||e.attributes.offset!==a.offset||e.attributes.postsToShow!==a.postsToShow){const t="handleUpdateAttributes";Pa[t]&&(clearTimeout(Pa[t]),Pa[t]=null),Pa[t]=setTimeout((()=>{clearTimeout(Pa[t]),r(e.attributes)}),500)}wa((()=>{o(null)}),[a]),wa((()=>{t||("post"===e.attributes.postType&&new Promise((t=>{const n={order:e.attributes.order,orderby:e.attributes.orderBy,per_page:e.attributes.postsToShow,offset:e.attributes.offset};if(wp.data.select("core/editor")){const e=wp.data.select("core/editor").getCurrentPostId();e&&(n.exclude=[e])}e.attributes.categories&&(n.categories=e.attributes.categories),Na({path:La("/wp/v2/posts",n)}).then((e=>{o(e),t()})).catch((e=>{console.log(e)}))})),"page"===e.attributes.postType&&new Promise((t=>{const n=e.attributes.selectedPages&&e.attributes.selectedPages.length>0?e.attributes.selectedPages.map((e=>e.value)):null,a={per_page:6},i=wp.data.select("core/editor").getCurrentPostId();i&&(a.exclude=[i]),n&&(delete a.per_page,a.include=n,a.orderby="include"),Na({path:La("/wp/v2/pages",a)}).then((e=>{o(e),t()})).catch((e=>{console.log(e)}))})))}),[t]);const c=Array.isArray(t)&&t.length,p="post"===l.postType;if(!c)return React.createElement(React.Fragment,null,React.createElement(ba,n({setAttributes:s},e)),React.createElement(_a,{icon:"admin-post",label:xa("Genesis Blocks Post and Page Grid","genesis-blocks")},Array.isArray(t)?xa("No posts found.","genesis-blocks"):React.createElement(Sa,null)));const g=[{icon:"grid-view",title:xa("Grid View","genesis-blocks"),onClick:()=>s({postLayout:"grid"}),isActive:"grid"===l.postLayout},{icon:"list-view",title:xa("List View","genesis-blocks"),onClick:()=>s({postLayout:"list"}),isActive:"list"===l.postLayout}],d=l.sectionTag?l.sectionTag:"section",u=l.sectionTitleTag?l.sectionTitleTag:"h2",b=l.postTitleTag?l.postTitleTag:"h3";return React.createElement(React.Fragment,null,React.createElement(ba,n({setAttributes:s},e)),React.createElement(Aa,null,React.createElement(za,{value:l.align,onChange:e=>{s({align:e})},controls:["center","wide","full"]}),React.createElement(Ba,{controls:g})),React.createElement(d,{className:i()(e.className,"gb-block-post-grid")},l.displaySectionTitle&&l.sectionTitle&&React.createElement(u,{className:"gb-post-grid-section-title"},l.sectionTitle),React.createElement("div",{className:i()({"is-grid":"grid"===l.postLayout,"is-list":"list"===l.postLayout,[`columns-${l.columns}`]:"grid"===l.postLayout,"gb-post-grid-items":"gb-post-grid-items"})},t.map(((t,o)=>{return React.createElement("article",{key:o,id:"post-"+t.id,className:i()("post-"+t.id,t.featured_image_src&&l.displayPostImage?"has-post-thumbnail":null)},l.displayPostImage&&t.featured_media?React.createElement(Ra,n({},e,{imgAlt:Ta(t.title.rendered.trim())||xa("(Untitled)","genesis-blocks"),imgClass:`wp-image-${t.featured_media.toString()}`,imgID:t.featured_media.toString(),imgSize:l.imageSize,imgSizeLandscape:t.featured_image_src,imgSizeSquare:t.featured_image_src_square,imgLink:t.link})):null,React.createElement("div",{className:"gb-block-post-grid-text"},React.createElement("header",{className:"gb-block-post-grid-header"},l.displayPostTitle&&React.createElement(b,{className:"gb-block-post-grid-title"},React.createElement("a",{href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},Ta(t.title.rendered.trim())||xa("(Untitled)","genesis-blocks"))),p&&t.author_info&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-byline"},l.displayPostAuthor&&t.author_info.display_name?React.createElement("div",{className:"gb-block-post-grid-author"},React.createElement("a",{className:"gb-text-link",target:"_blank",rel:"noopener noreferrer",href:t.author_info.author_link},t.author_info.display_name)):null,l.displayPostDate&&t.date_gmt&&React.createElement("time",{dateTime:Kn()(t.date_gmt).utc().format(),className:"gb-block-post-grid-date"},Kn()(t.date_gmt).local().format("MMMM DD, Y","genesis-blocks")))),React.createElement("div",{className:"gb-block-post-grid-excerpt"},l.displayPostExcerpt&&t.excerpt&&React.createElement("div",{dangerouslySetInnerHTML:{__html:(a=t.excerpt.rendered,r=l.excerptLength,a.split(" ").splice(0,r).join(" "))}}),l.displayPostLink&&React.createElement("p",null,React.createElement("a",{className:"gb-block-post-grid-more-link gb-text-link",href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},l.readMoreText)))));var a,r})))))},gb_settings_data:{gb_postgrid_postType:{title:Ia("Content Type","genesis-blocks")},gb_postgrid_queryControls:{title:Ia("Query Controls","genesis-blocks")},gb_postgrid_offset:{title:Ia("Post Offset","genesis-blocks")},gb_postgrid_columns:{title:Ia("Columns","genesis-blocks")},gb_postgrid_displaySectionTitle:{title:Ia("Display Section Title","genesis-blocks")},gb_postgrid_sectionTitle:{title:Ia("Section Title","genesis-blocks")},gb_postgrid_displayPostImage:{title:Ia("Display Featured Image","genesis-blocks")},gb_postgrid_imageSizeValue:{title:Ia("Image Size","genesis-blocks")},gb_postgrid_displayPostTitle:{title:Ia("Display Post Title","genesis-blocks")},gb_postgrid_displayPostAuthor:{title:Ia("Display Post Author","genesis-blocks")},gb_postgrid_displayPostDate:{title:Ia("Display Post Date","genesis-blocks")},gb_postgrid_displayPostExcerpt:{title:Ia("Display Post Excerpt","genesis-blocks")},gb_postgrid_excerptLength:{title:Ia("Excerpt Length","genesis-blocks")},gb_postgrid_displayPostLink:{title:Ia("Display Continue Reading Link","genesis-blocks")},gb_postgrid_readMoreText:{title:Ia("Read More Text","genesis-blocks")},gb_postgrid_sectionTag:{title:Ia("Post Grid Section Tag","genesis-blocks")},gb_postgrid_sectionTitleTag:{title:Ia("Section Title Heading Tag","genesis-blocks")},gb_postgrid_postTitleTag:{title:Ia("Post Title Heading Tag","genesis-blocks")}},save:()=>null});const{__:Fa}=wp.i18n,{Component:Oa}=wp.element,{InspectorControls:Ua,PanelColorSettings:Da,MediaUpload:ja}=wp.blockEditor,{Button:Wa,Icon:Va,PanelBody:Ha,RangeControl:qa}=wp.components;class Ga extends Oa{render(){const{containerPaddingTop:e,containerPaddingRight:t,containerPaddingBottom:o,containerPaddingLeft:n,containerMarginTop:a,containerMarginBottom:i,containerMaxWidth:r,containerBackgroundColor:l,containerDimRatio:c,containerImgURL:p,containerImgID:g}=this.props.attributes,{setAttributes:d}=this.props,u=()=>{d({containerImgID:null,containerImgURL:null,containerImgAlt:null})};return React.createElement(Ua,{key:"inspector"},React.createElement(s,{id:"gb_container_containerOptions"},React.createElement(Ha,{title:Fa("Container Options","genesis-blocks"),initialOpen:!0},React.createElement(qa,{label:Fa("Padding Top (%)","genesis-blocks"),value:e,onChange:e=>this.props.setAttributes({containerPaddingTop:e}),min:0,max:30,step:.5}),React.createElement(qa,{label:Fa("Padding Bottom (%)","genesis-blocks"),value:o,onChange:e=>this.props.setAttributes({containerPaddingBottom:e}),min:0,max:30,step:.5}),React.createElement(qa,{label:Fa("Padding Left (%)","genesis-blocks"),value:n,onChange:e=>this.props.setAttributes({containerPaddingLeft:e}),min:0,max:30,step:.5}),React.createElement(qa,{label:Fa("Padding Right (%)","genesis-blocks"),value:t,onChange:e=>this.props.setAttributes({containerPaddingRight:e}),min:0,max:30,step:.5}),React.createElement(qa,{label:Fa("Margin Top (%)","genesis-blocks"),value:a,onChange:e=>this.props.setAttributes({containerMarginTop:e}),min:0,max:30,step:1}),React.createElement(qa,{label:Fa("Margin Bottom (%)","genesis-blocks"),value:i,onChange:e=>this.props.setAttributes({containerMarginBottom:e}),min:0,max:30,step:.5}),React.createElement(qa,{label:Fa("Inside Container Max Width (px)","genesis-blocks"),value:r,onChange:e=>this.props.setAttributes({containerMaxWidth:e}),min:500,max:1600,step:1}))),React.createElement(s,{id:"gb_container_backgroundOptions"},React.createElement(Ha,{title:Fa("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,Fa("Select a background image:","genesis-blocks")),React.createElement(ja,{onSelect:e=>{d({containerImgID:e.id,containerImgURL:e.url,containerImgAlt:e.alt})},type:"image",value:g,render:e=>{let{open:t}=e;return React.createElement("div",null,React.createElement(Wa,{className:"gb-container-inspector-media",label:Fa("Edit image","genesis-blocks"),onClick:t},React.createElement(Va,{icon:"format-image"}),Fa("Select Image","genesis-blocks")),p&&!!p.length&&React.createElement(Wa,{className:"gb-container-inspector-media",label:Fa("Remove Image","genesis-blocks"),onClick:u},React.createElement(Va,{icon:"dismiss"}),Fa("Remove","genesis-blocks")))}}),p&&!!p.length&&React.createElement(qa,{label:Fa("Image Opacity","genesis-blocks"),value:c,onChange:e=>this.props.setAttributes({containerDimRatio:e}),min:0,max:100,step:10}),React.createElement(Da,{title:Fa("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:l,label:Fa("Background Color","genesis-blocks"),onChange:e=>d({containerBackgroundColor:e})}]}))))}}const{Component:$a}=wp.element;class Ka extends $a{render(){const{attributes:{containerBackgroundColor:e,containerAlignment:t,containerPaddingTop:o,containerPaddingRight:n,containerPaddingBottom:a,containerPaddingLeft:r,containerMarginTop:l,containerMarginBottom:s,containerWidth:c,containerMaxWidth:p,containerImgURL:g,containerImgAlt:d,containerDimRatio:u}}=this.props,b={backgroundColor:e||void 0,textAlign:t||void 0,paddingLeft:r?`${r}%`:void 0,paddingRight:n?`${n}%`:void 0,paddingBottom:a?`${a}%`:void 0,paddingTop:o?`${o}%`:void 0,marginTop:l?`${l}%`:void 0,marginBottom:s?`${s}%`:void 0},m=i()([this.props.className,"gb-block-container"],{["align"+c]:c});return React.createElement("div",{style:b,className:m||void 0},React.createElement("div",{className:"gb-container-inside"},g&&!!g.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:i()("gb-container-image",(h=u,0===h||50===h?null:"has-background-dim-"+10*Math.round(h/10)),{"has-background-dim":0!==u}),src:g,alt:d})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:p?`${p}px`:void 0}},this.props.children)));var h}}const{Component:Ya}=wp.element;class Qa extends Ya{constructor(e){super(...arguments)}render(){const{attributes:{containerBackgroundColor:e,containerAlignment:t,containerPaddingTop:o,containerPaddingRight:n,containerPaddingBottom:a,containerPaddingLeft:r,containerMarginTop:l,containerMarginBottom:s,containerWidth:c,containerMaxWidth:p}}=this.props,g=i()([this.props.className,"gb-block-container"],{["align"+c]:c});return React.createElement("div",{style:{backgroundColor:e,textAlign:t,paddingLeft:`${r}%`,paddingRight:`${n}%`,paddingBottom:`${a}%`,paddingTop:`${o}%`,marginTop:`${l}%`,marginBottom:`${s}%`},className:g||void 0},this.props.children)}}const{Component:Xa}=wp.element;class Za extends Xa{constructor(e){super(...arguments)}render(){const{attributes:{containerBackgroundColor:e,containerAlignment:t,containerPaddingTop:o,containerPaddingRight:n,containerPaddingBottom:a,containerPaddingLeft:r,containerMarginTop:l,containerMarginBottom:s,containerWidth:c,containerMaxWidth:p,containerImgURL:g,containerImgAlt:d,containerDimRatio:u}}=this.props,b={backgroundColor:e||void 0,textAlign:t||void 0,paddingLeft:r?`${r}%`:void 0,paddingRight:n?`${n}%`:void 0,paddingBottom:a?`${a}%`:void 0,paddingTop:o?`${o}%`:void 0,marginTop:l?`${l}%`:void 0,marginBottom:s?`${s}%`:void 0},m=i()([this.props.className,"gb-block-container"],{["align"+c]:c});return React.createElement("div",{style:b,className:m||void 0},React.createElement("div",{className:"gb-container-inside"},g&&!!g.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:i()("gb-container-image",(h=u,0===h||50===h?null:"has-background-dim-"+10*Math.round(h/10)),{"has-background-dim":0!==u}),src:g,alt:d})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:`${p}px`}},this.props.children)));var h}}const{InnerBlocks:Ja}=wp.blockEditor,ei=[{attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:e=>React.createElement(Za,e,React.createElement(Ja.Content,null))},{attributes:{containerPaddingTop:{type:"number",default:0},containerPaddingRight:{type:"number",default:0},containerPaddingBottom:{type:"number",default:0},containerPaddingLeft:{type:"number",default:0},containerMarginTop:{type:"number",default:0},containerMarginBottom:{type:"number",default:0},containerWidth:{type:"string",default:"center"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string",default:"#fff"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:e=>{const{containerMaxWidth:t,containerImgURL:o,containerImgAlt:n,containerDimRatio:a}=e.attributes;return React.createElement(Qa,e,React.createElement("div",{className:"gb-container-inside"},o&&!!o.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:i()("gb-container-image",(r=a,0===r||50===r?null:"has-background-dim-"+10*Math.round(r/10)),{"has-background-dim":0!==a}),src:o,alt:n})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:`${t}px`}},React.createElement(Ja.Content,null))));var r}}],{__:ti}=wp.i18n,{Component:oi}=wp.element,{registerBlockType:ni}=wp.blocks,{InnerBlocks:ai}=wp.blockEditor;ni("genesis-blocks/gb-container",{title:ti("Container","genesis-blocks"),description:ti("Add a container block to wrap several blocks in a parent container.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[ti("container","genesis-blocks"),ti("section","genesis-blocks"),ti("genesis","genesis-blocks")],supports:{align:["center","wide","full"]},attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number"},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},gb_settings_data:{gb_container_containerOptions:{title:ti("Container Options","genesis-blocks")},gb_container_backgroundOptions:{title:ti("Background Options","genesis-blocks")}},edit:class extends oi{render(){const{setAttributes:e}=this.props;return[React.createElement(Ga,n({key:"gb-container-inspector-"+this.props.clientId,setAttributes:e},this.props)),React.createElement(Ka,n({key:"gb-container-"+this.props.clientId},this.props),React.createElement(ai,null))]}},save:e=>React.createElement(Ka,e,React.createElement(ai.Content,null)),getEditWrapperProps(e){let{containerWidth:t}=e;if("center"===t||"wide"===t||"full"===t)return{"data-align":t}},deprecated:ei});const{__:ii}=wp.i18n,{Component:ri}=wp.element,{InspectorControls:li}=wp.blockEditor,{PanelBody:si,RangeControl:ci}=wp.components;class pi extends ri{render(){const{attributes:{columns:e,columnsGap:t}}=this.props;return React.createElement(li,{key:"inspector"},React.createElement(si,null,React.createElement(s,{id:"gb_pricing_columns"},React.createElement(ci,{label:ii("Pricing Columns","genesis-blocks"),value:e,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:4})),React.createElement(s,{id:"gb_pricing_columnsGap"},React.createElement(ci,{label:ii("Pricing Columns Gap","genesis-blocks"),value:t,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:5,step:1}))))}}const{Component:gi}=wp.element;class di extends gi{render(){const{attributes:{columns:e,align:t}}=this.props,o=i()([this.props.className,"gb-pricing-columns-"+e],{["align"+t]:t});return React.createElement("div",{className:o||void 0},this.props.children)}}var ui=o(6770),bi=o.n(ui),mi=o(1258),hi=o.n(mi);const{__:ki}=wp.i18n,{Component:fi}=wp.element,{registerBlockType:yi}=wp.blocks,{BlockControls:vi,BlockAlignmentToolbar:Ci,InnerBlocks:Ri}=wp.blockEditor,{dispatch:Ei}=wp.data,wi=["genesis-blocks/gb-pricing-table"],xi=bi()((e=>hi()(e,(()=>["genesis-blocks/gb-pricing-table"]))));yi("genesis-blocks/gb-pricing",{title:ki("Pricing","genesis-blocks"),description:ki("Add a pricing table.","genesis-blocks"),icon:"cart",category:"genesis-blocks",keywords:[ki("pricing table","genesis-blocks"),ki("shop","genesis-blocks"),ki("purchase","genesis-blocks")],attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:2},align:{type:"string"}},gb_settings_data:{gb_pricing_columns:{title:ki("Pricing Columns","genesis-blocks")},gb_pricing_columnsGap:{title:ki("Pricing Columns Gap","genesis-blocks")}},getEditWrapperProps(e){let{align:t}=e;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:class extends fi{componentDidUpdate(e){this.props.attributes.columns!==e.attributes.columns&&Ei("core/block-editor").synchronizeTemplate()}render(){const{attributes:{columns:e,columnsGap:t,align:o},setAttributes:a}=this.props;return[React.createElement(vi,{key:"controls"},React.createElement(Ci,{value:o,onChange:e=>a({align:e}),controls:["center","wide","full"]})),React.createElement(pi,n({key:"gb-pricing-table-inspector-"+this.props.clientId,setAttributes:a},this.props)),React.createElement(di,n({key:"gb-pricing-table-"+this.props.clientId},this.props),React.createElement("div",{className:i()("gb-pricing-table-wrap-admin","gb-block-pricing-table-gap-"+t)},React.createElement(Ri,{template:xi(e),templateLock:"all",allowedBlocks:wi})))]}},save(e){const{columnsGap:t}=e.attributes,o=i()(["gb-pricing-table-wrap","gb-block-pricing-table-gap-"+t]);return React.createElement(di,e,React.createElement("div",{className:o||void 0},React.createElement(Ri.Content,null)))}});const{__:Ti}=wp.i18n,{Component:_i}=wp.element,{InspectorControls:Si,PanelColorSettings:Bi}=wp.blockEditor,{PanelBody:zi,RangeControl:Ai}=wp.components;class Ni extends _i{render(){const{attributes:{borderWidth:e,borderColor:t,borderRadius:o,backgroundColor:n,padding:a},setAttributes:i}=this.props;return React.createElement(Si,{key:"inspector"},React.createElement(zi,null,React.createElement(s,{id:"gb_pricing_inner_padding"},React.createElement(Ai,{label:Ti("Pricing Column Padding","genesis-blocks"),value:a,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1})),React.createElement(s,{id:"gb_pricing_inner_borderWidth"},React.createElement(Ai,{label:Ti("Pricing Column Border","genesis-blocks"),value:e,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),React.createElement(s,{id:"gb_pricing_inner_borderRadius"},React.createElement(Ai,{label:Ti("Pricing Column Border Radius","genesis-blocks"),value:o,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:20,step:1}))),0<e&&React.createElement(s,{id:"gb_pricing_inner_borderColor"},React.createElement(Bi,{title:Ti("Pricing Column Border Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>i({borderColor:e}),label:Ti("Border Color","genesis-blocks")}]})),React.createElement(s,{id:"gb_pricing_inner_colorSettings"},React.createElement(Bi,{title:Ti("Pricing Column Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>i({backgroundColor:e}),label:Ti("Background Color","genesis-blocks")}]})))}}const{__:Li}=wp.i18n,{Component:Pi}=wp.element,{registerBlockType:Ii}=wp.blocks,{InnerBlocks:Mi,AlignmentToolbar:Fi,BlockControls:Oi}=wp.blockEditor,{Fragment:Ui}=wp.element,Di=["genesis-blocks/gb-pricing-table-description","genesis-blocks/gb-pricing-table-price","genesis-blocks/gb-pricing-table-subtitle","genesis-blocks/gb-pricing-table-title","genesis-blocks/gb-pricing-table-button","core/paragraph","core/image","core/html","core/shortcode"];Ii("genesis-blocks/gb-pricing-table",{title:Li("Pricing Column","genesis-blocks"),description:Li("Add a pricing column.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing"],keywords:[Li("pricing","genesis-blocks"),Li("shop","genesis-blocks"),Li("buy","genesis-blocks")],attributes:{borderWidth:{type:"number",default:2},borderColor:{type:"string"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string"},alignment:{type:"string"},padding:{type:"number"}},gb_settings_data:{gb_pricing_inner_padding:{title:Li("Pricing Column Padding","genesis-blocks")},gb_pricing_inner_borderWidth:{title:Li("Pricing Column Border","genesis-blocks")},gb_pricing_inner_borderRadius:{title:Li("Pricing Column Border Radius","genesis-blocks")},gb_pricing_inner_borderColor:{title:Li("Pricing Column Border Color","genesis-blocks")},gb_pricing_inner_colorSettings:{title:Li("Pricing Column Background Color","genesis-blocks")}},edit:class extends Pi{render(){const{attributes:{borderWidth:e,borderColor:t,borderRadius:o,backgroundColor:a,padding:r,alignment:l},setAttributes:s}=this.props,c={borderWidth:e||null,borderStyle:0<e?"solid":null,borderColor:t||null,borderRadius:o||null,backgroundColor:a||null,padding:r?r+"%":null};return[React.createElement(Oi,{key:"controls"},React.createElement(Fi,{value:l,onChange:e=>{s({alignment:e})}})),React.createElement(Ni,n({key:"gb-pricing-table-inner-inspector-"+this.props.clientId,setAttributes:s},this.props)),React.createElement(Ui,{key:"gb-pricing-table-inner-fragment-"+this.props.clientId},React.createElement("div",{className:i()(l?"gb-block-pricing-table-"+l:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:c},React.createElement(Mi,{template:[["genesis-blocks/gb-pricing-table-title",{title:"<strong>Price Title</strong>",fontSize:"medium",paddingTop:30,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-subtitle",{subtitle:"Price Subtitle Description",customFontSize:20,paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-price",{price:"49",currency:"$",customFontSize:60,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-features",{features:"<li>Product Feature One</li><li>Product Feature Two</li><li>Product Feature Three</li>",multilineTag:"li",ordered:!1,customFontSize:20,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["genesis-blocks/gb-pricing-table-button",{buttonText:"Buy Now",buttonBackgroundColor:"#272c30",paddingTop:15,paddingRight:20,paddingBottom:35,paddingLeft:20}]],templateLock:!1,allowedBlocks:Di,templateInsertUpdatesSelection:!1}))))]}},save(e){const{borderWidth:t,borderColor:o,borderRadius:n,backgroundColor:a,alignment:r,padding:l}=e.attributes,s={borderWidth:t||null,borderStyle:0<t?"solid":null,borderColor:o||null,borderRadius:n||null,backgroundColor:a||null,padding:l?l+"%":null};return React.createElement("div",{className:i()(r?"gb-block-pricing-table-"+r:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:s},React.createElement(Mi.Content,null)))}});const{__:ji}=wp.i18n,{Fragment:Wi}=wp.element,{RangeControl:Vi}=wp.components;function Hi(e){const{padding:t,paddingTitle:o,paddingHelp:n,paddingMin:a,paddingMax:i,paddingEnable:r,onChangePadding:l=(()=>{}),paddingTop:s,paddingTopMin:c,paddingTopMax:p,paddingEnableTop:g,onChangePaddingTop:d=(()=>{}),paddingRight:u,paddingRightMin:b,paddingRightMax:m,paddingEnableRight:h,onChangePaddingRight:k=(()=>{}),paddingBottom:f,paddingBottomMin:y,paddingBottomMax:v,paddingEnableBottom:C,onChangePaddingBottom:R=(()=>{}),paddingLeft:E,paddingLeftMin:w,paddingLeftMax:x,paddingEnableLeft:T,onChangePaddingLeft:_=(()=>{}),paddingVertical:S,paddingEnableVertical:B,paddingVerticalMin:z,paddingVerticalMax:A,onChangePaddingVertical:N=(()=>{}),paddingHorizontal:L,paddingEnableHorizontal:P,paddingHorizontalMin:I,paddingHorizontalMax:M,onChangePaddingHorizontal:F=(()=>{})}=e;return React.createElement(Wi,null,r&&React.createElement(Vi,{label:o||ji("Padding","genesis-blocks"),help:n||null,value:t,min:a,max:i,onChange:l}),g&&React.createElement(Vi,{label:ji("Padding Top","genesis-blocks"),value:s,min:c,max:p,onChange:d}),h&&React.createElement(Vi,{label:ji("Padding Right","genesis-blocks"),value:u,min:b,max:m,onChange:k}),C&&React.createElement(Vi,{label:ji("Padding Bottom","genesis-blocks"),value:f,min:y,max:v,onChange:R}),T&&React.createElement(Vi,{label:ji("Padding Left","genesis-blocks"),value:E,min:w,max:x,onChange:_}),B&&React.createElement(Vi,{label:ji("Padding Vertical","genesis-blocks"),value:S,min:z,max:A,onChange:N}),P&&React.createElement(Vi,{label:ji("Padding Horizontal","genesis-blocks"),value:L,min:I,max:M,onChange:F}))}const{__:qi}=wp.i18n,{Component:Gi}=wp.element,{compose:$i}=wp.compose,{InspectorControls:Ki,FontSizePicker:Yi,withFontSizes:Qi,withColors:Xi,ContrastChecker:Zi,PanelColorSettings:Ji}=wp.blockEditor,{withFallbackStyles:er,PanelBody:tr,ToggleControl:or,TextControl:nr,RangeControl:ar}=wp.components,ir=$i([er(((e,t)=>{const{textColor:o,backgroundColor:n,fontSize:a,customFontSize:i}=t.attributes,r=e.querySelector('[contenteditable="true"]'),l=r?getComputedStyle(r):null;return{fallbackBackgroundColor:n||!l?void 0:l.backgroundColor,fallbackTextColor:o||!l?void 0:l.color,fallbackFontSize:a||i||!l?void 0:parseInt(l.fontSize)||void 0}})),Qi("fontSize"),Xi("backgroundColor",{textColor:"color"})])(class extends Gi{render(){const{attributes:{showTerm:e,showCurrency:t,term:o,currency:n,paddingTop:a,paddingRight:i,paddingBottom:r,paddingLeft:l},isSelected:s,setAttributes:c,fallbackFontSize:p,fontSize:g,setFontSize:d,backgroundColor:u,textColor:b,setBackgroundColor:m,setTextColor:h,fallbackBackgroundColor:k,fallbackTextColor:f}=this.props;return React.createElement(Ki,{key:"inspector"},React.createElement(tr,{title:qi("Text Settings","genesis-blocks")},React.createElement(Yi,{fallbackFontSize:p,value:g.size,onChange:d}),React.createElement(or,{label:qi("Show currency symbol","genesis-blocks"),checked:t,onChange:()=>this.props.setAttributes({showCurrency:!t})}),t&&React.createElement(nr,{label:qi("Currency Symbol","genesis-blocks"),type:"text",value:n,onChange:e=>this.props.setAttributes({currency:e})}),React.createElement(or,{label:qi("Show pricing duration","genesis-blocks"),checked:e,onChange:()=>this.props.setAttributes({showTerm:!e})}),e&&React.createElement(nr,{label:qi("Pricing Duration","genesis-blocks"),type:"text",value:o,onChange:e=>this.props.setAttributes({term:e})})),React.createElement(tr,{title:qi("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Hi,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>c({paddingTop:e}),paddingEnableRight:!0,paddingRight:i,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>c({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>c({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:l,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>c({paddingLeft:e})})),React.createElement(Ji,{title:qi("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:u.color,onChange:m,label:qi("Background Color","genesis-blocks")},{value:b.color,onChange:h,label:qi("Text Color","genesis-blocks")}]},React.createElement(Zi,{textColor:b.color,backgroundColor:u.color,fallbackTextColor:f,fallbackBackgroundColor:k,fontSize:g.size})))}}),{__:rr}=wp.i18n,{registerBlockType:lr}=wp.blocks,{compose:sr}=wp.compose,{Component:cr,Fragment:pr}=wp.element,{RichText:gr,withFontSizes:dr,withColors:ur}=wp.blockEditor,br=sr([dr("fontSize"),ur("backgroundColor",{textColor:"color"})])(class extends cr{render(){const{attributes:{price:e,currency:t,term:o,showTerm:n,showCurrency:a,paddingTop:r,paddingRight:l,paddingBottom:s,paddingLeft:c},isSelected:p,className:g,setAttributes:d,fallbackFontSize:u,fontSize:b,backgroundColor:m,textColor:h}=this.props,k=i()({"gb-pricing-table-price-wrap":!0,"has-text-color":h.color,"has-background":m.color,[m.class]:m.class,[h.class]:h.class,"gb-pricing-has-currency":a}),f=i()({"gb-pricing-table-price":!0,[b.class]:b.class}),y={backgroundColor:m.color,color:h.color,paddingTop:r?r+"px":void 0,paddingRight:l?l+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:c?c+"px":void 0},v={fontSize:b.size?b.size+"px":void 0},C=Math.floor(b.size/2.5),R={fontSize:b.size?C+"px":void 0},E=Math.floor(b.size/2.5),w={fontSize:b.size?E+"px":void 0};return[React.createElement(pr,{key:"gb-pricing-table-inner-component-price-"+this.props.clientId},React.createElement(ir,this.props),React.createElement("div",{className:k||void 0,style:y},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&React.createElement(gr,{tagName:"span",itemProp:"priceCurrency",placeholder:rr("$","genesis-blocks"),keepPlaceholderOnFocus:!0,value:t,onChange:e=>d({currency:e}),className:"gb-pricing-table-currency",style:R}),React.createElement(gr,{tagName:"div",itemProp:"price",placeholder:rr("49","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,onChange:e=>d({price:e}),style:v,className:f||void 0}),n&&React.createElement(gr,{tagName:"span",value:o,placeholder:rr("/mo","genesis-blocks"),keepPlaceholderOnFocus:!0,onChange:e=>d({term:e}),className:"gb-pricing-table-term",style:w}))))]}}),{__:mr}=wp.i18n,{RichText:hr,getFontSizeClass:kr,getColorClassName:fr}=wp.blockEditor,yr=[{attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},save:e=>{const{price:t,currency:o,fontSize:n,customFontSize:a,backgroundColor:r,textColor:l,customBackgroundColor:s,customTextColor:c,term:p,showTerm:g,showCurrency:d,paddingTop:u,paddingRight:b,paddingBottom:m,paddingLeft:h}=e.attributes,k=kr(n),f=fr("color",l),y=fr("background-color",r),v=i()({"has-background":r||s,"gb-pricing-table-price-wrap":!0,[f]:f,[y]:y,"gb-pricing-has-currency":d&&o}),C=i()({"gb-pricing-table-price":!0,[k]:k}),R={backgroundColor:y?void 0:s,color:f?void 0:c,paddingTop:u?u+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:m?m+"px":void 0,paddingLeft:h?h+"px":void 0},E={fontSize:k?void 0:a},w=k?void 0:a,x=Math.floor(w/2.5),T={fontSize:w?x+"px":void 0},_=Math.floor(w/2.5),S={fontSize:w?_+"px":void 0};return React.createElement("div",{className:v||void 0,style:R},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},o&&d&&React.createElement(hr.Content,{tagName:"span",itemProp:"priceCurrency",placeholder:mr("$","genesis-blocks"),value:o,className:"gb-pricing-table-currency",style:T}),React.createElement(hr.Content,{tagName:"div",itemProp:"price",value:t,className:C||void 0,style:E}),p&&g&&React.createElement(hr.Content,{tagName:"span",value:p,className:"gb-pricing-table-term",style:S})))}}],vr=yr,{__:Cr}=wp.i18n,{registerBlockType:Rr}=wp.blocks,{Component:Er,Fragment:wr}=wp.element,{RichText:xr,getFontSizeClass:Tr,FontSizePicker:_r,withFontSizes:Sr,getColorClassName:Br}=wp.blockEditor;Rr("genesis-blocks/gb-pricing-table-price",{title:Cr("Product Price","genesis-blocks"),description:Cr("Adds a product price component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Cr("pricing table","genesis-blocks"),Cr("price","genesis-blocks"),Cr("shop","genesis-blocks")],attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:br,save(e){const{price:t,currency:o,fontSize:n,customFontSize:a,backgroundColor:r,textColor:l,customBackgroundColor:s,customTextColor:c,term:p,showTerm:g,showCurrency:d,paddingTop:u,paddingRight:b,paddingBottom:m,paddingLeft:h}=e.attributes,k=Tr(n),f=Br("color",l),y=Br("background-color",r),v=i()({"has-background":r||s,"gb-pricing-table-price-wrap":!0,[f]:f,[y]:y,"gb-pricing-has-currency":d&&o}),C=i()({"gb-pricing-table-price":!0,[k]:k}),R={backgroundColor:y?void 0:s,color:f?void 0:c,paddingTop:u?u+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:m?m+"px":void 0,paddingLeft:h?h+"px":void 0},E={fontSize:k?void 0:a},w=k?void 0:a,x=Math.floor(w/2.5),T={fontSize:w?x+"px":void 0},_=Math.floor(w/2.5),S={fontSize:w?_+"px":void 0};return React.createElement("div",{className:v||void 0,style:R},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},o&&d&&React.createElement(xr.Content,{tagName:"span",itemProp:"priceCurrency",value:o,className:"gb-pricing-table-currency",style:T}),React.createElement(xr.Content,{tagName:"div",itemProp:"price",value:t,className:C||void 0,style:E}),p&&g&&React.createElement(xr.Content,{tagName:"span",value:p,className:"gb-pricing-table-term",style:S})))},deprecated:vr});const{__:zr}=wp.i18n,{Component:Ar}=wp.element,{compose:Nr}=wp.compose,{InspectorControls:Lr,FontSizePicker:Pr,withFontSizes:Ir,withColors:Mr,ContrastChecker:Fr,PanelColorSettings:Or,ColorPalette:Ur}=wp.blockEditor,{withFallbackStyles:Dr,PanelBody:jr,PanelRow:Wr,SelectControl:Vr,BaseControl:Hr,RangeControl:qr}=wp.components,Gr=Nr([Dr(((e,t)=>{const{textColor:o,backgroundColor:n,fontSize:a,customFontSize:i}=t.attributes,r=e.querySelector('[contenteditable="true"]'),l=r?getComputedStyle(r):null;return{fallbackBackgroundColor:n||!l?void 0:l.backgroundColor,fallbackTextColor:o||!l?void 0:l.color,fallbackFontSize:a||i||!l?void 0:parseInt(l.fontSize)||void 0}})),Ir("fontSize"),Mr("backgroundColor",{textColor:"color"})])(class extends Ar{render(){const{attributes:{borderStyle:e,borderColor:t,borderWidth:o,paddingTop:n,paddingRight:a,paddingBottom:i,paddingLeft:r},isSelected:l,setAttributes:s,fallbackFontSize:c,fontSize:p,setFontSize:g,backgroundColor:d,textColor:u,setBackgroundColor:b,setTextColor:m,fallbackBackgroundColor:h,fallbackTextColor:k}=this.props,f=[{value:"gb-list-border-none",label:zr("None")},{value:"gb-list-border-solid",label:zr("Solid")},{value:"gb-list-border-dotted",label:zr("Dotted")},{value:"gb-list-border-dashed",label:zr("Dashed")}];return React.createElement(Lr,{key:"inspector"},React.createElement(jr,{title:zr("Text Settings","genesis-blocks")},React.createElement(Pr,{fallbackFontSize:c,value:p.size,onChange:g}),React.createElement(Vr,{label:zr("List Border Style","genesis-blocks"),value:e,options:f.map((e=>{let{value:t,label:o}=e;return{value:t,label:o}})),onChange:e=>{this.props.setAttributes({borderStyle:e})}}),"gb-list-border-none"!==e&&React.createElement(qr,{label:zr("List Border Width","genesis-blocks"),value:o,onChange:e=>this.props.setAttributes({borderWidth:e}),min:1,max:5,step:1}),"gb-list-border-none"!==e&&React.createElement(Wr,null,React.createElement(Hr,{label:zr("List Border Color","genesis-blocks"),id:"gb-list-border-color-"+this.props.clientId},React.createElement(Ur,{initialOpen:!1,value:t,onChange:e=>s({borderColor:e})})))),React.createElement(jr,{title:zr("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Hi,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>s({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>s({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:i,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>s({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:r,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>s({paddingLeft:e})})),React.createElement(Or,{title:zr("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:d.color,onChange:b,label:zr("Background Color","genesis-blocks")},{value:u.color,onChange:m,label:zr("Text Color","genesis-blocks")}]},React.createElement(Fr,{textColor:u.color,backgroundColor:d.color,fallbackTextColor:k,fallbackBackgroundColor:h,fontSize:p.size})))}}),{__:$r}=wp.i18n,{registerBlockType:Kr}=wp.blocks,{compose:Yr}=wp.compose,{Component:Qr,Fragment:Xr}=wp.element,{RichText:Zr,withFontSizes:Jr,withColors:el}=wp.blockEditor,tl=Yr([Jr("fontSize"),el("backgroundColor",{textColor:"color"})])(class extends Qr{render(){const{attributes:{features:e,borderStyle:t,borderColor:o,borderWidth:n,paddingTop:a,paddingRight:r,paddingBottom:l,paddingLeft:s},isSelected:c,className:p,setAttributes:g,fallbackFontSize:d,fontSize:u,backgroundColor:b,textColor:m}=this.props,h=i()({"gb-pricing-table-features":!0,[u.class]:u.class,"has-text-color":m.color,"has-background":b.color,[b.class]:b.class,[m.class]:m.class,[t]:t,["gb-list-border-width-"+n]:n}),k={fontSize:u.size?u.size+"px":void 0,backgroundColor:b.color,color:m.color,borderColor:o||void 0,paddingTop:a?a+"px":void 0,paddingRight:r?r+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0};return[React.createElement(Xr,{key:"gb-pricing-table-inner-component-description-"+this.props.clientId},React.createElement(Gr,this.props),React.createElement(Zr,{tagName:"ul",multiline:"li",itemProp:"description",placeholder:$r("Add a product feature","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,onChange:e=>g({features:e}),style:k,className:h||void 0}))]}}),{__:ol}=wp.i18n,{registerBlockType:nl}=wp.blocks,{Component:al}=wp.element,{RichText:il,getFontSizeClass:rl,FontSizePicker:ll,withFontSizes:sl,getColorClassName:cl}=wp.blockEditor;nl("genesis-blocks/gb-pricing-table-features",{title:ol("Product Features","genesis-blocks"),description:ol("Adds a product feature component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[ol("pricing table","genesis-blocks"),ol("features","genesis-blocks"),ol("shop","genesis-blocks")],attributes:{features:{type:"string",source:"html",selector:"ol,ul",multiline:"li"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},borderStyle:{type:"string",default:"gb-list-border-none"},borderColor:{type:"string"},borderWidth:{type:"number",default:1},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:tl,save(e){const{features:t,fontSize:o,customFontSize:n,backgroundColor:a,textColor:r,customBackgroundColor:l,customTextColor:s,borderStyle:c,borderColor:p,borderWidth:g,paddingTop:d,paddingRight:u,paddingBottom:b,paddingLeft:m}=e.attributes,h=rl(o),k=cl("color",r),f=cl("background-color",a),y=i()({"has-background":a||l,"gb-pricing-table-features":!0,[h]:h,[k]:k,[f]:f,[c]:c,["gb-list-border-width-"+g]:g}),v={fontSize:h?void 0:n,backgroundColor:f?void 0:l,color:k?void 0:s,borderColor:p||void 0,paddingTop:d?d+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:b?b+"px":void 0,paddingLeft:m?m+"px":void 0};return React.createElement(il.Content,{tagName:"ul",itemProp:"description",value:t,className:y||void 0,style:v})}});const{__:pl}=wp.i18n,{Component:gl}=wp.element,{compose:dl}=wp.compose,{InspectorControls:ul,FontSizePicker:bl,withFontSizes:ml,withColors:hl,ContrastChecker:kl,PanelColorSettings:fl,RangeControl:yl}=wp.blockEditor,{withFallbackStyles:vl,PanelBody:Cl}=wp.components,Rl=dl([vl(((e,t)=>{const{textColor:o,backgroundColor:n,fontSize:a,customFontSize:i}=t.attributes,r=e.querySelector('[contenteditable="true"]'),l=r?getComputedStyle(r):null;return{fallbackBackgroundColor:n||!l?void 0:l.backgroundColor,fallbackTextColor:o||!l?void 0:l.color,fallbackFontSize:a||i||!l?void 0:parseInt(l.fontSize)||void 0}})),ml("fontSize"),hl("backgroundColor",{textColor:"color"})])(class extends gl{render(){const{attributes:{paddingTop:e,paddingRight:t,paddingBottom:o,paddingLeft:n},isSelected:a,setAttributes:i,fallbackFontSize:r,fontSize:l,setFontSize:s,backgroundColor:c,textColor:p,setBackgroundColor:g,setTextColor:d,fallbackBackgroundColor:u,fallbackTextColor:b}=this.props;return React.createElement(ul,{key:"inspector"},React.createElement(Cl,{title:pl("Text Settings","genesis-blocks")},React.createElement(bl,{fallbackFontSize:r,value:l.size,onChange:s})),React.createElement(Cl,{title:pl("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Hi,{paddingEnableTop:!0,paddingTop:e,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>i({paddingTop:e}),paddingEnableRight:!0,paddingRight:t,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>i({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:o,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>i({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:n,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>i({paddingLeft:e})})),React.createElement(fl,{title:pl("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c.color,onChange:g,label:pl("Background Color","genesis-blocks")},{value:p.color,onChange:d,label:pl("Text Color","genesis-blocks")}]},React.createElement(kl,{textColor:p.color,backgroundColor:c.color,fallbackTextColor:b,fallbackBackgroundColor:u,fontSize:l.size})))}}),{__:El}=wp.i18n,{registerBlockType:wl}=wp.blocks,{compose:xl}=wp.compose,{Component:Tl,Fragment:_l}=wp.element,{RichText:Sl,withFontSizes:Bl,withColors:zl}=wp.blockEditor,Al=xl([Bl("fontSize"),zl("backgroundColor",{textColor:"color"})])(class extends Tl{render(){const{attributes:{title:e,paddingTop:t,paddingRight:o,paddingBottom:n,paddingLeft:a},isSelected:r,className:l,setAttributes:s,fallbackFontSize:c,fontSize:p,backgroundColor:g,textColor:d}=this.props,u=i()({"gb-pricing-table-title":!0,[p.class]:p.class,"has-text-color":d.color,"has-background":g.color,[g.class]:g.class,[d.class]:d.class}),b={fontSize:p.size?p.size+"px":void 0,backgroundColor:g.color,color:d.color,paddingTop:t?t+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:n?n+"px":void 0,paddingLeft:a?a+"px":void 0};return[React.createElement(_l,{key:"gb-pricing-table-inner-component-title-"+this.props.clientId},React.createElement(Rl,this.props),React.createElement(Sl,{tagName:"div",itemProp:"name",placeholder:El("Price Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,onChange:e=>s({title:e}),style:b,className:u||void 0}))]}}),{__:Nl}=wp.i18n,{registerBlockType:Ll}=wp.blocks,{Component:Pl}=wp.element,{RichText:Il,getFontSizeClass:Ml,FontSizePicker:Fl,withFontSizes:Ol,getColorClassName:Ul}=wp.blockEditor;Ll("genesis-blocks/gb-pricing-table-title",{title:Nl("Product Title","genesis-blocks"),description:Nl("Adds a product title component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Nl("pricing table","genesis-blocks"),Nl("title","genesis-blocks"),Nl("shop","genesis-blocks")],attributes:{title:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Al,save(e){const{title:t,fontSize:o,customFontSize:n,backgroundColor:a,textColor:r,customBackgroundColor:l,customTextColor:s,paddingTop:c,paddingRight:p,paddingBottom:g,paddingLeft:d}=e.attributes,u=Ml(o),b=Ul("color",r),m=Ul("background-color",a),h={fontSize:u?void 0:n,backgroundColor:m?void 0:l,color:b?void 0:s,paddingTop:c?c+"px":void 0,paddingRight:p?p+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:d?d+"px":void 0},k=i()({"has-background":a||l,"gb-pricing-table-title":!0,[u]:u,[b]:b,[m]:m});return React.createElement(Il.Content,{tagName:"div",itemProp:"name",value:t,style:h,className:k||void 0})}});const{__:Dl}=wp.i18n,{registerBlockType:jl}=wp.blocks,{compose:Wl}=wp.compose,{Component:Vl,Fragment:Hl}=wp.element,{RichText:ql,withFontSizes:Gl,withColors:$l}=wp.blockEditor,Kl=Wl([Gl("fontSize"),$l("backgroundColor",{textColor:"color"})])(class extends Vl{render(){const{attributes:{subtitle:e,paddingTop:t,paddingRight:o,paddingBottom:n,paddingLeft:a},isSelected:r,className:l,setAttributes:s,fallbackFontSize:c,fontSize:p,backgroundColor:g,textColor:d}=this.props,u=i()({"gb-pricing-table-subtitle":!0,[p.class]:p.class,"has-text-color":d.color,"has-background":g.color,[g.class]:g.class,[d.class]:d.class}),b={fontSize:p.size?p.size+"px":void 0,backgroundColor:g.color,color:d.color,paddingTop:t?t+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:n?n+"px":void 0,paddingLeft:a?a+"px":void 0};return[React.createElement(Hl,{key:"gb-pricing-table-inner-component-subtitle-"+this.props.clientId},React.createElement(Rl,this.props),React.createElement(ql,{tagName:"div",placeholder:Dl("Price Subtitle","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e,onChange:e=>s({subtitle:e}),style:b,className:u||void 0}))]}}),{__:Yl}=wp.i18n,{registerBlockType:Ql}=wp.blocks,{Component:Xl}=wp.element,{RichText:Zl,getFontSizeClass:Jl,FontSizePicker:es,withFontSizes:ts,getColorClassName:os}=wp.blockEditor;Ql("genesis-blocks/gb-pricing-table-subtitle",{title:Yl("Product Subtitle","genesis-blocks"),description:Yl("Adds a product subtitle component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Yl("pricing table","genesis-blocks"),Yl("subtitle","genesis-blocks"),Yl("shop","genesis-blocks")],attributes:{subtitle:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Kl,save(e){const{subtitle:t,fontSize:o,customFontSize:n,backgroundColor:a,textColor:r,customBackgroundColor:l,customTextColor:s,paddingTop:c,paddingRight:p,paddingBottom:g,paddingLeft:d}=e.attributes,u=Jl(o),b=os("color",r),m=os("background-color",a),h=i()({"has-background":a||l,"gb-pricing-table-subtitle":!0,[u]:u,[b]:b,[m]:m}),k={fontSize:u?void 0:n,backgroundColor:m?void 0:l,color:b?void 0:s,paddingTop:c?c+"px":void 0,paddingRight:p?p+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:d?d+"px":void 0};return React.createElement(Zl.Content,{tagName:"div",value:t,className:h||void 0,style:k})}});const{__:ns}=wp.i18n,{Component:as}=wp.element,{compose:is}=wp.compose,{InspectorControls:rs,FontSizePicker:ls,withFontSizes:ss,withColors:cs,ContrastChecker:ps,PanelColorSettings:gs}=wp.blockEditor,{withFallbackStyles:ds,PanelBody:us,ToggleControl:bs,TextControl:ms,RangeControl:hs}=wp.components,ks=is([ds(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),a=n?getComputedStyle(n):null;return{fallbackBackgroundColor:o||!a?void 0:a.backgroundColor}})),ss("fontSize"),cs("backgroundColor")])(class extends as{render(){const{attributes:{paddingTop:e,paddingRight:t,paddingBottom:o,paddingLeft:n,buttonText:a,buttonUrl:i,buttonAlignment:r,buttonBackgroundColor:l,buttonTextColor:s,buttonSize:c,buttonShape:p,buttonTarget:g},isSelected:d,setAttributes:u,backgroundColor:b,setBackgroundColor:m,fallbackBackgroundColor:h}=this.props;return React.createElement(rs,{key:"inspector"},React.createElement(us,{title:ns("Button Settings","genesis-blocks")},React.createElement(mt,{buttonTarget:g,onChangeButtonTarget:e=>u({buttonTarget:!g}),buttonSize:c,onChangeButtonSize:e=>u({buttonSize:e}),buttonShape:p,onChangeButtonShape:e=>u({buttonShape:e}),buttonBackgroundColor:l,onChangeButtonColor:e=>u({buttonBackgroundColor:e}),buttonTextColor:s,onChangeButtonTextColor:e=>u({buttonTextColor:e})})),React.createElement(us,{title:ns("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Hi,{paddingEnableTop:!0,paddingTop:e,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>u({paddingTop:e}),paddingEnableRight:!0,paddingRight:t,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>u({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:o,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>u({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:n,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>u({paddingLeft:e})})),React.createElement(gs,{title:ns("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:b.color,onChange:m,label:ns("Background Color","genesis-blocks")}]}))}}),{__:fs}=wp.i18n,{registerBlockType:ys}=wp.blocks,{compose:vs}=wp.compose,{Component:Cs,Fragment:Rs}=wp.element,{RichText:Es,withFontSizes:ws,withColors:xs,InnerBlocks:Ts,URLInput:_s}=wp.blockEditor,{Button:Ss,Dashicon:Bs,Icon:zs}=wp.components,As=vs([ws("fontSize"),xs("backgroundColor",{textColor:"color"})])(class extends Cs{render(){const{attributes:{subtitle:e,paddingTop:t,paddingRight:o,paddingBottom:n,paddingLeft:a,buttonText:r,buttonUrl:l,buttonAlignment:s,buttonBackgroundColor:c,buttonTextColor:p,buttonSize:g,buttonShape:d,buttonTarget:u},isSelected:b,className:m,setAttributes:h,backgroundColor:k}=this.props,f=i()({"gb-pricing-table-button":!0}),y={backgroundColor:k.color,paddingTop:t?t+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:n?n+"px":void 0,paddingLeft:a?a+"px":void 0};return[React.createElement(Rs,{key:"gb-pricing-table-inner-component-button-"+this.props.clientId},React.createElement(ks,this.props),React.createElement("div",{className:f||void 0,style:y},React.createElement(Rt,this.props,React.createElement(Es,{tagName:"span",placeholder:fs("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,allowedFormats:[],className:i()("gb-button",d,g),style:{color:p,backgroundColor:c},onChange:e=>h({buttonText:e})})),b&&React.createElement("form",{key:"form-link",className:`blocks-button__inline-link gb-button-${s}`,onSubmit:e=>e.preventDefault(),style:{textAlign:s}},React.createElement(Bs,{icon:"admin-links"}),React.createElement(_s,{className:"button-url",value:l,onChange:e=>h({buttonUrl:e})}),React.createElement(Ss,{label:fs("Apply","genesis-blocks"),type:"submit"},React.createElement(zs,{icon:"editor-break"})))))]}}),{__:Ns}=wp.i18n,{registerBlockType:Ls}=wp.blocks,{Component:Ps}=wp.element,{RichText:Is,getFontSizeClass:Ms,FontSizePicker:Fs,withFontSizes:Os,getColorClassName:Us}=wp.blockEditor;Ls("genesis-blocks/gb-pricing-table-button",{title:Ns("Product Button","genesis-blocks"),description:Ns("Adds a product button component.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Ns("pricing table","genesis-blocks"),Ns("subtitle","genesis-blocks"),Ns("shop","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:As,save(e){const{backgroundColor:t,customBackgroundColor:o,paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:l,buttonText:s,buttonUrl:c,buttonAlignment:p,buttonBackgroundColor:g,buttonTextColor:d,buttonSize:u,buttonShape:b,buttonTarget:m}=e.attributes,h=Us("background-color",t),k=i()({"has-background":t||o,"gb-pricing-table-button":!0,[h]:h}),f={backgroundColor:h?void 0:o,paddingTop:n?n+"px":void 0,paddingRight:a?a+"px":void 0,paddingBottom:r?r+"px":void 0,paddingLeft:l?l+"px":void 0};return React.createElement("div",{className:k||void 0,style:f},React.createElement(Rt,e,s&&React.createElement("a",{href:c,target:m?"_blank":null,rel:m?"noopener noreferrer":null,className:i()("gb-button",b,u),style:{color:d,backgroundColor:g}},React.createElement(Is.Content,{value:s}))))}});const{__:Ds}=wp.i18n,{Fragment:js}=wp.element,{RangeControl:Ws}=wp.components;function Vs(e){const{marginTop:t,marginTopLabel:o,marginTopMin:n,marginTopMax:a,marginEnableTop:i,onChangeMarginTop:r=(()=>{}),marginRight:l,marginRightLabel:s,marginRightMin:c,marginRightMax:p,marginEnableRight:g,onChangeMarginRight:d=(()=>{}),marginBottom:u,marginBottomLabel:b,marginBottomMin:m,marginBottomMax:h,marginEnableBottom:k,onChangeMarginBottom:f=(()=>{}),marginLeft:y,marginLeftLabel:v,marginLeftMin:C,marginLeftMax:R,marginEnableLeft:E,onChangeMarginLeft:w=(()=>{}),marginVertical:x,marginVerticalLabel:T,marginEnableVertical:_,marginVerticalMin:S,marginVerticalMax:B,onChangeMarginVertical:z=(()=>{}),marginHorizontal:A,marginHorizontalLabel:N,marginEnableHorizontal:L,marginHorizontalMin:P,marginHorizontalMax:I,onChangeMarginHorizontal:M=(()=>{})}=e;return React.createElement(js,null,i&&React.createElement(Ws,{label:o||Ds("Margin Top","genesis-blocks"),value:t,min:n,max:a,onChange:r}),g&&React.createElement(Ws,{label:s||Ds("Margin Right","genesis-blocks"),value:l,min:c,max:p,onChange:d}),k&&React.createElement(Ws,{label:b||Ds("Margin Bottom","genesis-blocks"),value:u,min:m,max:h,onChange:f}),E&&React.createElement(Ws,{label:v||Ds("Margin Left","genesis-blocks"),value:y,min:C,max:R,onChange:w}),_&&React.createElement(Ws,{label:T||Ds("Margin Vertical","genesis-blocks"),value:x,min:S,max:B,onChange:z}),L&&React.createElement(Ws,{label:N||Ds("Margin Horizontal","genesis-blocks"),value:A,min:P,max:I,onChange:M}))}const{__:Hs}=wp.i18n,{Component:qs}=wp.element,{compose:Gs}=wp.compose,{InspectorControls:$s,withColors:Ks,ContrastChecker:Ys,PanelColorSettings:Qs}=wp.blockEditor,{PanelBody:Xs,SelectControl:Zs,TextControl:Js,FormToggle:ec,withFallbackStyles:tc}=wp.components,oc=Gs([tc(((e,t)=>{const{backgroundColor:o,textColor:n,buttonBackgroundColor:a,buttonTextColor:i}=t.attributes,r=e.querySelector('[contenteditable="true"]'),l=r?getComputedStyle(r):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:n||!l?void 0:l.color,fallbackButtonBackgroundColor:a||!l?void 0:l.buttonBackgroundColor,fallbackButtonTextColor:i||!l?void 0:l.buttonTextColor}})),Ks("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(class extends qs{doubleOptInChange(e){this.props.doubleOptIn&&this.props.doubleOptIn(e.target.checked)}render(){const{attributes:e,setAttributes:t,backgroundColor:o,setBackgroundColor:n,fallbackBackgroundColor:a,textColor:i,fallbackTextColor:r,setTextColor:l,buttonBackgroundColor:c,fallbackButtonBackgroundColor:p,buttonTextColor:g,fallbackButtonTextColor:d,setButtonBackgroundColor:u,setButtonTextColor:b}=this.props,m={mailchimp:{label:"Mailchimp",value:"mailchimp",lists:[{label:Hs("Select a list","genesis-blocks"),value:""}]}};return genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.lists.map((e=>m.mailchimp.lists.push({label:e.name,value:e.id}))),React.createElement($s,null,React.createElement(Xs,{title:Hs("Newsletter","genesis-blocks"),initialOpen:!e.mailingList},React.createElement(s,{id:"gb_newsletter_mailingList"},React.createElement(Zs,{label:Hs("Mailing List","genesis-blocks"),help:Hs("The list people will be subscribed to.","genesis-blocks"),options:m.mailchimp.lists,value:e.mailingList,onChange:e=>t({mailingList:e})})),React.createElement(s,{id:"gb_newsletter_successMessage"},React.createElement(Js,{type:"string",label:Hs("Success Message","genesis-blocks"),help:Hs("The message shown when people successfully subscribe.","genesis-blocks"),value:e.successMessage,onChange:e=>t({successMessage:e})})),React.createElement(s,{id:"gb_newsletter_doubleOptIn"},React.createElement("div",{className:"gb-newsletter-double-opt-in-setting-wrapper"},React.createElement(ec,{id:"double-opt-in-toggle-"+this.props.instanceId,className:"gb-newsletter-double-opt-in-toggle",checked:e.doubleOptIn,onChange:e=>t({doubleOptIn:e.target.checked})}),React.createElement("label",{className:"gb-newsletter-double-opt-in-setting-label",htmlFor:"double-opt-in-toggle-"+this.props.instanceId},Hs("Enable Double Opt-In","genesis-blocks")),React.createElement("p",{className:"description"},Hs("Send contacts an opt-in confirmation email when they subscribe to your list.","genesis-blocks"))))),React.createElement(Xs,{title:Hs("General","genesis-blocks"),initialOpen:!!e.mailingList},React.createElement(s,{id:"gb_newsletter_containerPadding"},React.createElement(Hi,{paddingEnable:!0,paddingTitle:Hs("Block Padding","genesis-blocks"),paddingHelp:Hs("Adjust the padding applied to the inside of the block.","genesis-blocks"),padding:e.containerPadding,paddingMin:"0",paddingMax:"100",onChangePadding:e=>t({containerPadding:e})})),React.createElement(s,{id:"gb_newsletter_containerMargin"},React.createElement(Vs,{marginEnableTop:!0,marginTopLabel:Hs("Block Margin Top","genesis-blocks"),marginTop:e.containerMarginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:e=>t({containerMarginTop:e}),marginEnableBottom:!0,marginBottomLabel:Hs("Block Margin Bottom","genesis-blocks"),marginBottom:e.containerMarginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:e=>t({containerMarginBottom:e})})),React.createElement(mt,{enableButtonTarget:!1,buttonSize:e.buttonSize,onChangeButtonSize:e=>t({buttonSize:e}),buttonShape:e.buttonShape,onChangeButtonShape:e=>t({buttonShape:e}),enableButtonBackgroundColor:!1,enableButtonTextColor:!1})),React.createElement(s,{id:"gb_newsletter_colorOptions"},React.createElement(Qs,{title:Hs("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:n,label:Hs("Block Background Color","genesis-blocks")},{value:i.color,onChange:l,label:Hs("Block Text Color","genesis-blocks")},{value:c.color,onChange:u,label:Hs("Button Background Color","genesis-blocks")},{value:g.color,onChange:b,label:Hs("Button Text Color","genesis-blocks")}]},React.createElement(Ys,{textColor:i.color,backgroundColor:o.color,fallbackTextColor:r,fallbackBackgroundColor:a}),React.createElement(Ys,{textColor:g.color,backgroundColor:c.color,fallbackButtonTextColor:d,fallbackButtonBackgroundColor:p}),React.createElement(Ys,{textColor:c.color,backgroundColor:o.color,fallbackButtonBackgroundColor:p,fallbackBackgroundColor:a}))))}}),{Component:nc}=wp.element,{getColorClassName:ac}=wp.blockEditor;class ic extends nc{render(){const{attributes:e,backgroundColor:t,textColor:o}=this.props;let n,a;return n=e.customBackgroundColor?"gb-has-custom-background-color":e.backgroundColor?"has-"+e.backgroundColor+"-background-color":null,a=e.customTextColor?"gb-has-custom-text-color":e.textColor?"has-"+e.textColor+"-color":null,React.createElement("div",{style:{backgroundColor:t.color,padding:e.containerPadding?e.containerPadding:void 0,marginTop:e.containerMarginTop?e.containerMarginTop:void 0,marginBottom:e.containerMarginBottom?e.containerMarginBottom:void 0,color:o.color},className:i()([this.props.className],{"gb-block-newsletter":!0,"gb-form-styles":!0,"has-background":e.backgroundColor||e.customBackgroundColor,[n]:n,[a]:a})},this.props.children)}}const{__:rc}=wp.i18n,{compose:lc,withInstanceId:sc}=wp.compose,{getColorClassName:cc,RichText:pc,withColors:gc}=wp.blockEditor,{Fragment:dc,Component:uc}=wp.element,{TextControl:bc,withFallbackStyles:mc}=wp.components,hc=lc([mc(((e,t)=>{const{backgroundColor:o,textColor:n,buttonBackgroundColor:a}=t.attributes,i=e.querySelector('[contenteditable="true"]'),r=i?getComputedStyle(i):null;return{fallbackBackgroundColor:o||!r?void 0:r.backgroundColor,fallbackTextColor:n||!r?void 0:r.color,fallbackButtonBackgroundColor:a||!r?void 0:r.buttonBackgroundColor}})),gc("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(sc(class extends uc{constructor(){super(...arguments),this.props.setAttributes({instanceId:this.props.instanceId})}render(){const{attributes:e,isSelected:t,setAttributes:o,buttonBackgroundColor:a,buttonTextColor:r}=this.props,l=genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.api_key_defined;let s,c;return s=e.customButtonBackgroundColor?"gb-has-custom-background-color":e.buttonBackgroundColor?`has-${e.buttonBackgroundColor}-background-color`:null,c=e.customButtonTextColor?"gb-has-custom-text-color":e.buttonTextColor?"has-"+e.buttonTextColor+"-color":null,[React.createElement(oc,n({key:"gb-newsletter-inspector-"+this.props.clientId,setAttributes:o},this.props)),React.createElement(ic,n({key:"gb-newsletter-container-"+this.props.clientId},this.props),!l&&React.createElement(dc,null,React.createElement("div",{className:"gb-newsletter-notice"},rc("You must define your newsletter provider API keys to use this block.","genesis-blocks"),React.createElement("p",null,React.createElement("a",{href:genesis_blocks_newsletter_block_vars.plugin_settings_page_url,target:"_blank",rel:"noopener noreferrer"},rc("Configure your settings","genesis-blocks"))))),l&&React.createElement(dc,null,React.createElement(pc,{tagName:"span",className:"gb-block-newsletter-label",keepPlaceholderOnFocus:!0,allowedFormats:[],value:e.emailInputLabel,onChange:e=>this.props.setAttributes({emailInputLabel:e})}),React.createElement(bc,{name:"gb-newsletter-email-address"}),React.createElement("div",{className:i()("gb-block-button")},React.createElement(Rt,this.props,React.createElement(pc,{tagName:"span",placeholder:rc("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:e.buttonText,allowedFormats:[],className:i()("gb-button",e.buttonClass,e.buttonShape,e.buttonSize,s,c,{"has-background":e.buttonBackgroundColor||e.customButtonBackgroundColor,"has-text-color":e.buttonTextColor||e.customButtonTextColor}),style:{backgroundColor:a.color,color:r.color},onChange:e=>this.props.setAttributes({buttonText:e})})),t&&React.createElement("form",{key:"form-link",className:`blocks-button__inline-link gb-button-${e.buttonAlignment}`,onSubmit:e=>e.preventDefault(),style:{textAlign:e.buttonAlignment}}))))]}})),{__:kc}=wp.i18n,{registerBlockType:fc}=wp.blocks;fc("genesis-blocks/gb-newsletter",{title:kc("Email newsletter","genesis-blocks"),description:kc("Add an email newsletter sign-up form.","genesis-blocks"),category:"genesis-blocks",icon:"email-alt",keywords:[kc("Mailchimp","genesis-blocks"),kc("Subscribe","genesis-blocks"),kc("Newsletter","genesis-blocks")],edit:hc,gb_settings_data:{gb_newsletter_mailingList:{title:kc("Mailing List","genesis-blocks")},gb_newsletter_successMessage:{title:kc("Success Message","genesis-blocks")},gb_newsletter_doubleOptIn:{title:kc("Enable Double Opt-In","genesis-blocks")},gb_newsletter_containerPadding:{title:kc("Form Padding","genesis-blocks")},gb_newsletter_containerMargin:{title:kc("Form Margin","genesis-blocks")},gb_newsletter_colorOptions:{title:kc("Color Options","genesis-blocks")}},save:()=>null});const yc=function(e){return[void 0!==e.backgroundDimRatio&&100!==e.backgroundDimRatio?"gb-has-background-dim":null,(t=e.backgroundDimRatio,100>t?"gb-has-background-dim-"+10*Math.round(t/10):null),e.backgroundImgURL&&e.backgroundSize&&"no-repeat"===e.backgroundRepeat?"gb-background-"+e.backgroundSize:null,e.backgroundImgURL&&e.backgroundRepeat?"gb-background-"+e.backgroundRepeat:null,e.hasParallax?"gb-has-parallax":null];var t},vc=e=>({backgroundImage:e.backgroundImgURL?`url(${e.backgroundImgURL})`:void 0,backgroundPosition:e.focalPoint?`${100*e.focalPoint.x}% ${100*e.focalPoint.y}%`:void 0}),{Component:Cc}=wp.element;class Rc extends Cc{render(){const{attributes:e}=this.props;let t,o;t=e.customBackgroundColor?"gb-has-custom-background-color":e.backgroundColor?"has-"+e.backgroundColor+"-background-color":null,o=e.customTextColor?"gb-has-custom-text-color":e.textColor?"has-"+e.textColor+"-color":null;const n=i()([this.props.className,"gb-layout-columns-"+e.columns,e.layout,...yc(e),t,o,e.columnMaxWidth&&e.centerColumns?"gb-columns-center":null],{["align"+e.align]:e.align});let a,r;a=e.marginSync?{marginTop:0<e.margin?e.margin+e.marginUnit:null,marginBottom:0<e.margin?e.margin+e.marginUnit:null}:{marginTop:0<e.marginTop?e.marginTop+e.marginUnit:null,marginBottom:0<e.marginBottom?e.marginBottom+e.marginUnit:null},r=e.paddingSync?{padding:0<e.padding?e.padding+e.paddingUnit:null}:{paddingTop:0<e.paddingTop?e.paddingTop+e.paddingUnit:null,paddingRight:0<e.paddingRight?e.paddingRight+e.paddingUnit:null,paddingBottom:0<e.paddingBottom?e.paddingBottom+e.paddingUnit:null,paddingLeft:0<e.paddingLeft?e.paddingLeft+e.paddingUnit:null};const l={backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,...vc(e)};return React.createElement("div",{className:n||void 0,style:Object.assign(a,r,l)},this.props.children)}}const Ec={};Ec.oneEqual=React.createElement("svg",{className:"dashicon",height:"26",viewBox:"0 0 60 30",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"60",height:"30",fill:"#6d6a6f"})),Ec.twoEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"33",y:"0",width:"29",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"29",height:"30",fill:"#6d6a6f"})),Ec.twoLeftWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"43",y:"0",width:"16",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"39",height:"30",fill:"#6d6a6f"})),Ec.twoRightWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"20",y:"0",width:"39",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"16",height:"30",fill:"#6d6a6f"})),Ec.threeEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"21.500",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"43",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"})),Ec.threeWideCenter=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"31",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"50",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),Ec.threeWideLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"30",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"34",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),Ec.threeWideRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30",y:"0",width:"30",height:"30",fill:"#6d6a6f"})),Ec.fourEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"16",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"32",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"48",y:"0",width:"12",height:"30",fill:"#6d6a6f"})),Ec.fourLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"21",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),Ec.fourRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38.400",y:"0",width:"21",height:"30",fill:"#6d6a6f"})),Ec.fiveEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.400",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"24.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"37.200",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),Ec.sixEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"10.330",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"20.660",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30.990",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"41.320",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51.650",y:"0",width:"7",height:"30",fill:"#6d6a6f"})),Ec.blockIcon=React.createElement("svg",{viewBox:"0 0 60 34",height:"34",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"38",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"22",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"6",y:"0",width:"12",height:"34",fill:"#6d6a6f"}));const wc=Ec,{__:xc}=wp.i18n,Tc={1:[{name:xc("1 Column","genesis-blocks"),key:"gb-1-col-equal",col:1,icon:wc.oneEqual}],2:[{name:xc("2 Columns - 50/50","genesis-blocks"),key:"gb-2-col-equal",col:2,icon:wc.twoEqual},{name:xc("2 Columns - 75/25","genesis-blocks"),key:"gb-2-col-wideleft",col:2,icon:wc.twoLeftWide},{name:xc("2 Columns - 25/75","genesis-blocks"),key:"gb-2-col-wideright",col:2,icon:wc.twoRightWide}],3:[{name:xc("3 Columns - 33/33/33","genesis-blocks"),key:"gb-3-col-equal",col:3,icon:wc.threeEqual},{name:xc("3 Columns - 25/50/25","genesis-blocks"),key:"gb-3-col-widecenter",col:3,icon:wc.threeWideCenter},{name:xc("3 Columns - 50/25/25","genesis-blocks"),key:"gb-3-col-wideleft",col:3,icon:wc.threeWideLeft},{name:xc("3 Columns - 25/25/50","genesis-blocks"),key:"gb-3-col-wideright",col:3,icon:wc.threeWideRight}],4:[{name:xc("4 Columns - 25/25/25/25","genesis-blocks"),key:"gb-4-col-equal",col:4,icon:wc.fourEqual},{name:xc("4 Columns - 40/20/20/20","genesis-blocks"),key:"gb-4-col-wideleft",col:4,icon:wc.fourLeft},{name:xc("4 Columns - 20/20/20/40","genesis-blocks"),key:"gb-4-col-wideright",col:4,icon:wc.fourRight}],5:[{name:xc("5 Columns","genesis-blocks"),key:"gb-5-col-equal",col:5,icon:wc.fiveEqual}],6:[{name:xc("6 Columns","genesis-blocks"),key:"gb-6-col-equal",col:6,icon:wc.sixEqual}]},{__:_c}=wp.i18n,{Fragment:Sc,Component:Bc}=wp.element,{PanelBody:zc,RangeControl:Ac,Button:Nc,ButtonGroup:Lc,FocalPointPicker:Pc,Icon:Ic,ToggleControl:Mc,SelectControl:Fc}=wp.components,{MediaUpload:Oc,MediaUploadCheck:Uc}=wp.blockEditor,Dc=class extends Bc{render(){const{attributes:e,setAttributes:t}=this.props,o=[{value:"no-repeat",label:_c("No Repeat","genesis-blocks")},{value:"repeat",label:_c("Repeat","genesis-blocks")},{value:"repeat-x",label:_c("Repeat Horizontally","genesis-blocks")},{value:"repeat-y",label:_c("Repeat Vertically","genesis-blocks")}],n=[{value:"auto",label:_c("Auto","genesis-blocks")},{value:"cover",label:_c("Cover","genesis-blocks")},{value:"contain",label:_c("Contain","genesis-blocks")}];let a;return"cover"===e.backgroundSize&&(a=_c("Scales the image as large as possible without stretching the image. Cropped either vertically or horizontally so that no empty space remains.","genesis-blocks")),"contain"===e.backgroundSize&&(a=_c("Scales the image as large as possible without cropping or stretching the image.","genesis-blocks")),"auto"===e.backgroundSize&&(a=_c("Scales the background image in the corresponding direction such that its intrinsic proportions are maintained.","genesis-blocks")),React.createElement(Sc,null,React.createElement(zc,{title:_c("Background Image","genesis-blocks"),initialOpen:!1},React.createElement(Uc,null,React.createElement(Oc,{onSelect:e=>{t({backgroundImgURL:e.url})},type:"image",value:e.backgroundImgURL,render:o=>{let{open:n}=o;return React.createElement("div",null,React.createElement(Lc,{className:"gb-background-button-group"},React.createElement(Nc,{className:"gb-inspector-icon-button gb-background-add-button is-button is-default",label:_c("Edit image","genesis-blocks"),onClick:n},React.createElement(Ic,{icon:"format-image"}),_c("Select Image","genesis-blocks")),e.backgroundImgURL&&React.createElement(Nc,{className:"gb-inspector-icon-button gb-background-remove-button is-button is-default",label:_c("Remove Image","genesis-blocks"),onClick:()=>t({backgroundImgURL:null})},React.createElement(Ic,{icon:"dismiss"}),_c("Remove","genesis-blocks"))))}})),e.backgroundImgURL&&React.createElement(Sc,null,React.createElement(Pc,{label:_c("Focal Point","genesis-blocks"),url:e.backgroundImgURL,value:e.focalPoint,onChange:e=>t({focalPoint:e})}),React.createElement(Ac,{label:_c("Image Opacity","genesis-blocks"),value:e.backgroundDimRatio,onChange:e=>this.props.setAttributes({backgroundDimRatio:e}),min:0,max:100,step:10}),React.createElement(Mc,{label:_c("Fixed Background","genesis-blocks"),checked:e.hasParallax,onChange:()=>{t({hasParallax:!e.hasParallax,...e.hasParallax?{}:{focalPoint:void 0}})}}),React.createElement(Fc,{className:"gb-inspector-help-text",label:_c("Image Display","genesis-blocks"),value:e.backgroundSize,help:a,options:n,onChange:e=>this.props.setAttributes({backgroundSize:e})}),"cover"!==e.backgroundSize&&React.createElement(Fc,{label:_c("Image Repeat","genesis-blocks"),value:e.backgroundRepeat,options:o,onChange:e=>this.props.setAttributes({backgroundRepeat:e})}))))}},{__:jc}=wp.i18n,{Component:Wc,Fragment:Vc}=wp.element,{InspectorControls:Hc,PanelColorSettings:qc,ContrastChecker:Gc}=wp.blockEditor,{PanelBody:$c,RangeControl:Kc,ButtonGroup:Yc,Button:Qc,Tooltip:Xc,ToggleControl:Zc,SelectControl:Jc}=wp.components;class ep extends Wc{render(){const{attributes:e,setAttributes:t,backgroundColor:o,setBackgroundColor:n,textColor:a,setTextColor:i}=this.props;let r=1;e.columns&&(r=parseInt(e.columns.toString().split("-")));const l=[{value:"px",label:jc("Pixel (px)","genesis-blocks")},{value:"%",label:jc("Percent (%)","genesis-blocks")},{value:"em",label:jc("Em (em)","genesis-blocks")}];return React.createElement(Hc,{key:"inspector"},e.layout&&React.createElement($c,{title:jc("General","genesis-blocks"),initialOpen:!0,className:"gb-column-select-panel"},React.createElement(s,{id:"gb_column_columns"},React.createElement(Kc,{label:jc("Column Count","genesis-blocks"),help:jc("Note: Changing the column count after you've added content to the column can cause loss of content.","genesis-blocks"),value:e.columns,onChange:e=>this.props.setAttributes({columns:e,layout:"gb-"+e+"-col-equal"}),min:1,max:6,step:1})),React.createElement("hr",null),(2===e.columns||3===e.columns||4===e.columns)&&React.createElement(Vc,null,React.createElement(s,{id:"gb_column_columnLayouts"},React.createElement("p",null,jc("Column Layout","genesis-blocks")),React.createElement(Yc,{"aria-label":jc("Column Layout","genesis-blocks")},Zn()(Tc[r],(e=>{let{name:o,key:n,icon:a}=e;return React.createElement(Xc,{text:o,key:n},React.createElement(Qc,{key:n,className:"gb-column-selector-button",isSmall:!0,onClick:()=>{t({layout:n}),this.setState({selectLayout:!1})}},a))}))),React.createElement("p",null,React.createElement("i",null,jc("Change the layout of your columns.","genesis-blocks"))),React.createElement("hr",null))),React.createElement(s,{id:"gb_column_columnsGap"},React.createElement(Kc,{label:jc("Column Gap","genesis-blocks"),help:jc("Adjust the spacing between columns.","genesis-blocks"),value:e.columnsGap,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:10,step:1})),React.createElement("hr",null),React.createElement(s,{id:"gb_column_columnMaxWidth"},React.createElement(Kc,{label:jc("Column Inner Max Width (px)"),help:jc("Adjust the width of the content inside the container wrapper.","genesis-blocks"),value:e.columnMaxWidth,onChange:e=>this.props.setAttributes({columnMaxWidth:e}),min:0,max:2e3,step:1})),0<e.columnMaxWidth&&React.createElement(s,{id:"gb_column_centerColumns"},React.createElement(Zc,{label:jc("Center Columns In Container","genesis-blocks"),help:jc("Center the columns in the container when max-width is used.","genesis-blocks"),checked:e.centerColumns,onChange:()=>this.props.setAttributes({centerColumns:!e.centerColumns})})),React.createElement("hr",null),React.createElement(s,{id:"gb_column_responsiveToggle"},React.createElement(Zc,{label:jc("Responsive Columns","genesis-blocks"),help:jc("Columns will be adjusted to fit on tablets and mobile devices.","genesis-blocks"),checked:e.responsiveToggle,onChange:()=>this.props.setAttributes({responsiveToggle:!e.responsiveToggle})}))),React.createElement(s,{id:"gb_column_marginPadding"},React.createElement($c,{title:jc("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(Jc,{label:jc("Margin Unit","genesis-blocks"),help:jc("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:e.marginUnit,onChange:e=>this.props.setAttributes({marginUnit:e})}),React.createElement(Zc,{label:jc("Sync Margin","genesis-blocks"),help:jc("Top and bottom margins will have the same value.","genesis-blocks"),checked:e.marginSync,onChange:()=>this.props.setAttributes({marginSync:!e.marginSync})}),e.marginSync?React.createElement(Vs,{marginEnableVertical:!0,marginVerticalLabel:jc("Margin Top/Bottom","genesis-blocks"),marginVertical:e.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:e=>t({margin:e})}):React.createElement(Vs,{marginEnableTop:!0,marginTop:e.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:e=>t({marginTop:e}),marginEnableBottom:!0,marginBottom:e.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:e=>t({marginBottom:e})}),React.createElement("hr",null),React.createElement(Jc,{label:jc("Padding Unit","genesis-blocks"),help:jc("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:e.paddingUnit,onChange:e=>this.props.setAttributes({paddingUnit:e})}),React.createElement(Zc,{label:jc("Sync Padding","genesis-blocks"),help:jc("Padding on all sides will have the same value.","genesis-blocks"),checked:e.paddingSync,onChange:()=>this.props.setAttributes({paddingSync:!e.paddingSync})}),e.paddingSync?React.createElement(Hi,{paddingEnable:!0,padding:e.padding,paddingMin:"0",paddingMax:"200",onChangePadding:e=>t({padding:e})}):React.createElement(Hi,{paddingEnableTop:!0,paddingTop:e.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:e=>t({paddingTop:e}),paddingEnableRight:!0,paddingRight:e.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:e=>t({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:e.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:e=>t({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:e.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:e=>t({paddingLeft:e})}))),React.createElement(s,{id:"gb_column_colorSettings"},React.createElement(qc,{title:jc("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:n,label:jc("Background Color","genesis-blocks")},{value:a.color,onChange:i,label:jc("Text Color","genesis-blocks")}]},React.createElement(Gc,{textColor:a.color,backgroundColor:o.color}))),React.createElement(s,{id:"gb_column_backgroundImagePanel"},React.createElement(Dc,this.props)))}}const{__:tp}=wp.i18n,{Component:op,Fragment:np}=wp.element,{compose:ap}=wp.compose,{BlockControls:ip,BlockAlignmentToolbar:rp,InnerBlocks:lp,withColors:sp}=wp.blockEditor,{Placeholder:cp,ButtonGroup:pp,Tooltip:gp,Button:dp}=wp.components,up=["genesis-blocks/gb-column"],bp=bi()((e=>hi()(e,(()=>["genesis-blocks/gb-column"])))),mp=ap([sp("backgroundColor",{textColor:"color"})])(class extends op{constructor(){super(...arguments),this.state={selectLayout:!0}}render(){const{attributes:e,setAttributes:t}=this.props;let o=1;e.columns&&(o=parseInt(e.columns.toString().split("-")));const a=[{name:tp("1 Column","genesis-blocks"),key:"one-column",columns:1,icon:wc.oneEqual},{name:tp("2 Columns","genesis-blocks"),key:"two-column",columns:2,icon:wc.twoEqual},{name:tp("3 Columns","genesis-blocks"),key:"three-column",columns:3,icon:wc.threeEqual},{name:tp("4 Columns","genesis-blocks"),key:"four-column",columns:4,icon:wc.fourEqual},{name:tp("5 Columns","genesis-blocks"),key:"five-column",columns:5,icon:wc.fiveEqual},{name:tp("6 Columns","genesis-blocks"),key:"six-column",columns:6,icon:wc.sixEqual}];return!e.layout&&this.state.selectLayout?[React.createElement(cp,{key:"placeholder",icon:"editor-table",label:e.columns?tp("Column Layout","genesis-blocks"):tp("Column Number","genesis-blocks"),instructions:e.columns?tp("Select a layout for this column.","genesis-blocks"):tp("Select the number of columns for this layout.","genesis-blocks"),className:"gb-column-selector-placeholder"},e.columns?React.createElement(np,null,React.createElement(pp,{"aria-label":tp("Select Column Layout","genesis-blocks"),className:"gb-column-selector-group"},Zn()(Tc[o],(e=>{let{name:o,key:n,icon:a}=e;return React.createElement(gp,{text:o,key:n},React.createElement("div",{className:"gb-column-selector"},React.createElement(dp,{key:n,className:i()("gb-column-selector-button",n),isSmall:!0,onClick:()=>{t({layout:n}),this.setState({selectLayout:!1})}},a)))}))),React.createElement(dp,{className:"gb-column-selector-button-back",onClick:()=>{t({columns:null}),this.setState({selectLayout:!0})}},tp("Return to Column Selection","genesis-blocks"))):React.createElement(pp,{"aria-label":tp("Select Row Columns","genesis-blocks"),className:"gb-column-selector-group"},Zn()(a,(e=>{let{name:o,key:n,icon:a,columns:r}=e;return React.createElement(gp,{text:o,key:n},React.createElement("div",{className:"gb-column-selector"},React.createElement(dp,{className:i()("gb-column-selector-button","gb-select-"+n),isSmall:!0,onClick:()=>{t({columns:r,layout:1===r||5===r||6===r?n:null}),1===r&&this.setState({selectLayout:!1})}},a)))}))))]:[React.createElement(ip,{key:"controls"},React.createElement(rp,{value:e.align,onChange:e=>t({align:e}),controls:["center","wide","full"]})),React.createElement(ep,n({},this.props,{key:"inspector"})),React.createElement(Rc,n({},this.props,{backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color,key:"columns"}),React.createElement("div",{className:i()("gb-layout-column-wrap-admin","gb-block-layout-column-gap-"+e.columnsGap,e.responsiveToggle?"gb-is-responsive-column":null),style:{maxWidth:e.columnMaxWidth?e.columnMaxWidth:null}},React.createElement(lp,{template:bp(e.columns),templateLock:"all",allowedBlocks:up})))]}}),{Component:hp}=wp.element,{InnerBlocks:kp}=wp.blockEditor;class fp extends hp{render(){const{attributes:e}=this.props,t=i()(["gb-layout-column-wrap","gb-block-layout-column-gap-"+e.columnsGap,e.responsiveToggle?"gb-is-responsive-column":null]);return React.createElement(Rc,n({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement("div",{className:t||void 0,style:{maxWidth:e.columnMaxWidth?e.columnMaxWidth:null}},React.createElement(kp.Content,null)))}}const yp={backgroundImgURL:{type:"string"},backgroundDimRatio:{type:"number",default:100},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundSize:{type:"string",default:"cover"},hasParallax:{type:"boolean",default:!1},focalPoint:{type:"object"}},{__:vp}=wp.i18n,{registerBlockType:Cp}=wp.blocks;Cp("genesis-blocks/gb-columns",{title:vp("Advanced Columns","genesis-blocks"),description:vp("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[vp("column","genesis-blocks"),vp("grid","genesis-blocks"),vp("row","genesis-blocks")],attributes:{...yp,columns:{type:"number"},layout:{type:"string"},columnsGap:{type:"number",default:2},align:{type:"string"},responsiveToggle:{type:"boolean",default:!0},marginSync:{type:"boolean",default:!1},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},marginUnit:{type:"string",default:"px"},paddingSync:{type:"boolean",default:!1},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingUnit:{type:"string",default:"px"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},columnMaxWidth:{type:"number"},centerColumns:{type:"boolean",default:!0}},gb_settings_data:{gb_column_columns:{title:vp("Column Count","genesis-blocks")},gb_column_columnLayouts:{title:vp("Column Layout","genesis-blocks")},gb_column_columnsGap:{title:vp("Column Gap","genesis-blocks")},gb_column_columnMaxWidth:{title:vp("Column Inner Max Width","genesis-blocks")},gb_column_centerColumns:{title:vp("Center Columns In Container","genesis-blocks")},gb_column_responsiveToggle:{title:vp("Responsive Columns","genesis-blocks")},gb_column_marginPadding:{title:vp("Margin / Padding","genesis-blocks")},gb_column_colorSettings:{title:vp("Color Settings","genesis-blocks")},gb_column_backgroundImagePanel:{title:vp("Background Settings","genesis-blocks")}},getEditWrapperProps(e){let{align:t}=e;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:e=>React.createElement(mp,e),save:e=>React.createElement(fp,e)});const{__:Rp}=wp.i18n,{Component:Ep}=wp.element,{compose:xp}=wp.compose,{InspectorControls:Tp,PanelColorSettings:_p,withColors:Sp,ContrastChecker:Bp}=wp.blockEditor,{PanelBody:zp,ToggleControl:Ap,SelectControl:Np}=wp.components,Lp=xp([Sp("backgroundColor",{textColor:"color"})])(class extends Ep{render(){const{backgroundColor:e,setBackgroundColor:t,textColor:o,setTextColor:n,attributes:a,setAttributes:i}=this.props,r=[{value:"px",label:Rp("Pixel (px)","genesis-blocks")},{value:"%",label:Rp("Percent (%)","genesis-blocks")},{value:"em",label:Rp("Em (em)","genesis-blocks")}];return React.createElement(Tp,{key:"inspector"},React.createElement(s,{id:"gb_column_inner_marginPadding"},React.createElement(zp,{title:Rp("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(Np,{label:Rp("Margin Unit","genesis-blocks"),help:Rp("Choose between pixel, percent, or em units.","genesis-blocks"),options:r,value:a.marginUnit,onChange:e=>this.props.setAttributes({marginUnit:e})}),React.createElement(Ap,{label:Rp("Sync Margin","genesis-blocks"),help:Rp("Top and bottom margins will have the same value.","genesis-blocks"),checked:a.marginSync,onChange:()=>this.props.setAttributes({marginSync:!a.marginSync})}),a.marginSync?React.createElement(Vs,{marginEnableVertical:!0,marginVerticalLabel:Rp("Margin Top/Bottom","genesis-blocks"),marginVertical:a.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:e=>i({margin:e})}):React.createElement(Vs,{marginEnableTop:!0,marginTop:a.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:e=>i({marginTop:e}),marginEnableBottom:!0,marginBottom:a.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:e=>i({marginBottom:e})}),React.createElement("hr",null),React.createElement(Np,{label:Rp("Padding Unit","genesis-blocks"),help:Rp("Choose between pixel, percent, or em units.","genesis-blocks"),options:r,value:a.paddingUnit,onChange:e=>this.props.setAttributes({paddingUnit:e})}),React.createElement(Ap,{label:Rp("Sync Padding","genesis-blocks"),help:Rp("Padding on all sides will have the same value.","genesis-blocks"),checked:a.paddingSync,onChange:()=>this.props.setAttributes({paddingSync:!a.paddingSync})}),a.paddingSync?React.createElement(Hi,{paddingEnable:!0,padding:a.padding,paddingMin:"0",paddingMax:"200",onChangePadding:e=>i({padding:e})}):React.createElement(Hi,{paddingEnableTop:!0,paddingTop:a.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:e=>i({paddingTop:e}),paddingEnableRight:!0,paddingRight:a.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:e=>i({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:a.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:e=>i({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:a.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:e=>i({paddingLeft:e})}))),React.createElement(s,{id:"gb_column_inner_colorSettings"},React.createElement(_p,{title:Rp("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:e.color,onChange:t,label:Rp("Background Color","genesis-blocks")},{value:o.color,onChange:n,label:Rp("Text Color","genesis-blocks")}]},React.createElement(Bp,{textColor:o.color,backgroundColor:e.color}))),React.createElement(s,{id:"gb_column_inner_backgroundImagePanel"},React.createElement(Dc,this.props)))}}),{Component:Pp}=wp.element;class Ip extends Pp{render(){const{attributes:e}=this.props;let t,o;t=e.marginSync?{marginTop:0<e.margin?e.margin+e.marginUnit:null,marginBottom:0<e.margin?e.margin+e.marginUnit:null}:{marginTop:0<e.marginTop?e.marginTop+e.marginUnit:null,marginBottom:0<e.marginBottom?e.marginBottom+e.marginUnit:null},o=e.paddingSync?{padding:0<e.padding?e.padding+e.paddingUnit:null}:{paddingTop:0<e.paddingTop?e.paddingTop+e.paddingUnit:null,paddingRight:0<e.paddingRight?e.paddingRight+e.paddingUnit:null,paddingBottom:0<e.paddingBottom?e.paddingBottom+e.paddingUnit:null,paddingLeft:0<e.paddingLeft?e.paddingLeft+e.paddingUnit:null};const n={backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:e.textAlign?e.textAlign:null,...vc(e)};let a,r;return a=e.customBackgroundColor?"gb-has-custom-background-color":e.backgroundColor?"has-"+e.backgroundColor+"-background-color":null,r=e.customTextColor?"gb-has-custom-text-color":e.textColor?"has-"+e.textColor+"-color":null,React.createElement("div",{className:i()(this.props.className,"gb-block-layout-column",e.columnVerticalAlignment?"gb-is-vertically-aligned-"+e.columnVerticalAlignment:null)},React.createElement("div",{className:i()("gb-block-layout-column-inner",a,r,...yc(e)),style:Object.assign(t,o,n)},this.props.children))}}const{__:Mp}=wp.i18n,{compose:Fp}=wp.compose,{Component:Op}=wp.element,{ToolbarGroup:Up}=wp.components,{AlignmentToolbar:Dp,BlockControls:jp,InnerBlocks:Wp,withColors:Vp}=wp.blockEditor,Hp=Fp([Vp("backgroundColor",{textColor:"color"})])(class extends Op{render(){const{attributes:e,setAttributes:t}=this.props,o=[{icon:"arrow-up-alt2",title:Mp("Vertical Align Top","genesis-blocks"),isActive:"top"===e.columnVerticalAlignment,onClick:()=>t({columnVerticalAlignment:"top"})},{icon:"minus",title:Mp("Vertical Align Middle","genesis-blocks"),isActive:"center"===e.columnVerticalAlignment,onClick:()=>t({columnVerticalAlignment:"center"})},{icon:"arrow-down-alt2",title:Mp("Vertical Align Bottom","genesis-blocks"),isActive:"bottom"===e.columnVerticalAlignment,onClick:()=>t({columnVerticalAlignment:"bottom"})}];return[React.createElement(jp,{key:"controls"},React.createElement(Dp,{value:e.textAlign,onChange:e=>{t({textAlign:e})}}),React.createElement(Up,{controls:o})),React.createElement(Lp,n({},this.props,{key:"inspector"})),React.createElement(Ip,n({backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color},this.props,{key:"column"}),React.createElement(Wp,{template:[["core/paragraph"]],templateLock:!1,templateInsertUpdatesSelection:!1}))]}}),{Component:qp}=wp.element,{InnerBlocks:Gp}=wp.blockEditor;class $p extends qp{render(){const{attributes:e}=this.props;return React.createElement(Ip,n({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(Gp.Content,null))}}const{Component:Kp}=wp.element;class Yp extends Kp{constructor(e){super(...arguments)}render(){const{attributes:e}=this.props;let t,o;t=e.marginSync?{marginTop:0<e.margin?e.margin+e.marginUnit:null,marginBottom:0<e.margin?e.margin+e.marginUnit:null}:{marginTop:0<e.marginTop?e.marginTop+e.marginUnit:null,marginBottom:0<e.marginBottom?e.marginBottom+e.marginUnit:null},o=e.paddingSync?{padding:0<e.padding?e.padding+e.paddingUnit:null}:{paddingTop:0<e.paddingTop?e.paddingTop+e.paddingUnit:null,paddingRight:0<e.paddingRight?e.paddingRight+e.paddingUnit:null,paddingBottom:0<e.paddingBottom?e.paddingBottom+e.paddingUnit:null,paddingLeft:0<e.paddingLeft?e.paddingLeft+e.paddingUnit:null};const n={backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:e.textAlign?e.textAlign:null};let a,r;return a=e.customBackgroundColor?"gb-has-custom-background-color":e.backgroundColor?"has-"+e.backgroundColor+"-background-color":null,r=e.customTextColor?"gb-has-custom-text-color":e.textColor?"has-"+e.textColor+"-color":null,React.createElement("div",{className:i()("gb-block-layout-column",e.columnVerticalAlignment?"gb-is-vertically-aligned-"+e.columnVerticalAlignment:null)},React.createElement("div",{className:i()("gb-block-layout-column-inner",a,r),style:Object.assign(t,o,n)},this.props.children))}}const{Component:Qp}=wp.element,{InnerBlocks:Xp}=wp.blockEditor;class Zp extends Qp{render(){const{attributes:e}=this.props;return React.createElement(Yp,n({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(Xp.Content,null))}}const Jp=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}},save:e=>React.createElement(Zp,e)}],{__:eg}=wp.i18n,{registerBlockType:tg}=wp.blocks;tg("genesis-blocks/gb-column",{title:eg("Column","genesis-blocks"),description:eg("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",parent:["genesis-blocks/gb-columns"],keywords:[eg("column","genesis-blocks"),eg("layout","genesis-blocks"),eg("row","genesis-blocks")],attributes:{...yp,backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}},gb_settings_data:{gb_column_inner_marginPadding:{title:eg("Margin and Padding","genesis-blocks")},gb_column_inner_colorSettings:{title:eg("Color","genesis-blocks")},gb_column_inner_backgroundImagePanel:{title:eg("Background Image","genesis-blocks")}},edit:e=>React.createElement(Hp,e),save:e=>React.createElement($p,e),deprecated:Jp});const og=wp.compose.createHigherOrderComponent((e=>t=>"genesis-blocks/gb-column"===t.block.name&&t.block.attributes.columnVerticalAlignment?React.createElement(e,n({},t,{className:"gb-is-vertically-aligned-"+t.block.attributes.columnVerticalAlignment})):React.createElement(e,t)),"withClientIdClassName");wp.hooks.addFilter("editor.BlockListBlock","genesis-blocks/add-vertical-align-class",og);const{__:ng}=wp.i18n,{Component:ag,Fragment:ig}=wp.element,{Button:rg,Dashicon:lg,Tooltip:sg}=wp.components;class cg extends ag{addDefaultSrc(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}render(){return React.createElement(ig,null,React.createElement("div",{key:"gb-layout-design-"+this.props.itemKey,className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(rg,{key:this.props.itemKey,className:"gb-layout-insert-button",isSmall:!0,onClick:()=>{this.props.import(this.props.content,this.props.clientId)}},React.createElement("img",{src:this.props.image?this.props.image:genesis_blocks_globals.pattern_fallback_image,alt:this.props.name,onError:this.addDefaultSrc})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},this.props.name,React.createElement(sg,{text:this.props.context.favoriteKeys.includes(this.props.itemKey)?ng("Remove from Favorites","genesis-blocks"):ng("Add to Favorites","genesis-blocks")},React.createElement(rg,{key:"buttonFavorite",className:"gb-layout-favorite-button",isSmall:!0,onClick:()=>{this.props.context.toggleFavorite(this.props.itemKey)}},React.createElement(lg,{icon:"heart",className:i()("gb-layout-icon-favorite",this.props.context.favoriteKeys.includes(this.props.itemKey)&&"gb-layout-icon-favorite-active")})))))))))}}const{__:pg}=wp.i18n,{addQueryArgs:gg}=wp.url,{Component:dg,Fragment:ug}=wp.element;class bg extends dg{render(){const e=this.props.itemKey.match(/\d+/g)[0];return React.createElement(ug,null,React.createElement("div",{className:"gb-layout-reusable"},React.createElement("div",null,React.createElement("a",{role:"button",key:this.props.itemKey,className:"gb-layout-insert-button",onClick:()=>{this.props.import(this.props.content)}},this.props.name)),React.createElement("div",{className:"gb-layout-reusable-actions"},React.createElement("span",null,React.createElement("a",{href:gg("post.php",{post:e,post_type:"wp_block",action:"edit"}),target:"_blank",rel:"noopener noreferrer"},pg("Edit","genesis-blocks"))))))}}const{rawHandler:mg}=wp.blocks;function hg(e,t){wp.data.dispatch("core/block-editor").replaceBlocks(t,mg({HTML:e,mode:"BLOCKS"}))}const{useState:kg}=wp.element,{Button:fg}=wp.components;function yg(e){return React.createElement(React.Fragment,null,React.createElement("div",{className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(fg,{className:"gb-layout-insert-button gb-layout-collection-button",isSmall:!0,onClick:()=>{e.collectionsView.setCurrentView("collection"),e.setCurrentCollection(e.collectionSlug)}},React.createElement("div",{className:"gb-layout-collection-cover"},React.createElement("img",{src:e.context.collections[e.collectionSlug].thumbnail?e.context.collections[e.collectionSlug].thumbnail:genesis_blocks_globals.pattern_fallback_image,alt:e.context.collections[e.collectionSlug].label,onError:e=>{e.target.src=genesis_blocks_globals.pattern_fallback_image}})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},React.createElement("span",{className:"gb-layout-collection-label"},e.context.collections[e.collectionSlug].label))))))))}const{useDispatch:vg,useSelect:Cg}=wp.data,{__:Rg}=wp.i18n,{ButtonGroup:Eg}=wp.components;function wg(e){const{currentCollection:t}=Cg((e=>e("core/block-editor").getSettings())),o=function(e){const[t,o]=kg(e.view);return{currentView:t,setCurrentView:o}}({view:t?"collection":"collections"}),{updateSettings:a}=vg("core/block-editor"),i=e=>a({currentCollection:e});function r(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"layouts";const n=[];for(const a in e.context[o]){const i=e.context[o][a];i.hasOwnProperty("collection")&&t===i.collection.slug&&n.push(React.createElement(cg,{key:i.key,itemKey:i.key,name:i.name,image:i.image,import:hg,content:i.content,context:e.context,clientId:e.clientId}))}return 0===n.length?"":React.createElement(React.Fragment,null,React.createElement("h3",{className:"gb-collection-type-title"},"layouts"===o?Rg("Page Layouts","genesis-blocks"):"sections"===o?Rg("Page Sections","genesis-blocks"):void 0),React.createElement(Eg,{className:"gb-layout-choices","aria-label":Rg("Layout Options in this Collection","genesis-blocks")},n))}return React.createElement("div",{className:"gb-collections"},React.createElement("div",{className:"gb-collections-header"},React.createElement("div",{className:"gb-collections-header-left"},"collection"!==o.currentView?"":React.createElement("div",{className:"gb-collections-view-all-container"},React.createElement("button",{className:"gb-collections-view-all-link",onClick:()=>{o.setCurrentView("collections"),o.setCurrentCollection(null)}},React.createElement("span",{className:"dashicons dashicons-arrow-left-alt"}),Rg("View All Collections ","genesis-blocks"))),"collections"===o.currentView?React.createElement("h2",{className:"gb-collection-title"},Rg("Collections ","genesis-blocks")):"collection"===o.currentView?React.createElement("h2",{className:"gb-collection-title"},Rg("Browsing ","genesis-blocks")+(null===(l=e.context.collections[t])||void 0===l?void 0:l.label)):void 0),React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://developer.wpengine.com/genesis-blocks/layouts-block/#collections",tabIndex:"0",className:"gb-collections-link"},React.createElement("span",{className:"dashicons dashicons-info"}),Rg("Learn about Collections","genesis-blocks"))),React.createElement("div",{className:"gb-collections-body"},function(t){if("collections"!==o.currentView)return"";const a=[];for(const r in t)a.push(React.createElement(yg,n({key:r,collectionSlug:r,collectionsView:o,setCurrentCollection:i},e)));return React.createElement(Eg,{className:"gb-layout-choices","aria-label":Rg("Collections Available","genesis-blocks")},a)}(e.context.collections),"collection"!==o.currentView?"":React.createElement(React.Fragment,null,r("sections"),r("layouts"))));var l}const{compose:xg}=wp.compose,{rawHandler:Tg}=wp.blocks,{withSelect:_g,withDispatch:Sg}=wp.data,{Component:Bg,Fragment:zg}=wp.element,Ag=xg(_g(((e,t)=>{let{clientId:o}=t;const{getBlock:n}=e("core/block-editor");let a;return e("core/editor")?(a=e("core/editor").canUserUseUnfilteredHTML,a=a()):a=!0,{block:n(o),canUserUseUnfilteredHTML:a}})),Sg(((e,t)=>{let{block:o,canUserUseUnfilteredHTML:n}=t;return{import:t=>e("core/block-editor").replaceBlocks(o.clientId,Tg({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:n}))}})))(class extends Bg{layoutTabContent(){let e=[];return e="gb-layout-tab-reusable-blocks"===this.props.currentTab?React.createElement(bg,this.props):"gb-layout-tab-collections"===this.props.currentTab?React.createElement(wg,this.props):React.createElement(cg,this.props),e}render(){return React.createElement(zg,null,this.layoutTabContent())}}),{apiFetch:Ng}=wp,Lg=(0,qt.createContext)({favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""});class Pg extends qt.Component{constructor(){var e,t;super(...arguments),t={favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""},(e="state")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}getFavoriteKeys(){return Ng({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((e=>e)).catch((e=>console.error(e)))}getFavorites(){return Ng({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((e=>{const t=[];return Object.values(this.state.all).forEach((function(o){e.includes(o.key)&&t.push(o)})),t})).catch((e=>console.error(e)))}addFavorite(e){return Ng({path:"/genesisblocks/v1/layouts/favorites",method:"PATCH",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).catch((e=>console.error(e)))}removeFavorite(e){return Ng({path:"/genesisblocks/v1/layouts/favorites",method:"DELETE",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).catch((e=>console.error(e)))}async componentDidMount(){const e=await this.getFavoriteKeys();wp.apiFetch({method:"GET",path:"/genesisblocks/v1/layouts/all?filter=allowed"}).then((async t=>{const o=[],n=[],a=[],i=[],r=[];Object.values(t).forEach((function(t){"layout"===t.type&&o.push(t),"section"===t.type&&n.push(t),"wp_block"===t.type&&a.push(t),t.hasOwnProperty("collection")&&(r.hasOwnProperty(t.collection.slug)||(r[t.collection.slug]=[],t.collection.image=t.image,r[t.collection.slug]=t.collection)),e.includes(t.key)&&i.push(t)})),this.setState({all:t,layouts:o,sections:n,favorites:i,favoriteKeys:e,reusableBlocks:a,collections:r})}))}render(){return this.state.all?Gt().createElement(Lg.Provider,{value:{favorites:this.state.favorites,favoriteKeys:this.state.favoriteKeys,layouts:this.state.layouts,sections:this.state.sections,all:this.state.all,reusableBlocks:this.state.reusableBlocks,collections:this.state.collections,toggleFavorite:async e=>{let t=await this.getFavoriteKeys();t=t.includes(e)?await this.removeFavorite(e):await this.addFavorite(e);const o=await this.getFavorites();return this.setState({favorites:o,favoriteKeys:t}),o}}},this.props.children):null}}const{__:Ig}=wp.i18n,{addQueryArgs:Mg}=wp.url,{Component:Fg,Fragment:Og}=wp.element,{ButtonGroup:Ug,TextControl:Dg,SelectControl:jg}=wp.components;class Wg extends Fg{constructor(){super(...arguments),this.state={category:"all",search:void 0,activeView:"grid"}}getLayoutArray(){let e=[];switch(this.props.currentTab){case"gb-layout-tab-layouts":e=this.props.context.layouts;break;case"gb-layout-tab-sections":e=this.props.context.sections;break;case"gb-layout-tab-favorites":e=this.props.context.favorites;break;case"gb-layout-tab-reusable-blocks":e=this.props.context.reusableBlocks;break;case"gb-layout-tab-collections":e=this.props.context.collections}return e}render(){const e=this.getLayoutArray(),t=["all"];if("gb-layout-tab-collections"!==this.props.currentTab)for(let o=0;o<e.length;o++)for(let n=0;n<e[o].category.length;n++)t.includes(e[o].category[n])||t.push(e[o].category[n]);const o=t.map((e=>({value:e,label:e.charAt(0).toUpperCase()+e.slice(1)}))),a=this.props.data;return"gb-layout-tab-collections"===this.props.currentTab?React.createElement(wg,n({key:this.props.data.key},this.props)):React.createElement(Og,{key:"layout-library-fragment-"+this.props.clientId},"gb-layout-tab-reusable-blocks"!==this.props.currentTab?React.createElement(Og,null,React.createElement("div",{className:"gb-layout-modal-header"},React.createElement(jg,{key:"layout-library-select-categories-"+this.props.clientId,label:Ig("Layout Categories","genesis-blocks"),value:this.state.category,options:o,onChange:e=>{this.setState({category:e})}}),React.createElement(Dg,{key:"layout-library-search-layouts-"+this.props.clientId,type:"text",value:this.state.search,placeholder:Ig("Search Layouts","genesis-blocks"),onChange:e=>{this.setState({search:e})}}))):React.createElement(Og,null,React.createElement("div",{className:"gb-layout-modal-header gb-layout-modal-header-reusable"},React.createElement("div",null,Ig("Reusable Blocks","genesis-blocks")),React.createElement("div",{className:"gb-layout-modal-header-reusable-actions"},React.createElement("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Mg("edit.php",{post_type:"wp_block"}),target:"_blank",rel:"noopener noreferrer"},Ig("Manage All Reusable Blocks","genesis-blocks"))))),React.createElement(Lg.Consumer,null,(e=>React.createElement(Ug,{key:"layout-library-context-button-group-"+this.props.clientId,className:i()("gb-layout-choices","current-tab-"+this.props.currentTab,"full"===this.state.activeView?"gb-layout-view-full":null),"aria-label":Ig("Layout Options","genesis-blocks")},Zn()(a,(t=>{let{name:o,key:n,image:a,content:i,category:r,keywords:l,type:s}=t;if(("all"===this.state.category||r.includes(this.state.category))&&(!this.state.search||l&&l.some((e=>e.toLowerCase().includes(this.state.search.toLowerCase())))))return React.createElement(Ag,{key:"layout-library-item-"+n,name:o,type:s,itemKey:n,image:a,content:i,context:e,clientId:this.props.clientId,currentTab:this.props.currentTab})}))))))}}const{__:Vg}=wp.i18n,{Fragment:Hg,useState:qg}=wp.element,{Button:Gg,Dashicon:$g,Modal:Kg,TabPanel:Yg}=wp.components,{useDispatch:Qg}=wp.data,Xg=function(e){const[t,o]=qg("gb-layout-tab-collections"),[n,a]=qg(!0),{removeBlock:i}=Qg("core/block-editor"),r=[];return Object.keys(e.context.collections).length>0&&r.push({name:"gb-layout-tab-collections",title:Vg("Collections","genesis-blocks"),className:"gb-layout-tab-collections"}),e.context.sections.length>0&&r.push({name:"gb-layout-tab-sections",title:Vg("Sections","genesis-blocks"),className:"gb-layout-tab-sections"}),e.context.layouts.length>0&&r.push({name:"gb-layout-tab-layouts",title:Vg("Layouts","genesis-blocks"),className:"gb-layout-tab-layouts"}),r.push({name:"gb-layout-tab-favorites",title:Vg("Favorites","genesis-blocks"),className:"gb-layout-tab-favorites"}),e.context.reusableBlocks.length&&r.push({name:"gb-layout-tab-reusable-blocks",title:Vg("Reusable Blocks","genesis-blocks"),className:"gb-layout-tab-reusable-blocks"}),React.createElement(Hg,{key:"layout-modal-fragment-"+e.clientId},React.createElement(Gg,{key:"layout-modal-library-button-"+e.clientId,isPrimary:!0,className:"gb-layout-modal-button",onClick:()=>{a(!0)}},Vg("Layout Library","genesis-blocks")),n?React.createElement(Kg,{key:"layout-modal-modal-component-"+e.clientId,className:"gb-layout-modal",title:Vg("Layout Selector","genesis-blocks"),onRequestClose:()=>{a(!1),o(null),i(e.clientId)}},genesis_blocks_globals.pro_activated&&React.createElement("div",{className:"gb-layout-modal-footer"},React.createElement($g,{icon:"editor-help"}),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/layouts-block/",target:"_blank",rel:"noopener noreferrer"},Vg("Add Custom Layouts","genesis-blocks")),React.createElement("span",null,"·"),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/reusable-blocks/",target:"_blank",rel:"noopener noreferrer"},Vg("Reusable Blocks","genesis-blocks")),React.createElement("a",{href:"https://www.research.net/r/XFQYFPP",target:"_blank",rel:"noopener noreferrer",className:"gb-pro-feedback"},React.createElement($g,{icon:"admin-comments"})," ",Vg("Send Feedback","genesis-blocks"))),React.createElement(Yg,{key:"layout-modal-tabpanel-"+e.clientId,className:"gb-layout-modal-panel",activeClass:"gb-layout-modal-active-tab",onSelect:e=>{o(e)},tabs:r},(o=>{const n=Vg("Default tab content","genesis-blocks");if(o.name){if("gb-layout-tab-sections"===o.name)return[React.createElement(Wg,{key:"layout-library-sections-"+e.clientId,clientId:e.clientId,currentTab:t,data:e.context.sections,context:e.context})];if("gb-layout-tab-layouts"===o.name)return[React.createElement(Wg,{key:"layout-library-layouts-"+e.clientId,clientId:e.clientId,currentTab:t,data:e.context.layouts,context:e.context})];if("gb-layout-tab-collections"===o.name)return[React.createElement(Wg