@luminati-io/uikit 3.0.6 → 3.0.8-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -228,40 +228,41 @@ __webpack_require__.r(__webpack_exports__);
228
228
  /* harmony import */ var _static_residential_svg__WEBPACK_IMPORTED_MODULE_203__ = __webpack_require__(/*! ./static_residential.svg */ "./assets/icons/static_residential.svg");
229
229
  /* harmony import */ var _static_residential_small_svg__WEBPACK_IMPORTED_MODULE_204__ = __webpack_require__(/*! ./static_residential_small.svg */ "./assets/icons/static_residential_small.svg");
230
230
  /* harmony import */ var _statistic_svg__WEBPACK_IMPORTED_MODULE_205__ = __webpack_require__(/*! ./statistic.svg */ "./assets/icons/statistic.svg");
231
- /* harmony import */ var _subset_svg__WEBPACK_IMPORTED_MODULE_206__ = __webpack_require__(/*! ./subset.svg */ "./assets/icons/subset.svg");
232
- /* harmony import */ var _sum_svg__WEBPACK_IMPORTED_MODULE_207__ = __webpack_require__(/*! ./sum.svg */ "./assets/icons/sum.svg");
233
- /* harmony import */ var _support_svg__WEBPACK_IMPORTED_MODULE_208__ = __webpack_require__(/*! ./support.svg */ "./assets/icons/support.svg");
234
- /* harmony import */ var _switch_svg__WEBPACK_IMPORTED_MODULE_209__ = __webpack_require__(/*! ./switch.svg */ "./assets/icons/switch.svg");
235
- /* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_210__ = __webpack_require__(/*! ./table.svg */ "./assets/icons/table.svg");
236
- /* harmony import */ var _target_svg__WEBPACK_IMPORTED_MODULE_211__ = __webpack_require__(/*! ./target.svg */ "./assets/icons/target.svg");
237
- /* harmony import */ var _terminal_window_svg__WEBPACK_IMPORTED_MODULE_212__ = __webpack_require__(/*! ./terminal_window.svg */ "./assets/icons/terminal_window.svg");
238
- /* harmony import */ var _testing_svg__WEBPACK_IMPORTED_MODULE_213__ = __webpack_require__(/*! ./testing.svg */ "./assets/icons/testing.svg");
239
- /* harmony import */ var _text_svg__WEBPACK_IMPORTED_MODULE_214__ = __webpack_require__(/*! ./text.svg */ "./assets/icons/text.svg");
240
- /* harmony import */ var _thumb_up_svg__WEBPACK_IMPORTED_MODULE_215__ = __webpack_require__(/*! ./thumb_up.svg */ "./assets/icons/thumb_up.svg");
241
- /* harmony import */ var _ticket_svg__WEBPACK_IMPORTED_MODULE_216__ = __webpack_require__(/*! ./ticket.svg */ "./assets/icons/ticket.svg");
242
- /* harmony import */ var _tool_svg__WEBPACK_IMPORTED_MODULE_217__ = __webpack_require__(/*! ./tool.svg */ "./assets/icons/tool.svg");
243
- /* harmony import */ var _top1_svg__WEBPACK_IMPORTED_MODULE_218__ = __webpack_require__(/*! ./top1.svg */ "./assets/icons/top1.svg");
244
- /* harmony import */ var _transparency_svg__WEBPACK_IMPORTED_MODULE_219__ = __webpack_require__(/*! ./transparency.svg */ "./assets/icons/transparency.svg");
245
- /* harmony import */ var _trash_svg__WEBPACK_IMPORTED_MODULE_220__ = __webpack_require__(/*! ./trash.svg */ "./assets/icons/trash.svg");
246
- /* harmony import */ var _unblock_svg__WEBPACK_IMPORTED_MODULE_221__ = __webpack_require__(/*! ./unblock.svg */ "./assets/icons/unblock.svg");
247
- /* harmony import */ var _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_222__ = __webpack_require__(/*! ./unblocking_infrastructure.svg */ "./assets/icons/unblocking_infrastructure.svg");
248
- /* harmony import */ var _unique_svg__WEBPACK_IMPORTED_MODULE_223__ = __webpack_require__(/*! ./unique.svg */ "./assets/icons/unique.svg");
249
- /* harmony import */ var _unpin_svg__WEBPACK_IMPORTED_MODULE_224__ = __webpack_require__(/*! ./unpin.svg */ "./assets/icons/unpin.svg");
250
- /* harmony import */ var _upgrade_svg__WEBPACK_IMPORTED_MODULE_225__ = __webpack_require__(/*! ./upgrade.svg */ "./assets/icons/upgrade.svg");
251
- /* harmony import */ var _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_226__ = __webpack_require__(/*! ./upload_cloud.svg */ "./assets/icons/upload_cloud.svg");
252
- /* harmony import */ var _upload_svg__WEBPACK_IMPORTED_MODULE_227__ = __webpack_require__(/*! ./upload.svg */ "./assets/icons/upload.svg");
253
- /* harmony import */ var _url_svg__WEBPACK_IMPORTED_MODULE_228__ = __webpack_require__(/*! ./url.svg */ "./assets/icons/url.svg");
254
- /* harmony import */ var _verify_svg__WEBPACK_IMPORTED_MODULE_229__ = __webpack_require__(/*! ./verify.svg */ "./assets/icons/verify.svg");
255
- /* harmony import */ var _verify_warning_svg__WEBPACK_IMPORTED_MODULE_230__ = __webpack_require__(/*! ./verify_warning.svg */ "./assets/icons/verify_warning.svg");
256
- /* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_231__ = __webpack_require__(/*! ./video.svg */ "./assets/icons/video.svg");
257
- /* harmony import */ var _visa_svg__WEBPACK_IMPORTED_MODULE_232__ = __webpack_require__(/*! ./visa.svg */ "./assets/icons/visa.svg");
258
- /* harmony import */ var _warning_svg__WEBPACK_IMPORTED_MODULE_233__ = __webpack_require__(/*! ./warning.svg */ "./assets/icons/warning.svg");
259
- /* harmony import */ var _warning_solid_svg__WEBPACK_IMPORTED_MODULE_234__ = __webpack_require__(/*! ./warning_solid.svg */ "./assets/icons/warning_solid.svg");
260
- /* harmony import */ var _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_235__ = __webpack_require__(/*! ./web_scrapper.svg */ "./assets/icons/web_scrapper.svg");
261
- /* harmony import */ var _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_236__ = __webpack_require__(/*! ./web_scrapper_small.svg */ "./assets/icons/web_scrapper_small.svg");
262
- /* harmony import */ var _web_unlock_svg__WEBPACK_IMPORTED_MODULE_237__ = __webpack_require__(/*! ./web_unlock.svg */ "./assets/icons/web_unlock.svg");
263
- /* harmony import */ var _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_238__ = __webpack_require__(/*! ./web_unlock_small.svg */ "./assets/icons/web_unlock_small.svg");
264
- /* harmony import */ var _wire_svg__WEBPACK_IMPORTED_MODULE_239__ = __webpack_require__(/*! ./wire.svg */ "./assets/icons/wire.svg");
231
+ /* harmony import */ var _subitems_svg__WEBPACK_IMPORTED_MODULE_206__ = __webpack_require__(/*! ./subitems.svg */ "./assets/icons/subitems.svg");
232
+ /* harmony import */ var _subset_svg__WEBPACK_IMPORTED_MODULE_207__ = __webpack_require__(/*! ./subset.svg */ "./assets/icons/subset.svg");
233
+ /* harmony import */ var _sum_svg__WEBPACK_IMPORTED_MODULE_208__ = __webpack_require__(/*! ./sum.svg */ "./assets/icons/sum.svg");
234
+ /* harmony import */ var _support_svg__WEBPACK_IMPORTED_MODULE_209__ = __webpack_require__(/*! ./support.svg */ "./assets/icons/support.svg");
235
+ /* harmony import */ var _switch_svg__WEBPACK_IMPORTED_MODULE_210__ = __webpack_require__(/*! ./switch.svg */ "./assets/icons/switch.svg");
236
+ /* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_211__ = __webpack_require__(/*! ./table.svg */ "./assets/icons/table.svg");
237
+ /* harmony import */ var _target_svg__WEBPACK_IMPORTED_MODULE_212__ = __webpack_require__(/*! ./target.svg */ "./assets/icons/target.svg");
238
+ /* harmony import */ var _terminal_window_svg__WEBPACK_IMPORTED_MODULE_213__ = __webpack_require__(/*! ./terminal_window.svg */ "./assets/icons/terminal_window.svg");
239
+ /* harmony import */ var _testing_svg__WEBPACK_IMPORTED_MODULE_214__ = __webpack_require__(/*! ./testing.svg */ "./assets/icons/testing.svg");
240
+ /* harmony import */ var _text_svg__WEBPACK_IMPORTED_MODULE_215__ = __webpack_require__(/*! ./text.svg */ "./assets/icons/text.svg");
241
+ /* harmony import */ var _thumb_up_svg__WEBPACK_IMPORTED_MODULE_216__ = __webpack_require__(/*! ./thumb_up.svg */ "./assets/icons/thumb_up.svg");
242
+ /* harmony import */ var _ticket_svg__WEBPACK_IMPORTED_MODULE_217__ = __webpack_require__(/*! ./ticket.svg */ "./assets/icons/ticket.svg");
243
+ /* harmony import */ var _tool_svg__WEBPACK_IMPORTED_MODULE_218__ = __webpack_require__(/*! ./tool.svg */ "./assets/icons/tool.svg");
244
+ /* harmony import */ var _top1_svg__WEBPACK_IMPORTED_MODULE_219__ = __webpack_require__(/*! ./top1.svg */ "./assets/icons/top1.svg");
245
+ /* harmony import */ var _transparency_svg__WEBPACK_IMPORTED_MODULE_220__ = __webpack_require__(/*! ./transparency.svg */ "./assets/icons/transparency.svg");
246
+ /* harmony import */ var _trash_svg__WEBPACK_IMPORTED_MODULE_221__ = __webpack_require__(/*! ./trash.svg */ "./assets/icons/trash.svg");
247
+ /* harmony import */ var _unblock_svg__WEBPACK_IMPORTED_MODULE_222__ = __webpack_require__(/*! ./unblock.svg */ "./assets/icons/unblock.svg");
248
+ /* harmony import */ var _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_223__ = __webpack_require__(/*! ./unblocking_infrastructure.svg */ "./assets/icons/unblocking_infrastructure.svg");
249
+ /* harmony import */ var _unique_svg__WEBPACK_IMPORTED_MODULE_224__ = __webpack_require__(/*! ./unique.svg */ "./assets/icons/unique.svg");
250
+ /* harmony import */ var _unpin_svg__WEBPACK_IMPORTED_MODULE_225__ = __webpack_require__(/*! ./unpin.svg */ "./assets/icons/unpin.svg");
251
+ /* harmony import */ var _upgrade_svg__WEBPACK_IMPORTED_MODULE_226__ = __webpack_require__(/*! ./upgrade.svg */ "./assets/icons/upgrade.svg");
252
+ /* harmony import */ var _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_227__ = __webpack_require__(/*! ./upload_cloud.svg */ "./assets/icons/upload_cloud.svg");
253
+ /* harmony import */ var _upload_svg__WEBPACK_IMPORTED_MODULE_228__ = __webpack_require__(/*! ./upload.svg */ "./assets/icons/upload.svg");
254
+ /* harmony import */ var _url_svg__WEBPACK_IMPORTED_MODULE_229__ = __webpack_require__(/*! ./url.svg */ "./assets/icons/url.svg");
255
+ /* harmony import */ var _verify_svg__WEBPACK_IMPORTED_MODULE_230__ = __webpack_require__(/*! ./verify.svg */ "./assets/icons/verify.svg");
256
+ /* harmony import */ var _verify_warning_svg__WEBPACK_IMPORTED_MODULE_231__ = __webpack_require__(/*! ./verify_warning.svg */ "./assets/icons/verify_warning.svg");
257
+ /* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_232__ = __webpack_require__(/*! ./video.svg */ "./assets/icons/video.svg");
258
+ /* harmony import */ var _visa_svg__WEBPACK_IMPORTED_MODULE_233__ = __webpack_require__(/*! ./visa.svg */ "./assets/icons/visa.svg");
259
+ /* harmony import */ var _warning_svg__WEBPACK_IMPORTED_MODULE_234__ = __webpack_require__(/*! ./warning.svg */ "./assets/icons/warning.svg");
260
+ /* harmony import */ var _warning_solid_svg__WEBPACK_IMPORTED_MODULE_235__ = __webpack_require__(/*! ./warning_solid.svg */ "./assets/icons/warning_solid.svg");
261
+ /* harmony import */ var _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_236__ = __webpack_require__(/*! ./web_scrapper.svg */ "./assets/icons/web_scrapper.svg");
262
+ /* harmony import */ var _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_237__ = __webpack_require__(/*! ./web_scrapper_small.svg */ "./assets/icons/web_scrapper_small.svg");
263
+ /* harmony import */ var _web_unlock_svg__WEBPACK_IMPORTED_MODULE_238__ = __webpack_require__(/*! ./web_unlock.svg */ "./assets/icons/web_unlock.svg");
264
+ /* harmony import */ var _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_239__ = __webpack_require__(/*! ./web_unlock_small.svg */ "./assets/icons/web_unlock_small.svg");
265
+ /* harmony import */ var _wire_svg__WEBPACK_IMPORTED_MODULE_240__ = __webpack_require__(/*! ./wire.svg */ "./assets/icons/wire.svg");
265
266
  // LICENSE_CODE ZON
