1import { 2 ResponsiveMasonry_default, 3 StarIcon_default, 4 class_names_default, 5 es_default, 6 get_authors_default, 7 get_image_url_default, 8 get_tags_default, 9 require_prop_types, 10 to_safe_path_segment_default 11} from "/build/_shared/chunk-P4WFY3UR.js"; 12import { 13 require_react_dom 14} from "/build/_shared/chunk-VIU3M2OR.js"; 15import { 16 Link, 17 _extends, 18 init_esm, 19 init_extends, 20 useLocation, 21 useNavigate 22} from "/build/_shared/chunk-46RNFGVL.js"; 23import { 24 React, 25 __commonJS, 26 __esm, 27 __export, 28 __toCommonJS, 29 __toESM, 30 init_react, 31 require_react 32} from "/build/_shared/chunk-BNRLY3XL.js"; 33
vendor: 2,597 bytes, lines 34-97
34// node_modules/react-modal/lib/helpers/tabbable.js 35var require_tabbable = __commonJS({ 36 "node_modules/react-modal/lib/helpers/tabbable.js"(exports, module) { 37 "use strict"; 38 init_react(); 39 Object.defineProperty(exports, "__esModule", { 40 value: true 41 }); 42 exports.default = findTabbableDescendants; 43 var DISPLAY_NONE = "none"; 44 var DISPLAY_CONTENTS = "contents"; 45 var tabbableNode = /input|select|textarea|button|object|iframe/; 46 function isNotOverflowing(element, style) { 47 return style.getPropertyValue("overflow") !== "visible" || element.scrollWidth <= 0 && element.scrollHeight <= 0; 48 } 49 function hidesContents(element) { 50 var zeroSize = element.offsetWidth <= 0 && element.offsetHeight <= 0; 51 if (zeroSize && !element.innerHTML) 52 return true; 53 try { 54 var style = window.getComputedStyle(element); 55 var displayValue = style.getPropertyValue("display"); 56 return zeroSize ? displayValue !== DISPLAY_CONTENTS && isNotOverflowing(element, style) : displayValue === DISPLAY_NONE; 57 } catch (exception) { 58 console.warn("Failed to inspect element style"); 59 return false; 60 } 61 } 62 function visible(element) { 63 var parentElement = element; 64 var rootNode = element.getRootNode && element.getRootNode(); 65 while (parentElement) { 66 if (parentElement === document.body) 67 break; 68 if (rootNode && parentElement === rootNode) 69 parentElement = rootNode.host.parentNode; 70 if (hidesContents(parentElement)) 71 return false; 72 parentElement = parentElement.parentNode; 73 } 74 return true; 75 } 76 function focusable(element, isTabIndexNotNaN) { 77 var nodeName = element.nodeName.toLowerCase(); 78 var res = tabbableNode.test(nodeName) && !element.disabled || (nodeName === "a" ? element.href || isTabIndexNotNaN : isTabIndexNotNaN); 79 return res && visible(element); 80 } 81 function tabbable(element) { 82 var tabIndex = element.getAttribute("tabindex"); 83 if (tabIndex === null) 84 tabIndex = void 0; 85 var isTabIndexNaN = isNaN(tabIndex); 86 return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN); 87 } 88 function findTabbableDescendants(element) { 89 var descendants = [].slice.call(element.querySelectorAll("*"), 0).reduce(function(finished, el) { 90 return finished.concat(!el.shadowRoot ? [el] : findTabbableDescendants(el.shadowRoot)); 91 }, []); 92 return descendants.filter(tabbable); 93 } 94 module.exports = exports["default"]; 95 } 96}); 97
vendor: 3,180 bytes, lines 98-195
98// node_modules/react-modal/lib/helpers/focusManager.js 99var require_focusManager = __commonJS({ 100 "node_modules/react-modal/lib/helpers/focusManager.js"(exports) { 101 "use strict"; 102 init_react(); 103 Object.defineProperty(exports, "__esModule", { 104 value: true 105 }); 106 exports.resetState = resetState; 107 exports.log = log; 108 exports.handleBlur = handleBlur; 109 exports.handleFocus = handleFocus; 110 exports.markForFocusLater = markForFocusLater; 111 exports.returnFocus = returnFocus; 112 exports.popWithoutFocus = popWithoutFocus; 113 exports.setupScopedFocus = setupScopedFocus; 114 exports.teardownScopedFocus = teardownScopedFocus; 115 var _tabbable = require_tabbable(); 116 var _tabbable2 = _interopRequireDefault(_tabbable); 117 function _interopRequireDefault(obj) { 118 return obj && obj.__esModule ? obj : { default: obj }; 119 } 120 var focusLaterElements = []; 121 var modalElement = null; 122 var needToFocus = false; 123 function resetState() { 124 focusLaterElements = []; 125 } 126 function log() { 127 if (true) { 128 console.log("focusManager ----------"); 129 focusLaterElements.forEach(function(f2) { 130 var check = f2 || {}; 131 console.log(check.nodeName, check.className, check.id); 132 }); 133 console.log("end focusManager ----------"); 134 } 135 } 136 function handleBlur() { 137 needToFocus = true; 138 } 139 function handleFocus() { 140 if (needToFocus) { 141 needToFocus = false; 142 if (!modalElement) { 143 return; 144 } 145 setTimeout(function() { 146 if (modalElement.contains(document.activeElement)) { 147 return; 148 } 149 var el = (0, _tabbable2.default)(modalElement)[0] || modalElement; 150 el.focus(); 151 }, 0); 152 } 153 } 154 function markForFocusLater() { 155 focusLaterElements.push(document.activeElement); 156 } 157 function returnFocus() { 158 var preventScroll = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false; 159 var toFocus = null; 160 try { 161 if (focusLaterElements.length !== 0) { 162 toFocus = focusLaterElements.pop(); 163 toFocus.focus({ preventScroll }); 164 } 165 return; 166 } catch (e) { 167 console.warn(["You tried to return focus to", toFocus, "but it is not in the DOM anymore"].join(" ")); 168 } 169 } 170 function popWithoutFocus() { 171 focusLaterElements.length > 0 && focusLaterElements.pop(); 172 } 173 function setupScopedFocus(element) { 174 modalElement = element; 175 if (window.addEventListener) { 176 window.addEventListener("blur", handleBlur, false); 177 document.addEventListener("focus", handleFocus, true); 178 } else { 179 window.attachEvent("onBlur", handleBlur); 180 document.attachEvent("onFocus", handleFocus); 181 } 182 } 183 function teardownScopedFocus() { 184 modalElement = null; 185 if (window.addEventListener) { 186 window.removeEventListener("blur", handleBlur); 187 document.removeEventListener("focus", handleFocus); 188 } else { 189 window.detachEvent("onBlur", handleBlur); 190 document.detachEvent("onFocus", handleFocus); 191 } 192 } 193 } 194}); 195
vendor: 2,151 bytes, lines 196-262
196// node_modules/react-modal/lib/helpers/scopeTab.js 197var require_scopeTab = __commonJS({ 198 "node_modules/react-modal/lib/helpers/scopeTab.js"(exports, module) { 199 "use strict"; 200 init_react(); 201 Object.defineProperty(exports, "__esModule", { 202 value: true 203 }); 204 exports.default = scopeTab; 205 var _tabbable = require_tabbable(); 206 var _tabbable2 = _interopRequireDefault(_tabbable); 207 function _interopRequireDefault(obj) { 208 return obj && obj.__esModule ? obj : { default: obj }; 209 } 210 function getActiveElement() { 211 var el = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document; 212 return el.activeElement.shadowRoot ? getActiveElement(el.activeElement.shadowRoot) : el.activeElement; 213 } 214 function scopeTab(node, event) { 215 var tabbable = (0, _tabbable2.default)(node); 216 if (!tabbable.length) { 217 event.preventDefault(); 218 return; 219 } 220 var target = void 0; 221 var shiftKey = event.shiftKey; 222 var head = tabbable[0]; 223 var tail = tabbable[tabbable.length - 1]; 224 var activeElement = getActiveElement(); 225 if (node === activeElement) { 226 if (!shiftKey) 227 return; 228 target = tail; 229 } 230 if (tail === activeElement && !shiftKey) { 231 target = head; 232 } 233 if (head === activeElement && shiftKey) { 234 target = tail; 235 } 236 if (target) { 237 event.preventDefault(); 238 target.focus(); 239 return; 240 } 241 var checkSafari = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent); 242 var isSafariDesktop = checkSafari != null && checkSafari[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; 243 if (!isSafariDesktop) 244 return; 245 var x2 = tabbable.indexOf(activeElement); 246 if (x2 > -1) { 247 x2 += shiftKey ? -1 : 1; 248 } 249 target = tabbable[x2]; 250 if (typeof target === "undefined") { 251 event.preventDefault(); 252 target = shiftKey ? tail : head; 253 target.focus(); 254 return; 255 } 256 event.preventDefault(); 257 target.focus(); 258 } 259 module.exports = exports["default"]; 260 } 261}); 262
vendor: 1,364 bytes, lines 263-308
263// node_modules/warning/warning.js 264var require_warning = __commonJS({ 265 "node_modules/warning/warning.js"(exports, module) { 266 "use strict"; 267 init_react(); 268 var __DEV__ = true; 269 var warning = function() { 270 }; 271 if (__DEV__) { 272 printWarning = function printWarning2(format, args) { 273 var len = arguments.length; 274 args = new Array(len > 1 ? len - 1 : 0); 275 for (var key = 1; key < len; key++) { 276 args[key - 1] = arguments[key]; 277 } 278 var argIndex = 0; 279 var message = "Warning: " + format.replace(/%s/g, function() { 280 return args[argIndex++]; 281 }); 282 if (typeof console !== "undefined") { 283 console.error(message); 284 } 285 try { 286 throw new Error(message); 287 } catch (x2) { 288 } 289 }; 290 warning = function(condition, format, args) { 291 var len = arguments.length; 292 args = new Array(len > 2 ? len - 2 : 0); 293 for (var key = 2; key < len; key++) { 294 args[key - 2] = arguments[key]; 295 } 296 if (format === void 0) { 297 throw new Error("`warning(condition, format, ...args)` requires a warning message argument"); 298 } 299 if (!condition) { 300 printWarning.apply(null, [format].concat(args)); 301 } 302 }; 303 } 304 var printWarning; 305 module.exports = warning; 306 } 307}); 308
vendor: 945 bytes, lines 309-334
309// node_modules/exenv/index.js 310var require_exenv = __commonJS({ 311 "node_modules/exenv/index.js"(exports, module) { 312 init_react(); 313 (function() { 314 "use strict"; 315 var canUseDOM2 = !!(typeof window !== "undefined" && window.document && window.document.createElement); 316 var ExecutionEnvironment = { 317 canUseDOM: canUseDOM2, 318 canUseWorkers: typeof Worker !== "undefined", 319 canUseEventListeners: canUseDOM2 && !!(window.addEventListener || window.attachEvent), 320 canUseViewport: canUseDOM2 && !!window.screen 321 }; 322 if (typeof define === "function" && typeof define.amd === "object" && define.amd) { 323 define(function() { 324 return ExecutionEnvironment; 325 }); 326 } else if (typeof module !== "undefined" && module.exports) { 327 module.exports = ExecutionEnvironment; 328 } else { 329 window.ExecutionEnvironment = ExecutionEnvironment; 330 } 331 })(); 332 } 333}); 334
vendor: 947 bytes, lines 335-357
335// node_modules/react-modal/lib/helpers/safeHTMLElement.js 336var require_safeHTMLElement = __commonJS({ 337 "node_modules/react-modal/lib/helpers/safeHTMLElement.js"(exports) { 338 "use strict"; 339 init_react(); 340 Object.defineProperty(exports, "__esModule", { 341 value: true 342 }); 343 exports.canUseDOM = exports.SafeNodeList = exports.SafeHTMLCollection = void 0; 344 var _exenv = require_exenv(); 345 var _exenv2 = _interopRequireDefault(_exenv); 346 function _interopRequireDefault(obj) { 347 return obj && obj.__esModule ? obj : { default: obj }; 348 } 349 var EE = _exenv2.default; 350 var SafeHTMLElement = EE.canUseDOM ? window.HTMLElement : {}; 351 var SafeHTMLCollection = exports.SafeHTMLCollection = EE.canUseDOM ? window.HTMLCollection : {}; 352 var SafeNodeList = exports.SafeNodeList = EE.canUseDOM ? window.NodeList : {}; 353 var canUseDOM2 = exports.canUseDOM = EE.canUseDOM; 354 exports.default = SafeHTMLElement; 355 } 356}); 357
vendor: 4,498 bytes, lines 358-482
358// node_modules/react-modal/lib/helpers/ariaAppHider.js 359var require_ariaAppHider = __commonJS({ 360 "node_modules/react-modal/lib/helpers/ariaAppHider.js"(exports) { 361 "use strict"; 362 init_react(); 363 Object.defineProperty(exports, "__esModule", { 364 value: true 365 }); 366 exports.resetState = resetState; 367 exports.log = log; 368 exports.assertNodeList = assertNodeList; 369 exports.setElement = setElement; 370 exports.validateElement = validateElement; 371 exports.hide = hide; 372 exports.show = show; 373 exports.documentNotReadyOrSSRTesting = documentNotReadyOrSSRTesting; 374 var _warning = require_warning(); 375 var _warning2 = _interopRequireDefault(_warning); 376 var _safeHTMLElement = require_safeHTMLElement(); 377 function _interopRequireDefault(obj) { 378 return obj && obj.__esModule ? obj : { default: obj }; 379 } 380 var globalElement = null; 381 function resetState() { 382 if (globalElement) { 383 if (globalElement.removeAttribute) { 384 globalElement.removeAttribute("aria-hidden"); 385 } else if (globalElement.length != null) { 386 globalElement.forEach(function(element) { 387 return element.removeAttribute("aria-hidden"); 388 }); 389 } else { 390 document.querySelectorAll(globalElement).forEach(function(element) { 391 return element.removeAttribute("aria-hidden"); 392 }); 393 } 394 } 395 globalElement = null; 396 } 397 function log() { 398 if (true) { 399 var check = globalElement || {}; 400 console.log("ariaAppHider ----------"); 401 console.log(check.nodeName, check.className, check.id); 402 console.log("end ariaAppHider ----------"); 403 } 404 } 405 function assertNodeList(nodeList, selector) { 406 if (!nodeList || !nodeList.length) { 407 throw new Error("react-modal: No elements were found for selector " + selector + "."); 408 } 409 } 410 function setElement(element) { 411 var useElement = element; 412 if (typeof useElement === "string" && _safeHTMLElement.canUseDOM) { 413 var el = document.querySelectorAll(useElement); 414 assertNodeList(el, useElement); 415 useElement = el; 416 } 417 globalElement = useElement || globalElement; 418 return globalElement; 419 } 420 function validateElement(appElement) { 421 var el = appElement || globalElement; 422 if (el) { 423 return Array.isArray(el) || el instanceof HTMLCollection || el instanceof NodeList ? el : [el]; 424 } else { 425 (0, _warning2.default)(false, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")); 426 return []; 427 } 428 } 429 function hide(appElement) { 430 var _iteratorNormalCompletion = true; 431 var _didIteratorError = false; 432 var _iteratorError = void 0; 433 try { 434 for (var _iterator = validateElement(appElement)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { 435 var el = _step.value; 436 el.setAttribute("aria-hidden", "true"); 437 } 438 } catch (err) { 439 _didIteratorError = true; 440 _iteratorError = err; 441 } finally { 442 try { 443 if (!_iteratorNormalCompletion && _iterator.return) { 444 _iterator.return(); 445 } 446 } finally { 447 if (_didIteratorError) { 448 throw _iteratorError; 449 } 450 } 451 } 452 } 453 function show(appElement) { 454 var _iteratorNormalCompletion2 = true; 455 var _didIteratorError2 = false; 456 var _iteratorError2 = void 0; 457 try { 458 for (var _iterator2 = validateElement(appElement)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) { 459 var el = _step2.value; 460 el.removeAttribute("aria-hidden"); 461 } 462 } catch (err) { 463 _didIteratorError2 = true; 464 _iteratorError2 = err; 465 } finally { 466 try { 467 if (!_iteratorNormalCompletion2 && _iterator2.return) { 468 _iterator2.return(); 469 } 470 } finally { 471 if (_didIteratorError2) { 472 throw _iteratorError2; 473 } 474 } 475 } 476 } 477 function documentNotReadyOrSSRTesting() { 478 globalElement = null; 479 } 480 } 481}); 482
vendor: 2,770 bytes, lines 483-560
483// node_modules/react-modal/lib/helpers/classList.js 484var require_classList = __commonJS({ 485 "node_modules/react-modal/lib/helpers/classList.js"(exports) { 486 "use strict"; 487 init_react(); 488 Object.defineProperty(exports, "__esModule", { 489 value: true 490 }); 491 exports.resetState = resetState; 492 exports.log = log; 493 var htmlClassList = {}; 494 var docBodyClassList = {}; 495 function removeClass(at, cls) { 496 at.classList.remove(cls); 497 } 498 function resetState() { 499 var htmlElement = document.getElementsByTagName("html")[0]; 500 for (var cls in htmlClassList) { 501 removeClass(htmlElement, htmlClassList[cls]); 502 } 503 var body = document.body; 504 for (var _cls in docBodyClassList) { 505 removeClass(body, docBodyClassList[_cls]); 506 } 507 htmlClassList = {}; 508 docBodyClassList = {}; 509 } 510 function log() { 511 if (true) { 512 var classes = document.getElementsByTagName("html")[0].className; 513 var buffer = "Show tracked classes:\n\n"; 514 buffer += "<html /> (" + classes + "):\n "; 515 for (var x2 in htmlClassList) { 516 buffer += " " + x2 + " " + htmlClassList[x2] + "\n "; 517 } 518 classes = document.body.className; 519 buffer += "\n\ndoc.body (" + classes + "):\n "; 520 for (var _x in docBodyClassList) { 521 buffer += " " + _x + " " + docBodyClassList[_x] + "\n "; 522 } 523 buffer += "\n"; 524 console.log(buffer); 525 } 526 } 527 var incrementReference = function incrementReference2(poll, className) { 528 if (!poll[className]) { 529 poll[className] = 0; 530 } 531 poll[className] += 1; 532 return className; 533 }; 534 var decrementReference = function decrementReference2(poll, className) { 535 if (poll[className]) { 536 poll[className] -= 1; 537 } 538 return className; 539 }; 540 var trackClass = function trackClass2(classListRef, poll, classes) { 541 classes.forEach(function(className) { 542 incrementReference(poll, className); 543 classListRef.add(className); 544 }); 545 }; 546 var untrackClass = function untrackClass2(classListRef, poll, classes) { 547 classes.forEach(function(className) { 548 decrementReference(poll, className); 549 poll[className] === 0 && classListRef.remove(className); 550 }); 551 }; 552 var add = exports.add = function add2(element, classString) { 553 return trackClass(element.classList, element.nodeName.toLowerCase() == "html" ? htmlClassList : docBodyClassList, classString.split(" ")); 554 }; 555 var remove = exports.remove = function remove2(element, classString) { 556 return untrackClass(element.classList, element.nodeName.toLowerCase() == "html" ? htmlClassList : docBodyClassList, classString.split(" ")); 557 }; 558 } 559}); 560
vendor: 2,291 bytes, lines 561-626
561// node_modules/react-modal/lib/helpers/portalOpenInstances.js 562var require_portalOpenInstances = __commonJS({ 563 "node_modules/react-modal/lib/helpers/portalOpenInstances.js"(exports) { 564 "use strict"; 565 init_react(); 566 Object.defineProperty(exports, "__esModule", { 567 value: true 568 }); 569 exports.log = log; 570 exports.resetState = resetState; 571 function _classCallCheck2(instance, Constructor) { 572 if (!(instance instanceof Constructor)) { 573 throw new TypeError("Cannot call a class as a function"); 574 } 575 } 576 var PortalOpenInstances = function PortalOpenInstances2() { 577 var _this = this; 578 _classCallCheck2(this, PortalOpenInstances2); 579 this.register = function(openInstance) { 580 if (_this.openInstances.indexOf(openInstance) !== -1) { 581 if (true) { 582 console.warn("React-Modal: Cannot register modal instance that's already open"); 583 } 584 return; 585 } 586 _this.openInstances.push(openInstance); 587 _this.emit("register"); 588 }; 589 this.deregister = function(openInstance) { 590 var index2 = _this.openInstances.indexOf(openInstance); 591 if (index2 === -1) { 592 if (true) { 593 console.warn("React-Modal: Unable to deregister " + openInstance + " as it was never registered"); 594 } 595 return; 596 } 597 _this.openInstances.splice(index2, 1); 598 _this.emit("deregister"); 599 }; 600 this.subscribe = function(callback) { 601 _this.subscribers.push(callback); 602 }; 603 this.emit = function(eventType) { 604 _this.subscribers.forEach(function(subscriber) { 605 return subscriber(eventType, _this.openInstances.slice()); 606 }); 607 }; 608 this.openInstances = []; 609 this.subscribers = []; 610 }; 611 var portalOpenInstances = new PortalOpenInstances(); 612 function log() { 613 console.log("portalOpenInstances ----------"); 614 console.log(portalOpenInstances.openInstances.length); 615 portalOpenInstances.openInstances.forEach(function(p2) { 616 return console.log(p2); 617 }); 618 console.log("end portalOpenInstances ----------"); 619 } 620 function resetState() { 621 portalOpenInstances = new PortalOpenInstances(); 622 } 623 exports.default = portalOpenInstances; 624 } 625}); 626
vendor: 2,639 bytes, lines 627-707
627// node_modules/react-modal/lib/helpers/bodyTrap.js 628var require_bodyTrap = __commonJS({ 629 "node_modules/react-modal/lib/helpers/bodyTrap.js"(exports) { 630 "use strict"; 631 init_react(); 632 Object.defineProperty(exports, "__esModule", { 633 value: true 634 }); 635 exports.resetState = resetState; 636 exports.log = log; 637 var _portalOpenInstances = require_portalOpenInstances(); 638 var _portalOpenInstances2 = _interopRequireDefault(_portalOpenInstances); 639 function _interopRequireDefault(obj) { 640 return obj && obj.__esModule ? obj : { default: obj }; 641 } 642 var before = void 0; 643 var after = void 0; 644 var instances = []; 645 function resetState() { 646 var _arr = [before, after]; 647 for (var _i = 0; _i < _arr.length; _i++) { 648 var item = _arr[_i]; 649 if (!item) 650 continue; 651 item.parentNode && item.parentNode.removeChild(item); 652 } 653 before = after = null; 654 instances = []; 655 } 656 function log() { 657 console.log("bodyTrap ----------"); 658 console.log(instances.length); 659 var _arr2 = [before, after]; 660 for (var _i2 = 0; _i2 < _arr2.length; _i2++) { 661 var item = _arr2[_i2]; 662 var check = item || {}; 663 console.log(check.nodeName, check.className, check.id); 664 } 665 console.log("edn bodyTrap ----------"); 666 } 667 function focusContent() { 668 if (instances.length === 0) { 669 if (true) { 670 console.warn("React-Modal: Open instances > 0 expected"); 671 } 672 return; 673 } 674 instances[instances.length - 1].focusContent(); 675 } 676 function bodyTrap(eventType, openInstances) { 677 if (!before && !after) { 678 before = document.createElement("div"); 679 before.setAttribute("data-react-modal-body-trap", ""); 680 before.style.position = "absolute"; 681 before.style.opacity = "0"; 682 before.setAttribute("tabindex", "0"); 683 before.addEventListener("focus", focusContent); 684 after = before.cloneNode(); 685 after.addEventListener("focus", focusContent); 686 } 687 instances = openInstances; 688 if (instances.length > 0) { 689 if (document.body.firstChild !== before) { 690 document.body.insertBefore(before, document.body.firstChild); 691 } 692 if (document.body.lastChild !== after) { 693 document.body.appendChild(after); 694 } 695 } else { 696 if (before.parentElement) { 697 before.parentElement.removeChild(before); 698 } 699 if (after.parentElement) { 700 after.parentElement.removeChild(after); 701 } 702 } 703 } 704 _portalOpenInstances2.default.subscribe(bodyTrap); 705 } 706}); 707
vendor: 17,437 bytes, lines 708-1111
708// node_modules/react-modal/lib/components/ModalPortal.js 709var require_ModalPortal = __commonJS({ 710 "node_modules/react-modal/lib/components/ModalPortal.js"(exports, module) { 711 "use strict"; 712 init_react(); 713 Object.defineProperty(exports, "__esModule", { 714 value: true 715 }); 716 var _extends2 = Object.assign || function(target) { 717 for (var i2 = 1; i2 < arguments.length; i2++) { 718 var source = arguments[i2]; 719 for (var key in source) { 720 if (Object.prototype.hasOwnProperty.call(source, key)) { 721 target[key] = source[key]; 722 } 723 } 724 } 725 return target; 726 }; 727 var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) { 728 return typeof obj; 729 } : function(obj) { 730 return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; 731 }; 732 var _createClass2 = function() { 733 function defineProperties(target, props) { 734 for (var i2 = 0; i2 < props.length; i2++) { 735 var descriptor = props[i2]; 736 descriptor.enumerable = descriptor.enumerable || false; 737 descriptor.configurable = true; 738 if ("value" in descriptor) 739 descriptor.writable = true; 740 Object.defineProperty(target, descriptor.key, descriptor); 741 } 742 } 743 return function(Constructor, protoProps, staticProps) { 744 if (protoProps) 745 defineProperties(Constructor.prototype, protoProps); 746 if (staticProps) 747 defineProperties(Constructor, staticProps); 748 return Constructor; 749 }; 750 }(); 751 var _react = require_react(); 752 var _propTypes = require_prop_types(); 753 var _propTypes2 = _interopRequireDefault(_propTypes); 754 var _focusManager = require_focusManager(); 755 var focusManager = _interopRequireWildcard(_focusManager); 756 var _scopeTab = require_scopeTab(); 757 var _scopeTab2 = _interopRequireDefault(_scopeTab); 758 var _ariaAppHider = require_ariaAppHider(); 759 var ariaAppHider = _interopRequireWildcard(_ariaAppHider); 760 var _classList = require_classList(); 761 var classList = _interopRequireWildcard(_classList); 762 var _safeHTMLElement = require_safeHTMLElement(); 763 var _safeHTMLElement2 = _interopRequireDefault(_safeHTMLElement); 764 var _portalOpenInstances = require_portalOpenInstances(); 765 var _portalOpenInstances2 = _interopRequireDefault(_portalOpenInstances); 766 require_bodyTrap(); 767 function _interopRequireWildcard(obj) { 768 if (obj && obj.__esModule) { 769 return obj; 770 } else { 771 var newObj = {}; 772 if (obj != null) { 773 for (var key in obj) { 774 if (Object.prototype.hasOwnProperty.call(obj, key)) 775 newObj[key] = obj[key]; 776 } 777 } 778 newObj.default = obj; 779 return newObj; 780 } 781 } 782 function _interopRequireDefault(obj) { 783 return obj && obj.__esModule ? obj : { default: obj }; 784 } 785 function _classCallCheck2(instance, Constructor) { 786 if (!(instance instanceof Constructor)) { 787 throw new TypeError("Cannot call a class as a function"); 788 } 789 } 790 function _possibleConstructorReturn2(self2, call) { 791 if (!self2) { 792 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 793 } 794 return call && (typeof call === "object" || typeof call === "function") ? call : self2; 795 } 796 function _inherits2(subClass, superClass) { 797 if (typeof superClass !== "function" && superClass !== null) { 798 throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); 799 } 800 subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); 801 if (superClass) 802 Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; 803 } 804 var CLASS_NAMES = { 805 overlay: "ReactModal__Overlay", 806 content: "ReactModal__Content" 807 }; 808 var isTabKey = function isTabKey2(event) { 809 return event.code === "Tab" || event.keyCode === 9; 810 }; 811 var isEscKey = function isEscKey2(event) { 812 return event.code === "Escape" || event.keyCode === 27; 813 }; 814 var ariaHiddenInstances = 0; 815 var ModalPortal = function(_Component) { 816 _inherits2(ModalPortal2, _Component); 817 function ModalPortal2(props) { 818 _classCallCheck2(this, ModalPortal2); 819 var _this = _possibleConstructorReturn2(this, (ModalPortal2.__proto__ || Object.getPrototypeOf(ModalPortal2)).call(this, props)); 820 _this.setOverlayRef = function(overlay) { 821 _this.overlay = overlay; 822 _this.props.overlayRef && _this.props.overlayRef(overlay); 823 }; 824 _this.setContentRef = function(content) { 825 _this.content = content; 826 _this.props.contentRef && _this.props.contentRef(content); 827 }; 828 _this.afterClose = function() { 829 var _this$props = _this.props, appElement = _this$props.appElement, ariaHideApp = _this$props.ariaHideApp, htmlOpenClassName = _this$props.htmlOpenClassName, bodyOpenClassName = _this$props.bodyOpenClassName, parentSelector = _this$props.parentSelector; 830 var parentDocument = parentSelector && parentSelector().ownerDocument || document; 831 bodyOpenClassName && classList.remove(parentDocument.body, bodyOpenClassName); 832 htmlOpenClassName && classList.remove(parentDocument.getElementsByTagName("html")[0], htmlOpenClassName); 833 if (ariaHideApp && ariaHiddenInstances > 0) { 834 ariaHiddenInstances -= 1; 835 if (ariaHiddenInstances === 0) { 836 ariaAppHider.show(appElement); 837 } 838 } 839 if (_this.props.shouldFocusAfterRender) { 840 if (_this.props.shouldReturnFocusAfterClose) { 841 focusManager.returnFocus(_this.props.preventScroll); 842 focusManager.teardownScopedFocus(); 843 } else { 844 focusManager.popWithoutFocus(); 845 } 846 } 847 if (_this.props.onAfterClose) { 848 _this.props.onAfterClose(); 849 } 850 _portalOpenInstances2.default.deregister(_this); 851 }; 852 _this.open = function() { 853 _this.beforeOpen(); 854 if (_this.state.afterOpen && _this.state.beforeClose) { 855 clearTimeout(_this.closeTimer); 856 _this.setState({ beforeClose: false }); 857 } else { 858 if (_this.props.shouldFocusAfterRender) { 859 focusManager.setupScopedFocus(_this.node); 860 focusManager.markForFocusLater(); 861 } 862 _this.setState({ isOpen: true }, function() { 863 _this.openAnimationFrame = requestAnimationFrame(function() { 864 _this.setState({ afterOpen: true }); 865 if (_this.props.isOpen && _this.props.onAfterOpen) { 866 _this.props.onAfterOpen({ 867 overlayEl: _this.overlay, 868 contentEl: _this.content 869 }); 870 } 871 }); 872 }); 873 } 874 }; 875 _this.close = function() { 876 if (_this.props.closeTimeoutMS > 0) { 877 _this.closeWithTimeout(); 878 } else { 879 _this.closeWithoutTimeout(); 880 } 881 }; 882 _this.focusContent = function() { 883 return _this.content && !_this.contentHasFocus() && _this.content.focus({ preventScroll: true }); 884 }; 885 _this.closeWithTimeout = function() { 886 var closesAt = Date.now() + _this.props.closeTimeoutMS; 887 _this.setState({ beforeClose: true, closesAt }, function() { 888 _this.closeTimer = setTimeout(_this.closeWithoutTimeout, _this.state.closesAt - Date.now()); 889 }); 890 }; 891 _this.closeWithoutTimeout = function() { 892 _this.setState({ 893 beforeClose: false, 894 isOpen: false, 895 afterOpen: false, 896 closesAt: null 897 }, _this.afterClose); 898 }; 899 _this.handleKeyDown = function(event) { 900 if (isTabKey(event)) { 901 (0, _scopeTab2.default)(_this.content, event); 902 } 903 if (_this.props.shouldCloseOnEsc && isEscKey(event)) { 904 event.stopPropagation(); 905 _this.requestClose(event); 906 } 907 }; 908 _this.handleOverlayOnClick = function(event) { 909 if (_this.shouldClose === null) { 910 _this.shouldClose = true; 911 } 912 if (_this.shouldClose && _this.props.shouldCloseOnOverlayClick) { 913 if (_this.ownerHandlesClose()) { 914 _this.requestClose(event); 915 } else { 916 _this.focusContent(); 917 } 918 } 919 _this.shouldClose = null; 920 }; 921 _this.handleContentOnMouseUp = function() { 922 _this.shouldClose = false; 923 }; 924 _this.handleOverlayOnMouseDown = function(event) { 925 if (!_this.props.shouldCloseOnOverlayClick && event.target == _this.overlay) { 926 event.preventDefault(); 927 } 928 }; 929 _this.handleContentOnClick = function() { 930 _this.shouldClose = false; 931 }; 932 _this.handleContentOnMouseDown = function() { 933 _this.shouldClose = false; 934 }; 935 _this.requestClose = function(event) { 936 return _this.ownerHandlesClose() && _this.props.onRequestClose(event); 937 }; 938 _this.ownerHandlesClose = function() { 939 return _this.props.onRequestClose; 940 }; 941 _this.shouldBeClosed = function() { 942 return !_this.state.isOpen && !_this.state.beforeClose; 943 }; 944 _this.contentHasFocus = function() { 945 return document.activeElement === _this.content || _this.content.contains(document.activeElement); 946 }; 947 _this.buildClassName = function(which, additional) { 948 var classNames2 = (typeof additional === "undefined" ? "undefined" : _typeof2(additional)) === "object" ? additional : { 949 base: CLASS_NAMES[which], 950 afterOpen: CLASS_NAMES[which] + "--after-open", 951 beforeClose: CLASS_NAMES[which] + "--before-close" 952 }; 953 var className = classNames2.base; 954 if (_this.state.afterOpen) { 955 className = className + " " + classNames2.afterOpen; 956 } 957 if (_this.state.beforeClose) { 958 className = className + " " + classNames2.beforeClose; 959 } 960 return typeof additional === "string" && additional ? className + " " + additional : className; 961 }; 962 _this.attributesFromObject = function(prefix, items) { 963 return Object.keys(items).reduce(function(acc, name) { 964 acc[prefix + "-" + name] = items[name]; 965 return acc; 966 }, {}); 967 }; 968 _this.state = { 969 afterOpen: false, 970 beforeClose: false 971 }; 972 _this.shouldClose = null; 973 _this.moveFromContentToOverlay = null; 974 return _this; 975 } 976 _createClass2(ModalPortal2, [{ 977 key: "componentDidMount", 978 value: function componentDidMount() { 979 if (this.props.isOpen) { 980 this.open(); 981 } 982 } 983 }, { 984 key: "componentDidUpdate", 985 value: function componentDidUpdate(prevProps, prevState) { 986 if (true) { 987 if (prevProps.bodyOpenClassName !== this.props.bodyOpenClassName) { 988 console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'); 989 } 990 if (prevProps.htmlOpenClassName !== this.props.htmlOpenClassName) { 991 console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'); 992 } 993 } 994 if (this.props.isOpen && !prevProps.isOpen) { 995 this.open(); 996 } else if (!this.props.isOpen && prevProps.isOpen) { 997 this.close(); 998 } 999 if (this.props.shouldFocusAfterRender && this.state.isOpen && !prevState.isOpen) { 1000 this.focusContent(); 1001 } 1002 } 1003 }, { 1004 key: "componentWillUnmount", 1005 value: function componentWillUnmount() { 1006 if (this.state.isOpen) { 1007 this.afterClose(); 1008 } 1009 clearTimeout(this.closeTimer); 1010 cancelAnimationFrame(this.openAnimationFrame); 1011 } 1012 }, { 1013 key: "beforeOpen", 1014 value: function beforeOpen() { 1015 var _props = this.props, appElement = _props.appElement, ariaHideApp = _props.ariaHideApp, htmlOpenClassName = _props.htmlOpenClassName, bodyOpenClassName = _props.bodyOpenClassName, parentSelector = _props.parentSelector; 1016 var parentDocument = parentSelector && parentSelector().ownerDocument || document; 1017 bodyOpenClassName && classList.add(parentDocument.body, bodyOpenClassName); 1018 htmlOpenClassName && classList.add(parentDocument.getElementsByTagName("html")[0], htmlOpenClassName); 1019 if (ariaHideApp) { 1020 ariaHiddenInstances += 1; 1021 ariaAppHider.hide(appElement); 1022 } 1023 _portalOpenInstances2.default.register(this); 1024 } 1025 }, { 1026 key: "render", 1027 value: function render() { 1028 var _props2 = this.props, id = _props2.id, className = _props2.className, overlayClassName = _props2.overlayClassName, defaultStyles2 = _props2.defaultStyles, children = _props2.children; 1029 var contentStyles = className ? {} : defaultStyles2.content; 1030 var overlayStyles = overlayClassName ? {} : defaultStyles2.overlay; 1031 if (this.shouldBeClosed()) { 1032 return null; 1033 } 1034 var overlayProps = { 1035 ref: this.setOverlayRef, 1036 className: this.buildClassName("overlay", overlayClassName), 1037 style: _extends2({}, overlayStyles, this.props.style.overlay), 1038 onClick: this.handleOverlayOnClick, 1039 onMouseDown: this.handleOverlayOnMouseDown 1040 }; 1041 var contentProps = _extends2({ 1042 id, 1043 ref: this.setContentRef, 1044 style: _extends2({}, contentStyles, this.props.style.content), 1045 className: this.buildClassName("content", className), 1046 tabIndex: "-1", 1047 onKeyDown: this.handleKeyDown, 1048 onMouseDown: this.handleContentOnMouseDown, 1049 onMouseUp: this.handleContentOnMouseUp, 1050 onClick: this.handleContentOnClick, 1051 role: this.props.role, 1052 "aria-label": this.props.contentLabel 1053 }, this.attributesFromObject("aria", _extends2({ modal: true }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { 1054 "data-testid": this.props.testId 1055 }); 1056 var contentElement = this.props.contentElement(contentProps, children); 1057 return this.props.overlayElement(overlayProps, contentElement); 1058 } 1059 }]); 1060 return ModalPortal2; 1061 }(_react.Component); 1062 ModalPortal.defaultProps = { 1063 style: { 1064 overlay: {}, 1065 content: {} 1066 }, 1067 defaultStyles: {} 1068 }; 1069 ModalPortal.propTypes = { 1070 isOpen: _propTypes2.default.bool.isRequired, 1071 defaultStyles: _propTypes2.default.shape({ 1072 content: _propTypes2.default.object, 1073 overlay: _propTypes2.default.object 1074 }), 1075 style: _propTypes2.default.shape({ 1076 content: _propTypes2.default.object, 1077 overlay: _propTypes2.default.object 1078 }), 1079 className: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]), 1080 overlayClassName: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]), 1081 parentSelector: _propTypes2.default.func, 1082 bodyOpenClassName: _propTypes2.default.string, 1083 htmlOpenClassName: _propTypes2.default.string, 1084 ariaHideApp: _propTypes2.default.bool, 1085 appElement: _propTypes2.default.oneOfType([_propTypes2.default.instanceOf(_safeHTMLElement2.default), _propTypes2.default.instanceOf(_safeHTMLElement.SafeHTMLCollection), _propTypes2.default.instanceOf(_safeHTMLElement.SafeNodeList), _propTypes2.default.arrayOf(_propTypes2.default.instanceOf(_safeHTMLElement2.default))]), 1086 onAfterOpen: _propTypes2.default.func, 1087 onAfterClose: _propTypes2.default.func, 1088 onRequestClose: _propTypes2.default.func, 1089 closeTimeoutMS: _propTypes2.default.number, 1090 shouldFocusAfterRender: _propTypes2.default.bool, 1091 shouldCloseOnOverlayClick: _propTypes2.default.bool, 1092 shouldReturnFocusAfterClose: _propTypes2.default.bool, 1093 preventScroll: _propTypes2.default.bool, 1094 role: _propTypes2.default.string, 1095 contentLabel: _propTypes2.default.string, 1096 aria: _propTypes2.default.object, 1097 data: _propTypes2.default.object, 1098 children: _propTypes2.default.node, 1099 shouldCloseOnEsc: _propTypes2.default.bool, 1100 overlayRef: _propTypes2.default.func, 1101 contentRef: _propTypes2.default.func, 1102 id: _propTypes2.default.string, 1103 overlayElement: _propTypes2.default.func, 1104 contentElement: _propTypes2.default.func, 1105 testId: _propTypes2.default.string 1106 }; 1107 exports.default = ModalPortal; 1108 module.exports = exports["default"]; 1109 } 1110}); 1111
vendor: 4,361 bytes, lines 1112-1199
1112// node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js 1113var react_lifecycles_compat_es_exports = {}; 1114__export(react_lifecycles_compat_es_exports, { 1115 polyfill: () => polyfill 1116}); 1117function componentWillMount() { 1118 var state = this.constructor.getDerivedStateFromProps(this.props, this.state); 1119 if (state !== null && state !== void 0) { 1120 this.setState(state); 1121 } 1122} 1123function componentWillReceiveProps(nextProps) { 1124 function updater(prevState) { 1125 var state = this.constructor.getDerivedStateFromProps(nextProps, prevState); 1126 return state !== null && state !== void 0 ? state : null; 1127 } 1128 this.setState(updater.bind(this)); 1129} 1130function componentWillUpdate(nextProps, nextState) { 1131 try { 1132 var prevProps = this.props; 1133 var prevState = this.state; 1134 this.props = nextProps; 1135 this.state = nextState; 1136 this.__reactInternalSnapshotFlag = true; 1137 this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(prevProps, prevState); 1138 } finally { 1139 this.props = prevProps; 1140 this.state = prevState; 1141 } 1142} 1143function polyfill(Component4) { 1144 var prototype = Component4.prototype; 1145 if (!prototype || !prototype.isReactComponent) { 1146 throw new Error("Can only polyfill class components"); 1147 } 1148 if (typeof Component4.getDerivedStateFromProps !== "function" && typeof prototype.getSnapshotBeforeUpdate !== "function") { 1149 return Component4; 1150 } 1151 var foundWillMountName = null; 1152 var foundWillReceivePropsName = null; 1153 var foundWillUpdateName = null; 1154 if (typeof prototype.componentWillMount === "function") { 1155 foundWillMountName = "componentWillMount"; 1156 } else if (typeof prototype.UNSAFE_componentWillMount === "function") { 1157 foundWillMountName = "UNSAFE_componentWillMount"; 1158 } 1159 if (typeof prototype.componentWillReceiveProps === "function") { 1160 foundWillReceivePropsName = "componentWillReceiveProps"; 1161 } else if (typeof prototype.UNSAFE_componentWillReceiveProps === "function") { 1162 foundWillReceivePropsName = "UNSAFE_componentWillReceiveProps"; 1163 } 1164 if (typeof prototype.componentWillUpdate === "function") { 1165 foundWillUpdateName = "componentWillUpdate"; 1166 } else if (typeof prototype.UNSAFE_componentWillUpdate === "function") { 1167 foundWillUpdateName = "UNSAFE_componentWillUpdate"; 1168 } 1169 if (foundWillMountName !== null || foundWillReceivePropsName !== null || foundWillUpdateName !== null) { 1170 var componentName = Component4.displayName || Component4.name; 1171 var newApiName = typeof Component4.getDerivedStateFromProps === "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()"; 1172 throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" + componentName + " uses " + newApiName + " but also contains the following legacy lifecycles:" + (foundWillMountName !== null ? "\n " + foundWillMountName : "") + (foundWillReceivePropsName !== null ? "\n " + foundWillReceivePropsName : "") + (foundWillUpdateName !== null ? "\n " + foundWillUpdateName : "") + "\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks"); 1173 } 1174 if (typeof Component4.getDerivedStateFromProps === "function") { 1175 prototype.componentWillMount = componentWillMount; 1176 prototype.componentWillReceiveProps = componentWillReceiveProps; 1177 } 1178 if (typeof prototype.getSnapshotBeforeUpdate === "function") { 1179 if (typeof prototype.componentDidUpdate !== "function") { 1180 throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype"); 1181 } 1182 prototype.componentWillUpdate = componentWillUpdate; 1183 var componentDidUpdate = prototype.componentDidUpdate; 1184 prototype.componentDidUpdate = function componentDidUpdatePolyfill(prevProps, prevState, maybeSnapshot) { 1185 var snapshot = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : maybeSnapshot; 1186 componentDidUpdate.call(this, prevProps, prevState, snapshot); 1187 }; 1188 } 1189 return Component4; 1190} 1191var init_react_lifecycles_compat_es = __esm({ 1192 "node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js"() { 1193 init_react(); 1194 componentWillMount.__suppressDeprecationWarning = true; 1195 componentWillReceiveProps.__suppressDeprecationWarning = true; 1196 componentWillUpdate.__suppressDeprecationWarning = true; 1197 } 1198}); 1199
vendor: 12,380 bytes, lines 1200-1499
1200// node_modules/react-modal/lib/components/Modal.js 1201var require_Modal = __commonJS({ 1202 "node_modules/react-modal/lib/components/Modal.js"(exports) { 1203 "use strict"; 1204 init_react(); 1205 Object.defineProperty(exports, "__esModule", { 1206 value: true 1207 }); 1208 exports.bodyOpenClassName = exports.portalClassName = void 0; 1209 var _extends2 = Object.assign || function(target) { 1210 for (var i2 = 1; i2 < arguments.length; i2++) { 1211 var source = arguments[i2]; 1212 for (var key in source) { 1213 if (Object.prototype.hasOwnProperty.call(source, key)) { 1214 target[key] = source[key]; 1215 } 1216 } 1217 } 1218 return target; 1219 }; 1220 var _createClass2 = function() { 1221 function defineProperties(target, props) { 1222 for (var i2 = 0; i2 < props.length; i2++) { 1223 var descriptor = props[i2]; 1224 descriptor.enumerable = descriptor.enumerable || false; 1225 descriptor.configurable = true; 1226 if ("value" in descriptor) 1227 descriptor.writable = true; 1228 Object.defineProperty(target, descriptor.key, descriptor); 1229 } 1230 } 1231 return function(Constructor, protoProps, staticProps) { 1232 if (protoProps) 1233 defineProperties(Constructor.prototype, protoProps); 1234 if (staticProps) 1235 defineProperties(Constructor, staticProps); 1236 return Constructor; 1237 }; 1238 }(); 1239 var _react = require_react(); 1240 var _react2 = _interopRequireDefault(_react); 1241 var _reactDom = require_react_dom(); 1242 var _reactDom2 = _interopRequireDefault(_reactDom); 1243 var _propTypes = require_prop_types(); 1244 var _propTypes2 = _interopRequireDefault(_propTypes); 1245 var _ModalPortal = require_ModalPortal(); 1246 var _ModalPortal2 = _interopRequireDefault(_ModalPortal); 1247 var _ariaAppHider = require_ariaAppHider(); 1248 var ariaAppHider = _interopRequireWildcard(_ariaAppHider); 1249 var _safeHTMLElement = require_safeHTMLElement(); 1250 var _safeHTMLElement2 = _interopRequireDefault(_safeHTMLElement); 1251 var _reactLifecyclesCompat = (init_react_lifecycles_compat_es(), __toCommonJS(react_lifecycles_compat_es_exports)); 1252 function _interopRequireWildcard(obj) { 1253 if (obj && obj.__esModule) { 1254 return obj; 1255 } else { 1256 var newObj = {}; 1257 if (obj != null) { 1258 for (var key in obj) { 1259 if (Object.prototype.hasOwnProperty.call(obj, key)) 1260 newObj[key] = obj[key]; 1261 } 1262 } 1263 newObj.default = obj; 1264 return newObj; 1265 } 1266 } 1267 function _interopRequireDefault(obj) { 1268 return obj && obj.__esModule ? obj : { default: obj }; 1269 } 1270 function _classCallCheck2(instance, Constructor) { 1271 if (!(instance instanceof Constructor)) { 1272 throw new TypeError("Cannot call a class as a function"); 1273 } 1274 } 1275 function _possibleConstructorReturn2(self2, call) { 1276 if (!self2) { 1277 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 1278 } 1279 return call && (typeof call === "object" || typeof call === "function") ? call : self2; 1280 } 1281 function _inherits2(subClass, superClass) { 1282 if (typeof superClass !== "function" && superClass !== null) { 1283 throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); 1284 } 1285 subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); 1286 if (superClass) 1287 Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; 1288 } 1289 var portalClassName = exports.portalClassName = "ReactModalPortal"; 1290 var bodyOpenClassName = exports.bodyOpenClassName = "ReactModal__Body--open"; 1291 var isReact16 = _safeHTMLElement.canUseDOM && _reactDom2.default.createPortal !== void 0; 1292 var createHTMLElement = function createHTMLElement2(name) { 1293 return document.createElement(name); 1294 }; 1295 var getCreatePortal = function getCreatePortal2() { 1296 return isReact16 ? _reactDom2.default.createPortal : _reactDom2.default.unstable_renderSubtreeIntoContainer; 1297 }; 1298 function getParentElement(parentSelector) { 1299 return parentSelector(); 1300 } 1301 var Modal2 = function(_Component) { 1302 _inherits2(Modal3, _Component); 1303 function Modal3() { 1304 var _ref3; 1305 var _temp, _this, _ret; 1306 _classCallCheck2(this, Modal3); 1307 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { 1308 args[_key] = arguments[_key]; 1309 } 1310 return _ret = (_temp = (_this = _possibleConstructorReturn2(this, (_ref3 = Modal3.__proto__ || Object.getPrototypeOf(Modal3)).call.apply(_ref3, [this].concat(args))), _this), _this.removePortal = function() { 1311 !isReact16 && _reactDom2.default.unmountComponentAtNode(_this.node); 1312 var parent = getParentElement(_this.props.parentSelector); 1313 if (parent && parent.contains(_this.node)) { 1314 parent.removeChild(_this.node); 1315 } else { 1316 console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'); 1317 } 1318 }, _this.portalRef = function(ref) { 1319 _this.portal = ref; 1320 }, _this.renderPortal = function(props) { 1321 var createPortal2 = getCreatePortal(); 1322 var portal = createPortal2(_this, _react2.default.createElement(_ModalPortal2.default, _extends2({ defaultStyles: Modal3.defaultStyles }, props)), _this.node); 1323 _this.portalRef(portal); 1324 }, _temp), _possibleConstructorReturn2(_this, _ret); 1325 } 1326 _createClass2(Modal3, [{ 1327 key: "componentDidMount", 1328 value: function componentDidMount() { 1329 if (!_safeHTMLElement.canUseDOM) 1330 return; 1331 if (!isReact16) { 1332 this.node = createHTMLElement("div"); 1333 } 1334 this.node.className = this.props.portalClassName; 1335 var parent = getParentElement(this.props.parentSelector); 1336 parent.appendChild(this.node); 1337 !isReact16 && this.renderPortal(this.props); 1338 } 1339 }, { 1340 key: "getSnapshotBeforeUpdate", 1341 value: function getSnapshotBeforeUpdate(prevProps) { 1342 var prevParent = getParentElement(prevProps.parentSelector); 1343 var nextParent = getParentElement(this.props.parentSelector); 1344 return { prevParent, nextParent }; 1345 } 1346 }, { 1347 key: "componentDidUpdate", 1348 value: function componentDidUpdate(prevProps, _, snapshot) { 1349 if (!_safeHTMLElement.canUseDOM) 1350 return; 1351 var _props = this.props, isOpen = _props.isOpen, portalClassName2 = _props.portalClassName; 1352 if (prevProps.portalClassName !== portalClassName2) { 1353 this.node.className = portalClassName2; 1354 } 1355 var prevParent = snapshot.prevParent, nextParent = snapshot.nextParent; 1356 if (nextParent !== prevParent) { 1357 prevParent.removeChild(this.node); 1358 nextParent.appendChild(this.node); 1359 } 1360 if (!prevProps.isOpen && !isOpen) 1361 return; 1362 !isReact16 && this.renderPortal(this.props); 1363 } 1364 }, { 1365 key: "componentWillUnmount", 1366 value: function componentWillUnmount() { 1367 if (!_safeHTMLElement.canUseDOM || !this.node || !this.portal) 1368 return; 1369 var state = this.portal.state; 1370 var now = Date.now(); 1371 var closesAt = state.isOpen && this.props.closeTimeoutMS && (state.closesAt || now + this.props.closeTimeoutMS); 1372 if (closesAt) { 1373 if (!state.beforeClose) { 1374 this.portal.closeWithTimeout(); 1375 } 1376 setTimeout(this.removePortal, closesAt - now); 1377 } else { 1378 this.removePortal(); 1379 } 1380 } 1381 }, { 1382 key: "render", 1383 value: function render() { 1384 if (!_safeHTMLElement.canUseDOM || !isReact16) { 1385 return null; 1386 } 1387 if (!this.node && isReact16) { 1388 this.node = createHTMLElement("div"); 1389 } 1390 var createPortal2 = getCreatePortal(); 1391 return createPortal2(_react2.default.createElement(_ModalPortal2.default, _extends2({ 1392 ref: this.portalRef, 1393 defaultStyles: Modal3.defaultStyles 1394 }, this.props)), this.node); 1395 } 1396 }], [{ 1397 key: "setAppElement", 1398 value: function setAppElement(element) { 1399 ariaAppHider.setElement(element); 1400 } 1401 }]); 1402 return Modal3; 1403 }(_react.Component); 1404 Modal2.propTypes = { 1405 isOpen: _propTypes2.default.bool.isRequired, 1406 style: _propTypes2.default.shape({ 1407 content: _propTypes2.default.object, 1408 overlay: _propTypes2.default.object 1409 }), 1410 portalClassName: _propTypes2.default.string, 1411 bodyOpenClassName: _propTypes2.default.string, 1412 htmlOpenClassName: _propTypes2.default.string, 1413 className: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({ 1414 base: _propTypes2.default.string.isRequired, 1415 afterOpen: _propTypes2.default.string.isRequired, 1416 beforeClose: _propTypes2.default.string.isRequired 1417 })]), 1418 overlayClassName: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({ 1419 base: _propTypes2.default.string.isRequired, 1420 afterOpen: _propTypes2.default.string.isRequired, 1421 beforeClose: _propTypes2.default.string.isRequired 1422 })]), 1423 appElement: _propTypes2.default.oneOfType([_propTypes2.default.instanceOf(_safeHTMLElement2.default), _propTypes2.default.instanceOf(_safeHTMLElement.SafeHTMLCollection), _propTypes2.default.instanceOf(_safeHTMLElement.SafeNodeList), _propTypes2.default.arrayOf(_propTypes2.default.instanceOf(_safeHTMLElement2.default))]), 1424 onAfterOpen: _propTypes2.default.func, 1425 onRequestClose: _propTypes2.default.func, 1426 closeTimeoutMS: _propTypes2.default.number, 1427 ariaHideApp: _propTypes2.default.bool, 1428 shouldFocusAfterRender: _propTypes2.default.bool, 1429 shouldCloseOnOverlayClick: _propTypes2.default.bool, 1430 shouldReturnFocusAfterClose: _propTypes2.default.bool, 1431 preventScroll: _propTypes2.default.bool, 1432 parentSelector: _propTypes2.default.func, 1433 aria: _propTypes2.default.object, 1434 data: _propTypes2.default.object, 1435 role: _propTypes2.default.string, 1436 contentLabel: _propTypes2.default.string, 1437 shouldCloseOnEsc: _propTypes2.default.bool, 1438 overlayRef: _propTypes2.default.func, 1439 contentRef: _propTypes2.default.func, 1440 id: _propTypes2.default.string, 1441 overlayElement: _propTypes2.default.func, 1442 contentElement: _propTypes2.default.func 1443 }; 1444 Modal2.defaultProps = { 1445 isOpen: false, 1446 portalClassName, 1447 bodyOpenClassName, 1448 role: "dialog", 1449 ariaHideApp: true, 1450 closeTimeoutMS: 0, 1451 shouldFocusAfterRender: true, 1452 shouldCloseOnEsc: true, 1453 shouldCloseOnOverlayClick: true, 1454 shouldReturnFocusAfterClose: true, 1455 preventScroll: false, 1456 parentSelector: function parentSelector() { 1457 return document.body; 1458 }, 1459 overlayElement: function overlayElement(props, contentEl) { 1460 return _react2.default.createElement("div", props, contentEl); 1461 }, 1462 contentElement: function contentElement(props, children) { 1463 return _react2.default.createElement("div", props, children); 1464 } 1465 }; 1466 Modal2.defaultStyles = { 1467 overlay: { 1468 position: "fixed", 1469 top: 0, 1470 left: 0, 1471 right: 0, 1472 bottom: 0, 1473 backgroundColor: "rgba(255, 255, 255, 0.75)" 1474 }, 1475 content: { 1476 position: "absolute", 1477 top: "40px", 1478 left: "40px", 1479 right: "40px", 1480 bottom: "40px", 1481 border: "1px solid #ccc", 1482 background: "#fff", 1483 overflow: "auto", 1484 WebkitOverflowScrolling: "touch", 1485 borderRadius: "4px", 1486 outline: "none", 1487 padding: "20px" 1488 } 1489 }; 1490 (0, _reactLifecyclesCompat.polyfill)(Modal2); 1491 if (true) { 1492 Modal2.setCreateHTMLElement = function(fn) { 1493 return createHTMLElement = fn; 1494 }; 1495 } 1496 exports.default = Modal2; 1497 } 1498}); 1499
vendor: 529 bytes, lines 1500-1517
1500// node_modules/react-modal/lib/index.js 1501var require_lib = __commonJS({ 1502 "node_modules/react-modal/lib/index.js"(exports, module) { 1503 "use strict"; 1504 init_react(); 1505 Object.defineProperty(exports, "__esModule", { 1506 value: true 1507 }); 1508 var _Modal = require_Modal(); 1509 var _Modal2 = _interopRequireDefault(_Modal); 1510 function _interopRequireDefault(obj) { 1511 return obj && obj.__esModule ? obj : { default: obj }; 1512 } 1513 exports.default = _Modal2.default; 1514 module.exports = exports["default"]; 1515 } 1516}); 1517
vendor: 3,888 bytes, lines 1518-1618
1518// node_modules/@emotion/sheet/dist/emotion-sheet.cjs.dev.js 1519var require_emotion_sheet_cjs_dev = __commonJS({ 1520 "node_modules/@emotion/sheet/dist/emotion-sheet.cjs.dev.js"(exports) { 1521 "use strict"; 1522 init_react(); 1523 Object.defineProperty(exports, "__esModule", { value: true }); 1524 function sheetForTag(tag) { 1525 if (tag.sheet) { 1526 return tag.sheet; 1527 } 1528 for (var i2 = 0; i2 < document.styleSheets.length; i2++) { 1529 if (document.styleSheets[i2].ownerNode === tag) { 1530 return document.styleSheets[i2]; 1531 } 1532 } 1533 } 1534 function createStyleElement(options2) { 1535 var tag = document.createElement("style"); 1536 tag.setAttribute("data-emotion", options2.key); 1537 if (options2.nonce !== void 0) { 1538 tag.setAttribute("nonce", options2.nonce); 1539 } 1540 tag.appendChild(document.createTextNode("")); 1541 tag.setAttribute("data-s", ""); 1542 return tag; 1543 } 1544 var StyleSheet = /* @__PURE__ */ function() { 1545 function StyleSheet2(options2) { 1546 var _this = this; 1547 this._insertTag = function(tag) { 1548 var before; 1549 if (_this.tags.length === 0) { 1550 if (_this.insertionPoint) { 1551 before = _this.insertionPoint.nextSibling; 1552 } else if (_this.prepend) { 1553 before = _this.container.firstChild; 1554 } else { 1555 before = _this.before; 1556 } 1557 } else { 1558 before = _this.tags[_this.tags.length - 1].nextSibling; 1559 } 1560 _this.container.insertBefore(tag, before); 1561 _this.tags.push(tag); 1562 }; 1563 this.isSpeedy = options2.speedy === void 0 ? false : options2.speedy; 1564 this.tags = []; 1565 this.ctr = 0; 1566 this.nonce = options2.nonce; 1567 this.key = options2.key; 1568 this.container = options2.container; 1569 this.prepend = options2.prepend; 1570 this.insertionPoint = options2.insertionPoint; 1571 this.before = null; 1572 } 1573 var _proto = StyleSheet2.prototype; 1574 _proto.hydrate = function hydrate(nodes) { 1575 nodes.forEach(this._insertTag); 1576 }; 1577 _proto.insert = function insert(rule) { 1578 if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) { 1579 this._insertTag(createStyleElement(this)); 1580 } 1581 var tag = this.tags[this.tags.length - 1]; 1582 if (true) { 1583 var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105; 1584 if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) { 1585 console.error("You're attempting to insert the following rule:\n" + rule + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."); 1586 } 1587 this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule; 1588 } 1589 if (this.isSpeedy) { 1590 var sheet = sheetForTag(tag); 1591 try { 1592 sheet.insertRule(rule, sheet.cssRules.length); 1593 } catch (e) { 1594 if (!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) { 1595 console.error('There was a problem inserting the following rule: "' + rule + '"', e); 1596 } 1597 } 1598 } else { 1599 tag.appendChild(document.createTextNode(rule)); 1600 } 1601 this.ctr++; 1602 }; 1603 _proto.flush = function flush() { 1604 this.tags.forEach(function(tag) { 1605 return tag.parentNode && tag.parentNode.removeChild(tag); 1606 }); 1607 this.tags = []; 1608 this.ctr = 0; 1609 if (true) { 1610 this._alreadyInsertedOrderInsensitiveRule = false; 1611 } 1612 }; 1613 return StyleSheet2; 1614 }(); 1615 exports.StyleSheet = StyleSheet; 1616 } 1617}); 1618
vendor: 345 bytes, lines 1619-1631
1619// node_modules/@emotion/sheet/dist/emotion-sheet.cjs.js 1620var require_emotion_sheet_cjs = __commonJS({ 1621 "node_modules/@emotion/sheet/dist/emotion-sheet.cjs.js"(exports, module) { 1622 "use strict"; 1623 init_react(); 1624 if (false) { 1625 module.exports = null; 1626 } else { 1627 module.exports = require_emotion_sheet_cjs_dev(); 1628 } 1629 } 1630}); 1631
vendor: 19,931 bytes, lines 1632-2275
1632// node_modules/stylis/dist/umd/stylis.js 1633var require_stylis = __commonJS({ 1634 "node_modules/stylis/dist/umd/stylis.js"(exports, module) { 1635 init_react(); 1636 (function(e, r2) { 1637 typeof exports === "object" && typeof module !== "undefined" ? r2(exports) : typeof define === "function" && define.amd ? define(["exports"], r2) : (e = e || self, r2(e.stylis = {})); 1638 })(exports, function(e) { 1639 "use strict"; 1640 var r2 = "-ms-"; 1641 var a2 = "-moz-"; 1642 var c2 = "-webkit-"; 1643 var t = "comm"; 1644 var n2 = "rule"; 1645 var s2 = "decl"; 1646 var i2 = "@page"; 1647 var u2 = "@media"; 1648 var o2 = "@import"; 1649 var f2 = "@charset"; 1650 var l2 = "@viewport"; 1651 var p2 = "@supports"; 1652 var h = "@document"; 1653 var v2 = "@namespace"; 1654 var d = "@keyframes"; 1655 var b2 = "@font-face"; 1656 var w3 = "@counter-style"; 1657 var m = "@font-feature-values"; 1658 var g2 = Math.abs; 1659 var k = String.fromCharCode; 1660 var $ = Object.assign; 1661 function x2(e2, r3) { 1662 return A2(e2, 0) ^ 45 ? (((r3 << 2 ^ A2(e2, 0)) << 2 ^ A2(e2, 1)) << 2 ^ A2(e2, 2)) << 2 ^ A2(e2, 3) : 0; 1663 } 1664 function E2(e2) { 1665 return e2.trim(); 1666 } 1667 function y(e2, r3) { 1668 return (e2 = r3.exec(e2)) ? e2[0] : e2; 1669 } 1670 function T(e2, r3, a3) { 1671 return e2.replace(r3, a3); 1672 } 1673 function O(e2, r3) { 1674 return e2.indexOf(r3); 1675 } 1676 function A2(e2, r3) { 1677 return e2.charCodeAt(r3) | 0; 1678 } 1679 function M(e2, r3, a3) { 1680 return e2.slice(r3, a3); 1681 } 1682 function C(e2) { 1683 return e2.length; 1684 } 1685 function S(e2) { 1686 return e2.length; 1687 } 1688 function R2(e2, r3) { 1689 return r3.push(e2), e2; 1690 } 1691 function z2(e2, r3) { 1692 return e2.map(r3).join(""); 1693 } 1694 e.line = 1; 1695 e.column = 1; 1696 e.length = 0; 1697 e.position = 0; 1698 e.character = 0; 1699 e.characters = ""; 1700 function N(r3, a3, c3, t2, n3, s3, i3) { 1701 return { value: r3, root: a3, parent: c3, type: t2, props: n3, children: s3, line: e.line, column: e.column, length: i3, return: "" }; 1702 } 1703 function P(e2, r3) { 1704 return $(N("", null, null, "", null, null, 0), e2, { length: -e2.length }, r3); 1705 } 1706 function j() { 1707 return e.character; 1708 } 1709 function U() { 1710 e.character = e.position > 0 ? A2(e.characters, --e.position) : 0; 1711 if (e.column--, e.character === 10) 1712 e.column = 1, e.line--; 1713 return e.character; 1714 } 1715 function _() { 1716 e.character = e.position < e.length ? A2(e.characters, e.position++) : 0; 1717 if (e.column++, e.character === 10) 1718 e.column = 1, e.line++; 1719 return e.character; 1720 } 1721 function F() { 1722 return A2(e.characters, e.position); 1723 } 1724 function I() { 1725 return e.position; 1726 } 1727 function L2(r3, a3) { 1728 return M(e.characters, r3, a3); 1729 } 1730 function D(e2) { 1731 switch (e2) { 1732 case 0: 1733 case 9: 1734 case 10: 1735 case 13: 1736 case 32: 1737 return 5; 1738 case 33: 1739 case 43: 1740 case 44: 1741 case 47: 1742 case 62: 1743 case 64: 1744 case 126: 1745 case 59: 1746 case 123: 1747 case 125: 1748 return 4; 1749 case 58: 1750 return 3; 1751 case 34: 1752 case 39: 1753 case 40: 1754 case 91: 1755 return 2; 1756 case 41: 1757 case 93: 1758 return 1; 1759 } 1760 return 0; 1761 } 1762 function K(r3) { 1763 return e.line = e.column = 1, e.length = C(e.characters = r3), e.position = 0, []; 1764 } 1765 function V(r3) { 1766 return e.characters = "", r3; 1767 } 1768 function W2(r3) { 1769 return E2(L2(e.position - 1, Z(r3 === 91 ? r3 + 2 : r3 === 40 ? r3 + 1 : r3))); 1770 } 1771 function Y(e2) { 1772 return V(G(K(e2))); 1773 } 1774 function B(r3) { 1775 while (e.character = F()) 1776 if (e.character < 33) 1777 _(); 1778 else 1779 break; 1780 return D(r3) > 2 || D(e.character) > 3 ? "" : " "; 1781 } 1782 function G(r3) { 1783 while (_()) 1784 switch (D(e.character)) { 1785 case 0: 1786 R2(J(e.position - 1), r3); 1787 break; 1788 case 2: 1789 R2(W2(e.character), r3); 1790 break; 1791 default: 1792 R2(k(e.character), r3); 1793 } 1794 return r3; 1795 } 1796 function H2(r3, a3) { 1797 while (--a3 && _()) 1798 if (e.character < 48 || e.character > 102 || e.character > 57 && e.character < 65 || e.character > 70 && e.character < 97) 1799 break; 1800 return L2(r3, I() + (a3 < 6 && F() == 32 && _() == 32)); 1801 } 1802 function Z(r3) { 1803 while (_()) 1804 switch (e.character) { 1805 case r3: 1806 return e.position; 1807 case 34: 1808 case 39: 1809 if (r3 !== 34 && r3 !== 39) 1810 Z(e.character); 1811 break; 1812 case 40: 1813 if (r3 === 41) 1814 Z(r3); 1815 break; 1816 case 92: 1817 _(); 1818 break; 1819 } 1820 return e.position; 1821 } 1822 function q(r3, a3) { 1823 while (_()) 1824 if (r3 + e.character === 47 + 10) 1825 break; 1826 else if (r3 + e.character === 42 + 42 && F() === 47) 1827 break; 1828 return "/*" + L2(a3, e.position - 1) + "*" + k(r3 === 47 ? r3 : _()); 1829 } 1830 function J(r3) { 1831 while (!D(F())) 1832 _(); 1833 return L2(r3, e.position); 1834 } 1835 function Q(e2) { 1836 return V(X("", null, null, null, [""], e2 = K(e2), 0, [0], e2)); 1837 } 1838 function X(e2, r3, a3, c3, t2, n3, s3, i3, u3) { 1839 var o3 = 0; 1840 var f3 = 0; 1841 var l3 = s3; 1842 var p3 = 0; 1843 var h2 = 0; 1844 var v3 = 0; 1845 var d2 = 1; 1846 var b3 = 1; 1847 var w4 = 1; 1848 var m2 = 0; 1849 var g3 = ""; 1850 var $2 = t2; 1851 var x3 = n3; 1852 var E3 = c3; 1853 var y2 = g3; 1854 while (b3) 1855 switch (v3 = m2, m2 = _()) { 1856 case 40: 1857 if (v3 != 108 && A2(y2, l3 - 1) == 58) { 1858 if (O(y2 += T(W2(m2), "&", "&\f"), "&\f") != -1) 1859 w4 = -1; 1860 break; 1861 } 1862 case 34: 1863 case 39: 1864 case 91: 1865 y2 += W2(m2); 1866 break; 1867 case 9: 1868 case 10: 1869 case 13: 1870 case 32: 1871 y2 += B(v3); 1872 break; 1873 case 92: 1874 y2 += H2(I() - 1, 7); 1875 continue; 1876 case 47: 1877 switch (F()) { 1878 case 42: 1879 case 47: 1880 R2(re(q(_(), I()), r3, a3), u3); 1881 break; 1882 default: 1883 y2 += "/"; 1884 } 1885 break; 1886 case 123 * d2: 1887 i3[o3++] = C(y2) * w4; 1888 case 125 * d2: 1889 case 59: 1890 case 0: 1891 switch (m2) { 1892 case 0: 1893 case 125: 1894 b3 = 0; 1895 case 59 + f3: 1896 if (h2 > 0 && C(y2) - l3) 1897 R2(h2 > 32 ? ae(y2 + ";", c3, a3, l3 - 1) : ae(T(y2, " ", "") + ";", c3, a3, l3 - 2), u3); 1898 break; 1899 case 59: 1900 y2 += ";"; 1901 default: 1902 R2(E3 = ee(y2, r3, a3, o3, f3, t2, i3, g3, $2 = [], x3 = [], l3), n3); 1903 if (m2 === 123) 1904 if (f3 === 0) 1905 X(y2, r3, E3, E3, $2, n3, l3, i3, x3); 1906 else 1907 switch (p3 === 99 && A2(y2, 3) === 110 ? 100 : p3) { 1908 case 100: 1909 case 109: 1910 case 115: 1911 X(e2, E3, E3, c3 && R2(ee(e2, E3, E3, 0, 0, t2, i3, g3, t2, $2 = [], l3), x3), t2, x3, l3, i3, c3 ? $2 : x3); 1912 break; 1913 default: 1914 X(y2, E3, E3, E3, [""], x3, 0, i3, x3); 1915 } 1916 } 1917 o3 = f3 = h2 = 0, d2 = w4 = 1, g3 = y2 = "", l3 = s3; 1918 break; 1919 case 58: 1920 l3 = 1 + C(y2), h2 = v3; 1921 default: 1922 if (d2 < 1) { 1923 if (m2 == 123) 1924 --d2; 1925 else if (m2 == 125 && d2++ == 0 && U() == 125) 1926 continue; 1927 } 1928 switch (y2 += k(m2), m2 * d2) { 1929 case 38: 1930 w4 = f3 > 0 ? 1 : (y2 += "\f", -1); 1931 break; 1932 case 44: 1933 i3[o3++] = (C(y2) - 1) * w4, w4 = 1; 1934 break; 1935 case 64: 1936 if (F() === 45) 1937 y2 += W2(_()); 1938 p3 = F(), f3 = l3 = C(g3 = y2 += J(I())), m2++; 1939 break; 1940 case 45: 1941 if (v3 === 45 && C(y2) == 2) 1942 d2 = 0; 1943 } 1944 } 1945 return n3; 1946 } 1947 function ee(e2, r3, a3, c3, t2, s3, i3, u3, o3, f3, l3) { 1948 var p3 = t2 - 1; 1949 var h2 = t2 === 0 ? s3 : [""]; 1950 var v3 = S(h2); 1951 for (var d2 = 0, b3 = 0, w4 = 0; d2 < c3; ++d2) 1952 for (var m2 = 0, k2 = M(e2, p3 + 1, p3 = g2(b3 = i3[d2])), $2 = e2; m2 < v3; ++m2) 1953 if ($2 = E2(b3 > 0 ? h2[m2] + " " + k2 : T(k2, /&\f/g, h2[m2]))) 1954 o3[w4++] = $2; 1955 return N(e2, r3, a3, t2 === 0 ? n2 : u3, o3, f3, l3); 1956 } 1957 function re(e2, r3, a3) { 1958 return N(e2, r3, a3, t, k(j()), M(e2, 2, -2), 0); 1959 } 1960 function ae(e2, r3, a3, c3) { 1961 return N(e2, r3, a3, s2, M(e2, 0, c3), M(e2, c3 + 1, -1), c3); 1962 } 1963 function ce(e2, t2, n3) { 1964 switch (x2(e2, t2)) { 1965 case 5103: 1966 return c2 + "print-" + e2 + e2; 1967 case 5737: 1968 case 4201: 1969 case 3177: 1970 case 3433: 1971 case 1641: 1972 case 4457: 1973 case 2921: 1974 case 5572: 1975 case 6356: 1976 case 5844: 1977 case 3191: 1978 case 6645: 1979 case 3005: 1980 case 6391: 1981 case 5879: 1982 case 5623: 1983 case 6135: 1984 case 4599: 1985 case 4855: 1986 case 4215: 1987 case 6389: 1988 case 5109: 1989 case 5365: 1990 case 5621: 1991 case 3829: 1992 return c2 + e2 + e2; 1993 case 4789: 1994 return a2 + e2 + e2; 1995 case 5349: 1996 case 4246: 1997 case 4810: 1998 case 6968: 1999 case 2756: 2000 return c2 + e2 + a2 + e2 + r2 + e2 + e2; 2001 case 5936: 2002 switch (A2(e2, t2 + 11)) { 2003 case 114: 2004 return c2 + e2 + r2 + T(e2, /[svh]\w+-[tblr]{2}/, "tb") + e2; 2005 case 108: 2006 return c2 + e2 + r2 + T(e2, /[svh]\w+-[tblr]{2}/, "tb-rl") + e2; 2007 case 45: 2008 return c2 + e2 + r2 + T(e2, /[svh]\w+-[tblr]{2}/, "lr") + e2; 2009 } 2010 case 6828: 2011 case 4268: 2012 case 2903: 2013 return c2 + e2 + r2 + e2 + e2; 2014 case 6165: 2015 return c2 + e2 + r2 + "flex-" + e2 + e2; 2016 case 5187: 2017 return c2 + e2 + T(e2, /(\w+).+(:[^]+)/, c2 + "box-$1$2" + r2 + "flex-$1$2") + e2; 2018 case 5443: 2019 return c2 + e2 + r2 + "flex-item-" + T(e2, /flex-|-self/g, "") + (!y(e2, /flex-|baseline/) ? r2 + "grid-row-" + T(e2, /flex-|-self/g, "") : "") + e2; 2020 case 4675: 2021 return c2 + e2 + r2 + "flex-line-pack" + T(e2, /align-content|flex-|-self/g, "") + e2; 2022 case 5548: 2023 return c2 + e2 + r2 + T(e2, "shrink", "negative") + e2; 2024 case 5292: 2025 return c2 + e2 + r2 + T(e2, "basis", "preferred-size") + e2; 2026 case 6060: 2027 return c2 + "box-" + T(e2, "-grow", "") + c2 + e2 + r2 + T(e2, "grow", "positive") + e2; 2028 case 4554: 2029 return c2 + T(e2, /([^-])(transform)/g, "$1" + c2 + "$2") + e2; 2030 case 6187: 2031 return T(T(T(e2, /(zoom-|grab)/, c2 + "$1"), /(image-set)/, c2 + "$1"), e2, "") + e2; 2032 case 5495: 2033 case 3959: 2034 return T(e2, /(image-set\([^]*)/, c2 + "$1$`$1"); 2035 case 4968: 2036 return T(T(e2, /(.+:)(flex-)?(.*)/, c2 + "box-pack:$3" + r2 + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + c2 + e2 + e2; 2037 case 4200: 2038 if (!y(e2, /flex-|baseline/)) 2039 return r2 + "grid-column-align" + M(e2, t2) + e2; 2040 break; 2041 case 2592: 2042 case 3360: 2043 return r2 + T(e2, "template-", "") + e2; 2044 case 4384: 2045 case 3616: 2046 if (n3 && n3.some(function(e3, r3) { 2047 return t2 = r3, y(e3.props, /grid-\w+-end/); 2048 })) { 2049 return ~O(e2 + (n3 = n3[t2].value), "span") ? e2 : r2 + T(e2, "-start", "") + e2 + r2 + "grid-row-span:" + (~O(n3, "span") ? y(n3, /\d+/) : +y(n3, /\d+/) - +y(e2, /\d+/)) + ";"; 2050 } 2051 return r2 + T(e2, "-start", "") + e2; 2052 case 4896: 2053 case 4128: 2054 return n3 && n3.some(function(e3) { 2055 return y(e3.props, /grid-\w+-start/); 2056 }) ? e2 : r2 + T(T(e2, "-end", "-span"), "span ", "") + e2; 2057 case 4095: 2058 case 3583: 2059 case 4068: 2060 case 2532: 2061 return T(e2, /(.+)-inline(.+)/, c2 + "$1$2") + e2; 2062 case 8116: 2063 case 7059: 2064 case 5753: 2065 case 5535: 2066 case 5445: 2067 case 5701: 2068 case 4933: 2069 case 4677: 2070 case 5533: 2071 case 5789: 2072 case 5021: 2073 case 4765: 2074 if (C(e2) - 1 - t2 > 6) 2075 switch (A2(e2, t2 + 1)) { 2076 case 109: 2077 if (A2(e2, t2 + 4) !== 45) 2078 break; 2079 case 102: 2080 return T(e2, /(.+:)(.+)-([^]+)/, "$1" + c2 + "$2-$3$1" + a2 + (A2(e2, t2 + 3) == 108 ? "$3" : "$2-$3")) + e2; 2081 case 115: 2082 return ~O(e2, "stretch") ? ce(T(e2, "stretch", "fill-available"), t2, n3) + e2 : e2; 2083 } 2084 break; 2085 case 5152: 2086 case 5920: 2087 return T(e2, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(a3, c3, t3, n4, s3, i3, u3) { 2088 return r2 + c3 + ":" + t3 + u3 + (n4 ? r2 + c3 + "-span:" + (s3 ? i3 : +i3 - +t3) + u3 : "") + e2; 2089 }); 2090 case 4949: 2091 if (A2(e2, t2 + 6) === 121) 2092 return T(e2, ":", ":" + c2) + e2; 2093 break; 2094 case 6444: 2095 switch (A2(e2, A2(e2, 14) === 45 ? 18 : 11)) { 2096 case 120: 2097 return T(e2, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + c2 + (A2(e2, 14) === 45 ? "inline-" : "") + "box$3$1" + c2 + "$2$3$1" + r2 + "$2box$3") + e2; 2098 case 100: 2099 return T(e2, ":", ":" + r2) + e2; 2100 } 2101 break; 2102 case 5719: 2103 case 2647: 2104 case 2135: 2105 case 3927: 2106 case 2391: 2107 return T(e2, "scroll-", "scroll-snap-") + e2; 2108 } 2109 return e2; 2110 } 2111 function te(e2, r3) { 2112 var a3 = ""; 2113 var c3 = S(e2); 2114 for (var t2 = 0; t2 < c3; t2++) 2115 a3 += r3(e2[t2], t2, e2, r3) || ""; 2116 return a3; 2117 } 2118 function ne(e2, r3, a3, c3) { 2119 switch (e2.type) { 2120 case o2: 2121 case s2: 2122 return e2.return = e2.return || e2.value; 2123 case t: 2124 return ""; 2125 case d: 2126 return e2.return = e2.value + "{" + te(e2.children, c3) + "}"; 2127 case n2: 2128 e2.value = e2.props.join(","); 2129 } 2130 return C(a3 = te(e2.children, c3)) ? e2.return = e2.value + "{" + a3 + "}" : ""; 2131 } 2132 function se(e2) { 2133 var r3 = S(e2); 2134 return function(a3, c3, t2, n3) { 2135 var s3 = ""; 2136 for (var i3 = 0; i3 < r3; i3++) 2137 s3 += e2[i3](a3, c3, t2, n3) || ""; 2138 return s3; 2139 }; 2140 } 2141 function ie(e2) { 2142 return function(r3) { 2143 if (!r3.root) { 2144 if (r3 = r3.return) 2145 e2(r3); 2146 } 2147 }; 2148 } 2149 function ue(e2, t2, i3, u3) { 2150 if (e2.length > -1) { 2151 if (!e2.return) 2152 switch (e2.type) { 2153 case s2: 2154 e2.return = ce(e2.value, e2.length, i3); 2155 return; 2156 case d: 2157 return te([P(e2, { value: T(e2.value, "@", "@" + c2) })], u3); 2158 case n2: 2159 if (e2.length) 2160 return z2(e2.props, function(t3) { 2161 switch (y(t3, /(::plac\w+|:read-\w+)/)) { 2162 case ":read-only": 2163 case ":read-write": 2164 return te([P(e2, { props: [T(t3, /:(read-\w+)/, ":" + a2 + "$1")] })], u3); 2165 case "::placeholder": 2166 return te([P(e2, { props: [T(t3, /:(plac\w+)/, ":" + c2 + "input-$1")] }), P(e2, { props: [T(t3, /:(plac\w+)/, ":" + a2 + "$1")] }), P(e2, { props: [T(t3, /:(plac\w+)/, r2 + "input-$1")] })], u3); 2167 } 2168 return ""; 2169 }); 2170 } 2171 } 2172 } 2173 function oe(e2) { 2174 switch (e2.type) { 2175 case n2: 2176 e2.props = e2.props.map(function(r3) { 2177 return z2(Y(r3), function(r4, a3, c3) { 2178 switch (A2(r4, 0)) { 2179 case 12: 2180 return M(r4, 1, C(r4)); 2181 case 0: 2182 case 40: 2183 case 43: 2184 case 62: 2185 case 126: 2186 return r4; 2187 case 58: 2188 if (c3[++a3] === "global") 2189 c3[a3] = "", c3[++a3] = "\f" + M(c3[a3], a3 = 1, -1); 2190 case 32: 2191 return a3 === 1 ? "" : r4; 2192 default: 2193 switch (a3) { 2194 case 0: 2195 e2 = r4; 2196 return S(c3) > 1 ? "" : r4; 2197 case (a3 = S(c3) - 1): 2198 case 2: 2199 return a3 === 2 ? r4 + e2 + e2 : r4 + e2; 2200 default: 2201 return r4; 2202 } 2203 } 2204 }); 2205 }); 2206 } 2207 } 2208 e.CHARSET = f2; 2209 e.COMMENT = t; 2210 e.COUNTER_STYLE = w3; 2211 e.DECLARATION = s2; 2212 e.DOCUMENT = h; 2213 e.FONT_FACE = b2; 2214 e.FONT_FEATURE_VALUES = m; 2215 e.IMPORT = o2; 2216 e.KEYFRAMES = d; 2217 e.MEDIA = u2; 2218 e.MOZ = a2; 2219 e.MS = r2; 2220 e.NAMESPACE = v2; 2221 e.PAGE = i2; 2222 e.RULESET = n2; 2223 e.SUPPORTS = p2; 2224 e.VIEWPORT = l2; 2225 e.WEBKIT = c2; 2226 e.abs = g2; 2227 e.alloc = K; 2228 e.append = R2; 2229 e.assign = $; 2230 e.caret = I; 2231 e.char = j; 2232 e.charat = A2; 2233 e.combine = z2; 2234 e.comment = re; 2235 e.commenter = q; 2236 e.compile = Q; 2237 e.copy = P; 2238 e.dealloc = V; 2239 e.declaration = ae; 2240 e.delimit = W2; 2241 e.delimiter = Z; 2242 e.escaping = H2; 2243 e.from = k; 2244 e.hash = x2; 2245 e.identifier = J; 2246 e.indexof = O; 2247 e.match = y; 2248 e.middleware = se; 2249 e.namespace = oe; 2250 e.next = _; 2251 e.node = N; 2252 e.parse = X; 2253 e.peek = F; 2254 e.prefix = ce; 2255 e.prefixer = ue; 2256 e.prev = U; 2257 e.replace = T; 2258 e.ruleset = ee; 2259 e.rulesheet = ie; 2260 e.serialize = te; 2261 e.sizeof = S; 2262 e.slice = L2; 2263 e.stringify = ne; 2264 e.strlen = C; 2265 e.substr = M; 2266 e.token = D; 2267 e.tokenize = Y; 2268 e.tokenizer = G; 2269 e.trim = E2; 2270 e.whitespace = B; 2271 Object.defineProperty(e, "__esModule", { value: true }); 2272 }); 2273 } 2274}); 2275
vendor: 662 bytes, lines 2276-2296
2276// node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.cjs.dev.js 2277var require_emotion_weak_memoize_cjs_dev = __commonJS({ 2278 "node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.cjs.dev.js"(exports) { 2279 "use strict"; 2280 init_react(); 2281 Object.defineProperty(exports, "__esModule", { value: true }); 2282 var weakMemoize = function weakMemoize2(func) { 2283 var cache = /* @__PURE__ */ new WeakMap(); 2284 return function(arg) { 2285 if (cache.has(arg)) { 2286 return cache.get(arg); 2287 } 2288 var ret = func(arg); 2289 cache.set(arg, ret); 2290 return ret; 2291 }; 2292 }; 2293 exports.default = weakMemoize; 2294 } 2295}); 2296
vendor: 387 bytes, lines 2297-2309
2297// node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.cjs.js 2298var require_emotion_weak_memoize_cjs = __commonJS({ 2299 "node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.cjs.js"(exports, module) { 2300 "use strict"; 2301 init_react(); 2302 if (false) { 2303 module.exports = null; 2304 } else { 2305 module.exports = require_emotion_weak_memoize_cjs_dev(); 2306 } 2307 } 2308}); 2309
vendor: 556 bytes, lines 2310-2327
2310// node_modules/@emotion/memoize/dist/emotion-memoize.cjs.dev.js 2311var require_emotion_memoize_cjs_dev = __commonJS({ 2312 "node_modules/@emotion/memoize/dist/emotion-memoize.cjs.dev.js"(exports) { 2313 "use strict"; 2314 init_react(); 2315 Object.defineProperty(exports, "__esModule", { value: true }); 2316 function memoize(fn) { 2317 var cache = /* @__PURE__ */ Object.create(null); 2318 return function(arg) { 2319 if (cache[arg] === void 0) 2320 cache[arg] = fn(arg); 2321 return cache[arg]; 2322 }; 2323 } 2324 exports.default = memoize; 2325 } 2326}); 2327
vendor: 357 bytes, lines 2328-2340
2328// node_modules/@emotion/memoize/dist/emotion-memoize.cjs.js 2329var require_emotion_memoize_cjs = __commonJS({ 2330 "node_modules/@emotion/memoize/dist/emotion-memoize.cjs.js"(exports, module) { 2331 "use strict"; 2332 init_react(); 2333 if (false) { 2334 module.exports = null; 2335 } else { 2336 module.exports = require_emotion_memoize_cjs_dev(); 2337 } 2338 } 2339}); 2340
vendor: 18,074 bytes, lines 2341-2786
2341// node_modules/@emotion/cache/dist/emotion-cache.cjs.dev.js 2342var require_emotion_cache_cjs_dev = __commonJS({ 2343 "node_modules/@emotion/cache/dist/emotion-cache.cjs.dev.js"(exports) { 2344 "use strict"; 2345 init_react(); 2346 Object.defineProperty(exports, "__esModule", { value: true }); 2347 var sheet = require_emotion_sheet_cjs(); 2348 var stylis = require_stylis(); 2349 var weakMemoize = require_emotion_weak_memoize_cjs(); 2350 var memoize = require_emotion_memoize_cjs(); 2351 function _interopDefault(e) { 2352 return e && e.__esModule ? e : { "default": e }; 2353 } 2354 var weakMemoize__default = /* @__PURE__ */ _interopDefault(weakMemoize); 2355 var memoize__default = /* @__PURE__ */ _interopDefault(memoize); 2356 var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index2) { 2357 var previous = 0; 2358 var character = 0; 2359 while (true) { 2360 previous = character; 2361 character = stylis.peek(); 2362 if (previous === 38 && character === 12) { 2363 points[index2] = 1; 2364 } 2365 if (stylis.token(character)) { 2366 break; 2367 } 2368 stylis.next(); 2369 } 2370 return stylis.slice(begin, stylis.position); 2371 }; 2372 var toRules = function toRules2(parsed, points) { 2373 var index2 = -1; 2374 var character = 44; 2375 do { 2376 switch (stylis.token(character)) { 2377 case 0: 2378 if (character === 38 && stylis.peek() === 12) { 2379 points[index2] = 1; 2380 } 2381 parsed[index2] += identifierWithPointTracking(stylis.position - 1, points, index2); 2382 break; 2383 case 2: 2384 parsed[index2] += stylis.delimit(character); 2385 break; 2386 case 4: 2387 if (character === 44) { 2388 parsed[++index2] = stylis.peek() === 58 ? "&\f" : ""; 2389 points[index2] = parsed[index2].length; 2390 break; 2391 } 2392 default: 2393 parsed[index2] += stylis.from(character); 2394 } 2395 } while (character = stylis.next()); 2396 return parsed; 2397 }; 2398 var getRules = function getRules2(value, points) { 2399 return stylis.dealloc(toRules(stylis.alloc(value), points)); 2400 }; 2401 var fixedElements = /* @__PURE__ */ new WeakMap(); 2402 var compat = function compat2(element) { 2403 if (element.type !== "rule" || !element.parent || element.length < 1) { 2404 return; 2405 } 2406 var value = element.value, parent = element.parent; 2407 var isImplicitRule = element.column === parent.column && element.line === parent.line; 2408 while (parent.type !== "rule") { 2409 parent = parent.parent; 2410 if (!parent) 2411 return; 2412 } 2413 if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) { 2414 return; 2415 } 2416 if (isImplicitRule) { 2417 return; 2418 } 2419 fixedElements.set(element, true); 2420 var points = []; 2421 var rules = getRules(value, points); 2422 var parentRules = parent.props; 2423 for (var i2 = 0, k = 0; i2 < rules.length; i2++) { 2424 for (var j = 0; j < parentRules.length; j++, k++) { 2425 element.props[k] = points[i2] ? rules[i2].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i2]; 2426 } 2427 } 2428 }; 2429 var removeLabel = function removeLabel2(element) { 2430 if (element.type === "decl") { 2431 var value = element.value; 2432 if (value.charCodeAt(0) === 108 && value.charCodeAt(2) === 98) { 2433 element["return"] = ""; 2434 element.value = ""; 2435 } 2436 } 2437 }; 2438 var ignoreFlag = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason"; 2439 var isIgnoringComment = function isIgnoringComment2(element) { 2440 return element.type === "comm" && element.children.indexOf(ignoreFlag) > -1; 2441 }; 2442 var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm2(cache) { 2443 return function(element, index2, children) { 2444 if (element.type !== "rule" || cache.compat) 2445 return; 2446 var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g); 2447 if (unsafePseudoClasses) { 2448 var isNested = element.parent === children[0]; 2449 var commentContainer = isNested ? children[0].children : children; 2450 for (var i2 = commentContainer.length - 1; i2 >= 0; i2--) { 2451 var node = commentContainer[i2]; 2452 if (node.line < element.line) { 2453 break; 2454 } 2455 if (node.column < element.column) { 2456 if (isIgnoringComment(node)) { 2457 return; 2458 } 2459 break; 2460 } 2461 } 2462 unsafePseudoClasses.forEach(function(unsafePseudoClass) { 2463 console.error('The pseudo class "' + unsafePseudoClass + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + unsafePseudoClass.split("-child")[0] + '-of-type".'); 2464 }); 2465 } 2466 }; 2467 }; 2468 var isImportRule = function isImportRule2(element) { 2469 return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64; 2470 }; 2471 var isPrependedWithRegularRules = function isPrependedWithRegularRules2(index2, children) { 2472 for (var i2 = index2 - 1; i2 >= 0; i2--) { 2473 if (!isImportRule(children[i2])) { 2474 return true; 2475 } 2476 } 2477 return false; 2478 }; 2479 var nullifyElement = function nullifyElement2(element) { 2480 element.type = ""; 2481 element.value = ""; 2482 element["return"] = ""; 2483 element.children = ""; 2484 element.props = ""; 2485 }; 2486 var incorrectImportAlarm = function incorrectImportAlarm2(element, index2, children) { 2487 if (!isImportRule(element)) { 2488 return; 2489 } 2490 if (element.parent) { 2491 console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."); 2492 nullifyElement(element); 2493 } else if (isPrependedWithRegularRules(index2, children)) { 2494 console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."); 2495 nullifyElement(element); 2496 } 2497 }; 2498 function prefix(value, length) { 2499 switch (stylis.hash(value, length)) { 2500 case 5103: 2501 return stylis.WEBKIT + "print-" + value + value; 2502 case 5737: 2503 case 4201: 2504 case 3177: 2505 case 3433: 2506 case 1641: 2507 case 4457: 2508 case 2921: 2509 case 5572: 2510 case 6356: 2511 case 5844: 2512 case 3191: 2513 case 6645: 2514 case 3005: 2515 case 6391: 2516 case 5879: 2517 case 5623: 2518 case 6135: 2519 case 4599: 2520 case 4855: 2521 case 4215: 2522 case 6389: 2523 case 5109: 2524 case 5365: 2525 case 5621: 2526 case 3829: 2527 return stylis.WEBKIT + value + value; 2528 case 5349: 2529 case 4246: 2530 case 4810: 2531 case 6968: 2532 case 2756: 2533 return stylis.WEBKIT + value + stylis.MOZ + value + stylis.MS + value + value; 2534 case 6828: 2535 case 4268: 2536 return stylis.WEBKIT + value + stylis.MS + value + value; 2537 case 6165: 2538 return stylis.WEBKIT + value + stylis.MS + "flex-" + value + value; 2539 case 5187: 2540 return stylis.WEBKIT + value + stylis.replace(value, /(\w+).+(:[^]+)/, stylis.WEBKIT + "box-$1$2" + stylis.MS + "flex-$1$2") + value; 2541 case 5443: 2542 return stylis.WEBKIT + value + stylis.MS + "flex-item-" + stylis.replace(value, /flex-|-self/, "") + value; 2543 case 4675: 2544 return stylis.WEBKIT + value + stylis.MS + "flex-line-pack" + stylis.replace(value, /align-content|flex-|-self/, "") + value; 2545 case 5548: 2546 return stylis.WEBKIT + value + stylis.MS + stylis.replace(value, "shrink", "negative") + value; 2547 case 5292: 2548 return stylis.WEBKIT + value + stylis.MS + stylis.replace(value, "basis", "preferred-size") + value; 2549 case 6060: 2550 return stylis.WEBKIT + "box-" + stylis.replace(value, "-grow", "") + stylis.WEBKIT + value + stylis.MS + stylis.replace(value, "grow", "positive") + value; 2551 case 4554: 2552 return stylis.WEBKIT + stylis.replace(value, /([^-])(transform)/g, "$1" + stylis.WEBKIT + "$2") + value; 2553 case 6187: 2554 return stylis.replace(stylis.replace(stylis.replace(value, /(zoom-|grab)/, stylis.WEBKIT + "$1"), /(image-set)/, stylis.WEBKIT + "$1"), value, "") + value; 2555 case 5495: 2556 case 3959: 2557 return stylis.replace(value, /(image-set\([^]*)/, stylis.WEBKIT + "$1$`$1"); 2558 case 4968: 2559 return stylis.replace(stylis.replace(value, /(.+:)(flex-)?(.*)/, stylis.WEBKIT + "box-pack:$3" + stylis.MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + stylis.WEBKIT + value + value; 2560 case 4095: 2561 case 3583: 2562 case 4068: 2563 case 2532: 2564 return stylis.replace(value, /(.+)-inline(.+)/, stylis.WEBKIT + "$1$2") + value; 2565 case 8116: 2566 case 7059: 2567 case 5753: 2568 case 5535: 2569 case 5445: 2570 case 5701: 2571 case 4933: 2572 case 4677: 2573 case 5533: 2574 case 5789: 2575 case 5021: 2576 case 4765: 2577 if (stylis.strlen(value) - 1 - length > 6) 2578 switch (stylis.charat(value, length + 1)) { 2579 case 109: 2580 if (stylis.charat(value, length + 4) !== 45) 2581 break; 2582 case 102: 2583 return stylis.replace(value, /(.+:)(.+)-([^]+)/, "$1" + stylis.WEBKIT + "$2-$3$1" + stylis.MOZ + (stylis.charat(value, length + 3) == 108 ? "$3" : "$2-$3")) + value; 2584 case 115: 2585 return ~stylis.indexof(value, "stretch") ? prefix(stylis.replace(value, "stretch", "fill-available"), length) + value : value; 2586 } 2587 break; 2588 case 4949: 2589 if (stylis.charat(value, length + 1) !== 115) 2590 break; 2591 case 6444: 2592 switch (stylis.charat(value, stylis.strlen(value) - 3 - (~stylis.indexof(value, "!important") && 10))) { 2593 case 107: 2594 return stylis.replace(value, ":", ":" + stylis.WEBKIT) + value; 2595 case 101: 2596 return stylis.replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + stylis.WEBKIT + (stylis.charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + stylis.WEBKIT + "$2$3$1" + stylis.MS + "$2box$3") + value; 2597 } 2598 break; 2599 case 5936: 2600 switch (stylis.charat(value, length + 11)) { 2601 case 114: 2602 return stylis.WEBKIT + value + stylis.MS + stylis.replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value; 2603 case 108: 2604 return stylis.WEBKIT + value + stylis.MS + stylis.replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value; 2605 case 45: 2606 return stylis.WEBKIT + value + stylis.MS + stylis.replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value; 2607 } 2608 return stylis.WEBKIT + value + stylis.MS + value + value; 2609 } 2610 return value; 2611 } 2612 var prefixer = function prefixer2(element, index2, children, callback) { 2613 if (element.length > -1) { 2614 if (!element["return"]) 2615 switch (element.type) { 2616 case stylis.DECLARATION: 2617 element["return"] = prefix(element.value, element.length); 2618 break; 2619 case stylis.KEYFRAMES: 2620 return stylis.serialize([stylis.copy(element, { 2621 value: stylis.replace(element.value, "@", "@" + stylis.WEBKIT) 2622 })], callback); 2623 case stylis.RULESET: 2624 if (element.length) 2625 return stylis.combine(element.props, function(value) { 2626 switch (stylis.match(value, /(::plac\w+|:read-\w+)/)) { 2627 case ":read-only": 2628 case ":read-write": 2629 return stylis.serialize([stylis.copy(element, { 2630 props: [stylis.replace(value, /:(read-\w+)/, ":" + stylis.MOZ + "$1")] 2631 })], callback); 2632 case "::placeholder": 2633 return stylis.serialize([stylis.copy(element, { 2634 props: [stylis.replace(value, /:(plac\w+)/, ":" + stylis.WEBKIT + "input-$1")] 2635 }), stylis.copy(element, { 2636 props: [stylis.replace(value, /:(plac\w+)/, ":" + stylis.MOZ + "$1")] 2637 }), stylis.copy(element, { 2638 props: [stylis.replace(value, /:(plac\w+)/, stylis.MS + "input-$1")] 2639 })], callback); 2640 } 2641 return ""; 2642 }); 2643 } 2644 } 2645 }; 2646 var isBrowser = typeof document !== "undefined"; 2647 var getServerStylisCache = isBrowser ? void 0 : weakMemoize__default["default"](function() { 2648 return memoize__default["default"](function() { 2649 var cache = {}; 2650 return function(name) { 2651 return cache[name]; 2652 }; 2653 }); 2654 }); 2655 var defaultStylisPlugins = [prefixer]; 2656 var createCache2 = function createCache3(options2) { 2657 var key = options2.key; 2658 if (!key) { 2659 throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements."); 2660 } 2661 if (isBrowser && key === "css") { 2662 var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); 2663 Array.prototype.forEach.call(ssrStyles, function(node) { 2664 var dataEmotionAttribute = node.getAttribute("data-emotion"); 2665 if (dataEmotionAttribute.indexOf(" ") === -1) { 2666 return; 2667 } 2668 document.head.appendChild(node); 2669 node.setAttribute("data-s", ""); 2670 }); 2671 } 2672 var stylisPlugins = options2.stylisPlugins || defaultStylisPlugins; 2673 if (true) { 2674 if (/[^a-z-]/.test(key)) { 2675 throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + key + '" was passed'); 2676 } 2677 } 2678 var inserted = {}; 2679 var container; 2680 var nodesToHydrate = []; 2681 if (isBrowser) { 2682 container = options2.container || document.head; 2683 Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="' + key + ' "]'), function(node) { 2684 var attrib = node.getAttribute("data-emotion").split(" "); 2685 for (var i2 = 1; i2 < attrib.length; i2++) { 2686 inserted[attrib[i2]] = true; 2687 } 2688 nodesToHydrate.push(node); 2689 }); 2690 } 2691 var _insert; 2692 var omnipresentPlugins = [compat, removeLabel]; 2693 if (true) { 2694 omnipresentPlugins.push(createUnsafeSelectorsAlarm({ 2695 get compat() { 2696 return cache.compat; 2697 } 2698 }), incorrectImportAlarm); 2699 } 2700 if (isBrowser) { 2701 var currentSheet; 2702 var finalizingPlugins = [stylis.stringify, true ? function(element) { 2703 if (!element.root) { 2704 if (element["return"]) { 2705 currentSheet.insert(element["return"]); 2706 } else if (element.value && element.type !== stylis.COMMENT) { 2707 currentSheet.insert(element.value + "{}"); 2708 } 2709 } 2710 } : stylis.rulesheet(function(rule) { 2711 currentSheet.insert(rule); 2712 })]; 2713 var serializer = stylis.middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)); 2714 var stylis$1 = function stylis$12(styles) { 2715 return stylis.serialize(stylis.compile(styles), serializer); 2716 }; 2717 _insert = function insert(selector, serialized, sheet2, shouldCache) { 2718 currentSheet = sheet2; 2719 if (serialized.map !== void 0) { 2720 currentSheet = { 2721 insert: function insert2(rule) { 2722 sheet2.insert(rule + serialized.map); 2723 } 2724 }; 2725 } 2726 stylis$1(selector ? selector + "{" + serialized.styles + "}" : serialized.styles); 2727 if (shouldCache) { 2728 cache.inserted[serialized.name] = true; 2729 } 2730 }; 2731 } else { 2732 var _finalizingPlugins = [stylis.stringify]; 2733 var _serializer = stylis.middleware(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins)); 2734 var _stylis = function _stylis2(styles) { 2735 return stylis.serialize(stylis.compile(styles), _serializer); 2736 }; 2737 var serverStylisCache = getServerStylisCache(stylisPlugins)(key); 2738 var getRules2 = function getRules3(selector, serialized) { 2739 var name = serialized.name; 2740 if (serverStylisCache[name] === void 0) { 2741 serverStylisCache[name] = _stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles); 2742 } 2743 return serverStylisCache[name]; 2744 }; 2745 _insert = function _insert2(selector, serialized, sheet2, shouldCache) { 2746 var name = serialized.name; 2747 var rules = getRules2(selector, serialized); 2748 if (cache.compat === void 0) { 2749 if (shouldCache) { 2750 cache.inserted[name] = true; 2751 } 2752 if (serialized.map !== void 0) { 2753 return rules + serialized.map; 2754 } 2755 return rules; 2756 } else { 2757 if (shouldCache) { 2758 cache.inserted[name] = rules; 2759 } else { 2760 return rules; 2761 } 2762 } 2763 }; 2764 } 2765 var cache = { 2766 key, 2767 sheet: new sheet.StyleSheet({ 2768 key, 2769 container, 2770 nonce: options2.nonce, 2771 speedy: options2.speedy, 2772 prepend: options2.prepend, 2773 insertionPoint: options2.insertionPoint 2774 }), 2775 nonce: options2.nonce, 2776 inserted, 2777 registered: {}, 2778 insert: _insert 2779 }; 2780 cache.sheet.hydrate(nodesToHydrate); 2781 return cache; 2782 }; 2783 exports.default = createCache2; 2784 } 2785}); 2786
vendor: 345 bytes, lines 2787-2799
2787// node_modules/@emotion/cache/dist/emotion-cache.cjs.js 2788var require_emotion_cache_cjs = __commonJS({ 2789 "node_modules/@emotion/cache/dist/emotion-cache.cjs.js"(exports, module) { 2790 "use strict"; 2791 init_react(); 2792 if (false) { 2793 module.exports = null; 2794 } else { 2795 module.exports = require_emotion_cache_cjs_dev(); 2796 } 2797 } 2798}); 2799
vendor: 749 bytes, lines 2800-2817
2800// node_modules/@babel/runtime/helpers/extends.js 2801var require_extends = __commonJS({ 2802 "node_modules/@babel/runtime/helpers/extends.js"(exports, module) { 2803 init_react(); 2804 function _extends2() { 2805 return module.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n2) { 2806 for (var e = 1; e < arguments.length; e++) { 2807 var t = arguments[e]; 2808 for (var r2 in t) 2809 ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]); 2810 } 2811 return n2; 2812 }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends2.apply(null, arguments); 2813 } 2814 module.exports = _extends2, module.exports.__esModule = true, module.exports["default"] = module.exports; 2815 } 2816}); 2817
vendor: 7,576 bytes, lines 2818-2972
2818// node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js 2819var require_react_is_development = __commonJS({ 2820 "node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js"(exports) { 2821 "use strict"; 2822 init_react(); 2823 if (true) { 2824 (function() { 2825 "use strict"; 2826 var hasSymbol = typeof Symbol === "function" && Symbol.for; 2827 var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103; 2828 var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106; 2829 var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107; 2830 var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108; 2831 var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114; 2832 var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109; 2833 var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110; 2834 var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111; 2835 var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111; 2836 var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112; 2837 var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113; 2838 var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120; 2839 var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115; 2840 var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116; 2841 var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121; 2842 var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117; 2843 var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118; 2844 var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119; 2845 function isValidElementType(type) { 2846 return typeof type === "string" || typeof type === "function" || type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE); 2847 } 2848 function typeOf(object) { 2849 if (typeof object === "object" && object !== null) { 2850 var $$typeof = object.$$typeof; 2851 switch ($$typeof) { 2852 case REACT_ELEMENT_TYPE: 2853 var type = object.type; 2854 switch (type) { 2855 case REACT_ASYNC_MODE_TYPE: 2856 case REACT_CONCURRENT_MODE_TYPE: 2857 case REACT_FRAGMENT_TYPE: 2858 case REACT_PROFILER_TYPE: 2859 case REACT_STRICT_MODE_TYPE: 2860 case REACT_SUSPENSE_TYPE: 2861 return type; 2862 default: 2863 var $$typeofType = type && type.$$typeof; 2864 switch ($$typeofType) { 2865 case REACT_CONTEXT_TYPE: 2866 case REACT_FORWARD_REF_TYPE: 2867 case REACT_LAZY_TYPE: 2868 case REACT_MEMO_TYPE: 2869 case REACT_PROVIDER_TYPE: 2870 return $$typeofType; 2871 default: 2872 return $$typeof; 2873 } 2874 } 2875 case REACT_PORTAL_TYPE: 2876 return $$typeof; 2877 } 2878 } 2879 return void 0; 2880 } 2881 var AsyncMode = REACT_ASYNC_MODE_TYPE; 2882 var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; 2883 var ContextConsumer = REACT_CONTEXT_TYPE; 2884 var ContextProvider = REACT_PROVIDER_TYPE; 2885 var Element = REACT_ELEMENT_TYPE; 2886 var ForwardRef16 = REACT_FORWARD_REF_TYPE; 2887 var Fragment2 = REACT_FRAGMENT_TYPE; 2888 var Lazy = REACT_LAZY_TYPE; 2889 var Memo = REACT_MEMO_TYPE; 2890 var Portal = REACT_PORTAL_TYPE; 2891 var Profiler = REACT_PROFILER_TYPE; 2892 var StrictMode = REACT_STRICT_MODE_TYPE; 2893 var Suspense = REACT_SUSPENSE_TYPE; 2894 var hasWarnedAboutDeprecatedIsAsyncMode = false; 2895 function isAsyncMode(object) { 2896 { 2897 if (!hasWarnedAboutDeprecatedIsAsyncMode) { 2898 hasWarnedAboutDeprecatedIsAsyncMode = true; 2899 console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."); 2900 } 2901 } 2902 return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE; 2903 } 2904 function isConcurrentMode(object) { 2905 return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; 2906 } 2907 function isContextConsumer(object) { 2908 return typeOf(object) === REACT_CONTEXT_TYPE; 2909 } 2910 function isContextProvider(object) { 2911 return typeOf(object) === REACT_PROVIDER_TYPE; 2912 } 2913 function isElement(object) { 2914 return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 2915 } 2916 function isForwardRef(object) { 2917 return typeOf(object) === REACT_FORWARD_REF_TYPE; 2918 } 2919 function isFragment(object) { 2920 return typeOf(object) === REACT_FRAGMENT_TYPE; 2921 } 2922 function isLazy(object) { 2923 return typeOf(object) === REACT_LAZY_TYPE; 2924 } 2925 function isMemo(object) { 2926 return typeOf(object) === REACT_MEMO_TYPE; 2927 } 2928 function isPortal(object) { 2929 return typeOf(object) === REACT_PORTAL_TYPE; 2930 } 2931 function isProfiler(object) { 2932 return typeOf(object) === REACT_PROFILER_TYPE; 2933 } 2934 function isStrictMode(object) { 2935 return typeOf(object) === REACT_STRICT_MODE_TYPE; 2936 } 2937 function isSuspense(object) { 2938 return typeOf(object) === REACT_SUSPENSE_TYPE; 2939 } 2940 exports.AsyncMode = AsyncMode; 2941 exports.ConcurrentMode = ConcurrentMode; 2942 exports.ContextConsumer = ContextConsumer; 2943 exports.ContextProvider = ContextProvider; 2944 exports.Element = Element; 2945 exports.ForwardRef = ForwardRef16; 2946 exports.Fragment = Fragment2; 2947 exports.Lazy = Lazy; 2948 exports.Memo = Memo; 2949 exports.Portal = Portal; 2950 exports.Profiler = Profiler; 2951 exports.StrictMode = StrictMode; 2952 exports.Suspense = Suspense; 2953 exports.isAsyncMode = isAsyncMode; 2954 exports.isConcurrentMode = isConcurrentMode; 2955 exports.isContextConsumer = isContextConsumer; 2956 exports.isContextProvider = isContextProvider; 2957 exports.isElement = isElement; 2958 exports.isForwardRef = isForwardRef; 2959 exports.isFragment = isFragment; 2960 exports.isLazy = isLazy; 2961 exports.isMemo = isMemo; 2962 exports.isPortal = isPortal; 2963 exports.isProfiler = isProfiler; 2964 exports.isStrictMode = isStrictMode; 2965 exports.isSuspense = isSuspense; 2966 exports.isValidElementType = isValidElementType; 2967 exports.typeOf = typeOf; 2968 })(); 2969 } 2970 } 2971}); 2972
vendor: 363 bytes, lines 2973-2985
2973// node_modules/hoist-non-react-statics/node_modules/react-is/index.js 2974var require_react_is = __commonJS({ 2975 "node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(exports, module) { 2976 "use strict"; 2977 init_react(); 2978 if (false) { 2979 module.exports = null; 2980 } else { 2981 module.exports = require_react_is_development(); 2982 } 2983 } 2984}); 2985
vendor: 3,031 bytes, lines 2986-3074
2986// node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js 2987var require_hoist_non_react_statics_cjs = __commonJS({ 2988 "node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) { 2989 "use strict"; 2990 init_react(); 2991 var reactIs = require_react_is(); 2992 var REACT_STATICS = { 2993 childContextTypes: true, 2994 contextType: true, 2995 contextTypes: true, 2996 defaultProps: true, 2997 displayName: true, 2998 getDefaultProps: true, 2999 getDerivedStateFromError: true, 3000 getDerivedStateFromProps: true, 3001 mixins: true, 3002 propTypes: true, 3003 type: true 3004 }; 3005 var KNOWN_STATICS = { 3006 name: true, 3007 length: true, 3008 prototype: true, 3009 caller: true, 3010 callee: true, 3011 arguments: true, 3012 arity: true 3013 }; 3014 var FORWARD_REF_STATICS = { 3015 "$$typeof": true, 3016 render: true, 3017 defaultProps: true, 3018 displayName: true, 3019 propTypes: true 3020 }; 3021 var MEMO_STATICS = { 3022 "$$typeof": true, 3023 compare: true, 3024 defaultProps: true, 3025 displayName: true, 3026 propTypes: true, 3027 type: true 3028 }; 3029 var TYPE_STATICS = {}; 3030 TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; 3031 TYPE_STATICS[reactIs.Memo] = MEMO_STATICS; 3032 function getStatics(component) { 3033 if (reactIs.isMemo(component)) { 3034 return MEMO_STATICS; 3035 } 3036 return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS; 3037 } 3038 var defineProperty = Object.defineProperty; 3039 var getOwnPropertyNames = Object.getOwnPropertyNames; 3040 var getOwnPropertySymbols = Object.getOwnPropertySymbols; 3041 var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 3042 var getPrototypeOf = Object.getPrototypeOf; 3043 var objectPrototype = Object.prototype; 3044 function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { 3045 if (typeof sourceComponent !== "string") { 3046 if (objectPrototype) { 3047 var inheritedComponent = getPrototypeOf(sourceComponent); 3048 if (inheritedComponent && inheritedComponent !== objectPrototype) { 3049 hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); 3050 } 3051 } 3052 var keys = getOwnPropertyNames(sourceComponent); 3053 if (getOwnPropertySymbols) { 3054 keys = keys.concat(getOwnPropertySymbols(sourceComponent)); 3055 } 3056 var targetStatics = getStatics(targetComponent); 3057 var sourceStatics = getStatics(sourceComponent); 3058 for (var i2 = 0; i2 < keys.length; ++i2) { 3059 var key = keys[i2]; 3060 if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { 3061 var descriptor = getOwnPropertyDescriptor(sourceComponent, key); 3062 try { 3063 defineProperty(targetComponent, key, descriptor); 3064 } catch (e) { 3065 } 3066 } 3067 } 3068 } 3069 return targetComponent; 3070 } 3071 module.exports = hoistNonReactStatics; 3072 } 3073}); 3074
vendor: 849 bytes, lines 3075-3092
3075// node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.dev.js 3076var require_emotion_react_isolated_hnrs_cjs_dev = __commonJS({ 3077 "node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.dev.js"(exports) { 3078 "use strict"; 3079 init_react(); 3080 Object.defineProperty(exports, "__esModule", { value: true }); 3081 var hoistNonReactStatics$1 = require_hoist_non_react_statics_cjs(); 3082 function _interopDefault(e) { 3083 return e && e.__esModule ? e : { "default": e }; 3084 } 3085 var hoistNonReactStatics__default = /* @__PURE__ */ _interopDefault(hoistNonReactStatics$1); 3086 var hoistNonReactStatics = function(targetComponent, sourceComponent) { 3087 return hoistNonReactStatics__default["default"](targetComponent, sourceComponent); 3088 }; 3089 exports.default = hoistNonReactStatics; 3090 } 3091}); 3092
vendor: 1,952 bytes, lines 3093-3140
3093// node_modules/@emotion/utils/dist/emotion-utils.cjs.dev.js 3094var require_emotion_utils_cjs_dev = __commonJS({ 3095 "node_modules/@emotion/utils/dist/emotion-utils.cjs.dev.js"(exports) { 3096 "use strict"; 3097 init_react(); 3098 Object.defineProperty(exports, "__esModule", { value: true }); 3099 var isBrowser = typeof document !== "undefined"; 3100 function getRegisteredStyles(registered, registeredStyles, classNames2) { 3101 var rawClassName = ""; 3102 classNames2.split(" ").forEach(function(className) { 3103 if (registered[className] !== void 0) { 3104 registeredStyles.push(registered[className] + ";"); 3105 } else { 3106 rawClassName += className + " "; 3107 } 3108 }); 3109 return rawClassName; 3110 } 3111 var registerStyles = function registerStyles2(cache, serialized, isStringTag) { 3112 var className = cache.key + "-" + serialized.name; 3113 if ((isStringTag === false || isBrowser === false && cache.compat !== void 0) && cache.registered[className] === void 0) { 3114 cache.registered[className] = serialized.styles; 3115 } 3116 }; 3117 var insertStyles = function insertStyles2(cache, serialized, isStringTag) { 3118 registerStyles(cache, serialized, isStringTag); 3119 var className = cache.key + "-" + serialized.name; 3120 if (cache.inserted[serialized.name] === void 0) { 3121 var stylesForSSR = ""; 3122 var current = serialized; 3123 do { 3124 var maybeStyles = cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true); 3125 if (!isBrowser && maybeStyles !== void 0) { 3126 stylesForSSR += maybeStyles; 3127 } 3128 current = current.next; 3129 } while (current !== void 0); 3130 if (!isBrowser && stylesForSSR.length !== 0) { 3131 return stylesForSSR; 3132 } 3133 } 3134 }; 3135 exports.getRegisteredStyles = getRegisteredStyles; 3136 exports.insertStyles = insertStyles; 3137 exports.registerStyles = registerStyles; 3138 } 3139}); 3140
vendor: 345 bytes, lines 3141-3153
3141// node_modules/@emotion/utils/dist/emotion-utils.cjs.js 3142var require_emotion_utils_cjs = __commonJS({ 3143 "node_modules/@emotion/utils/dist/emotion-utils.cjs.js"(exports, module) { 3144 "use strict"; 3145 init_react(); 3146 if (false) { 3147 module.exports = null; 3148 } else { 3149 module.exports = require_emotion_utils_cjs_dev(); 3150 } 3151 } 3152}); 3153
vendor: 1,249 bytes, lines 3154-3185
3154// node_modules/@emotion/hash/dist/emotion-hash.cjs.dev.js 3155var require_emotion_hash_cjs_dev = __commonJS({ 3156 "node_modules/@emotion/hash/dist/emotion-hash.cjs.dev.js"(exports) { 3157 "use strict"; 3158 init_react(); 3159 Object.defineProperty(exports, "__esModule", { value: true }); 3160 function murmur2(str) { 3161 var h = 0; 3162 var k, i2 = 0, len = str.length; 3163 for (; len >= 4; ++i2, len -= 4) { 3164 k = str.charCodeAt(i2) & 255 | (str.charCodeAt(++i2) & 255) << 8 | (str.charCodeAt(++i2) & 255) << 16 | (str.charCodeAt(++i2) & 255) << 24; 3165 k = (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16); 3166 k ^= k >>> 24; 3167 h = (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16); 3168 } 3169 switch (len) { 3170 case 3: 3171 h ^= (str.charCodeAt(i2 + 2) & 255) << 16; 3172 case 2: 3173 h ^= (str.charCodeAt(i2 + 1) & 255) << 8; 3174 case 1: 3175 h ^= str.charCodeAt(i2) & 255; 3176 h = (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16); 3177 } 3178 h ^= h >>> 13; 3179 h = (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16); 3180 return ((h ^ h >>> 15) >>> 0).toString(36); 3181 } 3182 exports.default = murmur2; 3183 } 3184}); 3185
vendor: 339 bytes, lines 3186-3198
3186// node_modules/@emotion/hash/dist/emotion-hash.cjs.js 3187var require_emotion_hash_cjs = __commonJS({ 3188 "node_modules/@emotion/hash/dist/emotion-hash.cjs.js"(exports, module) { 3189 "use strict"; 3190 init_react(); 3191 if (false) { 3192 module.exports = null; 3193 } else { 3194 module.exports = require_emotion_hash_cjs_dev(); 3195 } 3196 } 3197}); 3198
vendor: 1,375 bytes, lines 3199-3255
3199// node_modules/@emotion/unitless/dist/emotion-unitless.cjs.dev.js 3200var require_emotion_unitless_cjs_dev = __commonJS({ 3201 "node_modules/@emotion/unitless/dist/emotion-unitless.cjs.dev.js"(exports) { 3202 "use strict"; 3203 init_react(); 3204 Object.defineProperty(exports, "__esModule", { value: true }); 3205 var unitlessKeys = { 3206 animationIterationCount: 1, 3207 borderImageOutset: 1, 3208 borderImageSlice: 1, 3209 borderImageWidth: 1, 3210 boxFlex: 1, 3211 boxFlexGroup: 1, 3212 boxOrdinalGroup: 1, 3213 columnCount: 1, 3214 columns: 1, 3215 flex: 1, 3216 flexGrow: 1, 3217 flexPositive: 1, 3218 flexShrink: 1, 3219 flexNegative: 1, 3220 flexOrder: 1, 3221 gridRow: 1, 3222 gridRowEnd: 1, 3223 gridRowSpan: 1, 3224 gridRowStart: 1, 3225 gridColumn: 1, 3226 gridColumnEnd: 1, 3227 gridColumnSpan: 1, 3228 gridColumnStart: 1, 3229 msGridRow: 1, 3230 msGridRowSpan: 1, 3231 msGridColumn: 1, 3232 msGridColumnSpan: 1, 3233 fontWeight: 1, 3234 lineHeight: 1, 3235 opacity: 1, 3236 order: 1, 3237 orphans: 1, 3238 tabSize: 1, 3239 widows: 1, 3240 zIndex: 1, 3241 zoom: 1, 3242 WebkitLineClamp: 1, 3243 fillOpacity: 1, 3244 floodOpacity: 1, 3245 stopOpacity: 1, 3246 strokeDasharray: 1, 3247 strokeDashoffset: 1, 3248 strokeMiterlimit: 1, 3249 strokeOpacity: 1, 3250 strokeWidth: 1 3251 }; 3252 exports.default = unitlessKeys; 3253 } 3254}); 3255
vendor: 363 bytes, lines 3256-3268
3256// node_modules/@emotion/unitless/dist/emotion-unitless.cjs.js 3257var require_emotion_unitless_cjs = __commonJS({ 3258 "node_modules/@emotion/unitless/dist/emotion-unitless.cjs.js"(exports, module) { 3259 "use strict"; 3260 init_react(); 3261 if (false) { 3262 module.exports = null; 3263 } else { 3264 module.exports = require_emotion_unitless_cjs_dev(); 3265 } 3266 } 3267}); 3268
vendor: 11,457 bytes, lines 3269-3537
3269// node_modules/@emotion/serialize/dist/emotion-serialize.cjs.dev.js 3270var require_emotion_serialize_cjs_dev = __commonJS({ 3271 "node_modules/@emotion/serialize/dist/emotion-serialize.cjs.dev.js"(exports) { 3272 "use strict"; 3273 init_react(); 3274 Object.defineProperty(exports, "__esModule", { value: true }); 3275 var hashString = require_emotion_hash_cjs(); 3276 var unitless = require_emotion_unitless_cjs(); 3277 var memoize = require_emotion_memoize_cjs(); 3278 function _interopDefault(e) { 3279 return e && e.__esModule ? e : { "default": e }; 3280 } 3281 var hashString__default = /* @__PURE__ */ _interopDefault(hashString); 3282 var unitless__default = /* @__PURE__ */ _interopDefault(unitless); 3283 var memoize__default = /* @__PURE__ */ _interopDefault(memoize); 3284 var ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value. 3285Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". 3286You can read more about this here: 3287https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`; 3288 var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key)."; 3289 var hyphenateRegex = /[A-Z]|^ms/g; 3290 var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g; 3291 var isCustomProperty = function isCustomProperty2(property) { 3292 return property.charCodeAt(1) === 45; 3293 }; 3294 var isProcessableValue = function isProcessableValue2(value) { 3295 return value != null && typeof value !== "boolean"; 3296 }; 3297 var processStyleName = /* @__PURE__ */ memoize__default["default"](function(styleName) { 3298 return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase(); 3299 }); 3300 var processStyleValue = function processStyleValue2(key, value) { 3301 switch (key) { 3302 case "animation": 3303 case "animationName": { 3304 if (typeof value === "string") { 3305 return value.replace(animationRegex, function(match, p1, p2) { 3306 cursor = { 3307 name: p1, 3308 styles: p2, 3309 next: cursor 3310 }; 3311 return p1; 3312 }); 3313 } 3314 } 3315 } 3316 if (unitless__default["default"][key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) { 3317 return value + "px"; 3318 } 3319 return value; 3320 }; 3321 if (true) { 3322 contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/; 3323 contentValues = ["normal", "none", "initial", "inherit", "unset"]; 3324 oldProcessStyleValue = processStyleValue; 3325 msPattern = /^-ms-/; 3326 hyphenPattern = /-(.)/g; 3327 hyphenatedCache = {}; 3328 processStyleValue = function processStyleValue2(key, value) { 3329 if (key === "content") { 3330 if (typeof value !== "string" || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) { 3331 throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`"); 3332 } 3333 } 3334 var processed = oldProcessStyleValue(key, value); 3335 if (processed !== "" && !isCustomProperty(key) && key.indexOf("-") !== -1 && hyphenatedCache[key] === void 0) { 3336 hyphenatedCache[key] = true; 3337 console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, "ms-").replace(hyphenPattern, function(str, _char) { 3338 return _char.toUpperCase(); 3339 }) + "?"); 3340 } 3341 return processed; 3342 }; 3343 } 3344 var contentValuePattern; 3345 var contentValues; 3346 var oldProcessStyleValue; 3347 var msPattern; 3348 var hyphenPattern; 3349 var hyphenatedCache; 3350 var noComponentSelectorMessage = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform."; 3351 function handleInterpolation(mergedProps, registered, interpolation) { 3352 if (interpolation == null) { 3353 return ""; 3354 } 3355 if (interpolation.__emotion_styles !== void 0) { 3356 if (interpolation.toString() === "NO_COMPONENT_SELECTOR") { 3357 throw new Error(noComponentSelectorMessage); 3358 } 3359 return interpolation; 3360 } 3361 switch (typeof interpolation) { 3362 case "boolean": { 3363 return ""; 3364 } 3365 case "object": { 3366 if (interpolation.anim === 1) { 3367 cursor = { 3368 name: interpolation.name, 3369 styles: interpolation.styles, 3370 next: cursor 3371 }; 3372 return interpolation.name; 3373 } 3374 if (interpolation.styles !== void 0) { 3375 var next = interpolation.next; 3376 if (next !== void 0) { 3377 while (next !== void 0) { 3378 cursor = { 3379 name: next.name, 3380 styles: next.styles, 3381 next: cursor 3382 }; 3383 next = next.next; 3384 } 3385 } 3386 var styles = interpolation.styles + ";"; 3387 if (interpolation.map !== void 0) { 3388 styles += interpolation.map; 3389 } 3390 return styles; 3391 } 3392 return createStringFromObject(mergedProps, registered, interpolation); 3393 } 3394 case "function": { 3395 if (mergedProps !== void 0) { 3396 var previousCursor = cursor; 3397 var result = interpolation(mergedProps); 3398 cursor = previousCursor; 3399 return handleInterpolation(mergedProps, registered, result); 3400 } else if (true) { 3401 console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`"); 3402 } 3403 break; 3404 } 3405 case "string": 3406 if (true) { 3407 var matched = []; 3408 var replaced = interpolation.replace(animationRegex, function(match, p1, p2) { 3409 var fakeVarName = "animation" + matched.length; 3410 matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, "") + "`"); 3411 return "${" + fakeVarName + "}"; 3412 }); 3413 if (matched.length) { 3414 console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join("\n") + "\n\nYou should wrap it with `css` like this:\n\n" + ("css`" + replaced + "`")); 3415 } 3416 } 3417 break; 3418 } 3419 if (registered == null) { 3420 return interpolation; 3421 } 3422 var cached = registered[interpolation]; 3423 return cached !== void 0 ? cached : interpolation; 3424 } 3425 function createStringFromObject(mergedProps, registered, obj) { 3426 var string = ""; 3427 if (Array.isArray(obj)) { 3428 for (var i2 = 0; i2 < obj.length; i2++) { 3429 string += handleInterpolation(mergedProps, registered, obj[i2]) + ";"; 3430 } 3431 } else { 3432 for (var _key in obj) { 3433 var value = obj[_key]; 3434 if (typeof value !== "object") { 3435 if (registered != null && registered[value] !== void 0) { 3436 string += _key + "{" + registered[value] + "}"; 3437 } else if (isProcessableValue(value)) { 3438 string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";"; 3439 } 3440 } else { 3441 if (_key === "NO_COMPONENT_SELECTOR" && true) { 3442 throw new Error(noComponentSelectorMessage); 3443 } 3444 if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) { 3445 for (var _i = 0; _i < value.length; _i++) { 3446 if (isProcessableValue(value[_i])) { 3447 string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";"; 3448 } 3449 } 3450 } else { 3451 var interpolated = handleInterpolation(mergedProps, registered, value); 3452 switch (_key) { 3453 case "animation": 3454 case "animationName": { 3455 string += processStyleName(_key) + ":" + interpolated + ";"; 3456 break; 3457 } 3458 default: { 3459 if (_key === "undefined") { 3460 console.error(UNDEFINED_AS_OBJECT_KEY_ERROR); 3461 } 3462 string += _key + "{" + interpolated + "}"; 3463 } 3464 } 3465 } 3466 } 3467 } 3468 } 3469 return string; 3470 } 3471 var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g; 3472 var sourceMapPattern; 3473 if (true) { 3474 sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g; 3475 } 3476 var cursor; 3477 var serializeStyles = function serializeStyles2(args, registered, mergedProps) { 3478 if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) { 3479 return args[0]; 3480 } 3481 var stringMode = true; 3482 var styles = ""; 3483 cursor = void 0; 3484 var strings = args[0]; 3485 if (strings == null || strings.raw === void 0) { 3486 stringMode = false; 3487 styles += handleInterpolation(mergedProps, registered, strings); 3488 } else { 3489 if (strings[0] === void 0) { 3490 console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); 3491 } 3492 styles += strings[0]; 3493 } 3494 for (var i2 = 1; i2 < args.length; i2++) { 3495 styles += handleInterpolation(mergedProps, registered, args[i2]); 3496 if (stringMode) { 3497 if (strings[i2] === void 0) { 3498 console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); 3499 } 3500 styles += strings[i2]; 3501 } 3502 } 3503 var sourceMap; 3504 if (true) { 3505 styles = styles.replace(sourceMapPattern, function(match2) { 3506 sourceMap = match2; 3507 return ""; 3508 }); 3509 } 3510 labelPattern.lastIndex = 0; 3511 var identifierName = ""; 3512 var match; 3513 while ((match = labelPattern.exec(styles)) !== null) { 3514 identifierName += "-" + match[1]; 3515 } 3516 var name = hashString__default["default"](styles) + identifierName; 3517 if (true) { 3518 return { 3519 name, 3520 styles, 3521 map: sourceMap, 3522 next: cursor, 3523 toString: function toString() { 3524 return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; 3525 } 3526 }; 3527 } 3528 return { 3529 name, 3530 styles, 3531 next: cursor 3532 }; 3533 }; 3534 exports.serializeStyles = serializeStyles; 3535 } 3536}); 3537
vendor: 369 bytes, lines 3538-3550
3538// node_modules/@emotion/serialize/dist/emotion-serialize.cjs.js 3539var require_emotion_serialize_cjs = __commonJS({ 3540 "node_modules/@emotion/serialize/dist/emotion-serialize.cjs.js"(exports, module) { 3541 "use strict"; 3542 init_react(); 3543 if (false) { 3544 module.exports = null; 3545 } else { 3546 module.exports = require_emotion_serialize_cjs_dev(); 3547 } 3548 } 3549}); 3550
vendor: 1,765 bytes, lines 3551-3590
3551// node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.dev.js 3552var require_emotion_use_insertion_effect_with_fallbacks_cjs_dev = __commonJS({ 3553 "node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.dev.js"(exports) { 3554 "use strict"; 3555 init_react(); 3556 Object.defineProperty(exports, "__esModule", { value: true }); 3557 var React24 = require_react(); 3558 function _interopNamespace(e) { 3559 if (e && e.__esModule) 3560 return e; 3561 var n2 = /* @__PURE__ */ Object.create(null); 3562 if (e) { 3563 Object.keys(e).forEach(function(k) { 3564 if (k !== "default") { 3565 var d = Object.getOwnPropertyDescriptor(e, k); 3566 Object.defineProperty(n2, k, d.get ? d : { 3567 enumerable: true, 3568 get: function() { 3569 return e[k]; 3570 } 3571 }); 3572 } 3573 }); 3574 } 3575 n2["default"] = e; 3576 return Object.freeze(n2); 3577 } 3578 var React__namespace = /* @__PURE__ */ _interopNamespace(React24); 3579 var isBrowser = typeof document !== "undefined"; 3580 var syncFallback = function syncFallback2(create) { 3581 return create(); 3582 }; 3583 var useInsertionEffect = React__namespace["useInsertionEffect"] ? React__namespace["useInsertionEffect"] : false; 3584 var useInsertionEffectAlwaysWithSyncFallback = !isBrowser ? syncFallback : useInsertionEffect || syncFallback; 3585 var useInsertionEffectWithLayoutFallback = useInsertionEffect || React24.useLayoutEffect; 3586 exports.useInsertionEffectAlwaysWithSyncFallback = useInsertionEffectAlwaysWithSyncFallback; 3587 exports.useInsertionEffectWithLayoutFallback = useInsertionEffectWithLayoutFallback; 3588 } 3589}); 3590
vendor: 525 bytes, lines 3591-3603
3591// node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.js 3592var require_emotion_use_insertion_effect_with_fallbacks_cjs = __commonJS({ 3593 "node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.js"(exports, module) { 3594 "use strict"; 3595 init_react(); 3596 if (false) { 3597 module.exports = null; 3598 } else { 3599 module.exports = require_emotion_use_insertion_effect_with_fallbacks_cjs_dev(); 3600 } 3601 } 3602}); 3603
vendor: 9,691 bytes, lines 3604-3826
3604// node_modules/@emotion/react/dist/emotion-element-b63ca7c6.cjs.dev.js 3605var require_emotion_element_b63ca7c6_cjs_dev = __commonJS({ 3606 "node_modules/@emotion/react/dist/emotion-element-b63ca7c6.cjs.dev.js"(exports) { 3607 "use strict"; 3608 init_react(); 3609 var React24 = require_react(); 3610 var createCache2 = require_emotion_cache_cjs(); 3611 var _extends2 = require_extends(); 3612 var weakMemoize = require_emotion_weak_memoize_cjs(); 3613 var _isolatedHnrs_dist_emotionReact_isolatedHnrs = require_emotion_react_isolated_hnrs_cjs_dev(); 3614 var utils = require_emotion_utils_cjs(); 3615 var serialize = require_emotion_serialize_cjs(); 3616 var useInsertionEffectWithFallbacks = require_emotion_use_insertion_effect_with_fallbacks_cjs(); 3617 function _interopDefault(e) { 3618 return e && e.__esModule ? e : { "default": e }; 3619 } 3620 var createCache__default = /* @__PURE__ */ _interopDefault(createCache2); 3621 var weakMemoize__default = /* @__PURE__ */ _interopDefault(weakMemoize); 3622 var isBrowser = typeof document !== "undefined"; 3623 var hasOwnProperty = {}.hasOwnProperty; 3624 var EmotionCacheContext = /* @__PURE__ */ React24.createContext(typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache__default["default"]({ 3625 key: "css" 3626 }) : null); 3627 if (true) { 3628 EmotionCacheContext.displayName = "EmotionCacheContext"; 3629 } 3630 var CacheProvider = EmotionCacheContext.Provider; 3631 var __unsafe_useEmotionCache = function useEmotionCache() { 3632 return React24.useContext(EmotionCacheContext); 3633 }; 3634 exports.withEmotionCache = function withEmotionCache(func) { 3635 return /* @__PURE__ */ React24.forwardRef(function(props, ref) { 3636 var cache = React24.useContext(EmotionCacheContext); 3637 return func(props, cache, ref); 3638 }); 3639 }; 3640 if (!isBrowser) { 3641 exports.withEmotionCache = function withEmotionCache(func) { 3642 return function(props) { 3643 var cache = React24.useContext(EmotionCacheContext); 3644 if (cache === null) { 3645 cache = createCache__default["default"]({ 3646 key: "css" 3647 }); 3648 return /* @__PURE__ */ React24.createElement(EmotionCacheContext.Provider, { 3649 value: cache 3650 }, func(props, cache)); 3651 } else { 3652 return func(props, cache); 3653 } 3654 }; 3655 }; 3656 } 3657 var ThemeContext = /* @__PURE__ */ React24.createContext({}); 3658 if (true) { 3659 ThemeContext.displayName = "EmotionThemeContext"; 3660 } 3661 var useTheme = function useTheme2() { 3662 return React24.useContext(ThemeContext); 3663 }; 3664 var getTheme = function getTheme2(outerTheme, theme) { 3665 if (typeof theme === "function") { 3666 var mergedTheme = theme(outerTheme); 3667 if (mergedTheme == null || typeof mergedTheme !== "object" || Array.isArray(mergedTheme)) { 3668 throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!"); 3669 } 3670 return mergedTheme; 3671 } 3672 if (theme == null || typeof theme !== "object" || Array.isArray(theme)) { 3673 throw new Error("[ThemeProvider] Please make your theme prop a plain object"); 3674 } 3675 return _extends2({}, outerTheme, theme); 3676 }; 3677 var createCacheWithTheme = /* @__PURE__ */ weakMemoize__default["default"](function(outerTheme) { 3678 return weakMemoize__default["default"](function(theme) { 3679 return getTheme(outerTheme, theme); 3680 }); 3681 }); 3682 var ThemeProvider = function ThemeProvider2(props) { 3683 var theme = React24.useContext(ThemeContext); 3684 if (props.theme !== theme) { 3685 theme = createCacheWithTheme(theme)(props.theme); 3686 } 3687 return /* @__PURE__ */ React24.createElement(ThemeContext.Provider, { 3688 value: theme 3689 }, props.children); 3690 }; 3691 function withTheme(Component4) { 3692 var componentName = Component4.displayName || Component4.name || "Component"; 3693 var render = function render2(props, ref) { 3694 var theme = React24.useContext(ThemeContext); 3695 return /* @__PURE__ */ React24.createElement(Component4, _extends2({ 3696 theme, 3697 ref 3698 }, props)); 3699 }; 3700 var WithTheme = /* @__PURE__ */ React24.forwardRef(render); 3701 WithTheme.displayName = "WithTheme(" + componentName + ")"; 3702 return _isolatedHnrs_dist_emotionReact_isolatedHnrs["default"](WithTheme, Component4); 3703 } 3704 var getLastPart = function getLastPart2(functionName) { 3705 var parts = functionName.split("."); 3706 return parts[parts.length - 1]; 3707 }; 3708 var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine2(line) { 3709 var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line); 3710 if (match) 3711 return getLastPart(match[1]); 3712 match = /^([A-Za-z0-9$.]+)@/.exec(line); 3713 if (match) 3714 return getLastPart(match[1]); 3715 return void 0; 3716 }; 3717 var internalReactFunctionNames = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]); 3718 var sanitizeIdentifier = function sanitizeIdentifier2(identifier) { 3719 return identifier.replace(/\$/g, "-"); 3720 }; 3721 var getLabelFromStackTrace = function getLabelFromStackTrace2(stackTrace) { 3722 if (!stackTrace) 3723 return void 0; 3724 var lines = stackTrace.split("\n"); 3725 for (var i2 = 0; i2 < lines.length; i2++) { 3726 var functionName = getFunctionNameFromStackTraceLine(lines[i2]); 3727 if (!functionName) 3728 continue; 3729 if (internalReactFunctionNames.has(functionName)) 3730 break; 3731 if (/^[A-Z]/.test(functionName)) 3732 return sanitizeIdentifier(functionName); 3733 } 3734 return void 0; 3735 }; 3736 var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__"; 3737 var labelPropName = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__"; 3738 var createEmotionProps = function createEmotionProps2(type, props) { 3739 if (typeof props.css === "string" && props.css.indexOf(":") !== -1) { 3740 throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`"); 3741 } 3742 var newProps = {}; 3743 for (var key in props) { 3744 if (hasOwnProperty.call(props, key)) { 3745 newProps[key] = props[key]; 3746 } 3747 } 3748 newProps[typePropName] = type; 3749 if (!!props.css && (typeof props.css !== "object" || typeof props.css.name !== "string" || props.css.name.indexOf("-") === -1)) { 3750 var label = getLabelFromStackTrace(new Error().stack); 3751 if (label) 3752 newProps[labelPropName] = label; 3753 } 3754 return newProps; 3755 }; 3756 var Insertion = function Insertion2(_ref3) { 3757 var cache = _ref3.cache, serialized = _ref3.serialized, isStringTag = _ref3.isStringTag; 3758 utils.registerStyles(cache, serialized, isStringTag); 3759 var rules = useInsertionEffectWithFallbacks.useInsertionEffectAlwaysWithSyncFallback(function() { 3760 return utils.insertStyles(cache, serialized, isStringTag); 3761 }); 3762 if (!isBrowser && rules !== void 0) { 3763 var _ref23; 3764 var serializedNames = serialized.name; 3765 var next = serialized.next; 3766 while (next !== void 0) { 3767 serializedNames += " " + next.name; 3768 next = next.next; 3769 } 3770 return /* @__PURE__ */ React24.createElement("style", (_ref23 = {}, _ref23["data-emotion"] = cache.key + " " + serializedNames, _ref23.dangerouslySetInnerHTML = { 3771 __html: rules 3772 }, _ref23.nonce = cache.sheet.nonce, _ref23)); 3773 } 3774 return null; 3775 }; 3776 var Emotion = /* @__PURE__ */ exports.withEmotionCache(function(props, cache, ref) { 3777 var cssProp = props.css; 3778 if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) { 3779 cssProp = cache.registered[cssProp]; 3780 } 3781 var WrappedComponent = props[typePropName]; 3782 var registeredStyles = [cssProp]; 3783 var className = ""; 3784 if (typeof props.className === "string") { 3785 className = utils.getRegisteredStyles(cache.registered, registeredStyles, props.className); 3786 } else if (props.className != null) { 3787 className = props.className + " "; 3788 } 3789 var serialized = serialize.serializeStyles(registeredStyles, void 0, React24.useContext(ThemeContext)); 3790 if (serialized.name.indexOf("-") === -1) { 3791 var labelFromStack = props[labelPropName]; 3792 if (labelFromStack) { 3793 serialized = serialize.serializeStyles([serialized, "label:" + labelFromStack + ";"]); 3794 } 3795 } 3796 className += cache.key + "-" + serialized.name; 3797 var newProps = {}; 3798 for (var key in props) { 3799 if (hasOwnProperty.call(props, key) && key !== "css" && key !== typePropName && key !== labelPropName) { 3800 newProps[key] = props[key]; 3801 } 3802 } 3803 newProps.ref = ref; 3804 newProps.className = className; 3805 return /* @__PURE__ */ React24.createElement(React24.Fragment, null, /* @__PURE__ */ React24.createElement(Insertion, { 3806 cache, 3807 serialized, 3808 isStringTag: typeof WrappedComponent === "string" 3809 }), /* @__PURE__ */ React24.createElement(WrappedComponent, newProps)); 3810 }); 3811 if (true) { 3812 Emotion.displayName = "EmotionCssPropInternal"; 3813 } 3814 exports.CacheProvider = CacheProvider; 3815 exports.Emotion = Emotion; 3816 exports.ThemeContext = ThemeContext; 3817 exports.ThemeProvider = ThemeProvider; 3818 exports.__unsafe_useEmotionCache = __unsafe_useEmotionCache; 3819 exports.createEmotionProps = createEmotionProps; 3820 exports.hasOwnProperty = hasOwnProperty; 3821 exports.isBrowser = isBrowser; 3822 exports.useTheme = useTheme; 3823 exports.withTheme = withTheme; 3824 } 3825}); 3826
vendor: 14,676 bytes, lines 3827-4220
3827// node_modules/@emotion/react/dist/emotion-react.cjs.dev.js 3828var require_emotion_react_cjs_dev = __commonJS({ 3829 "node_modules/@emotion/react/dist/emotion-react.cjs.dev.js"(exports) { 3830 "use strict"; 3831 init_react(); 3832 Object.defineProperty(exports, "__esModule", { value: true }); 3833 var React24 = require_react(); 3834 require_emotion_cache_cjs(); 3835 var emotionElement = require_emotion_element_b63ca7c6_cjs_dev(); 3836 require_extends(); 3837 require_emotion_weak_memoize_cjs(); 3838 require_hoist_non_react_statics_cjs(); 3839 require_emotion_react_isolated_hnrs_cjs_dev(); 3840 var utils = require_emotion_utils_cjs(); 3841 var serialize = require_emotion_serialize_cjs(); 3842 var useInsertionEffectWithFallbacks = require_emotion_use_insertion_effect_with_fallbacks_cjs(); 3843 var pkg = { 3844 name: "@emotion/react", 3845 version: "11.10.5", 3846 main: "dist/emotion-react.cjs.js", 3847 module: "dist/emotion-react.esm.js", 3848 browser: { 3849 "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js" 3850 }, 3851 exports: { 3852 ".": { 3853 module: { 3854 worker: "./dist/emotion-react.worker.esm.js", 3855 browser: "./dist/emotion-react.browser.esm.js", 3856 "default": "./dist/emotion-react.esm.js" 3857 }, 3858 "default": "./dist/emotion-react.cjs.js" 3859 }, 3860 "./jsx-runtime": { 3861 module: { 3862 worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js", 3863 browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js", 3864 "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js" 3865 }, 3866 "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js" 3867 }, 3868 "./_isolated-hnrs": { 3869 module: { 3870 worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js", 3871 browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js", 3872 "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js" 3873 }, 3874 "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js" 3875 }, 3876 "./jsx-dev-runtime": { 3877 module: { 3878 worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js", 3879 browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js", 3880 "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js" 3881 }, 3882 "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js" 3883 }, 3884 "./package.json": "./package.json", 3885 "./types/css-prop": "./types/css-prop.d.ts", 3886 "./macro": "./macro.js" 3887 }, 3888 types: "types/index.d.ts", 3889 files: [ 3890 "src", 3891 "dist", 3892 "jsx-runtime", 3893 "jsx-dev-runtime", 3894 "_isolated-hnrs", 3895 "types/*.d.ts", 3896 "macro.js", 3897 "macro.d.ts", 3898 "macro.js.flow" 3899 ], 3900 sideEffects: false, 3901 author: "Emotion Contributors", 3902 license: "MIT", 3903 scripts: { 3904 "test:typescript": "dtslint types" 3905 }, 3906 dependencies: { 3907 "@babel/runtime": "^7.18.3", 3908 "@emotion/babel-plugin": "^11.10.5", 3909 "@emotion/cache": "^11.10.5", 3910 "@emotion/serialize": "^1.1.1", 3911 "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", 3912 "@emotion/utils": "^1.2.0", 3913 "@emotion/weak-memoize": "^0.3.0", 3914 "hoist-non-react-statics": "^3.3.1" 3915 }, 3916 peerDependencies: { 3917 "@babel/core": "^7.0.0", 3918 react: ">=16.8.0" 3919 }, 3920 peerDependenciesMeta: { 3921 "@babel/core": { 3922 optional: true 3923 }, 3924 "@types/react": { 3925 optional: true 3926 } 3927 }, 3928 devDependencies: { 3929 "@babel/core": "^7.18.5", 3930 "@definitelytyped/dtslint": "0.0.112", 3931 "@emotion/css": "11.10.5", 3932 "@emotion/css-prettifier": "1.1.1", 3933 "@emotion/server": "11.10.0", 3934 "@emotion/styled": "11.10.5", 3935 "html-tag-names": "^1.1.2", 3936 react: "16.14.0", 3937 "svg-tag-names": "^1.1.1", 3938 typescript: "^4.5.5" 3939 }, 3940 repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", 3941 publishConfig: { 3942 access: "public" 3943 }, 3944 "umd:main": "dist/emotion-react.umd.min.js", 3945 preconstruct: { 3946 entrypoints: [ 3947 "./index.js", 3948 "./jsx-runtime.js", 3949 "./jsx-dev-runtime.js", 3950 "./_isolated-hnrs.js" 3951 ], 3952 umdName: "emotionReact", 3953 exports: { 3954 envConditions: [ 3955 "browser", 3956 "worker" 3957 ], 3958 extra: { 3959 "./types/css-prop": "./types/css-prop.d.ts", 3960 "./macro": "./macro.js" 3961 } 3962 } 3963 } 3964 }; 3965 var jsx3 = function jsx4(type, props) { 3966 var args = arguments; 3967 if (props == null || !emotionElement.hasOwnProperty.call(props, "css")) { 3968 return React24.createElement.apply(void 0, args); 3969 } 3970 var argsLength = args.length; 3971 var createElementArgArray = new Array(argsLength); 3972 createElementArgArray[0] = emotionElement.Emotion; 3973 createElementArgArray[1] = emotionElement.createEmotionProps(type, props); 3974 for (var i2 = 2; i2 < argsLength; i2++) { 3975 createElementArgArray[i2] = args[i2]; 3976 } 3977 return React24.createElement.apply(null, createElementArgArray); 3978 }; 3979 var warnedAboutCssPropForGlobal = false; 3980 var Global = /* @__PURE__ */ emotionElement.withEmotionCache(function(props, cache) { 3981 if (!warnedAboutCssPropForGlobal && (props.className || props.css)) { 3982 console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"); 3983 warnedAboutCssPropForGlobal = true; 3984 } 3985 var styles = props.styles; 3986 var serialized = serialize.serializeStyles([styles], void 0, React24.useContext(emotionElement.ThemeContext)); 3987 if (!emotionElement.isBrowser) { 3988 var _ref3; 3989 var serializedNames = serialized.name; 3990 var serializedStyles = serialized.styles; 3991 var next = serialized.next; 3992 while (next !== void 0) { 3993 serializedNames += " " + next.name; 3994 serializedStyles += next.styles; 3995 next = next.next; 3996 } 3997 var shouldCache = cache.compat === true; 3998 var rules = cache.insert("", { 3999 name: serializedNames, 4000 styles: serializedStyles 4001 }, cache.sheet, shouldCache); 4002 if (shouldCache) { 4003 return null; 4004 } 4005 return /* @__PURE__ */ React24.createElement("style", (_ref3 = {}, _ref3["data-emotion"] = cache.key + "-global " + serializedNames, _ref3.dangerouslySetInnerHTML = { 4006 __html: rules 4007 }, _ref3.nonce = cache.sheet.nonce, _ref3)); 4008 } 4009 var sheetRef = React24.useRef(); 4010 useInsertionEffectWithFallbacks.useInsertionEffectWithLayoutFallback(function() { 4011 var key = cache.key + "-global"; 4012 var sheet = new cache.sheet.constructor({ 4013 key, 4014 nonce: cache.sheet.nonce, 4015 container: cache.sheet.container, 4016 speedy: cache.sheet.isSpeedy 4017 }); 4018 var rehydrating = false; 4019 var node = document.querySelector('style[data-emotion="' + key + " " + serialized.name + '"]'); 4020 if (cache.sheet.tags.length) { 4021 sheet.before = cache.sheet.tags[0]; 4022 } 4023 if (node !== null) { 4024 rehydrating = true; 4025 node.setAttribute("data-emotion", key); 4026 sheet.hydrate([node]); 4027 } 4028 sheetRef.current = [sheet, rehydrating]; 4029 return function() { 4030 sheet.flush(); 4031 }; 4032 }, [cache]); 4033 useInsertionEffectWithFallbacks.useInsertionEffectWithLayoutFallback(function() { 4034 var sheetRefCurrent = sheetRef.current; 4035 var sheet = sheetRefCurrent[0], rehydrating = sheetRefCurrent[1]; 4036 if (rehydrating) { 4037 sheetRefCurrent[1] = false; 4038 return; 4039 } 4040 if (serialized.next !== void 0) { 4041 utils.insertStyles(cache, serialized.next, true); 4042 } 4043 if (sheet.tags.length) { 4044 var element = sheet.tags[sheet.tags.length - 1].nextElementSibling; 4045 sheet.before = element; 4046 sheet.flush(); 4047 } 4048 cache.insert("", serialized, sheet, false); 4049 }, [cache, serialized.name]); 4050 return null; 4051 }); 4052 if (true) { 4053 Global.displayName = "EmotionGlobal"; 4054 } 4055 function css5() { 4056 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 4057 args[_key] = arguments[_key]; 4058 } 4059 return serialize.serializeStyles(args); 4060 } 4061 var keyframes2 = function keyframes3() { 4062 var insertable = css5.apply(void 0, arguments); 4063 var name = "animation-" + insertable.name; 4064 return { 4065 name, 4066 styles: "@keyframes " + name + "{" + insertable.styles + "}", 4067 anim: 1, 4068 toString: function toString() { 4069 return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; 4070 } 4071 }; 4072 }; 4073 var classnames = function classnames2(args) { 4074 var len = args.length; 4075 var i2 = 0; 4076 var cls = ""; 4077 for (; i2 < len; i2++) { 4078 var arg = args[i2]; 4079 if (arg == null) 4080 continue; 4081 var toAdd = void 0; 4082 switch (typeof arg) { 4083 case "boolean": 4084 break; 4085 case "object": { 4086 if (Array.isArray(arg)) { 4087 toAdd = classnames2(arg); 4088 } else { 4089 if (arg.styles !== void 0 && arg.name !== void 0) { 4090 console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."); 4091 } 4092 toAdd = ""; 4093 for (var k in arg) { 4094 if (arg[k] && k) { 4095 toAdd && (toAdd += " "); 4096 toAdd += k; 4097 } 4098 } 4099 } 4100 break; 4101 } 4102 default: { 4103 toAdd = arg; 4104 } 4105 } 4106 if (toAdd) { 4107 cls && (cls += " "); 4108 cls += toAdd; 4109 } 4110 } 4111 return cls; 4112 }; 4113 function merge(registered, css6, className) { 4114 var registeredStyles = []; 4115 var rawClassName = utils.getRegisteredStyles(registered, registeredStyles, className); 4116 if (registeredStyles.length < 2) { 4117 return className; 4118 } 4119 return rawClassName + css6(registeredStyles); 4120 } 4121 var Insertion = function Insertion2(_ref3) { 4122 var cache = _ref3.cache, serializedArr = _ref3.serializedArr; 4123 var rules = useInsertionEffectWithFallbacks.useInsertionEffectAlwaysWithSyncFallback(function() { 4124 var rules2 = ""; 4125 for (var i2 = 0; i2 < serializedArr.length; i2++) { 4126 var res = utils.insertStyles(cache, serializedArr[i2], false); 4127 if (!emotionElement.isBrowser && res !== void 0) { 4128 rules2 += res; 4129 } 4130 } 4131 if (!emotionElement.isBrowser) { 4132 return rules2; 4133 } 4134 }); 4135 if (!emotionElement.isBrowser && rules.length !== 0) { 4136 var _ref23; 4137 return /* @__PURE__ */ React24.createElement("style", (_ref23 = {}, _ref23["data-emotion"] = cache.key + " " + serializedArr.map(function(serialized) { 4138 return serialized.name; 4139 }).join(" "), _ref23.dangerouslySetInnerHTML = { 4140 __html: rules 4141 }, _ref23.nonce = cache.sheet.nonce, _ref23)); 4142 } 4143 return null; 4144 }; 4145 var ClassNames2 = /* @__PURE__ */ emotionElement.withEmotionCache(function(props, cache) { 4146 var hasRendered = false; 4147 var serializedArr = []; 4148 var css6 = function css7() { 4149 if (hasRendered && true) { 4150 throw new Error("css can only be used during render"); 4151 } 4152 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 4153 args[_key] = arguments[_key]; 4154 } 4155 var serialized = serialize.serializeStyles(args, cache.registered); 4156 serializedArr.push(serialized); 4157 utils.registerStyles(cache, serialized, false); 4158 return cache.key + "-" + serialized.name; 4159 }; 4160 var cx = function cx2() { 4161 if (hasRendered && true) { 4162 throw new Error("cx can only be used during render"); 4163 } 4164 for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { 4165 args[_key2] = arguments[_key2]; 4166 } 4167 return merge(cache.registered, css6, classnames(args)); 4168 }; 4169 var content = { 4170 css: css6, 4171 cx, 4172 theme: React24.useContext(emotionElement.ThemeContext) 4173 }; 4174 var ele = props.children(content); 4175 hasRendered = true; 4176 return /* @__PURE__ */ React24.createElement(React24.Fragment, null, /* @__PURE__ */ React24.createElement(Insertion, { 4177 cache, 4178 serializedArr 4179 }), ele); 4180 }); 4181 if (true) { 4182 ClassNames2.displayName = "EmotionClassNames"; 4183 } 4184 if (true) { 4185 isBrowser = typeof document !== "undefined"; 4186 isTestEnv = typeof jest !== "undefined" || typeof vi !== "undefined"; 4187 if (isBrowser && !isTestEnv) { 4188 globalContext = typeof globalThis !== "undefined" ? globalThis : isBrowser ? window : globalThis; 4189 globalKey = "__EMOTION_REACT_" + pkg.version.split(".")[0] + "__"; 4190 if (globalContext[globalKey]) { 4191 console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."); 4192 } 4193 globalContext[globalKey] = true; 4194 } 4195 } 4196 var isBrowser; 4197 var isTestEnv; 4198 var globalContext; 4199 var globalKey; 4200 exports.CacheProvider = emotionElement.CacheProvider; 4201 exports.ThemeContext = emotionElement.ThemeContext; 4202 exports.ThemeProvider = emotionElement.ThemeProvider; 4203 exports.__unsafe_useEmotionCache = emotionElement.__unsafe_useEmotionCache; 4204 exports.useTheme = emotionElement.useTheme; 4205 Object.defineProperty(exports, "withEmotionCache", { 4206 enumerable: true, 4207 get: function() { 4208 return emotionElement.withEmotionCache; 4209 } 4210 }); 4211 exports.withTheme = emotionElement.withTheme; 4212 exports.ClassNames = ClassNames2; 4213 exports.Global = Global; 4214 exports.createElement = jsx3; 4215 exports.css = css5; 4216 exports.jsx = jsx3; 4217 exports.keyframes = keyframes2; 4218 } 4219}); 4220
vendor: 345 bytes, lines 4221-4233
4221// node_modules/@emotion/react/dist/emotion-react.cjs.js 4222var require_emotion_react_cjs = __commonJS({ 4223 "node_modules/@emotion/react/dist/emotion-react.cjs.js"(exports, module) { 4224 "use strict"; 4225 init_react(); 4226 if (false) { 4227 module.exports = null; 4228 } else { 4229 module.exports = require_emotion_react_cjs_dev(); 4230 } 4231 } 4232}); 4233
vendor: 1,041 bytes, lines 4234-4261
4234// node_modules/@heroicons/react/24/outline/esm/AdjustmentsHorizontalIcon.js 4235init_react(); 4236var React2 = __toESM(require_react(), 1); 4237function AdjustmentsHorizontalIcon({ 4238 title, 4239 titleId, 4240 ...props 4241}, svgRef) { 4242 return /* @__PURE__ */ React2.createElement("svg", Object.assign({ 4243 xmlns: "http://www.w3.org/2000/svg", 4244 fill: "none", 4245 viewBox: "0 0 24 24", 4246 strokeWidth: 1.5, 4247 stroke: "currentColor", 4248 "aria-hidden": "true", 4249 ref: svgRef, 4250 "aria-labelledby": titleId 4251 }, props), title ? /* @__PURE__ */ React2.createElement("title", { 4252 id: titleId 4253 }, title) : null, /* @__PURE__ */ React2.createElement("path", { 4254 strokeLinecap: "round", 4255 strokeLinejoin: "round", 4256 d: "M10.5 6h9.75M10.5 6a1.5 1.5 0 11-3 0m3 0a1.5 1.5 0 10-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-9.75 0h9.75" 4257 })); 4258} 4259var ForwardRef = React2.forwardRef(AdjustmentsHorizontalIcon); 4260var AdjustmentsHorizontalIcon_default = ForwardRef; 4261
vendor: 795 bytes, lines 4262-4289
4262// node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js 4263init_react(); 4264var React3 = __toESM(require_react(), 1); 4265function XMarkIcon({ 4266 title, 4267 titleId, 4268 ...props 4269}, svgRef) { 4270 return /* @__PURE__ */ React3.createElement("svg", Object.assign({ 4271 xmlns: "http://www.w3.org/2000/svg", 4272 fill: "none", 4273 viewBox: "0 0 24 24", 4274 strokeWidth: 1.5, 4275 stroke: "currentColor", 4276 "aria-hidden": "true", 4277 ref: svgRef, 4278 "aria-labelledby": titleId 4279 }, props), title ? /* @__PURE__ */ React3.createElement("title", { 4280 id: titleId 4281 }, title) : null, /* @__PURE__ */ React3.createElement("path", { 4282 strokeLinecap: "round", 4283 strokeLinejoin: "round", 4284 d: "M6 18L18 6M6 6l12 12" 4285 })); 4286} 4287var ForwardRef2 = React3.forwardRef(XMarkIcon); 4288var XMarkIcon_default = ForwardRef2; 4289
vendor: 72 bytes, lines 4290-4292
4290// node_modules/@heroicons/react/24/outline/esm/index.js 4291init_react(); 4292
vendor: 911 bytes, lines 4293-4320
4293// node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js 4294init_react(); 4295var React4 = __toESM(require_react(), 1); 4296function ArrowDownTrayIcon({ 4297 title, 4298 titleId, 4299 ...props 4300}, svgRef) { 4301 return /* @__PURE__ */ React4.createElement("svg", Object.assign({ 4302 xmlns: "http://www.w3.org/2000/svg", 4303 fill: "none", 4304 viewBox: "0 0 24 24", 4305 strokeWidth: 1.5, 4306 stroke: "currentColor", 4307 "aria-hidden": "true", 4308 ref: svgRef, 4309 "aria-labelledby": titleId 4310 }, props), title ? /* @__PURE__ */ React4.createElement("title", { 4311 id: titleId 4312 }, title) : null, /* @__PURE__ */ React4.createElement("path", { 4313 strokeLinecap: "round", 4314 strokeLinejoin: "round", 4315 d: "M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3" 4316 })); 4317} 4318var ForwardRef3 = React4.forwardRef(ArrowDownTrayIcon); 4319var ArrowDownTrayIcon_default = ForwardRef3; 4320
vendor: 831 bytes, lines 4321-4348
4321// node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js 4322init_react(); 4323var React5 = __toESM(require_react(), 1); 4324function ArrowRightIcon({ 4325 title, 4326 titleId, 4327 ...props 4328}, svgRef) { 4329 return /* @__PURE__ */ React5.createElement("svg", Object.assign({ 4330 xmlns: "http://www.w3.org/2000/svg", 4331 fill: "none", 4332 viewBox: "0 0 24 24", 4333 strokeWidth: 1.5, 4334 stroke: "currentColor", 4335 "aria-hidden": "true", 4336 ref: svgRef, 4337 "aria-labelledby": titleId 4338 }, props), title ? /* @__PURE__ */ React5.createElement("title", { 4339 id: titleId 4340 }, title) : null, /* @__PURE__ */ React5.createElement("path", { 4341 strokeLinecap: "round", 4342 strokeLinejoin: "round", 4343 d: "M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3" 4344 })); 4345} 4346var ForwardRef4 = React5.forwardRef(ArrowRightIcon); 4347var ArrowRightIcon_default = ForwardRef4; 4348
vendor: 959 bytes, lines 4349-4376
4349// node_modules/@heroicons/react/24/outline/esm/ArrowUpOnSquareIcon.js 4350init_react(); 4351var React6 = __toESM(require_react(), 1); 4352function ArrowUpOnSquareIcon({ 4353 title, 4354 titleId, 4355 ...props 4356}, svgRef) { 4357 return /* @__PURE__ */ React6.createElement("svg", Object.assign({ 4358 xmlns: "http://www.w3.org/2000/svg", 4359 fill: "none", 4360 viewBox: "0 0 24 24", 4361 strokeWidth: 1.5, 4362 stroke: "currentColor", 4363 "aria-hidden": "true", 4364 ref: svgRef, 4365 "aria-labelledby": titleId 4366 }, props), title ? /* @__PURE__ */ React6.createElement("title", { 4367 id: titleId 4368 }, title) : null, /* @__PURE__ */ React6.createElement("path", { 4369 strokeLinecap: "round", 4370 strokeLinejoin: "round", 4371 d: "M9 8.25H7.5a2.25 2.25 0 00-2.25 2.25v9a2.25 2.25 0 002.25 2.25h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25H15m0-3l-3-3m0 0l-3 3m3-3V15" 4372 })); 4373} 4374var ForwardRef5 = React6.forwardRef(ArrowUpOnSquareIcon); 4375var ArrowUpOnSquareIcon_default = ForwardRef5; 4376
vendor: 855 bytes, lines 4377-4404
4377// node_modules/@heroicons/react/24/outline/esm/ArrowUturnRightIcon.js 4378init_react(); 4379var React7 = __toESM(require_react(), 1); 4380function ArrowUturnRightIcon({ 4381 title, 4382 titleId, 4383 ...props 4384}, svgRef) { 4385 return /* @__PURE__ */ React7.createElement("svg", Object.assign({ 4386 xmlns: "http://www.w3.org/2000/svg", 4387 fill: "none", 4388 viewBox: "0 0 24 24", 4389 strokeWidth: 1.5, 4390 stroke: "currentColor", 4391 "aria-hidden": "true", 4392 ref: svgRef, 4393 "aria-labelledby": titleId 4394 }, props), title ? /* @__PURE__ */ React7.createElement("title", { 4395 id: titleId 4396 }, title) : null, /* @__PURE__ */ React7.createElement("path", { 4397 strokeLinecap: "round", 4398 strokeLinejoin: "round", 4399 d: "M15 15l6-6m0 0l-6-6m6 6H9a6 6 0 000 12h3" 4400 })); 4401} 4402var ForwardRef6 = React7.forwardRef(ArrowUturnRightIcon); 4403var ArrowUturnRightIcon_default = ForwardRef6; 4404
vendor: 877 bytes, lines 4405-4431
4405// node_modules/@heroicons/react/24/outline/esm/AtSymbolIcon.js 4406init_react(); 4407var React8 = __toESM(require_react(), 1); 4408function AtSymbolIcon({ 4409 title, 4410 titleId, 4411 ...props 4412}, svgRef) { 4413 return /* @__PURE__ */ React8.createElement("svg", Object.assign({ 4414 xmlns: "http://www.w3.org/2000/svg", 4415 fill: "none", 4416 viewBox: "0 0 24 24", 4417 strokeWidth: 1.5, 4418 stroke: "currentColor", 4419 "aria-hidden": "true", 4420 ref: svgRef, 4421 "aria-labelledby": titleId 4422 }, props), title ? /* @__PURE__ */ React8.createElement("title", { 4423 id: titleId 4424 }, title) : null, /* @__PURE__ */ React8.createElement("path", { 4425 strokeLinecap: "round", 4426 d: "M16.5 12a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 10-2.636 6.364M16.5 12V8.25" 4427 })); 4428} 4429var ForwardRef7 = React8.forwardRef(AtSymbolIcon); 4430var AtSymbolIcon_default = ForwardRef7; 4431
vendor: 826 bytes, lines 4432-4459
4432// node_modules/@heroicons/react/24/outline/esm/ChevronDownIcon.js 4433init_react(); 4434var React9 = __toESM(require_react(), 1); 4435function ChevronDownIcon({ 4436 title, 4437 titleId, 4438 ...props 4439}, svgRef) { 4440 return /* @__PURE__ */ React9.createElement("svg", Object.assign({ 4441 xmlns: "http://www.w3.org/2000/svg", 4442 fill: "none", 4443 viewBox: "0 0 24 24", 4444 strokeWidth: 1.5, 4445 stroke: "currentColor", 4446 "aria-hidden": "true", 4447 ref: svgRef, 4448 "aria-labelledby": titleId 4449 }, props), title ? /* @__PURE__ */ React9.createElement("title", { 4450 id: titleId 4451 }, title) : null, /* @__PURE__ */ React9.createElement("path", { 4452 strokeLinecap: "round", 4453 strokeLinejoin: "round", 4454 d: "M19.5 8.25l-7.5 7.5-7.5-7.5" 4455 })); 4456} 4457var ForwardRef8 = React9.forwardRef(ChevronDownIcon); 4458var ChevronDownIcon_default = ForwardRef8; 4459
vendor: 822 bytes, lines 4460-4487
4460// node_modules/@heroicons/react/24/outline/esm/ChevronUpIcon.js 4461init_react(); 4462var React10 = __toESM(require_react(), 1); 4463function ChevronUpIcon({ 4464 title, 4465 titleId, 4466 ...props 4467}, svgRef) { 4468 return /* @__PURE__ */ React10.createElement("svg", Object.assign({ 4469 xmlns: "http://www.w3.org/2000/svg", 4470 fill: "none", 4471 viewBox: "0 0 24 24", 4472 strokeWidth: 1.5, 4473 stroke: "currentColor", 4474 "aria-hidden": "true", 4475 ref: svgRef, 4476 "aria-labelledby": titleId 4477 }, props), title ? /* @__PURE__ */ React10.createElement("title", { 4478 id: titleId 4479 }, title) : null, /* @__PURE__ */ React10.createElement("path", { 4480 strokeLinecap: "round", 4481 strokeLinejoin: "round", 4482 d: "M4.5 15.75l7.5-7.5 7.5 7.5" 4483 })); 4484} 4485var ForwardRef9 = React10.forwardRef(ChevronUpIcon); 4486var ChevronUpIcon_default = ForwardRef9; 4487
vendor: 896 bytes, lines 4488-4515
4488// node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js 4489init_react(); 4490var React11 = __toESM(require_react(), 1); 4491function MagnifyingGlassIcon({ 4492 title, 4493 titleId, 4494 ...props 4495}, svgRef) { 4496 return /* @__PURE__ */ React11.createElement("svg", Object.assign({ 4497 xmlns: "http://www.w3.org/2000/svg", 4498 fill: "none", 4499 viewBox: "0 0 24 24", 4500 strokeWidth: 1.5, 4501 stroke: "currentColor", 4502 "aria-hidden": "true", 4503 ref: svgRef, 4504 "aria-labelledby": titleId 4505 }, props), title ? /* @__PURE__ */ React11.createElement("title", { 4506 id: titleId 4507 }, title) : null, /* @__PURE__ */ React11.createElement("path", { 4508 strokeLinecap: "round", 4509 strokeLinejoin: "round", 4510 d: "M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" 4511 })); 4512} 4513var ForwardRef10 = React11.forwardRef(MagnifyingGlassIcon); 4514var MagnifyingGlassIcon_default = ForwardRef10; 4515
vendor: 1,079 bytes, lines 4516-4543
4516// node_modules/@heroicons/react/24/outline/esm/PhotoIcon.js 4517init_react(); 4518var React12 = __toESM(require_react(), 1); 4519function PhotoIcon({ 4520 title, 4521 titleId, 4522 ...props 4523}, svgRef) { 4524 return /* @__PURE__ */ React12.createElement("svg", Object.assign({ 4525 xmlns: "http://www.w3.org/2000/svg", 4526 fill: "none", 4527 viewBox: "0 0 24 24", 4528 strokeWidth: 1.5, 4529 stroke: "currentColor", 4530 "aria-hidden": "true", 4531 ref: svgRef, 4532 "aria-labelledby": titleId 4533 }, props), title ? /* @__PURE__ */ React12.createElement("title", { 4534 id: titleId 4535 }, title) : null, /* @__PURE__ */ React12.createElement("path", { 4536 strokeLinecap: "round", 4537 strokeLinejoin: "round", 4538 d: "M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z" 4539 })); 4540} 4541var ForwardRef11 = React12.forwardRef(PhotoIcon); 4542var PhotoIcon_default = ForwardRef11; 4543
vendor: 1,133 bytes, lines 4544-4571
4544// node_modules/@heroicons/react/24/outline/esm/StarIcon.js 4545init_react(); 4546var React13 = __toESM(require_react(), 1); 4547function StarIcon({ 4548 title, 4549 titleId, 4550 ...props 4551}, svgRef) { 4552 return /* @__PURE__ */ React13.createElement("svg", Object.assign({ 4553 xmlns: "http://www.w3.org/2000/svg", 4554 fill: "none", 4555 viewBox: "0 0 24 24", 4556 strokeWidth: 1.5, 4557 stroke: "currentColor", 4558 "aria-hidden": "true", 4559 ref: svgRef, 4560 "aria-labelledby": titleId 4561 }, props), title ? /* @__PURE__ */ React13.createElement("title", { 4562 id: titleId 4563 }, title) : null, /* @__PURE__ */ React13.createElement("path", { 4564 strokeLinecap: "round", 4565 strokeLinejoin: "round", 4566 d: "M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z" 4567 })); 4568} 4569var ForwardRef12 = React13.forwardRef(StarIcon); 4570var StarIcon_default2 = ForwardRef12; 4571
vendor: 1,189 bytes, lines 4572-4599
4572// node_modules/@heroicons/react/24/outline/esm/TrashIcon.js 4573init_react(); 4574var React14 = __toESM(require_react(), 1); 4575function TrashIcon({ 4576 title, 4577 titleId, 4578 ...props 4579}, svgRef) { 4580 return /* @__PURE__ */ React14.createElement("svg", Object.assign({ 4581 xmlns: "http://www.w3.org/2000/svg", 4582 fill: "none", 4583 viewBox: "0 0 24 24", 4584 strokeWidth: 1.5, 4585 stroke: "currentColor", 4586 "aria-hidden": "true", 4587 ref: svgRef, 4588 "aria-labelledby": titleId 4589 }, props), title ? /* @__PURE__ */ React14.createElement("title", { 4590 id: titleId 4591 }, title) : null, /* @__PURE__ */ React14.createElement("path", { 4592 strokeLinecap: "round", 4593 strokeLinejoin: "round", 4594 d: "M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" 4595 })); 4596} 4597var ForwardRef13 = React14.forwardRef(TrashIcon); 4598var TrashIcon_default = ForwardRef13; 4599
vendor: 971 bytes, lines 4600-4626
4600// node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js 4601init_react(); 4602var React15 = __toESM(require_react(), 1); 4603function VideoCameraIcon({ 4604 title, 4605 titleId, 4606 ...props 4607}, svgRef) { 4608 return /* @__PURE__ */ React15.createElement("svg", Object.assign({ 4609 xmlns: "http://www.w3.org/2000/svg", 4610 fill: "none", 4611 viewBox: "0 0 24 24", 4612 strokeWidth: 1.5, 4613 stroke: "currentColor", 4614 "aria-hidden": "true", 4615 ref: svgRef, 4616 "aria-labelledby": titleId 4617 }, props), title ? /* @__PURE__ */ React15.createElement("title", { 4618 id: titleId 4619 }, title) : null, /* @__PURE__ */ React15.createElement("path", { 4620 strokeLinecap: "round", 4621 d: "M15.75 10.5l4.72-4.72a.75.75 0 011.28.53v11.38a.75.75 0 01-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25h-9A2.25 2.25 0 002.25 7.5v9a2.25 2.25 0 002.25 2.25z" 4622 })); 4623} 4624var ForwardRef14 = React15.forwardRef(VideoCameraIcon); 4625var VideoCameraIcon_default = ForwardRef14; 4626
vendor: 857 bytes, lines 4627-4654
4627// node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js 4628init_react(); 4629var React16 = __toESM(require_react(), 1); 4630function XCircleIcon({ 4631 title, 4632 titleId, 4633 ...props 4634}, svgRef) { 4635 return /* @__PURE__ */ React16.createElement("svg", Object.assign({ 4636 xmlns: "http://www.w3.org/2000/svg", 4637 fill: "none", 4638 viewBox: "0 0 24 24", 4639 strokeWidth: 1.5, 4640 stroke: "currentColor", 4641 "aria-hidden": "true", 4642 ref: svgRef, 4643 "aria-labelledby": titleId 4644 }, props), title ? /* @__PURE__ */ React16.createElement("title", { 4645 id: titleId 4646 }, title) : null, /* @__PURE__ */ React16.createElement("path", { 4647 strokeLinecap: "round", 4648 strokeLinejoin: "round", 4649 d: "M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z" 4650 })); 4651} 4652var ForwardRef15 = React16.forwardRef(XCircleIcon); 4653var XCircleIcon_default = ForwardRef15; 4654
4655// app/theme/default.ts 4656init_react(); 4657var default_default = { 4658 accordion: { 4659 base: "divide-y divide-gray-200 border-gray-200 dark:divide-gray-700 dark:border-gray-700", 4660 content: { 4661 base: "py-5 px-5 last:rounded-b-lg dark:bg-gray-900 first:rounded-t-lg" 4662 }, 4663 flush: { 4664 off: "rounded-lg border", 4665 on: "border-b" 4666 }, 4667 title: { 4668 arrow: { 4669 base: "h-6 w-6 shrink-0", 4670 open: { 4671 off: "", 4672 on: "rotate-180" 4673 } 4674 }, 4675 base: "flex w-full items-center justify-between first:rounded-t-lg last:rounded-b-lg py-5 px-5 text-left font-medium text-gray-500 dark:text-gray-400", 4676 flush: { 4677 off: "hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-800 dark:focus:ring-gray-800", 4678 on: "!bg-transparent dark:!bg-transparent" 4679 }, 4680 heading: "", 4681 open: { 4682 off: "", 4683 on: "text-gray-900 bg-gray-100 dark:bg-gray-800 dark:text-white" 4684 } 4685 } 4686 }, 4687 button: { 4688 base: "cursor-pointer inline-flex items-center rounded-md border border-transparent py-2.5 focus:outline-none focus:ring-0 focus:ring-none focus:ring-offset-0", 4689 color: { 4690 secondary: "bg-btnColor-secondary text-sm font-medium text-white hover:bg-btnColor-hoveSecondary", 4691 primary: "bg-textColor-primary text-sm font-medium text-white hover:bg-btnColor-hoverPrimary" 4692 }, 4693 navBar: "bg-btnColor-navBar rounded-full hover:bg-btnColor-hoverNav", 4694 disabled: "cursor-not-allowed opacity-50" 4695 } 4696}; 4697
4698// app/shared/search_box.tsx 4699init_react(); 4700var import_react = __toESM(require_react()); 4701init_esm(); 4702var SearchBox = ({ 4703 isLandingPage = false, 4704 formAction, 4705 query, 4706 onSubmit, 4707 setSearchQuery, 4708 activeTab = "medien" 4709}) => { 4710 const { button } = default_default; 4711 const { base } = button; 4712 const navigate = useNavigate(); 4713 const getLehrplanfilterLink = () => { 4714 if (activeTab === "fachartikel") { 4715 return "/professional_article/main?openmoldal=1"; 4716 } 4717 return "/search/main?openmoldal=1"; 4718 }; 4719 const handleKeyup = () => { 4720 navigate(formAction); 4721 if (typeof onSubmit === "function") { 4722 onSubmit(); 4723 } 4724 }; 4725 return /* @__PURE__ */ import_react.default.createElement("div", { 4726 className: "flex w-full lg:justify-center lg:align-middle" 4727 }, /* @__PURE__ */ import_react.default.createElement("div", { 4728 className: class_names_default(isLandingPage ? "justify-center" : "justify-start ", "relative flex w-full items-center lg:justify-between") 4729 }, /* @__PURE__ */ import_react.default.createElement("div", { 4730 className: class_names_default("min-w-0 flex-1 md:px-8 lg:px-0 xl:col-span-6") 4731 }, /* @__PURE__ */ import_react.default.createElement("div", { 4732 className: "flex items-center py-4 md:mx-auto md:max-w-3xl lg:mx-0 lg:max-w-none xl:px-0" 4733 }, /* @__PURE__ */ import_react.default.createElement("div", { 4734 className: "w-full" 4735 }, /* @__PURE__ */ import_react.default.createElement("div", { 4736 className: "relative" 4737 }, /* @__PURE__ */ import_react.default.createElement("div", { 4738 className: "pointer-events-none absolute inset-y-0 left-0 hidden items-center pl-3 md:flex" 4739 }, /* @__PURE__ */ import_react.default.createElement(MagnifyingGlassIcon_default, { 4740 className: "h-5 w-5 text-black", 4741 "aria-hidden": "true" 4742 })), /* @__PURE__ */ import_react.default.createElement("input", { 4743 value: query, 4744 onChange: (e) => setSearchQuery(e.currentTarget.value), 4745 onKeyUp: (event) => { 4746 if (event.key === "Enter") { 4747 handleKeyup(); 4748 } 4749 }, 4750 name: "q", 4751 className: class_names_default(isLandingPage ? "bg-[#F6F6F6]" : "bg-white", `block w-full rounded-full py-3 4752 pl-10 pr-3 text-sm placeholder-gray-500 shadow-[0_1px_3px_rgba(0,0,0,0.134479)] focus:border-btnColor-secondary focus:text-gray-900 focus:placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-btnColor-secondary sm:text-sm`), 4753 placeholder: isLandingPage ? activeTab === "fachartikel" ? "Finde deinen Fachbeitrag" : activeTab === "medien" ? "Finde dein Medium" : "Finde ..." : "Suche ..." 4754 }))))), /* @__PURE__ */ import_react.default.createElement("div", { 4755 className: "ml-1 flex-col md:hidden" 4756 }, /* @__PURE__ */ import_react.default.createElement("button", { 4757 type: "button", 4758 onClick: () => { 4759 navigate(formAction); 4760 if (typeof onSubmit === "function") { 4761 onSubmit(); 4762 } 4763 }, 4764 className: class_names_default(base, "group rounded-full bg-btnColor-secondary px-2.5 text-xs font-normal text-white") 4765 }, " ", /* @__PURE__ */ import_react.default.createElement(MagnifyingGlassIcon_default, { 4766 className: class_names_default("h-6 w-6 text-white"), 4767 "aria-hidden": "true" 4768 }))), /* @__PURE__ */ import_react.default.createElement("div", { 4769 className: "ml-3 hidden md:flex" 4770 }, isLandingPage && /* @__PURE__ */ import_react.default.createElement(Link, { 4771 to: getLehrplanfilterLink() 4772 }, /* @__PURE__ */ import_react.default.createElement("button", { 4773 type: "button", 4774 className: class_names_default("inline-flex items-center rounded-full bg-[#F6F6F6] px-6 py-2 text-xs font-medium text-gray-500 hover:bg-btnColor-hoverPrimary hover:text-white md:text-sm", base) 4775 }, /* @__PURE__ */ import_react.default.createElement(AdjustmentsHorizontalIcon_default, { 4776 className: "mr-2 h-4 w-4", 4777 "aria-hidden": "true" 4778 }), /* @__PURE__ */ import_react.default.createElement("span", null, "Lehrplanfilter"))), /* @__PURE__ */ import_react.default.createElement("button", { 4779 onClick: () => { 4780 navigate(formAction); 4781 if (typeof onSubmit === "function") { 4782 onSubmit(); 4783 } 4784 }, 4785 type: "button", 4786 className: "ml-3 inline-flex items-center rounded-full border border-transparent bg-btnColor-secondary px-6 py-2 text-xs font-medium text-white shadow-sm hover:bg-btnColor-hoveSecondary focus:outline-none focus:ring-2 focus:ring-btnColor-secondary focus:ring-offset-2 md:px-8 md:text-sm" 4787 }, isLandingPage ? activeTab === "fachartikel" ? "Fachbeitrag finden" : "Medien finden" : "Suchen")))); 4788}; 4789var search_box_default = SearchBox; 4790
4791// app/shared/spinner.tsx 4792init_react(); 4793var import_react3 = __toESM(require_react()); 4794
4795// styles/custom_colors.ts 4796init_react(); 4797var customColors = { 4798 white: "#ffffff", 4799 black: "#040404", 4800 grey: "rgb(158,158,158)", 4801 greyLight: "rgb(242, 242, 242)", 4802 purple: "rgb(135,101,210)", 4803 dark: "#000", 4804 brand: "rgb(10,25,178)", 4805 primary: "rgb(10,25,178)", 4806 primaryLight: "rgba(10,25,178, 0.1)", 4807 secondary: "rgb(255,189,51)", 4808 secondaryLight: "#5b6175", 4809 active: "rgb(194, 97, 29)", 4810 dark2: "#061034", 4811 border: "#cccccc", 4812 titleColor: "#061034", 4813 activeBg: "rgb(226,249,241)", 4814 activeText: "rgb(0,202,131)", 4815 nightBlue: "#061034", 4816 lightBackground: "#f3f6f9", 4817 tagsFontColor: "#5b6175" 4818}; 4819
4820// app/shared/spinner.tsx 4821var spinning = (color) => /* @__PURE__ */ import_react3.default.createElement("svg", { 4822 version: "1.1", 4823 viewBox: "0 0 32 32", 4824 width: "28px", 4825 height: "28px", 4826 fill: color || customColors.brand 4827}, /* @__PURE__ */ import_react3.default.createElement("path", { 4828 opacity: ".25", 4829 d: "M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4" 4830}), /* @__PURE__ */ import_react3.default.createElement("path", { 4831 d: "M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z" 4832}, /* @__PURE__ */ import_react3.default.createElement("animateTransform", { 4833 attributeName: "transform", 4834 type: "rotate", 4835 from: "0 16 16", 4836 to: "360 16 16", 4837 dur: "0.8s", 4838 repeatCount: "indefinite" 4839}))); 4840var Spinner = ({ color }) => /* @__PURE__ */ import_react3.default.createElement("div", { 4841 className: "flex h-full items-center justify-center" 4842}, spinning(color || null)); 4843var spinner_default = Spinner; 4844
4845// app/shared/error_boundary.tsx 4846init_react(); 4847init_esm(); 4848function ErrorBoundary({ error }) { 4849 return /* @__PURE__ */ React.createElement("div", { 4850 className: "h-screen bg-white px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8" 4851 }, /* @__PURE__ */ React.createElement("div", { 4852 className: "mx-auto max-w-max" 4853 }, /* @__PURE__ */ React.createElement("main", { 4854 className: "sm:flex" 4855 }, /* @__PURE__ */ React.createElement("p", { 4856 className: "text-4xl font-extrabold text-indigo-600 sm:text-5xl" 4857 }, "500"), /* @__PURE__ */ React.createElement("div", { 4858 className: "sm:ml-6" 4859 }, /* @__PURE__ */ React.createElement("div", { 4860 className: "sm:border-l sm:border-gray-200 sm:pl-6" 4861 }, /* @__PURE__ */ React.createElement("h1", { 4862 className: "text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl" 4863 }, "Unexpected Error"), /* @__PURE__ */ React.createElement("p", { 4864 className: "mt-1 text-base text-gray-500" 4865 }, error.message)), /* @__PURE__ */ React.createElement("div", { 4866 className: "mt-10 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6" 4867 }, /* @__PURE__ */ React.createElement(Link, { 4868 to: "/media/home", 4869 className: "inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2" 4870 }, "Go back home")))))); 4871} 4872
4873// app/shared/cards/new_card.tsx 4874init_react(); 4875
4876// app/shared/index.ts 4877init_react(); 4878
4879// app/shared/search_box_header.tsx 4880init_react(); 4881var import_react5 = __toESM(require_react()); 4882init_esm(); 4883var searchOptions = [ 4884 { value: "medien", label: "Medien" }, 4885 { value: "fachartikel", label: "Fachbeitr\xE4ge" } 4886]; 4887var SearchBoxHeader = ({ 4888 query = "", 4889 setSearchQuery, 4890 onSubmit 4891}) => { 4892 const navigate = useNavigate(); 4893 const [activeType, setActiveType] = (0, import_react5.useState)("medien"); 4894 const [isDropdownOpen, setIsDropdownOpen] = (0, import_react5.useState)(false); 4895 const selectedLabel = (0, import_react5.useMemo)(() => { 4896 var _a; 4897 const selected = searchOptions.find((option) => option.value === activeType); 4898 return (_a = selected == null ? void 0 : selected.label) != null ? _a : "Medien"; 4899 }, [activeType]); 4900 const getActionByType = (type, searchQuery) => { 4901 const encodedQuery = encodeURIComponent(searchQuery); 4902 if (type === "fachartikel") { 4903 return `/professional_article/main?q=${encodedQuery}`; 4904 } 4905 return `/search/main?q=${encodedQuery}`; 4906 }; 4907 const handleSearch = () => { 4908 navigate(getActionByType(activeType, query)); 4909 if (typeof onSubmit === "function") { 4910 onSubmit(); 4911 } 4912 }; 4913 return /* @__PURE__ */ import_react5.default.createElement("div", { 4914 className: "w-full" 4915 }, /* @__PURE__ */ import_react5.default.createElement("div", { 4916 className: "flex w-full" 4917 }, /* @__PURE__ */ import_react5.default.createElement("label", { 4918 htmlFor: "header-search-input", 4919 className: "sr-only mb-2.5 block text-sm font-medium text-gray-700" 4920 }, "Suche"), /* @__PURE__ */ import_react5.default.createElement("div", { 4921 className: "relative" 4922 }, /* @__PURE__ */ import_react5.default.createElement("button", { 4923 id: "dropdown-button-search-type", 4924 type: "button", 4925 onClick: () => setIsDropdownOpen((prev) => !prev), 4926 className: "z-10 inline-flex shrink-0 items-center rounded-l-full border border-transparent bg-white px-4 py-3 text-sm font-medium leading-5 text-gray-700 shadow-[0_1px_3px_rgba(0,0,0,0.134479)] hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-btnColor-secondary", 4927 "aria-haspopup": "listbox", 4928 "aria-expanded": isDropdownOpen 4929 }, selectedLabel, /* @__PURE__ */ import_react5.default.createElement(ChevronDownIcon_default, { 4930 className: "ml-1.5 h-4 w-4", 4931 "aria-hidden": "true" 4932 })), isDropdownOpen && /* @__PURE__ */ import_react5.default.createElement("div", { 4933 id: "dropdown-search-type", 4934 className: "absolute left-0 top-full z-10 mt-1 w-44 rounded-md border border-gray-300 bg-white shadow-lg" 4935 }, /* @__PURE__ */ import_react5.default.createElement("ul", { 4936 className: "p-2 text-sm font-medium text-gray-600", 4937 "aria-labelledby": "dropdown-button-search-type" 4938 }, searchOptions.map((option) => /* @__PURE__ */ import_react5.default.createElement("li", { 4939 key: option.value 4940 }, /* @__PURE__ */ import_react5.default.createElement("button", { 4941 type: "button", 4942 onClick: () => { 4943 setActiveType(option.value); 4944 setIsDropdownOpen(false); 4945 }, 4946 className: class_names_default("inline-flex w-full items-center rounded-md p-2 text-left hover:bg-gray-100 hover:text-gray-900", activeType === option.value ? "bg-gray-100 text-gray-900" : "") 4947 }, option.label)))))), /* @__PURE__ */ import_react5.default.createElement("input", { 4948 id: "header-search-input", 4949 type: "search", 4950 value: query, 4951 onChange: (event) => setSearchQuery(event.currentTarget.value), 4952 onKeyUp: (event) => { 4953 if (event.key === "Enter") { 4954 handleSearch(); 4955 } 4956 }, 4957 className: "block w-full border border-transparent bg-white px-3 py-3 text-sm text-gray-900 shadow-[0_1px_3px_rgba(0,0,0,0.134479)] placeholder:text-gray-500 focus:border-btnColor-secondary focus:outline-none focus:ring-0", 4958 placeholder: activeType === "fachartikel" ? "Suche nach Fachbeitr\xE4gen" : "Suche nach Medien", 4959 required: true 4960 }), /* @__PURE__ */ import_react5.default.createElement("button", { 4961 type: "button", 4962 onClick: handleSearch, 4963 className: "inline-flex items-center rounded-r-full border border-transparent bg-btnColor-secondary px-4 py-3 text-sm font-medium leading-5 text-white hover:bg-btnColor-hoveSecondary focus:outline-none focus:ring-2 focus:ring-btnColor-secondary" 4964 }
4964, /* @__PURE__ */ import_react5.default.createElement(MagnifyingGlassIcon_default, { 4965 className: "mr-1.5 h-4 w-4", 4966 "aria-hidden": "true" 4967 }), "Suchen"))); 4968}; 4969var search_box_header_default = SearchBoxHeader; 4970
4971// app/shared/cards/themenschwerpunkteCard.tsx 4972init_react(); 4973var CardMinimal = ({ name, picture, subtitle }) => { 4974 const url = picture ? get_image_url_default(picture.file.url) : ""; 4975 if (!url) 4976 return null; 4977 return /* @__PURE__ */ React.createElement("div", { 4978 className: "break-inside relative w-full overflow-hidden rounded-[10px] \n bg-white shadow-card transition-shadow duration-300 hover:bg-slate-100" 4979 }, /* @__PURE__ */ React.createElement("img", { 4980 "data-mdb-ripple": "true", 4981 "data-mdb-ripple-color": "light", 4982 src: url, 4983 className: "h-52 w-full object-cover", 4984 alt: "" 4985 }), /* @__PURE__ */ React.createElement("div", { 4986 className: "border border-t-0 p-5" 4987 }, /* @__PURE__ */ React.createElement("h4", { 4988 "aria-label": "Category", 4989 className: "mb-2 inline-block\n text-cardTitle font-bold text-textColor-primary transition-colors duration-200" 4990 }, name), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { 4991 className: "text-xs leading-5 text-textColor-light" 4992 }, subtitle ? subtitle : "no description found")))); 4993}; 4994
4995// app/shared/tabs.tsx 4996init_react(); 4997init_esm(); 4998var Tabs = ({ 4999 current, 5000 onSelect, 5001 counter, 5002 tabs 5003}) => { 5004 return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { 5005 className: "hidden sm:block" 5006 }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("nav", { 5007 className: "-mb-px flex items-center space-x-8", 5008 "aria-label": "Tabs" 5009 }, tabs.map((tab) => /* @__PURE__ */ React.createElement("div", { 5010 className: "flex items-center", 5011 key: tab.id 5012 }, tab.url && tab.isInternal ? /* @__PURE__ */ React.createElement(Link, { 5013 to: tab.url, 5014 className: class_names_default(current === tab.id ? "border-b-4 border-secondary text-base font-bold text-black" : "text-gray-500 hover:text-gray-700", "flex items-center whitespace-nowrap border-b-4 border-transparent py-4 px-1 text-base font-medium hover:border-secondary"), 5015 "aria-current": tab.id ? "page" : void 0 5016 }, tab.icon && /* @__PURE__ */ React.createElement(tab.icon, { 5017 className: class_names_default(current === tab.id ? "text-orange-500" : "text-gray-400", "mr-1.5 h-5 w-5 flex-shrink-0"), 5018 "aria-hidden": "true" 5019 }), tab.name) : tab.url ? /* @__PURE__ */ React.createElement("a", { 5020 href: tab.url, 5021 target: "_blank", 5022 rel: "noopener noreferrer", 5023 className: class_names_default(current === tab.id ? "border-b-4 border-secondary text-base font-bold text-black" : "text-gray-500 hover:text-gray-700", "flex items-center whitespace-nowrap border-b-4 border-transparent py-4 px-1 text-base font-medium hover:border-secondary"), 5024 "aria-current": tab.id ? "page" : void 0 5025 }
5025, tab.icon && /* @__PURE__ */ React.createElement(tab.icon, { 5026 className: class_names_default(current === tab.id ? "text-orange-500" : "text-gray-400", "mr-1.5 h-5 w-5 flex-shrink-0"), 5027 "aria-hidden": "true" 5028 }), tab.name) : /* @__PURE__ */ React.createElement("p", { 5029 onClick: () => onSelect({ 5030 id: tab.id, 5031 status: tab.status 5032 }), 5033 className: class_names_default(current === tab.id ? "border-b-4 border-secondary text-base font-bold text-black" : "text-gray-500 hover:text-gray-700", "flex cursor-pointer items-center whitespace-nowrap border-b-4 border-transparent py-4 px-1 text-base font-medium hover:border-secondary"), 5034 "aria-current": tab.id ? "page" : void 0 5035 }, tab.icon && /* @__PURE__ */ React.createElement(tab.icon, { 5036 className: class_names_default(current === tab.id ? "text-orange-500" : "text-gray-400", "mr-1.5 h-5 w-5 flex-shrink-0"), 5037 "aria-hidden": "true" 5038 }), tab.name), tab.hasCounter && counter > 0 && /* @__PURE__ */ React.createElement("span", { 5039 className: "font-sm flex flex-shrink-0 items-center rounded-full bg-orange-200 px-2 py-0.5 text-sm text-orange-800" 5040 }, counter))))))); 5041}; 5042var tabs_default = Tabs; 5043
5044// app/shared/team_section.tsx 5045init_react(); 5046
5047// app/shared/cards/team_card.tsx 5048init_react(); 5049var TeamCard = ({ avatar, name, jobTitle, description }) => { 5050 return /* @__PURE__ */ React.createElement("li", { 5051 className: "rounded-lg bg-white py-10 px-6 text-center xl:text-left" 5052 }, /* @__PURE__ */ React.createElement("div", { 5053 className: "space-y-6 xl:space-y-10" 5054 }, /* @__PURE__ */ React.createElement("img", { 5055 className: "mx-auto h-40 w-40 rounded-full xl:h-56 xl:w-56", 5056 src: avatar ? get_image_url_default(avatar.url) : "", 5057 alt: "" 5058 }), /* @__PURE__ */ React.createElement("div", { 5059 className: "space-y-1 text-lg font-medium leading-6" 5060 }, /* @__PURE__ */ React.createElement("h2", { 5061 className: "text-3xl font-bold leading-7 text-textColor-light" 5062 }, name), jobTitle && /* @__PURE__ */ React.createElement("p", { 5063 className: "text-xs leading-5 text-slate-500" 5064 }, jobTitle), /* @__PURE__ */ React.createElement("p", { 5065 className: "pt-4 text-slate-500" 5066 }, description)))); 5067}; 5068var TeamCardList = ({ team }) => { 5069 return /* @__PURE__ */ React.createElement("ul", { 5070 className: "space-y-4 sm:grid sm:grid-cols-2 sm:gap-6 sm:space-y-0 lg:grid-cols-3 lg:gap-8" 5071 }, team && team.map((person) => /* @__PURE__ */ React.createElement(TeamCard, { 5072 ...person, 5073 key: person.name 5074 }))); 5075}; 5076
5077// app/assets/images/inkusion/hero-dot-bg.png 5078var hero_dot_bg_default = "/build/_assets/hero-dot-bg-ACJW6LXP.png"; 5079
5080// app/assets/images/inkusion/team-illustration.png 5081var team_illustration_default = "/build/_assets/team-illustration-BJVSJZVT.png"; 5082
5083// app/assets/images/inkusion/wave-bg-top-white.svg 5084var wave_bg_top_white_default = "/build/_assets/wave-bg-top-white-YLGASMOG.svg"; 5085
5086// app/layout/section.tsx 5087init_react(); 5088var Section = ({ 5089 children, 5090 className = "", 5091 id 5092}) => { 5093 return /* @__PURE__ */ React.createElement("div", { 5094 id, 5095 className: `section-wrapper py-3 5096 md:px-0 5097 md:py-10 5098 md:text-left 5099 ${className}` 5100 }, children); 5101}; 5102
5103// app/shared/team_section.tsx 5104function TeamSection({ team }) { 5105 return /* @__PURE__ */ React.createElement("div", { 5106 style: { 5107 backgroundImage: `linear-gradient(90deg,#FFAB00 0, #FFC500 100%)`, 5108 backgroundSize: "100%", 5109 backgroundPosition: "100% 100%", 5110 backgroundRepeat: "repeat" 5111 }, 5112 className: "relative mt-40" 5113 }, /* @__PURE__ */ React.createElement("div", { 5114 className: "absolute right-10 -top-28 \n hidden lg:block 2xl:right-14 3xl:left-2/4 3xl:ml-28" 5115 }, /* @__PURE__ */ React.createElement("img", { 5116 alt: "team-hero", 5117 className: "z-0 w-full object-contain lg:h-96 xl:h-full 3xl:h-[628px]", 5118 src: team_illustration_default 5119 })), /* @__PURE__ */ React.createElement("div", { 5120 style: { 5121 zIndex: 0, 5122 backgroundImage: `url(${hero_dot_bg_default})`, 5123 backgroundSize: "100%", 5124 backgroundPosition: "100% 10%", 5125 backgroundRepeat: "repeat" 5126 } 5127 }, /* @__PURE__ */ React.createElement(Section, { 5128 className: "relative z-40" 5129 }, /* @__PURE__ */ React.createElement("div", { 5130 className: "space-y-12" 5131 }, /* @__PURE__ */ React.createElement("div", { 5132 className: "space-y-5 sm:space-y-4" 5133 }, /* @__PURE__ */ React.createElement("h2", { 5134 className: "text-3xl font-bold tracking-tight text-primary md:text-6xl" 5135 }, "Unser Team"), /* @__PURE__ */ React.createElement("p", { 5136 className: "text-lg text-primary lg:max-w-md 2xl:max-w-none 2xl:text-2xl" 5137 }, "Ansprechpartnerinnen f\xFCr den Arbeitsschwerpunkt Inklusion")), /* @__P
5137URE__ */ React.createElement(TeamCardList, { 5138 team 5139 })))), /* @__PURE__ */ React.createElement("div", { 5140 className: "absolute bottom-0 z-40 w-full xl:relative xl:z-0" 5141 }, /* @__PURE__ */ React.createElement("img", { 5142 className: "z-40 w-full object-contain", 5143 src: wave_bg_top_white_default, 5144 alt: "" 5145 }))); 5146} 5147
5148// app/shared/modal.tsx 5149init_react(); 5150init_esm(); 5151var import_react_modal = __toESM(require_lib()); 5152function Modal({ 5153 title, 5154 open, 5155 setOpen, 5156 children, 5157 planDialgo 5158}) { 5159 const navigate = useNavigate(); 5160 const { pathname, search } = useLocation(); 5161 const handleCloseModal = () => { 5162 if (typeof setOpen === "function") { 5163 setOpen(false); 5164 } 5165 if (search.includes("openmoldal")) { 5166 navigate(pathname); 5167 } 5168 }; 5169 return /* @__PURE__ */ React.createElement(import_react_modal.default, { 5170 shouldCloseOnOverlayClick: true, 5171 isOpen: open, 5172 ariaHideApp: false, 5173 onRequestClose: handleCloseModal, 5174 contentLabel: title, 5175 htmlOpenClassName: "ReactModal__inklusion--open", 5176 className: "mx-auto h-full w-full max-w-9xl", 5177 style: { 5178 overlay: { 5179 backgroundColor: "rgba(0,0,0,0.85)" 5180 }, 5181 content: { 5182 border: "1px solid transparent", 5183 overflow: "hidden", 5184 backgroundColor: "transparent", 5185 WebkitOverflowScrolling: "touch", 5186 borderRadius: "0", 5187 outline: "none" 5188 } 5189 } 5190 }, /* @__PURE__ */ React.createElement("div", { 5191 className: "fixed inset-0 overflow-hidden bg-transparent", 5192 onClick: handleCloseModal, 5193 role: "presentation", 5194 "aria-hidden": "true" 5195 }), !planDialgo ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { 5196 className: "flex min-h-full items-end justify-center text-center sm:items-center sm:p-0 lg:px-4 lg:pt-10" 5197 }, /* @__PURE__ */ React.createElement("div", { 5198 style: { 5199 background: "linear-gradient(0deg, rgba(250,252,252,1) 0%, rgba(252,244,214,1) 100%)", 5200 boxShadow: "0 4px 30px rgba(0, 0, 0, 0.1)", 5201 backdropFilter: "blur(12.3px)", 5202 border: "rgba(254, 250, 179, 0.06)" 5203 }, 5204 className: class_names_default("relative flex h-auto w-full transform flex-col rounded-lg pt-5 pb-4 text-left shadow-xl transition-all sm:mt-8", planDialgo ? "md:max-w-[990px]" : "") 5205 }, /* @__PURE__ */ React.createElement("div", { 5206 className: "flex justify-between" 5207 }, /* @__PURE__ */ React.createElement("div", { 5208 className: "flex items-baseline justify-between pb-6 sm:px-6 lg:px-20" 5209 }, /* @__PURE__ */ React.createElement("h1", { 5210 className: "text-2xl font-bold tracking-tight text-textColor-light" 5211 }
5211, title)), /* @__PURE__ */ React.createElement("div", { 5212 className: class_names_default("pr-5 sm:block", title ? "lg:pr-20" : "lg:pr-10") 5213 }, /* @__PURE__ */ React.createElement("button", { 5214 type: "button", 5215 className: "z-10 flex w-full rounded-full bg-black\n text-white hover:text-secondary\n focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2", 5216 onClick: () => handleCloseModal() 5217 }, /* @__PURE__ */ React.createElement("span", { 5218 className: "sr-only" 5219 }, "Close"), /* @__PURE__ */ React.createElement(XMarkIcon_default, { 5220 className: "h-7 w-7", 5221 "aria-hidden": "true" 5222 })))), title && /* @__PURE__ */ React.createElement("div", { 5223 className: "mx-20 h-[1px] bg-default opacity-10" 5224 }), /* @__PURE__ */ React.createElement("div", { 5225 className: "flex h-full flex-col py-4" 5226 }, children)))) : children); 5227} 5228
5229// app/shared/fallback_screen.tsx 5230init_react(); 5231var import_react9 = __toESM(require_react()); 5232
5233// app/assets/images/fall_back_image.png 5234var fall_back_image_default = "/build/_assets/fall_back_image-H4X7YB6E.png"; 5235
5236// app/shared/fallback_screen.tsx 5237var FullbackScreen = ({ 5238 title, 5239 subtitle, 5240 size 5241}) => /* @__PURE__ */ import_react9.default.createElement("div", { 5242 className: "mx-auto flex max-w-8xl flex-col" 5243}, /* @__PURE__ */ import_react9.default.createElement("div", { 5244 className: "flex justify-center align-middle" 5245}, /* @__PURE__ */ import_react9.default.createElement("img", { 5246 alt: "", 5247 src: fall_back_image_default, 5248 className: "h-96 w-auto" 5249})), /* @__PURE__ */ import_react9.default.createElement("div", { 5250 className: "mx-auto flex max-w-md flex-col justify-center text-center" 5251}, /* @__PURE__ */ import_react9.default.createElement("p", { 5252 className: "text-[18px] font-bold text-primary" 5253}, title), /* @__PURE__ */ import_react9.default.createElement("p", { 5254 className: "py-2 text-[18px] text-primary" 5255}, subtitle))); 5256var fallback_screen_default = FullbackScreen; 5257
5258// app/shared/hybrid_link.tsx 5259init_react(); 5260init_esm(); 5261function Link2({ 5262 to, 5263 children, 5264 className, 5265 target, 5266 rel, 5267 style 5268}) { 5269 const isExternal = /^https?:|^mailto:|^tel:/i.test(to); 5270 if (isExternal) { 5271 return /* @__PURE__ */ React.createElement("a", { 5272 href: to, 5273 className, 5274 target: target || "_blank", 5275 rel: rel || "noopener noreferrer", 5276 style 5277 }, children); 5278 } 5279 return /* @__PURE__ */ React.createElement(Link, { 5280 to, 5281 className, 5282 style 5283 }, children); 5284} 5285
5286// app/shared/media_section/index.tsx 5287init_react(); 5288
5289// app/shared/media_section/list.tsx 5290init_react(); 5291
vendor: 67 bytes, lines 5292-5294
5292// node_modules/use-local-storage-state/es/index.js 5293init_react(); 5294
vendor: 86 bytes, lines 5295-5297
5295// node_modules/use-local-storage-state/es/src/useLocalStorageState.js 5296init_react(); 5297
vendor: 714 bytes, lines 5298-5325
5298// node_modules/use-local-storage-state/es/src/storage.js 5299init_react(); 5300var storage_default = { 5301 data: /* @__PURE__ */ new Map(), 5302 get(key, defaultValue) { 5303 try { 5304 return this.data.has(key) ? this.data.get(key) : parseJSON(localStorage.getItem(key)); 5305 } catch (_a) { 5306 return defaultValue; 5307 } 5308 }, 5309 set(key, value) { 5310 try { 5311 localStorage.setItem(key, JSON.stringify(value)); 5312 this.data.delete(key); 5313 } catch (_a) { 5314 this.data.set(key, value); 5315 } 5316 }, 5317 remove(key) { 5318 this.data.delete(key); 5319 localStorage.removeItem(key); 5320 } 5321}; 5322function parseJSON(value) { 5323 return value === "undefined" ? void 0 : JSON.parse(value !== null && value !== void 0 ? value : ""); 5324} 5325
vendor: 2,785 bytes, lines 5326-5395
5326// node_modules/use-local-storage-state/es/src/useLocalStorageState.js 5327var import_react_dom = __toESM(require_react_dom()); 5328var import_react11 = __toESM(require_react()); 5329var activeHooks = /* @__PURE__ */ new Set(); 5330function useLocalStorageState(key, options2) { 5331 const [defaultValue] = (0, import_react11.useState)(options2 === null || options2 === void 0 ? void 0 : options2.defaultValue); 5332 if (typeof window === "undefined") { 5333 return [defaultValue, () => { 5334 }, { isPersistent: true, removeItem: () => { 5335 } }]; 5336 } 5337 return useClientLocalStorageState(key, defaultValue, (options2 === null || options2 === void 0 ? void 0 : options2.ssr) === true, (options2 === null || options2 === void 0 ? void 0 : options2.storageSync) !== false); 5338} 5339function useClientLocalStorageState(key, defaultValue, ssr, storageSync) { 5340 const [id, forceUpdate] = (0, import_react11.useReducer)((number) => number + 1, 0); 5341 const updateHooks = (0, import_react11.useCallback)(() => { 5342 (0, import_react_dom.unstable_batchedUpdates)(() => { 5343 forceUpdate(); 5344 for (const hook of activeHooks) { 5345 if (hook.key === key) { 5346 hook.forceUpdate(); 5347 } 5348 } 5349 }); 5350 }, [key]); 5351 const setState = (0, import_react11.useCallback)((newValue) => { 5352 storage_default.set(key, newValue instanceof Function ? newValue(storage_default.get(key, defaultValue)) : newValue); 5353 updateHooks(); 5354 }, [key, updateHooks, defaultValue]); 5355 (0, import_react11.useEffect)(() => { 5356 if (!storageSync) { 5357 return void 0; 5358 } 5359 const onStorage = (e) => { 5360 if (e.storageArea === localStorage && e.key === key) { 5361 forceUpdate(); 5362 } 5363 }; 5364 window.addEventListener("storage", onStorage); 5365 return () => window.removeEventListener("storage", onStorage); 5366 }, [key, storageSync]); 5367 (0, import_react11.useLayoutEffect)(() => { 5368 const hook = { key, forceUpdate }; 5369 activeHooks.add(hook); 5370 return () => { 5371 activeHooks.delete(hook); 5372 }; 5373 }, [key]); 5374 const isFirstRenderRef = (0, import_react11.useRef)(true); 5375 const isPossiblyHydrating = ssr && isFirstRenderRef.current; 5376 isFirstRenderRef.current = false; 5377 if (isPossiblyHydrating && (storage_default.data.has(key) || defaultValue !== storage_default.get(key, defaultValue))) { 5378 forceUpdate(); 5379 } 5380 if (defaultValue !== void 0 && !storage_default.data.has(key) && localStorage.getItem(key) === null) { 5381 storage_default.set(key, defaultValue); 5382 } 5383 return (0, import_react11.useMemo)(() => [ 5384 isPossiblyHydrating ? defaultValue : storage_default.get(key, defaultValue), 5385 setState, 5386 { 5387 isPersistent: isPossiblyHydrating || !storage_default.data.has(key), 5388 removeItem() { 5389 storage_default.remove(key); 5390 updateHooks(); 5391 } 5392 } 5393 ], [id, key]); 5394} 5395
vendor: 93 bytes, lines 5396-5398
5396// node_modules/use-local-storage-state/es/index.js 5397var es_default2 = useLocalStorageState; 5398
5399// app/shared/media_section/list.tsx 5400var CardList = ({ 5401 cards, 5402 widgetEnvironment, 5403 isExternlLink = false, 5404 routePrefix = "/search/main" 5405}) => { 5406 const [favoriteList, setFavoriteList] = es_default2("favoriteList", { 5407 defaultValue: [] 5408 }); 5409 const isItemFavorite = (id) => { 5410 const itemInFavorite = favoriteList.length ? favoriteList.find((item) => item.id === id) : void 0; 5411 if (itemInFavorite) { 5412 return true; 5413 } 5414 return false; 5415 }; 5416 const addToFavorite = ({ name, firstPicture, id, slug }, itemInFavorite) => { 5417 if (!itemInFavorite) { 5418 setFavoriteList([ 5419 ...favoriteList, 5420 { 5421 name, 5422 firstPicture, 5423 id, 5424 slug 5425 } 5426 ]); 5427 } else { 5428 const newItems = favoriteList.filter((item) => item.id !== id); 5429 if (!newItems) { 5430 setFavoriteList([]); 5431 } else { 5432 setFavoriteList(newItems); 5433 } 5434 } 5435 }; 5436 const getArticleLink = (id, name, slug) => { 5437 const link = `${routePrefix}/${id}/${to_safe_path_segment_default(slug || name)}`; 5438 if (isExternlLink) { 5439 return `https://www.ru-digital.de${link}`; 5440 } 5441 return link; 5442 }; 5443 return /* @__PURE__ */ React.createElement("div", { 5444 className: "media-card-wrapper" 5445 }, /* @__PURE__ */ React.createElement(ResponsiveMasonry_default, { 5446 columnsCountBreakPoints: { 640: 1, 768: 2, 1024: 3, 1280: 4 } 5447 }, /* @__PURE__ */ React.createElement(es_default, { 5448 gutter: "15px" 5449 }, cards && cards.map((card) => { 5450 const isFavorite = isItemFavorite(card.id); 5451 return /* @__PURE__ */ React.createElement(ListItem, { 5452 key: card.id 5453 }, /* @__PURE__ */ React.createElement(CardNew, { 5454 widgetEnvironment, 5455 key: card.id, 5456 ...card, 5457 action: addToFavorite, 5458 favoriteList, 5459 isFavorite, 5460 articleLink: getArticleLink(card.id, card.name, card.slug) 5461 })); 5462 })))); 5463}; 5464
5465// app/shared/media_section/index.tsx 5466var RelatedMediaSection = ({ 5467 mediaCards, 5468 title, 5469 masonry = true, 5470 to, 5471 isExternlLink = false 5472}) => { 5473 const { button } = default_default; 5474 const { base, color } = button; 5475 return /* @__PURE__ */ React.createElement("div", { 5476 id: "media", 5477 className: "w-full pt-8 pb-3\n md:pb-0 md:text-left \n " 5478 }, /* @__PURE__ */ React.createElement("div", { 5479 className: "mx-auto \n md:max-w-[calc(100%_-_120px)] \n xl:max-w-[calc(100%_-_320px)] \n 3xl:max-w-8xl" 5480 }, /* @__PURE__ */ React.createElement("div", { 5481 className: "mb-10 xl:mb-12" 5482 }, title)), /* @__PURE__ */ React.createElement(CardList, { 5483 cards: mediaCards, 5484 widgetEnvironment: "production", 5485 isExternlLink 5486 }), /* @__PURE__ */ React.createElement("div", { 5487 className: "flex w-full justify-center" 5488 }, /* @__PURE__ */ React.createElement(Link2, { 5489 to: isExternlLink ? `https://www.ru-digital.de${to}` : to, 5490 className: class_names_default(base, color.primary, "px-9") 5491 }, "Mehr laden"))); 5492}; 5493
5494// app/shared/media_section/themen_list.tsx 5495init_react(); 5496function ThemenList({ data }) { 5497 const articleLinkWithName = (id, name, slug) => `/themenschwerpunkte/${id}/${to_safe_path_segment_default(slug || name)}`; 5498 return /* @__PURE__ */ React.createElement("div", { 5499 className: "media-card-wrapper" 5500 }, /* @__PURE__ */ React.createElement("ul", { 5501 className: "grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4" 5502 }, data && data.length ? data.map((media) => { 5503 return /* @__PURE__ */ React.createElement(ListItem, { 5504 className: "mb-1", 5505 key: media.id, 5506 to: articleLinkWithName(media.id, media.name, media.slug) 5507 }, /* @__PURE__ */ React.createElement(CardMinimal, { 5508 ...media 5509 })); 5510 }) : null)); 5511} 5512
5513// app/shared/cards/inklusion_card.tsx 5514init_react(); 5515
5516// app/assets/icons/bulb-1.svg 5517var bulb_1_default = "/build/_assets/bulb-1-KQT2RNLU.svg"; 5518
5519// app/assets/icons/newspaper-fold.svg 5520var newspaper_fold_default = "/build/_assets/newspaper-fold-J6NGXDCE.svg"; 5521
5522// app/assets/icons/cursor-information.svg 5523var cursor_information_default = "/build/_assets/cursor-information-OYZ2SQXG.svg"; 5524
5525// app/assets/icons/help-wheel.svg 5526var help_wheel_default = "/build/_assets/help-wheel-KKGHDUY2.svg"; 5527
5528// app/assets/icons/mail-advertising-envelope.png 5529var mail_advertising_envelope_default = "/build/_assets/mail-advertising-envelope-BWD3JG2N.png"; 5530
5531// app/assets/icons/support.png 5532var support_default = "/build/_assets/support-KAUIU5FT.png"; 5533
5534// app/assets/icons/folder-media.svg 5535var folder_media_default = "/build/_assets/folder-media-JB3CAA44.svg"; 5536
5537// app/shared/cards/inklusion_card.tsx 5538var SvgSrc = { 5539 fundamentals: bulb_1_default, 5540 "newspaper-fold": newspaper_fold_default, 5541 "cursor-information": cursor_information_default, 5542 "mail-advertising-envelope": mail_advertising_envelope_default, 5543 support: support_default, 5544 "help-wheel": help_wheel_default, 5545 media: folder_media_default 5546}; 5547var InklusionCard = ({ 5548 title, 5549 description, 5550 anchor, 5551 externalLinks, 5552 icon 5553}) => { 5554 const svgUrl = SvgSrc[externalLinks ? icon : anchor]; 5555 return /* @__PURE__ */ React.createElement("div", { 5556 className: "flex rounded-lg bg-white shadow-lg md:relative md:flow-root md:h-72 md:max-w-xs" 5557 }, /* @__PURE__ */ React.createElement("div", { 5558 className: "-mt-6 w-full pl-6 pr-3 pb-3" 5559 }, /* @__PURE__ */ React.createElement("div", { 5560 className: "mb-7" 5561 }, /* @__PURE__ */ React.createElement("span", { 5562 className: "inline-flex items-center justify-center rounded-full bg-secondary p-3 shadow-lg md:p-4" 5563 }, /* @__PURE__ */ React.createElement("img", { 5564 alt: "icon", 5565 src: svgUrl, 5566 className: "h-4 w-4 text-black md:h-7 md:w-7", 5567 "aria-hidden": "true" 5568 }))), /* @__PURE__ */ React.createElement("h4", { 5569 className: "mb-3 font-bold text-textColor-primary" 5570 }, title), /* @__PURE__ */ React.createElement("div", { 5571 className: "flex flex-col justify-between" 5572 }, /* @__PURE__ */ React.createElement("div", { 5573 dangerouslySetInnerHTML: { 5574 __html: description 5575 } 5576 }), /* @__PURE__ */ React.createElement("div", { 5577 className: "mt-4 md:absolute md:bottom-4 md:mt-0" 5578 }, /* @__PURE__ */ React.createElement("a", { 5579 target: externalLinks ? "_blank" : void 0, 5580 href: externalLinks ? anchor : `#${anchor}`, 5581 className: "inline-flex items-center rounded-none\n border-b border-primary pl-1 pb-1 text-sm font-medium text-textColor-primary hover:border-gray-200", 5582 rel: "noreferrer" 5583 }, "Mehr erfahren", /* @__PURE__ */ React.createElement(ArrowRightIcon_default, { 5584 className: "ml-3 h-5 w-6 text-textColor-dark", 5585 "aria-hidden": "true" 5586 })))))); 5587}; 5588
5589// app/shared/cards/favorite_list_card.tsx 5590init_react(); 5591var FavoriteListCard = ({ 5592 id, 5593 name, 5594 slug, 5595 firstPicture, 5596 handleCopyFavoritItem, 5597 handleRemoveFavoriteItem, 5598 handleShareFavoriteList, 5599 handleOpenFavoriteListItem 5600}) => { 5601 return /* @__PURE__ */ React.createElement("div", { 5602 className: "overflow-x-hidden border-t border-gray-200 py-3" 5603 }, /* @__PURE__ */ React.createElement("div", { 5604 className: "flex flex-1 items-center" 5605 }, /* @__PURE__ */ React.createElement("div", { 5606 className: "flex-shrink-0" 5607 }, /* @__PURE__ */ React.createElement("img", { 5608 className: "h-24 w-32 rounded-xl object-cover", 5609 src: firstPicture ? get_image_url_default(firstPicture.file.url) : "should add fallback", 5610 alt: "" 5611 })), /* @__PURE__ */ React.createElement("div", { 5612 className: "w-full flex-1 pl-4" 5613 }, /* @__PURE__ */ React.createElement("div", { 5614 className: "flex h-24 w-full flex-col justify-between" 5615 }, /* @__PURE__ */ React.createElement("p", { 5616 className: "font-semibold text-primary md:text-lg" 5617 }, name), /* @__PURE__ */ React.createElement("div", { 5618 className: "flex pb-2" 5619 }, /* @__PURE__ */ React.createElement("button", { 5620 onClick: () => { 5621 if (typeof handleOpenFavoriteListItem === "function") { 5622 handleOpenFavoriteListItem(id, name, slug); 5623 } 5624 }, 5625 type: "button", 5626 className: "inline-flex items-center border-none pr-2 text-sm font-medium leading-4 text-textColor-primary hover:text-btnColor-hoverPrimary focus:outline-none focus:ring-2 focus:ring-btnColor-secondary focus:ring-offset-2" 5627 }, /* @__PURE__ */ React.createElement(ArrowUturnRightIcon_default, { 5628 className: "-ml-0.5 mr-2 h-4 w-4", 5629 "aria-hidden": "true" 5630 }), "\xD6ffnen"), /* @__PURE__ */ React.createElement("button", { 5631 onClick: () => { 5632 if (typeof handleCopyFavoritItem === "function") { 5633 handleCopyFavoritItem(id, name, slug); 5634 } 5635 }, 5636 type: "button", 5637 className: "ml-1 inline-flex items-center border-none pr-2 text-sm font-medium leading-4 text-textColor-primary hover:text-btnColor-hoverPrimary focus:outline-none focus:ring-2 focus:ring-btnColor-hoverPrimary focus:ring-offset-2" 5638 }, /* @__PURE__ */ React.createElement(ArrowUpOnSquareIcon_default, { 5639 className: "-ml-0.5 mr-2 h-4 w-4", 5640 "aria-hidden": "true" 5641 }), "Teilen"), /* @__PURE__ */ React.createElement("button", { 5642 onClick: () => { 5643 if (typeof handleRemoveFavoriteItem === "function") { 5644 handleRemoveFavoriteItem(id); 5645 } 5646 }, 5647 type: "button", 5648 className: "ml-1 inline-flex items-center border-none pr-2 text-sm font-medium leading-4 text-textColor-primary hover:text-btnColor-hoverPrimary focus:outline-none focus:ring-2 focus:ring-btnColor-hoverPrimary focus:ring-offset-2" 5649 }, /* @__PURE__ */ React.createElement(TrashIcon_default, { 5650 className: "-ml-0.5 mr-2 h-4 w-4", 5651 "aria-hidden": "true" 5652 }), "L\xF6schen")))))); 5653}; 5654
5655// app/shared/list_item.tsx 5656init_react(); 5657init_esm(); 5658var ListItem = ({ children, to, ...rest }) => { 5659 if (to) { 5660 return /* @__PURE__ */ React.createElement("div", { 5661 ...rest 5662 }, /* @__PURE__ */ React.createElement(Link, { 5663 to 5664 }, children)); 5665 } 5666 return /* @__PURE__ */ React.createElement("div", { 5667 ...rest 5668 }, children); 5669}; 5670
5671// app/shared/select.tsx 5672init_react(); 5673
vendor: 69 bytes, lines 5674-5676
5674// node_modules/react-select/dist/react-select.esm.js 5675init_react(); 5676
vendor: 81 bytes, lines 5677-5679
5677// node_modules/react-select/dist/useStateManager-b741e3ed.esm.js 5678init_react(); 5679
vendor: 146 bytes, lines 5680-5684
5680// node_modules/react-select/dist/index-17055f83.esm.js 5681init_react(); 5682init_extends(); 5683var import_react14 = __toESM(require_emotion_react_cjs()); 5684
vendor: 254 bytes, lines 5685-5694
5685// node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js 5686init_react(); 5687function _taggedTemplateLiteral(e, t) { 5688 return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { 5689 raw: { 5690 value: Object.freeze(t) 5691 } 5692 })); 5693} 5694
vendor: 85 bytes, lines 5695-5697
5695// node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js 5696init_react(); 5697
vendor: 340 bytes, lines 5698-5712
5698// node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js 5699init_react(); 5700function _objectWithoutPropertiesLoose(r2, e) { 5701 if (r2 == null) 5702 return {}; 5703 var t = {}; 5704 for (var n2 in r2) 5705 if ({}.hasOwnProperty.call(r2, n2)) { 5706 if (e.indexOf(n2) !== -1) 5707 continue; 5708 t[n2] = r2[n2]; 5709 } 5710 return t; 5711} 5712
vendor: 443 bytes, lines 5713-5725
5713// node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js 5714function _objectWithoutProperties(e, t) { 5715 if (e == null) 5716 return {}; 5717 var o2, r2, i2 = _objectWithoutPropertiesLoose(e, t); 5718 if (Object.getOwnPropertySymbols) { 5719 var n2 = Object.getOwnPropertySymbols(e); 5720 for (r2 = 0; r2 < n2.length; r2++) 5721 o2 = n2[r2], t.indexOf(o2) === -1 && {}.propertyIsEnumerable.call(e, o2) && (i2[o2] = e[o2]); 5722 } 5723 return i2; 5724} 5725
vendor: 75 bytes, lines 5726-5728
5726// node_modules/@babel/runtime/helpers/esm/slicedToArray.js 5727init_react(); 5728
vendor: 149 bytes, lines 5729-5735
5729// node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js 5730init_react(); 5731function _arrayWithHoles(r2) { 5732 if (Array.isArray(r2)) 5733 return r2; 5734} 5735
vendor: 812 bytes, lines 5736-5764
5736// node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js 5737init_react(); 5738function _iterableToArrayLimit(r2, l2) { 5739 var t = r2 == null ? null : typeof Symbol != "undefined" && r2[Symbol.iterator] || r2["@@iterator"]; 5740 if (t != null) { 5741 var e, n2, i2, u2, a2 = [], f2 = true, o2 = false; 5742 try { 5743 if (i2 = (t = t.call(r2)).next, l2 === 0) { 5744 if (Object(t) !== t) 5745 return; 5746 f2 = false; 5747 } else 5748 for (; !(f2 = (e = i2.call(t)).done) && (a2.push(e.value), a2.length !== l2); f2 = true) 5749 ; 5750 } catch (r3) { 5751 o2 = true, n2 = r3; 5752 } finally { 5753 try { 5754 if (!f2 && t["return"] != null && (u2 = t["return"](), Object(u2) !== u2)) 5755 return; 5756 } finally { 5757 if (o2) 5758 throw n2; 5759 } 5760 } 5761 return a2; 5762 } 5763} 5764
vendor: 88 bytes, lines 5765-5767
5765// node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js 5766init_react(); 5767
vendor: 250 bytes, lines 5768-5776
5768// node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js 5769init_react(); 5770function _arrayLikeToArray(r2, a2) { 5771 (a2 == null || a2 > r2.length) && (a2 = r2.length); 5772 for (var e = 0, n2 = Array(a2); e < a2; e++) 5773 n2[e] = r2[e]; 5774 return n2; 5775} 5776
vendor: 487 bytes, lines 5777-5786
5777// node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js 5778function _unsupportedIterableToArray(r2, a2) { 5779 if (r2) { 5780 if (typeof r2 == "string") 5781 return _arrayLikeToArray(r2, a2); 5782 var t = {}.toString.call(r2).slice(8, -1); 5783 return t === "Object" && r2.constructor && (t = r2.constructor.name), t === "Map" || t === "Set" ? Array.from(r2) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r2, a2) : void 0; 5784 } 5785} 5786
vendor: 273 bytes, lines 5787-5792
5787// node_modules/@babel/runtime/helpers/esm/nonIterableRest.js 5788init_react(); 5789function _nonIterableRest() { 5790 throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 5791} 5792
vendor: 218 bytes, lines 5793-5797
5793// node_modules/@babel/runtime/helpers/esm/slicedToArray.js 5794function _slicedToArray(r2, e) { 5795 return _arrayWithHoles(r2) || _iterableToArrayLimit(r2, e) || _unsupportedIterableToArray(r2, e) || _nonIterableRest(); 5796} 5797
vendor: 410 bytes, lines 5798-5808
5798// node_modules/@babel/runtime/helpers/esm/typeof.js 5799init_react(); 5800function _typeof(o2) { 5801 "@babel/helpers - typeof"; 5802 return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o3) { 5803 return typeof o3; 5804 } : function(o3) { 5805 return o3 && typeof Symbol == "function" && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3; 5806 }, _typeof(o2); 5807} 5808
vendor: 202 bytes, lines 5809-5815
5809// node_modules/@babel/runtime/helpers/esm/classCallCheck.js 5810init_react(); 5811function _classCallCheck(a2, n2) { 5812 if (!(a2 instanceof n2)) 5813 throw new TypeError("Cannot call a class as a function"); 5814} 5815
vendor: 73 bytes, lines 5816-5818
5816// node_modules/@babel/runtime/helpers/esm/createClass.js 5817init_react(); 5818
vendor: 75 bytes, lines 5819-5821
5819// node_modules/@babel/runtime/helpers/esm/toPropertyKey.js 5820init_react(); 5821
vendor: 427 bytes, lines 5822-5836
5822// node_modules/@babel/runtime/helpers/esm/toPrimitive.js 5823init_react(); 5824function toPrimitive(t, r2) { 5825 if (_typeof(t) != "object" || !t) 5826 return t; 5827 var e = t[Symbol.toPrimitive]; 5828 if (e !== void 0) { 5829 var i2 = e.call(t, r2 || "default"); 5830 if (_typeof(i2) != "object") 5831 return i2; 5832 throw new TypeError("@@toPrimitive must return a primitive value."); 5833 } 5834 return (r2 === "string" ? String : Number)(t); 5835} 5836
vendor: 177 bytes, lines 5837-5842
5837// node_modules/@babel/runtime/helpers/esm/toPropertyKey.js 5838function toPropertyKey(t) { 5839 var i2 = toPrimitive(t, "string"); 5840 return _typeof(i2) == "symbol" ? i2 : i2 + ""; 5841} 5842
vendor: 507 bytes, lines 5843-5855
5843// node_modules/@babel/runtime/helpers/esm/createClass.js 5844function _defineProperties(e, r2) { 5845 for (var t = 0; t < r2.length; t++) { 5846 var o2 = r2[t]; 5847 o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e, toPropertyKey(o2.key), o2); 5848 } 5849} 5850function _createClass(e, r2, t) { 5851 return r2 && _defineProperties(e.prototype, r2), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { 5852 writable: false 5853 }), e; 5854} 5855
vendor: 70 bytes, lines 5856-5858
5856// node_modules/@babel/runtime/helpers/esm/inherits.js 5857init_react(); 5858
vendor: 274 bytes, lines 5859-5866
5859// node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js 5860init_react(); 5861function _setPrototypeOf(t, e) { 5862 return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) { 5863 return t2.__proto__ = e2, t2; 5864 }, _setPrototypeOf(t, e); 5865} 5866
vendor: 446 bytes, lines 5867-5881
5867// node_modules/@babel/runtime/helpers/esm/inherits.js 5868function _inherits(t, e) { 5869 if (typeof e != "function" && e !== null) 5870 throw new TypeError("Super expression must either be null or a function"); 5871 t.prototype = Object.create(e && e.prototype, { 5872 constructor: { 5873 value: t, 5874 writable: true, 5875 configurable: true 5876 } 5877 }), Object.defineProperty(t, "prototype", { 5878 writable: false 5879 }), e && _setPrototypeOf(t, e); 5880} 5881
vendor: 287 bytes, lines 5882-5892
5882// node_modules/@babel/runtime/helpers/esm/defineProperty.js 5883init_react(); 5884function _defineProperty(e, r2, t) { 5885 return (r2 = toPropertyKey(r2)) in e ? Object.defineProperty(e, r2, { 5886 value: t, 5887 enumerable: true, 5888 configurable: true, 5889 writable: true 5890 }) : e[r2] = t, e; 5891} 5892
vendor: 158 bytes, lines 5893-5896
5893// node_modules/react-select/dist/index-17055f83.esm.js 5894var import_react15 = __toESM(require_react()); 5895var import_react_dom2 = __toESM(require_react_dom()); 5896
vendor: 4,666 bytes, lines 5897-6021
5897// node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs 5898init_react(); 5899function n(t) { 5900 var e; 5901 return ((e = t.ownerDocument) == null ? void 0 : e.defaultView) || window; 5902} 5903function o(t) { 5904 return n(t).getComputedStyle(t); 5905} 5906function i(t) { 5907 return f(t) ? (t.nodeName || "").toLowerCase() : ""; 5908} 5909var r; 5910function l() { 5911 if (r) 5912 return r; 5913 const t = navigator.userAgentData; 5914 return t && Array.isArray(t.brands) ? (r = t.brands.map((t2) => t2.brand + "/" + t2.version).join(" "), r) : navigator.userAgent; 5915} 5916function c(t) { 5917 return t instanceof n(t).HTMLElement; 5918} 5919function s(t) { 5920 return t instanceof n(t).Element; 5921} 5922function f(t) { 5923 return t instanceof n(t).Node; 5924} 5925function u(t) { 5926 if (typeof ShadowRoot == "undefined") 5927 return false; 5928 return t instanceof n(t).ShadowRoot || t instanceof ShadowRoot; 5929} 5930function a(t) { 5931 const { overflow: e, overflowX: n2, overflowY: i2, display: r2 } = o(t); 5932 return /auto|scroll|overlay|hidden|clip/.test(e + i2 + n2) && !["inline", "contents"].includes(r2); 5933} 5934function p() { 5935 return !/^((?!chrome|android).)*safari/i.test(l()); 5936} 5937function g(t) { 5938 return ["html", "body", "#document"].includes(i(t)); 5939} 5940var x = Math.round; 5941function w(t) { 5942 const e = o(t); 5943 let n2 = parseFloat(e.width), i2 = parseFloat(e.height); 5944 const r2 = t.offsetWidth, l2 = t.offsetHeight, c2 = x(n2) !== r2 || x(i2) !== l2; 5945 return c2 && (n2 = r2, i2 = l2), { width: n2, height: i2, fallback: c2 }; 5946} 5947function v(t) { 5948 return s(t) ? t : t.contextElement; 5949} 5950var b = { x: 1, y: 1 }; 5951function L(t) { 5952 const e = v(t); 5953 if (!c(e)) 5954 return b; 5955 const n2 = e.getBoundingClientRect(), { width: o2, height: i2, fallback: r2 } = w(e); 5956 let l2 = (r2 ? x(n2.width) : n2.width) / o2, s2 = (r2 ? x(n2.height) : n2.height) / i2; 5957 return l2 && Number.isFinite(l2) || (l2 = 1), s2 && Number.isFinite(s2) || (s2 = 1), { x: l2, y: s2 }; 5958} 5959function E(t, e, o2, i2) { 5960 var r2, l2; 5961 e === void 0 && (e = false), o2 === void 0 && (o2 = false); 5962 const c2 = t.getBoundingClientRect(), f2 = v(t); 5963 let u2 = b; 5964 e && (i2 ? s(i2) && (u2 = L(i2)) : u2 = L(t)); 5965 const a2 = f2 ? n(f2) : window, d = !p() && o2; 5966 let h = (c2.left + (d && ((r2 = a2.visualViewport) == null ? void 0 : r2.offsetLeft) || 0)) / u2.x, g2 = (c2.top + (d && ((l2 = a2.visualViewport) == null ? void 0 : l2.offsetTop) || 0)) / u2.y, m = c2.width / u2.x, y = c2.height / u2.y; 5967 if (f2) { 5968 const t2 = n(f2), e2 = i2 && s(i2) ? n(i2) : i2; 5969 let o3 = t2.frameElement; 5970 for (; o3 && i2 && e2 !== t2; ) { 5971 const t3 = L(o3), e3 = o3.getBoundingClientRect(), i3 = getComputedStyle(o3); 5972 e3.x += (o3.clientLeft + parseFloat(i3.paddingLeft)) * t3.x, e3.y += (o3.clientTop + parseFloat(i3.paddingTop)) * t3.y, h *= t3.x, g2 *= t3.y, m *= t3.x, y *= t3.y, h += e3.x, g2 += e3.y, o3 = n(o3).frameElement; 5973 } 5974 } 5975 return { width: m, height: y, top: g2, right: h + m, bottom: g2 + y, left: h, x: h, y: g2 }; 5976} 5977function R(t) { 5978 return ((f(t) ? t.ownerDocument : t.document) || window.document).documentElement; 5979} 5980function W(t) { 5981 if (i(t) === "html") 5982 return t; 5983 const e = t.assignedSlot || t.parentNode || (u(t) ? t.host : null) || R(t); 5984 return u(e) ? e.host : e; 5985} 5986function A(t) { 5987 const e = W(t); 5988 return g(e) ? t.ownerDocument.body : c(e) && a(e) ? e : A(e); 5989} 5990function H(t, e) { 5991 var o2; 5992 e === void 0 && (e = []); 5993 const i2 = A(t), r2 = i2 === ((o2 = t.ownerDocument) == null ? void 0 : o2.body), l2 = n(i2); 5994 return r2 ? e.concat(l2, l2.visualViewport || [], a(i2) ? i2 : []) : e.concat(i2, H(i2)); 5995} 5996function z(t, e, n2, o2) { 5997 o2 === void 0 && (o2 = {}); 5998 const { ancestorScroll: i2 = true, ancestorResize: r2 = true, elementResize: l2 = true, animationFrame: c2 = false } = o2, f2 = i2 && !c2, u2 = f2 || r2 ? [...s(t) ? H(t) : t.contextElement ? H(t.contextElement) : [], ...H(e)] : []; 5999 u2.forEach((t2) => { 6000 f2 && t2.addEventListener("scroll", n2, { passive: true }), r2 && t2.addEventListener("resize", n2); 6001 }); 6002 let a2, d = null; 6003 if (l2) { 6004 let o3 = true; 6005 d = new ResizeObserver(() => { 6006 o3 || n2(), o3 = false; 6007 }), s(t) && !c2 && d.observe(t), s(t) || !t.contextElement || c2 || d.observe(t.contextElement), d.observe(e); 6008 } 6009 let h = c2 ? E(t) : null; 6010 return c2 && function e2() { 6011 const o3 = E(t); 6012 !h || o3.x === h.x && o3.y === h.y && o3.width === h.width && o3.height === h.height || n2(); 6013 h = o3, a2 = requestAnimationFrame(e2); 6014 }(), n2(), () => { 6015 var t2; 6016 u2.forEach((t3) => { 6017 f2 && t3.removeEventListener("scroll", n2), r2 && t3.removeEventListener("resize", n2); 6018 }), (t2 = d) == null || t2.disconnect(), d = null, c2 && cancelAnimationFrame(a2); 6019 }; 6020} 6021
vendor: 262 bytes, lines 6022-6027
6022// node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js 6023init_react(); 6024var import_react13 = __toESM(require_react()); 6025var index = import_react13.useLayoutEffect; 6026var use_isomorphic_layout_effect_browser_esm_default = index; 6027
vendor: 65,706 bytes, lines 6028-7192
6028// node_modules/react-select/dist/index-17055f83.esm.js 6029function _defineProperty2(obj, key, value) { 6030 if (key in obj) { 6031 Object.defineProperty(obj, key, { 6032 value, 6033 enumerable: true, 6034 configurable: true, 6035 writable: true 6036 }); 6037 } else { 6038 obj[key] = value; 6039 } 6040 return obj; 6041} 6042function ownKeys(object, enumerableOnly) { 6043 var keys = Object.keys(object); 6044 if (Object.getOwnPropertySymbols) { 6045 var symbols = Object.getOwnPropertySymbols(object); 6046 if (enumerableOnly) { 6047 symbols = symbols.filter(function(sym) { 6048 return Object.getOwnPropertyDescriptor(object, sym).enumerable; 6049 }); 6050 } 6051 keys.push.apply(keys, symbols); 6052 } 6053 return keys; 6054} 6055function _objectSpread2(target) { 6056 for (var i2 = 1; i2 < arguments.length; i2++) { 6057 var source = arguments[i2] != null ? arguments[i2] : {}; 6058 if (i2 % 2) { 6059 ownKeys(Object(source), true).forEach(function(key) { 6060 _defineProperty2(target, key, source[key]); 6061 }); 6062 } else if (Object.getOwnPropertyDescriptors) { 6063 Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); 6064 } else { 6065 ownKeys(Object(source)).forEach(function(key) { 6066 Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); 6067 }); 6068 } 6069 } 6070 return target; 6071} 6072function _getPrototypeOf(o2) { 6073 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) { 6074 return o3.__proto__ || Object.getPrototypeOf(o3); 6075 }; 6076 return _getPrototypeOf(o2); 6077} 6078function _isNativeReflectConstruct() { 6079 if (typeof Reflect === "undefined" || !Reflect.construct) 6080 return false; 6081 if (Reflect.construct.sham) 6082 return false; 6083 if (typeof Proxy === "function") 6084 return true; 6085 try { 6086 Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { 6087 })); 6088 return true; 6089 } catch (e) { 6090 return false; 6091 } 6092} 6093function _assertThisInitialized(self2) { 6094 if (self2 === void 0) { 6095 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 6096 } 6097 return self2; 6098} 6099function _possibleConstructorReturn(self2, call) { 6100 if (call && (typeof call === "object" || typeof call === "function")) { 6101 return call; 6102 } 6103 return _assertThisInitialized(self2); 6104} 6105function _createSuper(Derived) { 6106 var hasNativeReflectConstruct = _isNativeReflectConstruct(); 6107 return function _createSuperInternal() { 6108 var Super = _getPrototypeOf(Derived), result; 6109 if (hasNativeReflectConstruct) { 6110 var NewTarget = _getPrototypeOf(this).constructor; 6111 result = Reflect.construct(Super, arguments, NewTarget); 6112 } else { 6113 result = Super.apply(this, arguments); 6114 } 6115 return _possibleConstructorReturn(this, result); 6116 }; 6117} 6118var _excluded$3 = ["className", "clearValue", "cx", "getStyles", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"]; 6119var noop = function noop2() { 6120}; 6121function applyPrefixToName(prefix, name) { 6122 if (!name) { 6123 return prefix; 6124 } else if (name[0] === "-") { 6125 return prefix + name; 6126 } else { 6127 return prefix + "__" + name; 6128 } 6129} 6130function classNames(prefix, state, className) { 6131 var arr = [className]; 6132 if (state && prefix) { 6133 for (var key in state) { 6134 if (state.hasOwnProperty(key) && state[key]) { 6135 arr.push("".concat(applyPrefixToName(prefix, key))); 6136 } 6137 } 6138 } 6139 return arr.filter(function(i2) { 6140 return i2; 6141 }).map(function(i2) { 6142 return String(i2).trim(); 6143 }).join(" "); 6144} 6145var cleanValue = function cleanValue2(value) { 6146 if (isArray(value)) 6147 return value.filter(Boolean); 6148 if (_typeof(value) === "object" && value !== null) 6149 return [value]; 6150 return []; 6151}; 6152var cleanCommonProps = function cleanCommonProps2(props) { 6153 props.className; 6154 props.clearValue; 6155 props.cx; 6156 props.getStyles; 6157 props.getValue; 6158 props.hasValue; 6159 props.isMulti; 6160 props.isRtl; 6161 props.options; 6162 props.selectOption; 6163 props.selectProps; 6164 props.setValue; 6165 props.theme; 6166 var innerProps = _objectWithoutProperties(props, _excluded$3); 6167 return _objectSpread2({}, innerProps); 6168}; 6169function handleInputChange(inputValue, actionMeta, onInputChange) { 6170 if (onInputChange) { 6171 var _newValue = onInputChange(inputValue, actionMeta); 6172 if (typeof _newValue === "string") 6173 return _newValue; 6174 } 6175 return inputValue; 6176} 6177function isDocumentElement(el) { 6178 return [document.documentElement, document.body, window].indexOf(el) > -1; 6179} 6180function normalizedHeight(el) { 6181 if (isDocumentElement(el)) { 6182 return window.innerHeight; 6183 } 6184 return el.clientHeight; 6185} 6186function getScrollTop(el) { 6187 if (isDocumentElement(el)) { 6188 return window.pageYOffset; 6189 } 6190 return el.scrollTop; 6191} 6192function scrollTo(el, top) { 6193 if (isDocumentElement(el)) { 6194 window.scrollTo(0, top); 6195 return; 6196 } 6197 el.scrollTop = top; 6198} 6199function getScrollParent(element) { 6200 var style = getComputedStyle(element); 6201 var excludeStaticParent = style.position === "absolute"; 6202 var overflowRx = /(auto|scroll)/; 6203 if (style.position === "fixed") 6204 return document.documentElement; 6205 for (var parent = element; parent = parent.parentElement; ) { 6206 style = getComputedStyle(parent); 6207 if (excludeStaticParent && style.position === "static") { 6208 continue; 6209 } 6210 if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) { 6211 return parent; 6212 } 6213 } 6214 return document.documentElement; 6215} 6216function easeOutCubic(t, b2, c2, d) { 6217 return c2 * ((t = t / d - 1) * t * t + 1) + b2; 6218} 6219function animatedScrollTo(element, to) { 6220 var duration = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200; 6221 var callback = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : noop; 6222 var start = getScrollTop(element); 6223 var change = to - start; 6224 var increment = 10; 6225 var currentTime = 0; 6226 function animateScroll() { 6227 currentTime += increment; 6228 var val = easeOutCubic(currentTime, start, change, duration); 6229 scrollTo(element, val); 6230 if (currentTime < duration) { 6231 window.requestAnimationFrame(animateScroll); 6232 } else { 6233 callback(element); 6234 } 6235 } 6236 animateScroll(); 6237} 6238function scrollIntoView(menuEl, focusedEl) { 6239 var menuRect = menuEl.getBoundingClientRect(); 6240 var focusedRect = focusedEl.getBoundingClientRect(); 6241 var overScroll = focusedEl.offsetHeight / 3; 6242 if (focusedRect.bottom + overScroll > menuRect.bottom) { 6243 scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight)); 6244 } else if (focusedRect.top - overScroll < menuRect.top) { 6245 scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0)); 6246 } 6247} 6248function getBoundingClientObj(element) { 6249 var rect = element.getBoundingClientRect(); 6250 return { 6251 bottom: rect.bottom, 6252 height: rect.height, 6253 left: rect.left, 6254 right: rect.right, 6255 top: rect.top, 6256 width: rect.width 6257 }; 6258} 6259function isTouchCapable() { 6260 try { 6261 document.createEvent("TouchEvent"); 6262 return true; 6263 } catch (e) { 6264 return false; 6265 } 6266} 6267function isMobileDevice() { 6268 try { 6269 return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); 6270 } catch (e) { 6271 return false; 6272 } 6273} 6274var passiveOptionAccessed = false; 6275var options = { 6276 get passive() { 6277 return passiveOptionAccessed = true; 6278 } 6279}; 6280var w2 = typeof window !== "undefined" ? window : {}; 6281if (w2.addEventListener && w2.removeEventListener) { 6282 w2.addEventListener("p", noop, options); 6283 w2.removeEventListener("p", noop, false); 6284} 6285var supportsPassiveEvents = passiveOptionAccessed; 6286function notNullish(item) { 6287 return item != null; 6288} 6289function isArray(arg) { 6290 return Array.isArray(arg); 6291} 6292function valueTernary(isMulti, multiValue, singleValue) { 6293 return isMulti ? multiValue : singleValue; 6294} 6295function singleValueAsValue(singleValue) { 6296 return singleValue; 6297} 6298function multiValueAsValue(multiValue) { 6299 return multiValue; 6300} 6301var removeProps = function removeProps2(propsObj) { 6302 for (var _len = arguments.length, properties = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 6303 properties[_key - 1] = arguments[_key]; 6304 } 6305 var propsMap = Object.entries(propsObj).filter(function(_ref3) { 6306 var _ref23 = _slicedToArray(_ref3, 1), key = _ref23[0]; 6307 return !properties.includes(key); 6308 }); 6309 return propsMap.reduce(function(newProps, _ref3) { 6310 var _ref4 = _slicedToArray(_ref3, 2), key = _ref4[0], val = _ref4[1]; 6311 newProps[key] = val; 6312 return newProps; 6313 }, {}); 6314}; 6315function getMenuPlacement(_ref3) { 6316 var maxHeight = _ref3.maxHeight, menuEl = _ref3.menuEl, minHeight = _ref3.minHeight, placement = _ref3.placement, shouldScroll = _ref3.shouldScroll, isFixedPosition = _ref3.isFixedPosition, theme = _ref3.theme; 6317 var spacing2 = theme.spacing; 6318 var scrollParent = getScrollParent(menuEl); 6319 var defaultState = { 6320 placement: "bottom", 6321 maxHeight 6322 }; 6323 if (!menuEl || !menuEl.offsetParent) 6324 return defaultState; 6325 var _scrollParent$getBoun = scrollParent.getBoundingClientRect(), scrollHeight = _scrollParent$getBoun.height; 6326 var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(), menuBottom = _menuEl$getBoundingCl.bottom, menuHeight = _menuEl$getBoundingCl.height, menuTop = _menuEl$getBoundingCl.top; 6327 var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(), containerTop = _menuEl$offsetParent$.top; 6328 var viewHeight = isFixedPosition ? window.innerHeight : normalizedHeight(scrollParent); 6329 var scrollTop = getScrollTop(scrollParent); 6330 var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10); 6331 var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10); 6332 var viewSpaceAbove = containerTop - marginTop; 6333 var viewSpaceBelow = viewHeight - menuTop; 6334 var scrollSpaceAbove = viewSpaceAbove + scrollTop; 6335 var scrollSpaceBelow = scrollHeight - scrollTop - menuTop; 6336 var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom; 6337 var scrollUp = scrollTop + menuTop - marginTop; 6338 var scrollDuration = 160; 6339 switch (placement) { 6340 case "auto": 6341 case "bottom": 6342 if (viewSpaceBelow >= menuHeight) { 6343 return { 6344 placement: "bottom", 6345 maxHeight 6346 }; 6347 } 6348 if (scrollSpaceBelow >= menuHeight && !isFixedPosition) { 6349 if (shouldScroll) { 6350 animatedScrollTo(scrollParent, scrollDown, scrollDuration); 6351 } 6352 return { 6353 placement: "bottom", 6354 maxHeight 6355 }; 6356 } 6357 if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) { 6358 if (shouldScroll) { 6359 animatedScrollTo(scrollParent, scrollDown, scrollDuration); 6360 } 6361 var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom; 6362 return { 6363 placement: "bottom", 6364 maxHeight: constrainedHeight 6365 }; 6366 } 6367 if (placement === "auto" || isFixedPosition) { 6368 var _constrainedHeight = maxHeight; 6369 var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove; 6370 if (spaceAbove >= minHeight) { 6371 _constrainedHeight = Math.min(spaceAbove - marginBottom - spacing2.controlHeight, maxHeight); 6372 } 6373 return { 6374 placement: "top", 6375 maxHeight: _constrainedHeight 6376 }; 6377 } 6378 if (placement === "bottom") { 6379 if (shouldScroll) { 6380 scrollTo(scrollParent, scrollDown); 6381 } 6382 return { 6383 placement: "bottom", 6384 maxHeight 6385 }; 6386 } 6387 break; 6388 case "top": 6389 if (viewSpaceAbove >= menuHeight) { 6390 return { 6391 placement: "top", 6392 maxHeight 6393 }; 6394 } 6395 if (scrollSpaceAbove >= menuHeight && !isFixedPosition) { 6396 if (shouldScroll) { 6397 animatedScrollTo(scrollParent, scrollUp, scrollDuration); 6398 } 6399 return { 6400 placement: "top", 6401 maxHeight 6402 }; 6403 } 6404 if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) { 6405 var _constrainedHeight2 = maxHeight; 6406 if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) { 6407 _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop; 6408 } 6409 if (shouldScroll) { 6410 animatedScrollTo(scrollParent, scrollUp, scrollDuration); 6411 } 6412 return { 6413 placement: "top", 6414 maxHeight: _constrainedHeight2 6415 }; 6416 } 6417 return { 6418 placement: "bottom", 6419 maxHeight 6420 }; 6421 default: 6422 throw new Error('Invalid placement provided "'.concat(placement, '".')); 6423 } 6424 return defaultState; 6425} 6426function alignToControl(placement) { 6427 var placementToCSSProp = { 6428 bottom: "top", 6429 top: "bottom" 6430 }; 6431 return placement ? placementToCSSProp[placement] : "bottom"; 6432} 6433var coercePlacement = function coercePlacement2(p2) { 6434 return p2 === "auto" ? "bottom" : p2; 6435}; 6436var menuCSS = function menuCSS2(_ref23) { 6437 var _ref3; 6438 var placement = _ref23.placement, _ref2$theme = _ref23.theme, borderRadius2 = _ref2$theme.borderRadius, spacing2 = _ref2$theme.spacing, colors2 = _ref2$theme.colors; 6439 return _ref3 = { 6440 label: "menu" 6441 }, _defineProperty(_ref3, alignToControl(placement), "100%"), _defineProperty(_ref3, "backgroundColor", colors2.neutral0), _defineProperty(_ref3, "borderRadius", borderRadius2), _defineProperty(_ref3, "boxShadow", "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"), _defineProperty(_ref3, "marginBottom", spacing2.menuGutter), _defineProperty(_ref3, "marginTop", spacing2.menuGutter), _defineProperty(_ref3, "position", "absolute"), _defineProperty(_ref3, "width", "100%"), _defineProperty(_ref3, "zIndex", 1), _ref3; 6442}; 6443var PortalPlacementContext = /* @__PURE__ */ (0, import_react15.createContext)({ 6444 getPortalPlacement: null 6445}); 6446var MenuPlacer = /* @__PURE__ */ function(_Component) { 6447 _inherits(MenuPlacer2, _Component); 6448 var _super = _createSuper(MenuPlacer2); 6449 function MenuPlacer2() { 6450 var _this; 6451 _classCallCheck(this, MenuPlacer2); 6452 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 6453 args[_key] = arguments[_key]; 6454 } 6455 _this = _super.call.apply(_super, [this].concat(args)); 6456 _this.state = { 6457 maxHeight: _this.props.maxMenuHeight, 6458 placement: null 6459 }; 6460 _this.context = void 0; 6461 _this.getPlacement = function(ref) { 6462 var _this$props = _this.props, minMenuHeight = _this$props.minMenuHeight, maxMenuHeight = _this$props.maxMenuHeight, menuPlacement = _this$props.menuPlacement, menuPosition = _this$props.menuPosition, menuShouldScrollIntoView = _this$props.menuShouldScrollIntoView, theme = _this$props.theme; 6463 if (!ref) 6464 return; 6465 var isFixedPosition = menuPosition === "fixed"; 6466 var shouldScroll = menuShouldScrollIntoView && !isFixedPosition; 6467 var state = getMenuPlacement({ 6468 maxHeight: maxMenuHeight, 6469 menuEl: ref, 6470 minHeight: minMenuHeight, 6471 placement: menuPlacement, 6472 shouldScroll, 6473 isFixedPosition, 6474 theme 6475 }); 6476 var getPortalPlacement = _this.context.getPortalPlacement; 6477 if (getPortalPlacement) 6478 getPortalPlacement(state); 6479 _this.setState(state); 6480 }; 6481 _this.getUpdatedProps = function() { 6482 var menuPlacement = _this.props.menuPlacement; 6483 var placement = _this.state.placement || coercePlacement(menuPlacement); 6484 return _objectSpread2(_objectSpread2({}, _this.props), {}, { 6485 placement, 6486 maxHeight: _this.state.maxHeight 6487 }); 6488 }; 6489 return _this; 6490 } 6491 _createClass(MenuPlacer2, [{ 6492 key: "render", 6493 value: function render() { 6494 var children = this.props.children; 6495 return children({ 6496 ref: this.getPlacement, 6497 placerProps: this.getUpdatedProps() 6498 }); 6499 } 6500 }]); 6501 return MenuPlacer2; 6502}(import_react15.Component); 6503MenuPlacer.contextType = PortalPlacementContext; 6504var Menu = function Menu2(props) { 6505 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerRef = props.innerRef, innerProps = props.innerProps; 6506 return (0, import_react14.jsx)("div", _extends({ 6507 css: getStyles("menu", props), 6508 className: cx({ 6509 menu: true 6510 }, className), 6511 ref: innerRef 6512 }, innerProps), children); 6513}; 6514var menuListCSS = function menuListCSS2(_ref4) { 6515 var maxHeight = _ref4.maxHeight, baseUnit2 = _ref4.theme.spacing.baseUnit; 6516 return { 6517 maxHeight, 6518 overflowY: "auto", 6519 paddingBottom: baseUnit2, 6520 paddingTop: baseUnit2, 6521 position: "relative", 6522 WebkitOverflowScrolling: "touch" 6523 }; 6524}; 6525var MenuList = function MenuList2(props) { 6526 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti; 6527 return (0, import_react14.jsx)("div", _extends({ 6528 css: getStyles("menuList", props), 6529 className: cx({ 6530 "menu-list": true, 6531 "menu-list--is-multi": isMulti 6532 }, className), 6533 ref: innerRef 6534 }, innerProps), children); 6535}; 6536var noticeCSS = function noticeCSS2(_ref5) { 6537 var _ref5$theme = _ref5.theme, baseUnit2 = _ref5$theme.spacing.baseUnit, colors2 = _ref5$theme.colors; 6538 return { 6539 color: colors2.neutral40, 6540 padding: "".concat(baseUnit2 * 2, "px ").concat(baseUnit2 * 3, "px"), 6541 textAlign: "center" 6542 }; 6543}; 6544var noOptionsMessageCSS = noticeCSS; 6545var loadingMessageCSS = noticeCSS; 6546var NoOptionsMessage = function NoOptionsMessage2(props) { 6547 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps; 6548 return (0, import_react14.jsx)("div", _extends({ 6549 css: getStyles("noOptionsMessage", props), 6550 className: cx({ 6551 "menu-notice": true, 6552 "menu-notice--no-options": true 6553 }, className) 6554 }, innerProps), children); 6555}; 6556NoOptionsMessage.defaultProps = { 6557 children: "No options" 6558}; 6559var LoadingMessage = function LoadingMessage2(props) { 6560 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps; 6561 return (0, import_react14.jsx)("div", _extends({ 6562 css: getStyles("loadingMessage", props), 6563 className: cx({ 6564 "menu-notice": true, 6565 "menu-notice--loading": true 6566 }, className) 6567 }, innerProps), children); 6568}; 6569LoadingMessage.defaultProps = { 6570 children: "Loading..." 6571}; 6572var menuPortalCSS = function menuPortalCSS2(_ref6) { 6573 var rect = _ref6.rect, offset = _ref6.offset, position = _ref6.position; 6574 return { 6575 left: rect.left, 6576 position, 6577 top: offset, 6578 width: rect.width, 6579 zIndex: 1 6580 }; 6581}; 6582var MenuPortal = function MenuPortal2(_ref7) { 6583 var appendTo = _ref7.appendTo, children = _ref7.children, className = _ref7.className, controlElement = _ref7.controlElement, cx = _ref7.cx, innerProps = _ref7.innerProps, menuPlacement = _ref7.menuPlacement, menuPosition = _ref7.menuPosition, getStyles = _ref7.getStyles; 6584 var menuPortalRef = (0, import_react15.useRef)(null); 6585 var cleanupRef = (0, import_react15.useRef)(null); 6586 var _useState = (0, import_react15.useState)(coercePlacement(menuPlacement)), _useState2 = _slicedToArray(_useState, 2), placement = _useState2[0], setPlacement = _useState2[1]; 6587 var _useState3 = (0, import_react15.useState)(null), _useState4 = _slicedToArray(_useState3, 2), computedPosition = _useState4[0], setComputedPosition = _useState4[1]; 6588 var getPortalPlacement = (0, import_react15.useCallback)(function(_ref8) { 6589 var updatedPlacement = _ref8.placement; 6590 if (updatedPlacement !== placement) { 6591 setPlacement(updatedPlacement); 6592 } 6593 }, [placement]); 6594 var updateComputedPosition = (0, import_react15.useCallback)(function() { 6595 if (!controlElement) 6596 return; 6597 var rect = getBoundingClientObj(controlElement); 6598 var scrollDistance = menuPosition === "fixed" ? 0 : window.pageYOffset; 6599 var offset = rect[placement] + scrollDistance; 6600 if (offset !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset) || rect.left !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left) || rect.width !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width)) { 6601 setComputedPosition({ 6602 offset, 6603 rect 6604 }); 6605 } 6606 }, [controlElement, menuPosition, placement, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width]); 6607 use_isomorphic_layout_effect_browser_esm_default(function() { 6608 updateComputedPosition(); 6609 }, [updateComputedPosition]); 6610 var runAutoUpdate = (0, import_react15.useCallback)(function() { 6611 if (typeof cleanupRef.current === "function") { 6612 cleanupRef.current(); 6613 cleanupRef.current = null; 6614 } 6615 if (controlElement && menuPortalRef.current) { 6616 cleanupRef.current = z(controlElement, menuPortalRef.current, updateComputedPosition, { 6617 elementResize: "ResizeObserver" in window 6618 }); 6619 } 6620 }, [controlElement, updateComputedPosition]); 6621 use_isomorphic_layout_effect_browser_esm_default(function() { 6622 runAutoUpdate(); 6623 }, [runAutoUpdate]); 6624 var setMenuPortalElement = (0, import_react15.useCallback)(function(menuPortalElement) { 6625 menuPortalRef.current = menuPortalElement; 6626 runAutoUpdate(); 6627 }, [runAutoUpdate]); 6628 if (!appendTo && menuPosition !== "fixed" || !computedPosition) 6629 return null; 6630 var menuWrapper = (0, import_react14.jsx)("div", _extends({ 6631 ref: setMenuPortalElement, 6632 css: getStyles("menuPortal", { 6633 offset: computedPosition.offset, 6634 position: menuPosition, 6635 rect: computedPosition.rect 6636 }), 6637 className: cx({ 6638 "menu-portal": true 6639 }, className) 6640 }, innerProps), children); 6641 return (0, import_react14.jsx)(PortalPlacementContext.Provider, { 6642 value: { 6643 getPortalPlacement 6644 } 6645 }, appendTo ? /* @__PURE__ */ (0, import_react_dom2.createPortal)(menuWrapper, appendTo) : menuWrapper); 6646}; 6647var containerCSS = function containerCSS2(_ref3) { 6648 var isDisabled = _ref3.isDisabled, isRtl = _ref3.isRtl; 6649 return { 6650 label: "container", 6651 direction: isRtl ? "rtl" : void 0, 6652 pointerEvents: isDisabled ? "none" : void 0, 6653 position: "relative" 6654 }; 6655}; 6656var SelectContainer = function SelectContainer2(props) { 6657 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl; 6658 return (0, import_react14.jsx)("div", _extends({ 6659 css: getStyles("container", props), 6660 className: cx({ 6661 "--is-disabled": isDisabled, 6662 "--is-rtl": isRtl 6663 }, className) 6664 }, innerProps), children); 6665}; 6666var valueContainerCSS = function valueContainerCSS2(_ref23) { 6667 var spacing2 = _ref23.theme.spacing, isMulti = _ref23.isMulti, hasValue = _ref23.hasValue, controlShouldRenderValue = _ref23.selectProps.controlShouldRenderValue; 6668 return { 6669 alignItems: "center", 6670 display: isMulti && hasValue && controlShouldRenderValue ? "flex" : "grid", 6671 flex: 1, 6672 flexWrap: "wrap", 6673 padding: "".concat(spacing2.baseUnit / 2, "px ").concat(spacing2.baseUnit * 2, "px"), 6674 WebkitOverflowScrolling: "touch", 6675 position: "relative", 6676 overflow: "hidden" 6677 }; 6678}; 6679var ValueContainer = function ValueContainer2(props) { 6680 var children = props.children, className = props.className, cx = props.cx, innerProps = props.innerProps, isMulti = props.isMulti, getStyles = props.getStyles, hasValue = props.hasValue; 6681 return (0, import_react14.jsx)("div", _extends({ 6682 css: getStyles("valueContainer", props), 6683 className: cx({ 6684 "value-container": true, 6685 "value-container--is-multi": isMulti, 6686 "value-container--has-value": hasValue 6687 }, className) 6688 }, innerProps), children); 6689}; 6690var indicatorsContainerCSS = function indicatorsContainerCSS2() { 6691 return { 6692 alignItems: "center", 6693 alignSelf: "stretch", 6694 display: "flex", 6695 flexShrink: 0 6696 }; 6697}; 6698var IndicatorsContainer = function IndicatorsContainer2(props) { 6699 var children = props.children, className = props.className, cx = props.cx, innerProps = props.innerProps, getStyles = props.getStyles; 6700 return (0, import_react14.jsx)("div", _extends({ 6701 css: getStyles("indicatorsContainer", props), 6702 className: cx({ 6703 indicators: true 6704 }, className) 6705 }, innerProps), children); 6706}; 6707var _templateObject; 6708var _excluded$2 = ["size"]; 6709function _EMOTION_STRINGIFIED_CSS_ERROR__() { 6710 return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; 6711} 6712var _ref2 = false ? { 6713 name: "8mmkcg", 6714 styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0" 6715} : { 6716 name: "tj5bde-Svg", 6717 styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;", 6718 map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpc0ZvY3VzZWQsXG4gIHRoZW1lOiB7XG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIGNvbG9ycyxcbiAgfSxcbn06XG4gIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuXG4gICc6aG92ZXInOiB7XG4gICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICB9LFxufSk7XG5cbmV4cG9ydCBjb25zdCBkcm9wZG93bkluZGljYXRvckNTUyA9IGJhc2VDU1M7XG5leHBvcnQgY29uc3QgRHJvcGRvd25JbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBEcm9wZG93bkluZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnZHJvcGRvd25JbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdjbGVhckluZGljYXRvcicsIHByb3BzKX1cbiAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpc0Rpc2FibGVkLFxuICB0aGVtZToge1xuICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICBjb2xvcnMsXG4gIH0sXG59OiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvclNlcGFyYXRvcicsXG4gIGFsaWduU2VsZjogJ3N0cmV0Y2gnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IGlzRGlzYWJsZWQgPyBjb2xvcnMubmV1dHJhbDEwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgbWFyZ2luQm90dG9tOiBiYXNlVW5pdCAqIDIsXG4gIG1hcmdpblRvcDogYmFzZVVuaXQgKiAyLFxuICB3aWR0aDogMSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2luZGljYXRvclNlcGFyYXRvcicsIHByb3BzKX1cbiAgICAgIGNsYXNzTmFtZT17Y3goeyAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUgfSwgY2xhc3NOYW1lKX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaXNGb2N1c2VkLFxuICBzaXplLFxuICB0aGVtZToge1xuICAgIGNvbG9ycyxcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gIH0sXG59OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgYWxpZ25TZWxmOiAnY2VudGVyJyxcbiAgZm9udFNpemU6IHNpemUsXG4gIGxpbmVIZWlnaHQ6IDEsXG4gIG1hcmdpblJpZ2h0OiBzaXplLFxuICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICB2ZXJ0aWNhbEFsaWduOiAnbWlkZGxlJyxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */", 6719 toString: _EMOTION_STRINGIFIED_CSS_ERROR__ 6720}; 6721var Svg = function Svg2(_ref3) { 6722 var size = _ref3.size, props = _objectWithoutProperties(_ref3, _excluded$2); 6723 return (0, import_react14.jsx)("svg", _extends({ 6724 height: size, 6725 width: size, 6726 viewBox: "0 0 20 20", 6727 "aria-hidden": "true", 6728 focusable: "false", 6729 css: _ref2 6730 }, props)); 6731}; 6732var CrossIcon = function CrossIcon2(props) { 6733 return (0, import_react14.jsx)(Svg, _extends({ 6734 size: 20 6735 }, props), (0, import_react14.jsx)("path", { 6736 d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z" 6737 })); 6738}; 6739var DownChevron = function DownChevron2(props) { 6740 return (0, import_react14.jsx)(Svg, _extends({ 6741 size: 20 6742 }, props), (0, import_react14.jsx)("path", { 6743 d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z" 6744 })); 6745}; 6746var baseCSS = function baseCSS2(_ref3) { 6747 var isFocused = _ref3.isFocused, _ref3$theme = _ref3.theme, baseUnit2 = _ref3$theme.spacing.baseUnit, colors2 = _ref3$theme.colors; 6748 return { 6749 label: "indicatorContainer", 6750 color: isFocused ? colors2.neutral60 : colors2.neutral20, 6751 display: "flex", 6752 padding: baseUnit2 * 2, 6753 transition: "color 150ms", 6754 ":hover": { 6755 color: isFocused ? colors2.neutral80 : colors2.neutral40 6756 } 6757 }; 6758}; 6759var dropdownIndicatorCSS = baseCSS; 6760var DropdownIndicator = function DropdownIndicator2(props) { 6761 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps; 6762 return (0, import_react14.jsx)("div", _extends({ 6763 css: getStyles("dropdownIndicator", props), 6764 className: cx({ 6765 indicator: true, 6766 "dropdown-indicator": true 6767 }, className) 6768 }, innerProps), children || (0, import_react14.jsx)(DownChevron, null)); 6769}; 6770var clearIndicatorCSS = baseCSS; 6771var ClearIndicator = function ClearIndicator2(props) { 6772 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps; 6773 return (0, import_react14.jsx)("div", _extends({ 6774 css: getStyles("clearIndicator", props), 6775 className: cx({ 6776 indicator: true, 6777 "clear-indicator": true 6778 }, className) 6779 }, innerProps), children || (0, import_react14.jsx)(CrossIcon, null)); 6780}; 6781var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4) { 6782 var isDisabled = _ref4.isDisabled, _ref4$theme = _ref4.theme, baseUnit2 = _ref4$theme.spacing.baseUnit, colors2 = _ref4$theme.colors; 6783 return { 6784 label: "indicatorSeparator", 6785 alignSelf: "stretch", 6786 backgroundColor: isDisabled ? colors2.neutral10 : colors2.neutral20, 6787 marginBottom: baseUnit2 * 2, 6788 marginTop: baseUnit2 * 2, 6789 width: 1 6790 }; 6791}; 6792var IndicatorSeparator = function IndicatorSeparator2(props) { 6793 var className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps; 6794 return (0, import_react14.jsx)("span", _extends({}, innerProps, { 6795 css: getStyles("indicatorSeparator", props), 6796 className: cx({ 6797 "indicator-separator": true 6798 }, className) 6799 })); 6800}; 6801var loadingDotAnimations = (0, import_react14.keyframes)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))); 6802var loadingIndicatorCSS = function loadingIndicatorCSS2(_ref5) { 6803 var isFocused = _ref5.isFocused, size = _ref5.size, _ref5$theme = _ref5.theme, colors2 = _ref5$theme.colors, baseUnit2 = _ref5$theme.spacing.baseUnit; 6804 return { 6805 label: "loadingIndicator", 6806 color: isFocused ? colors2.neutral60 : colors2.neutral20, 6807 display: "flex", 6808 padding: baseUnit2 * 2, 6809 transition: "color 150ms", 6810 alignSelf: "center", 6811 fontSize: size, 6812 lineHeight: 1, 6813 marginRight: size, 6814 textAlign: "center", 6815 verticalAlign: "middle" 6816 }; 6817}; 6818var LoadingDot = function LoadingDot2(_ref6) { 6819 var delay = _ref6.delay, offset = _ref6.offset; 6820 return (0, import_react14.jsx)("span", { 6821 css: /* @__PURE__ */ (0, import_react14.css)({ 6822 animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"), 6823 backgroundColor: "currentColor", 6824 borderRadius: "1em", 6825 display: "inline-block", 6826 marginLeft: offset ? "1em" : void 0, 6827 height: "1em", 6828 verticalAlign: "top", 6829 width: "1em" 6830 }, false ? "" : ";label:LoadingDot;", false ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpc0ZvY3VzZWQsXG4gIHRoZW1lOiB7XG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIGNvbG9ycyxcbiAgfSxcbn06XG4gIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuXG4gICc6aG92ZXInOiB7XG4gICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICB9LFxufSk7XG5cbmV4cG9ydCBjb25zdCBkcm9wZG93bkluZGljYXRvckNTUyA9IGJhc2VDU1M7XG5leHBvcnQgY29uc3QgRHJvcGRvd25JbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBEcm9wZG93bkluZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnZHJvcGRvd25JbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdjbGVhckluZGljYXRvcicsIHByb3BzKX1cbiAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpc0Rpc2FibGVkLFxuICB0aGVtZToge1xuICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICBjb2xvcnMsXG4gIH0sXG59OiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvclNlcGFyYXRvcicsXG4gIGFsaWduU2VsZjogJ3N0cmV0Y2gnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IGlzRGlzYWJsZWQgPyBjb2xvcnMubmV1dHJhbDEwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgbWFyZ2luQm90dG9tOiBiYXNlVW5pdCAqIDIsXG4gIG1hcmdpblRvcDogYmFzZVVuaXQgKiAyLFxuICB3aWR0aDogMSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2luZGljYXRvclNlcGFyYXRvcicsIHByb3BzKX1cbiAgICAgIGNsYXNzTmFtZT17Y3goeyAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUgfSwgY2xhc3NOYW1lKX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaXNGb2N1c2VkLFxuICBzaXplLFxuICB0aGVtZToge1xuICAgIGNvbG9ycyxcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gIH0sXG59OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgYWxpZ25TZWxmOiAnY2VudGVyJyxcbiAgZm9udFNpemU6IHNpemUsXG4gIGxpbmVIZWlnaHQ6IDEsXG4gIG1hcmdpblJpZ2h0OiBzaXplLFxuICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICB2ZXJ0aWNhbEFsaWduOiAnbWlkZGxlJyxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */") 6831 }); 6832}; 6833var LoadingIndicator = function LoadingIndicator2(props) { 6834 var className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps, isRtl = props.isRtl; 6835 return (0, import_react14.jsx)("div", _extends({ 6836 css: getStyles("loadingIndicator", props), 6837 className: cx({ 6838 indicator: true, 6839 "loading-indicator": true 6840 }, className) 6841 }, innerProps), (0, import_react14.jsx)(LoadingDot, { 6842 delay: 0, 6843 offset: isRtl 6844 }), (0, import_react14.jsx)(LoadingDot, { 6845 delay: 160, 6846 offset: true 6847 }), (0, import_react14.jsx)(LoadingDot, { 6848 delay: 320, 6849 offset: !isRtl 6850 })); 6851}; 6852LoadingIndicator.defaultProps = { 6853 size: 4 6854}; 6855var css$1 = function css(_ref3) { 6856 var isDisabled = _ref3.isDisabled, isFocused = _ref3.isFocused, _ref$theme = _ref3.theme, colors2 = _ref$theme.colors, borderRadius2 = _ref$theme.borderRadius, spacing2 = _ref$theme.spacing; 6857 return { 6858 label: "control", 6859 alignItems: "center", 6860 backgroundColor: isDisabled ? colors2.neutral5 : colors2.neutral0, 6861 borderColor: isDisabled ? colors2.neutral10 : isFocused ? colors2.primary : colors2.neutral20, 6862 borderRadius: borderRadius2, 6863 borderStyle: "solid", 6864 borderWidth: 1, 6865 boxShadow: isFocused ? "0 0 0 1px ".concat(colors2.primary) : void 0, 6866 cursor: "default", 6867 display: "flex", 6868 flexWrap: "wrap", 6869 justifyContent: "space-between", 6870 minHeight: spacing2.controlHeight, 6871 outline: "0 !important", 6872 position: "relative", 6873 transition: "all 100ms", 6874 "&:hover": { 6875 borderColor: isFocused ? colors2.primary : colors2.neutral30 6876 } 6877 }; 6878}; 6879var Control = function Control2(props) { 6880 var children = props.children, cx = props.cx, getStyles = props.getStyles, className = props.className, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen; 6881 return (0, import_react14.jsx)("div", _extends({ 6882 ref: innerRef, 6883 css: getStyles("control", props), 6884 className: cx({ 6885 control: true, 6886 "control--is-disabled": isDisabled, 6887 "control--is-focused": isFocused, 6888 "control--menu-is-open": menuIsOpen 6889 }, className) 6890 }, innerProps), children); 6891}; 6892var _excluded$1 = ["data"]; 6893var groupCSS = function groupCSS2(_ref3) { 6894 var spacing2 = _ref3.theme.spacing; 6895 return { 6896 paddingBottom: spacing2.baseUnit * 2, 6897 paddingTop: spacing2.baseUnit * 2 6898 }; 6899}; 6900var Group = function Group2(props) { 6901 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, Heading = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label = props.label, theme = props.theme, selectProps = props.selectProps; 6902 return (0, import_react14.jsx)("div", _extends({ 6903 css: getStyles("group", props), 6904 className: cx({ 6905 group: true 6906 }, className) 6907 }, innerProps), (0, import_react14.jsx)(Heading, _extends({}, headingProps, { 6908 selectProps, 6909 theme, 6910 getStyles, 6911 cx 6912 }), label), (0, import_react14.jsx)("div", null, children)); 6913}; 6914var groupHeadingCSS = function groupHeadingCSS2(_ref23) { 6915 var spacing2 = _ref23.theme.spacing; 6916 return { 6917 label: "group", 6918 color: "#999", 6919 cursor: "default", 6920 display: "block", 6921 fontSize: "75%", 6922 fontWeight: 500, 6923 marginBottom: "0.25em", 6924 paddingLeft: spacing2.baseUnit * 3, 6925 paddingRight: spacing2.baseUnit * 3, 6926 textTransform: "uppercase" 6927 }; 6928}; 6929var GroupHeading = function GroupHeading2(props) { 6930 var getStyles = props.getStyles, cx = props.cx, className = props.className; 6931 var _cleanCommonProps = cleanCommonProps(props); 6932 _cleanCommonProps.data; 6933 var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1); 6934 return (0, import_react14.jsx)("div", _extends({ 6935 css: getStyles("groupHeading", props), 6936 className: cx({ 6937 "group-heading": true 6938 }, className) 6939 }, innerProps)); 6940}; 6941var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName"]; 6942var inputCSS = function inputCSS2(_ref3) { 6943 var isDisabled = _ref3.isDisabled, value = _ref3.value, _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors; 6944 return _objectSpread2({ 6945 margin: spacing2.baseUnit / 2, 6946 paddingBottom: spacing2.baseUnit / 2, 6947 paddingTop: spacing2.baseUnit / 2, 6948 visibility: isDisabled ? "hidden" : "visible", 6949 color: colors2.neutral80, 6950 transform: value ? "translateZ(0)" : "" 6951 }, containerStyle); 6952}; 6953var spacingStyle = { 6954 gridArea: "1 / 2", 6955 font: "inherit", 6956 minWidth: "2px", 6957 border: 0, 6958 margin: 0, 6959 outline: 0, 6960 padding: 0 6961}; 6962var containerStyle = { 6963 flex: "1 1 auto", 6964 display: "inline-grid", 6965 gridArea: "1 / 1 / 2 / 3", 6966 gridTemplateColumns: "0 min-content", 6967 "&:after": _objectSpread2({ 6968 content: 'attr(data-value) " "', 6969 visibility: "hidden", 6970 whiteSpace: "pre" 6971 }, spacingStyle) 6972}; 6973var inputStyle = function inputStyle2(isHidden) { 6974 return _objectSpread2({ 6975 label: "input", 6976 color: "inherit", 6977 background: 0, 6978 opacity: isHidden ? 0 : 1, 6979 width: "100%" 6980 }, spacingStyle); 6981}; 6982var Input = function Input2(props) { 6983 var className = props.className, cx = props.cx, getStyles = props.getStyles, value = props.value; 6984 var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded); 6985 return (0, import_react14.jsx)("div", { 6986 className: cx({ 6987 "input-container": true 6988 }, className), 6989 css: getStyles("input", props), 6990 "data-value": value || "" 6991 }, (0, import_react14.jsx)("input", _extends({ 6992 className: cx({ 6993 input: true 6994 }, inputClassName), 6995 ref: innerRef, 6996 style: inputStyle(isHidden), 6997 disabled: isDisabled 6998 }, innerProps))); 6999}; 7000var multiValueCSS = function multiValueCSS2(_ref3) { 7001 var _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, borderRadius2 = _ref$theme.borderRadius, colors2 = _ref$theme.colors; 7002 return { 7003 label: "multiValue", 7004 backgroundColor: colors2.neutral10, 7005 borderRadius: borderRadius2 / 2, 7006 display: "flex", 7007 margin: spacing2.baseUnit / 2, 7008 minWidth: 0 7009 }; 7010}; 7011var multiValueLabelCSS = function multiValueLabelCSS2(_ref23) { 7012 var _ref2$theme = _ref23.theme, borderRadius2 = _ref2$theme.borderRadius, colors2 = _ref2$theme.colors, cropWithEllipsis = _ref23.cropWithEllipsis; 7013 return { 7014 borderRadius: borderRadius2 / 2, 7015 color: colors2.neutral80, 7016 fontSize: "85%", 7017 overflow: "hidden", 7018 padding: 3, 7019 paddingLeft: 6, 7020 textOverflow: cropWithEllipsis || cropWithEllipsis === void 0 ? "ellipsis" : void 0, 7021 whiteSpace: "nowrap" 7022 }; 7023}; 7024var multiValueRemoveCSS = function multiValueRemoveCSS2(_ref3) { 7025 var _ref3$theme = _ref3.theme, spacing2 = _ref3$theme.spacing, borderRadius2 = _ref3$theme.borderRadius, colors2 = _ref3$theme.colors, isFocused = _ref3.isFocused; 7026 return { 7027 alignItems: "center", 7028 borderRadius: borderRadius2 / 2, 7029 backgroundColor: isFocused ? colors2.dangerLight : void 0, 7030 display: "flex", 7031 paddingLeft: spacing2.baseUnit, 7032 paddingRight: spacing2.baseUnit, 7033 ":hover": { 7034 backgroundColor: colors2.dangerLight, 7035 color: colors2.danger 7036 } 7037 }; 7038}; 7039var MultiValueGeneric = function MultiValueGeneric2(_ref4) { 7040 var children = _ref4.children, innerProps = _ref4.innerProps; 7041 return (0, import_react14.jsx)("div", innerProps, children); 7042}; 7043var MultiValueContainer = MultiValueGeneric; 7044var MultiValueLabel = MultiValueGeneric; 7045function MultiValueRemove(_ref5) { 7046 var children = _ref5.children, innerProps = _ref5.innerProps; 7047 return (0, import_react14.jsx)("div", _extends({ 7048 role: "button" 7049 }, innerProps), children || (0, import_react14.jsx)(CrossIcon, { 7050 size: 14 7051 })); 7052} 7053var MultiValue = function MultiValue2(props) { 7054 var children = props.children, className = props.className, components2 = props.components, cx = props.cx, data = props.data, getStyles = props.getStyles, innerProps = props.innerProps, isDisabled = props.isDisabled, removeProps3 = props.removeProps, selectProps = props.selectProps; 7055 var Container = components2.Container, Label = components2.Label, Remove = components2.Remove; 7056 return (0, import_react14.jsx)(import_react14.ClassNames, null, function(_ref6) { 7057 var css5 = _ref6.css, emotionCx = _ref6.cx; 7058 return (0, import_react14.jsx)(Container, { 7059 data, 7060 innerProps: _objectSpread2({ 7061 className: emotionCx(css5(getStyles("multiValue", props)), cx({ 7062 "multi-value": true, 7063 "multi-value--is-disabled": isDisabled 7064 }, className)) 7065 }, innerProps), 7066 selectProps 7067 }, (0, import_react14.jsx)(Label, { 7068 data, 7069 innerProps: { 7070 className: emotionCx(css5(getStyles("multiValueLabel", props)), cx({ 7071 "multi-value__label": true 7072 }, className)) 7073 }, 7074 selectProps 7075 }, children), (0, import_react14.jsx)(Remove, { 7076 data, 7077 innerProps: _objectSpread2({ 7078 className: emotionCx(css5(getStyles("multiValueRemove", props)), cx({ 7079 "multi-value__remove": true 7080 }, className)), 7081 "aria-label": "Remove ".concat(children || "option") 7082 }, removeProps3), 7083 selectProps 7084 })); 7085 }); 7086}; 7087var optionCSS = function optionCSS2(_ref3) { 7088 var isDisabled = _ref3.isDisabled, isFocused = _ref3.isFocused, isSelected = _ref3.isSelected, _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors; 7089 return { 7090 label: "option", 7091 backgroundColor: isSelected ? colors2.primary : isFocused ? colors2.primary25 : "transparent", 7092 color: isDisabled ? colors2.neutral20 : isSelected ? colors2.neutral0 : "inherit", 7093 cursor: "default", 7094 display: "block", 7095 fontSize: "inherit", 7096 padding: "".concat(spacing2.baseUnit * 2, "px ").concat(spacing2.baseUnit * 3, "px"), 7097 width: "100%", 7098 userSelect: "none", 7099 WebkitTapHighlightColor: "rgba(0, 0, 0, 0)", 7100 ":active": { 7101 backgroundColor: !isDisabled ? isSelected ? colors2.primary : colors2.primary50 : void 0 7102 } 7103 }; 7104}; 7105var Option = function Option2(props) { 7106 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps; 7107 return (0, import_react14.jsx)("div", _extends({ 7108 css: getStyles("option", props), 7109 className: cx({ 7110 option: true, 7111 "option--is-disabled": isDisabled, 7112 "option--is-focused": isFocused, 7113 "option--is-selected": isSelected 7114 }, className), 7115 ref: innerRef, 7116 "aria-disabled": isDisabled 7117 }, innerProps), children); 7118}; 7119var placeholderCSS = function placeholderCSS2(_ref3) { 7120 var _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors; 7121 return { 7122 label: "placeholder", 7123 color: colors2.neutral50, 7124 gridArea: "1 / 1 / 2 / 3", 7125 marginLeft: spacing2.baseUnit / 2, 7126 marginRight: spacing2.baseUnit / 2 7127 }; 7128}; 7129var Placeholder = function Placeholder2(props) { 7130 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps; 7131 return (0, import_react14.jsx)("div", _extends({ 7132 css: getStyles("placeholder", props), 7133 className: cx({ 7134 placeholder: true 7135 }, className) 7136 }, innerProps), children); 7137}; 7138var css2 = function css3(_ref3) { 7139 var isDisabled = _ref3.isDisabled, _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors; 7140 return { 7141 label: "singleValue", 7142 color: isDisabled ? colors2.neutral40 : colors2.neutral80, 7143 gridArea: "1 / 1 / 2 / 3", 7144 marginLeft: spacing2.baseUnit / 2, 7145 marginRight: spacing2.baseUnit / 2, 7146 maxWidth: "100%", 7147 overflow: "hidden", 7148 textOverflow: "ellipsis", 7149 whiteSpace: "nowrap" 7150 }; 7151}; 7152var SingleValue = function SingleValue2(props) { 7153 var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, isDisabled = props.isDisabled, innerProps = props.innerProps; 7154 return (0, import_react14.jsx)("div", _extends({ 7155 css: getStyles("singleValue", props), 7156 className: cx({ 7157 "single-value": true, 7158 "single-value--is-disabled": isDisabled 7159 }, className) 7160 }, innerProps), children); 7161}; 7162var components = { 7163 ClearIndicator, 7164 Control, 7165 DropdownIndicator, 7166 DownChevron, 7167 CrossIcon, 7168 Group, 7169 GroupHeading, 7170 IndicatorsContainer, 7171 IndicatorSeparator, 7172 Input, 7173 LoadingIndicator, 7174 Menu, 7175 MenuList, 7176 MenuPortal, 7177 LoadingMessage, 7178 NoOptionsMessage, 7179 MultiValue, 7180 MultiValueContainer, 7181 MultiValueLabel, 7182 MultiValueRemove, 7183 Option, 7184 Placeholder, 7185 SelectContainer, 7186 SingleValue, 7187 ValueContainer 7188}; 7189var defaultComponents = function defaultComponents2(props) { 7190 return _objectSpread2(_objectSpread2({}, components), props.components); 7191}; 7192
vendor: 3,033 bytes, lines 7193-7239
7193// node_modules/react-select/dist/useStateManager-b741e3ed.esm.js 7194var import_react16 = __toESM(require_react()); 7195var _excluded2 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"]; 7196function useStateManager(_ref3) { 7197 var _ref$defaultInputValu = _ref3.defaultInputValue, defaultInputValue = _ref$defaultInputValu === void 0 ? "" : _ref$defaultInputValu, _ref$defaultMenuIsOpe = _ref3.defaultMenuIsOpen, defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe, _ref$defaultValue = _ref3.defaultValue, defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue, propsInputValue = _ref3.inputValue, propsMenuIsOpen = _ref3.menuIsOpen, propsOnChange = _ref3.onChange, propsOnInputChange = _ref3.onInputChange, propsOnMenuClose = _ref3.onMenuClose, propsOnMenuOpen = _ref3.onMenuOpen, propsValue = _ref3.value, restSelectProps = _objectWithoutProperties(_ref3, _excluded2); 7198 var _useState = (0, import_react16.useState)(propsInputValue !== void 0 ? propsInputValue : defaultInputValue), _useState2 = _slicedToArray(_useState, 2), stateInputValue = _useState2[0], setStateInputValue = _useState2[1]; 7199 var _useState3 = (0, import_react16.useState)(propsMenuIsOpen !== void 0 ? propsMenuIsOpen : defaultMenuIsOpen), _useState4 = _slicedToArray(_useState3, 2), stateMenuIsOpen = _useState4[0], setStateMenuIsOpen = _useState4[1]; 7200 var _useState5 = (0, import_react16.useState)(propsValue !== void 0 ? propsValue : defaultValue), _useState6 = _slicedToArray(_useState5, 2), stateValue = _useState6[0], setStateValue = _useState6[1]; 7201 var onChange2 = (0, import_react16.useCallback)(function(value2, actionMeta) { 7202 if (typeof propsOnChange === "function") { 7203 propsOnChange(value2, actionMeta); 7204 } 7205 setStateValue(value2); 7206 }, [propsOnChange]); 7207 var onInputChange = (0, import_react16.useCallback)(function(value2, actionMeta) { 7208 var newValue; 7209 if (typeof propsOnInputChange === "function") { 7210 newValue = propsOnInputChange(value2, actionMeta); 7211 } 7212 setStateInputValue(newValue !== void 0 ? newValue : value2); 7213 }, [propsOnInputChange]); 7214 var onMenuOpen = (0, import_react16.useCallback)(function() { 7215 if (typeof propsOnMenuOpen === "function") { 7216 propsOnMenuOpen(); 7217 } 7218 setStateMenuIsOpen(true); 7219 }, [propsOnMenuOpen]); 7220 var onMenuClose = (0, import_react16.useCallback)(function() { 7221 if (typeof propsOnMenuClose === "function") { 7222 propsOnMenuClose(); 7223 } 7224 setStateMenuIsOpen(false); 7225 }, [propsOnMenuClose]); 7226 var inputValue = propsInputValue !== void 0 ? propsInputValue : stateInputValue; 7227 var menuIsOpen = propsMenuIsOpen !== void 0 ? propsMenuIsOpen : stateMenuIsOpen; 7228 var value = propsValue !== void 0 ? propsValue : stateValue; 7229 return _objectSpread2(_objectSpread2({}, restSelectProps), {}, { 7230 inputValue, 7231 menuIsOpen, 7232 onChange: onChange2, 7233 onInputChange, 7234 onMenuClose, 7235 onMenuOpen, 7236 value 7237 }); 7238} 7239
vendor: 158 bytes, lines 7240-7244
7240// node_modules/react-select/dist/react-select.esm.js 7241init_extends(); 7242var React22 = __toESM(require_react()); 7243var import_react19 = __toESM(require_react()); 7244
vendor: 88 bytes, lines 7245-7248
7245// node_modules/react-select/dist/Select-5c79746e.esm.js 7246init_react(); 7247init_extends(); 7248
vendor: 79 bytes, lines 7249-7251
7249// node_modules/@babel/runtime/helpers/esm/toConsumableArray.js 7250init_react(); 7251
vendor: 174 bytes, lines 7252-7258
7252// node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js 7253init_react(); 7254function _arrayWithoutHoles(r2) { 7255 if (Array.isArray(r2)) 7256 return _arrayLikeToArray(r2); 7257} 7258
vendor: 233 bytes, lines 7259-7265
7259// node_modules/@babel/runtime/helpers/esm/iterableToArray.js 7260init_react(); 7261function _iterableToArray(r2) { 7262 if (typeof Symbol != "undefined" && r2[Symbol.iterator] != null || r2["@@iterator"] != null) 7263 return Array.from(r2); 7264} 7265
vendor: 272 bytes, lines 7266-7271
7266// node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js 7267init_react(); 7268function _nonIterableSpread() { 7269 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 7270} 7271
vendor: 217 bytes, lines 7272-7276
7272// node_modules/@babel/runtime/helpers/esm/toConsumableArray.js 7273function _toConsumableArray(r2) { 7274 return _arrayWithoutHoles(r2) || _iterableToArray(r2) || _unsupportedIterableToArray(r2) || _nonIterableSpread(); 7275} 7276
vendor: 204 bytes, lines 7277-7281
7277// node_modules/react-select/dist/Select-5c79746e.esm.js 7278var React21 = __toESM(require_react()); 7279var import_react17 = __toESM(require_react()); 7280var import_react18 = __toESM(require_emotion_react_cjs()); 7281
vendor: 1,247 bytes, lines 7282-7333
7282// node_modules/memoize-one/dist/memoize-one.esm.js 7283init_react(); 7284var safeIsNaN = Number.isNaN || function ponyfill(value) { 7285 return typeof value === "number" && value !== value; 7286}; 7287function isEqual(first, second) { 7288 if (first === second) { 7289 return true; 7290 } 7291 if (safeIsNaN(first) && safeIsNaN(second)) { 7292 return true; 7293 } 7294 return false; 7295} 7296function areInputsEqual(newInputs, lastInputs) { 7297 if (newInputs.length !== lastInputs.length) { 7298 return false; 7299 } 7300 for (var i2 = 0; i2 < newInputs.length; i2++) { 7301 if (!isEqual(newInputs[i2], lastInputs[i2])) { 7302 return false; 7303 } 7304 } 7305 return true; 7306} 7307function memoizeOne(resultFn, isEqual2) { 7308 if (isEqual2 === void 0) { 7309 isEqual2 = areInputsEqual; 7310 } 7311 var cache = null; 7312 function memoized() { 7313 var newArgs = []; 7314 for (var _i = 0; _i < arguments.length; _i++) { 7315 newArgs[_i] = arguments[_i]; 7316 } 7317 if (cache && cache.lastThis === this && isEqual2(newArgs, cache.lastArgs)) { 7318 return cache.lastResult; 7319 } 7320 var lastResult = resultFn.apply(this, newArgs); 7321 cache = { 7322 lastResult, 7323 lastArgs: newArgs, 7324 lastThis: this 7325 }; 7326 return lastResult; 7327 } 7328 memoized.clear = function clear() { 7329 cache = null; 7330 }; 7331 return memoized; 7332} 7333
vendor: 85,532 bytes, lines 7334-9485
7334// node_modules/react-select/dist/Select-5c79746e.esm.js 7335function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { 7336 return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; 7337} 7338var _ref = false ? { 7339 name: "7pg0cj-a11yText", 7340 styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap" 7341} : { 7342 name: "1f43avz-a11yText-A11yText", 7343 styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;", 7344 map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */", 7345 toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1 7346}; 7347var A11yText = function A11yText2(props) { 7348 return (0, import_react18.jsx)("span", _extends({ 7349 css: _ref 7350 }, props)); 7351}; 7352var defaultAriaLiveMessages = { 7353 guidance: function guidance(props) { 7354 var isSearchable = props.isSearchable, isMulti = props.isMulti, isDisabled = props.isDisabled, tabSelectsValue = props.tabSelectsValue, context = props.context; 7355 switch (context) { 7356 case "menu": 7357 return "Use Up and Down to choose options".concat(isDisabled ? "" : ", press Enter to select the currently focused option", ", press Escape to exit the menu").concat(tabSelectsValue ? ", press Tab to select the option and exit the menu" : "", "."); 7358 case "input": 7359 return "".concat(props["aria-label"] || "Select", " is focused ").concat(isSearchable ? ",type to refine list" : "", ", press Down to open the menu, ").concat(isMulti ? " press left to focus selected values" : ""); 7360 case "value": 7361 return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value"; 7362 default: 7363 return ""; 7364 } 7365 }, 7366 onChange: function onChange(props) { 7367 var action = props.action, _props$label = props.label, label = _props$label === void 0 ? "" : _props$label, labels = props.labels, isDisabled = props.isDisabled; 7368 switch (action) { 7369 case "deselect-option": 7370 case "pop-value": 7371 case "remove-value": 7372 return "option ".concat(label, ", deselected."); 7373 case "clear": 7374 return "All selected options have been cleared."; 7375 case "initial-input-focus": 7376 return "option".concat(labels.length > 1 ? "s" : "", " ").concat(labels.join(","), ", selected."); 7377 case "select-option": 7378 return isDisabled ? "option ".concat(label, " is disabled. Select another option.") : "option ".concat(label, ", selected."); 7379 default: 7380 return ""; 7381 } 7382 }, 7383 onFocus: function onFocus(props) { 7384 var context = props.context, focused = props.focused, options2 = props.options, _props$label2 = props.label, label = _props$label2 === void 0 ? "" : _props$label2, selectValue = props.selectValue, isDisabled = props.isDisabled, isSelected = props.isSelected; 7385 var getArrayIndex = function getArrayIndex2(arr, item) { 7386 return arr && arr.length ? "".concat(arr.indexOf(item) + 1, " of ").concat(arr.length) : ""; 7387 }; 7388 if (context === "value" && selectValue) { 7389 return "value ".concat(label, " focused, ").concat(getArrayIndex(selectValue, focused), "."); 7390 } 7391 if (context === "menu") { 7392 var disabled = isDisabled ? " disabled" : ""; 7393 var status = "".concat(isSelected ? "selected" : "focused").concat(disabled); 7394 return "option ".concat(label, " ").concat(status, ", ").concat(getArrayIndex(options2, focused), "."); 7395 } 7396 return ""; 7397 }, 7398 onFilter: function onFilter(props) { 7399 var inputValue = props.inputValue, resultsMessage = props.resultsMessage; 7400 return "".concat(resultsMessage).concat(inputValue ? " for search term " + inputValue : "", "."); 7401 } 7402}; 7403var LiveRegion = function LiveRegion2(props) { 7404 var ariaSelection = props.ariaSelection, focusedOption = props.focusedOption, focusedValue = props.focusedValue, focusableOptions = props.focusableOptions, isFocused = props.isFocused, selectValue = props.selectValue, selectProps = props.selectProps, id = props.id; 7405 var ariaLiveMessages = selectProps.ariaLiveMessages, getOptionLabel4 = selectProps.getOptionLabel, inputValue = selectProps.inputValue, isMulti = selectProps.isMulti, isOptionDisabled3 = selectProps.isOptionDisabled, isSearchable = selectProps.isSearchable, menuIsOpen = selectProps.menuIsOpen, options2 = selectProps.options, screenReaderStatus2 = selectProps.screenReaderStatus, tabSelectsValue = selectProps.tabSelectsValue; 7406 var ariaLabel = selectProps["aria-label"]; 7407 var ariaLive = selectProps["aria-live"]; 7408 var messages = (0, import_react17.useMemo)(function() { 7409 return _objectSpread2(_objectSpread2({}, defaultAriaLiveMessages), ariaLiveMessages || {}); 7410 }, [ariaLiveMessages]); 7411 var ariaSelected = (0, import_react17.useMemo)(function() { 7412 var message = ""; 7413 if (ariaSelection && messages.onChange) { 7414 var option = ariaSelection.option, selectedOptions = ariaSelection.options, removedValue = ariaSelection.removedValue, removedValues = ariaSelection.removedValues, value = ariaSelection.value; 7415 var asOption = function asOption2(val) { 7416 return !Array.isArray(val) ? val : null; 7417 }; 7418 var selected = removedValue || option || asOption(value); 7419 var label = selected ? getOptionLabel4(selected) : ""; 7420 var multiSelected = selectedOptions || removedValues || void 0; 7421 var labels = multiSelected ? multiSelected.map(getOptionLabel4) : []; 7422 var onChangeProps = _objectSpread2({ 7423 isDisabled: selected && isOptionDisabled3(selected, selectValue), 7424 label, 7425 labels 7426 }, ariaSelection); 7427 message = messages.onChange(onChangeProps); 7428 } 7429 return message; 7430 }, [ariaSelection, messages, isOptionDisabled3, selectValue, getOptionLabel4]); 7431 var ariaFocused = (0, import_react17.useMemo)(function() { 7432 var focusMsg = ""; 7433 var focused = focusedOption || focusedValue; 7434 var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption)); 7435 if (focused && messages.onFocus) { 7436 var onFocusProps = { 7437 focused, 7438 label: getOptionLabel4(focused), 7439 isDisabled: isOptionDisabled3(focused, selectValue), 7440 isSelected, 7441 options: options2, 7442 context: focused === focusedOption ? "menu" : "value", 7443 selectValue 7444 }; 7445 focusMsg = messages.onFocus(onFocusProps); 7446 } 7447 return focusMsg; 7448 }, [focusedOption, focusedValue, getOptionLabel4, isOptionDisabled3, messages, options2, selectValue]); 7449 var ariaResults = (0, import_react17.useMemo)(function() { 7450 var resultsMsg = ""; 7451 if (menuIsOpen && options2.length && messages.onFilter) { 7452 var resultsMessage = screenReaderStatus2({ 7453 count: focusableOptions.length 7454 }); 7455 resultsMsg = messages.onFilter({ 7456 inputValue, 7457 resultsMessage 7458 }); 7459 } 7460 return resultsMsg; 7461 }, [focusableOptions, inputValue, menuIsOpen, messages, options2, screenReaderStatus2]); 7462 var ariaGuidance = (0, import_react17.useMemo)(function() { 7463 var guidanceMsg = ""; 7464 if (messages.guidance) { 7465 var context = focusedValue ? "value" : menuIsOpen ? "menu" : "input"; 7466 guidanceMsg = messages.guidance({ 7467 "aria-label": ariaLabel, 7468 context, 7469 isDisabled: focusedOption && isOptionDisabled3(focusedOption, selectValue), 7470 isMulti, 7471 isSearchable, 7472 tabSelectsValue 7473 }); 7474 } 7475 return guidanceMsg; 7476 }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue]); 7477 var ariaContext = "".concat(ariaFocused, " ").concat(ariaResults, " ").concat(ariaGuidance); 7478 var ScreenReaderText = (0, import_react18.jsx)(import_react17.Fragment, null, (0, import_react18.jsx)("span", { 7479 id: "aria-selection" 7480 }, ariaSelected), (0, import_react18.jsx)("span", { 7481 id: "aria-context" 7482 }, ariaContext)); 7483 var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus"; 7484 return (0, import_react18.jsx)(import_react17.Fragment, null, (0, import_react18.jsx)(A11yText, { 7485 id 7486 }, isInitialFocus && ScreenReaderText), (0, import_react18.jsx)(A11yText, { 7487 "aria-live": ariaLive, 7488 "aria-atomic": "false", 7489 "aria-relevant": "additions text" 7490 }, isFocused && !isInitialFocus && ScreenReaderText)); 7491}; 7492var diacritics = [{ 7493 base: "A", 7494 letters: "A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F" 7495}, { 7496 base: "AA", 7497 letters: "\uA732" 7498}, { 7499 base: "AE", 7500 letters: "\xC6\u01FC\u01E2" 7501}, { 7502 base: "AO", 7503 letters: "\uA734" 7504}, { 7505 base: "AU", 7506 letters: "\uA736" 7507}, { 7508 base: "AV", 7509 letters: "\uA738\uA73A" 7510}, { 7511 base: "AY", 7512 letters: "\uA73C" 7513}, { 7514 base: "B", 7515 letters: "B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181" 7516}, { 7517 base: "C", 7518 letters: "C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E" 7519}, { 7520 base: "D", 7521 letters: "D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779" 7522}, { 7523 base: "DZ", 7524 letters: "\u01F1\u01C4" 7525}, { 7526 base: "Dz", 7527 letters: "\u01F2\u01C5" 7528}, { 7529 base: "E", 7530 letters: "E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E" 7531}, { 7532 base: "F", 7533 letters: "F\u24BB\uFF26\u1E1E\u0191\uA77B" 7534}, { 7535 base: "G", 7536 letters: "G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E" 7537}, { 7538 base: "H", 7539 letters: "H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D" 7540}, { 7541 base: "I", 7542 letters: "I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197" 7543}, { 7544 base: "J", 7545 letters: "J\u24BF\uFF2A\u0134\u0248" 7546}, { 7547 base: "K", 7548 letters: "K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2" 7549}, { 7550 base: "L", 7551 letters: "L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780" 7552}, { 7553 base: "LJ", 7554 letters: "\u01C7" 7555}, { 7556 base: "Lj", 7557 letters: "\u01C8" 7558}, { 7559 base: "M", 7560 letters: "M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C" 7561}, { 7562 base: "N", 7563 letters: "N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4" 7564}, { 7565 base: "NJ", 7566 letters: "\u01CA" 7567}, { 7568 base: "Nj", 7569 letters: "\u01CB" 7570}, { 7571 base: "O", 7572 letters: "O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C" 7573}, { 7574 base: "OI", 7575 letters: "\u01A2" 7576}, { 7577 base: "OO", 7578 letters: "\uA74E" 7579}, { 7580 base: "OU", 7581 letters: "\u0222" 7582}, { 7583 base: "P", 7584 letters: "P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754" 7585}, { 7586 base: "Q", 7587 letters: "Q\u24C6\uFF31\uA756\uA758\u024A" 7588}, { 7589 base: "R", 7590 letters: "R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782" 7591}, { 7592 base: "S", 7593 letters: "S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784" 7594}, { 7595 base: "T", 7596 letters: "T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786" 7597}, { 7598 base: "TZ", 7599 letters: "\uA728" 7600}, { 7601 base: "U", 7602 letters: "U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244" 7603}, { 7604 base: "V", 7605 letters: "V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245" 7606}, { 7607 base: "VY", 7608 letters: "\uA760" 7609}, { 7610 base: "W", 7611 letters: "W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72" 7612}, { 7613 base: "X", 7614 letters: "X\u24CD\uFF38\u1E8A\u1E8C" 7615}, { 7616 base: "Y", 7617 letters: "Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE" 7618}, { 7619 base: "Z", 7620 letters: "Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762" 7621}, { 7622 base: "a", 7623 letters: "a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250" 7624}, { 7625 base: "aa", 7626 letters: "\uA733" 7627}, { 7628 base: "ae", 7629 letters: "\xE6\u01FD\u01E3" 7630}, { 7631 base: "ao", 7632 letters: "\uA735" 7633}, { 7634 base: "au", 7635 letters: "\uA737" 7636}, { 7637 base: "av", 7638 letters: "\uA739\uA73B" 7639}, { 7640 base: "ay", 7641 letters: "\uA73D" 7642}, { 7643 base: "b", 7644 letters: "b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253" 7645}, { 7646 base: "c", 7647 letters: "c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184" 7648}, { 7649 base: "d", 7650 letters: "d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A" 7651}, { 7652 base: "dz", 7653 letters: "\u01F3\u01C6" 7654}, { 7655 base: "e", 7656 letters: "e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD" 7657}, { 7658 base: "f", 7659 letters: "f\u24D5\uFF46\u1E1F\u0192\uA77C" 7660}, { 7661 base: "g", 7662 letters: "g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F" 7663}, { 7664 base: "h", 7665 letters: "h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265" 7666}, { 7667 base: "hv", 7668 letters: "\u0195" 7669}, { 7670 base: "i", 7671 letters: "i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131" 7672}, { 7673 base: "j", 7674 letters: "j\u24D9\uFF4A\u0135\u01F0\u0249" 7675}, { 7676 base: "k", 7677 letters: "k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3" 7678}, { 7679 base: "l", 7680 letters: "l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747" 7681}, { 7682 base: "lj", 7683 letters: "\u01C9" 7684}, { 7685 base: "m", 7686 letters: "m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F" 7687}, { 7688 base: "n", 7689 letters: "n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5" 7690}, { 7691 base: "nj", 7692 letters: "\u01CC" 7693}, { 7694 base: "o", 7695 letters: "o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275" 7696}, { 7697 base: "oi", 7698 letters: "\u01A3" 7699}, { 7700 base: "ou", 7701 letters: "\u0223" 7702}, { 7703 base: "oo", 7704 letters: "\uA74F" 7705}, { 7706 base: "p", 7707 letters: "p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755" 7708}, { 7709 base: "q", 7710 letters: "q\u24E0\uFF51\u024B\uA757\uA759" 7711}, { 7712 base: "r", 7713 letters: "r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783" 7714}, { 7715 base: "s", 7716 letters: "s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B" 7717}, { 7718 base: "t", 7719 letters: "t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787" 7720}, { 7721 base: "tz", 7722 letters: "\uA729" 7723}, { 7724 base: "u", 7725 letters: "u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289" 7726}, { 7727 base: "v", 7728 letters: "v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C" 7729}, { 7730 base: "vy", 7731 letters: "\uA761" 7732}, { 7733 base: "w", 7734 letters: "w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73" 7735}, { 7736 base: "x", 7737 letters: "x\u24E7\uFF58\u1E8B\u1E8D" 7738}, { 7739 base: "y", 7740 letters: "y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF" 7741}, { 7742 base: "z", 7743 letters: "z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763" 7744}]; 7745var anyDiacritic = new RegExp("[" + diacritics.map(function(d) { 7746 return d.letters; 7747}).join("") + "]", "g"); 7748var diacriticToBase = {}; 7749for (i2 = 0; i2 < diacritics.length; i2++) { 7750 diacritic = diacritics[i2]; 7751 for (j = 0; j < diacritic.letters.length; j++) { 7752 diacriticToBase[diacritic.letters[j]] = diacritic.base; 7753 } 7754} 7755var diacritic; 7756var j; 7757var i2; 7758var stripDiacritics = function stripDiacritics2(str) { 7759 return str.replace(anyDiacritic, function(match) { 7760 return diacriticToBase[match]; 7761 }); 7762}; 7763var memoizedStripDiacriticsForInput = memoizeOne(stripDiacritics); 7764var trimString = function trimString2(str) { 7765 return str.replace(/^\s+|\s+$/g, ""); 7766}; 7767var defaultStringify = function defaultStringify2(option) { 7768 return "".concat(option.label, " ").concat(option.value); 7769}; 7770var createFilter = function createFilter2(config) { 7771 return function(option, rawInput) { 7772 if (option.data.__isNew__) 7773 return true; 7774 var _ignoreCase$ignoreAcc = _objectSpread2({ 7775 ignoreCase: true, 7776 ignoreAccents: true, 7777 stringify: defaultStringify, 7778 trim: true, 7779 matchFrom: "any" 7780 }, config), ignoreCase = _ignoreCase$ignoreAcc.ignoreCase, ignoreAccents = _ignoreCase$ignoreAcc.ignoreAccents, stringify = _ignoreCase$ignoreAcc.stringify, trim = _ignoreCase$ignoreAcc.trim, matchFrom = _ignoreCase$ignoreAcc.matchFrom; 7781 var input = trim ? trimString(rawInput) : rawInput; 7782 var candidate = trim ? trimString(stringify(option)) : stringify(option); 7783 if (ignoreCase) { 7784 input = input.toLowerCase(); 7785 candidate = candidate.toLowerCase(); 7786 } 7787 if (ignoreAccents) { 7788 input = memoizedStripDiacriticsForInput(input); 7789 candidate = stripDiacritics(candidate); 7790 } 7791 return matchFrom === "start" ? candidate.substr(0, input.length) === input : candidate.indexOf(input) > -1; 7792 }; 7793}; 7794var _excluded3 = ["innerRef"]; 7795function DummyInput(_ref3) { 7796 var innerRef = _ref3.innerRef, props = _objectWithoutProperties(_ref3, _excluded3); 7797 var filteredProps = removeProps(props, "onExited", "in", "enter", "exit", "appear"); 7798 return (0, import_react18.jsx)("input", _extends({ 7799 ref: innerRef 7800 }, filteredProps, { 7801 css: /* @__PURE__ */ (0, import_react18.css)({ 7802 label: "dummyInput", 7803 background: 0, 7804 border: 0, 7805 caretColor: "transparent", 7806 fontSize: "inherit", 7807 gridArea: "1 / 1 / 2 / 3", 7808 outline: 0, 7809 padding: 0, 7810 width: 1, 7811 color: "transparent", 7812 left: -100, 7813 opacity: 0, 7814 position: "relative", 7815 transform: "scale(.01)" 7816 }, false ? "" : ";label:DummyInput;", false ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */") 7817 })); 7818} 7819var cancelScroll = function cancelScroll2(event) { 7820 event.preventDefault(); 7821 event.stopPropagation(); 7822}; 7823function useScrollCapture(_ref3) { 7824 var isEnabled = _ref3.isEnabled, onBottomArrive = _ref3.onBottomArrive, onBottomLeave = _ref3.onBottomLeave, onTopArrive = _ref3.onTopArrive, onTopLeave = _ref3.onTopLeave; 7825 var isBottom = (0, import_react17.useRef)(false); 7826 var isTop = (0, import_react17.useRef)(false); 7827 var touchStart = (0, import_react17.useRef)(0); 7828 var scrollTarget = (0, import_react17.useRef)(null); 7829 var handleEventDelta = (0, import_react17.useCallback)(function(event, delta) { 7830 if (scrollTarget.current === null) 7831 return; 7832 var _scrollTarget$current = scrollTarget.current, scrollTop = _scrollTarget$current.scrollTop, scrollHeight = _scrollTarget$current.scrollHeight, clientHeight = _scrollTarget$current.clientHeight; 7833 var target = scrollTarget.current; 7834 var isDeltaPositive = delta > 0; 7835 var availableScroll = scrollHeight - clientHeight - scrollTop; 7836 var shouldCancelScroll = false; 7837 if (availableScroll > delta && isBottom.current) { 7838 if (onBottomLeave) 7839 onBottomLeave(event); 7840 isBottom.current = false; 7841 } 7842 if (isDeltaPositive && isTop.current) { 7843 if (onTopLeave) 7844 onTopLeave(event); 7845 isTop.current = false; 7846 } 7847 if (isDeltaPositive && delta > availableScroll) { 7848 if (onBottomArrive && !isBottom.current) { 7849 onBottomArrive(event); 7850 } 7851 target.scrollTop = scrollHeight; 7852 shouldCancelScroll = true; 7853 isBottom.current = true; 7854 } else if (!isDeltaPositive && -delta > scrollTop) { 7855 if (onTopArrive && !isTop.current) { 7856 onTopArrive(event); 7857 } 7858 target.scrollTop = 0; 7859 shouldCancelScroll = true; 7860 isTop.current = true; 7861 } 7862 if (shouldCancelScroll) { 7863 cancelScroll(event); 7864 } 7865 }, [onBottomArrive, onBottomLeave, onTopArrive, onTopLeave]); 7866 var onWheel = (0, import_react17.useCallback)(function(event) { 7867 handleEventDelta(event, event.deltaY); 7868 }, [handleEventDelta]); 7869 var onTouchStart = (0, import_react17.useCallback)(function(event) { 7870 touchStart.current = event.changedTouches[0].clientY; 7871 }, []); 7872 var onTouchMove = (0, import_react17.useCallback)(function(event) { 7873 var deltaY = touchStart.current - event.changedTouches[0].clientY; 7874 handleEventDelta(event, deltaY); 7875 }, [handleEventDelta]); 7876 var startListening = (0, import_react17.useCallback)(function(el) { 7877 if (!el) 7878 return; 7879 var notPassive = supportsPassiveEvents ? { 7880 passive: false 7881 } : false; 7882 el.addEventListener("wheel", onWheel, notPassive); 7883 el.addEventListener("touchstart", onTouchStart, notPassive); 7884 el.addEventListener("touchmove", onTouchMove, notPassive); 7885 }, [onTouchMove, onTouchStart, onWheel]); 7886 var stopListening = (0, import_react17.useCallback)(function(el) { 7887 if (!el) 7888 return; 7889 el.removeEventListener("wheel", onWheel, false); 7890 el.removeEventListener("touchstart", onTouchStart, false); 7891 el.removeEventListener("touchmove", onTouchMove, false); 7892 }, [onTouchMove, onTouchStart, onWheel]); 7893 (0, import_react17.useEffect)(function() { 7894 if (!isEnabled) 7895 return; 7896 var element = scrollTarget.current; 7897 startListening(element); 7898 return function() { 7899 stopListening(element); 7900 }; 7901 }, [isEnabled, startListening, stopListening]); 7902 return function(element) { 7903 scrollTarget.current = element; 7904 }; 7905} 7906var STYLE_KEYS = ["boxSizing", "height", "overflow", "paddingRight", "position"]; 7907var LOCK_STYLES = { 7908 boxSizing: "border-box", 7909 overflow: "hidden", 7910 position: "relative", 7911 height: "100%" 7912}; 7913function preventTouchMove(e) { 7914 e.preventDefault(); 7915} 7916function allowTouchMove(e) { 7917 e.stopPropagation(); 7918} 7919function preventInertiaScroll() { 7920 var top = this.scrollTop; 7921 var totalScroll = this.scrollHeight; 7922 var currentScroll = top + this.offsetHeight; 7923 if (top === 0) { 7924 this.scrollTop = 1; 7925 } else if (currentScroll === totalScroll) { 7926 this.scrollTop = top - 1; 7927 } 7928} 7929function isTouchDevice() { 7930 return "ontouchstart" in window || navigator.maxTouchPoints; 7931} 7932var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement); 7933var activeScrollLocks = 0; 7934var listenerOptions = { 7935 capture: false, 7936 passive: false 7937}; 7938function useScrollLock(_ref3) { 7939 var isEnabled = _ref3.isEnabled, _ref$accountForScroll = _ref3.accountForScrollbars, accountForScrollbars = _ref$accountForScroll === void 0 ? true : _ref$accountForScroll; 7940 var originalStyles = (0, import_react17.useRef)({}); 7941 var scrollTarget = (0, import_react17.useRef)(null); 7942 var addScrollLock = (0, import_react17.useCallback)(function(touchScrollTarget) { 7943 if (!canUseDOM) 7944 return; 7945 var target = document.body; 7946 var targetStyle = target && target.style; 7947 if (accountForScrollbars) { 7948 STYLE_KEYS.forEach(function(key) { 7949 var val = targetStyle && targetStyle[key]; 7950 originalStyles.current[key] = val; 7951 }); 7952 } 7953 if (accountForScrollbars && activeScrollLocks < 1) { 7954 var currentPadding = parseInt(originalStyles.current.paddingRight, 10) || 0; 7955 var clientWidth = document.body ? document.body.clientWidth : 0; 7956 var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0; 7957 Object.keys(LOCK_STYLES).forEach(function(key) { 7958 var val = LOCK_STYLES[key]; 7959 if (targetStyle) { 7960 targetStyle[key] = val; 7961 } 7962 }); 7963 if (targetStyle) { 7964 targetStyle.paddingRight = "".concat(adjustedPadding, "px"); 7965 } 7966 } 7967 if (target && isTouchDevice()) { 7968 target.addEventListener("touchmove", preventTouchMove, listenerOptions); 7969 if (touchScrollTarget) { 7970 touchScrollTarget.addEventListener("touchstart", preventInertiaScroll, listenerOptions); 7971 touchScrollTarget.addEventListener("touchmove", allowTouchMove, listenerOptions); 7972 } 7973 } 7974 activeScrollLocks += 1; 7975 }, [accountForScrollbars]); 7976 var removeScrollLock = (0, import_react17.useCallback)(function(touchScrollTarget) { 7977 if (!canUseDOM) 7978 return; 7979 var target = document.body; 7980 var targetStyle = target && target.style; 7981 activeScrollLocks = Math.max(activeScrollLocks - 1, 0); 7982 if (accountForScrollbars && activeScrollLocks < 1) { 7983 STYLE_KEYS.forEach(function(key) { 7984 var val = originalStyles.current[key]; 7985 if (targetStyle) { 7986 targetStyle[key] = val; 7987 } 7988 }); 7989 } 7990 if (target && isTouchDevice()) { 7991 target.removeEventListener("touchmove", preventTouchMove, listenerOptions); 7992 if (touchScrollTarget) { 7993 touchScrollTarget.removeEventListener("touchstart", preventInertiaScroll, listenerOptions); 7994 touchScrollTarget.removeEventListener("touchmove", allowTouchMove, listenerOptions); 7995 } 7996 } 7997 }, [accountForScrollbars]); 7998 (0, import_react17.useEffect)(function() { 7999 if (!isEnabled) 8000 return; 8001 var element = scrollTarget.current; 8002 addScrollLock(element); 8003 return function() { 8004 removeScrollLock(element); 8005 }; 8006 }, [isEnabled, addScrollLock, removeScrollLock]); 8007 return function(element) { 8008 scrollTarget.current = element; 8009 }; 8010} 8011function _EMOTION_STRINGIFIED_CSS_ERROR__2() { 8012 return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; 8013} 8014var blurSelectInput = function blurSelectInput2() { 8015 return document.activeElement && document.activeElement.blur(); 8016}; 8017var _ref22 = false ? { 8018 name: "1kfdb0e", 8019 styles: "position:fixed;left:0;bottom:0;right:0;top:0" 8020} : { 8021 name: "bp8cua-ScrollManager", 8022 styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;", 8023 map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9ICgpID0+XG4gIGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgJiYgKGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgYXMgSFRNTEVsZW1lbnQpLmJsdXIoKTtcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gU2Nyb2xsTWFuYWdlcih7XG4gIGNoaWxkcmVuLFxuICBsb2NrRW5hYmxlZCxcbiAgY2FwdHVyZUVuYWJsZWQgPSB0cnVlLFxuICBvbkJvdHRvbUFycml2ZSxcbiAgb25Cb3R0b21MZWF2ZSxcbiAgb25Ub3BBcnJpdmUsXG4gIG9uVG9wTGVhdmUsXG59OiBQcm9wcykge1xuICBjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */", 8024 toString: _EMOTION_STRINGIFIED_CSS_ERROR__2 8025}; 8026function ScrollManager(_ref3) { 8027 var children = _ref3.children, lockEnabled = _ref3.lockEnabled, _ref$captureEnabled = _ref3.captureEnabled, captureEnabled = _ref$captureEnabled === void 0 ? true : _ref$captureEnabled, onBottomArrive = _ref3.onBottomArrive, onBottomLeave = _ref3.onBottomLeave, onTopArrive = _ref3.onTopArrive, onTopLeave = _ref3.onTopLeave; 8028 var setScrollCaptureTarget = useScrollCapture({ 8029 isEnabled: captureEnabled, 8030 onBottomArrive, 8031 onBottomLeave, 8032 onTopArrive, 8033 onTopLeave 8034 }); 8035 var setScrollLockTarget = useScrollLock({ 8036 isEnabled: lockEnabled 8037 }); 8038 var targetRef = function targetRef2(element) { 8039 setScrollCaptureTarget(element); 8040 setScrollLockTarget(element); 8041 }; 8042 return (0, import_react18.jsx)(import_react17.Fragment, null, lockEnabled && (0, import_react18.jsx)("div", { 8043 onClick: blurSelectInput, 8044 css: _ref22 8045 }), children(targetRef)); 8046} 8047var formatGroupLabel = function formatGroupLabel2(group) { 8048 return group.label; 8049}; 8050var getOptionLabel$1 = function getOptionLabel(option) { 8051 return option.label; 8052}; 8053var getOptionValue$1 = function getOptionValue(option) { 8054 return option.value; 8055}; 8056var isOptionDisabled = function isOptionDisabled2(option) { 8057 return !!option.isDisabled; 8058}; 8059var defaultStyles = { 8060 clearIndicator: clearIndicatorCSS, 8061 container: containerCSS, 8062 control: css$1, 8063 dropdownIndicator: dropdownIndicatorCSS, 8064 group: groupCSS, 8065 groupHeading: groupHeadingCSS, 8066 indicatorsContainer: indicatorsContainerCSS, 8067 indicatorSeparator: indicatorSeparatorCSS, 8068 input: inputCSS, 8069 loadingIndicator: loadingIndicatorCSS, 8070 loadingMessage: loadingMessageCSS, 8071 menu: menuCSS, 8072 menuList: menuListCSS, 8073 menuPortal: menuPortalCSS, 8074 multiValue: multiValueCSS, 8075 multiValueLabel: multiValueLabelCSS, 8076 multiValueRemove: multiValueRemoveCSS, 8077 noOptionsMessage: noOptionsMessageCSS, 8078 option: optionCSS, 8079 placeholder: placeholderCSS, 8080 singleValue: css2, 8081 valueContainer: valueContainerCSS 8082}; 8083var colors = { 8084 primary: "#2684FF", 8085 primary75: "#4C9AFF", 8086 primary50: "#B2D4FF", 8087 primary25: "#DEEBFF", 8088 danger: "#DE350B", 8089 dangerLight: "#FFBDAD", 8090 neutral0: "hsl(0, 0%, 100%)", 8091 neutral5: "hsl(0, 0%, 95%)", 8092 neutral10: "hsl(0, 0%, 90%)", 8093 neutral20: "hsl(0, 0%, 80%)", 8094 neutral30: "hsl(0, 0%, 70%)", 8095 neutral40: "hsl(0, 0%, 60%)", 8096 neutral50: "hsl(0, 0%, 50%)", 8097 neutral60: "hsl(0, 0%, 40%)", 8098 neutral70: "hsl(0, 0%, 30%)", 8099 neutral80: "hsl(0, 0%, 20%)", 8100 neutral90: "hsl(0, 0%, 10%)" 8101}; 8102var borderRadius = 4; 8103var baseUnit = 4; 8104var controlHeight = 38; 8105var menuGutter = baseUnit * 2; 8106var spacing = { 8107 baseUnit, 8108 controlHeight, 8109 menuGutter 8110}; 8111var defaultTheme = { 8112 borderRadius, 8113 colors, 8114 spacing 8115}; 8116var defaultProps = { 8117 "aria-live": "polite", 8118 backspaceRemovesValue: true, 8119 blurInputOnSelect: isTouchCapable(), 8120 captureMenuScroll: !isTouchCapable(), 8121 closeMenuOnSelect: true, 8122 closeMenuOnScroll: false, 8123 components: {}, 8124 controlShouldRenderValue: true, 8125 escapeClearsValue: false, 8126 filterOption: createFilter(), 8127 formatGroupLabel, 8128 getOptionLabel: getOptionLabel$1, 8129 getOptionValue: getOptionValue$1, 8130 isDisabled: false, 8131 isLoading: false, 8132 isMulti: false, 8133 isRtl: false, 8134 isSearchable: true, 8135 isOptionDisabled, 8136 loadingMessage: function loadingMessage() { 8137 return "Loading..."; 8138 }, 8139 maxMenuHeight: 300, 8140 minMenuHeight: 140, 8141 menuIsOpen: false, 8142 menuPlacement: "bottom", 8143 menuPosition: "absolute", 8144 menuShouldBlockScroll: false, 8145 menuShouldScrollIntoView: !isMobileDevice(), 8146 noOptionsMessage: function noOptionsMessage() { 8147 return "No options"; 8148 }, 8149 openMenuOnFocus: false, 8150 openMenuOnClick: true, 8151 options: [], 8152 pageSize: 5, 8153 placeholder: "Select...", 8154 screenReaderStatus: function screenReaderStatus(_ref3) { 8155 var count = _ref3.count; 8156 return "".concat(count, " result").concat(count !== 1 ? "s" : "", " available"); 8157 }, 8158 styles: {}, 8159 tabIndex: 0, 8160 tabSelectsValue: true 8161}; 8162function toCategorizedOption(props, option, selectValue, index2) { 8163 var isDisabled = _isOptionDisabled(props, option, selectValue); 8164 var isSelected = _isOptionSelected(props, option, selectValue); 8165 var label = getOptionLabel2(props, option); 8166 var value = getOptionValue2(props, option); 8167 return { 8168 type: "option", 8169 data: option, 8170 isDisabled, 8171 isSelected, 8172 label, 8173 value, 8174 index: index2 8175 }; 8176} 8177function buildCategorizedOptions(props, selectValue) { 8178 return props.options.map(function(groupOrOption, groupOrOptionIndex) { 8179 if ("options" in groupOrOption) { 8180 var categorizedOptions = groupOrOption.options.map(function(option, optionIndex) { 8181 return toCategorizedOption(props, option, selectValue, optionIndex); 8182 }).filter(function(categorizedOption2) { 8183 return isFocusable(props, categorizedOption2); 8184 }); 8185 return categorizedOptions.length > 0 ? { 8186 type: "group", 8187 data: groupOrOption, 8188 options: categorizedOptions, 8189 index: groupOrOptionIndex 8190 } : void 0; 8191 } 8192 var categorizedOption = toCategorizedOption(props, groupOrOption, selectValue, groupOrOptionIndex); 8193 return isFocusable(props, categorizedOption) ? categorizedOption : void 0; 8194 }).filter(notNullish); 8195} 8196function buildFocusableOptionsFromCategorizedOptions(categorizedOptions) { 8197 return categorizedOptions.reduce(function(optionsAccumulator, categorizedOption) { 8198 if (categorizedOption.type === "group") { 8199 optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray(categorizedOption.options.map(function(option) { 8200 return option.data; 8201 }))); 8202 } else { 8203 optionsAccumulator.push(categorizedOption.data); 8204 } 8205 return optionsAccumulator; 8206 }, []); 8207} 8208function buildFocusableOptions(props, selectValue) { 8209 return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue)); 8210} 8211function isFocusable(props, categorizedOption) { 8212 var _props$inputValue = props.inputValue, inputValue = _props$inputValue === void 0 ? "" : _props$inputValue; 8213 var data = categorizedOption.data, isSelected = categorizedOption.isSelected, label = categorizedOption.label, value = categorizedOption.value; 8214 return (!shouldHideSelectedOptions(props) || !isSelected) && _filterOption(props, { 8215 label, 8216 value, 8217 data 8218 }, inputValue); 8219} 8220function getNextFocusedValue(state, nextSelectValue) { 8221 var focusedValue = state.focusedValue, lastSelectValue = state.selectValue; 8222 var lastFocusedIndex = lastSelectValue.indexOf(focusedValue); 8223 if (lastFocusedIndex > -1) { 8224 var nextFocusedIndex = nextSelectValue.indexOf(focusedValue); 8225 if (nextFocusedIndex > -1) { 8226 return focusedValue; 8227 } else if (lastFocusedIndex < nextSelectValue.length) { 8228 return nextSelectValue[lastFocusedIndex]; 8229 } 8230 } 8231 return null; 8232} 8233function getNextFocusedOption(state, options2) { 8234 var lastFocusedOption = state.focusedOption; 8235 return lastFocusedOption && options2.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options2[0]; 8236} 8237var getOptionLabel2 = function getOptionLabel3(props, data) { 8238 return props.getOptionLabel(data); 8239}; 8240var getOptionValue2 = function getOptionValue3(props, data) { 8241 return props.getOptionValue(data); 8242}; 8243function _isOptionDisabled(props, option, selectValue) { 8244 return typeof props.isOptionDisabled === "function" ? props.isOptionDisabled(option, selectValue) : false; 8245} 8246function _isOptionSelected(props, option, selectValue) { 8247 if (selectValue.indexOf(option) > -1) 8248 return true; 8249 if (typeof props.isOptionSelected === "function") { 8250 return props.isOptionSelected(option, selectValue); 8251 } 8252 var candidate = getOptionValue2(props, option); 8253 return selectValue.some(function(i2) { 8254 return getOptionValue2(props, i2) === candidate; 8255 }); 8256} 8257function _filterOption(props, option, inputValue) { 8258 return props.filterOption ? props.filterOption(option, inputValue) : true; 8259} 8260var shouldHideSelectedOptions = function shouldHideSelectedOptions2(props) { 8261 var hideSelectedOptions = props.hideSelectedOptions, isMulti = props.isMulti; 8262 if (hideSelectedOptions === void 0) 8263 return isMulti; 8264 return hideSelectedOptions; 8265}; 8266var instanceId = 1; 8267var Select = /* @__PURE__ */ function(_Component) { 8268 _inherits(Select2, _Component); 8269 var _super = _createSuper(Select2); 8270 function Select2(_props) { 8271 var _this; 8272 _classCallCheck(this, Select2); 8273 _this = _super.call(this, _props); 8274 _this.state = { 8275 ariaSelection: null, 8276 focusedOption: null, 8277 focusedValue: null, 8278 inputIsHidden: false, 8279 isFocused: false, 8280 selectValue: [], 8281 clearFocusValueOnUpdate: false, 8282 prevWasFocused: false, 8283 inputIsHiddenAfterUpdate: void 0, 8284 prevProps: void 0 8285 }; 8286 _this.blockOptionHover = false; 8287 _this.isComposing = false; 8288 _this.commonProps = void 0; 8289 _this.initialTouchX = 0; 8290 _this.initialTouchY = 0; 8291 _this.instancePrefix = ""; 8292 _this.openAfterFocus = false; 8293 _this.scrollToFocusedOptionOnUpdate = false; 8294 _this.userIsDragging = void 0; 8295 _this.controlRef = null; 8296 _this.getControlRef = function(ref) { 8297 _this.controlRef = ref; 8298 }; 8299 _this.focusedOptionRef = null; 8300 _this.getFocusedOptionRef = function(ref) { 8301 _this.focusedOptionRef = ref; 8302 }; 8303 _this.menuListRef = null; 8304 _this.getMenuListRef = function(ref) { 8305 _this.menuListRef = ref; 8306 }; 8307 _this.inputRef = null; 8308 _this.getInputRef = function(ref) { 8309 _this.inputRef = ref; 8310 }; 8311 _this.focus = _this.focusInput; 8312 _this.blur = _this.blurInput; 8313 _this.onChange = function(newValue, actionMeta) { 8314 var _this$props = _this.props, onChange2 = _this$props.onChange, name = _this$props.name; 8315 actionMeta.name = name; 8316 _this.ariaOnChange(newValue, actionMeta); 8317 onChange2(newValue, actionMeta); 8318 }; 8319 _this.setValue = function(newValue, action, option) { 8320 var _this$props2 = _this.props, closeMenuOnSelect = _this$props2.closeMenuOnSelect, isMulti = _this$props2.isMulti, inputValue = _this$props2.inputValue; 8321 _this.onInputChange("", { 8322 action: "set-value", 8323 prevInputValue: inputValue 8324 }); 8325 if (closeMenuOnSelect) { 8326 _this.setState({ 8327 inputIsHiddenAfterUpdate: !isMulti 8328 }); 8329 _this.onMenuClose(); 8330 } 8331 _this.setState({ 8332 clearFocusValueOnUpdate: true 8333 }); 8334 _this.onChange(newValue, { 8335 action, 8336 option 8337 }); 8338 }; 8339 _this.selectOption = function(newValue) { 8340 var _this$props3 = _this.props, blurInputOnSelect = _this$props3.blurInputOnSelect, isMulti = _this$props3.isMulti, name = _this$props3.name; 8341 var selectValue = _this.state.selectValue; 8342 var deselected = isMulti && _this.isOptionSelected(newValue, selectValue); 8343 var isDisabled = _this.isOptionDisabled(newValue, selectValue); 8344 if (deselected) { 8345 var candidate = _this.getOptionValue(newValue); 8346 _this.setValue(multiValueAsValue(selectValue.filter(function(i2) { 8347 return _this.getOptionValue(i2) !== candidate; 8348 })), "deselect-option", newValue); 8349 } else if (!isDisabled) { 8350 if (isMulti) { 8351 _this.setValue(multiValueAsValue([].concat(_toConsumableArray(selectValue), [newValue])), "select-option", newValue); 8352 } else { 8353 _this.setValue(singleValueAsValue(newValue), "select-option"); 8354 } 8355 } else { 8356 _this.ariaOnChange(singleValueAsValue(newValue), { 8357 action: "select-option", 8358 option: newValue, 8359 name 8360 }); 8361 return; 8362 } 8363 if (blurInputOnSelect) { 8364 _this.blurInput(); 8365 } 8366 }; 8367 _this.removeValue = function(removedValue) { 8368 var isMulti = _this.props.isMulti; 8369 var selectValue = _this.state.selectValue; 8370 var candidate = _this.getOptionValue(removedValue); 8371 var newValueArray = selectValue.filter(function(i2) { 8372 return _this.getOptionValue(i2) !== candidate; 8373 }); 8374 var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null); 8375 _this.onChange(newValue, { 8376 action: "remove-value", 8377 removedValue 8378 }); 8379 _this.focusInput(); 8380 }; 8381 _this.clearValue = function() { 8382 var selectValue = _this.state.selectValue; 8383 _this.onChange(valueTernary(_this.props.isMulti, [], null), { 8384 action: "clear", 8385 removedValues: selectValue 8386 }); 8387 }; 8388 _this.popValue = function() { 8389 var isMulti = _this.props.isMulti; 8390 var selectValue = _this.state.selectValue; 8391 var lastSelectedValue = selectValue[selectValue.length - 1]; 8392 var newValueArray = selectValue.slice(0, selectValue.length - 1); 8393 var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null); 8394 _this.onChange(newValue, { 8395 action: "pop-value", 8396 removedValue: lastSelectedValue 8397 }); 8398 }; 8399 _this.getValue = function() { 8400 return _this.state.selectValue; 8401 }; 8402 _this.cx = function() { 8403 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 8404 args[_key] = arguments[_key]; 8405 } 8406 return classNames.apply(void 0, [_this.props.classNamePrefix].concat(args)); 8407 }; 8408 _this.getOptionLabel = function(data) { 8409 return getOptionLabel2(_this.props, data); 8410 }; 8411 _this.getOptionValue = function(data) { 8412 return getOptionValue2(_this.props, data); 8413 }; 8414 _this.getStyles = function(key, props) { 8415 var base = defaultStyles[key](props); 8416 base.boxSizing = "border-box"; 8417 var custom = _this.props.styles[key]; 8418 return custom ? custom(base, props) : base; 8419 }; 8420 _this.getElementId = function(element) { 8421 return "".concat(_this.instancePrefix, "-").concat(element); 8422 }; 8423 _this.getComponents = function() { 8424 return defaultComponents(_this.props); 8425 }; 8426 _this.buildCategorizedOptions = function() { 8427 return buildCategorizedOptions(_this.props, _this.state.selectValue); 8428 }; 8429 _this.getCategorizedOptions = function() { 8430 return _this.props.menuIsOpen ? _this.buildCategorizedOptions() : []; 8431 }; 8432 _this.buildFocusableOptions = function() { 8433 return buildFocusableOptionsFromCategorizedOptions(_this.buildCategorizedOptions()); 8434 }; 8435 _this.getFocusableOptions = function() { 8436 return _this.props.menuIsOpen ? _this.buildFocusableOptions() : []; 8437 }; 8438 _this.ariaOnChange = function(value, actionMeta) { 8439 _this.setState({ 8440 ariaSelection: _objectSpread2({ 8441 value 8442 }, actionMeta) 8443 }); 8444 }; 8445 _this.onMenuMouseDown = function(event) { 8446 if (event.button !== 0) { 8447 return; 8448 } 8449 event.stopPropagation(); 8450 event.preventDefault(); 8451 _this.focusInput(); 8452 }; 8453 _this.onMenuMouseMove = function(event) { 8454 _this.blockOptionHover = false; 8455 }; 8456 _this.onControlMouseDown = function(event) { 8457 if (event.defaultPrevented) { 8458 return; 8459 } 8460 var openMenuOnClick = _this.props.openMenuOnClick; 8461 if (!_this.state.isFocused) { 8462 if (openMenuOnClick) { 8463 _this.openAfterFocus = true; 8464 } 8465 _this.focusInput(); 8466 } else if (!_this.props.menuIsOpen) { 8467 if (openMenuOnClick) { 8468 _this.openMenu("first"); 8469 } 8470 } else { 8471 if (event.target.tagName !== "INPUT" && event.target.tagName !== "TEXTAREA") { 8472 _this.onMenuClose(); 8473 } 8474 } 8475 if (event.target.tagName !== "INPUT" && event.target.tagName !== "TEXTAREA") { 8476 event.preventDefault(); 8477 } 8478 }; 8479 _this.onDropdownIndicatorMouseDown = function(event) { 8480 if (event && event.type === "mousedown" && event.button !== 0) { 8481 return; 8482 } 8483 if (_this.props.isDisabled) 8484 return; 8485 var _this$props4 = _this.props, isMulti = _this$props4.isMulti, menuIsOpen = _this$props4.menuIsOpen; 8486 _this.focusInput(); 8487 if (menuIsOpen) { 8488 _this.setState({ 8489 inputIsHiddenAfterUpdate: !isMulti 8490 }); 8491 _this.onMenuClose(); 8492 } else { 8493 _this.openMenu("first"); 8494 } 8495 event.preventDefault(); 8496 }; 8497 _this.onClearIndicatorMouseDown = function(event) { 8498 if (event && event.type === "mousedown" && event.button !== 0) { 8499 return; 8500 } 8501 _this.clearValue(); 8502 event.preventDefault(); 8503 _this.openAfterFocus = false; 8504 if (event.type === "touchend") { 8505 _this.focusInput(); 8506 } else { 8507 setTimeout(function() { 8508 return _this.focusInput(); 8509 }); 8510 } 8511 }; 8512 _this.onScroll = function(event) { 8513 if (typeof _this.props.closeMenuOnScroll === "boolean") { 8514 if (event.target instanceof HTMLElement && isDocumentElement(event.target)) { 8515 _this.props.onMenuClose(); 8516 } 8517 } else if (typeof _this.props.closeMenuOnScroll === "function") { 8518 if (_this.props.closeMenuOnScroll(event)) { 8519 _this.props.onMenuClose(); 8520 } 8521 } 8522 }; 8523 _this.onCompositionStart = function() { 8524 _this.isComposing = true; 8525 }; 8526 _this.onCompositionEnd = function() { 8527 _this.isComposing = false; 8528 }; 8529 _this.onTouchStart = function(_ref23) { 8530 var touches = _ref23.touches; 8531 var touch = touches && touches.item(0); 8532 if (!touch) { 8533 return; 8534 } 8535 _this.initialTouchX = touch.clientX; 8536 _this.initialTouchY = touch.clientY; 8537 _this.userIsDragging = false; 8538 }; 8539 _this.onTouchMove = function(_ref3) { 8540 var touches = _ref3.touches; 8541 var touch = touches && touches.item(0); 8542 if (!touch) { 8543 return; 8544 } 8545 var deltaX = Math.abs(touch.clientX - _this.initialTouchX); 8546 var deltaY = Math.abs(touch.clientY - _this.initialTouchY); 8547 var moveThreshold = 5; 8548 _this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold; 8549 }; 8550 _this.onTouchEnd = function(event) { 8551 if (_this.userIsDragging) 8552 return; 8553 if (_this.controlRef && !_this.controlRef.contains(event.target) && _this.menuListRef && !_this.menuListRef.contains(event.target)) { 8554 _this.blurInput(); 8555 } 8556 _this.initialTouchX = 0; 8557 _this.initialTouchY = 0; 8558 }; 8559 _this.onControlTouchEnd = function(event) { 8560 if (_this.userIsDragging) 8561 return; 8562 _this.onControlMouseDown(event); 8563 }; 8564 _this.onClearIndicatorTouchEnd = function(event) { 8565 if (_this.userIsDragging) 8566 return; 8567 _this.onClearIndicatorMouseDown(event); 8568 }; 8569 _this.onDropdownIndicatorTouchEnd = function(event) { 8570 if (_this.userIsDragging) 8571 return; 8572 _this.onDropdownIndicatorMouseDown(event); 8573 }; 8574 _this.handleInputChange = function(event) { 8575 var prevInputValue = _this.props.inputValue; 8576 var inputValue = event.currentTarget.value; 8577 _this.setState({ 8578 inputIsHiddenAfterUpdate: false 8579 }); 8580 _this.onInputChange(inputValue, { 8581 action: "input-change", 8582 prevInputValue 8583 }); 8584 if (!_this.props.menuIsOpen) { 8585 _this.onMenuOpen(); 8586 } 8587 }; 8588 _this.onInputFocus = function(event) { 8589 if (_this.props.onFocus) { 8590 _this.props.onFocus(event); 8591 } 8592 _this.setState({ 8593 inputIsHiddenAfterUpdate: false, 8594 isFocused: true 8595 }); 8596 if (_this.openAfterFocus || _this.props.openMenuOnFocus) { 8597 _this.openMenu("first"); 8598 } 8599 _this.openAfterFocus = false; 8600 }; 8601 _this.onInputBlur = function(event) { 8602 var prevInputValue = _this.props.inputValue; 8603 if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) { 8604 _this.inputRef.focus(); 8605 return; 8606 } 8607 if (_this.props.onBlur) { 8608 _this.props.onBlur(event); 8609 } 8610 _this.onInputChange("", { 8611 action: "input-blur", 8612 prevInputValue 8613 }); 8614 _this.onMenuClose(); 8615 _this.setState({ 8616 focusedValue: null, 8617 isFocused: false 8618 }); 8619 }; 8620 _this.onOptionHover = function(focusedOption) { 8621 if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) { 8622 return; 8623 } 8624 _this.setState({ 8625 focusedOption 8626 }); 8627 }; 8628 _this.shouldHideSelectedOptions = function() { 8629 return shouldHideSelectedOptions(_this.props); 8630 }; 8631 _this.onKeyDown = function(event) { 8632 var _this$props5 = _this.props, isMulti = _this$props5.isMulti, backspaceRemovesValue = _this$props5.backspaceRemovesValue, escapeClearsValue = _this$props5.escapeClearsValue, inputValue = _this$props5.inputValue, isClearable = _this$props5.isClearable, isDisabled = _this$props5.isDisabled, menuIsOpen = _this$props5.menuIsOpen, onKeyDown = _this$props5.onKeyDown, tabSelectsValue = _this$props5.tabSelectsValue, openMenuOnFocus = _this$props5.openMenuOnFocus; 8633 var _this$state = _this.state, focusedOption = _this$state.focusedOption, focusedValue = _this$state.focusedValue, selectValue = _this$state.selectValue; 8634 if (isDisabled) 8635 return; 8636 if (typeof onKeyDown === "function") { 8637 onKeyDown(event); 8638 if (event.defaultPrevented) { 8639 return; 8640 } 8641 } 8642 _this.blockOptionHover = true; 8643 switch (event.key) { 8644 case "ArrowLeft": 8645 if (!isMulti || inputValue) 8646 return; 8647 _this.focusValue("previous"); 8648 break; 8649 case "ArrowRight": 8650 if (!isMulti || inputValue) 8651 return; 8652 _this.focusValue("next"); 8653 break; 8654 case "Delete": 8655 case "Backspace": 8656 if (inputValue) 8657 return; 8658 if (focusedValue) { 8659 _this.removeValue(focusedValue); 8660 } else { 8661 if (!backspaceRemovesValue) 8662 return; 8663 if (isMulti) { 8664 _this.popValue(); 8665 } else if (isClearable) { 8666 _this.clearValue(); 8667 } 8668 } 8669 break; 8670 case "Tab": 8671 if (_this.isComposing) 8672 return; 8673 if (event.shiftKey || !menuIsOpen || !tabSelectsValue || !focusedOption || openMenuOnFocus && _this.isOptionSelected(focusedOption, selectValue)) { 8674 return; 8675 } 8676 _this.selectOption(focusedOption); 8677 break; 8678 case "Enter": 8679 if (event.keyCode === 229) { 8680 break; 8681 } 8682 if (menuIsOpen) { 8683 if (!focusedOption) 8684 return; 8685 if (_this.isComposing) 8686 return; 8687 _this.selectOption(focusedOption); 8688 break; 8689 } 8690 return; 8691 case "Escape": 8692 if (menuIsOpen) { 8693 _this.setState({ 8694 inputIsHiddenAfterUpdate: false 8695 }); 8696 _this.onInputChange("", { 8697 action: "menu-close", 8698 prevInputValue: inputValue 8699 }); 8700 _this.onMenuClose(); 8701 } else if (isClearable && escapeClearsValue) { 8702 _this.clearValue(); 8703 } 8704 break; 8705 case " ": 8706 if (inputValue) { 8707 return; 8708 } 8709 if (!menuIsOpen) { 8710 _this.openMenu("first"); 8711 break; 8712 } 8713 if (!focusedOption) 8714 return; 8715 _this.selectOption(focusedOption); 8716 break; 8717 case "ArrowUp": 8718 if (menuIsOpen) { 8719 _this.focusOption("up"); 8720 } else { 8721 _this.openMenu("last"); 8722 } 8723 break; 8724 case "ArrowDown": 8725 if (menuIsOpen) { 8726 _this.focusOption("down"); 8727 } else { 8728 _this.openMenu("first"); 8729 } 8730 break; 8731 case "PageUp": 8732 if (!menuIsOpen) 8733 return; 8734 _this.focusOption("pageup"); 8735 break; 8736 case "PageDown": 8737 if (!menuIsOpen) 8738 return; 8739 _this.focusOption("pagedown"); 8740 break; 8741 case "Home": 8742 if (!menuIsOpen) 8743 return; 8744 _this.focusOption("first"); 8745 break; 8746 case "End": 8747 if (!menuIsOpen) 8748 return; 8749 _this.focusOption("last"); 8750 break; 8751 default: 8752 return; 8753 } 8754 event.preventDefault(); 8755 }; 8756 _this.instancePrefix = "react-select-" + (_this.props.instanceId || ++instanceId); 8757 _this.state.selectValue = cleanValue(_props.value); 8758 return _this; 8759 } 8760 _createClass(Select2, [{ 8761 key: "componentDidMount", 8762 value: function componentDidMount() { 8763 this.startListeningComposition(); 8764 this.startListeningToTouch(); 8765 if (this.props.closeMenuOnScroll && document && document.addEventListener) { 8766 document.addEventListener("scroll", this.onScroll, true); 8767 } 8768 if (this.props.autoFocus) { 8769 this.focusInput(); 8770 } 8771 } 8772 }, { 8773 key: "componentDidUpdate", 8774 value: function componentDidUpdate(prevProps) { 8775 var _this$props6 = this.props, isDisabled = _this$props6.isDisabled, menuIsOpen = _this$props6.menuIsOpen; 8776 var isFocused = this.state.isFocused; 8777 if (isFocused && !isDisabled && prevProps.isDisabled || isFocused && menuIsOpen && !prevProps.menuIsOpen) { 8778 this.focusInput(); 8779 } 8780 if (isFocused && isDisabled && !prevProps.isDisabled) { 8781 this.setState({ 8782 isFocused: false 8783 }, this.onMenuClose); 8784 } 8785 if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) { 8786 scrollIntoView(this.menuListRef, this.focusedOptionRef); 8787 this.scrollToFocusedOptionOnUpdate = false; 8788 } 8789 } 8790 }, { 8791 key: "componentWillUnmount", 8792 value: function componentWillUnmount() { 8793 this.stopListeningComposition(); 8794 this.stopListeningToTouch(); 8795 document.removeEventListener("scroll", this.onScroll, true); 8796 } 8797 }, { 8798 key: "onMenuOpen", 8799 value: function onMenuOpen() { 8800 this.props.onMenuOpen(); 8801 } 8802 }, { 8803 key: "onMenuClose", 8804 value: function onMenuClose() { 8805 this.onInputChange("", { 8806 action: "menu-close", 8807 prevInputValue: this.props.inputValue 8808 }); 8809 this.props.onMenuClose(); 8810 } 8811 }, { 8812 key: "onInputChange", 8813 value: function onInputChange(newValue, actionMeta) { 8814 this.props.onInputChange(newValue, actionMeta); 8815 } 8816 }, { 8817 key: "focusInput", 8818 value: function focusInput() { 8819 if (!this.inputRef) 8820 return; 8821 this.inputRef.focus(); 8822 } 8823 }, { 8824 key: "blurInput", 8825 value: function blurInput() { 8826 if (!this.inputRef) 8827 return; 8828 this.inputRef.blur(); 8829 } 8830 }, { 8831 key: "openMenu", 8832 value: function openMenu(focusOption) { 8833 var _this2 = this; 8834 var _this$state2 = this.state, selectValue = _this$state2.selectValue, isFocused = _this$state2.isFocused; 8835 var focusableOptions = this.buildFocusableOptions(); 8836 var openAtIndex = focusOption === "first" ? 0 : focusableOptions.length - 1; 8837 if (!this.props.isMulti) { 8838 var selectedIndex = focusableOptions.indexOf(selectValue[0]); 8839 if (selectedIndex > -1) { 8840 openAtIndex = selectedIndex; 8841 } 8842 } 8843 this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef); 8844 this.setState({ 8845 inputIsHiddenAfterUpdate: false, 8846 focusedValue: null, 8847 focusedOption: focusableOptions[openAtIndex] 8848 }, function() { 8849 return _this2.onMenuOpen(); 8850 }); 8851 } 8852 }, { 8853 key: "focusValue", 8854 value: function focusValue(direction) { 8855 var _this$state3 = this.state, selectValue = _this$state3.selectValue, focusedValue = _this$state3.focusedValue; 8856 if (!this.props.isMulti) 8857 return; 8858 this.setState({ 8859 focusedOption: null 8860 }); 8861 var focusedIndex = selectValue.indexOf(focusedValue); 8862 if (!focusedValue) { 8863 focusedIndex = -1; 8864 } 8865 var lastIndex = selectValue.length - 1; 8866 var nextFocus = -1; 8867 if (!selectValue.length) 8868 return; 8869 switch (direction) { 8870 case "previous": 8871 if (focusedIndex === 0) { 8872 nextFocus = 0; 8873 } else if (focusedIndex === -1) { 8874 nextFocus = lastIndex; 8875 } else { 8876 nextFocus = focusedIndex - 1; 8877 } 8878 break; 8879 case "next": 8880 if (focusedIndex > -1 && focusedIndex < lastIndex) { 8881 nextFocus = focusedIndex + 1; 8882 } 8883 break; 8884 } 8885 this.setState({ 8886 inputIsHidden: nextFocus !== -1, 8887 focusedValue: selectValue[nextFocus] 8888 }); 8889 } 8890 }, { 8891 key: "focusOption", 8892 value: function focusOption() { 8893 var direction = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first"; 8894 var pageSize = this.props.pageSize; 8895 var focusedOption = this.state.focusedOption; 8896 var options2 = this.getFocusableOptions(); 8897 if (!options2.length) 8898 return; 8899 var nextFocus = 0; 8900 var focusedIndex = options2.indexOf(focusedOption); 8901 if (!focusedOption) { 8902 focusedIndex = -1; 8903 } 8904 if (direction === "up") { 8905 nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options2.length - 1; 8906 } else if (direction === "down") { 8907 nextFocus = (focusedIndex + 1) % options2.length; 8908 } else if (direction === "pageup") { 8909 nextFocus = focusedIndex - pageSize; 8910 if (nextFocus < 0) 8911 nextFocus = 0; 8912 } else if (direction === "pagedown") { 8913 nextFocus = focusedIndex + pageSize; 8914 if (nextFocus > options2.length - 1) 8915 nextFocus = options2.length - 1; 8916 } else if (direction === "last") { 8917 nextFocus = options2.length - 1; 8918 } 8919 this.scrollToFocusedOptionOnUpdate = true; 8920 this.setState({ 8921 focusedOption: options2[nextFocus], 8922 focusedValue: null 8923 }); 8924 } 8925 }, { 8926 key: "getTheme", 8927 value: function getTheme() { 8928 if (!this.props.theme) { 8929 return defaultTheme; 8930 } 8931 if (typeof this.props.theme === "function") { 8932 return this.props.theme(defaultTheme); 8933 } 8934 return _objectSpread2(_objectSpread2({}, defaultTheme), this.props.theme); 8935 } 8936 }, { 8937 key: "getCommonProps", 8938 value: function getCommonProps() { 8939 var clearValue = this.clearValue, cx = this.cx, getStyles = this.getStyles, getValue = this.getValue, selectOption = this.selectOption, setValue = this.setValue, props = this.props; 8940 var isMulti = props.isMulti, isRtl = props.isRtl, options2 = props.options; 8941 var hasValue = this.hasValue(); 8942 return { 8943 clearValue, 8944 cx, 8945 getStyles, 8946 getValue, 8947 hasValue, 8948 isMulti, 8949 isRtl, 8950 options: options2, 8951 selectOption, 8952 selectProps: props, 8953 setValue, 8954 theme: this.getTheme() 8955 }; 8956 } 8957 }, { 8958 key: "hasValue", 8959 value: function hasValue() { 8960 var selectValue = this.state.selectValue; 8961 return selectValue.length > 0; 8962 } 8963 }, { 8964 key: "hasOptions", 8965 value: function hasOptions() { 8966 return !!this.getFocusableOptions().length; 8967 } 8968 }, { 8969 key: "isClearable", 8970 value: function isClearable() { 8971 var _this$props7 = this.props, isClearable2 = _this$props7.isClearable, isMulti = _this$props7.isMulti; 8972 if (isClearable2 === void 0) 8973 return isMulti; 8974 return isClearable2; 8975 } 8976 }, { 8977 key: "isOptionDisabled", 8978 value: function isOptionDisabled3(option, selectValue) { 8979 return _isOptionDisabled(this.props, option, selectValue); 8980 } 8981 }, { 8982 key: "isOptionSelected", 8983 value: function isOptionSelected(option, selectValue) { 8984 return _isOptionSelected(this.props, option, selectValue); 8985 } 8986 }, { 8987 key: "filterOption", 8988 value: function filterOption(option, inputValue) { 8989 return _filterOption(this.props, option, inputValue); 8990 } 8991 }, { 8992 key: "formatOptionLabel", 8993 value: function formatOptionLabel(data, context) { 8994 if (typeof this.props.formatOptionLabel === "function") { 8995 var _inputValue = this.props.inputValue; 8996 var _selectValue = this.state.selectValue; 8997 return this.props.formatOptionLabel(data, { 8998 context, 8999 inputValue: _inputValue, 9000 selectValue: _selectValue 9001 }); 9002 } else { 9003 return this.getOptionLabel(data); 9004 } 9005 } 9006 }, { 9007 key: "formatGroupLabel", 9008 value: function formatGroupLabel3(data) { 9009 return this.props.formatGroupLabel(data); 9010 } 9011 }, { 9012 key: "startListeningComposition", 9013 value: function startListeningComposition() { 9014 if (document && document.addEventListener) { 9015 document.addEventListener("compositionstart", this.onCompositionStart, false); 9016 document.addEventListener("compositionend", this.onCompositionEnd, false); 9017 } 9018 } 9019 }, { 9020 key: "stopListeningComposition", 9021 value: function stopListeningComposition() { 9022 if (document && document.removeEventListener) { 9023 document.removeEventListener("compositionstart", this.onCompositionStart); 9024 document.removeEventListener("compositionend", this.onCompositionEnd); 9025 } 9026 } 9027 }, { 9028 key: "startListeningToTouch", 9029 value: function startListeningToTouch() { 9030 if (document && document.addEventListener) { 9031 document.addEventListener("touchstart", this.onTouchStart, false); 9032 document.addEventListener("touchmove", this.onTouchMove, false); 9033 document.addEventListener("touchend", this.onTouchEnd, false); 9034 } 9035 } 9036 }, { 9037 key: "stopListeningToTouch", 9038 value: function stopListeningToTouch() { 9039 if (document && document.removeEventListener) { 9040 document.removeEventListener("touchstart", this.onTouchStart); 9041 document.removeEventListener("touchmove", this.onTouchMove); 9042 document.removeEventListener("touchend", this.onTouchEnd); 9043 } 9044 } 9045 }, { 9046 key: "renderInput", 9047 value: function renderInput() { 9048 var _this$props8 = this.props, isDisabled = _this$props8.isDisabled, isSearchable = _this$props8.isSearchable, inputId = _this$props8.inputId, inputValue = _this$props8.inputValue, tabIndex = _this$props8.tabIndex, form = _this$props8.form, menuIsOpen = _this$props8.menuIsOpen; 9049 var _this$getComponents = this.getComponents(), Input3 = _this$getComponents.Input; 9050 var _this$state4 = this.state, inputIsHidden = _this$state4.inputIsHidden, ariaSelection = _this$state4.ariaSelection; 9051 var commonProps = this.commonProps; 9052 var id = inputId || this.getElementId("input"); 9053 var ariaAttributes = _objectSpread2(_objectSpread2(_objectSpread2({ 9054 "aria-autocomplete": "list", 9055 "aria-expanded": menuIsOpen, 9056 "aria-haspopup": true, 9057 "aria-errormessage": this.props["aria-errormessage"], 9058 "aria-invalid": this.props["aria-invalid"], 9059 "aria-label": this.props["aria-label"], 9060 "aria-labelledby": this.props["aria-labelledby"], 9061 role: "combobox" 9062 }, menuIsOpen && { 9063 "aria-controls": this.getElementId("listbox"), 9064 "aria-owns": this.getElementId("listbox") 9065 }), !isSearchable && { 9066 "aria-readonly": true 9067 }), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus" && { 9068 "aria-describedby": this.getElementId("live-region") 9069 } : { 9070 "aria-describedby": this.getElementId("placeholder") 9071 }); 9072 if (!isSearchable) { 9073 return /* @__PURE__ */ React21.createElement(DummyInput, _extends({ 9074 id, 9075 innerRef: this.getInputRef, 9076 onBlur: this.onInputBlur, 9077 onChange: noop, 9078 onFocus: this.onInputFocus, 9079 disabled: isDisabled, 9080 tabIndex, 9081 inputMode: "none", 9082 form, 9083 value: "" 9084 }, ariaAttributes)); 9085 } 9086 return /* @__PURE__ */ React21.createElement(Input3, _extends({}, commonProps, { 9087 autoCapitalize: "none", 9088 autoComplete: "off", 9089 autoCorrect: "off", 9090 id, 9091 innerRef: this.getInputRef, 9092 isDisabled, 9093 isHidden: inputIsHidden, 9094 onBlur: this.onInputBlur, 9095 onChange: this.handleInputChange, 9096 onFocus: this.onInputFocus, 9097 spellCheck: "false", 9098 tabIndex, 9099 form, 9100 type: "text", 9101 value: inputValue 9102 }, ariaAttributes)); 9103 } 9104 }, { 9105 key: "renderPlaceholderOrValue", 9106 value: function renderPlaceholderOrValue() { 9107 var _this3 = this; 9108 var _this$getComponents2 = this.getComponents(), MultiValue3 = _this$getComponents2.MultiValue, MultiValueContainer2 = _this$getComponents2.MultiValueContainer, MultiValueLabel2 = _this$getComponents2.MultiValueLabel, MultiValueRemove2 = _this$getComponents2.MultiValueRemove, SingleValue3 = _this$getComponents2.SingleValue, Placeholder3 = _this$getComponents2.Placeholder; 9109 var commonProps = this.commonProps; 9110 var _this$props9 = this.props, controlShouldRenderValue = _this$props9.controlShouldRenderValue, isDisabled = _this$props9.isDisabled, isMulti = _this$props9.isMulti, inputValue = _this$props9.inputValue, placeholder = _this$props9.placeholder; 9111 var _this$state5 = this.state, selectValue = _this$state5.selectValue, focusedValue = _this$state5.focusedValue, isFocused = _this$state5.isFocused; 9112 if (!this.hasValue() || !controlShouldRenderValue) { 9113 return inputValue ? null : /* @__PURE__ */ React21.createElement(Placeholder3, _extends({}, commonProps, { 9114 key: "placeholder", 9115 isDisabled, 9116 isFocused, 9117 innerProps: { 9118 id: this.getElementId("placeholder") 9119 } 9120 }), placeholder); 9121 } 9122 if (isMulti) { 9123 return selectValue.map(function(opt, index2) { 9124 var isOptionFocused = opt === focusedValue; 9125 var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt)); 9126 return /* @__PURE__ */ React21.createElement(MultiValue3, _extends({}, commonProps, { 9127 components: { 9128 Container: MultiValueContainer2, 9129 Label: MultiValueLabel2, 9130 Remove: MultiValueRemove2 9131 }, 9132 isFocused: isOptionFocused, 9133 isDisabled, 9134 key, 9135 index: index2, 9136 removeProps: { 9137 onClick: function onClick() { 9138 return _this3.removeValue(opt); 9139 }, 9140 onTouchEnd: function onTouchEnd() { 9141 return _this3.removeValue(opt); 9142 }, 9143 onMouseDown: function onMouseDown(e) { 9144 e.preventDefault(); 9145 } 9146 }, 9147 data: opt 9148 }), _this3.formatOptionLabel(opt, "value")); 9149 }); 9150 } 9151 if (inputValue) { 9152 return null; 9153 } 9154 var singleValue = selectValue[0]; 9155 return /* @__PURE__ */ React21.createElement(SingleValue3, _extends({}, commonProps, { 9156 data: singleValue, 9157 isDisabled 9158 }), this.formatOptionLabel(singleValue, "value")); 9159 } 9160 }, { 9161 key: "renderClearIndicator", 9162 value: function renderClearIndicator() { 9163 var _this$getComponents3 = this.getComponents(), ClearIndicator3 = _this$getComponents3.ClearIndicator; 9164 var commonProps = this.commonProps; 9165 var _this$props10 = this.props, isDisabled = _this$props10.isDisabled, isLoading = _this$props10.isLoading; 9166 var isFocused = this.state.isFocused; 9167 if (!this.isClearable() || !ClearIndicator3 || isDisabled || !this.hasValue() || isLoading) { 9168 return null; 9169 } 9170 var innerProps = { 9171 onMouseDown: this.onClearIndicatorMouseDown, 9172 onTouchEnd: this.onClearIndicatorTouchEnd, 9173 "aria-hidden": "true" 9174 }; 9175 return /* @__PURE__ */ React21.createElement(ClearIndicator3, _extends({}, commonProps, { 9176 innerProps, 9177 isFocused 9178 })); 9179 } 9180 }, { 9181 key: "renderLoadingIndicator", 9182 value: function renderLoadingIndicator() { 9183 var _this$getComponents4 = this.getComponents(), LoadingIndicator3 = _this$getComponents4.LoadingIndicator; 9184 var commonProps = this.commonProps; 9185 var _this$props11 = this.props, isDisabled = _this$props11.isDisabled, isLoading = _this$props11.isLoading; 9186 var isFocused = this.state.isFocused; 9187 if (!LoadingIndicator3 || !isLoading) 9188 return null; 9189 var innerProps = { 9190 "aria-hidden": "true" 9191 }; 9192 return /* @__PURE__ */ React21.createElement(LoadingIndicator3, _extends({}, commonProps, { 9193 innerProps, 9194 isDisabled, 9195 isFocused 9196 })); 9197 } 9198 }, { 9199 key: "renderIndicatorSeparator", 9200 value: function renderIndicatorSeparator() { 9201 var _this$getComponents5 = this.getComponents(), DropdownIndicator3 = _this$getComponents5.DropdownIndicator, IndicatorSeparator3 = _this$getComponents5.IndicatorSeparator; 9202 if (!DropdownIndicator3 || !IndicatorSeparator3) 9203 return null; 9204 var commonProps = this.commonProps; 9205 var isDisabled = this.props.isDisabled; 9206 var isFocused = this.state.isFocused; 9207 return /* @__PURE__ */ React21.createElement(IndicatorSeparator3, _extends({}, commonProps, { 9208 isDisabled, 9209 isFocused 9210 })); 9211 } 9212 }, { 9213 key: "renderDropdownIndicator", 9214 value: function renderDropdownIndicator() { 9215 var _this$getComponents6 = this.getComponents(), DropdownIndicator3 = _this$getComponents6.DropdownIndicator; 9216 if (!DropdownIndicator3) 9217 return null; 9218 var commonProps = this.commonProps; 9219 var isDisabled = this.props.isDisabled; 9220 var isFocused = this.state.isFocused; 9221 var innerProps = { 9222 onMouseDown: this.onDropdownIndicatorMouseDown, 9223 onTouchEnd: this.onDropdownIndicatorTouchEnd, 9224 "aria-hidden": "true" 9225 }; 9226 return /* @__PURE__ */ React21.createElement(DropdownIndicator3, _extends({}, commonProps, { 9227 innerProps, 9228 isDisabled, 9229 isFocused 9230 })); 9231 } 9232 }, { 9233 key: "renderMenu", 9234 value: function renderMenu() { 9235 var _this4 = this; 9236 var _this$getComponents7 = this.getComponents(), Group3 = _this$getComponents7.Group, GroupHeading3 = _this$getComponents7.GroupHeading, Menu3 = _this$getComponents7.Menu, MenuList3 = _this$getComponents7.MenuList, MenuPortal3 = _this$getComponents7.MenuPortal, LoadingMessage3 = _this$getComponents7.LoadingMessage, NoOptionsMessage3 = _this$getComponents7.NoOptionsMessage, Option3 = _this$getComponents7.Option; 9237 var commonProps = this.commonProps; 9238 var focusedOption = this.state.focusedOption; 9239 var _this$props12 = this.props, captureMenuScroll = _this$props12.captureMenuScroll, inputValue = _this$props12.inputValue, isLoading = _this$props12.isLoading, loadingMessage2 = _this$props12.loadingMessage, minMenuHeight = _this$props12.minMenuHeight, maxMenuHeight = _this$props12.maxMenuHeight, menuIsOpen = _this$props12.menuIsOpen, menuPlacement = _this$props12.menuPlacement, menuPosition = _this$props12.menuPosition, menuPortalTarget = _this$props12.menuPortalTarget, menuShouldBlockScroll = _this$props12.menuShouldBlockScroll, menuShouldScrollIntoView = _this$props12.menuShouldScrollIntoView, noOptionsMessage2 = _this$props12.noOptionsMessage, onMenuScrollToTop = _this$props12.onMenuScrollToTop, onMenuScrollToBottom = _this$props12.onMenuScrollToBottom; 9240 if (!menuIsOpen) 9241 return null; 9242 var render = function render2(props, id) { 9243 var type = props.type, data = props.data, isDisabled = props.isDisabled, isSelected = props.isSelected, label = props.label, value = props.value; 9244 var isFocused = focusedOption === data; 9245 var onHover = isDisabled ? void 0 : function() { 9246 return _this4.onOptionHover(data); 9247 }; 9248 var onSelect = isDisabled ? void 0 : function() { 9249 return _this4.selectOption(data); 9250 }; 9251 var optionId = "".concat(_this4.getElementId("option"), "-").concat(id); 9252 var innerProps = { 9253 id: optionId, 9254 onClick: onSelect, 9255 onMouseMove: onHover, 9256 onMouseOver: onHover, 9257 tabIndex: -1 9258 }; 9259 return /* @__PURE__ */ React21.createElement(Option3, _extends({}, commonProps, { 9260 innerProps, 9261 data, 9262 isDisabled, 9263 isSelected, 9264 key: optionId, 9265 label, 9266 type, 9267 value, 9268 isFocused, 9269 innerRef: isFocused ? _this4.getFocusedOptionRef : void 0 9270 }), _this4.formatOptionLabel(props.data, "menu")); 9271 }; 9272 var menuUI; 9273 if (this.hasOptions()) { 9274 menuUI = this.getCategorizedOptions().map(function(item) { 9275 if (item.type === "group") { 9276 var _data = item.data, options2 = item.options, groupIndex = item.index; 9277 var groupId = "".concat(_this4.getElementId("group"), "-").concat(groupIndex); 9278 var headingId = "".concat(groupId, "-heading"); 9279 return /* @__PURE__ */ React21.createElement(Group3, _extends({}, commonProps, { 9280 key: groupId, 9281 data: _data, 9282 options: options2, 9283 Heading: GroupHeading3, 9284 headingProps: { 9285 id: headingId, 9286 data: item.data 9287 }, 9288 label: _this4.formatGroupLabel(item.data) 9289 }), item.options.map(function(option) { 9290 return render(option, "".concat(groupIndex, "-").concat(option.index)); 9291 })); 9292 } else if (item.type === "option") { 9293 return render(item, "".concat(item.index)); 9294 } 9295 }); 9296 } else if (isLoading) { 9297 var message = loadingMessage2({ 9298 inputValue 9299 }); 9300 if (message === null) 9301 return null; 9302 menuUI = /* @__PURE__ */ React21.createElement(LoadingMessage3, commonProps, message); 9303 } else { 9304 var _message = noOptionsMessage2({ 9305 inputValue 9306 }); 9307 if (_message === null) 9308 return null; 9309 menuUI = /* @__PURE__ */ React21.createElement(NoOptionsMessage3, commonProps, _message); 9310 } 9311 var menuPlacementProps = { 9312 minMenuHeight, 9313 maxMenuHeight, 9314 menuPlacement, 9315 menuPosition, 9316 menuShouldScrollIntoView 9317 }; 9318 var menuElement = /* @__PURE__ */ React21.createElement(MenuPlacer, _extends({}, commonProps, menuPlacementProps), function(_ref4) { 9319 var ref = _ref4.ref, _ref4$placerProps = _ref4.placerProps, placement = _ref4$placerProps.placement, maxHeight = _ref4$placerProps.maxHeight; 9320 return /* @__PURE__ */ React21.createElement(Menu3, _extends({}, commonProps, menuPlacementProps, { 9321 innerRef: ref, 9322 innerProps: { 9323 onMouseDown: _this4.onMenuMouseDown, 9324 onMouseMove: _this4.onMenuMouseMove, 9325 id: _this4.getElementId("listbox") 9326 }, 9327 isLoading, 9328 placement 9329 }), /* @__PURE__ */ React21.createElement(ScrollManager, { 9330 captureEnabled: captureMenuScroll, 9331 onTopArrive: onMenuScrollToTop, 9332 onBottomArrive: onMenuScrollToBottom, 9333 lockEnabled: menuShouldBlockScroll 9334 }, function(scrollTargetRef) { 9335 return /* @__PURE__ */ React21.createElement(MenuList3, _extends({}, commonProps, { 9336 innerRef: function innerRef(instance) { 9337 _this4.getMenuListRef(instance); 9338 scrollTargetRef(instance); 9339 }, 9340 isLoading, 9341 maxHeight, 9342 focusedOption 9343 }), menuUI); 9344 })); 9345 }); 9346 return menuPortalTarget || menuPosition === "fixed" ? /* @__PURE__ */ React21.createElement(MenuPortal3, _extends({}, commonProps, { 9347 appendTo: menuPortalTarget, 9348 controlElement: this.controlRef, 9349 menuPlacement, 9350 menuPosition 9351 }), menuElement) : menuElement; 9352 } 9353 }, { 9354 key: "renderFormField", 9355 value: function renderFormField() { 9356 var _this5 = this; 9357 var _this$props13 = this.props, delimiter = _this$props13.delimiter, isDisabled = _this$props13.isDisabled, isMulti = _this$props13.isMulti, name = _this$props13.name; 9358 var selectValue = this.state.selectValue; 9359 if (!name || isDisabled) 9360 return; 9361 if (isMulti) { 9362 if (delimiter) { 9363 var value = selectValue.map(function(opt) { 9364 return _this5.getOptionValue(opt); 9365 }).join(delimiter); 9366 return /* @__PURE__ */ React21.createElement("input", { 9367 name, 9368 type: "hidden", 9369 value 9370 }); 9371 } else { 9372 var input = selectValue.length > 0 ? selectValue.map(function(opt, i2) { 9373 return /* @__PURE__ */ React21.createElement("input", { 9374 key: "i-".concat(i2), 9375 name, 9376 type: "hidden", 9377 value: _this5.getOptionValue(opt) 9378 }); 9379 }) : /* @__PURE__ */ React21.createElement("input", { 9380 name, 9381 type: "hidden" 9382 }); 9383 return /* @__PURE__ */ React21.createElement("div", null, input); 9384 } 9385 } else { 9386 var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : ""; 9387 return /* @__PURE__ */ React21.createElement("input", { 9388 name, 9389 type: "hidden", 9390 value: _value 9391 }); 9392 } 9393 } 9394 }, { 9395 key: "renderLiveRegion", 9396 value: function renderLiveRegion() { 9397 var commonProps = this.commonProps; 9398 var _this$state6 = this.state, ariaSelection = _this$state6.ariaSelection, focusedOption = _this$state6.focusedOption, focusedValue = _this$state6.focusedValue, isFocused = _this$state6.isFocused, selectValue = _this$state6.selectValue; 9399 var focusableOptions = this.getFocusableOptions(); 9400 return /* @__PURE__ */ React21.createElement(LiveRegion, _extends({}, commonProps, { 9401 id: this.getElementId("live-region"), 9402 ariaSelection, 9403 focusedOption, 9404 focusedValue, 9405 isFocused, 9406 selectValue, 9407 focusableOptions 9408 })); 9409 } 9410 }, { 9411 key: "render", 9412 value: function render() { 9413 var _this$getComponents8 = this.getComponents(), Control3 = _this$getComponents8.Control, IndicatorsContainer3 = _this$getComponents8.IndicatorsContainer, SelectContainer3 = _this$getComponents8.SelectContainer, ValueContainer3 = _this$getComponents8.ValueContainer; 9414 var _this$props14 = this.props, className = _this$props14.className, id = _this$props14.id, isDisabled = _this$props14.isDisabled, menuIsOpen = _this$props14.menuIsOpen; 9415 var isFocused = this.state.isFocused; 9416 var commonProps = this.commonProps = this.getCommonProps(); 9417 return /* @__PURE__ */ React21.createElement(SelectContainer3, _extends({}, commonProps, { 9418 className, 9419 innerProps: { 9420 id, 9421 onKeyDown: this.onKeyDown 9422 }, 9423 isDisabled, 9424 isFocused 9425 }), this.renderLiveRegion(), /* @__PURE__ */ React21.createElement(Control3, _extends({}, commonProps, { 9426 innerRef: this.getControlRef, 9427 innerProps: { 9428 onMouseDown: this.onControlMouseDown, 9429 onTouchEnd: this.onControlTouchEnd 9430 }, 9431 isDisabled, 9432 isFocused, 9433 menuIsOpen 9434 }), /* @__PURE__ */ React21.createElement(ValueContainer3, _extends({}, commonProps, { 9435 isDisabled 9436 }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React21.createElement(IndicatorsContainer3, _extends({}, commonProps, { 9437 isDisabled 9438 }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField()); 9439 } 9440 }], [{ 9441 key: "getDerivedStateFromProps", 9442 value: function getDerivedStateFromProps(props, state) { 9443 var prevProps = state.prevProps, clearFocusValueOnUpdate = state.clearFocusValueOnUpdate, inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate, ariaSelection = state.ariaSelection, isFocused = state.isFocused, prevWasFocused = state.prevWasFocused; 9444 var options2 = props.options, value = props.value, menuIsOpen = props.menuIsOpen, inputValue = props.inputValue, isMulti = props.isMulti; 9445 var selectValue = cleanValue(value); 9446 var newMenuOptionsState = {}; 9447 if (prevProps && (value !== prevProps.value || options2 !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) { 9448 var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : []; 9449 var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null; 9450 var focusedOption = getNextFocusedOption(state, focusableOptions); 9451 newMenuOptionsState = { 9452 selectValue, 9453 focusedOption, 9454 focusedValue, 9455 clearFocusValueOnUpdate: false 9456 }; 9457 } 9458 var newInputIsHiddenState = inputIsHiddenAfterUpdate != null && props !== prevProps ? { 9459 inputIsHidden: inputIsHiddenAfterUpdate, 9460 inputIsHiddenAfterUpdate: void 0 9461 } : {}; 9462 var newAriaSelection = ariaSelection; 9463 var hasKeptFocus = isFocused && prevWasFocused; 9464 if (isFocused && !hasKeptFocus) { 9465 newAriaSelection = { 9466 value: valueTernary(isMulti, selectValue, selectValue[0] || null), 9467 options: selectValue, 9468 action: "initial-input-focus" 9469 }; 9470 hasKeptFocus = !prevWasFocused; 9471 } 9472 if ((ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus") { 9473 newAriaSelection = null; 9474 } 9475 return _objectSpread2(_objectSpread2(_objectSpread2({}, newMenuOptionsState), newInputIsHiddenState), {}, { 9476 prevProps: props, 9477 ariaSelection: newAriaSelection, 9478 prevWasFocused: hasKeptFocus 9479 }); 9480 } 9481 }]); 9482 return Select2; 9483}(import_react17.Component); 9484Select.defaultProps = defaultProps; 9485
vendor: 462 bytes, lines 9486-9496
9486// node_modules/react-select/dist/react-select.esm.js 9487var import_cache = __toESM(require_emotion_cache_cjs()); 9488var import_react_dom3 = __toESM(require_react_dom()); 9489var StateManagedSelect = /* @__PURE__ */ (0, import_react19.forwardRef)(function(props, ref) { 9490 var baseSelectProps = useStateManager(props); 9491 return /* @__PURE__ */ React22.createElement(Select, _extends({ 9492 ref 9493 }, baseSelectProps)); 9494}); 9495var react_select_esm_default = StateManagedSelect; 9496
vendor: 178 bytes, lines 9497-9502
9497// node_modules/react-select/async/dist/react-select.esm.js 9498init_react(); 9499init_extends(); 9500var React23 = __toESM(require_react()); 9501var import_react21 = __toESM(require_react()); 9502
vendor: 5,531 bytes, lines 9503-9601
9503// node_modules/react-select/dist/useAsync-5255a1fa.esm.js 9504init_react(); 9505var import_react20 = __toESM(require_react()); 9506var _excluded4 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"]; 9507function useAsync(_ref3) { 9508 var _ref$defaultOptions = _ref3.defaultOptions, propsDefaultOptions = _ref$defaultOptions === void 0 ? false : _ref$defaultOptions, _ref$cacheOptions = _ref3.cacheOptions, cacheOptions = _ref$cacheOptions === void 0 ? false : _ref$cacheOptions, propsLoadOptions = _ref3.loadOptions; 9509 _ref3.options; 9510 var _ref$isLoading = _ref3.isLoading, propsIsLoading = _ref$isLoading === void 0 ? false : _ref$isLoading, propsOnInputChange = _ref3.onInputChange, _ref$filterOption = _ref3.filterOption, filterOption = _ref$filterOption === void 0 ? null : _ref$filterOption, restSelectProps = _objectWithoutProperties(_ref3, _excluded4); 9511 var propsInputValue = restSelectProps.inputValue; 9512 var lastRequest = (0, import_react20.useRef)(void 0); 9513 var mounted = (0, import_react20.useRef)(false); 9514 var _useState = (0, import_react20.useState)(Array.isArray(propsDefaultOptions) ? propsDefaultOptions : void 0), _useState2 = _slicedToArray(_useState, 2), defaultOptions = _useState2[0], setDefaultOptions = _useState2[1]; 9515 var _useState3 = (0, import_react20.useState)(typeof propsInputValue !== "undefined" ? propsInputValue : ""), _useState4 = _slicedToArray(_useState3, 2), stateInputValue = _useState4[0], setStateInputValue = _useState4[1]; 9516 var _useState5 = (0, import_react20.useState)(propsDefaultOptions === true), _useState6 = _slicedToArray(_useState5, 2), isLoading = _useState6[0], setIsLoading = _useState6[1]; 9517 var _useState7 = (0, import_react20.useState)(void 0), _useState8 = _slicedToArray(_useState7, 2), loadedInputValue = _useState8[0], setLoadedInputValue = _useState8[1]; 9518 var _useState9 = (0, import_react20.useState)([]), _useState10 = _slicedToArray(_useState9, 2), loadedOptions = _useState10[0], setLoadedOptions = _useState10[1]; 9519 var _useState11 = (0, import_react20.useState)(false), _useState12 = _slicedToArray(_useState11, 2), passEmptyOptions = _useState12[0], setPassEmptyOptions = _useState12[1]; 9520 var _useState13 = (0, import_react20.useState)({}), _useState14 = _slicedToArray(_useState13, 2), optionsCache = _useState14[0], setOptionsCache = _useState14[1]; 9521 var _useState15 = (0, import_react20.useState)(void 0), _useState16 = _slicedToArray(_useState15, 2), prevDefaultOptions = _useState16[0], setPrevDefaultOptions = _useState16[1]; 9522 var _useState17 = (0, import_react20.useState)(void 0), _useState18 = _slicedToArray(_useState17, 2), prevCacheOptions = _useState18[0], setPrevCacheOptions = _useState18[1]; 9523 if (cacheOptions !== prevCacheOptions) { 9524 setOptionsCache({}); 9525 setPrevCacheOptions(cacheOptions); 9526 } 9527 if (propsDefaultOptions !== prevDefaultOptions) { 9528 setDefaultOptions(Array.isArray(propsDefaultOptions) ? propsDefaultOptions : void 0); 9529 setPrevDefaultOptions(propsDefaultOptions); 9530 } 9531 (0, import_react20.useEffect)(function() { 9532 mounted.current = true; 9533 return function() { 9534 mounted.current = false; 9535 }; 9536 }, []); 9537 var loadOptions = (0, import_react20.useCallback)(function(inputValue, callback) { 9538 if (!propsLoadOptions) 9539 return callback(); 9540 var loader = propsLoadOptions(inputValue, callback); 9541 if (loader && typeof loader.then === "function") { 9542 loader.then(callback, function() { 9543 return callback(); 9544 }); 9545 } 9546 }, [propsLoadOptions]); 9547 (0, import_react20.useEffect)(function() { 9548 if (propsDefaultOptions === true) { 9549 loadOptions(stateInputValue, function(options3) { 9550 if (!mounted.current) 9551 return; 9552 setDefaultOptions(options3 || []); 9553 setIsLoading(!!lastRequest.current); 9554 }); 9555 } 9556 }, []); 9557 var onInputChange = (0, import_react20.useCallback)(function(newValue, actionMeta) { 9558 var inputValue = handleInputChange(newValue, actionMeta, propsOnInputChange); 9559 if (!inputValue) { 9560 lastRequest.current = void 0; 9561 setStateInputValue(""); 9562 setLoadedInputValue(""); 9563 setLoadedOptions([]); 9564 setIsLoading(false); 9565 setPassEmptyOptions(false); 9566 return; 9567 } 9568 if (cacheOptions && optionsCache[inputValue]) { 9569 setStateInputValue(inputValue); 9570 setLoadedInputValue(inputValue); 9571 setLoadedOptions(optionsCache[inputValue]); 9572 setIsLoading(false); 9573 setPassEmptyOptions(false); 9574 } else { 9575 var request = lastRequest.current = {}; 9576 setStateInputValue(inputValue); 9577 setIsLoading(true); 9578 setPassEmptyOptions(!loadedInputValue); 9579 loadOptions(inputValue, function(options3) { 9580 if (!mounted) 9581 return; 9582 if (request !== lastRequest.current) 9583 return; 9584 lastRequest.current = void 0; 9585 setIsLoading(false); 9586 setLoadedInputValue(inputValue); 9587 setLoadedOptions(options3 || []); 9588 setPassEmptyOptions(false); 9589 setOptionsCache(options3 ? _objectSpread2(_objectSpread2({}, optionsCache), {}, _defineProperty({}, inputValue, options3)) : optionsCache); 9590 }); 9591 } 9592 }, [cacheOptions, loadOptions, loadedInputValue, optionsCache, propsOnInputChange]); 9593 var options2 = passEmptyOptions ? [] : stateInputValue && loadedInputValue ? loadedOptions : defaultOptions || []; 9594 return _objectSpread2(_objectSpread2({}, restSelectProps), {}, { 9595 options: options2, 9596 isLoading: isLoading || propsIsLoading, 9597 onInputChange, 9598 filterOption 9599 }); 9600} 9601
vendor: 445 bytes, lines 9602-9612
9602// node_modules/react-select/async/dist/react-select.esm.js 9603var import_react_dom4 = __toESM(require_react_dom()); 9604var AsyncSelect = /* @__PURE__ */ (0, import_react21.forwardRef)(function(props, ref) { 9605 var stateManagedProps = useAsync(props); 9606 var selectProps = useStateManager(stateManagedProps); 9607 return /* @__PURE__ */ React23.createElement(Select, _extends({ 9608 ref 9609 }, selectProps)); 9610}); 9611var react_select_esm_default2 = AsyncSelect; 9612
9613// app/shared/select.tsx 9614var colourStyles = { 9615 multiValue: (styles) => ({ 9616 ...styles, 9617 color: "#050E3D", 9618 backgroundColor: "#fff", 9619 padding: "3px 5px", 9620 fontWeight: "", 9621 marginRight: 6, 9622 borderRadius: 15, 9623 border: "1px solid rgba(151,151,151, 1)" 9624 }), 9625 MultiValueRemove: (base, state) => ({ 9626 ...base, 9627 cursor: "pointer", 9628 padding: "2px 5px", 9629 borderRadius: 15, 9630 "&:hover": { 9631 backgroundColor: state.iselected ? "#000" : "#000", 9632 color: "#fff" 9633 } 9634 }), 9635 control: (styles, state) => ({ 9636 ...styles, 9637 border: "1px solid #E9E9E9", 9638 borderRadius: "6px", 9639 width: "100%", 9640 backgroundColor: state.isDisabled ? "#E9E9E9" : "#ffffff", 9641 color: state.isDisabled ? "#E9E9E9" : "#2A2A2A" 9642 }), 9643 input: (base) => ({ 9644 ...base, 9645 "input:focus": { 9646 boxShadow: "none" 9647 } 9648 }), 9649 dropdownIndicator: (styles) => ({ 9650 ...styles, 9651 padding: "14px 16px 14px 16px", 9652 "&:hover": { 9653 backgroundColor: "#F6F6F6" 9654 } 9655 }) 9656}; 9657function CustomSelect({ 9658 name, 9659 placeholder, 9660 value, 9661 options: options2, 9662 id, 9663 isDisabled, 9664 getOptionLabel: getOptionLabel4, 9665 onChange: onChange2, 9666 isAsync 9667}) { 9668 const promiseOptions = async (inputValue) => { 9669 const searchFunction = name === "authorIds" ? get_authors_default : get_tags_default; 9670 const data = await searchFunction(inputValue); 9671 if (name === "authorIds") { 9672 return (data == null ? void 0 : data.authors) || options2; 9673 } 9674 return (data == null ? void 0 : data.tags) || options2; 9675 }; 9676 const handleChangeFieldValue = (newSelection, e) => { 9677 if (typeof onChange2 === "function") { 9678 let newOptionValue; 9679 if (e.action === "clear") { 9680 newOptionValue = e.removedValues; 9681 } else if (e.action === "remove-value") { 9682 newOptionValue = e.removedValue; 9683 } else { 9684 newOptionValue = e.option; 9685 } 9686 let valueObj = { 9687 target: { 9688 name: newOptionValue == null ? void 0 : newOptionValue.name, 9689 id, 9690 value: newOptionValue, 9691 checked: e.action === "remove-value" ? false : true 9692 } 9693 }; 9694 onChange2(valueObj, newOptionValue, newSelection); 9695 } 9696 }; 9697 const DropdownIndicator3 = (props) => { 9698 const isWeiterFilterSelect = name === "authorIds" || name === "tagIds"; 9699 return /* @__PURE__ */ React.createElement(components.DropdownIndicator, { 9700 ...props 9701 }, isWeiterFilterSelect ? /* @__PURE__ */ React.createElement(MagnifyingGlassIcon_default, { 9702 className: "h-5 w-5 text-primary" 9703 }) : /* @__PURE__ */ React.createElement(ChevronDownIcon_default, { 9704 className: "h-5 w-5 text-primary" 9705 })); 9706 }; 9707 return /* @__PURE__ */ React.createElement(React.Fragment, null, isAsync ? /* @__PURE__ */ React.createElement(react_select_esm_default2, { 9708 onChange: handleChangeFieldValue, 9709 components: { 9710 DropdownIndicator: DropdownIndicator3, 9711 IndicatorSeparator: null 9712 }, 9713 styles: colourStyles, 9714 isClearable: false, 9715 isMulti: true, 9716 value, 9717 name, 9718 isDisabled, 9719 cacheOptions: true, 9720 defaultOptions: options2, 9721 id, 9722 placeholder, 9723 loadOptions: promiseOptions, 9724 getOptionValue: (option) => option.id, 9725 getOptionLabel: getOptionLabel4 && typeof getOptionLabel4 === "function" ? getOptionLabel4 : (option) => option.name, 9726 theme: (theme) => ({ 9727 ...theme, 9728 borderRadius: 8, 9729 colors: { 9730 ...theme.colors, 9731 primary25: "#F6F6F6", 9732 primary: "#F35D26", 9733 neutral50: "#2A2A2A" 9734 } 9735 }) 9736 }) : /* @__PURE__ */ React.createElement(react_select_esm_default, { 9737 components: { 9738 DropdownIndicator: DropdownIndicator3, 9739 IndicatorSeparator: null 9740 }, 9741 placeholder, 9742 isMulti: true, 9743 isClearable: false, 9744 id, 9745 options: options2, 9746 isDisabled, 9747 name, 9748 value, 9749 getOptionLabel: getOptionLabel4 && typeof getOptionLabel4 === "function" ? getOptionLabel4 : (option) => option.name, 9750 getOptionValue: (option) => option.id, 9751 onChange: handleChangeFieldValue, 9752 styles: colourStyles, 9753 theme: (theme) => ({ 9754 ...theme, 9755 borderRadius: 8, 9756 colors: { 9757 ...theme.colors, 9758 primary25: "#F6F6F6", 9759 primary: "#F35D26", 9760 neutral50: "#2A2A2A" 9761 } 9762 }) 9763 })); 9764} 9765
9766// app/shared/form_input.tsx 9767init_react(); 9768var CheckBox = ({ 9769 name, 9770 id, 9771 label, 9772 subTitle, 9773 setFieldValue, 9774 value, 9775 checked, 9776 formFieldValue, 9777 setSelectedId 9778}) => { 9779 const handleChangeFieldValue = (e, id2) => { 9780 if (typeof setFieldValue === "function") { 9781 setFieldValue(e, formFieldValue); 9782 } 9783 if (typeof setSelectedId === "function" && formFieldValue) { 9784 setSelectedId(formFieldValue.id); 9785 } 9786 }; 9787 return /* @__PURE__ */ React.createElement("div", { 9788 className: class_names_default("relative flex", checked ? "bg-white" : "", checked && subTitle ? "shadow-mainFilter" : "", subTitle ? "my-2 rounded-lg p-4" : "") 9789 }, /* @__PURE__ */ React.createElement("div", { 9790 className: subTitle ? "mt-1" : "mt-0" 9791 }, /* @__PURE__ */ React.createElement("input", { 9792 id, 9793 onChange: (e) => handleChangeFieldValue(e, id), 9794 value, 9795 name, 9796 type: "checkbox", 9797 checked, 9798 className: "h-4 w-4 rounded border-gray-300 text-[#F35D26] focus:ring-indigo-500" 9799 })), /* @__PURE__ */ React.createElement("div", { 9800 className: "ml-3" 9801 }, /* @__PURE__ */ React.createElement("span", { 9802 className: class_names_default(checked ? "font-bold text-[#F35D26]" : "text-primary", "text-sm", subTitle ? "font-normal" : "font-medium") 9803 }, label), subTitle && /* @__PURE__ */ React.createElement("p", { 9804 id: `${label}`, 9805 className: "text-xs text-primary" 9806 }, subTitle))); 9807}; 9808
9809// app/assets/icons/icon-lock-white.svg 9810var icon_lock_white_default = "/build/_assets/icon-lock-white-FKFUD6OH.svg"; 9811
9812// app/shared/cards/new_card.tsx 9813var import_react22 = __toESM(require_react()); 9814var CardNew = ({ 9815 authorsAsString, 9816 name, 9817 firstPicture, 9818 extent, 9819 mediaKindsAsString, 9820 secondaryEducationAsString, 9821 firstAuthor, 9822 slug, 9823 restriction, 9824 favoriteList, 9825 id, 9826 action, 9827 articleLink, 9828 isFavorite, 9829 widgetEnvironment 9830}) => { 9831 const [isInFavorite, setIsFavorite] = (0, import_react22.useState)(false); 9832 const handleAddedTofavorite = () => { 9833 if (typeof action === "function") { 9834 let favoriteItem = { 9835 authorsAsString, 9836 name, 9837 firstPicture, 9838 extent, 9839 mediaKindsAsString, 9840 secondaryEducationAsString, 9841 firstAuthor, 9842 restriction, 9843 id, 9844 slug 9845 }; 9846 action(favoriteItem, isFavorite); 9847 } 9848 }; 9849 (0, import_react22.useEffect)(() => { 9850 if (isFavorite) { 9851 setIsFavorite(true); 9852 } else { 9853 setIsFavorite(false); 9854 } 9855 }, [favoriteList, id, isFavorite]); 9856 const imageURl = firstPicture ? get_image_url_default(firstPicture.file.url, widgetEnvironment) : "should add fallback"; 9857 return /* @__PURE__ */ React.createElement("div", { 9858 className: class_names_default("relative overflow-hidden rounded-2xl bg-white shadow-card transition-shadow duration-300 hover:bg-slate-100", isInFavorite ? "border-2 border-secondary" : "") 9859 }, /* @__PURE__ */ React.createElement(Link2, { 9860 to: articleLink || "#" 9861 }, imageURl && /* @__PURE__ */ React.createElement("img", { 9862 "data-mdb-ripple": "true", 9863 "data-mdb-ripple-color": "light", 9864 src: imageURl, 9865 className: "h-56 w-full object-cover", 9866 alt: "" 9867 })), restriction && !widgetEnvironment ? /* @__PURE__ */ React.createElement("div", { 9868 className: "absolute top-2 right-2 flex h-8 w-8 items-center justify-center rounded-md bg-black" 9869 }, /* @__PURE__ */ React.createElement("img", { 9870 className: "h-[14px] w-[14px] text-white", 9871 src: icon_lock_white_default, 9872 alt: "restricted content" 9873 })) : null, /* @__PURE__ */ React.createElement("div", { 9874 className: "border border-t-0 p-5" 9875 }, /* @__PURE__ */ React.createElement("div", { 9876 className: "flex justify-between" 9877 }, /* @__PURE__ */ React.createElement("img", { 9878 className: "-mt-12 h-14 w-14 rounded-full border-4 border-white object-cover", 9879 src: firstAuthor ? get_image_url_default(firstAuthor.avatar.small.url ? firstAuthor.avatar.small.url : get_image_url_default(firstAuthor.avatar.url, widgetEnvironment), widgetEnvironment) : "https://lernplattform.limburg.voidmod.com/assets/fallback/avatar-b3886050a1f6d9c661a7e18475153b5be93b267925ff2bf5fa48cc5b4a0f14e1.png", 9880 alt: "" 9881 }), !widgetEnvironment && /* @__PURE__ */ React.createElement("div", { 9882 className: "-mt-3" 9883 }, /* @__PURE__ */ React.createElement("button", { 9884 type: "button", 9885 onClick: handleAddedTofavorite, 9886 className: class_names_default(isInFavorite ? "bg-[#ffbe10]" : "", "rounded-md border p-1") 9887 }, /* @__PURE__ */ React.createElement(StarIcon_default, { 9888 className: `h-5 w-5 ${isInFavorite ? "text-white" : "text-[#D4D4D4]"}` 9889 })))), /* @__PURE__ */ React.createElement(Link2, { 9890 to: articleLink || "#" 9891 }, /* @__PURE__ */ React.createElement("h4", { 9892 "aria-label": "Title", 9893 className: "mb-2 inline-block\n text-cardTitle font-bold transition-colors duration-200" 9894 }, name), /* @__PURE__ */ React.createElement("div", { 9895 className: "mb-2 cursor-pointer text-slate-400" 9896 }, /* @__PURE__ */ React.createElement("p", { 9897 className: "text-xs leading-5" 9898 }, authorsAsString), /* @__PURE__ */ React.createElement("p", { 9899 className: "text-xs leading-5" 9900 }, extent ? extent.name : "", " | ", mediaKindsAsString, " |", " ", secondaryEducationAsString))))); 9901}; 9902 9903export { 9904 AdjustmentsHorizontalIcon_default, 9905 ArrowDownTrayIcon_default, 9906 ArrowRightIcon_default, 9907 ArrowUpOnSquareIcon_default, 9908 AtSymbolIcon_default, 9909 ChevronUpIcon_default, 9910 MagnifyingGlassIcon_default, 9911 PhotoIcon_default, 9912 StarIcon_default2 as StarIcon_default, 9913 VideoCameraIcon_default, 9914 XCircleIcon_default, 9915 XMarkIcon_default, 9916 default_default, 9917 search_box_default, 9918 search_box_header_default, 9919 spinner_default, 9920 ErrorBoundary, 9921 CardNew, 9922 tabs_default, 9923 hero_dot_bg_default, 9924 wave_bg_top_white_default, 9925 Section, 9926 TeamSection, 9927 require_lib, 9928 Modal, 9929 fallback_screen_default, 9930 Link2 as Link, 9931 es_default2 as es_default, 9932 CardList, 9933 RelatedMediaSection, 9934 ThemenList, 9935 InklusionCard,
9936 FavoriteListCard, 9937 ListItem, 9938 CustomSelect, 9939 CheckBox 9940}; 9941/*! 9942 Copyright (c) 2015 Jed Watson. 9943 Based on code that is Copyright 2013-2015, Facebook, Inc. 9944 All rights reserved. 9945*/ 9946/*! 9947 * Adapted from jQuery UI core 9948 * 9949 * http://jqueryui.com 9950 * 9951 * Copyright 2014 jQuery Foundation and other contributors 9952 * Released under the MIT license. 9953 * http://jquery.org/license 9954 * 9955 * http://api.jqueryui.com/category/ui-core/ 9956 */ 9957/** @license React v16.13.1 9958 * react-is.development.js 9959 * 9960 * Copyright (c) Facebook, Inc. and its affiliates. 9961 * 9962 * This source code is licensed under the MIT license found in the 9963 * LICENSE file in the root directory of this source tree. 9964 */ 9965//# sourceMappingURL=/build/_shared/chunk-Y6OIBGDA.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.