PageSourceSearch

https://www.thejuggernaut.com/_next/static/chunks/1032-bd72a931bd8049f2.js

js thejuggernaut.com collected 2026-10-02 04:17:21 UTC 83,005 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1032],{82606:function(e,t,n){var o;o=function(e){return function(){var t={378:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,i[r]))return!1;for(r=o;0!=r--;){var o,r,i,a=i[r];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},145:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popover{bottom:96px;position:fixed;right:16px;z-index:10001}.tf-v1-popover.open{max-width:100%;min-height:360px;min-width:360px}.tf-v1-popover-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;opacity:0;transition:opacity 0.25s ease-in-out;border-radius:4px;box-shadow:rgba(0,0,0,0.08) 0 2px 4px,rgba(0,0,0,0.06) 0 2px 12px}.tf-v1-popover-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popover-close{display:none}.tf-v1-popover-button{width:54px;height:54px;position:fixed;box-shadow:0 2px 12px rgba(0,0,0,0.06),0 2px 4px rgba(0,0,0,0.08);color:white;right:26px;bottom:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#3a7685;line-height:0;border:none;padding:0}.tf-v1-popover-button-icon{width:54px;height:54px;font-size:24px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.tf-v1-popover-button-icon svg.default{margin-top:6px}.tf-v1-popover-button-icon svg,.tf-v1-popover-button-icon img{max-width:54px;max-height:54px}.tf-v1-popover-button-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.tf-v1-popover-tooltip{position:fixed;right:94px;bottom:33px;max-width:240px;padding:10px 25px 10px 10px;border-radius:8px;background:#ffffff;box-shadow:0 2px 4px rgba(0,0,0,0.08),0 2px 12px rgba(0,0,0,0.06);font-size:14px;font-family:Helvetica, Arial, sans-serif;line-height:22px}.tf-v1-popover-tooltip::before{background-color:#ffffff;content:'';display:block;width:12px;height:12px;position:absolute;right:-4px;bottom:15px;transform:rotate(45deg);box-shadow:2px -2px 2px 0 rgba(0,0,0,0.06)}.tf-v1-popover-tooltip-text{overflow:hidden}.tf-v1-popover-tooltip-close{color:rgba(0,0,0,0.2);cursor:pointer;margin-left:4px;display:inline-block;width:20px;height:20px;font-size:18px;text-align:center;position:absolute;top:8px;right:6px}.tf-v1-popover-tooltip-close:hover{color:rgba(0,0,0,0.3)}.tf-v1-popover-tooltip.closing{transition:opacity 0.25s ease-in-out;opacity:0}.tf-v1-popover-unread-dot{width:8px;height:8px;border-radius:50%;background-color:#fa6b05;border:2px solid #fff;position:absolute;top:2px;right:2px}.tf-v1-popover-unread-dot.closing{transition:opacity 0.25s ease-in-out;opacity:0}.tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media (max-width: 480px){.tf-v1-popover.open{top:0;left:0;bottom:0;right:0;width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:stretch}.tf-v1-popover.open .tf-v1-popover-close{display:block}.tf-v1-popover-wrapper{border-radius:0;box-shadow:none}.tf-v1-popover-wrapper iframe{border-radius:0}.tf-v1-popover-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000;top:0.5rem;right:0.5rem;z-index:1;opacity:0}.tf-v1-popover-close:hover{opacity:1}}@media (max-width: 480px) and (min-width: 481px){.tf-v1-popover-close{color:#fff !important}}@media (max-width: 480px){.tf-v1-popover-button{width:44px;height:44px;right:8px;bottom:8px}.tf-v1-popover-button-icon{font-size:20px}.tf-v1-popover-button-icon svg{margin-top:4px;max-height:24px;max-width:24px}.tf-v1-popover-button-icon img{max-width:44px;max-height:44px}.tf-v1-popover-tooltip{position:fixed;right:66px;bottom:8px;left:auto;font-size:12px}.tf-v1-popover-tooltip::before{bottom:14px}.tf-v1-popover-unread-dot{top:0;right:0}.tf-v1-spinner{border:3px solid #aaa;font-size:32px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}}\n"},792:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.75);transition:opacity 0.25s ease-in-out;z-index:10001;display:flex;align-items:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity 0.25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000;top:-34px;right:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}@media (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media (max-width: 480px){.tf-v1-popup{width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:stretch}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity 0.25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px}.tf-v1-popup .tf-v1-close:hover{opacity:1}}@media (max-width: 480px) and (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}\n"},838:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-sidetab{position:fixed;top:50%;right:0;width:400px;height:580px;transform:translate(100%, -50%);box-shadow:0 2px 4px rgba(0,0,0,0.08),0 2px 12px rgba(0,0,0,0.06);z-index:10001;will-change:transform}
1.tf-v1-sidetab.ready{transition:transform 250ms ease-in-out}.tf-v1-sidetab iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}.tf-v1-sidetab.open{transform:translate(0, -50%)}.tf-v1-sidetab-wrapper{position:relative;height:100%}.tf-v1-sidetab-button{position:absolute;top:50%;left:-48px;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;min-width:100px;max-width:540px;height:48px;display:flex;align-items:center;padding:12px 16px;border-radius:8px 8px 0 0;color:white;box-shadow:0 2px 4px rgba(0,0,0,0.08),0 2px 12px rgba(0,0,0,0.06);background-color:#3a7685;cursor:pointer;border:0;text-decoration:none;outline:none}.tf-v1-sidetab-button-text{flex:1;font-size:18px;font-family:Helvetica, Arial, sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-v1-sidetab-button-icon{width:24px;height:24px;font-size:24px;transform:rotate(90deg);margin-right:12px;position:relative;order:-1}.tf-v1-sidetab-button-icon>img{width:100%;height:100%;object-fit:contain}.tf-v1-sidetab-close{display:none}.tf-v1-sidetab .tf-v1-spinner{border:3px solid #aaa;font-size:24px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;top:0;left:0;margin:0}@media (max-width: 480px){.tf-v1-sidetab{transition:unset}.tf-v1-sidetab.ready{transition:unset}.tf-v1-sidetab.open{top:0;left:0;right:0;bottom:0;transform:translate(0, 0);width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:stretch}.tf-v1-sidetab-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000;display:block;top:6px;right:8px;z-index:1}.tf-v1-sidetab-close:hover{opacity:1}}@media (max-width: 480px) and (min-width: 481px){.tf-v1-sidetab-close{color:#fff !important}}\n"},630:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-slider{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.75);transition:opacity 0.25s ease-in-out;z-index:10001}.tf-v1-slider .tf-v1-iframe-wrapper{height:100%;position:absolute;top:0;transition:right 0.5s ease-in-out, left 0.5s ease-in-out}.tf-v1-slider .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden}@media (min-width: 481px){.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:8px 0 0 8px}}.tf-v1-slider .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000}.tf-v1-slider .tf-v1-close:hover{opacity:1}@media (min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}@media (min-width: 481px){.tf-v1-slider .tf-v1-close{top:4px;left:-24px}}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media (min-width: 481px){.tf-v1-slider.left .tf-v1-iframe-wrapper iframe{border-radius:0 8px 8px 0}.tf-v1-slider.left .tf-v1-close{left:auto;right:-24px}}@media (max-width: 480px){.tf-v1-slider{width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:stretch}.tf-v1-slider .tf-v1-iframe-wrapper{width:100% !important;height:100%;transition:unset}.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:none}.tf-v1-slider .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;left:auto}.tf-v1-slider .tf-v1-close:hover{opacity:1}}@media (max-width: 480px) and (min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}\n"},684:function(e,t,n){"use strict";n.r(t),t.default=".tf-v1-widget{width:100%;height:100%;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:stretch}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;color:#000;top:4px;right:6px;z-index:1}
1.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}@media (min-width: 481px){.tf-v1-widget-fullscreen .tf-v1-widget-close{color:#fff !important}}.tf-v1-widget-fullscreen iframe{border-radius:0}\n"},281:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(11),t),r(n(739),t),r(n(860),t)},794:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InlineStyle=void 0;var i=r(n(297)),a=r(n(52));t.InlineStyle=function(e){var t=e.filename,r=n(367)("./"+t+".css"),s=a.default();return i.default.createElement("style",o({},s?{nonce:s}:{}),r.default)}},11:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.makeButtonComponent=void 0;var d=a(n(297)),c=n(794),l={unmount:function(){},open:function(){}};t.makeButtonComponent=function(e,t){return function(n){var r=n.id,i=n.children,a=n.as,u=n.style,p=n.className,f=n.buttonProps,h=s(n,["id","children","as","style","className","buttonProps"]),v=d.useRef(l);d.useEffect(function(){return v.current=e(r,h),function(){return v.current.unmount()}},[r,h]);var m=d.useMemo(function(){return function(){return v.current.open()}},[]),g=d.default.createElement(void 0===a?"button":a,o({style:void 0===u?{}:u,className:void 0===p?"":p,onClick:m,"data-testid":"tf-v1-"+t,children:i},f));return d.default.createElement(d.default.Fragment,null,d.default.createElement(c.InlineStyle,{filename:t}),g)}}},739:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};
1Object.defineProperty(t,"__esModule",{value:!0}),t.makeInitializerComponent=void 0;var s=i(n(297)),d=n(794);t.makeInitializerComponent=function(e,t){return function(n){var o=n.id,r=a(n,["id"]);return s.useEffect(function(){var t=e(o,r);return function(){t.unmount()}},[o,r]),s.default.createElement(d.InlineStyle,{filename:t})}}},860:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Widget=void 0;var d=a(n(297)),c=n(611),l=n(794);t.Widget=function(e){var t=e.id,n=e.style,r=e.className,i=s(e,["id","style","className"]),a=d.useRef(null);return d.useEffect(function(){if(a.current){var e=c.createWidget(t,o(o({},i),{container:a.current}));return function(){e.unmount()}}},[t,i]),d.default.createElement(d.default.Fragment,null,d.default.createElement(l.InlineStyle,{filename:"widget"}),d.default.createElement("div",{style:void 0===n?{}:n,className:void 0===r?"":r,ref:a}))}},582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sidetab=t.Popover=t.SliderButton=t.PopupButton=t.Widget=void 0;var o=n(611),r=n(281),i=n(797),a=i.memoComponent(r.Widget);t.Widget=a;var s=i.memoComponent(r.makeButtonComponent(o.createPopup,"popup"));t.PopupButton=s;var d=i.memoComponent(r.makeButtonComponent(o.createSlider,"slider"));t.SliderButton=d;var c=i.memoComponent(r.makeInitializerComponent(o.createPopover,"popover"));t.Popover=c;var l=i.memoComponent(r.makeInitializerComponent(o.createSidetab,"sidetab"));t.Sidetab=l},797:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(553),t)},553:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.memoComponent=t.propsAreEqual=void 0;var r=n(297),i=o(n(378));t.propsAreEqual=function(e,t){return i.default(e,t)},t.memoComponent=function(e){return r.memo(e,t.propsAreEqual)}},52:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return void 0!==n.g.__webpack_nonce__?n.g.__webpack_nonce__:null}},367:function(e,t,n){var o={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function r(e){return n(i(e))}function i(e){if(!n.o(o,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=367},611:function(e){var t,n;e.exports=(t={27:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FORM_BASE_URL=t.POPUP_SIZE=t.SLIDER_WIDTH=t.SLIDER_POSITION=t.SIDETAB_ATTRIBUTE=t.WIDGET_ATTRIBUTE=t.SLIDER_ATTRIBUTE=t.POPUP_ATTRIBUTE=t.POPOVER_ATTRIBUTE=void 0,t.POPOVER_ATTRIBUTE="data-tf-popover",t.POPUP_ATTRIBUTE="data-tf-popup",t.SLIDER_ATTRIBUTE="data-tf-slider",t.WIDGET_ATTRIBUTE="data-tf-widget",t.SIDETAB_ATTRIBUTE="data-tf-sidetab",t.SLIDER_POSITION="right",t.SLIDER_WIDTH=800,t.POPUP_SIZE=100,t.FORM_BASE_URL="https://form.typeform.com"},528:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.createPopover=void 0;var r=n(747),i=n(320),a=function(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))},s=function(e,t){void 0===e&&(e="div"),void 0===t&&(t="tf-v1-popover-button-icon");var n=document.createElement(e);return n.className=t+" tf-v1-close-icon",n.innerHTML="&times;",n.dataset.testid=t,n},d={buttonColor:"#3a7685"};t.createPopover=function(e,t){void 0===t&&(t={});var n,c,l,u,p,f,h,v,m,g,b,w,y,x,O,_,C,E,P,j,k,M=o(o({},d),t),R=r.createIframe(e,"popover",M),S=R.iframe,D=R.embedId,T=R.refresh,I=R.focus,L=(p=M.width,f=M.height,(h=document.createElement("div")).className="tf-v1-popover",h.dataset.testid="tf-v1-popover",r.setElementSize(h,{width:p,height:f})),H=((v=document.createElement("div")).className="tf-v1-popover-wrapper",v.dataset.testid="tf-v1-popover-wrapper",v),N=(m=M.customIcon,g=M.buttonColor||d.buttonColor,b=r.getTextColor(g),(w=document.createElement("div")).className="tf-v1-popover-button-icon",y=null==m?void 0:m.startsWith("http"),w.innerHTML=y?"<img alt='popover trigger icon button' src='"+m+"'/>":null!=m?m:'<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5\n    9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75\n    7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25\n    7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125\n    17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'+b+'"></path>\n  </svg>',w.dataset.testid="default-icon",w),z=((x=document.createElement("div")).className="tf-v1-spinner",(O=document.createElement("div")).className="tf-v1-popover-button-icon",O.dataset.testid="spinner-icon",O.append(x),O),A=s(),B=s("a","tf-v1-popover-close"),F=(_=M.buttonColor||d.buttonColor,C=r.getTextColor(_),(E=document.createElement("button")).className="tf-v1-popover-button",E.dataset.testid="tf-v1-popover-button",E.style.backgroundColor=_,E.style.color=C,E);(M.container||document.body).append(L),H.append(S),L.append(F),L.append(B),F.append(N);var U=function(){j&&j.parentNode&&(j.classList.add("closing"),setTimeout(function(){r.unmountElement(j)},250))};M.tooltip&&M.tooltip.length>0&&(n=M.tooltip,(c=document.createElement("span")).className="tf-v1-popover-tooltip-close",c.dataset.testid="tf-v1-popover-tooltip-close",c.innerHTML="&times;",c.onclick=U,(l=document.createElement("div")).className="tf-v1-popover-tooltip-text",l.innerHTML=n,(u=document.createElement("div")).className="tf-v1-popover-tooltip",u.dataset.testid="tf-v1-popover-tooltip",u.appendChild(l),u.appendChild(c),j=u,L.append(j)),M.notificationDays&&(M.enableSandbox||i.canBuildNotificationDot(e))&&(k=i.buildNotificationDot(),F.append(k)),S.onload=function(){L.classList.add("open"),H.style.opacity="1",B.style.opacity="1",a(z,A),r.addCustomKeyboardListener(Y)};var K=r.makeAutoResize(L),W=function(){r.isOpen(H)||(U(),k&&(k.classList.add("closing"),M.notificationDays&&!M.enableSandbox&&i.saveNotificationDotHideUntilTime(e,M.notificationDays),setTimeout(function(){r.unmountElement(k)},250)),K(),window.addEventListener("resize",K),setTimeout(function(){r.isInPage(H)?(H.style.opacity="0",B.style.opacity="0",H.style.display="flex",setTimeout(function(){L.classList.add("open"),H.style.opacity="1",B.style.opacity="1"}),a(N,A)):(L.append(H),a(N,z),H.style.opacity="0",B.style.opacity="0")}))},Y=function(){var e;r.isOpen(L)&&(null===(e=t.onClose)||void 0===e||e.call(t),setTimeout(function(){M.keepSession?H.style.display="none":r.unmountElement(H),L.classList.remove("open"),a(A,N)},250))};r.setAutoClose(D,M.autoClose,Y);var V=function(){r.isOpen(H)?Y():W()};return F.onclick=V,B.onclick=Y,M.open&&!r.isOpen(H)&&(P=r.handleCustomOpen(W,M.open,M.openValue)),{open:W,close:Y,toggle:V,refresh:T,focus:I,unmount:function(){r.unmountElement(L),window.removeEventListener("resize",K),M.open&&(null==P?void 0:P.remove)&&P.remove()}}}},797:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};
1Object.defineProperty(t,"__esModule",{value:!0}),r(n(528),t),r(n(100),t)},320:function(e,t){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildNotificationDot=t.canBuildNotificationDot=t.saveNotificationDotHideUntilTime=void 0;var o="tfNotificationData",r=function(){var e=localStorage.getItem(o);return e?JSON.parse(e):{}},i=function(e){e&&localStorage.setItem(o,JSON.stringify(e))};t.saveNotificationDotHideUntilTime=function(e,t){var o,a=new Date;a.setDate(a.getDate()+t),i(n(n({},r()),((o={})[e]={hideUntilTime:a.getTime()},o)))},t.canBuildNotificationDot=function(e){var t,n,o=(null===(t=r()[e])||void 0===t?void 0:t.hideUntilTime)||0;return(new Date).getTime()>o&&(o&&(n=r(),delete n[e],i(n)),!0)},t.buildNotificationDot=function(){var e=document.createElement("span");return e.className="tf-v1-popover-unread-dot",e.dataset.testid="tf-v1-popover-unread-dot",e}},100:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},630:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createPopup=void 0;var r=n(747),i=n(27),a=n(747);t.createPopup=function(e,t){if(void 0===t&&(t={}),!r.hasDom())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var n,s,d,c,l,u=t.width,p=t.height,f=t.size,h=void 0===f?i.POPUP_SIZE:f,v=t.onClose,m=o(t,["width","height","size","onClose"]),g=r.createIframe(e,"popup",m),b=g.iframe,w=g.embedId,y=g.refresh,x=g.focus,O=document.body.style.overflow,_=((s=document.createElement("div")).className="tf-v1-popup",s.dataset.testid="tf-v1-popup",s.style.opacity="0",s),C=((d=document.createElement("div")).className="tf-v1-spinner",d),E=((c=document.createElement("div")).className="tf-v1-iframe-wrapper",c.style.opacity="0",r.isDefined(u)&&r.isDefined(p)?r.setElementSize(c,{width:u,height:p}):(c.style.width="calc("+h+"% - 80px)",c.style.height="calc("+h+"% - 80px)",c));E.append(b),_.append(C),_.append(E);var P=m.container||document.body;b.onload=function(){E.style.opacity="1",setTimeout(function(){C.style.display="none"},250),r.addCustomKeyboardListener(M)};var j=a.makeAutoResize(_),k=function(){a.isOpen(_)||(a.isInPage(_)?_.style.display="flex":(C.style.display="block",P.append(_)),document.body.style.overflow="hidden",j(),window.addEventListener("resize",j),setTimeout(function(){_.style.opacity="1"}))},M=function(){a.isOpen(_)&&(null==v||v(),_.style.opacity="0",document.body.style.overflow=O,setTimeout(function(){m.keepSession?_.style.display="none":R()},250))};E.append(((n=document.createElement("a")).className="tf-v1-close tf-v1-close-icon",n.innerHTML="&times;",n.onclick=M,n)),r.setAutoClose(w,m.autoClose,M),m.open&&!a.isOpen(_)&&(l=r.handleCustomOpen(k,m.open,m.openValue));var R=function(){r.unmountElement(_),window.removeEventListener("resize",j),m.open&&(null==l?void 0:l.remove)&&l.remove()};return{open:k,close:M,toggle:function(){a.isOpen(_)?M():k()},refresh:y,focus:x,unmount:R}}},970:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(630),t),r(n(394),t)},394:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},382:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.createSidetab=void 0;var r=n(747),i={buttonColor:"#3a7685",buttonText:"Launch me"},a=function(e,t){void 0===e&&(e="div"),void 0===t&&(t="tf-v1-sidetab-button-icon");var n=document.createElement(e);return n.className=t+" tf-v1-close-icon",n.innerHTML="&times;",n.dataset.testid=t,n},s=function(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))};t.createSidetab=function(e,t){void 0===t&&(t={});var n,d,c,l,u,p,f,h,v,m,g,b,w,y,x,O,_,C=o(o({},i),t),E=r.createIframe(e,"side-tab",C),P=E.iframe,j=E.embedId,k=E.refresh,M=E.focus,R=(n=C.width,d=C.height,(c=document.createElement("div")).className="tf-v1-sidetab",c.dataset.testid="tf-v1-sidetab",r.setElementSize(c,{width:n,height:d})),S=((l=document.createElement("div")).className="tf-v1-sidetab-wrapper",l.dataset.testid="tf-v1-sidetab-wrapper",l),D=((u=document.createElement("div")).className="tf-v1-spinner",(p=document.createElement("div")).className="tf-v1-sidetab-button-icon",p.dataset.testid="spinner-icon",p.append(u),p),T=(f=C.buttonColor||i.buttonColor,h=r.getTextColor(f),(v=document.createElement("button")).className="tf-v1-sidetab-button",v.style.backgroundColor=f,v.style.color=h,v),I=(m=C.buttonText||i.buttonText,(g=document.createElement("span")).className="tf-v1-sidetab-button-text",g.innerHTML=m,g),L=(b=C.customIcon,w=C.buttonColor||i.buttonColor,y=r.getTextColor(w),(x=document.createElement("div")).className="tf-v1-sidetab-button-icon",O=null==b?void 0:b.startsWith("http"),x.innerHTML=O?"<img alt='popover trigger icon button' src='"+b+"'/>":null!=b?b:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'+y+'"></path>\n  </svg>',x.dataset.testid="default-icon",x),H=a(),N=a("a","tf-v1-sidetab-close");(C.container||document.body).append(R),S.append(P),R.append(T),R.append(N),T.append(L),T.append(I),setTimeout(function(){R.classList.add("ready")},250),P.onload=function(){R.classList.add("open"),s(D,H),r.addCustomKeyboardListener(B)};var z=r.makeAutoResize(R),A=function(){r.isOpen(S)||(z(),window.addEventListener("resize",z),r.isInPage(S)?(S.style.display="flex",R.classList.add("open"),s(L,H)):(R.append(S),s(L,D)))},B=function(){var e;r.isOpen(S)&&(null===(e=C.onClose)||void 0===e||e.call(C),R.classList.remove("open"),setTimeout(function(){C.keepSession?S.style.display="none":r.unmountElement(S),s(H,L)},250))};r.setAutoClose(j,C.autoClose,B);var F=function(){r.isOpen(S)?B():A()};return T.onclick=F,N.onclick=B,C.open&&!r.isOpen(S)&&(_=r.handleCustomOpen(A,C.open,C.openValue)),{open:A,close:B,toggle:F,refresh:k,focus:M,unmount:function(){r.unmountElement(R),window.removeEventListener("resize",z),C.open&&(null==_?void 0:_.remove)&&_.remove()}}}},434:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(382),t),r(n(668),t)},668:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},603:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};
1Object.defineProperty(t,"__esModule",{value:!0}),t.createSlider=void 0;var r=n(747),i=n(27);t.createSlider=function(e,t){if(void 0===t&&(t={}),!r.hasDom())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var n,a,s,d,c,l=t.position,u=void 0===l?i.SLIDER_POSITION:l,p=t.width,f=void 0===p?i.SLIDER_WIDTH:p,h=t.onClose,v=o(t,["position","width","onClose"]),m=r.createIframe(e,"slider",v),g=m.iframe,b=m.embedId,w=m.refresh,y=m.focus,x=document.body.style.overflow,O=((a=document.createElement("div")).className="tf-v1-slider "+u,a.dataset.testid="tf-v1-slider",a.style.opacity="0",a),_=((s=document.createElement("div")).className="tf-v1-spinner",s),C=((d=document.createElement("div")).className="tf-v1-iframe-wrapper",d.style[u]="-100%",r.setElementSize(d,{width:f}));C.append(g),O.append(_),O.append(C);var E=v.container||document.body;g.onload=function(){C.style[u]="0",setTimeout(function(){_.style.display="none"},500),r.addCustomKeyboardListener(k)};var P=r.makeAutoResize(O),j=function(){r.isOpen(O)||(P(),window.addEventListener("resize",P),r.isInPage(O)?(O.style.display="flex",setTimeout(function(){C.style[u]="0"})):(E.append(O),_.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){O.style.opacity="1"}))},k=function(){r.isOpen(O)&&(null==h||h(),O.style.opacity="0",C.style[u]="-100%",document.body.style.overflow=x,setTimeout(function(){v.keepSession?O.style.display="none":M()},500))};r.setAutoClose(b,v.autoClose,k),C.append(((n=document.createElement("a")).className="tf-v1-close tf-v1-close-icon",n.innerHTML="&times;",n.onclick=k,n)),v.open&&!r.isOpen(O)&&(c=r.handleCustomOpen(j,v.open,v.openValue));var M=function(){r.unmountElement(O),window.removeEventListener("resize",P),v.open&&(null==c?void 0:c.remove)&&c.remove()};return{open:j,close:k,toggle:function(){r.isOpen(O)?k():j()},refresh:w,focus:y,unmount:M}}},331:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(603),t),r(n(162),t)},162:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},718:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createWidget=void 0;var o=n(747),r=n(554),i=n(313);t.createWidget=function(e,t){if(!o.hasDom())return{refresh:function(){},focus:function(){},unmount:function(){}};
1!t.inlineOnMobile&&(t.forceTouch||o.isFullscreen())&&(t.enableFullscreen=!0,t.forceTouch=!0);var n=o.createIframe(e,"widget",t),a=n.embedId,s=n.iframe,d=n.refresh,c=n.focus,l=i.buildWidget(s,t.width,t.height);if(t.autoResize){var u="string"==typeof t.autoResize?t.autoResize.split(",").map(function(e){return parseInt(e)}):[],p=u[0],f=u[1];window.addEventListener("message",r.getFormHeightChangedHandler(a,function(e){var n=Math.max(e.height,p||0);f&&(n=Math.min(n,f)),t.container.style.height=n+"px"}))}t.autoFocus&&window.addEventListener("message",r.getFormReadyHandler(a,function(){setTimeout(function(){c()},1e3)}));var h,v=function(){return t.container.append(l)};if(t.container.innerHTML="",t.lazy?o.lazyInitialize(t.container,v):v(),t.enableFullscreen){var m="",g=t.container,b=o.makeAutoResize(g),w=g.style.height;window.addEventListener("message",r.getWelcomeScreenHiddenHandler(a,function(){g.classList.add("tf-v1-widget-fullscreen"),void 0!==t.opacity&&(g.style.backgroundColor=m),b(),window.addEventListener("resize",b)})),window.addEventListener("message",r.getFormThemeHandler(a,function(e){var t;m=o.changeColorOpacity(null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.backgroundColor)}));var y=((h=document.createElement("a")).className="tf-v1-widget-close tf-v1-close-icon",h.innerHTML="&times;",h);y.onclick=function(){var e;if(window.removeEventListener("resize",b),g.style.height=w,null===(e=t.onClose)||void 0===e||e.call(t),g.classList.remove("tf-v1-widget-fullscreen"),g.style.backgroundColor="",t.keepSession){var n=document.createElement("div");n.className="tf-v1-widget-iframe-overlay",n.onclick=function(){g.classList.add("tf-v1-widget-fullscreen"),o.unmountElement(n)},l.append(n)}else t.container.innerHTML="",v(),g.append(y)},g.append(y)}return{refresh:d,focus:c,unmount:function(){return o.unmountElement(l)}}}},419:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildWidget=void 0;var o=n(747);t.buildWidget=function(e,t,n){var r=document.createElement("div");return r.className="tf-v1-widget",r.dataset.testid="tf-v1-widget",r.append(e),o.setElementSize(r,{width:t,height:n})}},313:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(419),t)},321:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(718),t),r(n(58),t)},58:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},920:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(797),t),r(n(970),t),r(n(331),t),r(n(321),t),r(n(434),t)},626:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildIframeSrc=void 0;var r=n(27),i=n(527),a=n(346),s=n(698),d=n(863),c={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};t.buildIframeSrc=function(e){var t,n,l,u,p,f,h,v,m,g,b,w,y,x,O,_,C,E,P,j,k=e.formId,M=e.type,R=e.embedId,S=e.options,D=(l=(n=o(o({},{source:null===(t=null==window?void 0:window.location)||void 0===t?void 0:t.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),i.removeUndefinedKeys(S))).transitiveSearchParams,u=n.source,p=n.medium,f=n.mediumVersion,h=n.hideFooter,v=n.hideHeaders,m=n.opacity,g=n.disableTracking,b=n.enableSandbox,w=n.shareGaInstance,y=n.forceTouch,x=n.enableFullscreen,O=n.tracking,_=n.redirectTarget,C=n.autoResize,E=s.getTransitiveSearchParams(l),o(o(o({},{"typeform-embed-id":R,"typeform-embed":c[M],"typeform-source":u,"typeform-medium":p,"typeform-medium-version":f,"embed-hide-footer":h?"true":void 0,"embed-hide-headers":v?"true":void 0,"embed-opacity":m,"disable-tracking":g||b?"true":void 0,"__dangerous-disable-submissions":b?"true":void 0,"share-ga-instance":w?"true":void 0,"force-touch":y?"true":void 0,"add-placeholder-ws":"widget"===M&&x?"true":void 0,"typeform-embed-redirect-target":_,"typeform-embed-auto-resize":C?"true":void 0}),E),O)),T=(void 0===(P=S.chat)&&(P=!1),j=P?"c":"to",new URL(k.startsWith("http://")||k.startsWith("https://")?k:r.FORM_BASE_URL+"/"+j+"/"+k));if(Object.entries(D).filter(function(e){var t=e[1];return a.isDefined(t)}
1).forEach(function(e){var t=e[0],n=e[1];T.searchParams.set(t,n)}),S.hubspot){var I=d.getHubspotHiddenFields();S.hidden=o(o({},S.hidden),I)}if(S.hidden){var L=new URL(r.FORM_BASE_URL);Object.entries(S.hidden).filter(function(e){var t=e[1];return a.isDefined(t)}).forEach(function(e){var t=e[0],n=e[1];L.searchParams.set(t,n)});var H=L.searchParams.toString();H&&(T.hash=H)}return T.href}},391:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.changeColorOpacity=void 0,t.changeColorOpacity=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=255),e.startsWith("rgba(")?null==e?void 0:e.replace(/, [\d.]+\)$/,", "+t+")"):e}},972:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomOpen=void 0;var n={remove:function(){}};t.handleCustomOpen=function(e,t,o){switch(t){case"load":return e(),n;case"exit":var r,i;return o?(r=0,i=function(t){t.clientY<o&&t.clientY<r?(document.removeEventListener("mousemove",i,!0),e()):r=t.clientY},document.addEventListener("mousemove",i,!0),{remove:function(){return document.removeEventListener("mousemove",i,!0)}}):n;case"time":return setTimeout(function(){e()},o),n;case"scroll":return o?function(e,t){function n(){var o=window.pageYOffset||document.documentElement.scrollTop,r=document.documentElement.clientTop||0,i=document.documentElement.scrollHeight,a=o-r,s=a+window.innerHeight>=i;(a/i*100>=e||s)&&(t(),document.removeEventListener("scroll",n))}return document.addEventListener("scroll",n),{remove:function(){return document.removeEventListener("scroll",n)}}}(o,e):n;default:return n}}},553:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createIframe=void 0;var o=n(626),r=n(747),i=n(866),a=n(554),s=n(256),d=n(144),c=n(511);t.createIframe=function(e,t,n){var l=i.generateEmbedId(),u=n.iframeProps,p=void 0===u?{}:u,f=n.onReady,h=n.onQuestionChanged,v=n.onHeightChanged,m=n.onSubmit,g=n.onEndingButtonClick,b=n.shareGaInstance,w=o.buildIframeSrc({formId:e,embedId:l,type:t,options:n}),y=document.createElement("iframe");return y.src=w,y.dataset.testid="iframe",y.style.border="0px",y.allow="microphone; camera",Object.keys(p).forEach(function(e){y.setAttribute(e,p[e])}),y.addEventListener("load",s.triggerIframeRedraw,{once:!0}),window.addEventListener("message",a.getFormReadyHandler(l,f)),window.addEventListener("message",a.getFormQuestionChangedH
1andler(l,h)),window.addEventListener("message",a.getFormHeightChangedHandler(l,v)),window.addEventListener("message",a.getFormSubmitHandler(l,m)),window.addEventListener("message",a.getFormThemeHandler(l,function(e){var t;if(null==e?void 0:e.theme){var n=document.querySelector(".tf-v1-close-icon");n&&(n.style.color=null===(t=e.theme)||void 0===t?void 0:t.color)}})),window.addEventListener("message",a.getThankYouScreenButtonClickHandler(l,g)),"widget"!==t&&window.addEventListener("message",d.dispatchCustomKeyEventFromIframe),b&&window.addEventListener("message",a.getFormReadyHandler(l,function(){r.setupGaInstance(y,l,b)})),{iframe:y,embedId:l,refresh:function(){return c.refreshIframe(y)},focus:function(){var e;null===(e=y.contentWindow)||void 0===e||e.postMessage("embed-focus","*")}}}},866:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.generateEmbedId=void 0,t.generateEmbedId=function(){return String(Math.random()).split(".")[1]}},554:function(e,t){var n=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function o(e,t,o){return function(r){var i=r.data,a=i.type,s=i.embedId,d=n(i,["type","embedId"]);a===e&&s===t&&(null==o||o(d))}}Object.defineProperty(t,"__esModule",{value:!0}),t.getThankYouScreenButtonClickHandler=t.getFormThemeHandler=t.getWelcomeScreenHiddenHandler=t.getFormSubmitHandler=t.getFormHeightChangedHandler=t.getFormQuestionChangedH
1andler=t.getFormReadyHandler=void 0,t.getFormReadyHandler=function(e,t){return o("form-ready",e,t)},t.getFormQuestionChangedHandler=function(e,t){return o("form-screen-changed",e,t)},t.getFormHeightChangedHandler=function(e,t){return o("form-height-changed",e,t)},t.getFormSubmitHandler=function(e,t){return o("form-submit",e,t)},t.getWelcomeScreenHiddenHandler=function(e,t){return o("welcome-screen-hidden",e,t)},t.getFormThemeHandler=function(e,t){return o("form-theme",e,t)},t.getThankYouScreenButtonClickHandler=function(e,t){return o("thank-you-screen-button-click",e,t)}},339:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(553),t),r(n(144),t)},511:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.refreshIframe=void 0,t.refreshIframe=function(e){if(e){var t=e.src;if(t.includes("&refresh")){var n=t.split("&refresh#");e.src=n.join("#")}else(n=t.split("#"))[0]=n[0]+"&refresh",e.src=n.join("#")}}},144:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{d(o.next(e))}catch(e){i(e)}}function s(e){try{d(o.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}d((o=o.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchCustomKeyEventFromIframe=t.removeCustomKeyboardListener=t.addCustomKeyboardListener=void 0;var r="Escape",i=function(e,i){return n(void 0,void 0,void 0,function(){return o(this,function(n){return e.code===r&&"function"==typeof i&&(i(),t.removeCustomKeyboardListener()),[2]})})};t.addCustomKeyboardListener=function(e){return window.document.addEventListener("keydown",function(t){return i(t,e)})},t.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",i)},t.dispatchCustomKeyEventFromIframe=function(e){"form-close"===e.data.type&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:r}))}},256:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.triggerIframeRedraw=void 0,t.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},939:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTextColor=void 0;var o=n(938);t.getTextColor=function(e){if(!e)return"#FFFFFF";var t,n,r=e.startsWith("#")?o.hexRgb(e):(t={red:0,green:0,blue:0},(n=e.match(/\d+/g))&&(t.red=parseInt(n[0],10),t.green=parseInt(n[0],10),t.blue=parseInt(n[0],10)),t);return Math.round((299*r.red+587*r.green+114*r.blue)/1e3)>125?"#000000":"#FFFFFF"}},698:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitiveSearchParams=void 0,t.getTransitiveSearchParams=function(e){var t=new URL(window.location.href),n={};return e&&e.length>0&&e.forEach(function(e){t.searchParams.has(e)&&(n[e]=t.searchParams.get(e))}),n}}
1,252:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasDom=void 0,t.hasDom=function(){return"undefined"!=typeof document&&"undefined"!=typeof window}},938:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hexRgb=void 0;var n=RegExp("[^#a-f\\d]","gi"),o=RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i");t.hexRgb=function(e){if("string"!=typeof e||n.test(e)||!o.test(e))throw TypeError("Expected a valid hex string");8===(e=e.replace(/^#/,"")).length&&(e=e.slice(0,6)),4===e.length&&(e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=Number.parseInt(e,16);return{red:t>>16,green:t>>8&255,blue:255&t}}},863:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getHubspotHiddenFields=t.getHubspotCookieValue=void 0,t.getHubspotCookieValue=function(){var e=document.cookie.match(RegExp("(^| )hubspotutk=([^;]+)"));return e&&e[2]||void 0},t.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:t.getHubspotCookieValue()}}},71:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.includeCss=void 0,t.includeCss=function(e){var t="https://embed.typeform.com/next/css/"+e;if(!document.querySelector('link[href="'+t+'"]')){var n=document.createElement("link");n.rel="stylesheet",n.href=t,document.head.append(n)}}},747:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(626),t),r(n(339),t),r(n(252),t),r(n(71),t),r(n(346),t),r(n(377),t),r(n(563),t),r(n(527),t),r(n(533),t),r(n(451),t),r(n(972),t),r(n(748),t),r(n(392),t),r(n(939),t),r(n(917),t),r(n(987),t),r(n(318),t),r(n(391),t)},346:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=void 0,t.isDefined=function(e){return null!=e}},987:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=t.isInPage=t.isOpen=void 0,t.isOpen=function(e){return t.isInPage(e)&&t.isVisible(e)},t.isInPage=function(e){return!!e.parentNode},t.isVisible=function(e){return"none"!==e.style.display}},917:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.lazyInitialize=void 0,t.lazyInitialize=function(e,t){var n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t(),n.unobserve(e.target))})});n.observe(e)}},377:function(e,t){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.loadOptionsFromAttributes=t.transformAttributeValue=t.camelCaseToKebabCase=void 0,t.camelCaseToKebabCase=function(e){return e.split("").map(function(e,t){return e.toUpperCase()===e?(0!==t?"-":"")+e.toLowerCase():e}).join("")};var o=function(e){return e||void 0},r=function(e){return""===e||"yes"===e||"true"===e},i=function(e){var t=e?parseInt(e,10):NaN;return isNaN(t)?void 0:t},a="%ESCAPED_COMMA%";t.transformAttributeValue=function(e,t){var s,d,c;switch(t){case"string":return o(e);case"boolean":return r(e);case"integer":return i(e);case"function":return"function"==typeof(c=e&&e in window?window[e]:void 0)?c:void 0;case"array":return function(e){if(e)return e.replace(/\s/g,"").replace(/\\,/g,a).split(",").filter(function(e){return!!e}).map(function(e){return e.replace(a,",")})}(e);case"record":return function(e){if(e)return e.replace(/\\,/g,a).split(",").filter(function(e){return!!e}).map(function(e){return e.replace(a,",")}).reduce(function(e,t){var o,r=t.match(/^([^=]+)=(.*)$/);if(r){var i=r[1],a=r[2];return n(n({},e),((o={})[i.trim()]=a,o))}return e},{})}(e);case"integerOrBoolean":return null!==(s=i(e))&&void 0!==s?s:r(e);case"stringOrBoolean":return null!==(d=o(e))&&void 0!==d?d:r(e);default:throw Error("Invalid attribute transformation "+t)}},t.loadOptionsFromAttributes=function(e,o){return Object.keys(o).reduce(function(r,i){var a;return n(n({},r),((a={})[i]=t.transformAttributeValue(e.getAttribute("data-tf-"+t.camelCaseToKebabCase(i)),o[i]),a))},{})}}
1,318:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.makeAutoResize=void 0;var o=n(563);t.makeAutoResize=function(e){return function(){e&&o.isMobile()&&e.style.setProperty("height",window.innerHeight+"px","important")}}},563:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isFullscreen=t.isMobile=t.isBigScreen=void 0,t.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},t.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},t.isFullscreen=function(){return t.isMobile()&&!t.isBigScreen()}},527:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.removeUndefinedKeys=void 0;var r=n(346);t.removeUndefinedKeys=function(e){return Object.entries(e).filter(function(e){var t=e[1];return r.isDefined(t)}).reduce(function(e,t){var n,r=t[0],i=t[1];return o(o({},e),((n={})[r]=i,n))},{})}},748:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setAutoClose=void 0;var o=n(554);t.setAutoClose=function(e,t,n){if(t&&n){var r="number"==typeof t?t:0;window.addEventListener("message",o.getFormSubmitHandler(e,function(){return setTimeout(n,r)}))}}},533:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setElementSize=void 0,t.setElementSize=function(e,t){var n=t.width,o=t.height;return n&&(e.style.width=n+"px"),o&&(e.style.height=o+"px"),e}},392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setupGaInstance=t.sendGaIdMessage=void 0,t.sendGaIdMessage=function(e,t,n){var o={embedId:e,gaClientId:t};
1setTimeout(function(){n&&n.contentWindow&&n.contentWindow.postMessage({type:"ga-client-id",data:o},"*")},0)};var n=function(e){console.error(e)};t.setupGaInstance=function(e,o,r){try{var i,a=window[window.GoogleAnalyticsObject],s="string"==typeof r?r:void 0,d=(i=a.getAll(),s?i.find(function(e){return e.get("trackingId")===s}):i[0]);d?t.sendGaIdMessage(o,d.get("clientId"),e):n("Whoops! You enabled the shareGaInstance feature in your typeform embed but the tracker with ID "+s+" was not found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID. ")}catch(e){n("Whoops! You enabled the shareGaInstance feature in your typeform embed but the Google Analytics object has not been found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page. "),n(e)}}},451:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.unmountElement=void 0,t.unmountElement=function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}},n={},function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{}};return t[o].call(r.exports,r,r.exports,e),r.exports}(920))},297:function(t){"use strict";t.exports=e}},n={};function o(e){if(n[e])return n[e].exports;var r=n[e]={exports:{}};return t[e].call(r.exports,r,r.exports,o),r.exports}return o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(582)}()},e.exports=o(n(67294))},26571:function(){},44740:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"}))});t.Z=r},62435:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"}))});t.Z=r},56707:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"}))});t.Z=r},78969:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"}))});t.Z=r},38264:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))});t.Z=r},59700:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))});t.Z=r},95301:function(e,t,n){"use strict";var o=n(67294);let r=o.forwardRef(function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}))});t.Z=r},19963:function(e,t,n){"use strict";let o,r;n.d(t,{E:function(){return D}});var i=n(67294),a=n(83619),s=n(59656),d=n(16116),c=n(57110),l=n(71237),u=n(58766),p=n(40947),f=n(68354);let h=(0,i.createContext)(null);function v(){let[e,t]=(0,i.useState)([]);return[e.length>0?e.join(" "):void 0,(0,i.useMemo)(()=>function(e){let n=(0,f.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),o=n.indexOf(e);return -1!==o&&n.splice(o,1),n}))),o=(0,i.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return i.createElement(h.Provider,{value:o},e.children)},[t])]}let m=(0,a.yV)(function(e,t){let n=(0,s.M)(),{id:o="headlessui-label-".concat(n),passive:r=!1,...d}=e,l=function e(){let t=(0,i.useContext)(h);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),u=(0,p.T)(t);(0,c.e)(()=>l.register(o),[o,l.register]);let f={ref:u,...l.props,id:o};return r&&("onClick"in f&&delete f.onClick,"onClick"in d&&delete d.onClick),(0,a.sY)({ourProps:f,theirProps:d,slot:l.slot||{},defaultTag:"label",name:l.name||"Label"})});var g=n(29138),b=n(57526),w=n(51228);function y(e,t){return e?e+"["+t+"]":t}var x=n(23233),O=n(67257),_=n(39438),C=n(5655),E=((o=E||{})[o.RegisterOption=0]="RegisterOption",o[o.UnregisterOption=1]="UnregisterOption",o);let P={0(e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:(0,u.z2)(n,e=>e.element.current)}},1(e,t){let n=e.options.slice(),o=e.options.findIndex(e=>e.id===t.id);return -1===o?e:(n.splice(o,1),{...e,options:n})}},j=(0,i.createContext)(null);j.displayName="RadioGroupDataContext";let k=(0,i.createContext)(null);function M(e,t){return(0,d.E)(t.type,P,e,t)}k.displayName="RadioGroupActionsContext";let R=(0,a.yV)(function(e,t){let n=(0,s.M)(),{id:o="headlessui-radiogroup-".concat(n),value:r,defaultValue:d,name:c,onChange:h,by:m=(e,t)=>e===t,disabled:O=!1,..._}=e,E=(0,f.z)("string"==typeof m?(e,t)=>(null==e?void 0:e[m])===(null==t?void 0:t[m]):m),[P,R]=(0,i.useReducer)(M,{options:[]}),S=P.options,[D,T]=v(),[I,L]=(0,g.f)(),H=(0,i.useRef)(null),N=(0,p.T)(H,t),[z,A]=function(e,t,n){let[o,r]=(0,i.useState)(n),a=void 0!==e,s=(0,i.useRef)(a),d=(0,i.useRef)(!1),c=(0,i.useRef)(!1);return!a||s.current||d.current?a||!s.current||c.current||(c.current=!0,s.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(d.current=!0,s.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:o,(0,f.z)(e=>(a||r(e),null==t?void 0:t(e)))]}(r,h,d),B=(0,i.useMemo)(()=>S.find(e=>!e.propsRef.current.disabled),[S]),F=(0,i.useMemo)(()=>S.some(e=>E(e.propsRef.current.value,z)),[S,z]),U=(0,f.z)(e=>{var t;if(O||E(e,z))return!1;let n=null==(t=S.find(t=>E(t.propsRef.current.value,e)))?void 0:t.propsRef.current;return(null==n||!n.disabled)&&(null==A||A(e),!0)});(0,b.B)({container:H.current,accept:e=>
1"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let K=(0,f.z)(e=>{let t=H.current;if(!t)return;let n=(0,x.r)(t),o=S.filter(e=>!1===e.propsRef.current.disabled).map(e=>e.element.current);switch(e.key){case l.R.Enter:!function(e){var t;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let e of n.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type){e.click();return}}}(e.currentTarget);break;case l.R.ArrowLeft:case l.R.ArrowUp:if(e.preventDefault(),e.stopPropagation(),(0,u.jA)(o,u.TO.Previous|u.TO.WrapAround)===u.fE.Success){let e=S.find(e=>e.element.current===(null==n?void 0:n.activeElement));e&&U(e.propsRef.current.value)}break;case l.R.ArrowRight:case l.R.ArrowDown:if(e.preventDefault(),e.stopPropagation(),(0,u.jA)(o,u.TO.Next|u.TO.WrapAround)===u.fE.Success){let e=S.find(e=>e.element.current===(null==n?void 0:n.activeElement));e&&U(e.propsRef.current.value)}break;case l.R.Space:{e.preventDefault(),e.stopPropagation();let t=S.find(e=>e.element.current===(null==n?void 0:n.activeElement));t&&U(t.propsRef.current.value)}}}),W=(0,f.z)(e=>(R({type:0,...e}),()=>R({type:1,id:e.id}))),Y=(0,i.useMemo)(()=>({value:z,firstOption:B,containsCheckedOption:F,disabled:O,compare:E,...P}),[z,B,F,O,E,P]),V=(0,i.useMemo)(()=>({registerOption:W,change:U}),[W,U]),G=(0,i.useMemo)(()=>({value:z}),[z]),X=(0,i.useRef)(null),Z=(0,C.G)();return(0,i.useEffect)(()=>{X.current&&void 0!==d&&Z.addEventListener(X.current,"reset",()=>{U(d)})},[X,U]),i.createElement(L,{name:"RadioGroup.Description"},i.createElement(T,{name:"RadioGroup.Label"},i.createElement(k.Provider,{value:V},i.createElement(j.Provider,{value:Y},null!=c&&null!=z&&(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[r,i]of Object.entries(t))!function t(n,o,r){if(Array.isArray(r))for(let[e,i]of r.entries())t(n,y(o,e.toString()),i);else r instanceof Date?n.push([o,r.toISOString()]):"boolean"==typeof r?n.push([o,r?"1":"0"]):"string"==typeof r?n.push([o,r]):"number"==typeof r?n.push([o,"".concat(r)]):null==r?n.push([o,""]):e(r,o,n)}(o,y(n,r),i);return o})({[c]:z}).map((e,t)=>{let[n,o]=e;return i.createElement(w._,{features:w.A.Hidden,ref:0===t?e=>{var t;X.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,a.oA)({key:n,as:"input",type:"radio",checked:null!=o,hidden:!0,readOnly:!0,name:n,value:o})})}),(0,a.sY)({ourProps:{ref:N,id:o,role:"radiogroup","aria-labelledby":D,"aria-describedby":I,onKeyDown:K},theirProps:_,slot:G,defaultTag:"div",name:"RadioGroup"})))))});var S=((r=S||{})[r.Empty=1]="Empty",r[r.Active=2]="Active",r);let D=Object.assign(R,{Option:(0,a.yV)(function(e,t){var n;let o=(0,s.M)(),{id:r="headlessui-radiogroup-option-".concat(o),value:d,disabled:l=!1,...u}=e,h=(0,i.useRef)(null),m=(0,p.T)(h,t),[b,w]=v(),[y,x]=(0,g.f)(),{addFlag:C,removeFlag:E,hasFlag:P}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,i.useState)(e);return{addFlag:(0,i.useCallback)(e=>n(t=>t|e),[t]),hasFlag:(0,i.useCallback)(e=>!!(t&e),[t]),removeFlag:(0,i.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,i.useCallback)(e=>n(t=>t^e),[n])}}(1),M=(0,_.E)({value:d,disabled:l}),R=function e(t){let n=(0,i.useContext)(j);if(null===n){let n=Error("<".concat(t," /> is missing a parent <RadioGroup /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return n}("RadioGroup.Option"),S=function e(t){let n=(0,i.useContext)(k);if(null===n){let n=Error("<".concat(t," /> is missing a parent <RadioGroup /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return n}("RadioGroup.Option");(0,c.e)(()=>S.registerOption({id:r,element:h,propsRef:M}),[r,S,h,e]);let D=(0,f.z)(e=>{var t;if((0,O.P)(e.currentTarget))return e.preventDefault();
1S.change(d)&&(C(2),null==(t=h.current)||t.focus())}),T=(0,f.z)(e=>{if((0,O.P)(e.currentTarget))return e.preventDefault();C(2)}),I=(0,f.z)(()=>E(2)),L=(null==(n=R.firstOption)?void 0:n.id)===r,H=R.disabled||l,N=R.compare(R.value,d),z={ref:m,id:r,role:"radio","aria-checked":N?"true":"false","aria-labelledby":b,"aria-describedby":y,"aria-disabled":!!H||void 0,tabIndex:H?-1:N||!R.containsCheckedOption&&L?0:-1,onClick:H?void 0:D,onFocus:H?void 0:T,onBlur:H?void 0:I},A=(0,i.useMemo)(()=>({checked:N,disabled:H,active:P(2)}),[N,H,P]);return i.createElement(x,{name:"RadioGroup.Description"},i.createElement(w,{name:"RadioGroup.Label"},(0,a.sY)({ourProps:z,theirProps:u,slot:A,defaultTag:"div",name:"RadioGroup.Option"})))}),Label:m,Description:g.d})},57526:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});var o=n(67294),r=n(57110),i=n(23233);function a(e){let{container:t,accept:n,walk:a,enabled:s=!0}=e,d=(0,o.useRef)(n),c=(0,o.useRef)(a);(0,o.useEffect)(()=>{d.current=n,c.current=a},[n,a]),(0,r.e)(()=>{if(!t||!s)return;let e=(0,i.r)(t);if(!e)return;let n=d.current,o=c.current,r=Object.assign(e=>n(e),{acceptNode:n}),a=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,r,!1);for(;a.nextNode();)o(a.currentNode)},[t,s,d,c])}},82084:function(e,t,n){"use strict";n.d(t,{ZP:function(){return f}});var o=n(67294);let r={x:0,y:0,width:0,height:0,unit:"px"},i=(e,t,n)=>Math.min(Math.max(e,t),n),a=(...e)=>e.filter(e=>e&&"string"==typeof e).join(" "),s=(e,t)=>e===t||e.width===t.width&&e.height===t.height&&e.x===t.x&&e.y===t.y&&e.unit===t.unit;function d(e,t,n){return"%"===e.unit?{...r,...e,unit:"%"}:{unit:"%",x:e.x?e.x/t*100:0,y:e.y?e.y/n*100:0,width:e.width?e.width/t*100:0,height:e.height?e.height/n*100:0}}function c(e,t,n){return e.unit?"px"===e.unit?{...r,...e,unit:"px"}:{unit:"px",x:e.x?e.x*t/100:0,y:e.y?e.y*n/100:0,width:e.width?e.width*t/100:0,height:e.height?e.height*n/100:0}:{...r,...e,unit:"px"}}function l(e,t,n,o,r,i=0,a=0,s=o,d=r){let c={...e},l=Math.min(i,o),u=Math.min(a,r),p=Math.min(s,o),f=Math.min(d,r);t&&(t>1?(u=(l=a?a*t:l)/t,p=s*t):(l=(u=i?i/t:u)*t,f=d/t)),c.y<0&&(c.height=Math.max(c.height+c.y,u),c.y=0),c.x<0&&(c.width=Math.max(c.width+c.x,l),c.x=0);let h=o-(c.x+c.width);h<0&&(c.x=Math.min(c.x,o-l),c.width+=h);let v=r-(c.y+c.height);if(v<0&&(c.y=Math.min(c.y,r-u),c.height+=v),c.width<l&&(("sw"===n||"nw"==n)&&(c.x-=l-c.width),c.width=l),c.height<u&&(("nw"===n||"ne"==n)&&(c.y-=u-c.height),c.height=u),c.width>p&&(("sw"===n||"nw"==n)&&(c.x-=p-c.width),c.width=p),c.height>f&&(("nw"===n||"ne"==n)&&(c.y-=f-c.height),c.height=f),t){let e=c.width/c.height;if(e<t){let e=Math.max(c.width/t,u);("nw"===n||"ne"==n)&&(c.y-=e-c.height),c.height=e}else if(e>t){let e=Math.max(c.height*t,l);("sw"===n||"nw"==n)&&(c.x-=e-c.width),c.width=e}}return c}let u={capture:!0,passive:!1},p=class e extends o.PureComponent{constructor(){super(...arguments),this.docMoveBound=!1,this.mouseDownOnCrop=!1,this.dragStarted=!1,this.evData={startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0},this.componentRef=(0,o.createRef)(),this.mediaRef=(0,o.createRef)(),this.initChangeCalled=!1,this.state={cropIsActive:!1,newCropIsBeingDrawn:!1},this.onCropPointerDown=e=>{let{crop:t,disabled:n}=this.props,o=this.getBox();if(!t)return;let r=c(t,o.width,o.height);if(n)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});let i=e.target.dataset.ord,a=e.clientX,s=e.clientY,d=r.x,l=r.y;if(i){let t=e.clientX-o.x,n=e.clientY-o.y,c=0,u=0;"ne"===i||"e"==i?(c=t-(r.x+r.width),u=n-r.y,d=r.x,l=r.y+r.height):"se"===i||"s"===i?(c=t-(r.x+r.width),u=n-(r.y+r.height),d=r.x,l=r.y):"sw"===i||"w"==i?(c=t-r.x,u=n-(r.y+r.height),d=r.x+r.width,l=r.y):("nw"===i||"n"==i)&&(c=t-r.x,u=n-r.y,d=r.x+r.width,l=r.y+r.height),a=d+o.x+c,s=l+o.y+u}this.evData={startClientX:a,startClientY:s,startCropX:d,startCropY:l,clientX:e.clientX,clientY:e.clientY,isResize:!!i,ord:i},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})},this.onComponentPointerDown=e=>{let{crop:t,disabled:n,locked:o,keepSelection:r,onChange:i}=this.props,a=this.getBox();if(n||o||r&&t)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});let s=e.clientX-a.x,l=e.clientY-a.y,u={unit:"px",x:s,y:l,width:0,height:0};this.evData={startClientX:e.clientX,startClientY:e.clientY,startCropX:s,startCropY:l,clientX:e.clientX,clientY:e.clientY,isResize:!0},this.mouseDownOnCrop=!0,i(c(u,a.width,a.height),d(u,a.width,a.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})},this.onDocPointerMove=e=>{let t;let{crop:n,disabled:o,onChange:r,onDragStart:i}=this.props,a=this.getBox();if(o||!n||!this.mouseDownOnCrop)return;e.cancelable&&e.preventDefault(),this.dragStarted||(this.dragStarted=!0,i&&i(e));let{evData:l}=this;l.clientX=e.clientX,l.clientY=e.clientY,s(n,t=l.isResize?this.resizeCrop():this.dragCrop())||r(c(t,a.width,a.height),d(t,a.width,a.height))},this.onComponentKeyDown=t=>{let{crop:n,disabled:o,onChange:r,onComplete:a}=this.props;if(o)return;let s=t.key,l=!1;if(!n)return;let u=this.getBox(),p=this.makePixelCrop(u),f=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep;if("ArrowLeft"===s?(p.x-=f,l=!0):"ArrowRight"===s?(p.x+=f,l=!0):"ArrowUp"===s?(p.y-=f,l=!0):"ArrowDown"===s&&(p.y+=f,l=!0),l){t.cancelable&&t.preventDefault(),p.x=i(p.x,0,u.width-p.width),p.y=i(p.y,0,u.height-p.height);let e=c(p,u.width,u.height),n=d(p,u.width,u.height);r(e,n),a&&a(e,n)}},this.onHandlerKeyDown=(t,n)=>{let{aspect:o=0,crop:r,disabled:i,minWidth:a=0,minHeight:u=0,maxWidth:p,maxHeight:f,onChange:h,onComplete:v}=this.props,m=this.getBox();if(i||!r||"ArrowUp"!==t.key&&"ArrowDown"!==t.key&&"ArrowLeft"!==t.key&&"ArrowRight"!==t.key)return;t.stopPropagation(),t.preventDefault();let g=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep,b=l(function(e,t,n,o){let r={...e};
1return"ArrowLeft"===t?"nw"===o?(r.x-=n,r.y-=n,r.width+=n,r.height+=n):"w"===o?(r.x-=n,r.width+=n):"sw"===o?(r.x-=n,r.width+=n,r.height+=n):"ne"===o?(r.y+=n,r.width-=n,r.height-=n):"e"===o?r.width-=n:"se"===o&&(r.width-=n,r.height-=n):"ArrowRight"===t&&("nw"===o?(r.x+=n,r.y+=n,r.width-=n,r.height-=n):"w"===o?(r.x+=n,r.width-=n):"sw"===o?(r.x+=n,r.width-=n,r.height-=n):"ne"===o?(r.y-=n,r.width+=n,r.height+=n):"e"===o?r.width+=n:"se"===o&&(r.width+=n,r.height+=n)),"ArrowUp"===t?"nw"===o?(r.x-=n,r.y-=n,r.width+=n,r.height+=n):"n"===o?(r.y-=n,r.height+=n):"ne"===o?(r.y-=n,r.width+=n,r.height+=n):"sw"===o?(r.x+=n,r.width-=n,r.height-=n):"s"===o?r.height-=n:"se"===o&&(r.width-=n,r.height-=n):"ArrowDown"===t&&("nw"===o?(r.x+=n,r.y+=n,r.width-=n,r.height-=n):"n"===o?(r.y+=n,r.height-=n):"ne"===o?(r.y+=n,r.width-=n,r.height-=n):"sw"===o?(r.x-=n,r.width+=n,r.height+=n):"s"===o?r.height+=n:"se"===o&&(r.width+=n,r.height+=n)),r}(c(r,m.width,m.height),t.key,g,n),o,n,m.width,m.height,a,u,p,f);if(!s(r,b)){let e=d(b,m.width,m.height);h(b,e),v&&v(b,e)}},this.onDocPointerDone=e=>{let{crop:t,disabled:n,onComplete:o,onDragEnd:r}=this.props,i=this.getBox();this.unbindDocMove(),!(n||!t)&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,r&&r(e),o&&o(c(t,i.width,i.height),d(t,i.width,i.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))},this.onDragFocus=e=>{var t;null==(t=this.componentRef.current)||t.scrollTo(0,0)}}get document(){return document}getBox(){let e=this.mediaRef.current;if(!e)return{x:0,y:0,width:0,height:0};let{x:t,y:n,width:o,height:r}=e.getBoundingClientRect();return{x:t,y:n,width:o,height:r}}componentDidUpdate(e){let{crop:t,onComplete:n}=this.props;if(n&&!e.crop&&t){let{width:e,height:o}=this.getBox();e&&o&&n(c(t,e,o),d(t,e,o))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,u),this.document.addEventListener("pointerup",this.onDocPointerDone,u),this.document.addEventListener("pointercancel",this.onDocPointerDone,u),this.docMoveBound=!0)}unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,u),this.document.removeEventListener("pointerup",this.onDocPointerDone,u),this.document.removeEventListener("pointercancel",this.onDocPointerDone,u),this.docMoveBound=!1)}getCropStyle(){let{crop:e}=this.props;if(e)return{top:`${e.y}${e.unit}`,left:`${e.x}${e.unit}`,width:`${e.width}${e.unit}`,height:`${e.height}${e.unit}`}}dragCrop(){let{evData:e}=this,t=this.getBox(),n=this.makePixelCrop(t),o=e.clientX-e.startClientX,r=e.clientY-e.startClientY;return n.x=i(e.startCropX+o,0,t.width-n.width),n.y=i(e.startCropY+r,0,t.height-n.height),n}getPointRegion(e,t,n,o){let r;let{evData:i}=this,a=i.clientX-e.x,s=i.clientY-e.y;return r=o&&t?"nw"===t||"n"===t||"ne"===t:s<i.startCropY,(n&&t?"nw"===t||"w"===t||"sw"===t:a<i.startCropX)?r?"nw":"sw":r?"ne":"se"}resolveMinDimensions(e,t,n=0,o=0){let r=Math.min(n,e.width),i=Math.min(o,e.height);return t&&(r||i)?t>1?r?[r,r/t]:[i*t,i]:i?[i*t,i]:[r,r/t]:[r,i]}resizeCrop(){let{evData:t}=this,{aspect:n=0,maxWidth:o,maxHeight:r}=this.props,a=this.getBox(),[s,d]=this.resolveMinDimensions(a,n,this.props.minWidth,this.props.minHeight),c=this.makePixelCrop(a),u=this.getPointRegion(a,t.ord,s,d),p=t.ord||u,f=t.clientX-t.startClientX,h=t.clientY-t.startClientY;(s&&"nw"===p||"w"===p||"sw"===p)&&(f=Math.min(f,-s)),(d&&"nw"===p||"n"===p||"ne"===p)&&(h=Math.min(h,-d));let v={unit:"px",x:0,y:0,width:0,height:0};"ne"===u?(v.x=t.startCropX,v.width=f,n?v.height=v.width/n:v.height=Math.abs(h),v.y=t.startCropY-v.height):"se"===u?(v.x=t.startCropX,v.y=t.startCropY,v.width=f,n?v.height=v.width/n:v.height=h):"sw"===u?(v.x=t.startCropX+f,v.y=t.startCropY,v.width=Math.abs(f),n?v.height=v.width/n:v.height=h):"nw"===u&&(v.x=t.startCropX+f,v.width=Math.abs(f),n?(v.height=v.width/n,v.y=t.startCropY-v.height):(v.height=Math.abs(h),v.y=t.startCropY+h));let m=l(v,n,u,a.width,a.height,s,d,o,r);return n||e.xyOrds.indexOf(p)>-1?c=m:e.xOrds.indexOf(p)>-1?(c.x=m.x,c.width=m.width):e.yOrds.indexOf(p)>-1&&(c.y=m.y,c.height=m.height),c.x=i(c.x,0,a.width-c.width),c.y=i(c.y,0,a.height-c.height),c}createCropSelection(){let{ariaLabels:t=e.defaultProps.ariaLabels,disabled:n,locked:r,render
1SelectionAddon:i,ruleOfThirds:a,crop:s}=this.props,d=this.getCropStyle();if(s)return o.createElement("div",{style:d,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!r&&o.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},o.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),o.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),o.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),o.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":t.nwDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"nw"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":t.nDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"n"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":t.neDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"ne"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":t.eDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"e"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":t.seDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"se"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":t.sDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"s"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":t.swDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"sw"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":t.wDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"w"),role:"button"})),i&&o.createElement("div",{className:"ReactCrop__selection-addon",onMouseDown:e=>e.stopPropagation()},i(this.state)),a&&o.createElement(o.Fragment,null,o.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),o.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(e){return c({...r,...this.props.crop||{}},e.width,e.height)}render(){let{aspect:e,children:t,circularCrop:n,className:r,crop:i,disabled:s,locked:d,style:c,ruleOfThirds:l}=this.props,{cropIsActive:u,newCropIsBeingDrawn:p}=this.state,f=i?this.createCropSelection():null,h=a("ReactCrop",r,u&&"ReactCrop--active",s&&"ReactCrop--disabled",d&&"ReactCrop--locked",p&&"ReactCrop--new-crop",i&&e&&"ReactCrop--fixed-aspect",i&&n&&"ReactCrop--circular-crop",i&&l&&"ReactCrop--rule-of-thirds",!this.dragStarted&&i&&!i.width&&!i.height&&"ReactCrop--invisible-crop",n&&"ReactCrop--no-animate");return o.createElement("div",{ref:this.componentRef,className:h,style:c},o.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},t),f)}};p.xOrds=["e","w"],p.yOrds=["n","s"],p.xyOrds=["nw","ne","se","sw"],p.nudgeStep=1,p.nudgeStepMedium=10,p.nudgeStepLarge=100,p.defaultProps={ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}};let f=p}}]);

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.