266
267
  /*jslint react:true*/
267
268
 
@@ -504,6 +505,7 @@ __webpack_require__.r(__webpack_exports__);
504
505
 
505
506
 
506
507
 
508
+
507
509
 
508
510
 
509
511
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
@@ -713,40 +715,41 @@ __webpack_require__.r(__webpack_exports__);
713
715
  StaticResidential: _static_residential_svg__WEBPACK_IMPORTED_MODULE_203__["default"],
714
716
  StaticResidentialSmall: _static_residential_small_svg__WEBPACK_IMPORTED_MODULE_204__["default"],
715
717
  Statistic: _statistic_svg__WEBPACK_IMPORTED_MODULE_205__["default"],
716
- Subset: _subset_svg__WEBPACK_IMPORTED_MODULE_206__["default"],
717
- Sum: _sum_svg__WEBPACK_IMPORTED_MODULE_207__["default"],
718
- Support: _support_svg__WEBPACK_IMPORTED_MODULE_208__["default"],
719
- Switch: _switch_svg__WEBPACK_IMPORTED_MODULE_209__["default"],
720
- Table: _table_svg__WEBPACK_IMPORTED_MODULE_210__["default"],
721
- Target: _target_svg__WEBPACK_IMPORTED_MODULE_211__["default"],
722
- TerminalWindow: _terminal_window_svg__WEBPACK_IMPORTED_MODULE_212__["default"],
723
- Testing: _testing_svg__WEBPACK_IMPORTED_MODULE_213__["default"],
724
- Text: _text_svg__WEBPACK_IMPORTED_MODULE_214__["default"],
725
- ThumbUp: _thumb_up_svg__WEBPACK_IMPORTED_MODULE_215__["default"],
726
- Ticket: _ticket_svg__WEBPACK_IMPORTED_MODULE_216__["default"],
727
- Tool: _tool_svg__WEBPACK_IMPORTED_MODULE_217__["default"],
728
- Top1: _top1_svg__WEBPACK_IMPORTED_MODULE_218__["default"],
729
- Transparency: _transparency_svg__WEBPACK_IMPORTED_MODULE_219__["default"],
730
- Trash: _trash_svg__WEBPACK_IMPORTED_MODULE_220__["default"],
731
- Unblock: _unblock_svg__WEBPACK_IMPORTED_MODULE_221__["default"],
732
- UnblockingInfrastructure: _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_222__["default"],
733
- Unique: _unique_svg__WEBPACK_IMPORTED_MODULE_223__["default"],
734
- Unpin: _unpin_svg__WEBPACK_IMPORTED_MODULE_224__["default"],
735
- Upgrade: _upgrade_svg__WEBPACK_IMPORTED_MODULE_225__["default"],
736
- UploadCloud: _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_226__["default"],
737
- Upload: _upload_svg__WEBPACK_IMPORTED_MODULE_227__["default"],
738
- Url: _url_svg__WEBPACK_IMPORTED_MODULE_228__["default"],
739
- Verify: _verify_svg__WEBPACK_IMPORTED_MODULE_229__["default"],
740
- VerifyWarning: _verify_warning_svg__WEBPACK_IMPORTED_MODULE_230__["default"],
741
- Video: _video_svg__WEBPACK_IMPORTED_MODULE_231__["default"],
742
- Visa: _visa_svg__WEBPACK_IMPORTED_MODULE_232__["default"],
743
- Warning: _warning_svg__WEBPACK_IMPORTED_MODULE_233__["default"],
744
- WarningSolid: _warning_solid_svg__WEBPACK_IMPORTED_MODULE_234__["default"],
745
- WebScrapper: _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_235__["default"],
746
- WebScrapperSmall: _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_236__["default"],
747
- WebUnlock: _web_unlock_svg__WEBPACK_IMPORTED_MODULE_237__["default"],
748
- WebUnlockSmall: _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_238__["default"],
749
- Wire: _wire_svg__WEBPACK_IMPORTED_MODULE_239__["default"],
718
+ Subitems: _subitems_svg__WEBPACK_IMPORTED_MODULE_206__["default"],
719
+ Subset: _subset_svg__WEBPACK_IMPORTED_MODULE_207__["default"],
720
+ Sum: _sum_svg__WEBPACK_IMPORTED_MODULE_208__["default"],
721
+ Support: _support_svg__WEBPACK_IMPORTED_MODULE_209__["default"],
722
+ Switch: _switch_svg__WEBPACK_IMPORTED_MODULE_210__["default"],
723
+ Table: _table_svg__WEBPACK_IMPORTED_MODULE_211__["default"],
724
+ Target: _target_svg__WEBPACK_IMPORTED_MODULE_212__["default"],
725
+ TerminalWindow: _terminal_window_svg__WEBPACK_IMPORTED_MODULE_213__["default"],
726
+ Testing: _testing_svg__WEBPACK_IMPORTED_MODULE_214__["default"],
727
+ Text: _text_svg__WEBPACK_IMPORTED_MODULE_215__["default"],
728
+ ThumbUp: _thumb_up_svg__WEBPACK_IMPORTED_MODULE_216__["default"],
729
+ Ticket: _ticket_svg__WEBPACK_IMPORTED_MODULE_217__["default"],
730
+ Tool: _tool_svg__WEBPACK_IMPORTED_MODULE_218__["default"],
731
+ Top1: _top1_svg__WEBPACK_IMPORTED_MODULE_219__["default"],
732
+ Transparency: _transparency_svg__WEBPACK_IMPORTED_MODULE_220__["default"],
733
+ Trash: _trash_svg__WEBPACK_IMPORTED_MODULE_221__["default"],
734
+ Unblock: _unblock_svg__WEBPACK_IMPORTED_MODULE_222__["default"],
735
+ UnblockingInfrastructure: _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_223__["default"],
736
+ Unique: _unique_svg__WEBPACK_IMPORTED_MODULE_224__["default"],
737
+ Unpin: _unpin_svg__WEBPACK_IMPORTED_MODULE_225__["default"],
738
+ Upgrade: _upgrade_svg__WEBPACK_IMPORTED_MODULE_226__["default"],
739
+ UploadCloud: _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_227__["default"],
740
+ Upload: _upload_svg__WEBPACK_IMPORTED_MODULE_228__["default"],
741
+ Url: _url_svg__WEBPACK_IMPORTED_MODULE_229__["default"],
742
+ Verify: _verify_svg__WEBPACK_IMPORTED_MODULE_230__["default"],
743
+ VerifyWarning: _verify_warning_svg__WEBPACK_IMPORTED_MODULE_231__["default"],
744
+ Video: _video_svg__WEBPACK_IMPORTED_MODULE_232__["default"],
745
+ Visa: _visa_svg__WEBPACK_IMPORTED_MODULE_233__["default"],
746
+ Warning: _warning_svg__WEBPACK_IMPORTED_MODULE_234__["default"],
747
+ WarningSolid: _warning_solid_svg__WEBPACK_IMPORTED_MODULE_235__["default"],
748
+ WebScrapper: _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_236__["default"],
749
+ WebScrapperSmall: _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_237__["default"],
750
+ WebUnlock: _web_unlock_svg__WEBPACK_IMPORTED_MODULE_238__["default"],
751
+ WebUnlockSmall: _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_239__["default"],
752
+ Wire: _wire_svg__WEBPACK_IMPORTED_MODULE_240__["default"],
750
753
  });
751
754
 
752
755
 
@@ -22045,45 +22048,47 @@ __webpack_require__.r(__webpack_exports__);
22045
22048
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22046
22049
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
22047
22050
  /* harmony export */ });
22048
- /* harmony import */ var prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prismjs/components/prism-core */ "./node_modules/prismjs/components/prism-core.js");
22049
- /* harmony import */ var prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_0__);
22050
- /* harmony import */ var prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prismjs/components/prism-clike */ "./node_modules/prismjs/components/prism-clike.js");
22051
- /* harmony import */ var prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_1__);
22052
- /* harmony import */ var prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prismjs/components/prism-markup */ "./node_modules/prismjs/components/prism-markup.js");
22053
- /* harmony import */ var prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_2__);
22054
- /* harmony import */ var prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prismjs/components/prism-javascript */ "./node_modules/prismjs/components/prism-javascript.js");
22055
- /* harmony import */ var prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_3__);
22056
- /* harmony import */ var prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prismjs/components/prism-css */ "./node_modules/prismjs/components/prism-css.js");
22057
- /* harmony import */ var prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_4__);
22058
- /* harmony import */ var prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prismjs/components/prism-bash */ "./node_modules/prismjs/components/prism-bash.js");
22059
- /* harmony import */ var prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_5__);
22060
- /* harmony import */ var prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prismjs/components/prism-java */ "./node_modules/prismjs/components/prism-java.js");
22061
- /* harmony import */ var prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_6__);
22062
- /* harmony import */ var prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prismjs/components/prism-csharp */ "./node_modules/prismjs/components/prism-csharp.js");
22063
- /* harmony import */ var prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_7__);
22064
- /* harmony import */ var prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prismjs/components/prism-basic */ "./node_modules/prismjs/components/prism-basic.js");
22065
- /* harmony import */ var prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_8__);
22066
- /* harmony import */ var prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prismjs/components/prism-vbnet */ "./node_modules/prismjs/components/prism-vbnet.js");
22067
- /* harmony import */ var prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_9__);
22068
- /* harmony import */ var prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prismjs/components/prism-markup-templating */ "./node_modules/prismjs/components/prism-markup-templating.js");
22069
- /* harmony import */ var prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_10__);
22070
- /* harmony import */ var prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prismjs/components/prism-php */ "./node_modules/prismjs/components/prism-php.js");
22071
- /* harmony import */ var prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_11__);
22072
- /* harmony import */ var prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! prismjs/components/prism-ruby */ "./node_modules/prismjs/components/prism-ruby.js");
22073
- /* harmony import */ var prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_12__);
22074
- /* harmony import */ var prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prismjs/components/prism-perl */ "./node_modules/prismjs/components/prism-perl.js");
22075
- /* harmony import */ var prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_13__);
22076
- /* harmony import */ var prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! prismjs/components/prism-python */ "./node_modules/prismjs/components/prism-python.js");
22077
- /* harmony import */ var prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_14__);
22078
- /* harmony import */ var prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! prismjs/components/prism-json */ "./node_modules/prismjs/components/prism-json.js");
22079
- /* harmony import */ var prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_15__);
22080
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! prop-types */ "prop-types");
22081
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_16__);
22082
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react */ "react");
22083
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_17__);
22051
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
22052
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
22053
+ /* harmony import */ var prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prismjs/components/prism-core */ "./node_modules/prismjs/components/prism-core.js");
22054
+ /* harmony import */ var prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_1__);
22055
+ /* harmony import */ var prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prismjs/components/prism-clike */ "./node_modules/prismjs/components/prism-clike.js");
22056
+ /* harmony import */ var prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_2__);
22057
+ /* harmony import */ var prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prismjs/components/prism-markup */ "./node_modules/prismjs/components/prism-markup.js");
22058
+ /* harmony import */ var prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_3__);
22059
+ /* harmony import */ var prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prismjs/components/prism-javascript */ "./node_modules/prismjs/components/prism-javascript.js");
22060
+ /* harmony import */ var prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_4__);
22061
+ /* harmony import */ var prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prismjs/components/prism-css */ "./node_modules/prismjs/components/prism-css.js");
22062
+ /* harmony import */ var prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_5__);
22063
+ /* harmony import */ var prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prismjs/components/prism-bash */ "./node_modules/prismjs/components/prism-bash.js");
22064
+ /* harmony import */ var prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_6__);
22065
+ /* harmony import */ var prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prismjs/components/prism-java */ "./node_modules/prismjs/components/prism-java.js");
22066
+ /* harmony import */ var prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_7__);
22067
+ /* harmony import */ var prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prismjs/components/prism-csharp */ "./node_modules/prismjs/components/prism-csharp.js");
22068
+ /* harmony import */ var prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_8__);
22069
+ /* harmony import */ var prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prismjs/components/prism-basic */ "./node_modules/prismjs/components/prism-basic.js");
22070
+ /* harmony import */ var prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_9__);
22071
+ /* harmony import */ var prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prismjs/components/prism-vbnet */ "./node_modules/prismjs/components/prism-vbnet.js");
22072
+ /* harmony import */ var prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_10__);
22073
+ /* harmony import */ var prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prismjs/components/prism-markup-templating */ "./node_modules/prismjs/components/prism-markup-templating.js");
22074
+ /* harmony import */ var prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_11__);
22075
+ /* harmony import */ var prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! prismjs/components/prism-php */ "./node_modules/prismjs/components/prism-php.js");
22076
+ /* harmony import */ var prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_12__);
22077
+ /* harmony import */ var prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prismjs/components/prism-ruby */ "./node_modules/prismjs/components/prism-ruby.js");
22078
+ /* harmony import */ var prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_13__);
22079
+ /* harmony import */ var prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! prismjs/components/prism-perl */ "./node_modules/prismjs/components/prism-perl.js");
22080
+ /* harmony import */ var prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_14__);
22081
+ /* harmony import */ var prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! prismjs/components/prism-python */ "./node_modules/prismjs/components/prism-python.js");
22082
+ /* harmony import */ var prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_15__);
22083
+ /* harmony import */ var prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! prismjs/components/prism-json */ "./node_modules/prismjs/components/prism-json.js");
22084
+ /* harmony import */ var prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_16__);
22085
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! prop-types */ "prop-types");
22086
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_17__);
22084
22087
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! styled-components */ "styled-components");
22085
22088
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_18__);
22086
22089
  /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
22090
+ /* harmony import */ var prismjs_plugins_line_numbers_prism_line_numbers__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! prismjs/plugins/line-numbers/prism-line-numbers */ "./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js");
22091
+ /* harmony import */ var prismjs_plugins_line_numbers_prism_line_numbers__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(prismjs_plugins_line_numbers_prism_line_numbers__WEBPACK_IMPORTED_MODULE_20__);
22087
22092
  // LICENSE_CODE ZON
22088
22093
 
22089
22094
 
@@ -22108,27 +22113,46 @@ __webpack_require__.r(__webpack_exports__);
22108
22113
 
22109
22114
 
22110
22115
 
22111
- var Code = function Code(props) {
22116
+
22117
+ var Code = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props, ref) {
22112
22118
  var text = props.text,
22113
- lang = props.lang;
22114
- (0,react__WEBPACK_IMPORTED_MODULE_17__.useEffect)(function () {
22115
- prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_0___default().highlightAll();
22116
- }, [text, lang]);
22117
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_17___default().createElement(CodeWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_17___default().createElement("code", {
22119
+ lang = props.lang,
22120
+ themeProp = props.theme,
22121
+ lineNumbers = props.lineNumbers;
22122
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
22123
+ prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_1___default().highlightAll();
22124
+ }, [text, lang, lineNumbers]);
22125
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeWrapper, {
22126
+ ref: ref,
22127
+ $theme: themeProp,
22128
+ className: "".concat(lineNumbers ? '' : 'no-', "line-numbers")
22129
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("code", {
22118
22130
  className: "language-".concat(lang, " content")
22119
22131
  }, text));
22120
- };
22132
+ });
22121
22133
  Code.displayName = 'Code';
22134
+ Code.defaultProps = {
22135
+ theme: 'white'
22136
+ };
22122
22137
  Code.propTypes = {
22123
- text: (prop_types__WEBPACK_IMPORTED_MODULE_16___default().string),
22124
- // XXX davidg: config langs
22125
- lang: (prop_types__WEBPACK_IMPORTED_MODULE_16___default().string)
22138
+ text: (prop_types__WEBPACK_IMPORTED_MODULE_17___default().string),
22139
+ lang: prop_types__WEBPACK_IMPORTED_MODULE_17___default().oneOf(['plain', 'plaintext', 'text', 'txt', 'DFS', 'clike', 'markup', 'html', 'mathml', 'svg', 'xml', 'ssml', 'atom', 'rss', 'javascript', 'js', 'css', 'bash', 'sh', 'shell', 'java', 'csharp', 'cs', 'dotnet', 'basic', 'vbnet', 'markup-templating', 'php', 'ruby', 'rb', 'perl', 'python', 'py', 'json', 'webmanifest']),
22140
+ theme: prop_types__WEBPACK_IMPORTED_MODULE_17___default().oneOf(['black', 'white']),
22141
+ lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_17___default().bool)
22126
22142
  };
22127
22143
  var CodeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_18___default().pre.withConfig({
22128
22144
  displayName: "CodeWrapper",
22129
22145
  componentId: "sc-1kleg7y-0"
22130
- })(["&&&{padding:0 !important;font-family:", ";margin:0;border:none;background-color:transparent;width:100%;white-space:pre-wrap !important;font-size:", ";line-height:", ";tab-size:4;text-align:left;word-spacing:normal;word-break:break-word;word-wrap:normal;hyphens:none;max-height:none !important;code.content{all:inherit;color:", ";margin:0;padding:0;border:none;background-color:transparent;text-shadow:none;overflow-x:clip;}", " .token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.token.namespace{opacity:.7;}.token.property,.token.tag,.token.boolean,.token.constant,.token.symbol,.token.deleted{color:#f8c555;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#7ec699;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#67cdcc;}.token.atrule,.token.attr-value,.token.keyword{color:#cc99cd;}.token.function,.token.number,.token.class-name{color:#f08d49;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}}"], _theme__WEBPACK_IMPORTED_MODULE_19__["default"].font_family.mono, _theme__WEBPACK_IMPORTED_MODULE_19__["default"].font_size.sm, _theme__WEBPACK_IMPORTED_MODULE_19__["default"].line_height.loose, _theme__WEBPACK_IMPORTED_MODULE_19__["default"].color.gray_8, '' /* prism selectors below */);
22131
-
22146
+ })(["&&&{font-family:", ";margin:0;border:none;background-color:transparent;width:100%;white-space:pre-wrap !important;font-size:", ";line-height:", ";tab-size:4;text-align:left;word-spacing:normal;word-break:break-word;word-wrap:normal;hyphens:none;max-height:none !important;code.content{all:inherit;margin:0;padding:0;border:none;background-color:transparent;text-shadow:none;}&.line-numbers{position:relative;padding-left:3.8rem;counter-reset:linenumber;& > code{position:relative;white-space:inherit;}.line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8rem;width:3rem;letter-spacing:-1px;border-right:1px solid ", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;& > span{display:block;counter-increment:linenumber;&:before{content:counter(linenumber);color:", ";display:block;padding-right:0.8rem;text-align:right;}}}}", "}"], _theme__WEBPACK_IMPORTED_MODULE_19__["default"].font_family.mono, _theme__WEBPACK_IMPORTED_MODULE_19__["default"].font_size.sm, _theme__WEBPACK_IMPORTED_MODULE_19__["default"].line_height.loose, function (props) {
22147
+ return props.$theme == 'white' ? '#5F6364' : '#999';
22148
+ }, function (props) {
22149
+ return props.$theme == 'white' ? '#5F6364' : '#999';
22150
+ }, function (props) {
22151
+ if (props.$theme == 'white') {
22152
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_18__.css)(["code.content{color:#c92c2c;}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#7D8B99;}.token.punctuation{color:#5F6364;}.token.property,.token.tag,.token.boolean,.token.number,.token.function-name,.token.constant,.token.symbol,.token.deleted{color:#c92c2c;}.token.selector,.token.attr-name,.token.string,.token.char,.token.function,.token.builtin,.token.inserted{color:#2f9c0a;}.token.operator,.token.entity,.token.url,.token.variable{color:#a67f59;background:rgba(255,255,255,0.5);}.token.atrule,.token.attr-value,.token.keyword,.token.class-name{color:#1990b8;}.token.regex,.token.important{color:#e90;}.language-css .token.string,.style .token.string{color:#a67f59;background:rgba(255,255,255,0.5);}.token.important{font-weight:normal;}.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}.token.namespace{opacity:.7;}"]);
22153
+ }
22154
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_18__.css)(["code.content{color:", ";}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.token.namespace{opacity:.7;}.token.property,.token.tag,.token.boolean,.token.constant,.token.symbol,.token.deleted{color:#f8c555;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#7ec699;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#67cdcc;}.token.atrule,.token.attr-value,.token.keyword{color:#cc99cd;}.token.function,.token.number,.token.class-name{color:#f08d49;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}"], _theme__WEBPACK_IMPORTED_MODULE_19__["default"].color.gray_8);
22155
+ });
22132
22156
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Code);
22133
22157
 
22134
22158
  /***/ }),
@@ -22151,8 +22175,8 @@ __webpack_require__.r(__webpack_exports__);
22151
22175
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "prop-types");
22152
22176
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
22153
22177
  /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
22154
- /* harmony import */ var _code_snippet__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./code_snippet */ "./src/code/code_snippet.js");
22155
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
22178
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
22179
+ /* harmony import */ var _code_snippet__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./code_snippet */ "./src/code/code_snippet.js");
22156
22180
  // LICENSE_CODE ZON
22157
22181
 
22158
22182
 
@@ -22167,37 +22191,54 @@ var CodeBlock = function CodeBlock(props) {
22167
22191
  var header = props.header,
22168
22192
  code = props.code,
22169
22193
  lang = props.lang,
22170
- max_height = props.max_height;
22194
+ max_height = props.max_height,
22195
+ themeProp = props.theme,
22196
+ lineNumbers = props.lineNumbers,
22197
+ copyButton = props.copyButton;
22171
22198
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockWrapper, {
22172
22199
  "data-testid": "code_block"
22173
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockHeader, null, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_4__["default"], {
22200
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockHeader, {
22201
+ $theme: themeProp
22202
+ }, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_5__["default"], {
22174
22203
  max_height: max_height,
22175
22204
  lang: lang,
22176
- code: code
22205
+ code: code,
22206
+ theme: themeProp,
22207
+ lineNumbers: lineNumbers,
22208
+ copyButton: copyButton
22177
22209
  }));
22178
22210
  };
22179
22211
  CodeBlock.displayName = 'CodeBlock';
22180
22212
  CodeBlock.defaultProps = {
22181
- max_height: '500px'
22213
+ max_height: '500px',
22214
+ theme: 'black'
22182
22215
  };
22183
22216
  CodeBlock.propTypes = {
22184
22217
  header: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
22185
22218
  code: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
22186
22219
  lang: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
22187
- max_height: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
22220
+ max_height: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
22221
+ theme: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['black', 'white']),
22222
+ lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
22223
+ copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
22188
22224
  };
22189
22225
  var CodeBlockWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
22190
22226
  displayName: "CodeBlockWrapper",
22191
22227
  componentId: "sc-dgi5hi-0"
22192
22228
  })(["border-radius:4px;overflow:hidden;font-family:", ";font-size:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].font_family.sans, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].font_size.md);
22193
- var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex).attrs({
22229
+ var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex).attrs({
22194
22230
  align_items: 'center',
22195
22231
  justify_content: 'space-between',
22196
22232
  padding: '0.9em 1em'
22197
22233
  }).withConfig({
22198
22234
  displayName: "CodeBlockHeader",
22199
22235
  componentId: "sc-dgi5hi-1"
22200
- })(["background-color:", ";color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_8);
22236
+ })(["", ""], function (props) {
22237
+ if (props.$theme == 'white') {
22238
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";color:", ";border-bottom:1px solid ", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_9, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_5);
22239
+ }
22240
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_9);
22241
+ });
22201
22242
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeBlock);
22202
22243
 
22203
22244
  /***/ }),
@@ -22222,6 +22263,7 @@ __webpack_require__.r(__webpack_exports__);
22222
22263
  /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
22223
22264
  /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
22224
22265
  /* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./code */ "./src/code/code.js");
22266
+ /* harmony import */ var _copy_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./copy_button */ "./src/code/copy_button.js");
22225
22267
  // LICENSE_CODE ZON
22226
22268
 
22227
22269
 
@@ -22232,25 +22274,44 @@ __webpack_require__.r(__webpack_exports__);
22232
22274
 
22233
22275
 
22234
22276
 
22235
- var CodeSnippet = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
22277
+
22278
+ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props, ref) {
22236
22279
  var code = props.code,
22237
22280
  lang = props.lang,
22238
22281
  max_height = props.max_height,
22239
- className = props.className;
22282
+ className = props.className,
22283
+ themeProp = props.theme,
22284
+ lineNumbers = props.lineNumbers,
22285
+ copyButton = props.copyButton;
22286
+ var codeRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
22240
22287
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockBody, {
22241
22288
  ref: ref,
22242
22289
  className: className,
22243
- max_height: max_height
22290
+ max_height: max_height,
22291
+ $theme: themeProp
22244
22292
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code__WEBPACK_IMPORTED_MODULE_5__["default"], {
22293
+ ref: codeRef,
22245
22294
  lang: lang,
22246
- text: code
22295
+ text: code,
22296
+ theme: themeProp,
22297
+ lineNumbers: lineNumbers
22298
+ }), !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_6__["default"], {
22299
+ code: code,
22300
+ theme: themeProp,
22301
+ codeRef: codeRef
22247
22302
  }));
22248
22303
  });
22249
22304
  CodeSnippet.displayName = 'CodeSnippet';
22305
+ CodeSnippet.defaultProps = {
22306
+ theme: 'black'
22307
+ };
22250
22308
  CodeSnippet.propTypes = {
22251
22309
  code: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
22252
22310
  lang: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
22253
- max_height: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
22311
+ max_height: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
22312
+ theme: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['black', 'white']),
22313
+ lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
22314
+ copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
22254
22315
  };
22255
22316
  var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex).attrs({
22256
22317
  align_items: 'flex-start',
@@ -22261,15 +22322,161 @@ var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
22261
22322
  }).withConfig({
22262
22323
  displayName: "CodeBlockBody",
22263
22324
  componentId: "sc-13u859f-0"
22264
- })(["background-color:", ";overflow-y:auto;::-webkit-scrollbar{height:10px;width:10px;}::-webkit-scrollbar-thumb{background-color:", ";border-radius:10px;border:0 solid transparent;background-clip:content-box;}::-webkit-scrollbar-track-piece{background:", ";}position:relative;", ""], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_12, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, '' /* ${CodeBlockCopyBtn} {
22265
- position: sticky;
22266
- top: 0;
22267
- } */);
22325
+ })(["background-color:", ";overflow-y:auto;::-webkit-scrollbar{height:10px;width:10px;}::-webkit-scrollbar-thumb{background-color:", ";border-radius:10px;border:0 solid transparent;background-clip:content-box;}::-webkit-scrollbar-track-piece{background:", ";}position:relative;", ""], function (props) {
22326
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_2' : 'gray_12'];
22327
+ }, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, function (props) {
22328
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_8' : 'gray_11_50'];
22329
+ }, '' /* ${CodeBlockCopyBtn} {
22330
+ position: sticky;
22331
+ top: 0;
22332
+ } */);
22268
22333
 
22269
22334
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeSnippet);
22270
22335
 
22271
22336
  /***/ }),
22272
22337
 
22338
+ /***/ "./src/code/copy_button.js":
22339
+ /*!*********************************!*\
22340
+ !*** ./src/code/copy_button.js ***!
22341
+ \*********************************/
22342
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
22343
+
22344
+ "use strict";
22345
+ __webpack_require__.r(__webpack_exports__);
22346
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22347
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
22348
+ /* harmony export */ });
22349
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
22350
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
22351
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
22352
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
22353
+ /* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @icons */ "./assets/icons/index.js");
22354
+ /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
22355
+ /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip.js");
22356
+ // LICENSE_CODE ZON
22357
+
22358
+
22359
+ /*jslint react:true*/
22360
+ var _tooltips;
22361
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
22362
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
22363
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22364
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
22365
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
22366
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
22367
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22368
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
22369
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22370
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
22371
+
22372
+
22373
+
22374
+
22375
+
22376
+ var STATE = {
22377
+ READY: 'READY',
22378
+ SUCCESS: 'SUCCESS',
22379
+ ERROR: 'ERROR'
22380
+ };
22381
+ var tooltips = (_tooltips = {}, _defineProperty(_tooltips, STATE.READY, 'Copy'), _defineProperty(_tooltips, STATE.SUCCESS, 'Copied'), _defineProperty(_tooltips, STATE.ERROR, 'Press Ctrl+C to copy'), _tooltips);
22382
+ var icon = _icons__WEBPACK_IMPORTED_MODULE_2__["default"].Copy;
22383
+ var CopyButton = function CopyButton(props) {
22384
+ var code = props.code,
22385
+ themeProp = props.theme,
22386
+ codeRef = props.codeRef;
22387
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(STATE.READY),
22388
+ _useState2 = _slicedToArray(_useState, 2),
22389
+ state = _useState2[0],
22390
+ setState = _useState2[1];
22391
+ var resetText = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
22392
+ setTimeout(function () {
22393
+ return setState(STATE.READY);
22394
+ }, 1500);
22395
+ }, []);
22396
+ var handleClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
22397
+ copyTextToClipboard({
22398
+ getText: function getText() {
22399
+ return code;
22400
+ },
22401
+ success: function success() {
22402
+ setState(STATE.SUCCESS);
22403
+ resetText();
22404
+ },
22405
+ error: function error() {
22406
+ setState(STATE.ERROR);
22407
+ setTimeout(function () {
22408
+ return selectElementText(codeRef.current);
22409
+ }, 1);
22410
+ resetText();
22411
+ }
22412
+ });
22413
+ }, [code]);
22414
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], {
22415
+ tooltip: tooltips[state],
22416
+ placement: "right",
22417
+ noWrap: true
22418
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledButton, {
22419
+ type: "button",
22420
+ onClick: handleClick,
22421
+ $theme: themeProp
22422
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", {
22423
+ viewBox: icon.viewBox
22424
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
22425
+ href: "#".concat(icon.id)
22426
+ }))));
22427
+ };
22428
+ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().button.withConfig({
22429
+ displayName: "StyledButton",
22430
+ componentId: "sc-kvxvoe-0"
22431
+ })(["position:absolute;right:16px;display:flex;padding:8px;align-items:flex-start;border:0 none;border-radius:32px;background:", ";svg{width:16px;height:16px;color:", ";}&:hover svg{color:", ";}&:active svg{color:", ";}"], function (props) {
22432
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_5' : 'gray_11_50'];
22433
+ }, function (props) {
22434
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_9' : 'gray_8'];
22435
+ }, function (props) {
22436
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_11_25' : 'gray_1'];
22437
+ }, function (props) {
22438
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_11_25' : 'gray_1'];
22439
+ });
22440
+ function copyTextToClipboard(copyInfo) {
22441
+ if (navigator.clipboard) {
22442
+ navigator.clipboard.writeText(copyInfo.getText()).then(copyInfo.success, function () {
22443
+ // try the fallback in case `writeText` didn't work
22444
+ fallbackCopyTextToClipboard(copyInfo);
22445
+ });
22446
+ } else fallbackCopyTextToClipboard(copyInfo);
22447
+ }
22448
+ function fallbackCopyTextToClipboard(copyInfo) {
22449
+ // https://stackoverflow.com/a/30810322/7595472
22450
+ var textArea = document.createElement('textarea');
22451
+ textArea.value = copyInfo.getText();
22452
+
22453
+ // Avoid scrolling to bottom
22454
+ textArea.style.top = '0';
22455
+ textArea.style.left = '0';
22456
+ textArea.style.position = 'fixed';
22457
+ document.body.appendChild(textArea);
22458
+ textArea.focus();
22459
+ textArea.select();
22460
+ try {
22461
+ var successful = document.execCommand('copy');
22462
+ setTimeout(function () {
22463
+ if (successful) copyInfo.success();else copyInfo.error();
22464
+ }, 1);
22465
+ } catch (e) {
22466
+ setTimeout(function () {
22467
+ copyInfo.error(e);
22468
+ }, 1);
22469
+ }
22470
+ document.body.removeChild(textArea);
22471
+ }
22472
+ function selectElementText(element) {
22473
+ // https://stackoverflow.com/a/20079910/7595472
22474
+ window.getSelection().selectAllChildren(element);
22475
+ }
22476
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CopyButton);
22477
+
22478
+ /***/ }),
22479
+
22273
22480
  /***/ "./src/code/index.js":
22274
22481
  /*!***************************!*\
22275
22482
  !*** ./src/code/index.js ***!
@@ -22516,10 +22723,10 @@ __webpack_require__.r(__webpack_exports__);
22516
22723
  /* harmony export */ Badge: () => (/* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__["default"]),
22517
22724
  /* harmony export */ Button: () => (/* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_1__["default"]),
22518
22725
  /* harmony export */ Chart: () => (/* reexport safe */ _chart__WEBPACK_IMPORTED_MODULE_2__["default"]),
22519
- /* harmony export */ ClickableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_20__.ClickableTag),
22520
- /* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_18__.Code),
22521
- /* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_18__.CodeBlock),
22522
- /* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_18__.CodeSnippet),
22726
+ /* harmony export */ ClickableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.ClickableTag),
22727
+ /* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_19__.Code),
22728
+ /* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_19__.CodeBlock),
22729
+ /* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_19__.CodeSnippet),
22523
22730
  /* harmony export */ ComboButton: () => (/* reexport safe */ _combo_button__WEBPACK_IMPORTED_MODULE_3__["default"]),
22524
22731
  /* harmony export */ Icon: () => (/* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_5__["default"]),
22525
22732
  /* harmony export */ IconButton: () => (/* reexport safe */ _icon_button__WEBPACK_IMPORTED_MODULE_6__["default"]),
@@ -22529,13 +22736,14 @@ __webpack_require__.r(__webpack_exports__);
22529
22736
  /* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_10__["default"]),
22530
22737
  /* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_11__["default"]),
22531
22738
  /* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_12__),
22532
- /* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.Progress),
22533
- /* harmony export */ ProgressBar: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.ProgressBar),
22534
- /* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_20__.RemovableTag),
22739
+ /* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_20__.Progress),
22740
+ /* harmony export */ ProgressBar: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_20__.ProgressBar),
22741
+ /* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.RemovableTag),
22742
+ /* harmony export */ Tab: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_17__["default"]),
22535
22743
  /* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_13__["default"]),
22536
- /* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_20__.TagGroup),
22744
+ /* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.TagGroup),
22537
22745
  /* harmony export */ Tooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_15__["default"]),
22538
- /* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_17__),
22746
+ /* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_18__),
22539
22747
  /* harmony export */ theme: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_14__["default"]),
22540
22748
  /* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_16__["default"]),
22541
22749
  /* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover),
@@ -22558,10 +22766,11 @@ __webpack_require__.r(__webpack_exports__);
22558
22766
  /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./theme */ "./src/theme.js");
22559
22767
  /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./tooltip */ "./src/tooltip.js");
22560
22768
  /* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./translation */ "./src/translation.js");
22561
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
22562
- /* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
22563
- /* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./progress */ "./src/progress/index.js");
22564
- /* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./tag */ "./src/tag/index.js");
22769
+ /* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
22770
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
22771
+ /* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
22772
+ /* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./progress */ "./src/progress/index.js");
22773
+ /* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./tag */ "./src/tag/index.js");
22565
22774
  // LICENSE_CODE ZON
22566
22775
 
22567
22776
 
@@ -22587,6 +22796,7 @@ __webpack_require__.r(__webpack_exports__);
22587
22796
 
22588
22797
 
22589
22798
 
22799
+
22590
22800
 
22591
22801
 
22592
22802
  /***/ }),
@@ -25825,45 +26035,107 @@ __webpack_require__.r(__webpack_exports__);
25825
26035
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25826
26036
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
25827
26037
  /* harmony export */ });
25828
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! styled-components */ "styled-components");
25829
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_0__);
25830
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
26038
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
26039
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
26040
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
26041
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
26042
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
25831
26043
  // LICENSE_CODE ZON
25832
26044
 
25833
26045
 
25834
26046
  /*jslint react:true*/
26047
+ var _excluded = ["height", "max_height", "min_height", "width", "max_width", "min_width", "padding", "padding_top", "padding_right", "padding_bottom", "padding_left", "margin", "margin_top", "margin_right", "margin_bottom", "margin_left", "flex", "flex_grow", "flex_shrink", "flex_basis", "justify_self", "align_self", "order", "box_shadow"];
26048
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
26049
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
26050
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
26051
+
25835
26052
 
25836
26053
 
25837
- var Box = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.withConfig({
25838
- displayName: "Box",
26054
+ var Box = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
26055
+ var height = props.height,
26056
+ max_height = props.max_height,
26057
+ min_height = props.min_height,
26058
+ width = props.width,
26059
+ max_width = props.max_width,
26060
+ min_width = props.min_width,
26061
+ padding = props.padding,
26062
+ padding_top = props.padding_top,
26063
+ padding_right = props.padding_right,
26064
+ padding_bottom = props.padding_bottom,
26065
+ padding_left = props.padding_left,
26066
+ margin = props.margin,
26067
+ margin_top = props.margin_top,
26068
+ margin_right = props.margin_right,
26069
+ margin_bottom = props.margin_bottom,
26070
+ margin_left = props.margin_left,
26071
+ flex = props.flex,
26072
+ flex_grow = props.flex_grow,
26073
+ flex_shrink = props.flex_shrink,
26074
+ flex_basis = props.flex_basis,
26075
+ justify_self = props.justify_self,
26076
+ align_self = props.align_self,
26077
+ order = props.order,
26078
+ box_shadow = props.box_shadow,
26079
+ rest = _objectWithoutProperties(props, _excluded);
26080
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledBox, _extends({
26081
+ ref: ref,
26082
+ $height: height,
26083
+ $maxHeight: max_height,
26084
+ $minHeight: min_height,
26085
+ $width: width,
26086
+ $maxWidth: max_width,
26087
+ $minWidth: min_width,
26088
+ $padding: padding,
26089
+ $padding_top: padding_top,
26090
+ $padding_right: padding_right,
26091
+ $padding_bottom: padding_bottom,
26092
+ $padding_left: padding_left,
26093
+ $margin: margin,
26094
+ $margin_top: margin_top,
26095
+ $margin_right: margin_right,
26096
+ $margin_bottom: margin_bottom,
26097
+ $margin_left: margin_left,
26098
+ $flex: flex,
26099
+ $flexGrow: flex_grow,
26100
+ $flexShrink: flex_shrink,
26101
+ $flexBasis: flex_basis,
26102
+ $justifySelf: justify_self,
26103
+ $alignSelf: align_self,
26104
+ $order: order,
26105
+ $box_shadow: box_shadow
26106
+ }, rest));
26107
+ });
26108
+ Box.displayName = 'Box';
26109
+ var StyledBox = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
26110
+ displayName: "StyledBox",
25839
26111
  componentId: "sc-pxszp5-0"
25840
26112
  })(["height:", ";max-height:", ";min-height:", ";width:", ";max-width:", ";min-width:", ";padding:", ";padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";margin:", ";margin-top:", ";margin-right:", ";margin-bottom:", ";margin-left:", ";flex:", ";flex-grow:", ";flex-shrink:", ";flex-basis:", ";justify-self:", ";align-self:", ";order:", ";box-shadow:", ";"], function (props) {
25841
- return props.height;
26113
+ return props.$height;
25842
26114
  }, function (props) {
25843
- return props.max_height;
26115
+ return props.$maxHeight;
25844
26116
  }, function (props) {
25845
- return props.min_height;
26117
+ return props.$minHeight;
25846
26118
  }, function (props) {
25847
- return props.width;
26119
+ return props.$width;
25848
26120
  }, function (props) {
25849
- return props.max_width;
26121
+ return props.$maxWidth;
25850
26122
  }, function (props) {
25851
- return props.min_width;
25852
- }, (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('padding'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('padding_top'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('padding_right'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('padding_bottom'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('padding_left'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('margin'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('margin_top'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('margin_right'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('margin_bottom'), (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('margin_left'), function (props) {
25853
- return props.flex;
26123
+ return props.$minWidth;
26124
+ }, (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('padding'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('padding_top'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('padding_right'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('padding_bottom'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('padding_left'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('margin'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('margin_top'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('margin_right'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('margin_bottom'), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('margin_left'), function (props) {
26125
+ return props.$flex;
25854
26126
  }, function (props) {
25855
- return props.flex_grow;
26127
+ return props.$flexGrow;
25856
26128
  }, function (props) {
25857
- return props.flex_shrink;
26129
+ return props.$flexShrink;
25858
26130
  }, function (props) {
25859
- return props.flex_basis;
26131
+ return props.$flexBasis;
25860
26132
  }, function (props) {
25861
- return props.justify_self;
26133
+ return props.$justifySelf;
25862
26134
  }, function (props) {
25863
- return props.align_self;
26135
+ return props.$alignSelf;
25864
26136
  }, function (props) {
25865
- return props.order;
25866
- }, (0,_utils__WEBPACK_IMPORTED_MODULE_1__.fromTheme)('box_shadow'));
26137
+ return props.$order;
26138
+ }, (0,_utils__WEBPACK_IMPORTED_MODULE_2__.fromTheme)('box_shadow'));
25867
26139
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Box);
25868
26140
 
25869
26141
  /***/ }),
@@ -25890,34 +26162,41 @@ __webpack_require__.r(__webpack_exports__);
25890
26162
 
25891
26163
 
25892
26164
  /*jslint react:true*/
26165
+ var _excluded = ["inline", "align_items", "align_content", "justify_items", "justify_content", "flex_wrap", "flex_direction", "gap", "row_gap", "column_gap"];
26166
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
26167
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
26168
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25893
26169
 
25894
26170
 
25895
26171
 
25896
26172
 
25897
- var Flex = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_box__WEBPACK_IMPORTED_MODULE_3__["default"]).withConfig({
25898
- displayName: "Flex",
25899
- componentId: "sc-2aqm31-0"
25900
- })(["display:", ";align-items:", ";align-content:", ";justify-items:", ";justify-content:", ";flex-wrap:", ";flex-direction:", ";gap:", ";row-gap:", ";column-gap:", ";"], function (props) {
25901
- return props.inline ? 'inline-flex' : 'flex';
25902
- }, function (props) {
25903
- return props.align_items;
25904
- }, function (props) {
25905
- return props.align_content;
25906
- }, function (props) {
25907
- return props.justify_items;
25908
- }, function (props) {
25909
- return props.justify_content;
25910
- }, function (props) {
25911
- return props.flex_wrap;
25912
- }, function (props) {
25913
- return props.flex_direction;
25914
- }, function (props) {
25915
- return props.gap;
25916
- }, function (props) {
25917
- return props.row_gap;
25918
- }, function (props) {
25919
- return props.column_gap;
26173
+ var Flex = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
26174
+ var inline = props.inline,
26175
+ align_items = props.align_items,
26176
+ align_content = props.align_content,
26177
+ justify_items = props.justify_items,
26178
+ justify_content = props.justify_content,
26179
+ flex_wrap = props.flex_wrap,
26180
+ flex_direction = props.flex_direction,
26181
+ gap = props.gap,
26182
+ row_gap = props.row_gap,
26183
+ column_gap = props.column_gap,
26184
+ rest = _objectWithoutProperties(props, _excluded);
26185
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledFlex, _extends({
26186
+ ref: ref,
26187
+ $inline: inline,
26188
+ $alignItems: align_items,
26189
+ $alignContent: align_content,
26190
+ $justifyItems: justify_items,
26191
+ $justifyContent: justify_content,
26192
+ $flexWrap: flex_wrap,
26193
+ $flexDirection: flex_direction,
26194
+ $gap: gap,
26195
+ $rowGap: row_gap,
26196
+ $columnGap: column_gap
26197
+ }, rest));
25920
26198
  });
26199
+ Flex.displayName = 'Flex';
25921
26200
  Flex.defaultProps = {
25922
26201
  flex_direction: 'row'
25923
26202
  };
@@ -25933,6 +26212,30 @@ Flex.propTypes = {
25933
26212
  row_gap: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
25934
26213
  column_gap: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
25935
26214
  };
26215
+ var StyledFlex = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_box__WEBPACK_IMPORTED_MODULE_3__["default"]).withConfig({
26216
+ displayName: "StyledFlex",
26217
+ componentId: "sc-2aqm31-0"
26218
+ })(["display:", ";align-items:", ";align-content:", ";justify-items:", ";justify-content:", ";flex-wrap:", ";flex-direction:", ";gap:", ";row-gap:", ";column-gap:", ";"], function (props) {
26219
+ return props.$inline ? 'inline-flex' : 'flex';
26220
+ }, function (props) {
26221
+ return props.$alignItems;
26222
+ }, function (props) {
26223
+ return props.$alignContent;
26224
+ }, function (props) {
26225
+ return props.$justifyItems;
26226
+ }, function (props) {
26227
+ return props.$justifyContent;
26228
+ }, function (props) {
26229
+ return props.$flexWrap;
26230
+ }, function (props) {
26231
+ return props.$flexDirection;
26232
+ }, function (props) {
26233
+ return props.$gap;
26234
+ }, function (props) {
26235
+ return props.$rowGap;
26236
+ }, function (props) {
26237
+ return props.$columnGap;
26238
+ });
25936
26239
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Flex);
25937
26240
 
25938
26241
  /***/ }),
@@ -27173,6 +27476,234 @@ ProgressBar.propTypes = {
27173
27476
 
27174
27477
  /***/ }),
27175
27478
 
27479
+ /***/ "./src/tab/group.js":
27480
+ /*!**************************!*\
27481
+ !*** ./src/tab/group.js ***!
27482
+ \**************************/
27483
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
27484
+
27485
+ "use strict";
27486
+ __webpack_require__.r(__webpack_exports__);
27487
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27488
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
27489
+ /* harmony export */ });
27490
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
27491
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
27492
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
27493
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
27494
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
27495
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
27496
+ /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
27497
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
27498
+ // LICENSE_CODE ZON
27499
+
27500
+
27501
+ /*jslint react:true*/
27502
+ var _excluded = ["children", "className", "variant", "onKeyDown"];
27503
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27504
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
27505
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
27506
+
27507
+
27508
+
27509
+
27510
+
27511
+ var Group = function Group(props) {
27512
+ var children = props.children,
27513
+ className = props.className,
27514
+ variant = props.variant,
27515
+ onKeyDown = props.onKeyDown,
27516
+ rest = _objectWithoutProperties(props, _excluded);
27517
+ var ref = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createRef)(null);
27518
+ var handleKeyDown = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) {
27519
+ if (e.key == 'ArrowRight' || e.key == 'ArrowLeft') {
27520
+ var tabs = ref.current.querySelectorAll('[role="tab"]');
27521
+ var tabFocus = Array.prototype.slice.call(tabs).findIndex(function (t) {
27522
+ return t.tabIndex == 0;
27523
+ });
27524
+ tabs[tabFocus].setAttribute('tabindex', -1);
27525
+ // Move right
27526
+ if (e.key == 'ArrowRight') {
27527
+ tabFocus++;
27528
+ // If we're at the end, go to the start
27529
+ if (tabFocus >= tabs.length) tabFocus = 0;
27530
+ }
27531
+ // Move left
27532
+ else if (e.key == 'ArrowLeft') {
27533
+ tabFocus--;
27534
+ // If we're at the start, move to the end
27535
+ if (tabFocus < 0) tabFocus = tabs.length - 1;
27536
+ }
27537
+ tabs[tabFocus].setAttribute('tabindex', 0);
27538
+ tabs[tabFocus].focus();
27539
+ }
27540
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
27541
+ }, [onKeyDown]);
27542
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(GroupContainer, _extends({
27543
+ ref: ref,
27544
+ role: "tablist",
27545
+ className: className,
27546
+ $variant: variant,
27547
+ "aria-orientation": variant == 'vertical' ? 'vertical' : 'horizontal',
27548
+ onKeyDown: handleKeyDown
27549
+ }, (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getCommonProps)(rest)), react__WEBPACK_IMPORTED_MODULE_1__.Children.map(children, function (child) {
27550
+ return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(child, {
27551
+ variant: variant
27552
+ });
27553
+ }));
27554
+ };
27555
+ Group.defaultProps = {
27556
+ variant: 'main'
27557
+ };
27558
+ Group.propTypes = {
27559
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['main', 'underline', 'contain', 'vertical'])
27560
+ };
27561
+ var GroupContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
27562
+ displayName: "GroupContainer",
27563
+ componentId: "sc-x363t3-0"
27564
+ })(["display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;width:fit-content;", ""], function (props) {
27565
+ if (props.$variant == 'underline') {
27566
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["flex-direction:row;"]);
27567
+ }
27568
+ if (props.$variant == 'contain') {
27569
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["flex-direction:row;padding:2px;gap:2px;border-radius:4px;background:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_3);
27570
+ }
27571
+ if (props.$variant == 'vertical') {
27572
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["flex-direction:column;"]);
27573
+ }
27574
+ // main
27575
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["flex-direction:row;gap:24px;"]);
27576
+ });
27577
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Group);
27578
+
27579
+ /***/ }),
27580
+
27581
+ /***/ "./src/tab/index.js":
27582
+ /*!**************************!*\
27583
+ !*** ./src/tab/index.js ***!
27584
+ \**************************/
27585
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
27586
+
27587
+ "use strict";
27588
+ __webpack_require__.r(__webpack_exports__);
27589
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27590
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
27591
+ /* harmony export */ });
27592
+ /* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./group */ "./src/tab/group.js");
27593
+ /* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tab */ "./src/tab/tab.js");
27594
+ // LICENSE_CODE ZON
27595
+
27596
+
27597
+ /*jslint react:true*/
27598
+
27599
+
27600
+ _tab__WEBPACK_IMPORTED_MODULE_1__["default"].Group = _group__WEBPACK_IMPORTED_MODULE_0__["default"];
27601
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_tab__WEBPACK_IMPORTED_MODULE_1__["default"]);
27602
+
27603
+ /***/ }),
27604
+
27605
+ /***/ "./src/tab/tab.js":
27606
+ /*!************************!*\
27607
+ !*** ./src/tab/tab.js ***!
27608
+ \************************/
27609
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
27610
+
27611
+ "use strict";
27612
+ __webpack_require__.r(__webpack_exports__);
27613
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27614
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
27615
+ /* harmony export */ });
27616
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
27617
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
27618
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
27619
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
27620
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
27621
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
27622
+ /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
27623
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
27624
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
27625
+ // LICENSE_CODE ZON
27626
+
27627
+
27628
+ /*jslint react:true*/
27629
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27630
+
27631
+
27632
+
27633
+
27634
+
27635
+
27636
+ var Tab = function Tab(props) {
27637
+ var className = props.className,
27638
+ variant = props.variant,
27639
+ text = props.text,
27640
+ selected = props.selected,
27641
+ disabled = props.disabled,
27642
+ leftContent = props.leftContent,
27643
+ rightContent = props.rightContent;
27644
+ var Wrap = variant == 'vertical' ? Left : react__WEBPACK_IMPORTED_MODULE_1__.Fragment;
27645
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TabContainer, _extends({
27646
+ role: "tab",
27647
+ className: className,
27648
+ $variant: variant,
27649
+ "aria-selected": !!selected,
27650
+ tabIndex: selected ? 0 : -1,
27651
+ "aria-disabled": disabled ? 'true' : undefined,
27652
+ disabled: !!disabled
27653
+ }, (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getCommonProps)(props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrap, null, leftContent, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Text, {
27654
+ $variant: variant
27655
+ }, text)), rightContent);
27656
+ };
27657
+ Tab.defaultProps = {
27658
+ variant: 'main'
27659
+ };
27660
+ Tab.propTypes = {
27661
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['main', 'underline', 'contain', 'vertical']),
27662
+ text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
27663
+ selected: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
27664
+ disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
27665
+ leftContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
27666
+ rightContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element)
27667
+ };
27668
+ var TabContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().button.withConfig({
27669
+ displayName: "TabContainer",
27670
+ componentId: "sc-dgfrlb-0"
27671
+ })(["display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;cursor:pointer;&[aria-disabled=true]{cursor:not-allowed;}", ""], function (props) {
27672
+ if (props.$variant == 'underline') {
27673
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px #DFE3E6 inset;&[aria-selected=true]{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&[aria-disabled=true]{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_8, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_8, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_6);
27674
+ }
27675
+ if (props.$variant == 'contain') {
27676
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;background:", ";color:", ";&[aria-selected=true]{color:", ";background:", ";border:1px solid ", ";box-shadow:", ";}&:hover{color:", ";background:", ";}&[aria-disabled=true]{color:", ";background:", ";border:0 none;box-shadow:none;}"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_3, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_7, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].box_shadow.md, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_3, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_8, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_3);
27677
+ }
27678
+ if (props.$variant == 'vertical') {
27679
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:200px;height:40px;padding:0 12px;justify-content:space-between;gap:4px;border-radius:0 4px 4px 0;border-left:1px solid transparent;color:", ";&[aria-selected=true]{color:", ";background:", ";border-left-color:", ";}&:hover{color:", ";border-left-color:", ";}&[aria-disabled=true]{color:", ";background:0 none;border-left-color:transparent;}"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_3, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_8, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_9);
27680
+ }
27681
+ // main
27682
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:36px;padding:0;justify-content:center;gap:4px;color:", ";box-shadow:0px -2px 0px 0px ", " inset;&[aria-selected=true]{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}&[aria-disabled=true]{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_8, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_6, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_9, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_6);
27683
+ });
27684
+ var Left = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
27685
+ displayName: "Left",
27686
+ componentId: "sc-dgfrlb-1"
27687
+ })(["display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0;"]);
27688
+ var Text = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_4__.Label).attrs(function (props) {
27689
+ var v = {
27690
+ main: 'lg',
27691
+ underline: 'xs',
27692
+ contain: 'base',
27693
+ vertical: 'sm'
27694
+ };
27695
+ return {
27696
+ variant: v[props.$variant] || v.main,
27697
+ whiteSpace: 'nowrap'
27698
+ };
27699
+ }).withConfig({
27700
+ displayName: "Text",
27701
+ componentId: "sc-dgfrlb-2"
27702
+ })(["min-width:0;overflow-x:clip;text-overflow:ellipsis;"]);
27703
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tab);
27704
+
27705
+ /***/ }),
27706
+
27176
27707
  /***/ "./src/table/cell.js":
27177
27708
  /*!***************************!*\
27178
27709
  !*** ./src/table/cell.js ***!
@@ -30739,7 +31270,7 @@ var toSize = function toSize(value) {
30739
31270
  };
30740
31271
  var getCommonProps = function getCommonProps(props) {
30741
31272
  return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(props, function (v, k) {
30742
- var inc = ['id', 'className', 'style', 'onClick', 'role'];
31273
+ var inc = ['id', 'className', 'style', 'onClick', 'role', 'tabIndex'];
30743
31274
  var starts = ['onMouse', 'onPointer', 'aria-', 'data-'];
30744
31275
  return inc.includes(k) || starts.some(function (s) {
30745
31276
  return k.indexOf(s) == 0;
@@ -51622,6 +52153,268 @@ Prism.languages.vbnet = Prism.languages.extend('basic', {
51622
52153
  });
51623
52154
 
51624
52155
 
52156
+ /***/ }),
52157
+
52158
+ /***/ "./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js":
52159
+ /*!*************************************************************************!*\
52160
+ !*** ./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js ***!
52161
+ \*************************************************************************/
52162
+ /***/ (() => {
52163
+
52164
+ (function () {
52165
+
52166
+ if (typeof Prism === 'undefined' || typeof document === 'undefined') {
52167
+ return;
52168
+ }
52169
+
52170
+ /**
52171
+ * Plugin name which is used as a class name for <pre> which is activating the plugin
52172
+ *
52173
+ * @type {string}
52174
+ */
52175
+ var PLUGIN_NAME = 'line-numbers';
52176
+
52177
+ /**
52178
+ * Regular expression used for determining line breaks
52179
+ *
52180
+ * @type {RegExp}
52181
+ */
52182
+ var NEW_LINE_EXP = /\n(?!$)/g;
52183
+
52184
+
52185
+ /**
52186
+ * Global exports
52187
+ */
52188
+ var config = Prism.plugins.lineNumbers = {
52189
+ /**
52190
+ * Get node for provided line number
52191
+ *
52192
+ * @param {Element} element pre element
52193
+ * @param {number} number line number
52194
+ * @returns {Element|undefined}
52195
+ */
52196
+ getLine: function (element, number) {
52197
+ if (element.tagName !== 'PRE' || !element.classList.contains(PLUGIN_NAME)) {
52198
+ return;
52199
+ }
52200
+
52201
+ var lineNumberRows = element.querySelector('.line-numbers-rows');
52202
+ if (!lineNumberRows) {
52203
+ return;
52204
+ }
52205
+ var lineNumberStart = parseInt(element.getAttribute('data-start'), 10) || 1;
52206
+ var lineNumberEnd = lineNumberStart + (lineNumberRows.children.length - 1);
52207
+
52208
+ if (number < lineNumberStart) {
52209
+ number = lineNumberStart;
52210
+ }
52211
+ if (number > lineNumberEnd) {
52212
+ number = lineNumberEnd;
52213
+ }
52214
+
52215
+ var lineIndex = number - lineNumberStart;
52216
+
52217
+ return lineNumberRows.children[lineIndex];
52218
+ },
52219
+
52220
+ /**
52221
+ * Resizes the line numbers of the given element.
52222
+ *
52223
+ * This function will not add line numbers. It will only resize existing ones.
52224
+ *
52225
+ * @param {HTMLElement} element A `<pre>` element with line numbers.
52226
+ * @returns {void}
52227
+ */
52228
+ resize: function (element) {
52229
+ resizeElements([element]);
52230
+ },
52231
+
52232
+ /**
52233
+ * Whether the plugin can assume that the units font sizes and margins are not depended on the size of
52234
+ * the current viewport.
52235
+ *
52236
+ * Setting this to `true` will allow the plugin to do certain optimizations for better performance.
52237
+ *
52238
+ * Set this to `false` if you use any of the following CSS units: `vh`, `vw`, `vmin`, `vmax`.
52239
+ *
52240
+ * @type {boolean}
52241
+ */
52242
+ assumeViewportIndependence: true
52243
+ };
52244
+
52245
+ /**
52246
+ * Resizes the given elements.
52247
+ *
52248
+ * @param {HTMLElement[]} elements
52249
+ */
52250
+ function resizeElements(elements) {
52251
+ elements = elements.filter(function (e) {
52252
+ var codeStyles = getStyles(e);
52253
+ var whiteSpace = codeStyles['white-space'];
52254
+ return whiteSpace === 'pre-wrap' || whiteSpace === 'pre-line';
52255
+ });
52256
+
52257
+ if (elements.length == 0) {
52258
+ return;
52259
+ }
52260
+
52261
+ var infos = elements.map(function (element) {
52262
+ var codeElement = element.querySelector('code');
52263
+ var lineNumbersWrapper = element.querySelector('.line-numbers-rows');
52264
+ if (!codeElement || !lineNumbersWrapper) {
52265
+ return undefined;
52266
+ }
52267
+
52268
+ /** @type {HTMLElement} */
52269
+ var lineNumberSizer = element.querySelector('.line-numbers-sizer');
52270
+ var codeLines = codeElement.textContent.split(NEW_LINE_EXP);
52271
+
52272
+ if (!lineNumberSizer) {
52273
+ lineNumberSizer = document.createElement('span');
52274
+ lineNumberSizer.className = 'line-numbers-sizer';
52275
+
52276
+ codeElement.appendChild(lineNumberSizer);
52277
+ }
52278
+
52279
+ lineNumberSizer.innerHTML = '0';
52280
+ lineNumberSizer.style.display = 'block';
52281
+
52282
+ var oneLinerHeight = lineNumberSizer.getBoundingClientRect().height;
52283
+ lineNumberSizer.innerHTML = '';
52284
+
52285
+ return {
52286
+ element: element,
52287
+ lines: codeLines,
52288
+ lineHeights: [],
52289
+ oneLinerHeight: oneLinerHeight,
52290
+ sizer: lineNumberSizer,
52291
+ };
52292
+ }).filter(Boolean);
52293
+
52294
+ infos.forEach(function (info) {
52295
+ var lineNumberSizer = info.sizer;
52296
+ var lines = info.lines;
52297
+ var lineHeights = info.lineHeights;
52298
+ var oneLinerHeight = info.oneLinerHeight;
52299
+
52300
+ lineHeights[lines.length - 1] = undefined;
52301
+ lines.forEach(function (line, index) {
52302
+ if (line && line.length > 1) {
52303
+ var e = lineNumberSizer.appendChild(document.createElement('span'));
52304
+ e.style.display = 'block';
52305
+ e.textContent = line;
52306
+ } else {
52307
+ lineHeights[index] = oneLinerHeight;
52308
+ }
52309
+ });
52310
+ });
52311
+
52312
+ infos.forEach(function (info) {
52313
+ var lineNumberSizer = info.sizer;
52314
+ var lineHeights = info.lineHeights;
52315
+
52316
+ var childIndex = 0;
52317
+ for (var i = 0; i < lineHeights.length; i++) {
52318
+ if (lineHeights[i] === undefined) {
52319
+ lineHeights[i] = lineNumberSizer.children[childIndex++].getBoundingClientRect().height;
52320
+ }
52321
+ }
52322
+ });
52323
+
52324
+ infos.forEach(function (info) {
52325
+ var lineNumberSizer = info.sizer;
52326
+ var wrapper = info.element.querySelector('.line-numbers-rows');
52327
+
52328
+ lineNumberSizer.style.display = 'none';
52329
+ lineNumberSizer.innerHTML = '';
52330
+
52331
+ info.lineHeights.forEach(function (height, lineNumber) {
52332
+ wrapper.children[lineNumber].style.height = height + 'px';
52333
+ });
52334
+ });
52335
+ }
52336
+
52337
+ /**
52338
+ * Returns style declarations for the element
52339
+ *
52340
+ * @param {Element} element
52341
+ */
52342
+ function getStyles(element) {
52343
+ if (!element) {
52344
+ return null;
52345
+ }
52346
+
52347
+ return window.getComputedStyle ? getComputedStyle(element) : (element.currentStyle || null);
52348
+ }
52349
+
52350
+ var lastWidth = undefined;
52351
+ window.addEventListener('resize', function () {
52352
+ if (config.assumeViewportIndependence && lastWidth === window.innerWidth) {
52353
+ return;
52354
+ }
52355
+ lastWidth = window.innerWidth;
52356
+
52357
+ resizeElements(Array.prototype.slice.call(document.querySelectorAll('pre.' + PLUGIN_NAME)));
52358
+ });
52359
+
52360
+ Prism.hooks.add('complete', function (env) {
52361
+ if (!env.code) {
52362
+ return;
52363
+ }
52364
+
52365
+ var code = /** @type {Element} */ (env.element);
52366
+ var pre = /** @type {HTMLElement} */ (code.parentNode);
52367
+
52368
+ // works only for <code> wrapped inside <pre> (not inline)
52369
+ if (!pre || !/pre/i.test(pre.nodeName)) {
52370
+ return;
52371
+ }
52372
+
52373
+ // Abort if line numbers already exists
52374
+ if (code.querySelector('.line-numbers-rows')) {
52375
+ return;
52376
+ }
52377
+
52378
+ // only add line numbers if <code> or one of its ancestors has the `line-numbers` class
52379
+ if (!Prism.util.isActive(code, PLUGIN_NAME)) {
52380
+ return;
52381
+ }
52382
+
52383
+ // Remove the class 'line-numbers' from the <code>
52384
+ code.classList.remove(PLUGIN_NAME);
52385
+ // Add the class 'line-numbers' to the <pre>
52386
+ pre.classList.add(PLUGIN_NAME);
52387
+
52388
+ var match = env.code.match(NEW_LINE_EXP);
52389
+ var linesNum = match ? match.length + 1 : 1;
52390
+ var lineNumbersWrapper;
52391
+
52392
+ var lines = new Array(linesNum + 1).join('<span></span>');
52393
+
52394
+ lineNumbersWrapper = document.createElement('span');
52395
+ lineNumbersWrapper.setAttribute('aria-hidden', 'true');
52396
+ lineNumbersWrapper.className = 'line-numbers-rows';
52397
+ lineNumbersWrapper.innerHTML = lines;
52398
+
52399
+ if (pre.hasAttribute('data-start')) {
52400
+ pre.style.counterReset = 'linenumber ' + (parseInt(pre.getAttribute('data-start'), 10) - 1);
52401
+ }
52402
+
52403
+ env.element.appendChild(lineNumbersWrapper);
52404
+
52405
+ resizeElements([pre]);
52406
+
52407
+ Prism.hooks.run('line-numbers', env);
52408
+ });
52409
+
52410
+ Prism.hooks.add('line-numbers', function (env) {
52411
+ env.plugins = env.plugins || {};
52412
+ env.plugins.lineNumbers = true;
52413
+ });
52414
+
52415
+ }());
52416
+
52417
+
51625
52418
  /***/ }),
51626
52419
 
51627
52420
  /***/ "./node_modules/react-day-picker/dist/index.esm.js":
@@ -65479,6 +66272,34 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
65479
66272
 
65480
66273
  /***/ }),
65481
66274
 
66275
+ /***/ "./assets/icons/subitems.svg":
66276
+ /*!***********************************!*\
66277
+ !*** ./assets/icons/subitems.svg ***!
66278
+ \***********************************/
66279
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
66280
+
66281
+ "use strict";
66282
+ __webpack_require__.r(__webpack_exports__);
66283
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
66284
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
66285
+ /* harmony export */ });
66286
+ /* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/svg-baker-runtime/browser-symbol.js */ "./node_modules/svg-baker-runtime/browser-symbol.js");
66287
+ /* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
66288
+ /* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../node_modules/svg-sprite-loader/runtime/browser-sprite.build.js */ "./node_modules/svg-sprite-loader/runtime/browser-sprite.build.js");
66289
+ /* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__);
66290
+
66291
+
66292
+ var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default())({
66293
+ "id": "subitems_uikit_icon",
66294
+ "use": "subitems_uikit_icon-usage",
66295
+ "viewBox": "0 0 20 20",
66296
+ "content": "<symbol viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" id=\"subitems_uikit_icon\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.625 4.16699V10.417C3.625 12.5571 5.3599 14.292 7.5 14.292H11.7378C11.9762 15.18 12.7868 15.8337 13.75 15.8337C14.9006 15.8337 15.8334 14.9009 15.8334 13.7503C15.8334 12.5997 14.9006 11.667 13.75 11.667C12.7868 11.667 11.9762 12.3207 11.7378 13.2087H7.5C5.9582 13.2087 4.70833 11.9588 4.70833 10.417V8.16703L11.7757 8.16703C12.0537 8.99065 12.8326 9.58366 13.75 9.58366C14.9006 9.58366 15.8334 8.65092 15.8334 7.50033C15.8334 6.34973 14.9006 5.41699 13.75 5.41699C12.7421 5.41699 11.9014 6.13275 11.7084 7.0837L4.70833 7.0837V4.16699H3.625ZM14.75 7.50033C14.75 8.05261 14.3023 8.50033 13.75 8.50033C13.1977 8.50033 12.75 8.05261 12.75 7.50033C12.75 6.94804 13.1977 6.50033 13.75 6.50033C14.3023 6.50033 14.75 6.94804 14.75 7.50033ZM14.75 13.7503C14.75 14.3026 14.3023 14.7503 13.75 14.7503C13.1977 14.7503 12.75 14.3026 12.75 13.7503C12.75 13.198 13.1977 12.7503 13.75 12.7503C14.3023 12.7503 14.75 13.198 14.75 13.7503Z\" fill=\"currentColor\" /></symbol>"
66297
+ });
66298
+ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
66299
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
66300
+
66301
+ /***/ }),
66302
+
65482
66303
  /***/ "./assets/icons/subset.svg":
65483
66304
  /*!*********************************!*\
65484
66305
  !*** ./assets/icons/subset.svg ***!
@@ -77279,6 +78100,7 @@ __webpack_require__.r(__webpack_exports__);
77279
78100
  /* harmony export */ Progress: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Progress),
77280
78101
  /* harmony export */ ProgressBar: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.ProgressBar),
77281
78102
  /* harmony export */ RemovableTag: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.RemovableTag),
78103
+ /* harmony export */ Tab: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Tab),
77282
78104
  /* harmony export */ Table: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Table),
77283
78105
  /* harmony export */ TagGroup: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.TagGroup),
77284
78106
  /* harmony export */ Tooltip: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Tooltip),