playbook_ui 14.20.0.pre.alpha.PLAY21817891 → 14.20.0.pre.alpha.play2168firstcolumnborderbug7950
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +8 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.html.erb +12 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.jsx +31 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.md +1 -0
- data/app/pb_kits/playbook/pb_select/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_select/docs/index.js +1 -0
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +5 -2
data/dist/playbook-doc.js
CHANGED
@@ -16,4 +16,4 @@ import WebpackerReact from"webpacker-react";import"./chunks/pb_form_validation-B
|
|
16
16
|
*
|
17
17
|
* This source code is licensed under the MIT license found in the
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
19
|
-
*/var hasRequiredWithSelector_production_min;function requireWithSelector_production_min(){if(hasRequiredWithSelector_production_min)return withSelector_production_min;hasRequiredWithSelector_production_min=1;var h=React__default,n=shimExports;function p(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var q="function"===typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue;withSelector_production_min.useSyncExternalStoreWithSelector=function(a,b,e,l,g){var c=t(null);if(null===c.current){var f={hasValue:false,value:null};c.current=f}else f=c.current;c=v((function(){function a2(a3){if(!c2){c2=true;d2=a3;a3=l(a3);if(void 0!==g&&f.hasValue){var b2=f.value;if(g(b2,a3))return k2=b2}return k2=a3}b2=k2;if(q(d2,a3))return b2;var e2=l(a3);if(void 0!==g&&g(b2,e2))return b2;d2=a3;return k2=e2}var c2=false,d2,k2,m=void 0===e?null:e;return[function(){return a2(b())},null===m?void 0:function(){return a2(m())}]}),[b,e,l,g]);var d=r(a,c[0],c[1]);u((function(){f.hasValue=true;f.value=d}),[d]);w(d);return d};return withSelector_production_min}{withSelector.exports=requireWithSelector_production_min()}var withSelectorExports=withSelector.exports;const useIsomorphicLayoutEffect=typeof window!=="undefined"?useLayoutEffect:useEffect;class EditorStateManager{constructor(initialEditor){this.transactionNumber=0;this.lastTransactionNumber=0;this.subscribers=new Set;this.editor=initialEditor;this.lastSnapshot={editor:initialEditor,transactionNumber:0};this.getSnapshot=this.getSnapshot.bind(this);this.getServerSnapshot=this.getServerSnapshot.bind(this);this.watch=this.watch.bind(this);this.subscribe=this.subscribe.bind(this)}getSnapshot(){if(this.transactionNumber===this.lastTransactionNumber){return this.lastSnapshot}this.lastTransactionNumber=this.transactionNumber;this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber};return this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(callback){this.subscribers.add(callback);return()=>{this.subscribers.delete(callback)}}watch(nextEditor){this.editor=nextEditor;if(this.editor){const fn=()=>{this.transactionNumber+=1;this.subscribers.forEach((callback=>callback()))};const currentEditor=this.editor;currentEditor.on("transaction",fn);return()=>{currentEditor.off("transaction",fn)}}return void 0}}function useEditorState(options2){var _a;const[editorStateManager]=useState((()=>new EditorStateManager(options2.editor)));const selectedState=withSelectorExports.useSyncExternalStoreWithSelector(editorStateManager.subscribe,editorStateManager.getSnapshot,editorStateManager.getServerSnapshot,options2.selector,(_a=options2.equalityFn)!==null&&_a!==void 0?_a:deepEqual);useIsomorphicLayoutEffect((()=>editorStateManager.watch(options2.editor)),[options2.editor,editorStateManager]);useDebugValue(selectedState);return selectedState}const isDev=false;const isSSR=typeof window==="undefined";const isNext=isSSR||Boolean(typeof window!=="undefined"&&window.next);class EditorInstanceManager{constructor(options2){this.editor=null;this.subscriptions=new Set;this.isComponentMounted=false;this.previousDeps=null;this.instanceId="";this.options=options2;this.subscriptions=new Set;this.setEditor(this.getInitialEditor());this.scheduleDestroy();this.getEditor=this.getEditor.bind(this);this.getServerSnapshot=this.getServerSnapshot.bind(this);this.subscribe=this.subscribe.bind(this);this.refreshEditorInstance=this.refreshEditorInstance.bind(this);this.scheduleDestroy=this.scheduleDestroy.bind(this);this.onRender=this.onRender.bind(this);this.createEditor=this.createEditor.bind(this)}setEditor(editor){this.editor=editor;this.instanceId=Math.random().toString(36).slice(2,9);this.subscriptions.forEach((cb=>cb()))}getInitialEditor(){if(this.options.current.immediatelyRender===void 0){if(isSSR||isNext){return null}return this.createEditor()}if(this.options.current.immediatelyRender&&isSSR&&isDev){throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.")}if(this.options.current.immediatelyRender){return this.createEditor()}return null}createEditor(){const optionsToApply={...this.options.current,onBeforeCreate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onBeforeCreate)===null||_b===void 0?void 0:_b.call(_a,...args)},onBlur:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onBlur)===null||_b===void 0?void 0:_b.call(_a,...args)},onCreate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onCreate)===null||_b===void 0?void 0:_b.call(_a,...args)},onDestroy:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onDestroy)===null||_b===void 0?void 0:_b.call(_a,...args)},onFocus:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onFocus)===null||_b===void 0?void 0:_b.call(_a,...args)},onSelectionUpdate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onSelectionUpdate)===null||_b===void 0?void 0:_b.call(_a,...args)},onTransaction:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onTransaction)===null||_b===void 0?void 0:_b.call(_a,...args)},onUpdate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onUpdate)===null||_b===void 0?void 0:_b.call(_a,...args)},onContentError:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onContentError)===null||_b===void 0?void 0:_b.call(_a,...args)},onDrop:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onDrop)===null||_b===void 0?void 0:_b.call(_a,...args)},onPaste:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onPaste)===null||_b===void 0?void 0:_b.call(_a,...args)}};const editor=new Editor(optionsToApply);return editor}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(onStoreChange){this.subscriptions.add(onStoreChange);return()=>{this.subscriptions.delete(onStoreChange)}}static compareOptions(a,b){return Object.keys(a).every((key=>{if(["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(key)){return true}if(key==="extensions"&&a.extensions&&b.extensions){if(a.extensions.length!==b.extensions.length){return false}return a.extensions.every(((extension,index)=>{var _a;if(extension!==((_a=b.extensions)===null||_a===void 0?void 0:_a[index])){return false}return true}))}if(a[key]!==b[key]){return false}return true}))}onRender(deps){return()=>{this.isComponentMounted=true;clearTimeout(this.scheduledDestructionTimeout);if(this.editor&&!this.editor.isDestroyed&&deps.length===0){if(!EditorInstanceManager.compareOptions(this.options.current,this.editor.options)){this.editor.setOptions({...this.options.current,editable:this.editor.isEditable})}}else{this.refreshEditorInstance(deps)}return()=>{this.isComponentMounted=false;this.scheduleDestroy()}}}refreshEditorInstance(deps){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=deps;return}const depsAreEqual=this.previousDeps.length===deps.length&&this.previousDeps.every(((dep,index)=>dep===deps[index]));if(depsAreEqual){return}}if(this.editor&&!this.editor.isDestroyed){this.editor.destroy()}this.setEditor(this.createEditor());this.previousDeps=deps}scheduleDestroy(){const currentInstanceId=this.instanceId;const currentEditor=this.editor;this.scheduledDestructionTimeout=setTimeout((()=>{if(this.isComponentMounted&&this.instanceId===currentInstanceId){if(currentEditor){currentEditor.setOptions(this.options.current)}return}if(currentEditor&&!currentEditor.isDestroyed){currentEditor.destroy();if(this.instanceId===currentInstanceId){this.setEditor(null)}}}),1)}}function useEditor(options2={},deps=[]){const mostRecentOptions=useRef(options2);mostRecentOptions.current=options2;const[instanceManager]=useState((()=>new EditorInstanceManager(mostRecentOptions)));const editor=shimExports.useSyncExternalStore(instanceManager.subscribe,instanceManager.getEditor,instanceManager.getServerSnapshot);useDebugValue(editor);useEffect(instanceManager.onRender(deps));useEditorState({editor:editor,selector:({transactionNumber:transactionNumber})=>{if(options2.shouldRerenderOnTransaction===false){return null}if(options2.immediatelyRender&&transactionNumber===0){return 0}return transactionNumber+1}});return editor}const EditorContext=createContext({editor:null});EditorContext.Consumer;const ReactNodeViewContext=createContext({onDragStart:void 0});const useReactNodeView=()=>useContext(ReactNodeViewContext);React__default.forwardRef(((props,ref)=>{const{onDragStart:onDragStart}=useReactNodeView();const Tag=props.as||"div";return React__default.createElement(Tag,{...props,ref:ref,"data-node-view-wrapper":"",onDragStart:onDragStart,style:{whiteSpace:"normal",...props.style}})}));const inputRegex$5=/^\s*>\s$/;const Blockquote=Node2.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:true,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["blockquote",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setBlockquote:()=>({commands:commands2})=>commands2.wrapIn(this.name),toggleBlockquote:()=>({commands:commands2})=>commands2.toggleWrap(this.name),unsetBlockquote:()=>({commands:commands2})=>commands2.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[wrappingInputRule({find:inputRegex$5,type:this.type})]}});const starInputRegex$1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/;const starPasteRegex$1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g;const underscoreInputRegex$1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/;const underscorePasteRegex$1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g;const Bold=Mark2.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:node=>node.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:mark=>mark.type.name===this.name},{style:"font-weight",getAttrs:value=>/^(bold(er)?|[5-9]\d{2,})$/.test(value)&&null}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["strong",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setBold:()=>({commands:commands2})=>commands2.setMark(this.name),toggleBold:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetBold:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[markInputRule({find:starInputRegex$1,type:this.type}),markInputRule({find:underscoreInputRegex$1,type:this.type})]},addPasteRules(){return[markPasteRule({find:starPasteRegex$1,type:this.type}),markPasteRule({find:underscorePasteRegex$1,type:this.type})]}});const ListItemName$1="listItem";const TextStyleName$1="textStyle";const inputRegex$4=/^\s*([-+*])\s$/;const BulletList=Node2.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:false,keepAttributes:false}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["ul",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{toggleBulletList:()=>({commands:commands2,chain:chain})=>{if(this.options.keepAttributes){return chain().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(ListItemName$1,this.editor.getAttributes(TextStyleName$1)).run()}return commands2.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let inputRule=wrappingInputRule({find:inputRegex$4,type:this.type});if(this.options.keepMarks||this.options.keepAttributes){inputRule=wrappingInputRule({find:inputRegex$4,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(TextStyleName$1),editor:this.editor})}return[inputRule]}});const inputRegex$3=/(^|[^`])`([^`]+)`(?!`)/;const pasteRegex$2=/(^|[^`])`([^`]+)`(?!`)/g;const Code=Mark2.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:true,exitable:true,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["code",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setCode:()=>({commands:commands2})=>commands2.setMark(this.name),toggleCode:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetCode:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[markInputRule({find:inputRegex$3,type:this.type})]},addPasteRules(){return[markPasteRule({find:pasteRegex$2,type:this.type})]}});const backtickInputRegex=/^```([a-z]+)?[\s\n]$/;const tildeInputRegex=/^~~~([a-z]+)?[\s\n]$/;const CodeBlock=Node2.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:true,exitOnArrowDown:true,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:true,defining:true,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:element=>{var _a;const{languageClassPrefix:languageClassPrefix}=this.options;const classNames=[...((_a=element.firstElementChild)===null||_a===void 0?void 0:_a.classList)||[]];const languages2=classNames.filter((className=>className.startsWith(languageClassPrefix))).map((className=>className.replace(languageClassPrefix,"")));const language=languages2[0];if(!language){return null}return language},rendered:false}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:node,HTMLAttributes:HTMLAttributes}){return["pre",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),["code",{class:node.attrs.language?this.options.languageClassPrefix+node.attrs.language:null},0]]},addCommands(){return{setCodeBlock:attributes=>({commands:commands2})=>commands2.setNode(this.name,attributes),toggleCodeBlock:attributes=>({commands:commands2})=>commands2.toggleNode(this.name,"paragraph",attributes)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:empty2,$anchor:$anchor}=this.editor.state.selection;const isAtStart=$anchor.pos===1;if(!empty2||$anchor.parent.type.name!==this.name){return false}if(isAtStart||!$anchor.parent.textContent.length){return this.editor.commands.clearNodes()}return false},Enter:({editor:editor})=>{if(!this.options.exitOnTripleEnter){return false}const{state:state}=editor;const{selection:selection}=state;const{$from:$from,empty:empty2}=selection;if(!empty2||$from.parent.type!==this.type){return false}const isAtEnd=$from.parentOffset===$from.parent.nodeSize-2;const endsWithDoubleNewline=$from.parent.textContent.endsWith("\n\n");if(!isAtEnd||!endsWithDoubleNewline){return false}return editor.chain().command((({tr:tr2})=>{tr2.delete($from.pos-2,$from.pos);return true})).exitCode().run()},ArrowDown:({editor:editor})=>{if(!this.options.exitOnArrowDown){return false}const{state:state}=editor;const{selection:selection,doc:doc2}=state;const{$from:$from,empty:empty2}=selection;if(!empty2||$from.parent.type!==this.type){return false}const isAtEnd=$from.parentOffset===$from.parent.nodeSize-2;if(!isAtEnd){return false}const after=$from.after();if(after===void 0){return false}const nodeAfter=doc2.nodeAt(after);if(nodeAfter){return editor.commands.command((({tr:tr2})=>{tr2.setSelection(Selection.near(doc2.resolve(after)));return true}))}return editor.commands.exitCode()}}},addInputRules(){return[textblockTypeInputRule({find:backtickInputRegex,type:this.type,getAttributes:match=>({language:match[1]})}),textblockTypeInputRule({find:tildeInputRegex,type:this.type,getAttributes:match=>({language:match[1]})})]},addProseMirrorPlugins(){return[new Plugin({key:new PluginKey("codeBlockVSCodeHandler"),props:{handlePaste:(view,event2)=>{if(!event2.clipboardData){return false}if(this.editor.isActive(this.type.name)){return false}const text=event2.clipboardData.getData("text/plain");const vscode=event2.clipboardData.getData("vscode-editor-data");const vscodeData=vscode?JSON.parse(vscode):void 0;const language=vscodeData===null||vscodeData===void 0?void 0:vscodeData.mode;if(!text||!language){return false}const{tr:tr2,schema:schema}=view.state;const textNode=schema.text(text.replace(/\r\n?/g,"\n"));tr2.replaceSelectionWith(this.type.create({language:language},textNode));if(tr2.selection.$from.parent.type!==this.type){tr2.setSelection(TextSelection.near(tr2.doc.resolve(Math.max(0,tr2.selection.from-2))))}tr2.setMeta("paste",true);view.dispatch(tr2);return true}}})]}});const Document=Node2.create({name:"doc",topNode:true,content:"block+"});function dropCursor(options2={}){return new Plugin({view(editorView){return new DropCursorView(editorView,options2)}})}class DropCursorView{constructor(editorView,options2){var _a;this.editorView=editorView;this.cursorPos=null;this.element=null;this.timeout=-1;this.width=(_a=options2.width)!==null&&_a!==void 0?_a:1;this.color=options2.color===false?void 0:options2.color||"black";this.class=options2.class;this.handlers=["dragover","dragend","drop","dragleave"].map((name2=>{let handler=e=>{this[name2](e)};editorView.dom.addEventListener(name2,handler);return{name:name2,handler:handler}}))}destroy(){this.handlers.forEach((({name:name2,handler:handler})=>this.editorView.dom.removeEventListener(name2,handler)))}update(editorView,prevState){if(this.cursorPos!=null&&prevState.doc!=editorView.state.doc){if(this.cursorPos>editorView.state.doc.content.size)this.setCursor(null);else this.updateOverlay()}}setCursor(pos){if(pos==this.cursorPos)return;this.cursorPos=pos;if(pos==null){this.element.parentNode.removeChild(this.element);this.element=null}else{this.updateOverlay()}}updateOverlay(){let $pos=this.editorView.state.doc.resolve(this.cursorPos);let isBlock=!$pos.parent.inlineContent,rect;if(isBlock){let before=$pos.nodeBefore,after=$pos.nodeAfter;if(before||after){let node=this.editorView.nodeDOM(this.cursorPos-(before?before.nodeSize:0));if(node){let nodeRect=node.getBoundingClientRect();let top=before?nodeRect.bottom:nodeRect.top;if(before&&after)top=(top+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2;rect={left:nodeRect.left,right:nodeRect.right,top:top-this.width/2,bottom:top+this.width/2}}}}if(!rect){let coords=this.editorView.coordsAtPos(this.cursorPos);rect={left:coords.left-this.width/2,right:coords.left+this.width/2,top:coords.top,bottom:coords.bottom}}let parent=this.editorView.dom.offsetParent;if(!this.element){this.element=parent.appendChild(document.createElement("div"));if(this.class)this.element.className=this.class;this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;";if(this.color){this.element.style.backgroundColor=this.color}}this.element.classList.toggle("prosemirror-dropcursor-block",isBlock);this.element.classList.toggle("prosemirror-dropcursor-inline",!isBlock);let parentLeft,parentTop;if(!parent||parent==document.body&&getComputedStyle(parent).position=="static"){parentLeft=-pageXOffset;parentTop=-pageYOffset}else{let rect2=parent.getBoundingClientRect();parentLeft=rect2.left-parent.scrollLeft;parentTop=rect2.top-parent.scrollTop}this.element.style.left=rect.left-parentLeft+"px";this.element.style.top=rect.top-parentTop+"px";this.element.style.width=rect.right-rect.left+"px";this.element.style.height=rect.bottom-rect.top+"px"}scheduleRemoval(timeout){clearTimeout(this.timeout);this.timeout=setTimeout((()=>this.setCursor(null)),timeout)}dragover(event2){if(!this.editorView.editable)return;let pos=this.editorView.posAtCoords({left:event2.clientX,top:event2.clientY});let node=pos&&pos.inside>=0&&this.editorView.state.doc.nodeAt(pos.inside);let disableDropCursor=node&&node.type.spec.disableDropCursor;let disabled=typeof disableDropCursor=="function"?disableDropCursor(this.editorView,pos,event2):disableDropCursor;if(pos&&!disabled){let target=pos.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let point=dropPoint(this.editorView.state.doc,target,this.editorView.dragging.slice);if(point!=null)target=point}this.setCursor(target);this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(event2){if(event2.target==this.editorView.dom||!this.editorView.dom.contains(event2.relatedTarget))this.setCursor(null)}}const Dropcursor=Extension.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[dropCursor(this.options)]}});class GapCursor extends Selection{constructor($pos){super($pos,$pos)}map(doc2,mapping){let $pos=doc2.resolve(mapping.map(this.head));return GapCursor.valid($pos)?new GapCursor($pos):Selection.near($pos)}content(){return Slice.empty}eq(other){return other instanceof GapCursor&&other.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(doc2,json){if(typeof json.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new GapCursor(doc2.resolve(json.pos))}getBookmark(){return new GapBookmark(this.anchor)}static valid($pos){let parent=$pos.parent;if(parent.isTextblock||!closedBefore($pos)||!closedAfter($pos))return false;let override=parent.type.spec.allowGapCursor;if(override!=null)return override;let deflt=parent.contentMatchAt($pos.index()).defaultType;return deflt&&deflt.isTextblock}static findGapCursorFrom($pos,dir,mustMove=false){search:for(;;){if(!mustMove&&GapCursor.valid($pos))return $pos;let pos=$pos.pos,next=null;for(let d=$pos.depth;;d--){let parent=$pos.node(d);if(dir>0?$pos.indexAfter(d)<parent.childCount:$pos.index(d)>0){next=parent.child(dir>0?$pos.indexAfter(d):$pos.index(d)-1);break}else if(d==0){return null}pos+=dir;let $cur=$pos.doc.resolve(pos);if(GapCursor.valid($cur))return $cur}for(;;){let inside=dir>0?next.firstChild:next.lastChild;if(!inside){if(next.isAtom&&!next.isText&&!NodeSelection.isSelectable(next)){$pos=$pos.doc.resolve(pos+next.nodeSize*dir);mustMove=false;continue search}break}next=inside;pos+=dir;let $cur=$pos.doc.resolve(pos);if(GapCursor.valid($cur))return $cur}return null}}}GapCursor.prototype.visible=false;GapCursor.findFrom=GapCursor.findGapCursorFrom;Selection.jsonID("gapcursor",GapCursor);class GapBookmark{constructor(pos){this.pos=pos}map(mapping){return new GapBookmark(mapping.map(this.pos))}resolve(doc2){let $pos=doc2.resolve(this.pos);return GapCursor.valid($pos)?new GapCursor($pos):Selection.near($pos)}}function closedBefore($pos){for(let d=$pos.depth;d>=0;d--){let index=$pos.index(d),parent=$pos.node(d);if(index==0){if(parent.type.spec.isolating)return true;continue}for(let before=parent.child(index-1);;before=before.lastChild){if(before.childCount==0&&!before.inlineContent||before.isAtom||before.type.spec.isolating)return true;if(before.inlineContent)return false}}return true}function closedAfter($pos){for(let d=$pos.depth;d>=0;d--){let index=$pos.indexAfter(d),parent=$pos.node(d);if(index==parent.childCount){if(parent.type.spec.isolating)return true;continue}for(let after=parent.child(index);;after=after.firstChild){if(after.childCount==0&&!after.inlineContent||after.isAtom||after.type.spec.isolating)return true;if(after.inlineContent)return false}}return true}function gapCursor(){return new Plugin({props:{decorations:drawGapCursor,createSelectionBetween(_view,$anchor,$head){return $anchor.pos==$head.pos&&GapCursor.valid($head)?new GapCursor($head):null},handleClick:handleClick,handleKeyDown:handleKeyDown,handleDOMEvents:{beforeinput:beforeinput}}})}const handleKeyDown=keydownHandler({ArrowLeft:arrow("horiz",-1),ArrowRight:arrow("horiz",1),ArrowUp:arrow("vert",-1),ArrowDown:arrow("vert",1)});function arrow(axis,dir){const dirStr=axis=="vert"?dir>0?"down":"up":dir>0?"right":"left";return function(state,dispatch,view){let sel=state.selection;let $start=dir>0?sel.$to:sel.$from,mustMove=sel.empty;if(sel instanceof TextSelection){if(!view.endOfTextblock(dirStr)||$start.depth==0)return false;mustMove=false;$start=state.doc.resolve(dir>0?$start.after():$start.before())}let $found=GapCursor.findGapCursorFrom($start,dir,mustMove);if(!$found)return false;if(dispatch)dispatch(state.tr.setSelection(new GapCursor($found)));return true}}function handleClick(view,pos,event2){if(!view||!view.editable)return false;let $pos=view.state.doc.resolve(pos);if(!GapCursor.valid($pos))return false;let clickPos=view.posAtCoords({left:event2.clientX,top:event2.clientY});if(clickPos&&clickPos.inside>-1&&NodeSelection.isSelectable(view.state.doc.nodeAt(clickPos.inside)))return false;view.dispatch(view.state.tr.setSelection(new GapCursor($pos)));return true}function beforeinput(view,event2){if(event2.inputType!="insertCompositionText"||!(view.state.selection instanceof GapCursor))return false;let{$from:$from}=view.state.selection;let insert=$from.parent.contentMatchAt($from.index()).findWrapping(view.state.schema.nodes.text);if(!insert)return false;let frag=Fragment.empty;for(let i=insert.length-1;i>=0;i--)frag=Fragment.from(insert[i].createAndFill(null,frag));let tr2=view.state.tr.replace($from.pos,$from.pos,new Slice(frag,0,0));tr2.setSelection(TextSelection.near(tr2.doc.resolve($from.pos+1)));view.dispatch(tr2);return false}function drawGapCursor(state){if(!(state.selection instanceof GapCursor))return null;let node=document.createElement("div");node.className="ProseMirror-gapcursor";return DecorationSet.create(state.doc,[Decoration.widget(state.selection.head,node,{key:"gapcursor"})])}const Gapcursor=Extension.create({name:"gapCursor",addProseMirrorPlugins(){return[gapCursor()]},extendNodeSchema(extension){var _a;const context={name:extension.name,options:extension.options,storage:extension.storage};return{allowGapCursor:(_a=callOrReturn(getExtensionField(extension,"allowGapCursor",context)))!==null&&_a!==void 0?_a:null}}});const HardBreak=Node2.create({name:"hardBreak",addOptions(){return{keepMarks:true,HTMLAttributes:{}}},inline:true,group:"inline",selectable:false,linebreakReplacement:true,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["br",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes)]},renderText(){return"\n"},addCommands(){return{setHardBreak:()=>({commands:commands2,chain:chain,state:state,editor:editor})=>commands2.first([()=>commands2.exitCode(),()=>commands2.command((()=>{const{selection:selection,storedMarks:storedMarks}=state;if(selection.$from.parent.type.spec.isolating){return false}const{keepMarks:keepMarks}=this.options;const{splittableMarks:splittableMarks}=editor.extensionManager;const marks=storedMarks||selection.$to.parentOffset&&selection.$from.marks();return chain().insertContent({type:this.name}).command((({tr:tr2,dispatch:dispatch})=>{if(dispatch&&marks&&keepMarks){const filteredMarks=marks.filter((mark=>splittableMarks.includes(mark.type.name)));tr2.ensureMarks(filteredMarks)}return true})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});const Heading=Node2.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:true,addAttributes(){return{level:{default:1,rendered:false}}},parseHTML(){return this.options.levels.map((level=>({tag:`h${level}`,attrs:{level:level}})))},renderHTML({node:node,HTMLAttributes:HTMLAttributes}){const hasLevel=this.options.levels.includes(node.attrs.level);const level=hasLevel?node.attrs.level:this.options.levels[0];return[`h${level}`,mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setHeading:attributes=>({commands:commands2})=>{if(!this.options.levels.includes(attributes.level)){return false}return commands2.setNode(this.name,attributes)},toggleHeading:attributes=>({commands:commands2})=>{if(!this.options.levels.includes(attributes.level)){return false}return commands2.toggleNode(this.name,"paragraph",attributes)}}},addKeyboardShortcuts(){return this.options.levels.reduce(((items,level)=>({...items,...{[`Mod-Alt-${level}`]:()=>this.editor.commands.toggleHeading({level:level})}})),{})},addInputRules(){return this.options.levels.map((level=>textblockTypeInputRule({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${level}})\\s$`),type:this.type,getAttributes:{level:level}})))}});var GOOD_LEAF_SIZE=200;var RopeSequence=function RopeSequence2(){};RopeSequence.prototype.append=function append(other){if(!other.length){return this}other=RopeSequence.from(other);return!this.length&&other||other.length<GOOD_LEAF_SIZE&&this.leafAppend(other)||this.length<GOOD_LEAF_SIZE&&other.leafPrepend(this)||this.appendInner(other)};RopeSequence.prototype.prepend=function prepend(other){if(!other.length){return this}return RopeSequence.from(other).append(this)};RopeSequence.prototype.appendInner=function appendInner(other){return new Append(this,other)};RopeSequence.prototype.slice=function slice(from2,to){if(from2===void 0)from2=0;if(to===void 0)to=this.length;if(from2>=to){return RopeSequence.empty}return this.sliceInner(Math.max(0,from2),Math.min(this.length,to))};RopeSequence.prototype.get=function get2(i){if(i<0||i>=this.length){return void 0}return this.getInner(i)};RopeSequence.prototype.forEach=function forEach2(f,from2,to){if(from2===void 0)from2=0;if(to===void 0)to=this.length;if(from2<=to){this.forEachInner(f,from2,to,0)}else{this.forEachInvertedInner(f,from2,to,0)}};RopeSequence.prototype.map=function map(f,from2,to){if(from2===void 0)from2=0;if(to===void 0)to=this.length;var result=[];this.forEach((function(elt,i){return result.push(f(elt,i))}),from2,to);return result};RopeSequence.from=function from(values){if(values instanceof RopeSequence){return values}return values&&values.length?new Leaf(values):RopeSequence.empty};var Leaf=function(RopeSequence3){function Leaf2(values){RopeSequence3.call(this);this.values=values}if(RopeSequence3)Leaf2.__proto__=RopeSequence3;Leaf2.prototype=Object.create(RopeSequence3&&RopeSequence3.prototype);Leaf2.prototype.constructor=Leaf2;var prototypeAccessors={length:{configurable:true},depth:{configurable:true}};Leaf2.prototype.flatten=function flatten(){return this.values};Leaf2.prototype.sliceInner=function sliceInner(from2,to){if(from2==0&&to==this.length){return this}return new Leaf2(this.values.slice(from2,to))};Leaf2.prototype.getInner=function getInner(i){return this.values[i]};Leaf2.prototype.forEachInner=function forEachInner(f,from2,to,start){for(var i=from2;i<to;i++){if(f(this.values[i],start+i)===false){return false}}};Leaf2.prototype.forEachInvertedInner=function forEachInvertedInner(f,from2,to,start){for(var i=from2-1;i>=to;i--){if(f(this.values[i],start+i)===false){return false}}};Leaf2.prototype.leafAppend=function leafAppend(other){if(this.length+other.length<=GOOD_LEAF_SIZE){return new Leaf2(this.values.concat(other.flatten()))}};Leaf2.prototype.leafPrepend=function leafPrepend(other){if(this.length+other.length<=GOOD_LEAF_SIZE){return new Leaf2(other.flatten().concat(this.values))}};prototypeAccessors.length.get=function(){return this.values.length};prototypeAccessors.depth.get=function(){return 0};Object.defineProperties(Leaf2.prototype,prototypeAccessors);return Leaf2}(RopeSequence);RopeSequence.empty=new Leaf([]);var Append=function(RopeSequence3){function Append2(left,right){RopeSequence3.call(this);this.left=left;this.right=right;this.length=left.length+right.length;this.depth=Math.max(left.depth,right.depth)+1}if(RopeSequence3)Append2.__proto__=RopeSequence3;Append2.prototype=Object.create(RopeSequence3&&RopeSequence3.prototype);Append2.prototype.constructor=Append2;Append2.prototype.flatten=function flatten(){return this.left.flatten().concat(this.right.flatten())};Append2.prototype.getInner=function getInner(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)};Append2.prototype.forEachInner=function forEachInner(f,from2,to,start){var leftLen=this.left.length;if(from2<leftLen&&this.left.forEachInner(f,from2,Math.min(to,leftLen),start)===false){return false}if(to>leftLen&&this.right.forEachInner(f,Math.max(from2-leftLen,0),Math.min(this.length,to)-leftLen,start+leftLen)===false){return false}};Append2.prototype.forEachInvertedInner=function forEachInvertedInner(f,from2,to,start){var leftLen=this.left.length;if(from2>leftLen&&this.right.forEachInvertedInner(f,from2-leftLen,Math.max(to,leftLen)-leftLen,start+leftLen)===false){return false}if(to<leftLen&&this.left.forEachInvertedInner(f,Math.min(from2,leftLen),to,start)===false){return false}};Append2.prototype.sliceInner=function sliceInner(from2,to){if(from2==0&&to==this.length){return this}var leftLen=this.left.length;if(to<=leftLen){return this.left.slice(from2,to)}if(from2>=leftLen){return this.right.slice(from2-leftLen,to-leftLen)}return this.left.slice(from2,leftLen).append(this.right.slice(0,to-leftLen))};Append2.prototype.leafAppend=function leafAppend(other){var inner=this.right.leafAppend(other);if(inner){return new Append2(this.left,inner)}};Append2.prototype.leafPrepend=function leafPrepend(other){var inner=this.left.leafPrepend(other);if(inner){return new Append2(inner,this.right)}};Append2.prototype.appendInner=function appendInner2(other){if(this.left.depth>=Math.max(this.right.depth,other.depth)+1){return new Append2(this.left,new Append2(this.right,other))}return new Append2(this,other)};return Append2}(RopeSequence);const max_empty_items=500;class Branch{constructor(items,eventCount){this.items=items;this.eventCount=eventCount}popEvent(state,preserveItems){if(this.eventCount==0)return null;let end=this.items.length;for(;;end--){let next=this.items.get(end-1);if(next.selection){--end;break}}let remap,mapFrom;if(preserveItems){remap=this.remapping(end,this.items.length);mapFrom=remap.maps.length}let transform=state.tr;let selection,remaining;let addAfter=[],addBefore=[];this.items.forEach(((item,i)=>{if(!item.step){if(!remap){remap=this.remapping(end,i+1);mapFrom=remap.maps.length}mapFrom--;addBefore.push(item);return}if(remap){addBefore.push(new Item(item.map));let step=item.step.map(remap.slice(mapFrom)),map2;if(step&&transform.maybeStep(step).doc){map2=transform.mapping.maps[transform.mapping.maps.length-1];addAfter.push(new Item(map2,void 0,void 0,addAfter.length+addBefore.length))}mapFrom--;if(map2)remap.appendMap(map2,mapFrom)}else{transform.maybeStep(item.step)}if(item.selection){selection=remap?item.selection.map(remap.slice(mapFrom)):item.selection;remaining=new Branch(this.items.slice(0,end).append(addBefore.reverse().concat(addAfter)),this.eventCount-1);return false}}),this.items.length,0);return{remaining:remaining,transform:transform,selection:selection}}addTransform(transform,selection,histOptions,preserveItems){let newItems=[],eventCount=this.eventCount;let oldItems=this.items,lastItem=!preserveItems&&oldItems.length?oldItems.get(oldItems.length-1):null;for(let i=0;i<transform.steps.length;i++){let step=transform.steps[i].invert(transform.docs[i]);let item=new Item(transform.mapping.maps[i],step,selection),merged;if(merged=lastItem&&lastItem.merge(item)){item=merged;if(i)newItems.pop();else oldItems=oldItems.slice(0,oldItems.length-1)}newItems.push(item);if(selection){eventCount++;selection=void 0}if(!preserveItems)lastItem=item}let overflow=eventCount-histOptions.depth;if(overflow>DEPTH_OVERFLOW){oldItems=cutOffEvents(oldItems,overflow);eventCount-=overflow}return new Branch(oldItems.append(newItems),eventCount)}remapping(from2,to){let maps=new Mapping;this.items.forEach(((item,i)=>{let mirrorPos=item.mirrorOffset!=null&&i-item.mirrorOffset>=from2?maps.maps.length-item.mirrorOffset:void 0;maps.appendMap(item.map,mirrorPos)}),from2,to);return maps}addMaps(array){if(this.eventCount==0)return this;return new Branch(this.items.append(array.map((map2=>new Item(map2)))),this.eventCount)}rebased(rebasedTransform,rebasedCount){if(!this.eventCount)return this;let rebasedItems=[],start=Math.max(0,this.items.length-rebasedCount);let mapping=rebasedTransform.mapping;let newUntil=rebasedTransform.steps.length;let eventCount=this.eventCount;this.items.forEach((item=>{if(item.selection)eventCount--}),start);let iRebased=rebasedCount;this.items.forEach((item=>{let pos=mapping.getMirror(--iRebased);if(pos==null)return;newUntil=Math.min(newUntil,pos);let map2=mapping.maps[pos];if(item.step){let step=rebasedTransform.steps[pos].invert(rebasedTransform.docs[pos]);let selection=item.selection&&item.selection.map(mapping.slice(iRebased+1,pos));if(selection)eventCount++;rebasedItems.push(new Item(map2,step,selection))}else{rebasedItems.push(new Item(map2))}}),start);let newMaps=[];for(let i=rebasedCount;i<newUntil;i++)newMaps.push(new Item(mapping.maps[i]));let items=this.items.slice(0,start).append(newMaps).append(rebasedItems);let branch=new Branch(items,eventCount);if(branch.emptyItemCount()>max_empty_items)branch=branch.compress(this.items.length-rebasedItems.length);return branch}emptyItemCount(){let count=0;this.items.forEach((item=>{if(!item.step)count++}));return count}compress(upto=this.items.length){let remap=this.remapping(0,upto),mapFrom=remap.maps.length;let items=[],events=0;this.items.forEach(((item,i)=>{if(i>=upto){items.push(item);if(item.selection)events++}else if(item.step){let step=item.step.map(remap.slice(mapFrom)),map2=step&&step.getMap();mapFrom--;if(map2)remap.appendMap(map2,mapFrom);if(step){let selection=item.selection&&item.selection.map(remap.slice(mapFrom));if(selection)events++;let newItem=new Item(map2.invert(),step,selection),merged,last=items.length-1;if(merged=items.length&&items[last].merge(newItem))items[last]=merged;else items.push(newItem)}}else if(item.map){mapFrom--}}),this.items.length,0);return new Branch(RopeSequence.from(items.reverse()),events)}}Branch.empty=new Branch(RopeSequence.empty,0);function cutOffEvents(items,n){let cutPoint;items.forEach(((item,i)=>{if(item.selection&&n--==0){cutPoint=i;return false}}));return items.slice(cutPoint)}class Item{constructor(map2,step,selection,mirrorOffset){this.map=map2;this.step=step;this.selection=selection;this.mirrorOffset=mirrorOffset}merge(other){if(this.step&&other.step&&!other.selection){let step=other.step.merge(this.step);if(step)return new Item(step.getMap().invert(),step,this.selection)}}}class HistoryState{constructor(done,undone,prevRanges,prevTime,prevComposition){this.done=done;this.undone=undone;this.prevRanges=prevRanges;this.prevTime=prevTime;this.prevComposition=prevComposition}}const DEPTH_OVERFLOW=20;function applyTransaction(history2,state,tr2,options2){let historyTr=tr2.getMeta(historyKey),rebased;if(historyTr)return historyTr.historyState;if(tr2.getMeta(closeHistoryKey))history2=new HistoryState(history2.done,history2.undone,null,0,-1);let appended=tr2.getMeta("appendedTransaction");if(tr2.steps.length==0){return history2}else if(appended&&appended.getMeta(historyKey)){if(appended.getMeta(historyKey).redo)return new HistoryState(history2.done.addTransform(tr2,void 0,options2,mustPreserveItems(state)),history2.undone,rangesFor(tr2.mapping.maps),history2.prevTime,history2.prevComposition);else return new HistoryState(history2.done,history2.undone.addTransform(tr2,void 0,options2,mustPreserveItems(state)),null,history2.prevTime,history2.prevComposition)}else if(tr2.getMeta("addToHistory")!==false&&!(appended&&appended.getMeta("addToHistory")===false)){let composition=tr2.getMeta("composition");let newGroup=history2.prevTime==0||!appended&&history2.prevComposition!=composition&&(history2.prevTime<(tr2.time||0)-options2.newGroupDelay||!isAdjacentTo(tr2,history2.prevRanges));let prevRanges=appended?mapRanges(history2.prevRanges,tr2.mapping):rangesFor(tr2.mapping.maps);return new HistoryState(history2.done.addTransform(tr2,newGroup?state.selection.getBookmark():void 0,options2,mustPreserveItems(state)),Branch.empty,prevRanges,tr2.time,composition==null?history2.prevComposition:composition)}else if(rebased=tr2.getMeta("rebased")){return new HistoryState(history2.done.rebased(tr2,rebased),history2.undone.rebased(tr2,rebased),mapRanges(history2.prevRanges,tr2.mapping),history2.prevTime,history2.prevComposition)}else{return new HistoryState(history2.done.addMaps(tr2.mapping.maps),history2.undone.addMaps(tr2.mapping.maps),mapRanges(history2.prevRanges,tr2.mapping),history2.prevTime,history2.prevComposition)}}function isAdjacentTo(transform,prevRanges){if(!prevRanges)return false;if(!transform.docChanged)return true;let adjacent=false;transform.mapping.maps[0].forEach(((start,end)=>{for(let i=0;i<prevRanges.length;i+=2)if(start<=prevRanges[i+1]&&end>=prevRanges[i])adjacent=true}));return adjacent}function rangesFor(maps){let result=[];for(let i=maps.length-1;i>=0&&result.length==0;i--)maps[i].forEach(((_from,_to,from2,to)=>result.push(from2,to)));return result}function mapRanges(ranges,mapping){if(!ranges)return null;let result=[];for(let i=0;i<ranges.length;i+=2){let from2=mapping.map(ranges[i],1),to=mapping.map(ranges[i+1],-1);if(from2<=to)result.push(from2,to)}return result}function histTransaction(history2,state,redo2){let preserveItems=mustPreserveItems(state);let histOptions=historyKey.get(state).spec.config;let pop=(redo2?history2.undone:history2.done).popEvent(state,preserveItems);if(!pop)return null;let selection=pop.selection.resolve(pop.transform.doc);let added=(redo2?history2.done:history2.undone).addTransform(pop.transform,state.selection.getBookmark(),histOptions,preserveItems);let newHist=new HistoryState(redo2?added:pop.remaining,redo2?pop.remaining:added,null,0,-1);return pop.transform.setSelection(selection).setMeta(historyKey,{redo:redo2,historyState:newHist})}let cachedPreserveItems=false,cachedPreserveItemsPlugins=null;function mustPreserveItems(state){let plugins=state.plugins;if(cachedPreserveItemsPlugins!=plugins){cachedPreserveItems=false;cachedPreserveItemsPlugins=plugins;for(let i=0;i<plugins.length;i++)if(plugins[i].spec.historyPreserveItems){cachedPreserveItems=true;break}}return cachedPreserveItems}const historyKey=new PluginKey("history");const closeHistoryKey=new PluginKey("closeHistory");function history(config2={}){config2={depth:config2.depth||100,newGroupDelay:config2.newGroupDelay||500};return new Plugin({key:historyKey,state:{init(){return new HistoryState(Branch.empty,Branch.empty,null,0,-1)},apply(tr2,hist,state){return applyTransaction(hist,state,tr2,config2)}},config:config2,props:{handleDOMEvents:{beforeinput(view,e){let inputType=e.inputType;let command2=inputType=="historyUndo"?undo:inputType=="historyRedo"?redo:null;if(!command2)return false;e.preventDefault();return command2(view.state,view.dispatch)}}}})}function buildCommand(redo2,scroll){return(state,dispatch)=>{let hist=historyKey.getState(state);if(!hist||(redo2?hist.undone:hist.done).eventCount==0)return false;if(dispatch){let tr2=histTransaction(hist,state,redo2);if(tr2)dispatch(scroll?tr2.scrollIntoView():tr2)}return true}}const undo=buildCommand(false,true);const redo=buildCommand(true,true);const History=Extension.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:state,dispatch:dispatch})=>undo(state,dispatch),redo:()=>({state:state,dispatch:dispatch})=>redo(state,dispatch)}},addProseMirrorPlugins(){return[history(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}});const HorizontalRule=Node2.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["hr",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes)]},addCommands(){return{setHorizontalRule:()=>({chain:chain,state:state})=>{const{selection:selection}=state;const{$from:$originFrom,$to:$originTo}=selection;const currentChain=chain();if($originFrom.parentOffset===0){currentChain.insertContentAt({from:Math.max($originFrom.pos-1,0),to:$originTo.pos},{type:this.name})}else if(isNodeSelection(selection)){currentChain.insertContentAt($originTo.pos,{type:this.name})}else{currentChain.insertContent({type:this.name})}return currentChain.command((({tr:tr2,dispatch:dispatch})=>{var _a;if(dispatch){const{$to:$to}=tr2.selection;const posAfter=$to.end();if($to.nodeAfter){if($to.nodeAfter.isTextblock){tr2.setSelection(TextSelection.create(tr2.doc,$to.pos+1))}else if($to.nodeAfter.isBlock){tr2.setSelection(NodeSelection.create(tr2.doc,$to.pos))}else{tr2.setSelection(TextSelection.create(tr2.doc,$to.pos))}}else{const node=(_a=$to.parent.type.contentMatch.defaultType)===null||_a===void 0?void 0:_a.create();if(node){tr2.insert(posAfter,node);tr2.setSelection(TextSelection.create(tr2.doc,posAfter+1))}}tr2.scrollIntoView()}return true})).run()}}},addInputRules(){return[nodeInputRule({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}});const starInputRegex=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/;const starPasteRegex=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g;const underscoreInputRegex=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/;const underscorePasteRegex=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g;const Italic=Mark2.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:node=>node.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:mark=>mark.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["em",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setItalic:()=>({commands:commands2})=>commands2.setMark(this.name),toggleItalic:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetItalic:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[markInputRule({find:starInputRegex,type:this.type}),markInputRule({find:underscoreInputRegex,type:this.type})]},addPasteRules(){return[markPasteRule({find:starPasteRegex,type:this.type}),markPasteRule({find:underscorePasteRegex,type:this.type})]}});const ListItem=Node2.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:true,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["li",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}});const ListItemName="listItem";const TextStyleName="textStyle";const inputRegex$2=/^(\d+)\.\s$/;const OrderedList=Node2.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:false,keepAttributes:false}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:element=>element.hasAttribute("start")?parseInt(element.getAttribute("start")||"",10):1},type:{default:null,parseHTML:element=>element.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:HTMLAttributes}){const{start:start,...attributesWithoutStart}=HTMLAttributes;return start===1?["ol",mergeAttributes(this.options.HTMLAttributes,attributesWithoutStart),0]:["ol",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{toggleOrderedList:()=>({commands:commands2,chain:chain})=>{if(this.options.keepAttributes){return chain().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(ListItemName,this.editor.getAttributes(TextStyleName)).run()}return commands2.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let inputRule=wrappingInputRule({find:inputRegex$2,type:this.type,getAttributes:match=>({start:+match[1]}),joinPredicate:(match,node)=>node.childCount+node.attrs.start===+match[1]});if(this.options.keepMarks||this.options.keepAttributes){inputRule=wrappingInputRule({find:inputRegex$2,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:match=>({start:+match[1],...this.editor.getAttributes(TextStyleName)}),joinPredicate:(match,node)=>node.childCount+node.attrs.start===+match[1],editor:this.editor})}return[inputRule]}});const Paragraph=Node2.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["p",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setParagraph:()=>({commands:commands2})=>commands2.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}});const inputRegex$1=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/;const pasteRegex$1=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g;const Strike=Mark2.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:false,getAttrs:style2=>style2.includes("line-through")?{}:false}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["s",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setStrike:()=>({commands:commands2})=>commands2.setMark(this.name),toggleStrike:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetStrike:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[markInputRule({find:inputRegex$1,type:this.type})]},addPasteRules(){return[markPasteRule({find:pasteRegex$1,type:this.type})]}});const Text$1=Node2.create({name:"text",group:"inline"});const StarterKit=Extension.create({name:"starterKit",addExtensions(){const extensions=[];if(this.options.bold!==false){extensions.push(Bold.configure(this.options.bold))}if(this.options.blockquote!==false){extensions.push(Blockquote.configure(this.options.blockquote))}if(this.options.bulletList!==false){extensions.push(BulletList.configure(this.options.bulletList))}if(this.options.code!==false){extensions.push(Code.configure(this.options.code))}if(this.options.codeBlock!==false){extensions.push(CodeBlock.configure(this.options.codeBlock))}if(this.options.document!==false){extensions.push(Document.configure(this.options.document))}if(this.options.dropcursor!==false){extensions.push(Dropcursor.configure(this.options.dropcursor))}if(this.options.gapcursor!==false){extensions.push(Gapcursor.configure(this.options.gapcursor))}if(this.options.hardBreak!==false){extensions.push(HardBreak.configure(this.options.hardBreak))}if(this.options.heading!==false){extensions.push(Heading.configure(this.options.heading))}if(this.options.history!==false){extensions.push(History.configure(this.options.history))}if(this.options.horizontalRule!==false){extensions.push(HorizontalRule.configure(this.options.horizontalRule))}if(this.options.italic!==false){extensions.push(Italic.configure(this.options.italic))}if(this.options.listItem!==false){extensions.push(ListItem.configure(this.options.listItem))}if(this.options.orderedList!==false){extensions.push(OrderedList.configure(this.options.orderedList))}if(this.options.paragraph!==false){extensions.push(Paragraph.configure(this.options.paragraph))}if(this.options.strike!==false){extensions.push(Strike.configure(this.options.strike))}if(this.options.text!==false){extensions.push(Text$1.configure(this.options.text))}return extensions}});const encodedTlds="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2";const encodedUtlds="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2";const assign=(target,properties)=>{for(const key in properties){target[key]=properties[key]}return target};const numeric="numeric";const ascii="ascii";const alpha="alpha";const asciinumeric="asciinumeric";const alphanumeric="alphanumeric";const domain="domain";const emoji="emoji";const scheme="scheme";const slashscheme="slashscheme";const whitespace="whitespace";function registerGroup(name2,groups){if(!(name2 in groups)){groups[name2]=[]}return groups[name2]}function addToGroups(t,flags,groups){if(flags[numeric]){flags[asciinumeric]=true;flags[alphanumeric]=true}if(flags[ascii]){flags[asciinumeric]=true;flags[alpha]=true}if(flags[asciinumeric]){flags[alphanumeric]=true}if(flags[alpha]){flags[alphanumeric]=true}if(flags[alphanumeric]){flags[domain]=true}if(flags[emoji]){flags[domain]=true}for(const k2 in flags){const group=registerGroup(k2,groups);if(group.indexOf(t)<0){group.push(t)}}}function flagsForToken(t,groups){const result={};for(const c in groups){if(groups[c].indexOf(t)>=0){result[c]=true}}return result}function State(token=null){this.j={};this.jr=[];this.jd=null;this.t=token}State.groups={};State.prototype={accepts(){return!!this.t},go(input){const state=this;const nextState=state.j[input];if(nextState){return nextState}for(let i=0;i<state.jr.length;i++){const regex=state.jr[i][0];const nextState2=state.jr[i][1];if(nextState2&®ex.test(input)){return nextState2}}return state.jd},has(input,exactOnly=false){return exactOnly?input in this.j:!!this.go(input)},ta(inputs,next,flags,groups){for(let i=0;i<inputs.length;i++){this.tt(inputs[i],next,flags,groups)}},tr(regexp,next,flags,groups){groups=groups||State.groups;let nextState;if(next&&next.j){nextState=next}else{nextState=new State(next);if(flags&&groups){addToGroups(next,flags,groups)}}this.jr.push([regexp,nextState]);return nextState},ts(input,next,flags,groups){let state=this;const len=input.length;if(!len){return state}for(let i=0;i<len-1;i++){state=state.tt(input[i])}return state.tt(input[len-1],next,flags,groups)},tt(input,next,flags,groups){groups=groups||State.groups;const state=this;if(next&&next.j){state.j[input]=next;return next}const t=next;let nextState,templateState=state.go(input);if(templateState){nextState=new State;assign(nextState.j,templateState.j);nextState.jr.push.apply(nextState.jr,templateState.jr);nextState.jd=templateState.jd;nextState.t=templateState.t}else{nextState=new State}if(t){if(groups){if(nextState.t&&typeof nextState.t==="string"){const allFlags=assign(flagsForToken(nextState.t,groups),flags);addToGroups(t,allFlags,groups)}else if(flags){addToGroups(t,flags,groups)}}nextState.t=t}state.j[input]=nextState;return nextState}};const ta=(state,input,next,flags,groups)=>state.ta(input,next,flags,groups);const tr=(state,regexp,next,flags,groups)=>state.tr(regexp,next,flags,groups);const ts=(state,input,next,flags,groups)=>state.ts(input,next,flags,groups);const tt=(state,input,next,flags,groups)=>state.tt(input,next,flags,groups);const WORD="WORD";const UWORD="UWORD";const ASCIINUMERICAL="ASCIINUMERICAL";const ALPHANUMERICAL="ALPHANUMERICAL";const LOCALHOST="LOCALHOST";const TLD="TLD";const UTLD="UTLD";const SCHEME="SCHEME";const SLASH_SCHEME="SLASH_SCHEME";const NUM="NUM";const WS="WS";const NL="NL";const OPENBRACE="OPENBRACE";const CLOSEBRACE="CLOSEBRACE";const OPENBRACKET="OPENBRACKET";const CLOSEBRACKET="CLOSEBRACKET";const OPENPAREN="OPENPAREN";const CLOSEPAREN="CLOSEPAREN";const OPENANGLEBRACKET="OPENANGLEBRACKET";const CLOSEANGLEBRACKET="CLOSEANGLEBRACKET";const FULLWIDTHLEFTPAREN="FULLWIDTHLEFTPAREN";const FULLWIDTHRIGHTPAREN="FULLWIDTHRIGHTPAREN";const LEFTCORNERBRACKET="LEFTCORNERBRACKET";const RIGHTCORNERBRACKET="RIGHTCORNERBRACKET";const LEFTWHITECORNERBRACKET="LEFTWHITECORNERBRACKET";const RIGHTWHITECORNERBRACKET="RIGHTWHITECORNERBRACKET";const FULLWIDTHLESSTHAN="FULLWIDTHLESSTHAN";const FULLWIDTHGREATERTHAN="FULLWIDTHGREATERTHAN";const AMPERSAND="AMPERSAND";const APOSTROPHE="APOSTROPHE";const ASTERISK="ASTERISK";const AT="AT";const BACKSLASH="BACKSLASH";const BACKTICK="BACKTICK";const CARET="CARET";const COLON="COLON";const COMMA="COMMA";const DOLLAR="DOLLAR";const DOT="DOT";const EQUALS="EQUALS";const EXCLAMATION="EXCLAMATION";const HYPHEN="HYPHEN";const PERCENT="PERCENT";const PIPE="PIPE";const PLUS="PLUS";const POUND="POUND";const QUERY="QUERY";const QUOTE="QUOTE";const FULLWIDTHMIDDLEDOT="FULLWIDTHMIDDLEDOT";const SEMI="SEMI";const SLASH="SLASH";const TILDE="TILDE";const UNDERSCORE="UNDERSCORE";const EMOJI$1="EMOJI";const SYM="SYM";var tk=Object.freeze({__proto__:null,WORD:WORD,UWORD:UWORD,ASCIINUMERICAL:ASCIINUMERICAL,ALPHANUMERICAL:ALPHANUMERICAL,LOCALHOST:LOCALHOST,TLD:TLD,UTLD:UTLD,SCHEME:SCHEME,SLASH_SCHEME:SLASH_SCHEME,NUM:NUM,WS:WS,NL:NL,OPENBRACE:OPENBRACE,CLOSEBRACE:CLOSEBRACE,OPENBRACKET:OPENBRACKET,CLOSEBRACKET:CLOSEBRACKET,OPENPAREN:OPENPAREN,CLOSEPAREN:CLOSEPAREN,OPENANGLEBRACKET:OPENANGLEBRACKET,CLOSEANGLEBRACKET:CLOSEANGLEBRACKET,FULLWIDTHLEFTPAREN:FULLWIDTHLEFTPAREN,FULLWIDTHRIGHTPAREN:FULLWIDTHRIGHTPAREN,LEFTCORNERBRACKET:LEFTCORNERBRACKET,RIGHTCORNERBRACKET:RIGHTCORNERBRACKET,LEFTWHITECORNERBRACKET:LEFTWHITECORNERBRACKET,RIGHTWHITECORNERBRACKET:RIGHTWHITECORNERBRACKET,FULLWIDTHLESSTHAN:FULLWIDTHLESSTHAN,FULLWIDTHGREATERTHAN:FULLWIDTHGREATERTHAN,AMPERSAND:AMPERSAND,APOSTROPHE:APOSTROPHE,ASTERISK:ASTERISK,AT:AT,BACKSLASH:BACKSLASH,BACKTICK:BACKTICK,CARET:CARET,COLON:COLON,COMMA:COMMA,DOLLAR:DOLLAR,DOT:DOT,EQUALS:EQUALS,EXCLAMATION:EXCLAMATION,HYPHEN:HYPHEN,PERCENT:PERCENT,PIPE:PIPE,PLUS:PLUS,POUND:POUND,QUERY:QUERY,QUOTE:QUOTE,FULLWIDTHMIDDLEDOT:FULLWIDTHMIDDLEDOT,SEMI:SEMI,SLASH:SLASH,TILDE:TILDE,UNDERSCORE:UNDERSCORE,EMOJI:EMOJI$1,SYM:SYM});const ASCII_LETTER=/[a-z]/;const LETTER=new RegExp("\\p{L}","u");const EMOJI=new RegExp("\\p{Emoji}","u");const DIGIT=/\d/;const SPACE=/\s/;const CR="\r";const LF="\n";const EMOJI_VARIATION="️";const EMOJI_JOINER="";const OBJECT_REPLACEMENT="";let tlds=null,utlds=null;function init$2(customSchemes=[]){const groups={};State.groups=groups;const Start=new State;if(tlds==null){tlds=decodeTlds(encodedTlds)}if(utlds==null){utlds=decodeTlds(encodedUtlds)}tt(Start,"'",APOSTROPHE);tt(Start,"{",OPENBRACE);tt(Start,"}",CLOSEBRACE);tt(Start,"[",OPENBRACKET);tt(Start,"]",CLOSEBRACKET);tt(Start,"(",OPENPAREN);tt(Start,")",CLOSEPAREN);tt(Start,"<",OPENANGLEBRACKET);tt(Start,">",CLOSEANGLEBRACKET);tt(Start,"(",FULLWIDTHLEFTPAREN);tt(Start,")",FULLWIDTHRIGHTPAREN);tt(Start,"「",LEFTCORNERBRACKET);tt(Start,"」",RIGHTCORNERBRACKET);tt(Start,"『",LEFTWHITECORNERBRACKET);tt(Start,"』",RIGHTWHITECORNERBRACKET);tt(Start,"<",FULLWIDTHLESSTHAN);tt(Start,">",FULLWIDTHGREATERTHAN);tt(Start,"&",AMPERSAND);tt(Start,"*",ASTERISK);tt(Start,"@",AT);tt(Start,"`",BACKTICK);tt(Start,"^",CARET);tt(Start,":",COLON);tt(Start,",",COMMA);tt(Start,"$",DOLLAR);tt(Start,".",DOT);tt(Start,"=",EQUALS);tt(Start,"!",EXCLAMATION);tt(Start,"-",HYPHEN);tt(Start,"%",PERCENT);tt(Start,"|",PIPE);tt(Start,"+",PLUS);tt(Start,"#",POUND);tt(Start,"?",QUERY);tt(Start,'"',QUOTE);tt(Start,"/",SLASH);tt(Start,";",SEMI);tt(Start,"~",TILDE);tt(Start,"_",UNDERSCORE);tt(Start,"\\",BACKSLASH);tt(Start,"・",FULLWIDTHMIDDLEDOT);const Num=tr(Start,DIGIT,NUM,{[numeric]:true});tr(Num,DIGIT,Num);const Asciinumeric=tr(Num,ASCII_LETTER,ASCIINUMERICAL,{[asciinumeric]:true});const Alphanumeric=tr(Num,LETTER,ALPHANUMERICAL,{[alphanumeric]:true});const Word=tr(Start,ASCII_LETTER,WORD,{[ascii]:true});tr(Word,DIGIT,Asciinumeric);tr(Word,ASCII_LETTER,Word);tr(Asciinumeric,DIGIT,Asciinumeric);tr(Asciinumeric,ASCII_LETTER,Asciinumeric);const UWord=tr(Start,LETTER,UWORD,{[alpha]:true});tr(UWord,ASCII_LETTER);tr(UWord,DIGIT,Alphanumeric);tr(UWord,LETTER,UWord);tr(Alphanumeric,DIGIT,Alphanumeric);tr(Alphanumeric,ASCII_LETTER);tr(Alphanumeric,LETTER,Alphanumeric);const Nl2=tt(Start,LF,NL,{[whitespace]:true});const Cr=tt(Start,CR,WS,{[whitespace]:true});const Ws=tr(Start,SPACE,WS,{[whitespace]:true});tt(Start,OBJECT_REPLACEMENT,Ws);tt(Cr,LF,Nl2);tt(Cr,OBJECT_REPLACEMENT,Ws);tr(Cr,SPACE,Ws);tt(Ws,CR);tt(Ws,LF);tr(Ws,SPACE,Ws);tt(Ws,OBJECT_REPLACEMENT,Ws);const Emoji=tr(Start,EMOJI,EMOJI$1,{[emoji]:true});tt(Emoji,"#");tr(Emoji,EMOJI,Emoji);tt(Emoji,EMOJI_VARIATION,Emoji);const EmojiJoiner=tt(Emoji,EMOJI_JOINER);tt(EmojiJoiner,"#");tr(EmojiJoiner,EMOJI,Emoji);const wordjr=[[ASCII_LETTER,Word],[DIGIT,Asciinumeric]];const uwordjr=[[ASCII_LETTER,null],[LETTER,UWord],[DIGIT,Alphanumeric]];for(let i=0;i<tlds.length;i++){fastts(Start,tlds[i],TLD,WORD,wordjr)}for(let i=0;i<utlds.length;i++){fastts(Start,utlds[i],UTLD,UWORD,uwordjr)}addToGroups(TLD,{tld:true,ascii:true},groups);addToGroups(UTLD,{utld:true,alpha:true},groups);fastts(Start,"file",SCHEME,WORD,wordjr);fastts(Start,"mailto",SCHEME,WORD,wordjr);fastts(Start,"http",SLASH_SCHEME,WORD,wordjr);fastts(Start,"https",SLASH_SCHEME,WORD,wordjr);fastts(Start,"ftp",SLASH_SCHEME,WORD,wordjr);fastts(Start,"ftps",SLASH_SCHEME,WORD,wordjr);addToGroups(SCHEME,{scheme:true,ascii:true},groups);addToGroups(SLASH_SCHEME,{slashscheme:true,ascii:true},groups);customSchemes=customSchemes.sort(((a,b)=>a[0]>b[0]?1:-1));for(let i=0;i<customSchemes.length;i++){const sch=customSchemes[i][0];const optionalSlashSlash=customSchemes[i][1];const flags=optionalSlashSlash?{[scheme]:true}:{[slashscheme]:true};if(sch.indexOf("-")>=0){flags[domain]=true}else if(!ASCII_LETTER.test(sch)){flags[numeric]=true}else if(DIGIT.test(sch)){flags[asciinumeric]=true}else{flags[ascii]=true}ts(Start,sch,sch,flags)}ts(Start,"localhost",LOCALHOST,{ascii:true});Start.jd=new State(SYM);return{start:Start,tokens:assign({groups:groups},tk)}}function run$1(start,str){const iterable=stringToArray(str.replace(/[A-Z]/g,(c=>c.toLowerCase())));const charCount=iterable.length;const tokens=[];let cursor=0;let charCursor=0;while(charCursor<charCount){let state=start;let nextState=null;let tokenLength=0;let latestAccepting=null;let sinceAccepts=-1;let charsSinceAccepts=-1;while(charCursor<charCount&&(nextState=state.go(iterable[charCursor]))){state=nextState;if(state.accepts()){sinceAccepts=0;charsSinceAccepts=0;latestAccepting=state}else if(sinceAccepts>=0){sinceAccepts+=iterable[charCursor].length;charsSinceAccepts++}tokenLength+=iterable[charCursor].length;cursor+=iterable[charCursor].length;charCursor++}cursor-=sinceAccepts;charCursor-=charsSinceAccepts;tokenLength-=sinceAccepts;tokens.push({t:latestAccepting.t,v:str.slice(cursor-tokenLength,cursor),s:cursor-tokenLength,e:cursor})}return tokens}function stringToArray(str){const result=[];const len=str.length;let index=0;while(index<len){let first2=str.charCodeAt(index);let second;let char=first2<55296||first2>56319||index+1===len||(second=str.charCodeAt(index+1))<56320||second>57343?str[index]:str.slice(index,index+2);result.push(char);index+=char.length}return result}function fastts(state,input,t,defaultt,jr){let next;const len=input.length;for(let i=0;i<len-1;i++){const char=input[i];if(state.j[char]){next=state.j[char]}else{next=new State(defaultt);next.jr=jr.slice();state.j[char]=next}state=next}next=new State(t);next.jr=jr.slice();state.j[input[len-1]]=next;return next}function decodeTlds(encoded){const words=[];const stack=[];let i=0;let digits="0123456789";while(i<encoded.length){let popDigitCount=0;while(digits.indexOf(encoded[i+popDigitCount])>=0){popDigitCount++}if(popDigitCount>0){words.push(stack.join(""));for(let popCount=parseInt(encoded.substring(i,i+popDigitCount),10);popCount>0;popCount--){stack.pop()}i+=popDigitCount}else{stack.push(encoded[i]);i++}}return words}const defaults={defaultProtocol:"http",events:null,format:noop,formatHref:noop,nl2br:false,tagName:"a",target:null,rel:null,validate:true,truncate:Infinity,className:null,attributes:null,ignoreTags:[],render:null};function Options(opts,defaultRender=null){let o=assign({},defaults);if(opts){o=assign(o,opts instanceof Options?opts.o:opts)}const ignoredTags=o.ignoreTags;const uppercaseIgnoredTags=[];for(let i=0;i<ignoredTags.length;i++){uppercaseIgnoredTags.push(ignoredTags[i].toUpperCase())}this.o=o;if(defaultRender){this.defaultRender=defaultRender}this.ignoreTags=uppercaseIgnoredTags}Options.prototype={o:defaults,ignoreTags:[],defaultRender(ir){return ir},check(token){return this.get("validate",token.toString(),token)},get(key,operator,token){const isCallable=operator!=null;let option=this.o[key];if(!option){return option}if(typeof option==="object"){option=token.t in option?option[token.t]:defaults[key];if(typeof option==="function"&&isCallable){option=option(operator,token)}}else if(typeof option==="function"&&isCallable){option=option(operator,token.t,token)}return option},getObj(key,operator,token){let obj=this.o[key];if(typeof obj==="function"&&operator!=null){obj=obj(operator,token.t,token)}return obj},render(token){const ir=token.render(this);const renderFn=this.get("render",null,token)||this.defaultRender;return renderFn(ir,token.t,token)}};function noop(val){return val}function MultiToken(value,tokens){this.t="token";this.v=value;this.tk=tokens}MultiToken.prototype={isLink:false,toString(){return this.v},toHref(scheme2){return this.toString()},toFormattedString(options2){const val=this.toString();const truncate=options2.get("truncate",val,this);const formatted=options2.get("format",val,this);return truncate&&formatted.length>truncate?formatted.substring(0,truncate)+"…":formatted},toFormattedHref(options2){return options2.get("formatHref",this.toHref(options2.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(protocol=defaults.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(protocol),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(options2){return{type:this.t,value:this.toFormattedString(options2),isLink:this.isLink,href:this.toFormattedHref(options2),start:this.startIndex(),end:this.endIndex()}},validate(options2){return options2.get("validate",this.toString(),this)},render(options2){const token=this;const href=this.toHref(options2.get("defaultProtocol"));const formattedHref=options2.get("formatHref",href,this);const tagName=options2.get("tagName",href,token);const content=this.toFormattedString(options2);const attributes={};const className=options2.get("className",href,token);const target=options2.get("target",href,token);const rel=options2.get("rel",href,token);const attrs=options2.getObj("attributes",href,token);const eventListeners=options2.getObj("events",href,token);attributes.href=formattedHref;if(className){attributes.class=className}if(target){attributes.target=target}if(rel){attributes.rel=rel}if(attrs){assign(attributes,attrs)}return{tagName:tagName,attributes:attributes,content:content,eventListeners:eventListeners}}};function createTokenClass(type,props){class Token extends MultiToken{constructor(value,tokens){super(value,tokens);this.t=type}}for(const p in props){Token.prototype[p]=props[p]}Token.t=type;return Token}const Email=createTokenClass("email",{isLink:true,toHref(){return"mailto:"+this.toString()}});const Text=createTokenClass("text");const Nl=createTokenClass("nl");const Url=createTokenClass("url",{isLink:true,toHref(scheme2=defaults.defaultProtocol){return this.hasProtocol()?this.v:`${scheme2}://${this.v}`},hasProtocol(){const tokens=this.tk;return tokens.length>=2&&tokens[0].t!==LOCALHOST&&tokens[1].t===COLON}});const makeState=arg=>new State(arg);function init$1({groups:groups}){const qsAccepting=groups.domain.concat([AMPERSAND,ASTERISK,AT,BACKSLASH,BACKTICK,CARET,DOLLAR,EQUALS,HYPHEN,NUM,PERCENT,PIPE,PLUS,POUND,SLASH,SYM,TILDE,UNDERSCORE]);const qsNonAccepting=[COLON,COMMA,DOT,EXCLAMATION,PERCENT,QUERY,QUOTE,SEMI,OPENANGLEBRACKET,CLOSEANGLEBRACKET,OPENBRACE,CLOSEBRACE,CLOSEBRACKET,OPENBRACKET,OPENPAREN,CLOSEPAREN,FULLWIDTHLEFTPAREN,FULLWIDTHRIGHTPAREN,LEFTCORNERBRACKET,RIGHTCORNERBRACKET,LEFTWHITECORNERBRACKET,RIGHTWHITECORNERBRACKET,FULLWIDTHLESSTHAN,FULLWIDTHGREATERTHAN];const localpartAccepting=[AMPERSAND,APOSTROPHE,ASTERISK,BACKSLASH,BACKTICK,CARET,DOLLAR,EQUALS,HYPHEN,OPENBRACE,CLOSEBRACE,PERCENT,PIPE,PLUS,POUND,QUERY,SLASH,SYM,TILDE,UNDERSCORE];const Start=makeState();const Localpart=tt(Start,TILDE);ta(Localpart,localpartAccepting,Localpart);ta(Localpart,groups.domain,Localpart);const Domain=makeState(),Scheme=makeState(),SlashScheme=makeState();ta(Start,groups.domain,Domain);ta(Start,groups.scheme,Scheme);ta(Start,groups.slashscheme,SlashScheme);ta(Domain,localpartAccepting,Localpart);ta(Domain,groups.domain,Domain);const LocalpartAt=tt(Domain,AT);tt(Localpart,AT,LocalpartAt);tt(Scheme,AT,LocalpartAt);tt(SlashScheme,AT,LocalpartAt);const LocalpartDot=tt(Localpart,DOT);ta(LocalpartDot,localpartAccepting,Localpart);ta(LocalpartDot,groups.domain,Localpart);const EmailDomain=makeState();ta(LocalpartAt,groups.domain,EmailDomain);ta(EmailDomain,groups.domain,EmailDomain);const EmailDomainDot=tt(EmailDomain,DOT);ta(EmailDomainDot,groups.domain,EmailDomain);const Email$1=makeState(Email);ta(EmailDomainDot,groups.tld,Email$1);ta(EmailDomainDot,groups.utld,Email$1);tt(LocalpartAt,LOCALHOST,Email$1);const EmailDomainHyphen=tt(EmailDomain,HYPHEN);tt(EmailDomainHyphen,HYPHEN,EmailDomainHyphen);ta(EmailDomainHyphen,groups.domain,EmailDomain);ta(Email$1,groups.domain,EmailDomain);tt(Email$1,DOT,EmailDomainDot);tt(Email$1,HYPHEN,EmailDomainHyphen);const EmailColon=tt(Email$1,COLON);ta(EmailColon,groups.numeric,Email);const DomainHyphen=tt(Domain,HYPHEN);const DomainDot=tt(Domain,DOT);tt(DomainHyphen,HYPHEN,DomainHyphen);ta(DomainHyphen,groups.domain,Domain);ta(DomainDot,localpartAccepting,Localpart);ta(DomainDot,groups.domain,Domain);const DomainDotTld=makeState(Url);ta(DomainDot,groups.tld,DomainDotTld);ta(DomainDot,groups.utld,DomainDotTld);ta(DomainDotTld,groups.domain,Domain);ta(DomainDotTld,localpartAccepting,Localpart);tt(DomainDotTld,DOT,DomainDot);tt(DomainDotTld,HYPHEN,DomainHyphen);tt(DomainDotTld,AT,LocalpartAt);const DomainDotTldColon=tt(DomainDotTld,COLON);const DomainDotTldColonPort=makeState(Url);ta(DomainDotTldColon,groups.numeric,DomainDotTldColonPort);const Url$1=makeState(Url);const UrlNonaccept=makeState();ta(Url$1,qsAccepting,Url$1);ta(Url$1,qsNonAccepting,UrlNonaccept);ta(UrlNonaccept,qsAccepting,Url$1);ta(UrlNonaccept,qsNonAccepting,UrlNonaccept);tt(DomainDotTld,SLASH,Url$1);tt(DomainDotTldColonPort,SLASH,Url$1);const SchemeColon=tt(Scheme,COLON);const SlashSchemeColon=tt(SlashScheme,COLON);const SlashSchemeColonSlash=tt(SlashSchemeColon,SLASH);const UriPrefix=tt(SlashSchemeColonSlash,SLASH);ta(Scheme,groups.domain,Domain);tt(Scheme,DOT,DomainDot);tt(Scheme,HYPHEN,DomainHyphen);ta(SlashScheme,groups.domain,Domain);tt(SlashScheme,DOT,DomainDot);tt(SlashScheme,HYPHEN,DomainHyphen);ta(SchemeColon,groups.domain,Url$1);tt(SchemeColon,SLASH,Url$1);tt(SchemeColon,QUERY,Url$1);ta(UriPrefix,groups.domain,Url$1);ta(UriPrefix,qsAccepting,Url$1);tt(UriPrefix,SLASH,Url$1);const bracketPairs=[[OPENBRACE,CLOSEBRACE],[OPENBRACKET,CLOSEBRACKET],[OPENPAREN,CLOSEPAREN],[OPENANGLEBRACKET,CLOSEANGLEBRACKET],[FULLWIDTHLEFTPAREN,FULLWIDTHRIGHTPAREN],[LEFTCORNERBRACKET,RIGHTCORNERBRACKET],[LEFTWHITECORNERBRACKET,RIGHTWHITECORNERBRACKET],[FULLWIDTHLESSTHAN,FULLWIDTHGREATERTHAN]];for(let i=0;i<bracketPairs.length;i++){const[OPEN,CLOSE]=bracketPairs[i];const UrlOpen=tt(Url$1,OPEN);tt(UrlNonaccept,OPEN,UrlOpen);tt(UrlOpen,CLOSE,Url$1);const UrlOpenQ=makeState(Url);ta(UrlOpen,qsAccepting,UrlOpenQ);const UrlOpenSyms=makeState();ta(UrlOpen,qsNonAccepting);ta(UrlOpenQ,qsAccepting,UrlOpenQ);ta(UrlOpenQ,qsNonAccepting,UrlOpenSyms);ta(UrlOpenSyms,qsAccepting,UrlOpenQ);ta(UrlOpenSyms,qsNonAccepting,UrlOpenSyms);tt(UrlOpenQ,CLOSE,Url$1);tt(UrlOpenSyms,CLOSE,Url$1)}tt(Start,LOCALHOST,DomainDotTld);tt(Start,NL,Nl);return{start:Start,tokens:tk}}function run(start,input,tokens){let len=tokens.length;let cursor=0;let multis=[];let textTokens=[];while(cursor<len){let state=start;let secondState=null;let nextState=null;let multiLength=0;let latestAccepting=null;let sinceAccepts=-1;while(cursor<len&&!(secondState=state.go(tokens[cursor].t))){textTokens.push(tokens[cursor++])}while(cursor<len&&(nextState=secondState||state.go(tokens[cursor].t))){secondState=null;state=nextState;if(state.accepts()){sinceAccepts=0;latestAccepting=state}else if(sinceAccepts>=0){sinceAccepts++}cursor++;multiLength++}if(sinceAccepts<0){cursor-=multiLength;if(cursor<len){textTokens.push(tokens[cursor]);cursor++}}else{if(textTokens.length>0){multis.push(initMultiToken(Text,input,textTokens));textTokens=[]}cursor-=sinceAccepts;multiLength-=sinceAccepts;const Multi=latestAccepting.t;const subtokens=tokens.slice(cursor-multiLength,cursor);multis.push(initMultiToken(Multi,input,subtokens))}}if(textTokens.length>0){multis.push(initMultiToken(Text,input,textTokens))}return multis}function initMultiToken(Multi,input,tokens){const startIdx=tokens[0].s;const endIdx=tokens[tokens.length-1].e;const value=input.slice(startIdx,endIdx);return new Multi(value,tokens)}const warn=typeof console!=="undefined"&&console&&console.warn||(()=>{});const warnAdvice="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.";const INIT={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:false};function reset(){State.groups={};INIT.scanner=null;INIT.parser=null;INIT.tokenQueue=[];INIT.pluginQueue=[];INIT.customSchemes=[];INIT.initialized=false;return INIT}function registerCustomProtocol(scheme2,optionalSlashSlash=false){if(INIT.initialized){warn(`linkifyjs: already initialized - will not register custom scheme "${scheme2}" ${warnAdvice}`)}if(!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(scheme2)){throw new Error(`linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat`)}INIT.customSchemes.push([scheme2,optionalSlashSlash])}function init(){INIT.scanner=init$2(INIT.customSchemes);for(let i=0;i<INIT.tokenQueue.length;i++){INIT.tokenQueue[i][1]({scanner:INIT.scanner})}INIT.parser=init$1(INIT.scanner.tokens);for(let i=0;i<INIT.pluginQueue.length;i++){INIT.pluginQueue[i][1]({scanner:INIT.scanner,parser:INIT.parser})}INIT.initialized=true;return INIT}function tokenize(str){if(!INIT.initialized){init()}return run(INIT.parser.start,str,run$1(INIT.scanner.start,str))}tokenize.scan=run$1;function find(str,type=null,opts=null){if(type&&typeof type==="object"){if(opts){throw Error(`linkifyjs: Invalid link type ${type}; must be a string`)}opts=type;type=null}const options2=new Options(opts);const tokens=tokenize(str);const filtered=[];for(let i=0;i<tokens.length;i++){const token=tokens[i];if(token.isLink&&(!type||token.t===type)&&options2.check(token)){filtered.push(token.toFormattedObject(options2))}}return filtered}function isValidLinkStructure(tokens){if(tokens.length===1){return tokens[0].isLink}if(tokens.length===3&&tokens[1].isLink){return["()","[]"].includes(tokens[0].value+tokens[2].value)}return false}function autolink(options2){return new Plugin({key:new PluginKey("autolink"),appendTransaction:(transactions,oldState,newState)=>{const docChanges=transactions.some((transaction=>transaction.docChanged))&&!oldState.doc.eq(newState.doc);const preventAutolink=transactions.some((transaction=>transaction.getMeta("preventAutolink")));if(!docChanges||preventAutolink){return}const{tr:tr2}=newState;const transform=combineTransactionSteps(oldState.doc,[...transactions]);const changes=getChangedRanges(transform);changes.forEach((({newRange:newRange})=>{const nodesInChangedRanges=findChildrenInRange(newState.doc,newRange,(node=>node.isTextblock));let textBlock;let textBeforeWhitespace;if(nodesInChangedRanges.length>1){textBlock=nodesInChangedRanges[0];textBeforeWhitespace=newState.doc.textBetween(textBlock.pos,textBlock.pos+textBlock.node.nodeSize,void 0," ")}else if(nodesInChangedRanges.length&&newState.doc.textBetween(newRange.from,newRange.to," "," ").endsWith(" ")){textBlock=nodesInChangedRanges[0];textBeforeWhitespace=newState.doc.textBetween(textBlock.pos,newRange.to,void 0," ")}if(textBlock&&textBeforeWhitespace){const wordsBeforeWhitespace=textBeforeWhitespace.split(" ").filter((s=>s!==""));if(wordsBeforeWhitespace.length<=0){return false}const lastWordBeforeSpace=wordsBeforeWhitespace[wordsBeforeWhitespace.length-1];const lastWordAndBlockOffset=textBlock.pos+textBeforeWhitespace.lastIndexOf(lastWordBeforeSpace);if(!lastWordBeforeSpace){return false}const linksBeforeSpace=tokenize(lastWordBeforeSpace).map((t=>t.toObject(options2.defaultProtocol)));if(!isValidLinkStructure(linksBeforeSpace)){return false}linksBeforeSpace.filter((link=>link.isLink)).map((link=>({...link,from:lastWordAndBlockOffset+link.start+1,to:lastWordAndBlockOffset+link.end+1}))).filter((link=>{if(!newState.schema.marks.code){return true}return!newState.doc.rangeHasMark(link.from,link.to,newState.schema.marks.code)})).filter((link=>options2.validate(link.value))).filter((link=>options2.shouldAutoLink(link.value))).forEach((link=>{if(getMarksBetween(link.from,link.to,newState.doc).some((item=>item.mark.type===options2.type))){return}tr2.addMark(link.from,link.to,options2.type.create({href:link.href}))}))}}));if(!tr2.steps.length){return}return tr2}})}function clickHandler(options2){return new Plugin({key:new PluginKey("handleClickLink"),props:{handleClick:(view,pos,event2)=>{var _a,_b;if(event2.button!==0){return false}if(!view.editable){return false}let a=event2.target;const els=[];while(a.nodeName!=="DIV"){els.push(a);a=a.parentNode}if(!els.find((value=>value.nodeName==="A"))){return false}const attrs=getAttributes(view.state,options2.type.name);const link=event2.target;const href=(_a=link===null||link===void 0?void 0:link.href)!==null&&_a!==void 0?_a:attrs.href;const target=(_b=link===null||link===void 0?void 0:link.target)!==null&&_b!==void 0?_b:attrs.target;if(link&&href){window.open(href,target);return true}return false}}})}function pasteHandler(options2){return new Plugin({key:new PluginKey("handlePasteLink"),props:{handlePaste:(view,event2,slice2)=>{const{state:state}=view;const{selection:selection}=state;const{empty:empty2}=selection;if(empty2){return false}let textContent="";slice2.content.forEach((node=>{textContent+=node.textContent}));const link=find(textContent,{defaultProtocol:options2.defaultProtocol}).find((item=>item.isLink&&item.value===textContent));if(!textContent||!link){return false}return options2.editor.commands.setMark(options2.type,{href:link.href})}}})}const ATTR_WHITESPACE=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function isAllowedUri(uri,protocols){const allowedProtocols=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];if(protocols){protocols.forEach((protocol=>{const nextProtocol=typeof protocol==="string"?protocol:protocol.scheme;if(nextProtocol){allowedProtocols.push(nextProtocol)}}))}return!uri||uri.replace(ATTR_WHITESPACE,"").match(new RegExp(`^(?:(?:${allowedProtocols.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const Link=Mark2.create({name:"link",priority:1e3,keepOnSplit:false,exitable:true,onCreate(){if(this.options.validate&&!this.options.shouldAutoLink){this.options.shouldAutoLink=this.options.validate;console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")}this.options.protocols.forEach((protocol=>{if(typeof protocol==="string"){registerCustomProtocol(protocol);return}registerCustomProtocol(protocol.scheme,protocol.optionalSlashes)}))},onDestroy(){reset()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:true,linkOnPaste:true,autolink:true,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(url,ctx)=>!!isAllowedUri(url,ctx.protocols),validate:url=>!!url,shouldAutoLink:url=>!!url}},addAttributes(){return{href:{default:null,parseHTML(element){return element.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:dom=>{const href=dom.getAttribute("href");if(!href||!this.options.isAllowedUri(href,{defaultValidate:url=>!!isAllowedUri(url,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return false}return null}}]},renderHTML({HTMLAttributes:HTMLAttributes}){if(!this.options.isAllowedUri(HTMLAttributes.href,{defaultValidate:href=>!!isAllowedUri(href,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return["a",mergeAttributes(this.options.HTMLAttributes,{...HTMLAttributes,href:""}),0]}return["a",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setLink:attributes=>({chain:chain})=>{const{href:href}=attributes;if(!this.options.isAllowedUri(href,{defaultValidate:url=>!!isAllowedUri(url,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return false}return chain().setMark(this.name,attributes).setMeta("preventAutolink",true).run()},toggleLink:attributes=>({chain:chain})=>{const{href:href}=attributes;if(!this.options.isAllowedUri(href,{defaultValidate:url=>!!isAllowedUri(url,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return false}return chain().toggleMark(this.name,attributes,{extendEmptyMarkRange:true}).setMeta("preventAutolink",true).run()},unsetLink:()=>({chain:chain})=>chain().unsetMark(this.name,{extendEmptyMarkRange:true}).setMeta("preventAutolink",true).run()}},addPasteRules(){return[markPasteRule({find:text=>{const foundLinks=[];if(text){const{protocols:protocols,defaultProtocol:defaultProtocol}=this.options;const links=find(text).filter((item=>item.isLink&&this.options.isAllowedUri(item.value,{defaultValidate:href=>!!isAllowedUri(href,protocols),protocols:protocols,defaultProtocol:defaultProtocol})));if(links.length){links.forEach((link=>foundLinks.push({text:link.value,data:{href:link.href},index:link.start})))}}return foundLinks},type:this.type,getAttributes:match=>{var _a;return{href:(_a=match.data)===null||_a===void 0?void 0:_a.href}}})]},addProseMirrorPlugins(){const plugins=[];const{protocols:protocols,defaultProtocol:defaultProtocol}=this.options;if(this.options.autolink){plugins.push(autolink({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:url=>this.options.isAllowedUri(url,{defaultValidate:href=>!!isAllowedUri(href,protocols),protocols:protocols,defaultProtocol:defaultProtocol}),shouldAutoLink:this.options.shouldAutoLink}))}if(this.options.openOnClick===true){plugins.push(clickHandler({type:this.type}))}if(this.options.linkOnPaste){plugins.push(pasteHandler({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type}))}return plugins}});const RichTextEditorAdvancedDefault=props=>{const editor=useEditor({extensions:[StarterKit,Link],content:"Add your text here. You can format your text, add links, quotes, and bullets."});if(!editor){return null}return jsx("div",{children:jsx(RichTextEditor$1,{advancedEditor:editor,...props,children:jsx(EditorContent,{editor:editor})})})};const inputRegex=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/;const pasteRegex=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g;const Highlight=Mark2.create({name:"highlight",addOptions(){return{multicolor:false,HTMLAttributes:{}}},addAttributes(){if(!this.options.multicolor){return{}}return{color:{default:null,parseHTML:element=>element.getAttribute("data-color")||element.style.backgroundColor,renderHTML:attributes=>{if(!attributes.color){return{}}return{"data-color":attributes.color,style:`background-color: ${attributes.color}; color: inherit`}}}}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["mark",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setHighlight:attributes=>({commands:commands2})=>commands2.setMark(this.name,attributes),toggleHighlight:attributes=>({commands:commands2})=>commands2.toggleMark(this.name,attributes),unsetHighlight:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[markInputRule({find:inputRegex,type:this.type})]},addPasteRules(){return[markPasteRule({find:pasteRegex,type:this.type})]}});const RichTextEditorMoreExtensions=props=>{const editor=useEditor({extensions:[StarterKit,Link,HorizontalRule,Highlight.configure({multicolor:true})],content:"Add your text here. You can format your text, add links, quotes, and bullets."});if(!editor){return null}const ExtensionsList=[{icon:"horizontal-rule",isActive:editor.isActive("horizontalRule"),text:"Horizontal Rule",onclick:()=>editor.chain().focus().setHorizontalRule().run()},{icon:"highlighter",isActive:editor.isActive("highlight"),text:"Highlighter",onclick:()=>editor.chain().focus().toggleHighlight().run()}];return jsx("div",{children:jsx(RichTextEditor$1,{advancedEditor:editor,extensions:ExtensionsList,...props,children:jsx(EditorContent,{editor:editor})})})};const RichTextEditorToolbarDisabled=props=>{const editor=useEditor({extensions:[Document,Paragraph,Text$1],content:"Add your text here. You can format your text, add links, quotes, and bullets."});if(!editor){return null}return jsx("div",{children:jsx(RichTextEditor$1,{advancedEditor:editor,advancedEditorToolbar:false,...props,children:jsx(EditorContent,{editor:editor})})})};const RichTextEditorAdvancedPreview=props=>{const editor=useEditor({extensions:[StarterKit,Link],content:'Add text here, format it, and press "Preview Output" to see what your stylized output will look like on the page.'});const[showPreview,setShowPreview]=useState(false);const[previewText,setPreviewText]=useState(jsx("div",{}));const handleChange=()=>{if(editor){setPreviewText(editor.getHTML())}};const handleClick2=()=>{handleChange();setShowPreview(true)};if(!editor){return null}return jsxs("div",{children:[jsx(RichTextEditor$1,{advancedEditor:editor,id:"content-advanced-preview-editor",onChange:handleChange,...props,children:jsx(EditorContent,{editor:editor})}),showPreview&&jsx(Card$1,{marginTop:"md",maxWidth:"md",children:jsx("div",{className:"tiptap-content",dangerouslySetInnerHTML:{__html:previewText},id:"advanced-preview-content"})}),!showPreview&&jsx("div",{}),jsx(Button$1,{id:"preview-button",marginTop:"md",onClick:handleClick2,text:"Preview Output",variant:"secondary"})]})};const RichTextEditor=Object.freeze(Object.defineProperty({__proto__:null,RichTextEditorAdvancedDefault:RichTextEditorAdvancedDefault,RichTextEditorAdvancedPreview:RichTextEditorAdvancedPreview,RichTextEditorAttributes:RichTextEditorAttributes,RichTextEditorDefault:RichTextEditorDefault,RichTextEditorFocus:RichTextEditorFocus,RichTextEditorInline:RichTextEditorInline,RichTextEditorMoreExtensions:RichTextEditorMoreExtensions,RichTextEditorPreview:RichTextEditorPreview,RichTextEditorSimple:RichTextEditorSimple,RichTextEditorSticky:RichTextEditorSticky,RichTextEditorTemplates:RichTextEditorTemplates,RichTextEditorToolbarBottom:RichTextEditorToolbarBottom,RichTextEditorToolbarDisabled:RichTextEditorToolbarDisabled},Symbol.toStringTag,{value:"Module"}));const SectionSeparatorLine=props=>jsx("div",{children:jsx(SectionSeparator$1,{...props})});const SectionSeparatorText=props=>jsx(SectionSeparator$1,{...props,text:"Text Separator"});const SectionSeparatorVertical=props=>jsxs(Flex$1,{inline:"flex-container",vertical:"stretch",children:[jsx(FlexItem,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"}),jsx(SectionSeparator$1,{...props,orientation:"vertical"}),jsx(FlexItem,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"}),jsx(SectionSeparator$1,{...props,orientation:"vertical"}),jsx(FlexItem,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"})]});const SectionSeparatorDashed=props=>jsx(SectionSeparator$1,{...props,lineStyle:"dashed"});const children$1=jsx(Card$1,{borderRadius:"rounded",justifyContent:"center",padding:"none",children:jsx(Caption$1,{paddingLeft:"xs",paddingRight:"xs",size:"xs",text:"TODAY"})});const SectionSeparatorChildren=props=>jsx(SectionSeparator$1,{...props,lineStyle:"dashed",children:children$1});const children=jsxs(Flex$1,{padding:"xs",children:[jsx(Icon$1,{color:"primary",icon:"arrow-down"}),jsx(Detail$1,{color:"link",size:"sm",text:"Children"})]});const SectionSeparatorColor=props=>jsxs("div",{children:[jsx(SectionSeparator$1,{text:"Default Separator",...props}),jsx(SectionSeparator$1,{color:"primary",text:"Primary Separator",...props}),jsx(SectionSeparator$1,{color:"primary",lineStyle:"dashed",text:"Primary Dashed Separator",...props}),jsx(SectionSeparator$1,{color:"primary",...props,children:children})]});const SectionSeparator=Object.freeze(Object.defineProperty({__proto__:null,SectionSeparatorChildren:SectionSeparatorChildren,SectionSeparatorColor:SectionSeparatorColor,SectionSeparatorDashed:SectionSeparatorDashed,SectionSeparatorLine:SectionSeparatorLine,SectionSeparatorText:SectionSeparatorText,SectionSeparatorVertical:SectionSeparatorVertical},Symbol.toStringTag,{value:"Module"}));const SelectDefault=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Food",name:"food",options:options2,...props})})};const SelectBlank=props=>{const options2=[{value:"USA"},{value:"Canada"},{value:"Brazil"},{value:"Philippines"}];return jsx("div",{children:jsx(Select$1,{blankSelection:"Select One...",label:"Where do you live",name:"location",options:options2,...props})})};const SelectDisabledOptions=props=>{const options2=[{value:"1",disabled:true,text:"Espresso"},{value:"2",text:"Americano"},{value:"3",disabled:true,text:"Cappuccino"},{value:"4",text:"Mocha"},{value:"5",text:"Flat White"},{value:"6",text:"Latte"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Coffee",name:"coffee",options:options2,value:"2",...props})})};const SelectDisabled=props=>{const options2=[{value:"Apple Pie"},{value:"Cookies"},{value:"Ice Cream"},{value:"Brownies"}];return jsx("div",{children:jsx(Select$1,{disabled:true,label:"Favorite Dessert",name:"dessert",options:options2,...props})})};const SelectRequired=props=>{const options2=[{value:"Left"},{value:"Right"},{value:"I go without laces"}];return jsx("div",{children:jsx(Select$1,{blankSelection:"Select One...",label:"Which shoe do you tie first?",name:"shoe",options:options2,required:true,...props})})};const SelectCustomSelect=props=>jsx("div",{children:jsx(Select$1,{label:"Favorite Holiday",...props,children:jsxs("select",{id:"holiday",name:"holiday",...props,children:[jsx("option",{value:"1",children:"Christmas"}),jsx("option",{value:"2",children:"Thanksgiving"}),jsx("option",{value:"3",children:"Halloween"}),jsx("option",{value:"4",children:"Fourth of July"})]})})});const SelectValueTextSame=props=>{const options2=[{value:"Football"},{value:"Baseball"},{value:"Basketball"},{value:"Hockey"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Sport",name:"sports",options:options2,...props})})};const SelectError=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," Please make a valid selection"]});return jsxs("div",{children:[jsx(Select$1,{error:error,label:"Favorite Food",name:"food",options:options2,value:"2",...props}),jsx(Body$1,{error:error,status:"negative",...props})]})};const SelectInline=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsxs("div",{children:[jsx(Select$1,{inline:true,label:"Favorite Food",name:"food",options:options2,...props}),jsx(Body$1,{status:"negative",...props})]})};const SelectInlineShowArrow=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsxs("div",{children:[jsx(Select$1,{inline:true,label:"Favorite Food",name:"food",options:options2,showArrow:true,...props}),jsx(Body$1,{status:"negative",...props})]})};const SelectInlineCompact=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsxs("div",{children:[jsx(Select$1,{compact:true,inline:true,label:"Favorite Food",name:"food",options:options2,...props}),jsx(Body$1,{status:"negative",...props})]})};const SelectMultiple=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"},{value:"3",text:"BBQ"},{value:"3",text:"Sushi"},{value:"3",text:"Chinese"},{value:"3",text:"Hot Dogs"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Food",multiple:true,name:"food",options:options2,...props})})};const SelectReactHook=props=>{const{register:register,handleSubmit:handleSubmit,formState:{errors:errors}}=useForm({defaultValues:{food:""}});const[submittedData,setSubmittedData]=useState({food:""});const onSubmit=data3=>{setSubmittedData(data3)};const options2=[{value:1,text:"Burgers"},{value:2,text:"Pizza"},{value:3,text:"Tacos"}];return jsxs(Fragment$1,{children:[jsxs("form",{onSubmit:handleSubmit(onSubmit),children:[jsx(Select$1,{...props,...register("food",{required:true}),error:errors.food?"Please select a food.":null,label:"Favorite Food",options:options2}),jsx("br",{}),jsx(Button$1,{htmlType:"submit",marginTop:"sm",text:"Submit"})]}),jsx(Body$1,{padding:"xs",text:`Food: ${submittedData.food}`})]})};const Select=Object.freeze(Object.defineProperty({__proto__:null,SelectBlank:SelectBlank,SelectCustomSelect:SelectCustomSelect,SelectDefault:SelectDefault,SelectDisabled:SelectDisabled,SelectDisabledOptions:SelectDisabledOptions,SelectError:SelectError,SelectInline:SelectInline,SelectInlineCompact:SelectInlineCompact,SelectInlineShowArrow:SelectInlineShowArrow,SelectMultiple:SelectMultiple,SelectReactHook:SelectReactHook,SelectRequired:SelectRequired,SelectValueTextSame:SelectValueTextSame},Symbol.toStringTag,{value:"Module"}));const SelectableCardDefault=props=>{const[selectedWithIcon,setSelectedWithIcon]=useState(true);const[selectedNoIcon,setSelectedNoIcon]=useState(true);const[unselected,setUnselected]=useState(false);const[disabled,setDisabled]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCard$1,{checked:selectedWithIcon,icon:true,inputId:"selectedWithIcon",name:"selectedWithIcon",onChange:()=>setSelectedWithIcon(!selectedWithIcon),value:"selectedWithIcon",...props,children:"Selected, with icon"}),jsx(SelectableCard$1,{checked:selectedNoIcon,inputId:"selectedWithoutIcon",name:"selectedWithoutIcon",onChange:()=>setSelectedNoIcon(!selectedNoIcon),value:"selectedWithoutIcon",...props,children:"Selected, without icon"}),jsx(SelectableCard$1,{checked:unselected,inputId:"unselected",name:"unselected",onChange:()=>setUnselected(!unselected),value:"unselected",...props,children:"Unselected"}),jsx(SelectableCard$1,{checked:disabled,disabled:true,inputId:"disabled",name:"disabled",onChange:()=>setDisabled(!disabled),value:"disabled",...props,children:"Disabled"})]})};const SelectableCardSingleSelect=props=>{const[selected,setSelected]=useState(null);const handleSelect=event2=>{setSelected(event2.target.value)};return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCard$1,{checked:selected==="male",inputId:"male1",multi:false,name:"gender",onChange:handleSelect,value:"male",...props,children:"Male"}),jsx(SelectableCard$1,{checked:selected==="female",inputId:"female1",multi:false,name:"gender",onChange:handleSelect,value:"female",...props,children:"Female"}),jsx(SelectableCard$1,{checked:selected==="other",inputId:"other1",multi:false,name:"gender",onChange:handleSelect,value:"other",...props,children:"Other"})]})};const SelectableCardBlock=props=>{const[block,setBlock]=useState(true);const[tag,setTag]=useState(false);const handleSelect=event2=>{setBlock(event2.target.checked)};const handleTag=event2=>{setTag(event2.target.checked)};return jsxs("div",{className:"pb--doc-demo-row",children:[jsxs(SelectableCard$1,{checked:block,inputId:"block",name:"block",onChange:handleSelect,value:"block",...props,children:[jsx(Title$1,{size:4,text:"Block",...props}),jsx(Body$1,{tag:"span",...props,children:"This uses block"})]}),jsx(SelectableCard$1,{checked:tag,inputId:"tag",name:"tag",onChange:handleTag,text:"This passes text through the tag",value:"tag",...props})]})};const SelectableCardError=props=>{const[football,setFootball]=useState(false);const[basketball,setBasketball]=useState(false);const[baseball,setBaseball]=useState(false);return jsxs("div",{children:[jsx(Title$1,{...props,size:3,text:"What sports do you like?"}),jsx("br",{}),jsx(SelectableCard$1,{...props,checked:football,error:true,inputId:"football",name:"football",onChange:()=>setFootball(!football),value:"football",variant:"displayInput",children:jsx(Body$1,{...props,children:"Football"})}),jsx(SelectableCard$1,{...props,checked:basketball,error:true,inputId:"basketball",name:"basketball",onChange:()=>setBasketball(!basketball),value:"basketball",variant:"displayInput",children:jsx(Body$1,{...props,children:"Basketball"})}),jsx(SelectableCard$1,{...props,checked:baseball,error:true,inputId:"baseball",name:"baseball",onChange:()=>setBaseball(!baseball),value:"baseball",variant:"displayInput",children:jsx(Body$1,{...props,children:"Baseball"})})]})};const SelectableCardImage=props=>{const[selectedImage,setSelectedImage]=useState(true);const[unselectedImage,setUnselectedImage]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsxs(SelectableCard$1,{checked:selectedImage,icon:true,inputId:"selectableImage",name:"selectableImage",onChange:()=>setSelectedImage(!selectedImage),value:"selectableImage",...props,children:[jsx(Image$1,{rounded:true,size:"xl",url:"https://unsplash.it/500/400/?image=634",...props}),jsx(Body$1,{children:"Add text here"})]}),jsx(SelectableCard$1,{checked:unselectedImage,icon:true,inputId:"unselectedImage",name:"unselectedImage",onChange:()=>setUnselectedImage(!unselectedImage),value:"unselectedImage",...props,children:jsx(Image$1,{rounded:true,size:"xl",url:"https://unsplash.it/500/400/?image=634",...props})})]})};const SelectableCardInput=props=>{const[state,setState]=useState({firstCheckbox:true,secondCheckbox:true,thirdCheckbox:false,forthCheckbox:false,radioSelected:"first"});const handleSelect=event2=>{setState({...state,[event2.target.name]:event2.target.checked})};const handleRadioSelect=event2=>{setState({...state,radioSelected:event2.target.value})};return jsxs(Fragment$1,{children:[jsx(Title$1,{size:3,text:"What programming languages do you know?",...props}),jsx("br",{}),jsx(SelectableCard$1,{checked:state.firstCheckbox,inputId:"firstCheckbox",name:"firstCheckbox",onChange:handleSelect,value:"firstCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"Ruby"})}),jsx(SelectableCard$1,{checked:state.secondCheckbox,inputId:"secondCheckbox",name:"secondCheckbox",onChange:handleSelect,value:"secondCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"JavaScript"})}),jsx(SelectableCard$1,{checked:state.thirdCheckbox,inputId:"thirdCheckbox",name:"thirdCheckbox",onChange:handleSelect,value:"thirdCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"TypeScript"})}),jsx(SelectableCard$1,{checked:state.fourthCheckbox,inputId:"fourthCheckbox",name:"fourthCheckbox",onChange:handleSelect,value:"fourthCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"Swift"})}),jsx("br",{}),jsx(Title$1,{size:3,text:"How likely are you to recommend Playbook to a friend?",...props}),jsx("br",{}),jsx(SelectableCard$1,{checked:state.radioSelected==="first",inputId:"radio-1",multi:false,name:"radio",onChange:handleRadioSelect,value:"first",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"5"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="second",inputId:"radio-2",multi:false,name:"radio",onChange:handleRadioSelect,value:"second",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"4"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="third",inputId:"radio-3",multi:false,name:"radio",onChange:handleRadioSelect,value:"third",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"3"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="fourth",inputId:"radio-4",multi:false,name:"radio",onChange:handleRadioSelect,value:"fourth",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"2"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="fifth",inputId:"radio-5",multi:false,name:"radio",onChange:handleRadioSelect,value:"fifth",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"1"})})]})};const SelectableCard=Object.freeze(Object.defineProperty({__proto__:null,SelectableCardBlock:SelectableCardBlock,SelectableCardDefault:SelectableCardDefault,SelectableCardError:SelectableCardError,SelectableCardImage:SelectableCardImage,SelectableCardInput:SelectableCardInput,SelectableCardSingleSelect:SelectableCardSingleSelect},Symbol.toStringTag,{value:"Module"}));const SelectableCardIconDefault=props=>{const[selected,setSelected]=useState(true);const[unselected,setUnselected]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCardIcon$1,{bodyText:"Export",checked:selected,icon:"chart-line",inputId:1,onChange:()=>setSelected(!selected),titleText:"Quarterly Report",...props}),jsx(SelectableCardIcon$1,{bodyText:"Export",checked:unselected,icon:"chart-pie",inputId:2,onChange:()=>setUnselected(!unselected),titleText:"Market Share",...props}),jsx(SelectableCardIcon$1,{bodyText:"Export",disabled:true,icon:"analytics",inputId:3,titleText:"Comprehensive",...props})]})};const SelectableCardIconCheckmark=props=>{const[selected,setSelected]=useState(true);const[unselected,setUnselected]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCardIcon$1,{bodyText:"Howdy Partner.",checked:selected,checkmark:true,icon:"hat-cowboy",inputId:4,onChange:()=>setSelected(!selected),titleText:"Cowboy",...props}),jsx(SelectableCardIcon$1,{bodyText:"Poof, you're a sandwich.",checked:unselected,checkmark:true,icon:"hat-wizard",inputId:5,onChange:()=>setUnselected(!unselected),titleText:"Wizard",...props}),jsx(SelectableCardIcon$1,{bodyText:"Where is the lamb sauce?",checkmark:true,disabled:true,icon:"hat-chef",inputId:6,titleText:"Chef",...props})]})};const SelectableCardIconSingleSelect=props=>{const[selectedFormat,toggleFormat]=useState(null);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCardIcon$1,{checked:selectedFormat==="car",icon:"car",inputId:7,name:"select",onChange:()=>toggleFormat("car"),titleText:"Car",value:"car",...props}),jsx(SelectableCardIcon$1,{checked:selectedFormat==="bus",icon:"bus",inputId:8,name:"select",onChange:()=>toggleFormat("bus"),titleText:"Bus",value:"bus",...props}),jsx(SelectableCardIcon$1,{checked:selectedFormat==="subway",icon:"subway",inputId:9,name:"select",onChange:()=>toggleFormat("subway"),titleText:"Subway",value:"subway",...props})]})};const svg={newChat:jsx("svg",{ariaHidden:"true",focusable:"false",role:"img",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288zM336 184h-56v-56c0-8.8-7.2-16-16-16h-16c-8.8 0-16 7.2-16 16v56h-56c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h56v56c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-56h56c8.8 0 16-7.2 16-16v-16c0-8.8-7.2-16-16-16z",fill:"currentColor"})})};const SelectableCardIconCustom=props=>jsx("div",{className:"pb--doc-demo-row",children:jsx(SelectableCardIcon$1,{bodyText:"Talk to someone you love",checked:true,customIcon:svg.newChat,inputId:1,titleText:"New Chat",...props})});const SelectableCardIcon=Object.freeze(Object.defineProperty({__proto__:null,SelectableCardIconCheckmark:SelectableCardIconCheckmark,SelectableCardIconCustom:SelectableCardIconCustom,SelectableCardIconDefault:SelectableCardIconDefault,SelectableCardIconSingleSelect:SelectableCardIconSingleSelect},Symbol.toStringTag,{value:"Module"}));const SelectableIconDefault=props=>{const[checkSelected,toggleSelected]=useState(true);const[checkUnselected,toggleUnselected]=useState(false);const[checkDisabled,toggleDisabled]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableIcon$1,{checked:checkSelected,icon:"dollar-sign",inputId:10,onChange:()=>toggleSelected(!checkSelected),text:"US Dollar",...props}),jsx(SelectableIcon$1,{checked:checkUnselected,icon:"euro-sign",inputId:11,onChange:()=>toggleUnselected(!checkUnselected),text:"Euro",...props}),jsx(SelectableIcon$1,{checked:checkDisabled,disabled:true,icon:"yen-sign",inputId:12,onChange:()=>toggleDisabled(!checkDisabled),text:"Yen",...props})]})};const SelectableIconSingleSelect=props=>{const[selectedFormat,toggleFormat]=useState(null);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableIcon$1,{checked:selectedFormat==="Cassette",icon:"cassette-tape",inputId:13,multi:false,name:"music-format",onChange:()=>toggleFormat("Cassette"),text:"Cassette",value:"Cassette",...props}),jsx(SelectableIcon$1,{checked:selectedFormat==="CD",icon:"compact-disc",inputId:14,multi:false,name:"music-format",onChange:()=>toggleFormat("CD"),text:"CD",value:"CD",...props}),jsx(SelectableIcon$1,{checked:selectedFormat==="Vinyl",icon:"album-collection",inputId:15,multi:false,name:"music-format",onChange:()=>toggleFormat("Vinyl"),text:"Vinyl",value:"Vinyl",...props})]})};const SelectableIcon=Object.freeze(Object.defineProperty({__proto__:null,SelectableIconDefault:SelectableIconDefault,SelectableIconSingleSelect:SelectableIconSingleSelect},Symbol.toStringTag,{value:"Module"}));const SelectableListDefault$1=props=>jsx("div",{children:jsxs(SelectableList$1,{variant:"checkbox",children:[jsx(SelectableList$1.Item,{label:"Mild",name:"checkbox-name-1",value:"1",...props}),jsx(SelectableList$1.Item,{checked:true,label:"Medium",name:"checkbox-name-2",value:"2",...props}),jsx(SelectableList$1.Item,{label:"Hot",name:"checkbox-name-3",value:"3",...props})]})});const SelectableListDefault=props=>jsx("div",{children:jsxs(SelectableList$1,{variant:"radio",children:[jsx(SelectableList$1.Item,{label:"Small",name:"radio",value:"1",...props}),jsx(SelectableList$1.Item,{defaultChecked:true,label:"Medium",name:"radio",value:"2",...props}),jsx(SelectableList$1.Item,{label:"Large",name:"radio",value:"3",...props})]})});const SelectableList=Object.freeze(Object.defineProperty({__proto__:null,SelectableListCheckbox:SelectableListDefault$1,SelectableListRadio:SelectableListDefault},Symbol.toStringTag,{value:"Module"}));const SkeletonLoadingDefault=props=>jsx("div",{children:jsx(SkeletonLoading$1,{...props})});const SkeletonLoadingColor=props=>jsxs("div",{children:[jsx(Card$1,{borderNone:true,...props,children:jsx(SkeletonLoading$1,{...props})}),jsx(Card$1,{background:"light",borderNone:true,...props,children:jsx(SkeletonLoading$1,{color:"white",...props})})]});const SkeletonLoadingLayout=props=>jsxs("div",{children:[jsx(SkeletonLoading$1,{stack:"5",...props}),jsx(SkeletonLoading$1,{gap:"md",paddingTop:"xl",stack:"3",...props})]});const SkeletonLoadingBorderRadius=props=>jsxs(Flex$1,{justify:"evenly",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"xl",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"lg",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"md",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"xs",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"none",height:"50px",width:"100px",...props})]});const SkeletonLoadingHeightWidth=props=>jsxs("div",{children:[jsx(SkeletonLoading$1,{height:"100px",width:"50%",...props}),jsx(SkeletonLoading$1,{gap:"md",height:"20px",marginY:"md",stack:"3",width:"50px",...props}),jsx(Card$1,{height:"200px",marginBottom:"md",padding:"none",width:"100%",...props,children:jsx(SkeletonLoading$1,{borderRadius:"md",gap:"xl",height:"50%",width:"300px",...props})}),jsx(Card$1,{height:"200px",padding:"none",width:"100%",...props,children:jsx(SkeletonLoading$1,{borderRadius:"md",gap:"xl",height:"30%",stack:"2",width:"70%",...props})}),jsx(SkeletonLoading$1,{height:"150px",marginY:"md",width:"150px",...props}),jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"150px",width:"150px",...props})]});const SkeletonLoadingUser=props=>{const[isLoading,setIsLoading]=useState(true);const toggleLoading=()=>setIsLoading((prev=>!prev));return jsxs("div",{children:[jsx(Button$1,{marginBottom:"md",onClick:toggleLoading,variant:"secondary",children:isLoading?"Show User":"Show Skeleton Loading"}),jsx("div",{children:isLoading?jsxs(Flex$1,{alignItems:"center",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"38px",paddingRight:"sm",width:"38px",...props}),jsx(SkeletonLoading$1,{gap:"xxs",height:"18px",stack:"2",width:"161px",...props})]}):jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})}),jsx("div",{children:isLoading?jsx(Flex$1,{alignItems:"start",paddingTop:"md",children:jsxs(Flex$1,{alignItems:"center",flexDirection:"column",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"80px",paddingBottom:"xs",width:"80px",...props}),jsx(SkeletonLoading$1,{height:"32px",paddingBottom:"xxs",width:"144px",...props}),jsx(SkeletonLoading$1,{height:"21px",width:"164px",...props})]})}):jsx(Flex$1,{alignItems:"start",paddingTop:"md",children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})})})]})};const SortingChangeCallback=sortOptions=>{alert(JSON.stringify(sortOptions[0]))};const SkeletonLoadingFilter=props=>{const[isLoading,setIsLoading]=useState(true);const toggleLoading=()=>setIsLoading((prev=>!prev));const options2=[{value:"USA"},{value:"Canada"},{value:"Brazil"},{value:"Philippines"},{value:"A galaxy far far away, like really far away..."}];return jsxs("div",{children:[jsx(Button$1,{marginBottom:"md",onClick:toggleLoading,variant:"secondary",children:isLoading?"Show Filter":"Show Skeleton Loading"}),jsx("div",{children:isLoading?jsx(Card$1,{marginBottom:"lg",...props,children:jsxs(Flex$1,{alignItems:"center",justify:"between",orientation:"row",children:[jsxs(Flex$1,{alignItems:"center",justify:"start",orientation:"row",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"40px",marginRight:"sm",width:"40px",...props}),jsx(SkeletonLoading$1,{height:"16px",marginRight:"md",width:"80px",...props})]}),jsx(Flex$1,{alignItems:"center",justify:"end",orientation:"row",children:jsx(SkeletonLoading$1,{height:"18px",width:"120px",...props})})]})}):jsx(Filter$1,{filters:{"Full Name":"John Wick"},marginBottom:"lg",minWidth:"375px",results:546,sortOptions:{popularity:"Popularity",manager_title:"Manager's Title",manager_name:"Manager's Name"},sortValue:[{name:"popularity",dir:"desc"}],children:({closePopover:closePopover})=>jsxs("form",{children:[jsx(TextInput$1,{label:"Example Text Field",placeholder:"Enter Text"}),jsx(Select$1,{blankSelection:"Select One...",label:"Example Collection Select",name:"Collection Select",options:options2}),jsxs(Flex$1,{spacing:"between",children:[jsx(Button$1,{onClick:closePopover,text:"Filter"}),jsx(Button$1,{text:"Defaults",variant:"secondary"})]})]})})}),jsx("div",{children:isLoading?jsx(SkeletonLoading$1,{height:"127px",marginBottom:"lg",width:"100%",...props}):jsx(Filter$1,{double:true,filters:{"Full Name":"John Wick",City:"San Francisco"},marginBottom:"xl",minWidth:"375px",onSortChange:SortingChangeCallback,results:1,sortOptions:{popularity:"Popularity",manager_title:"Manager's Title",manager_name:"Manager's Name"},sortValue:[{name:"popularity",dir:"desc"}],children:({closePopover:closePopover})=>jsxs("form",{children:[jsx(TextInput$1,{label:"Full Name",placeholder:"Enter name"}),jsx(Select$1,{blankSelection:"Select One...",label:"Territory",maxWidth:"sm",name:"location",options:options2}),jsxs(Flex$1,{spacing:"between",children:[jsx(Button$1,{onClick:closePopover,text:"Filter"}),jsx(Button$1,{text:"Defaults",variant:"secondary"})]})]})})})]})};const SkeletonLoading=Object.freeze(Object.defineProperty({__proto__:null,SkeletonLoadingBorderRadius:SkeletonLoadingBorderRadius,SkeletonLoadingColor:SkeletonLoadingColor,SkeletonLoadingDefault:SkeletonLoadingDefault,SkeletonLoadingFilter:SkeletonLoadingFilter,SkeletonLoadingHeightWidth:SkeletonLoadingHeightWidth,SkeletonLoadingLayout:SkeletonLoadingLayout,SkeletonLoadingUser:SkeletonLoadingUser},Symbol.toStringTag,{value:"Module"}));const SourceDefault=props=>jsxs(Fragment$1,{children:[jsx(Source$1,{source:"BJ's Johnston-208",type:"retail",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Referral-phrg",type:"inbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"BJ's Future CB",type:"user",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props})]});const SourceNoicon=props=>jsxs(Fragment$1,{children:[jsx(Source$1,{hideIcon:true,source:"BJ's Johnston-208",type:"retail",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{hideIcon:true,source:"Referral-phrg",type:"inbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{hideIcon:true,source:"BJ's Future CB",type:"user",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props})]});const SourceTypes=props=>jsxs(Fragment$1,{children:[jsx(Source$1,{source:"BJ's Johnston-208",type:"retail",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Referral-phrg",type:"inbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"B.B.B. Outbound",type:"outbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Contractor.com",type:"prospecting",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Beards, Beers and Brats",type:"events",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"BJ's Johnston-208",type:"referral",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Employee Referral",type:"referral",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"BJ's Future CB",type:"user",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props})]});const Source=Object.freeze(Object.defineProperty({__proto__:null,SourceDefault:SourceDefault,SourceNoicon:SourceNoicon,SourceTypes:SourceTypes},Symbol.toStringTag,{value:"Module"}));const StarRatingDefault=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:.9,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:1.5,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:4.2,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:5,...props})]});const StarRatingColorOptions=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{colorOption:"primary",paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{colorOption:"subtle",paddingBottom:"xs",rating:3,...props})]});const StarRatingBackgroundOptions=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{backgroundType:"outline",paddingBottom:"xs",rating:3,...props})]});const StarRatingHide=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{layoutOption:"number",paddingBottom:"xs",rating:2.8,...props}),jsx(StarRating$1,{layoutOption:"number",paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{layoutOption:"onestar",paddingBottom:"xs",rating:1,...props})]});const StarRatingNumberConfig=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{denominator:3,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:4,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:5,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:6,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:7,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:8,paddingBottom:"xs",rating:3,...props})]});const StarRatingSizeOptions=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"xs",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"sm",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"md",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"lg",...props}),jsx(StarRating$1,{layoutOption:"number",paddingBottom:"xs",rating:3,size:"lg",...props}),jsx(StarRating$1,{layoutOption:"onestar",paddingBottom:"xs",rating:3,size:"lg",...props})]});const StarRatingInteractive=props=>jsx(Fragment$1,{children:jsx(StarRating$1,{paddingBottom:"xs",variant:"interactive",...props})});const StarRating=Object.freeze(Object.defineProperty({__proto__:null,StarRatingBackgroundOptions:StarRatingBackgroundOptions,StarRatingColorOptions:StarRatingColorOptions,StarRatingDefault:StarRatingDefault,StarRatingHide:StarRatingHide,StarRatingInteractive:StarRatingInteractive,StarRatingNumberConfig:StarRatingNumberConfig,StarRatingSizeOptions:StarRatingSizeOptions},Symbol.toStringTag,{value:"Module"}));const StatChangeDefault=props=>jsxs("div",{children:[jsx(StatChange$1,{change:"increase",value:"28.4",...props}),jsx("br",{}),jsx(StatChange$1,{change:"decrease",value:6.1,...props}),jsx("br",{}),jsx(StatChange$1,{change:"neutral",value:102,...props})]});const StatChangeUnit=props=>jsxs("div",{children:[jsx(StatChange$1,{icon:"chart-line",value:"28.4",...props}),jsx("br",{}),jsx(StatChange$1,{icon:"chart-line-down",value:6.1,...props}),jsx("br",{}),jsx(StatChange$1,{value:102,...props})]});const StatChangeUnitTwo=props=>jsxs("div",{children:[jsx(StatChange$1,{change:"increase",icon:"level-up",value:"28.4",...props}),jsx("br",{}),jsx(StatChange$1,{change:"decrease",icon:"level-down",value:6.1,...props}),jsx("br",{}),jsx(StatChange$1,{change:"neutral",value:102,...props})]});const StatChange=Object.freeze(Object.defineProperty({__proto__:null,StatChangeDefault:StatChangeDefault,StatChangeUnit:StatChangeUnit,StatChangeUnitTwo:StatChangeUnitTwo},Symbol.toStringTag,{value:"Module"}));const StatValueDefault=props=>jsxs(Fragment$1,{children:[jsx(StatValue$1,{value:1048,...props}),jsx("br",{}),jsx("br",{}),jsx(StatValue$1,{value:10.48,...props})]});const StatValueUnit=props=>jsx(StatValue$1,{unit:"appt",value:"5,294",...props});const StatValue=Object.freeze(Object.defineProperty({__proto__:null,StatValueDefault:StatValueDefault,StatValueUnit:StatValueUnit},Symbol.toStringTag,{value:"Module"}));const TableSm=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableMd=props=>jsxs(Table$1,{size:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableLg=props=>jsxs(Table$1,{size:"lg",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableSticky=props=>jsxs(Table$1,{sticky:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableSideHighlight=props=>jsxs("div",{children:[jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Product colors"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs(Table$1.Row,{sideHighlightColor:"product_1_highlight",...props,children:[jsx("td",{children:"Product 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"product_2_highlight",...props,children:[jsx("td",{children:"Product 2"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"product_3_highlight",...props,children:[jsx("td",{children:"Product 3"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"none",...props,children:[jsx("td",{children:"None"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]}),jsx("br",{}),jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Status colors"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs(Table$1.Row,{sideHighlightColor:"success",...props,children:[jsx("td",{children:"Success"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"warning",...props,children:[jsx("td",{children:"Warning"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"error",...props,children:[jsx("td",{children:"Error"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"none",...props,children:[jsx("td",{children:"None"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]}),jsx("br",{}),jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Category Colors"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs(Table$1.Row,{sideHighlightColor:"category_1",...props,children:[jsx("td",{children:"Category Color 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"category_2",...props,children:[jsx("td",{children:"Category Color 2"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"category_3",...props,children:[jsx("td",{children:"Category Color 3"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"none",...props,children:[jsx("td",{children:"None"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]})]});const TableContainer=props=>jsxs(Table$1,{container:false,size:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableDataTable=props=>jsxs(Table$1,{dataTable:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableResponsiveTable=props=>jsxs("div",{children:[jsx(Title$1,{size:4,text:"Not Responsive",...props}),jsxs(Table$1,{responsive:"none",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{size:4,text:"Collapse Mobile",...props}),jsxs(Table$1,{collapse:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{size:4,text:"Collapse Tablet",...props}),jsxs(Table$1,{collapse:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{size:4,text:"Collapse Desktop",...props}),jsxs(Table$1,{collapse:"lg",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]})]});const TableDisableHover=props=>jsxs(Table$1,{disableHover:true,size:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableSingleLine=props=>jsxs(Table$1,{singleLine:true,size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableMultiline=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableOneAction$1=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]})]})]});const TableOneAction=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Tertiary Action",variant:"link",...props}),jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Secondary Action",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Tertiary Action",variant:"link",...props}),jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Secondary Action",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Tertiary Action",variant:"link",...props}),jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Secondary Action",variant:"secondary",...props})]})]})]})]});const TableTwoPlusActions=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(CircleIconButton$1,{icon:"ellipsis-h",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(CircleIconButton$1,{icon:"ellipsis-h",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(CircleIconButton$1,{icon:"ellipsis-h",variant:"secondary",...props})]})]})]})]});const TableActionMiddle=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsxs("td",{children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Action",variant:"link",...props})]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsxs("td",{children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Action",variant:"link",...props})]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsxs("td",{children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Action",variant:"link",...props})]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableIconButtons=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{align:"right",children:jsxs(Flex$1,{justifyContent:"end",orientation:"row",children:[jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"trash-alt",variant:"link",...props})}),jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"pencil",variant:"secondary",...props})})]})})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{align:"right",children:jsxs(Flex$1,{justifyContent:"end",orientation:"row",children:[jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"trash-alt",variant:"link",...props})}),jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"pencil",variant:"secondary",...props})})]})})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value lk"}),jsx("td",{align:"right",children:jsxs(Flex$1,{justifyContent:"end",orientation:"row",children:[jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"trash-alt",variant:"link",...props})}),jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"pencil",variant:"secondary",...props})})]})})]})]})]});const TableAlignmentColumn=props=>jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{textAlign:"center",children:"Rating"}),jsx(Table$1.Header,{textAlign:"right",children:"Money"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{textAlign:"center",children:"3"}),jsx(Table$1.Cell,{textAlign:"right",children:"$57.32"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{textAlign:"center",children:"2"}),jsx(Table$1.Cell,{textAlign:"right",children:"$5,657.08"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{textAlign:"center",children:"4"}),jsx(Table$1.Cell,{textAlign:"right",children:"$358.77"})]})]})]});const TableAlignmentRow=props=>jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{textAlign:"center",children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{textAlign:"right",children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]})]})]});const TableAlignmentShiftRow=props=>jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsxs(Table$1.Cell,{children:["Value 1a",jsx("br",{}),"Value 1a",jsx("br",{}),"Value 1a"]}),jsx(Table$1.Cell,{children:"Value 2a"}),jsx(Table$1.Cell,{children:"Value 3a"}),jsx(Table$1.Cell,{children:"Value 4a"}),jsx(Table$1.Cell,{children:"Value 5a"})]}),jsxs(Table$1.Row,{verticalAlign:"middle",children:[jsxs(Table$1.Cell,{children:["Value 1b",jsx("br",{}),"Value 1b",jsx("br",{}),"Value 1b"]}),jsx(Table$1.Cell,{children:"Value 2b"}),jsx(Table$1.Cell,{children:"Value 3b"}),jsx(Table$1.Cell,{children:"Value 4b"}),jsx(Table$1.Cell,{children:"Value 5b"})]}),jsxs(Table$1.Row,{verticalAlign:"bottom",children:[jsxs(Table$1.Cell,{children:["Value 1c",jsx("br",{}),"Value 1c",jsx("br",{}),"Value 1c"]}),jsx(Table$1.Cell,{children:"Value 2c"}),jsx(Table$1.Cell,{children:"Value 3c"}),jsx(Table$1.Cell,{children:"Value 4c"}),jsx(Table$1.Cell,{children:"Value 5c"})]})]})]});const TableAlignmentShiftData=props=>jsxs("div",{children:[jsxs(Table$1,{marginBottom:"md",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:" "}),jsx(Table$1.Header,{children:"Price"})]})}),jsx(Table$1.Body,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{verticalAlign:"bottom",children:"Total"}),jsxs(Table$1.Cell,{children:["$12",jsx("br",{}),"$46",jsx("br",{}),"$25",jsx("br",{}),"-------",jsx("br",{}),"$83"]})]})})]}),jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Espresso Drinks"}),jsx(Table$1.Header,{children:"Ingredients"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsxs(Table$1.Cell,{verticalAlign:"top",children:["Cappuccino"," "]}),jsxs(Table$1.Cell,{children:["Steamed Milk",jsx("br",{}),"Milk Foam"]})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{verticalAlign:"top",children:"Macchiato"}),jsxs(Table$1.Cell,{verticalAlign:"top",children:["Espresso",jsx("br",{}),"Steamed Milk"]})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Mocha"}),jsxs(Table$1.Cell,{children:["Hot Chocolate",jsx("br",{}),"Steamed Milk"]})]})]})]})]});const TableWithBackgroundKit=props=>jsxs("div",{children:[jsx("div",{children:jsxs(Table$1,{...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs(Background$1,{backgroundColor:"error_subtle",tag:"tr",children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs(Background$1,{backgroundColor:"warning_subtle",tag:"tr",children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]})]})]})}),jsx("div",{children:jsxs(Table$1,{paddingTop:"sm",...props,children:[jsxs("colgroup",{children:[jsx(Background$1,{backgroundColor:"error_subtle",tag:"col"}),jsx(Background$1,{backgroundColor:"info_subtle",tag:"col"}),jsx(Background$1,{backgroundColor:"warning_subtle",tag:"col"})]}),jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]})]})]})})]});const TableVerticalBorder=props=>jsxs(Table$1,{size:"sm",verticalBorder:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableStriped=props=>jsxs(Table$1,{striped:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableDiv=props=>jsxs(Table$1,{size:"sm",tag:"div",...props,children:[jsx("div",{className:"pb_table_thead",children:jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_th",children:"Column 1"}),jsx("div",{className:"pb_table_th",children:"Column 2"}),jsx("div",{className:"pb_table_th",children:"Column 3"}),jsx("div",{className:"pb_table_th",children:"Column 4"}),jsx("div",{className:"pb_table_th",children:"Column 5"})]})}),jsxs("div",{className:"pb_table_tbody",children:[jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_td",children:"Value 1"}),jsx("div",{className:"pb_table_td",children:"Value 2"}),jsx("div",{className:"pb_table_td",children:"Value 3"}),jsx("div",{className:"pb_table_td",children:"Value 4"}),jsx("div",{className:"pb_table_td",children:"Value 5"})]}),jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_td",children:"Value 1"}),jsx("div",{className:"pb_table_td",children:"Value 2"}),jsx("div",{className:"pb_table_td",children:"Value 3"}),jsx("div",{className:"pb_table_td",children:"Value 4"}),jsx("div",{className:"pb_table_td",children:"Value 5"})]}),jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_td",children:"Value 1"}),jsx("div",{className:"pb_table_td",children:"Value 2"}),jsx("div",{className:"pb_table_td",children:"Value 3"}),jsx("div",{className:"pb_table_td",children:"Value 4"}),jsx("div",{className:"pb_table_td",children:"Value 5"})]})]})]});const TableWithSubcomponents=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]})]})]});const TableWithSubcomponentsAsDivs=props=>jsxs(Table$1,{size:"sm",tag:"div",...props,children:[jsx(Table$1.Head,{tag:"div",children:jsxs(Table$1.Row,{tag:"div",children:[jsx(Table$1.Header,{tag:"div",children:"Column 1"}),jsx(Table$1.Header,{tag:"div",children:"Column 2"}),jsx(Table$1.Header,{tag:"div",children:"Column 3"}),jsx(Table$1.Header,{tag:"div",children:"Column 4"}),jsx(Table$1.Header,{tag:"div",children:"Column 5"})]})}),jsxs(Table$1.Body,{tag:"div",children:[jsxs(Table$1.Row,{tag:"div",children:[jsx(Table$1.Cell,{tag:"div",children:"Value 1"}),jsx(Table$1.Cell,{tag:"div",children:"Value 2"}),jsx(Table$1.Cell,{tag:"div",children:"Value 3"}),jsx(Table$1.Cell,{tag:"div",children:"Value 4"}),jsx(Table$1.Cell,{tag:"div",children:"Value 5"})]}),jsxs(Table$1.Row,{tag:"div",children:[jsx(Table$1.Cell,{tag:"div",children:"Value 1"}),jsx(Table$1.Cell,{tag:"div",children:"Value 2"}),jsx(Table$1.Cell,{tag:"div",children:"Value 3"}),jsx(Table$1.Cell,{tag:"div",children:"Value 4"}),jsx(Table$1.Cell,{tag:"div",children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{tag:"div",children:"Value 1"}),jsx(Table$1.Cell,{tag:"div",children:"Value 2"}),jsx(Table$1.Cell,{tag:"div",children:"Value 3"}),jsx(Table$1.Cell,{tag:"div",children:"Value 4"}),jsx(Table$1.Cell,{tag:"div",children:"Value 5"})]})]})]});const TableOuterPadding=props=>jsxs(Table$1,{outerPadding:"sm",size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]})]})]});const TableStickyLeftColumns=()=>jsxs(Table$1,{responsive:"scroll",size:"md",stickyLeftColumn:["1","2","3"],children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{id:"1",children:"Column 1"}),jsx("th",{id:"2",children:"Column 2"}),jsx("th",{id:"3",children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"}),jsx("th",{children:"Column 6"}),jsx("th",{children:"Column 7"}),jsx("th",{children:"Column 8"}),jsx("th",{children:"Column 9"}),jsx("th",{children:"Column 10"}),jsx("th",{children:"Column 11"}),jsx("th",{children:"Column 12"}),jsx("th",{children:"Column 13"}),jsx("th",{children:"Column 14"}),jsx("th",{children:"Column 15"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{id:"1",children:"Value 1"}),jsx("td",{id:"2",children:"Value 2"}),jsx("td",{id:"3",children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"1",children:"Value 1"}),jsx("td",{id:"2",children:"Value 2"}),jsx("td",{id:"3",children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"1",children:"Value 1"}),jsx("td",{id:"2",children:"Value 2"}),jsx("td",{id:"3",children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{children:"Value 15"})]})]})]});const TableStickyRightColumns=()=>jsxs(Table$1,{responsive:"scroll",size:"md",stickyRightColumn:["13","14","15"],children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"}),jsx("th",{children:"Column 6"}),jsx("th",{children:"Column 7"}),jsx("th",{children:"Column 8"}),jsx("th",{children:"Column 9"}),jsx("th",{children:"Column 10"}),jsx("th",{children:"Column 11"}),jsx("th",{children:"Column 12"}),jsx("th",{id:"13",children:"Column 13"}),jsx("th",{id:"14",children:"Column 14"}),jsx("th",{id:"15",children:"Column 15"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{id:"13",children:"Value 13"}),jsx("td",{id:"14",children:"Value 14"}),jsx("td",{id:"15",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{id:"13",children:"Value 13"}),jsx("td",{id:"14",children:"Value 14"}),jsx("td",{id:"15",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{id:"13",children:"Value 13"}),jsx("td",{id:"14",children:"Value 14"}),jsx("td",{id:"15",children:"Value 15"})]})]})]});const TableStickyColumns=()=>jsxs(Table$1,{responsive:"scroll",size:"md",stickyLeftColumn:["a"],stickyRightColumn:["b"],children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{id:"a",children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"}),jsx("th",{children:"Column 6"}),jsx("th",{children:"Column 7"}),jsx("th",{children:"Column 8"}),jsx("th",{children:"Column 9"}),jsx("th",{children:"Column 10"}),jsx("th",{children:"Column 11"}),jsx("th",{children:"Column 12"}),jsx("th",{children:"Column 13"}),jsx("th",{children:"Column 14"}),jsx("th",{id:"b",children:"Column 15"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{id:"a",children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{id:"b",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"a",children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{id:"b",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"a",children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{id:"b",children:"Value 15"})]})]})]});const TableWithCollapsible=props=>{const Content=()=>jsx(Card$1,{borderNone:true,borderRadius:"none",padding:"md",...props,children:jsx(Body$1,{...props,children:"Nested content inside a Table Row"})});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithCustomContent=props=>{const Content=()=>jsxs(Card$1,{borderNone:true,borderRadius:"none",color:"light",paddingX:"xl",paddingY:"md",...props,children:[jsx(Body$1,{paddingBottom:"sm",text:"Expanded Custom Layout",...props}),jsxs(Flex$1,{justify:"between",children:[jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"}),jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"}),jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"}),jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"})]})]});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithNestedTable=props=>{const Content=()=>jsxs(Table$1,{borderRadius:"none",container:false,size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Background$1,{tag:"tr",...props,children:[jsx(Table$1.Header,{children:"Alt Header"}),jsx(Table$1.Header,{children:"Alt Header"}),jsx(Table$1.Header,{children:"Alt Header"}),jsx(Table$1.Header,{children:"Alt Header"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:jsx(Pill$1,{text:"Pill",variant:"primary",...props})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:jsx(Pill$1,{text:"Pill",variant:"primary",...props})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:jsx(Pill$1,{text:"Pill",variant:"primary",...props})})]})]})]});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),collapsibleSideHighlight:false,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithNestedRows=props=>{const Content=()=>jsx(Table$1,{borderRadius:"none",container:false,size:"sm",...props,children:jsxs(Background$1,{tag:"tr",...props,children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"})]})});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),collapsibleSideHighlight:false,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithCustomClick=props=>{const Content=()=>jsx(Card$1,{borderNone:true,borderRadius:"none",padding:"md",...props,children:jsx(Body$1,{...props,children:"Nested content inside a Table Row"})});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),toggleCellId:"cell-1",...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{cursor:"pointer",id:"cell-1",textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),toggleCellId:"cell-2",...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{cursor:"pointer",id:"cell-2",textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),toggleCellId:"cell-3",...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{cursor:"pointer",id:"cell-3",textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]})]})]})};const TableWithSelectableRows=props=>{const[checkboxes,setCheckboxes]=useState([{name:"Coffee",checked:false},{name:"Ice Cream",checked:false},{name:"Chocolate",checked:true}]);const isAllChecked=!checkboxes.find((checkbox=>!checkbox.checked));const isNoneChecked=!checkboxes.find((checkbox=>checkbox.checked));const processCheckboxes=checked=>checkboxes.slice(0).map((checkbox=>{checkbox.checked=checked;return checkbox}));const onToggleAll=()=>{setCheckboxes(isNoneChecked?processCheckboxes(true):processCheckboxes(false))};const updateCheckboxes=(checkbox,index)=>{const newCheckboxes=checkboxes.slice(0);newCheckboxes[index].checked=!checkbox.checked;setCheckboxes(newCheckboxes)};return jsxs(Fragment$1,{children:[jsx(Flex$1,{justify:"end",marginBottom:"sm",children:!isNoneChecked&&jsx(Flex$1,{justify:"end",marginBottom:"sm",children:jsx(Button$1,{children:"Delete"})})}),jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:jsx(Checkbox$1,{checked:isAllChecked,indeterminate:!isAllChecked&&!isNoneChecked,name:"checkbox-name",onChange:onToggleAll,value:"check-box value"})}),jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsx(Table$1.Body,{children:checkboxes.map(((checkbox,index)=>jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:jsx(Checkbox$1,{checked:checkbox.checked,name:checkbox.name,onChange:()=>{updateCheckboxes(checkbox,index)},value:"check-box value"})}),jsx(Table$1.Cell,{children:jsx(Image$1,{alt:"picture of a misty forest",size:"xs",url:"https://unsplash.it/500/400/?image=634"})}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]},index)))})]})]})};const TableWithClickableRows=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{cursor:"pointer",htmlOptions:{onClick:()=>alert("Row 1 clicked")},...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary_action",fixedWidth:true,icon:"chevron-right",size:"xs",...props})})]}),jsxs(Table$1.Row,{cursor:"pointer",htmlOptions:{onClick:()=>alert("Row 2 clicked")},...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary_action",fixedWidth:true,icon:"chevron-right",size:"xs",...props})})]}),jsxs(Table$1.Row,{cursor:"pointer",htmlOptions:{onClick:()=>alert("Row 3 clicked")},...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary_action",fixedWidth:true,icon:"chevron-right",size:"xs",...props})})]})]})]});const TableWithHeaderStyleBorderless=props=>jsx(Fragment$1,{children:jsxs(Table$1,{headerStyle:"borderless",size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]})});const TableWithHeaderStyleFloating=props=>jsx(Fragment$1,{children:jsx(Card$1,{background:"light",...props,children:jsxs(Table$1,{headerStyle:"floating",size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Background$1,{backgroundColor:"light",tag:"tr",...props,children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]})]})]})})});const Table=Object.freeze(Object.defineProperty({__proto__:null,TableActionMiddle:TableActionMiddle,TableAlignmentColumn:TableAlignmentColumn,TableAlignmentRow:TableAlignmentRow,TableAlignmentShiftData:TableAlignmentShiftData,TableAlignmentShiftRow:TableAlignmentShiftRow,TableContainer:TableContainer,TableDataTable:TableDataTable,TableDisableHover:TableDisableHover,TableDiv:TableDiv,TableIconButtons:TableIconButtons,TableLg:TableLg,TableMd:TableMd,TableMultiline:TableMultiline,TableOneAction:TableOneAction$1,TableOuterPadding:TableOuterPadding,TableResponsiveTable:TableResponsiveTable,TableSideHighlight:TableSideHighlight,TableSingleLine:TableSingleLine,TableSm:TableSm,TableSticky:TableSticky,TableStickyColumns:TableStickyColumns,TableStickyLeftColumns:TableStickyLeftColumns,TableStickyRightColumns:TableStickyRightColumns,TableStriped:TableStriped,TableTwoActions:TableOneAction,TableTwoPlusActions:TableTwoPlusActions,TableVerticalBorder:TableVerticalBorder,TableWithBackgroundKit:TableWithBackgroundKit,TableWithClickableRows:TableWithClickableRows,TableWithCollapsible:TableWithCollapsible,TableWithCollapsibleWithCustomClick:TableWithCollapsibleWithCustomClick,TableWithCollapsibleWithCustomContent:TableWithCollapsibleWithCustomContent,TableWithCollapsibleWithNestedRows:TableWithCollapsibleWithNestedRows,TableWithCollapsibleWithNestedTable:TableWithCollapsibleWithNestedTable,TableWithHeaderStyleBorderless:TableWithHeaderStyleBorderless,TableWithHeaderStyleFloating:TableWithHeaderStyleFloating,TableWithSelectableRows:TableWithSelectableRows,TableWithSubcomponents:TableWithSubcomponents,TableWithSubcomponentsAsDivs:TableWithSubcomponentsAsDivs},Symbol.toStringTag,{value:"Module"}));const TextInputDefault=props=>{const[firstName,setFirstName]=useState("");const handleOnChangeFirstName=({target:target})=>{setFirstName(target.value)};const ref=React__default.createRef();const[formFields,setFormFields]=useState({firstName:"Jane",lastName:"Doe",phone:"8888888888",email:"jane@doe.com",zip:55555});const handleOnChangeFormField=({target:target})=>{const{name:name2,value:value}=target;setFormFields({...formFields,[name2]:value})};return jsxs("div",{children:[jsx(TextInput$1,{aria:{label:"hello"},data:{say:"hi",yell:"go"},id:"unique-id",label:"First Name",name:"firstName",onChange:handleOnChangeFormField,placeholder:"Enter first name",value:formFields.firstName,...props}),jsx(TextInput$1,{label:"Last Name",name:"lastName",onChange:handleOnChangeFormField,placeholder:"Enter last name",value:formFields.lastName,...props}),jsx(TextInput$1,{label:"Phone Number",name:"phone",onChange:handleOnChangeFormField,placeholder:"Enter phone number",type:"phone",value:formFields.phone,...props}),jsx(TextInput$1,{label:"Email Address",name:"email",onChange:handleOnChangeFormField,placeholder:"Enter email address",type:"email",value:formFields.email,...props}),jsx(TextInput$1,{label:"Zip Code",name:"zip",onChange:handleOnChangeFormField,placeholder:"Enter zip code",type:"number",value:formFields.zip,...props}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{children:"Event Handler Props"}),jsx("br",{}),jsx(Caption$1,{children:"onChange"}),jsx("br",{}),jsx(TextInput$1,{label:"First Name",onChange:handleOnChangeFirstName,placeholder:"Enter first name",ref:ref,value:firstName,...props}),firstName!==""&&jsx(React__default.Fragment,{children:`First name is: ${firstName}`})]})};const TextInputCustom=props=>{const[name2,setName]=useState("");const handleUpdateName=({target:target})=>{setName(target.value)};return jsx("div",{children:jsx(TextInput$1,{label:"Custom Label",...props,children:jsx("input",{name:"custom-name",onChange:handleUpdateName,placeholder:"custom-placeholder",type:"text",value:name2,...props})})})};const TextInputError=props=>{const[email,setEmail]=useState("");const handleUpdateEmail=({target:target})=>{setEmail(target.value)};const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," Please enter a valid email address"]});return jsxs("div",{children:[jsx(TextInput$1,{addOn:{icon:"user",alignment:"left",border:true},error:error,label:"Email Address",onChange:handleUpdateEmail,placeholder:"Enter email address",type:"email",value:email,...props}),jsx(TextInput$1,{addOn:{icon:"user",alignment:"left",border:true},label:"Confirm Email Address",onChange:handleUpdateEmail,placeholder:"Confirm email address",type:"email",value:email,...props})]})};class TextInputDisabled extends React__default.Component{render(props){return jsx("div",{children:jsx(TextInput$1,{disabled:true,label:"Last Name",placeholder:"Enter last name",...props})})}}const TextInputAddOn=props=>{const[defaultInput,setDefaultInput]=useState("");const[firstInput,setFirstInput]=useState("");const[secondInput,setSecondInput]=useState("");const[thirdInput,setThirdInput]=useState("");const[fourthInput,setFourthInput]=useState("");const handleUpdateDefaultInput=({target:target})=>{setDefaultInput(target.value)};const handleUpdateFirstInput=({target:target})=>{setFirstInput(target.value)};const handleUpdateSecondInput=({target:target})=>{setSecondInput(target.value)};const handleUpdateThirdInput=({target:target})=>{setThirdInput(target.value)};const handleUpdateFourthInput=({target:target})=>{setFourthInput(target.value)};return jsxs(Fragment$1,{children:[jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"bat"},label:"Add On With Defaults",onChange:handleUpdateDefaultInput,value:defaultInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"user",alignment:"right",border:true},label:"Right-Aligned Add On With Border",onChange:handleUpdateFirstInput,value:firstInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"percent",alignment:"right",border:false},label:"Right-Aligned Add On With No Border",onChange:handleUpdateThirdInput,value:thirdInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"frog",alignment:"right",border:true},label:"Right-Aligned Add On With Child Input",onChange:handleUpdateFourthInput,...props,children:jsx("input",{})})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"percent",alignment:"left",border:false},label:"Left-Aligned Add On With No Border",onChange:handleUpdateSecondInput,value:secondInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"percent",alignment:"left",border:true},label:"Left-Aligned Add On With Border",onChange:handleUpdateFourthInput,value:fourthInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"frog",alignment:"left",border:true},label:"Left-Aligned Add On With Child Input",onChange:handleUpdateFourthInput,...props,children:jsx("input",{})})})]})};const TextInputInline=props=>{const[value,setValue]=useState("Inline Input");const handleValueChange=({target:target})=>{setValue(target.value)};return jsx("div",{children:jsx(TextInput$1,{inline:true,label:"Hover Over Text Below",onChange:handleValueChange,value:value,...props})})};const TextInputNoLabel=props=>{const[email,setEmail]=useState("");const handleUpdateEmail=({target:target})=>{setEmail(target.value)};return jsx("div",{children:jsx(TextInput$1,{onChange:handleUpdateEmail,placeholder:"Enter email address",type:"email",value:email,...props})})};const TextInputMask=props=>{const[ssn,setSSN]=useState("");const handleOnChangeSSN=({target:target})=>{setSSN(target.value)};const ref=React__default.createRef();const[formFields,setFormFields]=useState({currency:"",zipCode:"",postalCode:"",ssn:"",creditCard:"",cvv:""});const handleOnChangeFormField=({target:target})=>{const{name:name2,value:value}=target;setFormFields({...formFields,[name2]:value})};return jsxs("div",{children:[jsx(TextInput$1,{label:"Currency",mask:"currency",name:"currency",onChange:handleOnChangeFormField,value:formFields.currency,...props}),jsx(TextInput$1,{label:"Zip Code",mask:"zipCode",name:"zipCode",onChange:handleOnChangeFormField,value:formFields.zipCode,...props}),jsx(TextInput$1,{label:"Postal Code",mask:"postalCode",name:"postalCode",onChange:handleOnChangeFormField,value:formFields.postalCode,...props}),jsx(TextInput$1,{label:"SSN",mask:"ssn",name:"ssn",onChange:handleOnChangeFormField,value:formFields.ssn,...props}),jsx(TextInput$1,{label:"Credit Card",mask:"creditCard",name:"creditCard",onChange:handleOnChangeFormField,value:formFields.creditCard,...props}),jsx(TextInput$1,{label:"CVV",mask:"cvv",name:"cvv",onChange:handleOnChangeFormField,value:formFields.cvv,...props}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{children:"Event Handler Props"}),jsx("br",{}),jsx(Caption$1,{children:"onChange"}),jsx("br",{}),jsx(TextInput$1,{label:"SSN",mask:"ssn",onChange:handleOnChangeSSN,placeholder:"Enter SSN",ref:ref,value:ssn,...props}),ssn!==""&&jsx(React__default.Fragment,{children:`SSN is: ${ssn}`})]})};const TextInputSanitize=props=>{const ref=React__default.createRef();const[currency,setCurrency]=useState("");const[sanitizedCurrency,setSanitizedCurrency]=useState("");const handleOnChangeSanitizeCurrency=({target:target},sanitizedValue)=>{setCurrency(target.value);setSanitizedCurrency(sanitizedValue)};const[creditCard,setCreditCard]=useState("");const[sanitizedCreditCard,setSanitizedCreditCard]=useState("");const handleOnChangeSanitizeCC=({target:target},sanitizedValue)=>{setCreditCard(target.value);setSanitizedCreditCard(sanitizedValue)};const[ssn,setSSN]=useState("");const[sanitizedSSN,setSanitizedSSN]=useState("");const handleOnChangeSanitizeSSN=({target:target},sanitizedValue)=>{setSSN(target.value);setSanitizedSSN(sanitizedValue)};return jsxs("div",{children:[jsx(TextInput$1,{label:"Currency",mask:"currency",onChange:handleOnChangeSanitizeCurrency,placeholder:"Enter Amount",ref:ref,value:currency,...props}),currency!==""&&jsx(React__default.Fragment,{children:`The masked value is: ${currency}`}),jsx("br",{}),sanitizedCurrency!==""&&jsx(React__default.Fragment,{children:`The sanitized value is: ${sanitizedCurrency}`}),jsx("br",{}),jsx("br",{}),jsx(TextInput$1,{label:"Credit Card",mask:"creditCard",onChange:handleOnChangeSanitizeCC,placeholder:"Enter Card",ref:ref,value:creditCard,...props}),creditCard!==""&&jsx(React__default.Fragment,{children:`The masked value is: ${creditCard}`}),jsx("br",{}),sanitizedCreditCard!==""&&jsx(React__default.Fragment,{children:`The sanitized value is: ${sanitizedCreditCard}`}),jsx("br",{}),jsx("br",{}),jsx(TextInput$1,{label:"SSN",mask:"ssn",onChange:handleOnChangeSanitizeSSN,placeholder:"Enter Amount",ref:ref,value:ssn,...props}),ssn!==""&&jsx(React__default.Fragment,{children:`The masked value is: ${ssn}`}),jsx("br",{}),sanitizedSSN!==""&&jsx(React__default.Fragment,{children:`The sanitized value is: ${sanitizedSSN}`})]})};const TextInput=Object.freeze(Object.defineProperty({__proto__:null,TextInputAddOn:TextInputAddOn,TextInputCustom:TextInputCustom,TextInputDefault:TextInputDefault,TextInputDisabled:TextInputDisabled,TextInputError:TextInputError,TextInputInline:TextInputInline,TextInputMask:TextInputMask,TextInputNoLabel:TextInputNoLabel,TextInputSanitize:TextInputSanitize},Symbol.toStringTag,{value:"Module"}));const TextareaDefault=props=>{const[value,setValue]=useState("Default value text");const handleChange=event2=>{setValue(event2.target.value)};return jsxs("div",{children:[jsx(Textarea$1,{label:"Label",rows:4,...props}),jsx("br",{}),jsx(Textarea$1,{label:"Label",placeholder:"Placeholder text",...props}),jsx("br",{}),jsx(Textarea$1,{label:"Label",name:"comment",onChange:e=>handleChange(e),placeholder:"Placeholder text",value:value,...props})]})};const TextareaResize=props=>jsxs("div",{children:[jsx(Textarea$1,{label:"auto",placeholder:"Resize Auto",resize:"auto",...props}),jsx("br",{}),jsx(Textarea$1,{label:"vertical",placeholder:"Resize Vertical",resize:"vertical",...props}),jsx("br",{}),jsx(Textarea$1,{label:"both",placeholder:"Resize Both",resize:"both",...props}),jsx("br",{}),jsx(Textarea$1,{label:"horizontal",placeholder:"Resize Horizontal",resize:"horizontal",...props})]});const TextareaCustom=props=>jsx("div",{children:jsx(Textarea$1,{label:"Label",...props,children:jsx("textarea",{className:"my_custom_class",name:"custom_textarea",rows:4,children:"Content goes here."})})});const TextareaError=props=>{const[value,setValue]=useState("default value text");const handleChange=event2=>{setValue(event2.target.value)};const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," This field has an error!"]});return jsx("div",{children:jsx(Textarea$1,{error:error,label:"Label",name:"comment",onChange:e=>handleChange(e),placeholder:"Placeholder text",value:value,...props})})};const TextareaCharacterCounter=props=>{const[value1,setValue1]=useState("Counting characters!");const[value2,setValue2]=useState("This counter prevents the user from exceeding the maximum number of allowed characters. Just try it!");const[value3,setValue3]=useState("This counter alerts the user that they have exceeded the maximum number of allowed characters.");const[error,setError]=useState("Too many characters!");const[count1,setCount1]=useState(0);const[count2,setCount2]=useState(value1.length);const[count3,setCount3]=useState(value2.length);const[count4,setCount4]=useState(value3.length);const handleMaxCount=event2=>{setCount2(event2.target.value.length);setValue1(event2.target.value)};const handleMaxCountWithBlocker=(event2,maxCharacters)=>{if(event2.target.value.length<=maxCharacters){setCount3(event2.target.value.length);setValue2(event2.target.value)}};const handleMaxCountWithError=(event2,maxCharacters)=>{if(event2.target.value.length>maxCharacters){setError("Too many characters!")}else{setError("")}setCount4(event2.target.value.length);setValue3(event2.target.value)};return jsxs(Fragment$1,{children:[jsx(Textarea$1,{characterCount:count1,label:"Count Only",onChange:event2=>setCount1(event2.target.value.length),rows:4,...props}),jsx("br",{}),jsx(Textarea$1,{characterCount:count2,label:"Max Characters",maxCharacters:"100",onChange:()=>handleMaxCount(event),rows:4,value:value1,...props}),jsx("br",{}),jsx(Textarea$1,{characterCount:count3,label:"Max Characters w/ Blocker",maxCharacters:"100",onChange:()=>handleMaxCountWithBlocker(event,100),rows:4,value:value2,...props}),jsx("br",{}),jsx(Textarea$1,{characterCount:count4,error:error,label:"Max Characters w/ Error",maxCharacters:"75",onChange:()=>handleMaxCountWithError(event,75),rows:4,value:value3,...props})]})};const TextareaInline=props=>{const[value,setValue]=useState("Try clicking into this text.");const handleChange=event2=>{setValue(event2.target.value)};return jsx("div",{children:jsx(Textarea$1,{inline:true,onChange:e=>handleChange(e),resize:"auto",rows:1,value:value,...props})})};const Textarea=Object.freeze(Object.defineProperty({__proto__:null,TextareaCharacterCounter:TextareaCharacterCounter,TextareaCustom:TextareaCustom,TextareaDefault:TextareaDefault,TextareaError:TextareaError,TextareaInline:TextareaInline,TextareaResize:TextareaResize},Symbol.toStringTag,{value:"Module"}));const TimeDefault=props=>jsxs("div",{children:[jsx(Time$1,{date:(new Date).getTime(),showTimezone:false,...props}),jsx("br",{}),jsx(Time$1,{date:new Date,timeZone:"America/New_York",...props}),jsx("br",{}),jsx(Time$1,{date:(new Date).getTime(),showIcon:true,showTimezone:false,...props}),jsx("br",{}),jsx(Time$1,{date:new Date,showIcon:true,timeZone:"America/New_York",...props}),jsx("br",{}),jsx("br",{}),jsx(Time$1,{date:new Date,showTimezone:false,size:"md",...props}),jsx("br",{}),jsx(Time$1,{date:new Date,size:"md",timeZone:"America/New_York",...props}),jsx("br",{}),jsx(Time$1,{date:new Date,showIcon:true,showTimezone:false,size:"md",...props}),jsx("br",{}),jsx(Time$1,{date:new Date,showIcon:true,size:"md",timeZone:"America/New_York",...props})]});const TimeSizes=props=>jsxs(Fragment$2,{children:[jsx(Time$1,{date:new Date,...props}),jsx("br",{}),jsx(Time$1,{date:new Date,size:"md",timeZone:"America/New_York",...props})]});const TimeStamp=props=>jsxs("div",{children:[jsx(Time$1,{date:new Date,size:"sm",...props}),jsx("br",{}),jsx(Time$1,{date:(new Date).getTime(),size:"sm",...props})]});const TimeAlign=props=>jsxs("div",{children:[jsx(Time$1,{date:new Date,size:"md",...props}),jsx("br",{}),jsx(Time$1,{align:"center",date:new Date,size:"md",...props}),jsx("br",{}),jsx(Time$1,{align:"right",date:new Date,size:"md",...props})]});const TimeTimezone=props=>{const zones={east:"America/New_York",central:"America/Chicago",mountain:"America/Denver",west:"America/Los_Angeles",asia:"Asia/Tokyo"};return jsxs("div",{children:[jsx("h4",{children:"East Coast"}),jsx(Time$1,{date:new Date,size:"md",timeZone:zones.east,...props}),jsx("br",{}),jsx("h4",{children:"Central"}),jsx(Time$1,{date:new Date,timeZone:zones.central,...props}),jsx("br",{}),jsx("h4",{children:"Mountain"}),jsx(Time$1,{date:new Date,timeZone:zones.mountain,...props}),jsx("br",{}),jsx("h4",{children:"West Coast"}),jsx(Time$1,{date:new Date,timeZone:zones.west,...props}),jsx("br",{}),jsx("h4",{children:"Tokyo, Japan"}),jsx(Time$1,{date:new Date,timeZone:zones.asia,...props})]})};const TimeUnstyled=props=>jsxs(Fragment$1,{children:[jsx(Caption$1,{size:"xs",text:"Basic unstyled example"}),jsx(Time$1,{date:new Date,showIcon:true,showTimezone:true,timeZone:"America/New_York",unstyled:true,...props}),jsx("br",{}),jsx(Caption$1,{size:"xs",text:"Example with wrapping typography kit"}),jsx(Title$1,{size:1,children:jsx(Time$1,{date:new Date,showIcon:true,showTimezone:true,timeZone:"America/New_York",unstyled:true,...props})}),jsx("br",{}),jsx(Caption$1,{size:"xs",text:"Example with icon + subcaption"}),jsx(Caption$1,{size:"xs",children:jsx(Time$1,{date:new Date,showIcon:true,showTimezone:true,timeZone:"America/New_York",unstyled:true,...props})}),jsx("br",{})]});const Time=Object.freeze(Object.defineProperty({__proto__:null,TimeAlign:TimeAlign,TimeDefault:TimeDefault,TimeSizes:TimeSizes,TimeTimestamp:TimeStamp,TimeTimezone:TimeTimezone,TimeUnstyled:TimeUnstyled},Symbol.toStringTag,{value:"Module"}));const TimeRangeInlineDefault=props=>jsxs("div",{children:[jsx(TimeRangeInline$1,{endTime:"2012-08-02T17:49:29Z",size:"xs",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{endTime:"2012-08-02T17:49:29Z",size:"sm",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",size:"xs",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",size:"sm",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props}),jsx("br",{}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"xs",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"sm",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"right",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"xs",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"right",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"sm",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props})]});const TimeRangeInline=Object.freeze(Object.defineProperty({__proto__:null,TimeRangeInlineDefault:TimeRangeInlineDefault},Symbol.toStringTag,{value:"Module"}));const TimeStackedDefault=props=>jsxs("div",{children:[jsx(TimeStackedDefault$1,{time:new Date,timeZone:"America/New_York",...props}),jsx("br",{}),jsx(TimeStackedDefault$1,{align:"center",time:new Date,timeZone:"America/New_York",...props}),jsx("br",{}),jsx(TimeStackedDefault$1,{align:"right",time:new Date,timeZone:"America/New_York",...props})]});const TimeStacked=Object.freeze(Object.defineProperty({__proto__:null,TimeStackedDefault:TimeStackedDefault},Symbol.toStringTag,{value:"Module"}));const TimelineDefault=props=>jsxs("div",{children:[jsxs(Timeline$1,{children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})}),jsx(Timeline$1.Item,{icon:"smile",iconColor:"green",...props,children:jsx(Body$1,{color:"light",text:"Conversation resolved",...props})})]}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]})]});const TimelineVertical=props=>jsxs("div",{children:[jsxs(Timeline$1,{orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})}),jsx(Timeline$1.Item,{icon:"smile",iconColor:"green",...props,children:jsx(Body$1,{color:"light",text:"Conversation resolved",...props})})]}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]})]});const TimelineWithDate=props=>jsxs("div",{children:[jsxs(Timeline$1,{orientation:"horizontal",showDate:true,...props,children:[jsx(Timeline$1.Item,{date:new Date,icon:"user",iconColor:"royal",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})}),jsx(Timeline$1.Item,{date:(new Date).setDate((new Date).getDate()+1),icon:"map-marker-alt",iconColor:"purple",...props,children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]}),jsx("br",{}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",showDate:true,...props,children:[jsx(Timeline$1.Item,{date:new Date,icon:"user",iconColor:"royal",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})}),jsx(Timeline$1.Item,{date:(new Date).setDate((new Date).getDate()+1),icon:"map-marker-alt",iconColor:"purple",...props,children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]}),jsx("br",{}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",showDate:true,...props,children:[jsx(Timeline$1.Item,{date:new Date("20 Mar 2018"),icon:"user",iconColor:"royal",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})}),jsx(Timeline$1.Item,{date:new Date("20 May 2018"),icon:"map-marker-alt",iconColor:"purple",...props,children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]})]});const TimelineWithChildren=props=>jsxs("div",{children:[jsxs(Timeline$1,{orientation:"horizontal",showDate:true,...props,children:[jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Label,{children:jsx(Title$1,{size:2,text:"Any Kit Here"})}),jsx(Timeline$1.Step,{icon:"user",iconColor:"royal"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"dotted",...props,children:[jsx(Timeline$1.Step,{children:jsx(Pill$1,{text:"Any Kit",variant:"success"})}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Label,{date:new Date((new Date).setDate((new Date).getDate()+1))}),jsx(Timeline$1.Step,{icon:"map-marker-alt",iconColor:"purple"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]})]}),jsx("br",{}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",showDate:true,...props,children:[jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Label,{children:jsx(Title$1,{size:4,text:"Any Kit"})}),jsx(Timeline$1.Step,{icon:"user",iconColor:"royal"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"dotted",...props,children:[jsx(Timeline$1.Label,{date:new Date((new Date).setDate((new Date).getDate()+1))}),jsx(Timeline$1.Step,{icon:"map-marker-alt",iconColor:"purple"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Step,{children:jsx(Pill$1,{text:"3",variant:"success"})}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]})]})]});const TimelineWithGap=props=>jsx("div",{children:jsxs(Flex$1,{justify:"evenly",children:[jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"xs",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})}),jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"sm",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})}),jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"md",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})}),jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"lg",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})})]})});const Timeline=Object.freeze(Object.defineProperty({__proto__:null,TimelineDefault:TimelineDefault,TimelineVertical:TimelineVertical,TimelineWithChildren:TimelineWithChildren,TimelineWithDate:TimelineWithDate,TimelineWithGap:TimelineWithGap},Symbol.toStringTag,{value:"Module"}));const todaysDate$4=new Date;const futureYear$2=(new Date).getFullYear()+4;const pastYear$2=(new Date).getFullYear()-1;const month$3=(new Date).getMonth();const date$3=(new Date).getDate();const hours$3=(new Date).getHours();const minutes$3=(new Date).getMinutes();const futureDate$2=new Date(futureYear$2,month$3,date$3,hours$3,minutes$3);const pastDate$2=new Date(pastYear$2,month$3,date$3,hours$3,minutes$3);const TimestampDefault=props=>jsxs("div",{children:[jsx(Timestamp$1,{align:"left",showDate:false,timestamp:todaysDate$4,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:todaysDate$4,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:futureDate$2,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:pastDate$2,...props})]});const todaysDate$3=new Date;const futureYear$1=(new Date).getFullYear()+4;const pastYear$1=(new Date).getFullYear()-1;const month$2=(new Date).getMonth();const date$2=(new Date).getDate();const hours$2=(new Date).getHours();const minutes$2=(new Date).getMinutes();const futureDate$1=new Date(futureYear$1,month$2,date$2,hours$2,minutes$2);const pastDate$1=new Date(pastYear$1,month$2,date$2,hours$2,minutes$2);const TimestampAlign=props=>jsxs("div",{children:[jsx(Timestamp$1,{align:"left",showDate:false,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:futureDate$1,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:pastDate$1,...props}),jsx("br",{}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:false,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:true,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:true,timestamp:futureDate$1,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:true,timestamp:pastDate$1,...props}),jsx("br",{}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:false,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:true,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:true,timestamp:futureDate$1,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:true,timestamp:pastDate$1,...props})]});const todaysDate$2=new Date;const futureYear=(new Date).getFullYear()+4;const pastYear=(new Date).getFullYear()-1;const month$1=(new Date).getMonth();const date$1=(new Date).getDate();const hours$1=(new Date).getHours();const minutes$1=(new Date).getMinutes();const futureDate=new Date(futureYear,month$1,date$1,hours$1,minutes$1);const pastDate=new Date(pastYear,month$1,date$1,hours$1,minutes$1);const TimestampTimezones=props=>jsxs("div",{children:[jsx(Timestamp$1,{align:"left",showDate:false,showTimezone:true,timestamp:todaysDate$2,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:todaysDate$2,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:futureDate,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:pastDate,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:false,showTimezone:true,timestamp:todaysDate$2,timezone:"Asia/Hong_Kong",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:todaysDate$2,timezone:"Asia/Hong_Kong",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:futureDate,timezone:"Asia/Hong_Kong",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:pastDate,timezone:"Asia/Hong_Kong",...props})]});const todaysDate$1=new Date;const TimestampUpdated=props=>jsxs("div",{children:[jsx(Timestamp$1,{showUser:true,text:"Maricris Nonato",timestamp:todaysDate$1,variant:"updated",...props}),jsx("br",{}),jsx(Timestamp$1,{showUser:false,timestamp:todaysDate$1,variant:"updated",...props})]});const todaysDate=new Date;const year=(new Date).getFullYear();const month=(new Date).getMonth();const date=(new Date).getDate();const hours=(new Date).getHours()-10;const minutes=(new Date).getMinutes();const customDate=new Date(year,month,date,hours,minutes);const TimestampElapsed=props=>jsxs("div",{children:[jsx(Timestamp$1,{showUser:true,text:"Maricris Nonato",timestamp:todaysDate,variant:"elapsed",...props}),jsx("br",{}),jsx(Timestamp$1,{showUser:false,timestamp:customDate,variant:"elapsed",...props}),jsx("br",{}),jsx(Timestamp$1,{hideUpdated:true,showUser:false,timestamp:customDate,variant:"elapsed",...props})]});const TimestampUnstyled=props=>jsxs(Fragment$1,{children:[jsx(Caption$1,{size:"xs",text:"Basic unstyled example"}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:new Date,unstyled:true,...props}),jsx("br",{}),jsx(Caption$1,{size:"xs",text:"Example with wrapping typography kit"}),jsx(Title$1,{size:1,children:jsx(Timestamp$1,{align:"left",showDate:true,timestamp:new Date,unstyled:true,...props})})]});const Timestamp=Object.freeze(Object.defineProperty({__proto__:null,TimestampAlign:TimestampAlign,TimestampDefault:TimestampDefault,TimestampElapsed:TimestampElapsed,TimestampTimezones:TimestampTimezones,TimestampUnstyled:TimestampUnstyled,TimestampUpdated:TimestampUpdated},Symbol.toStringTag,{value:"Module"}));const TitleDefault=props=>jsxs("div",{children:[jsx(Title$1,{marginBottom:"md",text:"Default Title",...props}),jsx(Title$1,{size:1,tag:"h1",text:"Title 1",...props}),jsx(Title$1,{size:2,tag:"h2",text:"Title 2",...props}),jsx(Title$1,{size:3,tag:"h3",text:"Title 3",...props}),jsx(Title$1,{size:4,tag:"h4",text:"Title 4",...props})]});const TitleLightWeight=props=>jsxs("div",{children:[jsx(Title$1,{bold:false,size:1,tag:"h1",text:"Title 1",...props}),jsx(Title$1,{bold:false,size:2,tag:"h2",text:"Title 2",...props}),jsx(Title$1,{bold:false,size:3,tag:"h2",text:"Title 3",...props})]});const TitleColors=props=>jsxs("div",{children:[jsx(Title$1,{text:"Default Color",...props}),jsx(Title$1,{color:"link",size:3,tag:"h1",text:"Title Color",...props}),jsx(Title$1,{color:"success",size:3,tag:"h1",text:"Title Color",...props}),jsx(Title$1,{color:"error",size:3,tag:"h1",text:"Title Color",...props})]});const TitleResponsive=props=>jsx(Fragment$1,{children:jsx(Title$1,{size:{xs:"3",sm:"2",md:"1"},text:"Responsive Title",...props})});const TitleTruncate=props=>{const lorem="Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, minus. Nisi beatae voluptatum labore sequi. Nemo accusantium corrupti, reiciendis magnam tenetur perferendis esse pariatur voluptas eaque hic vel rem nihil quidem dolorum ex dolor, libero ullam placeat, sapiente eos. Cumque obcaecati dignissimos molestiae, minima quibusdam sint maxime libero accusantium animi quis quia maiores enim ipsum, esse, modi laudantium illum error!";return jsxs(Flex$1,{maxWidth:"md",orientation:"column",children:[jsx(Caption$1,{text:"After first row",...props}),jsx(Title$1,{marginBottom:"md",size:4,text:lorem,truncate:"1",...props}),jsx(Caption$1,{text:"After second row",...props}),jsx(Title$1,{marginBottom:"md",size:4,text:lorem,truncate:"2",...props}),jsx(Caption$1,{text:"After third row",...props}),jsx(Title$1,{size:4,text:lorem,truncate:"3",...props})]})};const TitleDisplaySize=props=>jsxs("div",{children:[jsx(Title$1,{displaySize:"xs",tag:"h1",text:"Display Size xs",...props}),jsx(Title$1,{displaySize:"sm",tag:"h1",text:"Display Size sm",...props}),jsx(Title$1,{displaySize:"md",tag:"h1",text:"Display Size md",...props}),jsx(Title$1,{displaySize:"lg",tag:"h1",text:"Display Size lg",...props}),jsx(Title$1,{displaySize:"xl",tag:"h1",text:"Display Size xl",...props}),jsx(Title$1,{displaySize:"xxl",tag:"h1",text:"Display Size xxl",...props}),jsx(Title$1,{size:"display",tag:"h1",text:"This is a size of display",...props})]});const Title=Object.freeze(Object.defineProperty({__proto__:null,TitleColors:TitleColors,TitleDefault:TitleDefault,TitleDisplaySize:TitleDisplaySize,TitleLightWeight:TitleLightWeight,TitleResponsive:TitleResponsive,TitleTruncate:TitleTruncate},Symbol.toStringTag,{value:"Module"}));const TitleCountDefault=props=>jsxs(Fragment$1,{children:[jsx(TitleCount$1,{count:35.78,title:"Appointments",...props}),jsx("br",{}),jsx(TitleCount$1,{count:7399,size:"lg",title:"Appointments",...props}),jsx("br",{}),jsx(TitleCount$1,{count:-379503.372,size:"lg",title:"Appointments",...props})]});const TitleCountAlign=props=>jsxs(Fragment$1,{children:[jsx(TitleCount$1,{count:527,title:"Remodeling Consultants",...props}),jsx("br",{}),jsx(TitleCount$1,{align:"center",count:527,title:"Remodeling Consultants",...props}),jsx("br",{}),jsx(TitleCount$1,{align:"right",count:527,title:"Remodeling Consultants",...props})]});const TitleCount=Object.freeze(Object.defineProperty({__proto__:null,TitleCountAlign:TitleCountAlign,TitleCountDefault:TitleCountDefault},Symbol.toStringTag,{value:"Module"}));const TitleDetailDefault=props=>jsxs("div",{children:[jsx(TitleDetail$1,{detail:"Commits data and history",title:"Email Notifications",...props}),jsx(TitleDetail$1,{align:"center",detail:"Commits data and history",title:"Email Notifications",...props}),jsx(TitleDetail$1,{align:"right",detail:"Commits data and history",title:"Email Notifications",...props})]});const TitleDetail=Object.freeze(Object.defineProperty({__proto__:null,TitleDetailDefault:TitleDetailDefault},Symbol.toStringTag,{value:"Module"}));const ToggleDefault=()=>jsxs(Fragment$1,{children:[jsx(Toggle$1,{checked:true}),jsx("br",{}),jsx(Toggle$1,{})]});const ToggleDisabled=()=>jsxs(Fragment$1,{children:[jsx(Toggle$1,{checked:true,disabled:true}),jsx("br",{}),jsx(Toggle$1,{disabled:true})]});const ToggleCustom=()=>{const[choice,setChoice]=useState(false);const handleOnChange=({target:target})=>{setChoice(target.value=!choice)};return jsx(Fragment$1,{children:jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{className:"my custom checkbox",name:"custom checkbox",onChange:handleOnChange,type:"checkbox",value:"ABC"})})})};const ToggleName=()=>{const[choice,setChoice]=useState(false);const handleOnChange=({target:target})=>{setChoice(target.value=!choice)};return jsxs(Fragment$1,{children:[jsx(Title$1,{size:4,text:"Which of the following vehicles do you own?"}),jsx("br",{}),jsx(Caption$1,{text:"Car"}),jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{name:"vehicle",onChange:handleOnChange,type:"checkbox",value:"car"})}),jsx("br",{}),jsx(Caption$1,{text:"Bike"}),jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{name:"vehicle",onChange:handleOnChange,type:"checkbox",value:"bike"})})]})};const ToggleCustomRadio=()=>{const[choice,setChoice]=useState("walk");const handleOnChange=({target:target})=>{setChoice(target.value)};return jsxs(Fragment$1,{children:[jsx(Title$1,{size:4,text:"Select one option:"}),jsx("br",{}),jsx(Caption$1,{text:"Walk"}),jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{name:"modes of transportation",onChange:handleOnChange,type:"radio",value:"walk"})}),jsx("br",{}),jsx(Caption$1,{text:"Bike"}),jsx(Toggle$1,{size:"sm",children:jsx("input",{name:"modes of transportation",onChange:handleOnChange,type:"radio",value:"bike"})}),jsx("br",{}),jsx(Caption$1,{text:"Ride"}),jsx(Toggle$1,{size:"sm",children:jsx("input",{name:"modes of transportation",onChange:handleOnChange,type:"radio",value:"ride"})})]})};const Toggle=Object.freeze(Object.defineProperty({__proto__:null,ToggleCustom:ToggleCustom,ToggleCustomRadio:ToggleCustomRadio,ToggleDefault:ToggleDefault,ToggleDisabled:ToggleDisabled,ToggleName:ToggleName},Symbol.toStringTag,{value:"Module"}));const TooltipDefaultReact=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"top",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Top)"})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"bottom",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Bottom)"})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"right",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Right)"})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"left",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Left)"})})]});const TooltipInteraction=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{interaction:true,placement:"top",text:"You can copy me",zIndex:10,...props,children:jsx(Button$1,{text:"With Interaction"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"top",text:"I'm just a regular tooltip",zIndex:10,...props,children:jsx(Button$1,{text:"No Interaction"})})})]});const TooltipMargin=props=>jsxs(Flex$1,{flexDirection:"row",wrap:true,children:[jsx(Tooltip$1,{margin:"md",placement:"top",text:"Send Email",zIndex:10,...props,children:jsx(CircleIconButton$1,{icon:"paper-plane"})}),jsx(Tooltip$1,{margin:"md",placement:"top",text:"Send Email",zIndex:10,...props,children:jsx(CircleIconButton$1,{icon:"paper-plane"})})]});const TooltipSizing=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{height:"150px",placement:"top",text:"I'm 150px high and 100px wide!",width:"100px",...props,children:jsx(Button$1,{text:"Height and Width"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{maxHeight:"100px",placement:"top",text:"I have a maxHeight of 100px! Lorem ipsum dolor sit amet consectetur adipisicing elit.",width:"250px",...props,children:jsx(Button$1,{text:"maxHeight"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{maxWidth:"150px",placement:"top",text:"I have a maxWidth of 150px! Lorem ipsum dolor sit amet consectetur adipisicing elit.",...props,children:jsx(Button$1,{text:"maxWidth"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{minWidth:"300px",placement:"top",text:"I have a minWidth of 300px!",...props,children:jsx(Button$1,{text:"minWidth"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{maxWidth:"150px",minHeight:"300px",placement:"top",text:"I have a minHeight of 300px!",...props,children:jsx(Button$1,{text:"minHeight"})})})]});const TooltipIcon=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(Tooltip$1,{icon:"paper-plane",placement:"top",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})}),jsx(Tooltip$1,{icon:"paper-plane",placement:"bottom",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})}),jsx(Tooltip$1,{icon:"paper-plane",placement:"right",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})}),jsx(Tooltip$1,{icon:"paper-plane",placement:"left",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})})]});const TooltipDelay=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{delay:1e3,placement:"top",text:"1s open/close delay",zIndex:10,...props,children:jsx(Button$1,{text:"1s delay"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{delay:{open:1e3},placement:"top",text:"1s open delay",zIndex:10,...props,children:jsx(Button$1,{text:"Open only"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{delay:{close:1e3},placement:"top",text:"1s close delay",zIndex:10,...props,children:jsx(Button$1,{text:"Close only"})})})]});const TooltipShowTooltipReact=props=>{const[showTooltip,setShowTooltip]=useState(true);return jsxs(Flex$1,{flexDirection:"column",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Button$1,{onClick:()=>setShowTooltip(!showTooltip),text:"Toggle state"})}),jsx(FlexItem,{children:jsx(Body$1,{children:jsxs("p",{children:["Tooltip is: ",jsx("code",{children:showTooltip?"enabled":"disabled"})]})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"right",showTooltip:showTooltip,text:"Tooltip is enabled",zIndex:10,...props,children:"Hover me."})})]})};const Tooltip=Object.freeze(Object.defineProperty({__proto__:null,TooltipDefaultReact:TooltipDefaultReact,TooltipDelay:TooltipDelay,TooltipIcon:TooltipIcon,TooltipInteraction:TooltipInteraction,TooltipMargin:TooltipMargin,TooltipShowTooltipReact:TooltipShowTooltipReact,TooltipSizing:TooltipSizing},Symbol.toStringTag,{value:"Module"}));const chartData$4=[{name:"Pepperoni",parent:"Toppings",value:600},{name:"Cheese",parent:"Toppings",value:510},{name:"Mushroom",parent:"Toppings",value:330},{name:"Onions",parent:"Toppings",value:250},{name:"Olives",parent:"Toppings",value:204},{name:"Pineapple",parent:"Toppings",value:90},{name:"Pizza Toppings",id:"Toppings"}];const TreemapChartDefault=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$4,id:"treemap-default",title:"Favored Pizza Toppings",...props})});const chartData$3=[{name:"Meat",id:"Meat",color:"#0056CF"},{name:"Pepperoni",parent:"Meat",value:250},{name:"Meatball",parent:"Meat",value:400},{name:"Anchovy",parent:"Meat",value:40},{name:"Vegetarian",id:"Vegetarian",color:"#F9BB00"},{name:"Onions",parent:"Vegetarian",value:300},{name:"Pineapple",parent:"Vegetarian",value:90},{name:"Peppers",parent:"Vegetarian",value:80},{name:"Specialty",id:"Specialty",color:"#9E64E9"},{name:"Buffalo Chicken",parent:"Specialty",value:400},{name:"Supreme",parent:"Specialty",value:150}];const TreemapChartGroupedData=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$3,grouped:true,id:"treemap-grouped-data",title:"Grouped Toppings",...props})});const chartData$2=[{name:"Evergreen",id:"Evergreen",color:"#0056CF"},{name:"Pine",id:"Pine",parent:"Evergreen",value:300,color:"#477BC4"},{name:"Ponderosa Pine",parent:"Pine",value:50},{name:"Scots Pine",parent:"Pine",value:150},{name:"White Pine",parent:"Pine",value:100},{name:"Douglas Fir",parent:"Evergreen",value:150},{name:"Juniper",parent:"Evergreen",value:80},{name:"Hemlock",parent:"Evergreen",value:30},{name:"Deciduous",id:"Deciduous",color:"#F9BB00"},{name:"Oak",parent:"Deciduous",value:80},{name:"Maple",id:"Maple",parent:"Deciduous",value:180,color:"#F7CE52"},{name:"Red Maple",parent:"Maple",value:80},{name:"Sugar Maple",parent:"Maple",value:100},{name:"Beech",parent:"Deciduous",value:50},{name:"Willow",parent:"Deciduous",value:100},{name:"Juniper",parent:"Deciduous",value:90}];const TreemapChartDrillable=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$2,drillable:true,grouped:true,id:"treemap-drillable",title:"Drillable Grouped Tree Species",...props})});const chartData$1=[{name:"Pepperoni",parent:"Toppings",value:600},{name:"Cheese",parent:"Toppings",value:510},{name:"Mushroom",parent:"Toppings",value:330},{name:"Onions",parent:"Toppings",value:250},{name:"Olives",parent:"Toppings",value:204},{name:"Pineapple",parent:"Toppings",value:90},{name:"Pizza Toppings",id:"Toppings"}];const TreemapChartColors=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$1,colors:["data-4","data-7","#8E6E53","#124732"],id:"treemap-colors",title:"Favored Pizza Toppings",...props})});const chartData=[{name:"Pepperoni",parent:"Toppings",value:600},{name:"Cheese",parent:"Toppings",value:510},{name:"Mushroom",parent:"Toppings",value:330},{name:"Onions",parent:"Toppings",value:250},{name:"Olives",parent:"Toppings",value:204},{name:"Pineapple",parent:"Toppings",value:90},{name:"Pizza Toppings",id:"Toppings"}];const TreemapChartTooltip=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData,id:"treemap-tooltip",title:"Favored Pizza Toppings",tooltipHtml:"<p>Custom tooltip for {point.name} <br/>with value: {point.value}</p>",...props})});const TreemapChart=Object.freeze(Object.defineProperty({__proto__:null,TreemapChartColors:TreemapChartColors,TreemapChartDefault:TreemapChartDefault,TreemapChartDrillable:TreemapChartDrillable,TreemapChartGroupedData:TreemapChartGroupedData,TreemapChartTooltip:TreemapChartTooltip},Symbol.toStringTag,{value:"Module"}));const options$8=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadDefault=props=>jsx(Typeahead$1,{label:"Colors",options:options$8,...props});const USERS=[{name:"Wade Winningham",title:"Nitro Principal Developer",territory:"PHL"},{name:"Carlos Lima",title:"Nitro Developer",territory:"PHL"},{name:"Stephen Marshall",title:"Senior Nitro Developer",territory:"PHL"},{name:"Jasper Furniss",title:"Lead User Experience Engineer",territory:"PHL"}];const TypeaheadWithHighlight=props=>{const[selectedUser,setSelectedUser]=useState();const formatOptionLabel=({name:name2,territory:territory,title:title},{inputValue:inputValue})=>{const highlighted=text=>{if(!inputValue.length)return text;return text.replace(new RegExp(inputValue,"gi"),(highlighted2=>`<mark>${highlighted2}</mark>`))};return jsxs(Flex$1,{children:[jsx(FlexItem,{children:jsx(Avatar$1,{marginRight:"sm",name:name2,size:"sm",...props})}),jsxs(FlexItem,{children:[jsx(Title$1,{size:4,...props,children:jsx("span",{dangerouslySetInnerHTML:{__html:highlighted(name2)}})}),jsxs(Body$1,{color:"light",...props,children:[jsx("span",{dangerouslySetInnerHTML:{__html:highlighted(title)}})," • ",territory]})]})]})};const customComponents={Option:highlightProps=>jsx(components.Option,{...highlightProps}),SingleValue:({...props2})=>jsx(components.SingleValue,{...props2,children:jsx("span",{children:props2.data.name})})};return jsx(React__default.Fragment,{children:jsx(Typeahead$1,{components:customComponents,formatOptionLabel:formatOptionLabel,getOptionLabel:option=>option.name,getOptionValue:({name:name2,title:title})=>`${name2} ${title}`,label:"Users",onChange:user=>setSelectedUser(user),options:USERS.filter((option=>option.name!=(selectedUser==null?void 0:selectedUser.name))),placeholder:"type the name of a user",...props})})};const options$7=[{label:"Windows",value:"#FFA500"},{label:"Siding",value:"#FF0000"},{label:"Doors",value:"#00FF00"},{label:"Roofs",value:"#0000FF"}];const TypeaheadWithPills$1=props=>jsx(Fragment$1,{children:jsx(Typeahead$1,{isMulti:true,label:"Colors",options:options$7,placeholder:"",...props})});const filterResults$3=results=>results.items.map((result=>({name:result.login,id:result.id})));const promiseOptions$3=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>resolve(filterResults$3(results))))}else{resolve([])}}));const TypeaheadWithPillsAsync=props=>{const[users,setUsers]=useState([]);const formatUsers=users2=>{const results=()=>users2.map((user=>{if(Object.keys(user)[0]==="name"||Object.keys(user)[1]==="id"){return{label:user.name,value:user.id}}else{return user}}));return results()};const handleOnChange=value=>setUsers(formatUsers(value));const formatValue=users2=>formatUsers(users2);return jsxs(Fragment$1,{children:[users&&users.length>0&&jsxs(React__default.Fragment,{children:[jsx(Caption$1,{marginBottom:"xs",text:"State (Users)",...props}),users.map((user=>jsx(User$1,{align:"left",marginBottom:"md",name:user.label,orientation:"horizontal",...props},user.value)))]}),jsx(Typeahead$1,{async:true,getOptionLabel:option=>option.name,getOptionValue:option=>option.id,isMulti:true,label:"Github Users",loadOptions:promiseOptions$3,onChange:handleOnChange,placeholder:"type the name of a Github user",value:formatValue(users),...props})]})};const filterResults$2=results=>results.items.map((result=>({imageUrl:result.avatar_url,label:result.login,value:result.id})));const promiseOptions$2=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>resolve(filterResults$2(results))))}else{resolve([])}}));const TypeaheadWithPillsAsyncUsers=props=>{const[users,setUsers]=useState([]);const handleOnChange=value=>setUsers(value);const handleOnMultiValueClick=value=>{alert(`You added the user: "${value.label}"`)};return jsxs(Fragment$1,{children:[users&&users.length>0&&jsxs(React__default.Fragment,{children:[jsx(Caption$1,{marginBottom:"xs",text:"State (Users)",...props}),users.map((user=>jsx(User$1,{align:"left",avatar:true,avatarUrl:user.imageUrl,marginBottom:"md",name:user.label,orientation:"horizontal",...props},user.value)))]}),jsx(Typeahead$1,{async:true,isMulti:true,label:"Github Users",loadOptions:promiseOptions$2,noOptionsMessage:()=>"Type to Search",onChange:handleOnChange,onMultiValueClick:handleOnMultiValueClick,placeholder:"type the name of a Github user",...props})]})};const filterResults$1=results=>results.items.map((result=>({imageUrl:result.avatar_url,label:result.login,value:result.id,territory:"PHL",type:result.type})));const promiseOptions$1=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>resolve(filterResults$1(results))))}else{resolve([])}}));const TypeaheadWithPillsAsyncCustomOptions=props=>{const[users,setUsers]=useState([]);const handleOnChange=value=>setUsers(value);const handleOnMultiValueClick=value=>{alert(`You added the user: "${value.label}"`)};return jsxs(Fragment$1,{children:[users&&users.length>0&&jsxs(React__default.Fragment,{children:[jsx(Caption$1,{marginBottom:"xs",text:"State (Users)",...props}),users.map((user=>jsx(User$1,{align:"left",avatar:true,avatarUrl:user.imageUrl,marginBottom:"md",name:user.label,orientation:"horizontal",...props},user.value)))]}),jsx(Typeahead$1,{async:true,isMulti:true,label:"Github Users",loadOptions:promiseOptions$1,onChange:handleOnChange,onMultiValueClick:handleOnMultiValueClick,placeholder:"type the name of a Github user",valueComponent:({imageUrl:imageUrl,label:label,territory:territory,type:type})=>jsx(User$1,{avatar:true,avatarUrl:imageUrl,name:label,territory:territory,title:type}),...props})]})};const synths=[{label:"Oberheim",value:"OBXa"},{label:"Moog",value:"Minimoog"},{label:"Roland",value:"Juno"},{label:"Korg",value:"MS-20"}];const cities=[{label:"Budapest",value:"Hungary"},{label:"Singapore",value:"Singapore"},{label:"Oslo",value:"Norway"},{label:"Lagos",value:"Nigeria"}];const TypeaheadInline=props=>jsxs(Fragment$1,{children:[jsx(Typeahead$1,{inline:true,isMulti:true,label:"Synths",options:synths,...props}),jsx(Typeahead$1,{inline:true,isMulti:true,label:"Placeholder Plus Icon",options:cities,placeholder:"Add cities",plusIcon:true,...props})]});const labels=[{label:"Verve",value:"1956"},{label:"Stax",value:"1957"},{label:"Motown",value:"1959"},{label:"Kudu",value:"1971"},{label:"Stones Throw",value:"1996"}];const expressionists=[{label:"Kandinsky",value:"Russia"},{label:"Klee",value:"Switzerland"},{label:"Kokoschka",value:"Austria"},{label:"Kirchner",value:"Germany"}];const TypeaheadMultiKit=props=>jsxs(Fragment$1,{children:[jsx(Typeahead$1,{defaultValue:[labels[0]],isMulti:true,label:"Badges",multiKit:"badge",options:labels,...props}),jsx(Typeahead$1,{defaultValue:[expressionists[0]],isMulti:true,label:"Small Pills",multiKit:"smallPill",options:expressionists,...props})]});const options$6=[{label:"Jardim",value:"Portuguese"},{label:"Garten",value:"German"},{label:"Giardino",value:"Italian"},{label:"Jardín",value:"Spanish"}];const TypeaheadCreateable=props=>jsx(Typeahead$1,{createable:true,isMulti:true,label:"User Created Options",options:options$6,...props});const filterResults=results=>results.items.map((result=>({label:result.login,value:result.id})));const promiseOptions=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>{resolve(results.items?filterResults(results):[])}))}else{resolve([])}}));const TypeaheadAsyncCreateable=props=>jsx(Typeahead$1,{async:true,createable:true,isMulti:true,label:"Existing or User Created Options",loadOptions:promiseOptions,...props});const options$5=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadErrorState=props=>{const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," Please make a valid selection"]});const[errorState,setErrorState]=useState(error);const[searchValue,setSearchValue]=useState(null);const handleOnChange=value=>setSearchValue(value);useEffect((()=>{if(searchValue){setErrorState("")}else{setErrorState(error)}}),[searchValue]);return jsx(Typeahead$1,{error:errorState,label:"Colors",onChange:handleOnChange,options:options$5,...props})};const options$4=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"},{label:"Amaranth",value:"#9F2B68"},{label:"Key Lime",value:"#DAF7A6"},{label:"Turquois",value:"#00FFD0"}];const TypeaheadCustomMenuList=props=>{const defaultColorOptions=options$4.slice(0,3);const[colorOptions,setColorOptions]=useState(defaultColorOptions);const moreToLoad=colorOptions.length==defaultColorOptions.length;const loadColors=moreToLoad?()=>setColorOptions(options$4):()=>setColorOptions(defaultColorOptions);const menuListProps={footer:jsx(Button$1,{margin:"sm",onClick:loadColors,text:`Load ${moreToLoad?"More":"Less"}`})};const MenuList=props2=>jsx(Typeahead$1.MenuList,{...menuListProps,...props2});return jsx(Typeahead$1,{components:{MenuList:MenuList},label:"Colors",options:colorOptions,...props})};const options$3=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadMarginBottom=props=>jsxs(Fragment$1,{children:[jsx(Typeahead$1,{label:"None",marginBottom:"none",options:options$3,...props}),jsx(Typeahead$1,{label:"XXS",marginBottom:"xxs",options:options$3,...props}),jsx(Typeahead$1,{label:"XS",marginBottom:"xs",options:options$3,...props}),jsx(Typeahead$1,{label:"Default - SM",options:options$3,...props}),jsx(Typeahead$1,{label:"MD",marginBottom:"md",options:options$3,...props}),jsx(Typeahead$1,{label:"LG",marginBottom:"lg",options:options$3,...props}),jsx(Typeahead$1,{label:"XL",marginBottom:"xl",options:options$3,...props})]});const options$2=[{label:"Windows",value:"#FFA500"},{label:"Siding",value:"#FF0000"},{label:"Doors",value:"#00FF00"},{label:"Roofs",value:"#0000FF"}];const TypeaheadWithPills=props=>jsx(Fragment$1,{children:jsx(Typeahead$1,{isMulti:true,label:"Colors",options:options$2,pillColor:"neutral",placeholder:"",...props})});const names=[{label:"Alexander Nathaniel Montgomery",value:"Alexander Nathaniel Montgomery"},{label:"Isabella Anastasia Wellington",value:"Isabella Anastasia Wellington"},{label:"Christopher Maximilian Harrington",value:"Christopher Maximilian Harrington"},{label:"Elizabeth Seraphina Kensington",value:"Elizabeth Seraphina Kensington"},{label:"Theodore Jonathan Abernathy",value:"Theodore Jonathan Abernathy"}];const TypeaheadTruncatedText=props=>jsx(Fragment$1,{children:jsx(Typeahead$1,{htmlOptions:{style:{maxWidth:"240px"}},isMulti:true,label:"Truncation Within Typeahead",options:names,truncate:1,...props})});const languages=[{label:"JavaScript",value:"1995",category:"Web Development"},{label:"Python",value:"1991",category:"General Purpose"},{label:"Java",value:"1995",category:"Enterprise"},{label:"C++",value:"1985",category:"Systems Programming"},{label:"Go",value:"2009",category:"Systems Programming"},{label:"Rust",value:"2010",category:"Systems Programming"},{label:"Swift",value:"2014",category:"Mobile Development"},{label:"Kotlin",value:"2011",category:"Mobile Development"},{label:"Ruby",value:"1995",category:"General Purpose"},{label:"PHP",value:"1995",category:"Web Development"}];const colors=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadReactHook=props=>{const{register:register,watch:watch}=useForm();const selectedLanguages=watch("languages");const selectedColor=watch("color");return jsxs(Fragment$1,{children:[jsx(Typeahead$1,{isMulti:true,label:"Multi Select Languages",multiKit:"language",options:languages,...props,...register("languages")}),jsx(Title$1,{size:4,text:"Selected Languages"}),selectedLanguages&&selectedLanguages.map((language=>jsx("p",{children:`${language.label} - ${language.value} - ${language.category}`},language.label))),jsx(Typeahead$1,{label:"Colors",marginTop:"lg",options:colors,...props,...register("color")}),jsx(Title$1,{size:4,text:"Selected Color"}),jsx("p",{children:selectedColor&&`${selectedColor.label} - ${selectedColor.value}`})]})};const options$1=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadDisabled=props=>jsx(Typeahead$1,{disabled:true,label:"Colors",options:options$1,...props});const options=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadPreserveInput=props=>jsx(Typeahead$1,{label:"Colors",options:options,preserveSearchInput:true,...props});const Typeahead=Object.freeze(Object.defineProperty({__proto__:null,TypeaheadAsyncCreateable:TypeaheadAsyncCreateable,TypeaheadCreateable:TypeaheadCreateable,TypeaheadCustomMenuList:TypeaheadCustomMenuList,TypeaheadDefault:TypeaheadDefault,TypeaheadDisabled:TypeaheadDisabled,TypeaheadErrorState:TypeaheadErrorState,TypeaheadInline:TypeaheadInline,TypeaheadMarginBottom:TypeaheadMarginBottom,TypeaheadMultiKit:TypeaheadMultiKit,TypeaheadPreserveInput:TypeaheadPreserveInput,TypeaheadReactHook:TypeaheadReactHook,TypeaheadTruncatedText:TypeaheadTruncatedText,TypeaheadWithHighlight:TypeaheadWithHighlight,TypeaheadWithPills:TypeaheadWithPills$1,TypeaheadWithPillsAsync:TypeaheadWithPillsAsync,TypeaheadWithPillsAsyncCustomOptions:TypeaheadWithPillsAsyncCustomOptions,TypeaheadWithPillsAsyncUsers:TypeaheadWithPillsAsyncUsers,TypeaheadWithPillsColor:TypeaheadWithPills},Symbol.toStringTag,{value:"Module"}));const UserDefault$1=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})}),jsxs("div",{children:[jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",...props}),jsx("br",{}),jsx(User$1,{align:"left",avatar:true,name:"Anna Black",orientation:"horizontal",...props})]})]});const UserLightWeight=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",bold:false,name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",bold:false,name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})}),jsxs("div",{children:[jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",bold:false,name:"Anna Black",orientation:"horizontal",...props}),jsx("br",{}),jsx(User$1,{align:"left",avatar:true,bold:false,name:"Anna Black",orientation:"horizontal",...props})]})]});const UserWithTerritory=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",territory:"PHL",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",territory:"PHL",title:"Remodeling Consultant",...props})}),jsxs("div",{children:[jsx(User$1,{align:"center",name:"Anna Black",orientation:"horizontal",size:"sm",territory:"PHL",title:"Remodeling Consultant",...props}),jsx("br",{}),jsx(User$1,{align:"left",name:"Anna Black",orientation:"horizontal",size:"lg",territory:"PHL",title:"Remodeling Consultant",...props})]})]});const UserTextOnly=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{align:"center",name:"Anna Black",orientation:"horizontal",size:"lg",title:"Remodeling Consultant",...props}),jsx(User$1,{align:"left",name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})]});const UserDefault=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",size:"sm",title:"Remodeling Consultant",...props}),jsx(User$1,{avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",size:"md",title:"Remodeling Consultant",...props}),jsx(User$1,{avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",size:"lg",title:"Remodeling Consultant",...props})]});const UserVerticalSize=props=>jsxs("div",{children:[jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"sm",title:"Remodeling Consultant",...props}),jsx("br",{}),jsx("br",{}),jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"md",title:"Remodeling Consultant",...props}),jsx("br",{}),jsx("br",{}),jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})]});const UserSubtitle=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",subtitle:"User ID: 12345",territory:"PHL",title:"Remodeling Consultant",...props}),jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",subtitle:"User ID: 12345",territory:"PHL",title:"Remodeling Consultant",...props})]});const MentorSubtitle=jsxs(Flex$1,{children:[jsx(Icon$1,{icon:"users"}),jsx(Caption$1,{paddingLeft:"xs",text:"Admin"})]});const ContactSubtitle=jsxs(Fragment$1,{children:[jsx(Contact$1,{contactType:"cell",contactValue:"349-185-9988"}),jsx(Contact$1,{contactValue:"5555555555"}),jsx(Contact$1,{contactType:"email",contactValue:"email@example.com"})]});const UserBlockContentSubtitleReact=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",subtitle:MentorSubtitle,territory:"PHL",title:"Remodeling Consultant",...props}),jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",subtitle:ContactSubtitle,...props})]});const UserFontOptions=props=>jsx("div",{children:jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",nameStyle:"body",orientation:"horizontal",size:"md",territory:"PHL",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",nameStyle:"detail",orientation:"horizontal",size:"md",territory:"PHL",title:"Remodeling Consultant",...props})})]})});const UserGrayscale=props=>jsx(User$1,{avatarGrayscale:true,avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",title:"Remodeling Consultant",...props});const User=Object.freeze(Object.defineProperty({__proto__:null,UserBlockContentSubtitleReact:UserBlockContentSubtitleReact,UserDefault:UserDefault$1,UserFontOptions:UserFontOptions,UserGrayscale:UserGrayscale,UserLightWeight:UserLightWeight,UserSize:UserDefault,UserSubtitle:UserSubtitle,UserTextOnly:UserTextOnly,UserVerticalSize:UserVerticalSize,UserWithTerritory:UserWithTerritory},Symbol.toStringTag,{value:"Module"}));const UserBadgeDefault=()=>jsxs("div",{children:[jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"md"})}),jsx("br",{}),jsx("br",{}),jsx("div",{children:jsx(UserBadge$1,{badge:"million-dollar",size:"md"})})]});const UserBadgeSize=()=>jsxs("div",{children:[jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"sm"})}),jsx("br",{}),jsx("br",{}),jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"md"})}),jsx("br",{}),jsx("br",{}),jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"lg"})})]});const UserBadge=Object.freeze(Object.defineProperty({__proto__:null,UserBadgeDefault:UserBadgeDefault,UserBadgeSize:UserBadgeSize},Symbol.toStringTag,{value:"Module"}));const WalkthroughDefault=props=>{const[state,setState]=useState({run:false,steps:[{title:"Example title",content:"This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing",target:".example"},{title:"Toggle",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb_toggle_control"},{title:"Top Nav",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"example",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,...props})]})};const WalkthroughContinuous=props=>{const[state,setState]=useState({run:false,steps:[{title:"Example Title",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".examplePaused"},{title:"Toggle",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb_toggle_control"},{title:"Top Nav",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"examplePaused",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,...props,continuous:true})]})};const WalkthroughNoBeacon=props=>{const[state,setState]=useState({callback:data3=>{if(data3.action==="close"&&data3.type==="step:after"){setState({...state,run:false})}},run:false,steps:[{title:"Example Title",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".exampleNoBeacon",disableBeacon:true},{title:"Toggle",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb_toggle_control"},{title:"Top Nav",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"exampleNoBeacon",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,...props,continuous:true})]})};const WalkthroughMultiBeacon=props=>{const[stateA,setStateA]=useState({run:false,steps:[{title:"Example title",content:"This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing",target:".exampleMulti"}]});const[stateB,setStateB]=useState({run:false,steps:[{title:"Toggle",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb_toggle_control"}]});const[stateC,setStateC]=useState({run:false,steps:[{title:"Top Nav",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"exampleMulti",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setStateA({...stateA,run:true});setStateB({...stateB,run:true});setStateC({...stateC,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setStateA({...stateA,run:false});setStateB({...stateB,run:false});setStateC({...stateC,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:stateA.run,steps:stateA.steps,...props}),jsx(Walkthrough$1,{run:stateB.run,steps:stateB.steps,...props}),jsx(Walkthrough$1,{run:stateC.run,steps:stateC.steps,...props})]})};const WalkthroughNoOverlay=props=>{const[noOverlay,setNoOverlayState]=useState({callback:data3=>{if(data3.action==="close"&&data3.type==="step:after"){setNoOverlayState({...noOverlay,run:false})}},disableOverlay:true,run:false,steps:[{title:"Example Title",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".exampleNoOverlay"},{title:"Toggle",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb_toggle_control"},{title:"Top Nav",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"exampleNoOverlay",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setNoOverlayState({...noOverlay,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setNoOverlayState({...noOverlay,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{disableOverlay:true,run:noOverlay.run,steps:noOverlay.steps,...props})]})};const WalkthroughStyled=props=>{const[state,setState]=useState({run:false,steps:[{title:"Example title",content:"This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing",target:".styled"},{title:"Toggle",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb_toggle_control"},{title:"Top Nav",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"styled",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,styles:{options:{beaconSize:120}},...props})]})};const Walkthrough=Object.freeze(Object.defineProperty({__proto__:null,WalkthroughContinuous:WalkthroughContinuous,WalkthroughDefault:WalkthroughDefault,WalkthroughMultiBeacon:WalkthroughMultiBeacon,WalkthroughNoBeacon:WalkthroughNoBeacon,WalkthroughNoOverlay:WalkthroughNoOverlay,WalkthroughStyled:WalkthroughStyled},Symbol.toStringTag,{value:"Module"}));const WeekdayStackedDefault=props=>jsxs("div",{children:[jsx(WeekdayStacked$1,{className:"test",...props}),jsx(WeekdayStacked$1,{align:"center",...props}),jsx(WeekdayStacked$1,{align:"right",...props})]});const WeekdayStackedVariant=props=>jsxs("div",{children:[jsx(WeekdayStacked$1,{variant:"day_only",...props}),jsx(WeekdayStacked$1,{align:"center",variant:"month_day",...props}),jsx(WeekdayStacked$1,{align:"right",variant:"expanded",...props})]});const WeekdayStackedCompact=props=>jsxs("div",{children:[jsx(WeekdayStacked$1,{compact:true,variant:"day_only",...props}),jsx(WeekdayStacked$1,{align:"center",compact:true,variant:"month_day",...props}),jsx(WeekdayStacked$1,{align:"right",compact:true,variant:"expanded",...props})]});const WeekdayStacked=Object.freeze(Object.defineProperty({__proto__:null,WeekdayStackedCompact:WeekdayStackedCompact,WeekdayStackedDefault:WeekdayStackedDefault,WeekdayStackedVariant:WeekdayStackedVariant},Symbol.toStringTag,{value:"Module"}));WebpackerReact.registerComponents({...AdvancedTable,...Avatar,...Background,...Badge,...BarGraphDocs,...Body,...BreadCrumbs,...Button,...ButtonToolbar,...Caption,...Card,...Checkbox,...CircleChart,...CircleIconButton,...Collapsible,...Contact,...CopyButton,...Currency,...DashboardValue,...Date$1,...DatePicker,...DateRangeInline,...DateRangeStacked,...DateStacked,...DateTime,...DateTimeStacked,...DateYearStacked,...Detail,...Dialog,...DistributionBarDocs,...Draggable,...Drawer,...Dropdown,...EmptyState,...FileUpload,...Filter,...FixedConfirmationToast,...Flex,...FormGroup,...FormPill,...Gauge,...Hashtag,...Highlight$1,...HomeAddressStreet,...Icon,...IconButton,...IconCircle,...IconStatValue,...IconValue,...Image,...LabelPill,...LabelValue,...Layout,...LegendDocs,...Lightbox,...LineGraphDocs,...Link$1,...List,...LoadingInline,...Map$1,...Message,...MultiLevelSelect,...MultipleUsers,...MultipleUsersStacked,...Nav,...OnlineStatus,...Overlay,...Pagination,...Passphrase,...PbReactPopover,...Person,...PersonContact,...PhoneNumberInput,...Pill,...ProgressPills,...ProgressSimple,...ProgressStep,...Radio,...RichTextEditor,...SectionSeparator,...Select,...SelectableCard,...SelectableCardIcon,...SelectableIcon,...SelectableList,...SkeletonLoading,...Source,...StarRating,...StatChange,...StatValue,...Table,...TextInput,...Textarea,...Time,...TimeRangeInline,...TimeStacked,...Timeline,...Timestamp,...Title,...TitleCount,...TitleDetail,...Toggle,...Tooltip,...TreemapChart,...Typeahead,...User,...UserBadge,...Walkthrough,...WeekdayStacked});
|
19
|
+
*/var hasRequiredWithSelector_production_min;function requireWithSelector_production_min(){if(hasRequiredWithSelector_production_min)return withSelector_production_min;hasRequiredWithSelector_production_min=1;var h=React__default,n=shimExports;function p(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var q="function"===typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue;withSelector_production_min.useSyncExternalStoreWithSelector=function(a,b,e,l,g){var c=t(null);if(null===c.current){var f={hasValue:false,value:null};c.current=f}else f=c.current;c=v((function(){function a2(a3){if(!c2){c2=true;d2=a3;a3=l(a3);if(void 0!==g&&f.hasValue){var b2=f.value;if(g(b2,a3))return k2=b2}return k2=a3}b2=k2;if(q(d2,a3))return b2;var e2=l(a3);if(void 0!==g&&g(b2,e2))return b2;d2=a3;return k2=e2}var c2=false,d2,k2,m=void 0===e?null:e;return[function(){return a2(b())},null===m?void 0:function(){return a2(m())}]}),[b,e,l,g]);var d=r(a,c[0],c[1]);u((function(){f.hasValue=true;f.value=d}),[d]);w(d);return d};return withSelector_production_min}{withSelector.exports=requireWithSelector_production_min()}var withSelectorExports=withSelector.exports;const useIsomorphicLayoutEffect=typeof window!=="undefined"?useLayoutEffect:useEffect;class EditorStateManager{constructor(initialEditor){this.transactionNumber=0;this.lastTransactionNumber=0;this.subscribers=new Set;this.editor=initialEditor;this.lastSnapshot={editor:initialEditor,transactionNumber:0};this.getSnapshot=this.getSnapshot.bind(this);this.getServerSnapshot=this.getServerSnapshot.bind(this);this.watch=this.watch.bind(this);this.subscribe=this.subscribe.bind(this)}getSnapshot(){if(this.transactionNumber===this.lastTransactionNumber){return this.lastSnapshot}this.lastTransactionNumber=this.transactionNumber;this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber};return this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(callback){this.subscribers.add(callback);return()=>{this.subscribers.delete(callback)}}watch(nextEditor){this.editor=nextEditor;if(this.editor){const fn=()=>{this.transactionNumber+=1;this.subscribers.forEach((callback=>callback()))};const currentEditor=this.editor;currentEditor.on("transaction",fn);return()=>{currentEditor.off("transaction",fn)}}return void 0}}function useEditorState(options2){var _a;const[editorStateManager]=useState((()=>new EditorStateManager(options2.editor)));const selectedState=withSelectorExports.useSyncExternalStoreWithSelector(editorStateManager.subscribe,editorStateManager.getSnapshot,editorStateManager.getServerSnapshot,options2.selector,(_a=options2.equalityFn)!==null&&_a!==void 0?_a:deepEqual);useIsomorphicLayoutEffect((()=>editorStateManager.watch(options2.editor)),[options2.editor,editorStateManager]);useDebugValue(selectedState);return selectedState}const isDev=false;const isSSR=typeof window==="undefined";const isNext=isSSR||Boolean(typeof window!=="undefined"&&window.next);class EditorInstanceManager{constructor(options2){this.editor=null;this.subscriptions=new Set;this.isComponentMounted=false;this.previousDeps=null;this.instanceId="";this.options=options2;this.subscriptions=new Set;this.setEditor(this.getInitialEditor());this.scheduleDestroy();this.getEditor=this.getEditor.bind(this);this.getServerSnapshot=this.getServerSnapshot.bind(this);this.subscribe=this.subscribe.bind(this);this.refreshEditorInstance=this.refreshEditorInstance.bind(this);this.scheduleDestroy=this.scheduleDestroy.bind(this);this.onRender=this.onRender.bind(this);this.createEditor=this.createEditor.bind(this)}setEditor(editor){this.editor=editor;this.instanceId=Math.random().toString(36).slice(2,9);this.subscriptions.forEach((cb=>cb()))}getInitialEditor(){if(this.options.current.immediatelyRender===void 0){if(isSSR||isNext){return null}return this.createEditor()}if(this.options.current.immediatelyRender&&isSSR&&isDev){throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.")}if(this.options.current.immediatelyRender){return this.createEditor()}return null}createEditor(){const optionsToApply={...this.options.current,onBeforeCreate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onBeforeCreate)===null||_b===void 0?void 0:_b.call(_a,...args)},onBlur:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onBlur)===null||_b===void 0?void 0:_b.call(_a,...args)},onCreate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onCreate)===null||_b===void 0?void 0:_b.call(_a,...args)},onDestroy:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onDestroy)===null||_b===void 0?void 0:_b.call(_a,...args)},onFocus:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onFocus)===null||_b===void 0?void 0:_b.call(_a,...args)},onSelectionUpdate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onSelectionUpdate)===null||_b===void 0?void 0:_b.call(_a,...args)},onTransaction:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onTransaction)===null||_b===void 0?void 0:_b.call(_a,...args)},onUpdate:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onUpdate)===null||_b===void 0?void 0:_b.call(_a,...args)},onContentError:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onContentError)===null||_b===void 0?void 0:_b.call(_a,...args)},onDrop:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onDrop)===null||_b===void 0?void 0:_b.call(_a,...args)},onPaste:(...args)=>{var _a,_b;return(_b=(_a=this.options.current).onPaste)===null||_b===void 0?void 0:_b.call(_a,...args)}};const editor=new Editor(optionsToApply);return editor}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(onStoreChange){this.subscriptions.add(onStoreChange);return()=>{this.subscriptions.delete(onStoreChange)}}static compareOptions(a,b){return Object.keys(a).every((key=>{if(["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(key)){return true}if(key==="extensions"&&a.extensions&&b.extensions){if(a.extensions.length!==b.extensions.length){return false}return a.extensions.every(((extension,index)=>{var _a;if(extension!==((_a=b.extensions)===null||_a===void 0?void 0:_a[index])){return false}return true}))}if(a[key]!==b[key]){return false}return true}))}onRender(deps){return()=>{this.isComponentMounted=true;clearTimeout(this.scheduledDestructionTimeout);if(this.editor&&!this.editor.isDestroyed&&deps.length===0){if(!EditorInstanceManager.compareOptions(this.options.current,this.editor.options)){this.editor.setOptions({...this.options.current,editable:this.editor.isEditable})}}else{this.refreshEditorInstance(deps)}return()=>{this.isComponentMounted=false;this.scheduleDestroy()}}}refreshEditorInstance(deps){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=deps;return}const depsAreEqual=this.previousDeps.length===deps.length&&this.previousDeps.every(((dep,index)=>dep===deps[index]));if(depsAreEqual){return}}if(this.editor&&!this.editor.isDestroyed){this.editor.destroy()}this.setEditor(this.createEditor());this.previousDeps=deps}scheduleDestroy(){const currentInstanceId=this.instanceId;const currentEditor=this.editor;this.scheduledDestructionTimeout=setTimeout((()=>{if(this.isComponentMounted&&this.instanceId===currentInstanceId){if(currentEditor){currentEditor.setOptions(this.options.current)}return}if(currentEditor&&!currentEditor.isDestroyed){currentEditor.destroy();if(this.instanceId===currentInstanceId){this.setEditor(null)}}}),1)}}function useEditor(options2={},deps=[]){const mostRecentOptions=useRef(options2);mostRecentOptions.current=options2;const[instanceManager]=useState((()=>new EditorInstanceManager(mostRecentOptions)));const editor=shimExports.useSyncExternalStore(instanceManager.subscribe,instanceManager.getEditor,instanceManager.getServerSnapshot);useDebugValue(editor);useEffect(instanceManager.onRender(deps));useEditorState({editor:editor,selector:({transactionNumber:transactionNumber})=>{if(options2.shouldRerenderOnTransaction===false){return null}if(options2.immediatelyRender&&transactionNumber===0){return 0}return transactionNumber+1}});return editor}const EditorContext=createContext({editor:null});EditorContext.Consumer;const ReactNodeViewContext=createContext({onDragStart:void 0});const useReactNodeView=()=>useContext(ReactNodeViewContext);React__default.forwardRef(((props,ref)=>{const{onDragStart:onDragStart}=useReactNodeView();const Tag=props.as||"div";return React__default.createElement(Tag,{...props,ref:ref,"data-node-view-wrapper":"",onDragStart:onDragStart,style:{whiteSpace:"normal",...props.style}})}));const inputRegex$5=/^\s*>\s$/;const Blockquote=Node2.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:true,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["blockquote",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setBlockquote:()=>({commands:commands2})=>commands2.wrapIn(this.name),toggleBlockquote:()=>({commands:commands2})=>commands2.toggleWrap(this.name),unsetBlockquote:()=>({commands:commands2})=>commands2.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[wrappingInputRule({find:inputRegex$5,type:this.type})]}});const starInputRegex$1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/;const starPasteRegex$1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g;const underscoreInputRegex$1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/;const underscorePasteRegex$1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g;const Bold=Mark2.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:node=>node.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:mark=>mark.type.name===this.name},{style:"font-weight",getAttrs:value=>/^(bold(er)?|[5-9]\d{2,})$/.test(value)&&null}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["strong",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setBold:()=>({commands:commands2})=>commands2.setMark(this.name),toggleBold:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetBold:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[markInputRule({find:starInputRegex$1,type:this.type}),markInputRule({find:underscoreInputRegex$1,type:this.type})]},addPasteRules(){return[markPasteRule({find:starPasteRegex$1,type:this.type}),markPasteRule({find:underscorePasteRegex$1,type:this.type})]}});const ListItemName$1="listItem";const TextStyleName$1="textStyle";const inputRegex$4=/^\s*([-+*])\s$/;const BulletList=Node2.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:false,keepAttributes:false}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["ul",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{toggleBulletList:()=>({commands:commands2,chain:chain})=>{if(this.options.keepAttributes){return chain().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(ListItemName$1,this.editor.getAttributes(TextStyleName$1)).run()}return commands2.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let inputRule=wrappingInputRule({find:inputRegex$4,type:this.type});if(this.options.keepMarks||this.options.keepAttributes){inputRule=wrappingInputRule({find:inputRegex$4,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(TextStyleName$1),editor:this.editor})}return[inputRule]}});const inputRegex$3=/(^|[^`])`([^`]+)`(?!`)/;const pasteRegex$2=/(^|[^`])`([^`]+)`(?!`)/g;const Code=Mark2.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:true,exitable:true,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["code",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setCode:()=>({commands:commands2})=>commands2.setMark(this.name),toggleCode:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetCode:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[markInputRule({find:inputRegex$3,type:this.type})]},addPasteRules(){return[markPasteRule({find:pasteRegex$2,type:this.type})]}});const backtickInputRegex=/^```([a-z]+)?[\s\n]$/;const tildeInputRegex=/^~~~([a-z]+)?[\s\n]$/;const CodeBlock=Node2.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:true,exitOnArrowDown:true,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:true,defining:true,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:element=>{var _a;const{languageClassPrefix:languageClassPrefix}=this.options;const classNames=[...((_a=element.firstElementChild)===null||_a===void 0?void 0:_a.classList)||[]];const languages2=classNames.filter((className=>className.startsWith(languageClassPrefix))).map((className=>className.replace(languageClassPrefix,"")));const language=languages2[0];if(!language){return null}return language},rendered:false}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:node,HTMLAttributes:HTMLAttributes}){return["pre",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),["code",{class:node.attrs.language?this.options.languageClassPrefix+node.attrs.language:null},0]]},addCommands(){return{setCodeBlock:attributes=>({commands:commands2})=>commands2.setNode(this.name,attributes),toggleCodeBlock:attributes=>({commands:commands2})=>commands2.toggleNode(this.name,"paragraph",attributes)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:empty2,$anchor:$anchor}=this.editor.state.selection;const isAtStart=$anchor.pos===1;if(!empty2||$anchor.parent.type.name!==this.name){return false}if(isAtStart||!$anchor.parent.textContent.length){return this.editor.commands.clearNodes()}return false},Enter:({editor:editor})=>{if(!this.options.exitOnTripleEnter){return false}const{state:state}=editor;const{selection:selection}=state;const{$from:$from,empty:empty2}=selection;if(!empty2||$from.parent.type!==this.type){return false}const isAtEnd=$from.parentOffset===$from.parent.nodeSize-2;const endsWithDoubleNewline=$from.parent.textContent.endsWith("\n\n");if(!isAtEnd||!endsWithDoubleNewline){return false}return editor.chain().command((({tr:tr2})=>{tr2.delete($from.pos-2,$from.pos);return true})).exitCode().run()},ArrowDown:({editor:editor})=>{if(!this.options.exitOnArrowDown){return false}const{state:state}=editor;const{selection:selection,doc:doc2}=state;const{$from:$from,empty:empty2}=selection;if(!empty2||$from.parent.type!==this.type){return false}const isAtEnd=$from.parentOffset===$from.parent.nodeSize-2;if(!isAtEnd){return false}const after=$from.after();if(after===void 0){return false}const nodeAfter=doc2.nodeAt(after);if(nodeAfter){return editor.commands.command((({tr:tr2})=>{tr2.setSelection(Selection.near(doc2.resolve(after)));return true}))}return editor.commands.exitCode()}}},addInputRules(){return[textblockTypeInputRule({find:backtickInputRegex,type:this.type,getAttributes:match=>({language:match[1]})}),textblockTypeInputRule({find:tildeInputRegex,type:this.type,getAttributes:match=>({language:match[1]})})]},addProseMirrorPlugins(){return[new Plugin({key:new PluginKey("codeBlockVSCodeHandler"),props:{handlePaste:(view,event2)=>{if(!event2.clipboardData){return false}if(this.editor.isActive(this.type.name)){return false}const text=event2.clipboardData.getData("text/plain");const vscode=event2.clipboardData.getData("vscode-editor-data");const vscodeData=vscode?JSON.parse(vscode):void 0;const language=vscodeData===null||vscodeData===void 0?void 0:vscodeData.mode;if(!text||!language){return false}const{tr:tr2,schema:schema}=view.state;const textNode=schema.text(text.replace(/\r\n?/g,"\n"));tr2.replaceSelectionWith(this.type.create({language:language},textNode));if(tr2.selection.$from.parent.type!==this.type){tr2.setSelection(TextSelection.near(tr2.doc.resolve(Math.max(0,tr2.selection.from-2))))}tr2.setMeta("paste",true);view.dispatch(tr2);return true}}})]}});const Document=Node2.create({name:"doc",topNode:true,content:"block+"});function dropCursor(options2={}){return new Plugin({view(editorView){return new DropCursorView(editorView,options2)}})}class DropCursorView{constructor(editorView,options2){var _a;this.editorView=editorView;this.cursorPos=null;this.element=null;this.timeout=-1;this.width=(_a=options2.width)!==null&&_a!==void 0?_a:1;this.color=options2.color===false?void 0:options2.color||"black";this.class=options2.class;this.handlers=["dragover","dragend","drop","dragleave"].map((name2=>{let handler=e=>{this[name2](e)};editorView.dom.addEventListener(name2,handler);return{name:name2,handler:handler}}))}destroy(){this.handlers.forEach((({name:name2,handler:handler})=>this.editorView.dom.removeEventListener(name2,handler)))}update(editorView,prevState){if(this.cursorPos!=null&&prevState.doc!=editorView.state.doc){if(this.cursorPos>editorView.state.doc.content.size)this.setCursor(null);else this.updateOverlay()}}setCursor(pos){if(pos==this.cursorPos)return;this.cursorPos=pos;if(pos==null){this.element.parentNode.removeChild(this.element);this.element=null}else{this.updateOverlay()}}updateOverlay(){let $pos=this.editorView.state.doc.resolve(this.cursorPos);let isBlock=!$pos.parent.inlineContent,rect;if(isBlock){let before=$pos.nodeBefore,after=$pos.nodeAfter;if(before||after){let node=this.editorView.nodeDOM(this.cursorPos-(before?before.nodeSize:0));if(node){let nodeRect=node.getBoundingClientRect();let top=before?nodeRect.bottom:nodeRect.top;if(before&&after)top=(top+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2;rect={left:nodeRect.left,right:nodeRect.right,top:top-this.width/2,bottom:top+this.width/2}}}}if(!rect){let coords=this.editorView.coordsAtPos(this.cursorPos);rect={left:coords.left-this.width/2,right:coords.left+this.width/2,top:coords.top,bottom:coords.bottom}}let parent=this.editorView.dom.offsetParent;if(!this.element){this.element=parent.appendChild(document.createElement("div"));if(this.class)this.element.className=this.class;this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;";if(this.color){this.element.style.backgroundColor=this.color}}this.element.classList.toggle("prosemirror-dropcursor-block",isBlock);this.element.classList.toggle("prosemirror-dropcursor-inline",!isBlock);let parentLeft,parentTop;if(!parent||parent==document.body&&getComputedStyle(parent).position=="static"){parentLeft=-pageXOffset;parentTop=-pageYOffset}else{let rect2=parent.getBoundingClientRect();parentLeft=rect2.left-parent.scrollLeft;parentTop=rect2.top-parent.scrollTop}this.element.style.left=rect.left-parentLeft+"px";this.element.style.top=rect.top-parentTop+"px";this.element.style.width=rect.right-rect.left+"px";this.element.style.height=rect.bottom-rect.top+"px"}scheduleRemoval(timeout){clearTimeout(this.timeout);this.timeout=setTimeout((()=>this.setCursor(null)),timeout)}dragover(event2){if(!this.editorView.editable)return;let pos=this.editorView.posAtCoords({left:event2.clientX,top:event2.clientY});let node=pos&&pos.inside>=0&&this.editorView.state.doc.nodeAt(pos.inside);let disableDropCursor=node&&node.type.spec.disableDropCursor;let disabled=typeof disableDropCursor=="function"?disableDropCursor(this.editorView,pos,event2):disableDropCursor;if(pos&&!disabled){let target=pos.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let point=dropPoint(this.editorView.state.doc,target,this.editorView.dragging.slice);if(point!=null)target=point}this.setCursor(target);this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(event2){if(event2.target==this.editorView.dom||!this.editorView.dom.contains(event2.relatedTarget))this.setCursor(null)}}const Dropcursor=Extension.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[dropCursor(this.options)]}});class GapCursor extends Selection{constructor($pos){super($pos,$pos)}map(doc2,mapping){let $pos=doc2.resolve(mapping.map(this.head));return GapCursor.valid($pos)?new GapCursor($pos):Selection.near($pos)}content(){return Slice.empty}eq(other){return other instanceof GapCursor&&other.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(doc2,json){if(typeof json.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new GapCursor(doc2.resolve(json.pos))}getBookmark(){return new GapBookmark(this.anchor)}static valid($pos){let parent=$pos.parent;if(parent.isTextblock||!closedBefore($pos)||!closedAfter($pos))return false;let override=parent.type.spec.allowGapCursor;if(override!=null)return override;let deflt=parent.contentMatchAt($pos.index()).defaultType;return deflt&&deflt.isTextblock}static findGapCursorFrom($pos,dir,mustMove=false){search:for(;;){if(!mustMove&&GapCursor.valid($pos))return $pos;let pos=$pos.pos,next=null;for(let d=$pos.depth;;d--){let parent=$pos.node(d);if(dir>0?$pos.indexAfter(d)<parent.childCount:$pos.index(d)>0){next=parent.child(dir>0?$pos.indexAfter(d):$pos.index(d)-1);break}else if(d==0){return null}pos+=dir;let $cur=$pos.doc.resolve(pos);if(GapCursor.valid($cur))return $cur}for(;;){let inside=dir>0?next.firstChild:next.lastChild;if(!inside){if(next.isAtom&&!next.isText&&!NodeSelection.isSelectable(next)){$pos=$pos.doc.resolve(pos+next.nodeSize*dir);mustMove=false;continue search}break}next=inside;pos+=dir;let $cur=$pos.doc.resolve(pos);if(GapCursor.valid($cur))return $cur}return null}}}GapCursor.prototype.visible=false;GapCursor.findFrom=GapCursor.findGapCursorFrom;Selection.jsonID("gapcursor",GapCursor);class GapBookmark{constructor(pos){this.pos=pos}map(mapping){return new GapBookmark(mapping.map(this.pos))}resolve(doc2){let $pos=doc2.resolve(this.pos);return GapCursor.valid($pos)?new GapCursor($pos):Selection.near($pos)}}function closedBefore($pos){for(let d=$pos.depth;d>=0;d--){let index=$pos.index(d),parent=$pos.node(d);if(index==0){if(parent.type.spec.isolating)return true;continue}for(let before=parent.child(index-1);;before=before.lastChild){if(before.childCount==0&&!before.inlineContent||before.isAtom||before.type.spec.isolating)return true;if(before.inlineContent)return false}}return true}function closedAfter($pos){for(let d=$pos.depth;d>=0;d--){let index=$pos.indexAfter(d),parent=$pos.node(d);if(index==parent.childCount){if(parent.type.spec.isolating)return true;continue}for(let after=parent.child(index);;after=after.firstChild){if(after.childCount==0&&!after.inlineContent||after.isAtom||after.type.spec.isolating)return true;if(after.inlineContent)return false}}return true}function gapCursor(){return new Plugin({props:{decorations:drawGapCursor,createSelectionBetween(_view,$anchor,$head){return $anchor.pos==$head.pos&&GapCursor.valid($head)?new GapCursor($head):null},handleClick:handleClick,handleKeyDown:handleKeyDown,handleDOMEvents:{beforeinput:beforeinput}}})}const handleKeyDown=keydownHandler({ArrowLeft:arrow("horiz",-1),ArrowRight:arrow("horiz",1),ArrowUp:arrow("vert",-1),ArrowDown:arrow("vert",1)});function arrow(axis,dir){const dirStr=axis=="vert"?dir>0?"down":"up":dir>0?"right":"left";return function(state,dispatch,view){let sel=state.selection;let $start=dir>0?sel.$to:sel.$from,mustMove=sel.empty;if(sel instanceof TextSelection){if(!view.endOfTextblock(dirStr)||$start.depth==0)return false;mustMove=false;$start=state.doc.resolve(dir>0?$start.after():$start.before())}let $found=GapCursor.findGapCursorFrom($start,dir,mustMove);if(!$found)return false;if(dispatch)dispatch(state.tr.setSelection(new GapCursor($found)));return true}}function handleClick(view,pos,event2){if(!view||!view.editable)return false;let $pos=view.state.doc.resolve(pos);if(!GapCursor.valid($pos))return false;let clickPos=view.posAtCoords({left:event2.clientX,top:event2.clientY});if(clickPos&&clickPos.inside>-1&&NodeSelection.isSelectable(view.state.doc.nodeAt(clickPos.inside)))return false;view.dispatch(view.state.tr.setSelection(new GapCursor($pos)));return true}function beforeinput(view,event2){if(event2.inputType!="insertCompositionText"||!(view.state.selection instanceof GapCursor))return false;let{$from:$from}=view.state.selection;let insert=$from.parent.contentMatchAt($from.index()).findWrapping(view.state.schema.nodes.text);if(!insert)return false;let frag=Fragment.empty;for(let i=insert.length-1;i>=0;i--)frag=Fragment.from(insert[i].createAndFill(null,frag));let tr2=view.state.tr.replace($from.pos,$from.pos,new Slice(frag,0,0));tr2.setSelection(TextSelection.near(tr2.doc.resolve($from.pos+1)));view.dispatch(tr2);return false}function drawGapCursor(state){if(!(state.selection instanceof GapCursor))return null;let node=document.createElement("div");node.className="ProseMirror-gapcursor";return DecorationSet.create(state.doc,[Decoration.widget(state.selection.head,node,{key:"gapcursor"})])}const Gapcursor=Extension.create({name:"gapCursor",addProseMirrorPlugins(){return[gapCursor()]},extendNodeSchema(extension){var _a;const context={name:extension.name,options:extension.options,storage:extension.storage};return{allowGapCursor:(_a=callOrReturn(getExtensionField(extension,"allowGapCursor",context)))!==null&&_a!==void 0?_a:null}}});const HardBreak=Node2.create({name:"hardBreak",addOptions(){return{keepMarks:true,HTMLAttributes:{}}},inline:true,group:"inline",selectable:false,linebreakReplacement:true,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["br",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes)]},renderText(){return"\n"},addCommands(){return{setHardBreak:()=>({commands:commands2,chain:chain,state:state,editor:editor})=>commands2.first([()=>commands2.exitCode(),()=>commands2.command((()=>{const{selection:selection,storedMarks:storedMarks}=state;if(selection.$from.parent.type.spec.isolating){return false}const{keepMarks:keepMarks}=this.options;const{splittableMarks:splittableMarks}=editor.extensionManager;const marks=storedMarks||selection.$to.parentOffset&&selection.$from.marks();return chain().insertContent({type:this.name}).command((({tr:tr2,dispatch:dispatch})=>{if(dispatch&&marks&&keepMarks){const filteredMarks=marks.filter((mark=>splittableMarks.includes(mark.type.name)));tr2.ensureMarks(filteredMarks)}return true})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});const Heading=Node2.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:true,addAttributes(){return{level:{default:1,rendered:false}}},parseHTML(){return this.options.levels.map((level=>({tag:`h${level}`,attrs:{level:level}})))},renderHTML({node:node,HTMLAttributes:HTMLAttributes}){const hasLevel=this.options.levels.includes(node.attrs.level);const level=hasLevel?node.attrs.level:this.options.levels[0];return[`h${level}`,mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setHeading:attributes=>({commands:commands2})=>{if(!this.options.levels.includes(attributes.level)){return false}return commands2.setNode(this.name,attributes)},toggleHeading:attributes=>({commands:commands2})=>{if(!this.options.levels.includes(attributes.level)){return false}return commands2.toggleNode(this.name,"paragraph",attributes)}}},addKeyboardShortcuts(){return this.options.levels.reduce(((items,level)=>({...items,...{[`Mod-Alt-${level}`]:()=>this.editor.commands.toggleHeading({level:level})}})),{})},addInputRules(){return this.options.levels.map((level=>textblockTypeInputRule({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${level}})\\s$`),type:this.type,getAttributes:{level:level}})))}});var GOOD_LEAF_SIZE=200;var RopeSequence=function RopeSequence2(){};RopeSequence.prototype.append=function append(other){if(!other.length){return this}other=RopeSequence.from(other);return!this.length&&other||other.length<GOOD_LEAF_SIZE&&this.leafAppend(other)||this.length<GOOD_LEAF_SIZE&&other.leafPrepend(this)||this.appendInner(other)};RopeSequence.prototype.prepend=function prepend(other){if(!other.length){return this}return RopeSequence.from(other).append(this)};RopeSequence.prototype.appendInner=function appendInner(other){return new Append(this,other)};RopeSequence.prototype.slice=function slice(from2,to){if(from2===void 0)from2=0;if(to===void 0)to=this.length;if(from2>=to){return RopeSequence.empty}return this.sliceInner(Math.max(0,from2),Math.min(this.length,to))};RopeSequence.prototype.get=function get2(i){if(i<0||i>=this.length){return void 0}return this.getInner(i)};RopeSequence.prototype.forEach=function forEach2(f,from2,to){if(from2===void 0)from2=0;if(to===void 0)to=this.length;if(from2<=to){this.forEachInner(f,from2,to,0)}else{this.forEachInvertedInner(f,from2,to,0)}};RopeSequence.prototype.map=function map(f,from2,to){if(from2===void 0)from2=0;if(to===void 0)to=this.length;var result=[];this.forEach((function(elt,i){return result.push(f(elt,i))}),from2,to);return result};RopeSequence.from=function from(values){if(values instanceof RopeSequence){return values}return values&&values.length?new Leaf(values):RopeSequence.empty};var Leaf=function(RopeSequence3){function Leaf2(values){RopeSequence3.call(this);this.values=values}if(RopeSequence3)Leaf2.__proto__=RopeSequence3;Leaf2.prototype=Object.create(RopeSequence3&&RopeSequence3.prototype);Leaf2.prototype.constructor=Leaf2;var prototypeAccessors={length:{configurable:true},depth:{configurable:true}};Leaf2.prototype.flatten=function flatten(){return this.values};Leaf2.prototype.sliceInner=function sliceInner(from2,to){if(from2==0&&to==this.length){return this}return new Leaf2(this.values.slice(from2,to))};Leaf2.prototype.getInner=function getInner(i){return this.values[i]};Leaf2.prototype.forEachInner=function forEachInner(f,from2,to,start){for(var i=from2;i<to;i++){if(f(this.values[i],start+i)===false){return false}}};Leaf2.prototype.forEachInvertedInner=function forEachInvertedInner(f,from2,to,start){for(var i=from2-1;i>=to;i--){if(f(this.values[i],start+i)===false){return false}}};Leaf2.prototype.leafAppend=function leafAppend(other){if(this.length+other.length<=GOOD_LEAF_SIZE){return new Leaf2(this.values.concat(other.flatten()))}};Leaf2.prototype.leafPrepend=function leafPrepend(other){if(this.length+other.length<=GOOD_LEAF_SIZE){return new Leaf2(other.flatten().concat(this.values))}};prototypeAccessors.length.get=function(){return this.values.length};prototypeAccessors.depth.get=function(){return 0};Object.defineProperties(Leaf2.prototype,prototypeAccessors);return Leaf2}(RopeSequence);RopeSequence.empty=new Leaf([]);var Append=function(RopeSequence3){function Append2(left,right){RopeSequence3.call(this);this.left=left;this.right=right;this.length=left.length+right.length;this.depth=Math.max(left.depth,right.depth)+1}if(RopeSequence3)Append2.__proto__=RopeSequence3;Append2.prototype=Object.create(RopeSequence3&&RopeSequence3.prototype);Append2.prototype.constructor=Append2;Append2.prototype.flatten=function flatten(){return this.left.flatten().concat(this.right.flatten())};Append2.prototype.getInner=function getInner(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)};Append2.prototype.forEachInner=function forEachInner(f,from2,to,start){var leftLen=this.left.length;if(from2<leftLen&&this.left.forEachInner(f,from2,Math.min(to,leftLen),start)===false){return false}if(to>leftLen&&this.right.forEachInner(f,Math.max(from2-leftLen,0),Math.min(this.length,to)-leftLen,start+leftLen)===false){return false}};Append2.prototype.forEachInvertedInner=function forEachInvertedInner(f,from2,to,start){var leftLen=this.left.length;if(from2>leftLen&&this.right.forEachInvertedInner(f,from2-leftLen,Math.max(to,leftLen)-leftLen,start+leftLen)===false){return false}if(to<leftLen&&this.left.forEachInvertedInner(f,Math.min(from2,leftLen),to,start)===false){return false}};Append2.prototype.sliceInner=function sliceInner(from2,to){if(from2==0&&to==this.length){return this}var leftLen=this.left.length;if(to<=leftLen){return this.left.slice(from2,to)}if(from2>=leftLen){return this.right.slice(from2-leftLen,to-leftLen)}return this.left.slice(from2,leftLen).append(this.right.slice(0,to-leftLen))};Append2.prototype.leafAppend=function leafAppend(other){var inner=this.right.leafAppend(other);if(inner){return new Append2(this.left,inner)}};Append2.prototype.leafPrepend=function leafPrepend(other){var inner=this.left.leafPrepend(other);if(inner){return new Append2(inner,this.right)}};Append2.prototype.appendInner=function appendInner2(other){if(this.left.depth>=Math.max(this.right.depth,other.depth)+1){return new Append2(this.left,new Append2(this.right,other))}return new Append2(this,other)};return Append2}(RopeSequence);const max_empty_items=500;class Branch{constructor(items,eventCount){this.items=items;this.eventCount=eventCount}popEvent(state,preserveItems){if(this.eventCount==0)return null;let end=this.items.length;for(;;end--){let next=this.items.get(end-1);if(next.selection){--end;break}}let remap,mapFrom;if(preserveItems){remap=this.remapping(end,this.items.length);mapFrom=remap.maps.length}let transform=state.tr;let selection,remaining;let addAfter=[],addBefore=[];this.items.forEach(((item,i)=>{if(!item.step){if(!remap){remap=this.remapping(end,i+1);mapFrom=remap.maps.length}mapFrom--;addBefore.push(item);return}if(remap){addBefore.push(new Item(item.map));let step=item.step.map(remap.slice(mapFrom)),map2;if(step&&transform.maybeStep(step).doc){map2=transform.mapping.maps[transform.mapping.maps.length-1];addAfter.push(new Item(map2,void 0,void 0,addAfter.length+addBefore.length))}mapFrom--;if(map2)remap.appendMap(map2,mapFrom)}else{transform.maybeStep(item.step)}if(item.selection){selection=remap?item.selection.map(remap.slice(mapFrom)):item.selection;remaining=new Branch(this.items.slice(0,end).append(addBefore.reverse().concat(addAfter)),this.eventCount-1);return false}}),this.items.length,0);return{remaining:remaining,transform:transform,selection:selection}}addTransform(transform,selection,histOptions,preserveItems){let newItems=[],eventCount=this.eventCount;let oldItems=this.items,lastItem=!preserveItems&&oldItems.length?oldItems.get(oldItems.length-1):null;for(let i=0;i<transform.steps.length;i++){let step=transform.steps[i].invert(transform.docs[i]);let item=new Item(transform.mapping.maps[i],step,selection),merged;if(merged=lastItem&&lastItem.merge(item)){item=merged;if(i)newItems.pop();else oldItems=oldItems.slice(0,oldItems.length-1)}newItems.push(item);if(selection){eventCount++;selection=void 0}if(!preserveItems)lastItem=item}let overflow=eventCount-histOptions.depth;if(overflow>DEPTH_OVERFLOW){oldItems=cutOffEvents(oldItems,overflow);eventCount-=overflow}return new Branch(oldItems.append(newItems),eventCount)}remapping(from2,to){let maps=new Mapping;this.items.forEach(((item,i)=>{let mirrorPos=item.mirrorOffset!=null&&i-item.mirrorOffset>=from2?maps.maps.length-item.mirrorOffset:void 0;maps.appendMap(item.map,mirrorPos)}),from2,to);return maps}addMaps(array){if(this.eventCount==0)return this;return new Branch(this.items.append(array.map((map2=>new Item(map2)))),this.eventCount)}rebased(rebasedTransform,rebasedCount){if(!this.eventCount)return this;let rebasedItems=[],start=Math.max(0,this.items.length-rebasedCount);let mapping=rebasedTransform.mapping;let newUntil=rebasedTransform.steps.length;let eventCount=this.eventCount;this.items.forEach((item=>{if(item.selection)eventCount--}),start);let iRebased=rebasedCount;this.items.forEach((item=>{let pos=mapping.getMirror(--iRebased);if(pos==null)return;newUntil=Math.min(newUntil,pos);let map2=mapping.maps[pos];if(item.step){let step=rebasedTransform.steps[pos].invert(rebasedTransform.docs[pos]);let selection=item.selection&&item.selection.map(mapping.slice(iRebased+1,pos));if(selection)eventCount++;rebasedItems.push(new Item(map2,step,selection))}else{rebasedItems.push(new Item(map2))}}),start);let newMaps=[];for(let i=rebasedCount;i<newUntil;i++)newMaps.push(new Item(mapping.maps[i]));let items=this.items.slice(0,start).append(newMaps).append(rebasedItems);let branch=new Branch(items,eventCount);if(branch.emptyItemCount()>max_empty_items)branch=branch.compress(this.items.length-rebasedItems.length);return branch}emptyItemCount(){let count=0;this.items.forEach((item=>{if(!item.step)count++}));return count}compress(upto=this.items.length){let remap=this.remapping(0,upto),mapFrom=remap.maps.length;let items=[],events=0;this.items.forEach(((item,i)=>{if(i>=upto){items.push(item);if(item.selection)events++}else if(item.step){let step=item.step.map(remap.slice(mapFrom)),map2=step&&step.getMap();mapFrom--;if(map2)remap.appendMap(map2,mapFrom);if(step){let selection=item.selection&&item.selection.map(remap.slice(mapFrom));if(selection)events++;let newItem=new Item(map2.invert(),step,selection),merged,last=items.length-1;if(merged=items.length&&items[last].merge(newItem))items[last]=merged;else items.push(newItem)}}else if(item.map){mapFrom--}}),this.items.length,0);return new Branch(RopeSequence.from(items.reverse()),events)}}Branch.empty=new Branch(RopeSequence.empty,0);function cutOffEvents(items,n){let cutPoint;items.forEach(((item,i)=>{if(item.selection&&n--==0){cutPoint=i;return false}}));return items.slice(cutPoint)}class Item{constructor(map2,step,selection,mirrorOffset){this.map=map2;this.step=step;this.selection=selection;this.mirrorOffset=mirrorOffset}merge(other){if(this.step&&other.step&&!other.selection){let step=other.step.merge(this.step);if(step)return new Item(step.getMap().invert(),step,this.selection)}}}class HistoryState{constructor(done,undone,prevRanges,prevTime,prevComposition){this.done=done;this.undone=undone;this.prevRanges=prevRanges;this.prevTime=prevTime;this.prevComposition=prevComposition}}const DEPTH_OVERFLOW=20;function applyTransaction(history2,state,tr2,options2){let historyTr=tr2.getMeta(historyKey),rebased;if(historyTr)return historyTr.historyState;if(tr2.getMeta(closeHistoryKey))history2=new HistoryState(history2.done,history2.undone,null,0,-1);let appended=tr2.getMeta("appendedTransaction");if(tr2.steps.length==0){return history2}else if(appended&&appended.getMeta(historyKey)){if(appended.getMeta(historyKey).redo)return new HistoryState(history2.done.addTransform(tr2,void 0,options2,mustPreserveItems(state)),history2.undone,rangesFor(tr2.mapping.maps),history2.prevTime,history2.prevComposition);else return new HistoryState(history2.done,history2.undone.addTransform(tr2,void 0,options2,mustPreserveItems(state)),null,history2.prevTime,history2.prevComposition)}else if(tr2.getMeta("addToHistory")!==false&&!(appended&&appended.getMeta("addToHistory")===false)){let composition=tr2.getMeta("composition");let newGroup=history2.prevTime==0||!appended&&history2.prevComposition!=composition&&(history2.prevTime<(tr2.time||0)-options2.newGroupDelay||!isAdjacentTo(tr2,history2.prevRanges));let prevRanges=appended?mapRanges(history2.prevRanges,tr2.mapping):rangesFor(tr2.mapping.maps);return new HistoryState(history2.done.addTransform(tr2,newGroup?state.selection.getBookmark():void 0,options2,mustPreserveItems(state)),Branch.empty,prevRanges,tr2.time,composition==null?history2.prevComposition:composition)}else if(rebased=tr2.getMeta("rebased")){return new HistoryState(history2.done.rebased(tr2,rebased),history2.undone.rebased(tr2,rebased),mapRanges(history2.prevRanges,tr2.mapping),history2.prevTime,history2.prevComposition)}else{return new HistoryState(history2.done.addMaps(tr2.mapping.maps),history2.undone.addMaps(tr2.mapping.maps),mapRanges(history2.prevRanges,tr2.mapping),history2.prevTime,history2.prevComposition)}}function isAdjacentTo(transform,prevRanges){if(!prevRanges)return false;if(!transform.docChanged)return true;let adjacent=false;transform.mapping.maps[0].forEach(((start,end)=>{for(let i=0;i<prevRanges.length;i+=2)if(start<=prevRanges[i+1]&&end>=prevRanges[i])adjacent=true}));return adjacent}function rangesFor(maps){let result=[];for(let i=maps.length-1;i>=0&&result.length==0;i--)maps[i].forEach(((_from,_to,from2,to)=>result.push(from2,to)));return result}function mapRanges(ranges,mapping){if(!ranges)return null;let result=[];for(let i=0;i<ranges.length;i+=2){let from2=mapping.map(ranges[i],1),to=mapping.map(ranges[i+1],-1);if(from2<=to)result.push(from2,to)}return result}function histTransaction(history2,state,redo2){let preserveItems=mustPreserveItems(state);let histOptions=historyKey.get(state).spec.config;let pop=(redo2?history2.undone:history2.done).popEvent(state,preserveItems);if(!pop)return null;let selection=pop.selection.resolve(pop.transform.doc);let added=(redo2?history2.done:history2.undone).addTransform(pop.transform,state.selection.getBookmark(),histOptions,preserveItems);let newHist=new HistoryState(redo2?added:pop.remaining,redo2?pop.remaining:added,null,0,-1);return pop.transform.setSelection(selection).setMeta(historyKey,{redo:redo2,historyState:newHist})}let cachedPreserveItems=false,cachedPreserveItemsPlugins=null;function mustPreserveItems(state){let plugins=state.plugins;if(cachedPreserveItemsPlugins!=plugins){cachedPreserveItems=false;cachedPreserveItemsPlugins=plugins;for(let i=0;i<plugins.length;i++)if(plugins[i].spec.historyPreserveItems){cachedPreserveItems=true;break}}return cachedPreserveItems}const historyKey=new PluginKey("history");const closeHistoryKey=new PluginKey("closeHistory");function history(config2={}){config2={depth:config2.depth||100,newGroupDelay:config2.newGroupDelay||500};return new Plugin({key:historyKey,state:{init(){return new HistoryState(Branch.empty,Branch.empty,null,0,-1)},apply(tr2,hist,state){return applyTransaction(hist,state,tr2,config2)}},config:config2,props:{handleDOMEvents:{beforeinput(view,e){let inputType=e.inputType;let command2=inputType=="historyUndo"?undo:inputType=="historyRedo"?redo:null;if(!command2)return false;e.preventDefault();return command2(view.state,view.dispatch)}}}})}function buildCommand(redo2,scroll){return(state,dispatch)=>{let hist=historyKey.getState(state);if(!hist||(redo2?hist.undone:hist.done).eventCount==0)return false;if(dispatch){let tr2=histTransaction(hist,state,redo2);if(tr2)dispatch(scroll?tr2.scrollIntoView():tr2)}return true}}const undo=buildCommand(false,true);const redo=buildCommand(true,true);const History=Extension.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:state,dispatch:dispatch})=>undo(state,dispatch),redo:()=>({state:state,dispatch:dispatch})=>redo(state,dispatch)}},addProseMirrorPlugins(){return[history(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}});const HorizontalRule=Node2.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["hr",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes)]},addCommands(){return{setHorizontalRule:()=>({chain:chain,state:state})=>{const{selection:selection}=state;const{$from:$originFrom,$to:$originTo}=selection;const currentChain=chain();if($originFrom.parentOffset===0){currentChain.insertContentAt({from:Math.max($originFrom.pos-1,0),to:$originTo.pos},{type:this.name})}else if(isNodeSelection(selection)){currentChain.insertContentAt($originTo.pos,{type:this.name})}else{currentChain.insertContent({type:this.name})}return currentChain.command((({tr:tr2,dispatch:dispatch})=>{var _a;if(dispatch){const{$to:$to}=tr2.selection;const posAfter=$to.end();if($to.nodeAfter){if($to.nodeAfter.isTextblock){tr2.setSelection(TextSelection.create(tr2.doc,$to.pos+1))}else if($to.nodeAfter.isBlock){tr2.setSelection(NodeSelection.create(tr2.doc,$to.pos))}else{tr2.setSelection(TextSelection.create(tr2.doc,$to.pos))}}else{const node=(_a=$to.parent.type.contentMatch.defaultType)===null||_a===void 0?void 0:_a.create();if(node){tr2.insert(posAfter,node);tr2.setSelection(TextSelection.create(tr2.doc,posAfter+1))}}tr2.scrollIntoView()}return true})).run()}}},addInputRules(){return[nodeInputRule({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}});const starInputRegex=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/;const starPasteRegex=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g;const underscoreInputRegex=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/;const underscorePasteRegex=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g;const Italic=Mark2.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:node=>node.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:mark=>mark.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["em",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setItalic:()=>({commands:commands2})=>commands2.setMark(this.name),toggleItalic:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetItalic:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[markInputRule({find:starInputRegex,type:this.type}),markInputRule({find:underscoreInputRegex,type:this.type})]},addPasteRules(){return[markPasteRule({find:starPasteRegex,type:this.type}),markPasteRule({find:underscorePasteRegex,type:this.type})]}});const ListItem=Node2.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:true,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["li",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}});const ListItemName="listItem";const TextStyleName="textStyle";const inputRegex$2=/^(\d+)\.\s$/;const OrderedList=Node2.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:false,keepAttributes:false}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:element=>element.hasAttribute("start")?parseInt(element.getAttribute("start")||"",10):1},type:{default:null,parseHTML:element=>element.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:HTMLAttributes}){const{start:start,...attributesWithoutStart}=HTMLAttributes;return start===1?["ol",mergeAttributes(this.options.HTMLAttributes,attributesWithoutStart),0]:["ol",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{toggleOrderedList:()=>({commands:commands2,chain:chain})=>{if(this.options.keepAttributes){return chain().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(ListItemName,this.editor.getAttributes(TextStyleName)).run()}return commands2.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let inputRule=wrappingInputRule({find:inputRegex$2,type:this.type,getAttributes:match=>({start:+match[1]}),joinPredicate:(match,node)=>node.childCount+node.attrs.start===+match[1]});if(this.options.keepMarks||this.options.keepAttributes){inputRule=wrappingInputRule({find:inputRegex$2,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:match=>({start:+match[1],...this.editor.getAttributes(TextStyleName)}),joinPredicate:(match,node)=>node.childCount+node.attrs.start===+match[1],editor:this.editor})}return[inputRule]}});const Paragraph=Node2.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["p",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setParagraph:()=>({commands:commands2})=>commands2.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}});const inputRegex$1=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/;const pasteRegex$1=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g;const Strike=Mark2.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:false,getAttrs:style2=>style2.includes("line-through")?{}:false}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["s",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setStrike:()=>({commands:commands2})=>commands2.setMark(this.name),toggleStrike:()=>({commands:commands2})=>commands2.toggleMark(this.name),unsetStrike:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[markInputRule({find:inputRegex$1,type:this.type})]},addPasteRules(){return[markPasteRule({find:pasteRegex$1,type:this.type})]}});const Text$1=Node2.create({name:"text",group:"inline"});const StarterKit=Extension.create({name:"starterKit",addExtensions(){const extensions=[];if(this.options.bold!==false){extensions.push(Bold.configure(this.options.bold))}if(this.options.blockquote!==false){extensions.push(Blockquote.configure(this.options.blockquote))}if(this.options.bulletList!==false){extensions.push(BulletList.configure(this.options.bulletList))}if(this.options.code!==false){extensions.push(Code.configure(this.options.code))}if(this.options.codeBlock!==false){extensions.push(CodeBlock.configure(this.options.codeBlock))}if(this.options.document!==false){extensions.push(Document.configure(this.options.document))}if(this.options.dropcursor!==false){extensions.push(Dropcursor.configure(this.options.dropcursor))}if(this.options.gapcursor!==false){extensions.push(Gapcursor.configure(this.options.gapcursor))}if(this.options.hardBreak!==false){extensions.push(HardBreak.configure(this.options.hardBreak))}if(this.options.heading!==false){extensions.push(Heading.configure(this.options.heading))}if(this.options.history!==false){extensions.push(History.configure(this.options.history))}if(this.options.horizontalRule!==false){extensions.push(HorizontalRule.configure(this.options.horizontalRule))}if(this.options.italic!==false){extensions.push(Italic.configure(this.options.italic))}if(this.options.listItem!==false){extensions.push(ListItem.configure(this.options.listItem))}if(this.options.orderedList!==false){extensions.push(OrderedList.configure(this.options.orderedList))}if(this.options.paragraph!==false){extensions.push(Paragraph.configure(this.options.paragraph))}if(this.options.strike!==false){extensions.push(Strike.configure(this.options.strike))}if(this.options.text!==false){extensions.push(Text$1.configure(this.options.text))}return extensions}});const encodedTlds="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2";const encodedUtlds="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2";const assign=(target,properties)=>{for(const key in properties){target[key]=properties[key]}return target};const numeric="numeric";const ascii="ascii";const alpha="alpha";const asciinumeric="asciinumeric";const alphanumeric="alphanumeric";const domain="domain";const emoji="emoji";const scheme="scheme";const slashscheme="slashscheme";const whitespace="whitespace";function registerGroup(name2,groups){if(!(name2 in groups)){groups[name2]=[]}return groups[name2]}function addToGroups(t,flags,groups){if(flags[numeric]){flags[asciinumeric]=true;flags[alphanumeric]=true}if(flags[ascii]){flags[asciinumeric]=true;flags[alpha]=true}if(flags[asciinumeric]){flags[alphanumeric]=true}if(flags[alpha]){flags[alphanumeric]=true}if(flags[alphanumeric]){flags[domain]=true}if(flags[emoji]){flags[domain]=true}for(const k2 in flags){const group=registerGroup(k2,groups);if(group.indexOf(t)<0){group.push(t)}}}function flagsForToken(t,groups){const result={};for(const c in groups){if(groups[c].indexOf(t)>=0){result[c]=true}}return result}function State(token=null){this.j={};this.jr=[];this.jd=null;this.t=token}State.groups={};State.prototype={accepts(){return!!this.t},go(input){const state=this;const nextState=state.j[input];if(nextState){return nextState}for(let i=0;i<state.jr.length;i++){const regex=state.jr[i][0];const nextState2=state.jr[i][1];if(nextState2&®ex.test(input)){return nextState2}}return state.jd},has(input,exactOnly=false){return exactOnly?input in this.j:!!this.go(input)},ta(inputs,next,flags,groups){for(let i=0;i<inputs.length;i++){this.tt(inputs[i],next,flags,groups)}},tr(regexp,next,flags,groups){groups=groups||State.groups;let nextState;if(next&&next.j){nextState=next}else{nextState=new State(next);if(flags&&groups){addToGroups(next,flags,groups)}}this.jr.push([regexp,nextState]);return nextState},ts(input,next,flags,groups){let state=this;const len=input.length;if(!len){return state}for(let i=0;i<len-1;i++){state=state.tt(input[i])}return state.tt(input[len-1],next,flags,groups)},tt(input,next,flags,groups){groups=groups||State.groups;const state=this;if(next&&next.j){state.j[input]=next;return next}const t=next;let nextState,templateState=state.go(input);if(templateState){nextState=new State;assign(nextState.j,templateState.j);nextState.jr.push.apply(nextState.jr,templateState.jr);nextState.jd=templateState.jd;nextState.t=templateState.t}else{nextState=new State}if(t){if(groups){if(nextState.t&&typeof nextState.t==="string"){const allFlags=assign(flagsForToken(nextState.t,groups),flags);addToGroups(t,allFlags,groups)}else if(flags){addToGroups(t,flags,groups)}}nextState.t=t}state.j[input]=nextState;return nextState}};const ta=(state,input,next,flags,groups)=>state.ta(input,next,flags,groups);const tr=(state,regexp,next,flags,groups)=>state.tr(regexp,next,flags,groups);const ts=(state,input,next,flags,groups)=>state.ts(input,next,flags,groups);const tt=(state,input,next,flags,groups)=>state.tt(input,next,flags,groups);const WORD="WORD";const UWORD="UWORD";const ASCIINUMERICAL="ASCIINUMERICAL";const ALPHANUMERICAL="ALPHANUMERICAL";const LOCALHOST="LOCALHOST";const TLD="TLD";const UTLD="UTLD";const SCHEME="SCHEME";const SLASH_SCHEME="SLASH_SCHEME";const NUM="NUM";const WS="WS";const NL="NL";const OPENBRACE="OPENBRACE";const CLOSEBRACE="CLOSEBRACE";const OPENBRACKET="OPENBRACKET";const CLOSEBRACKET="CLOSEBRACKET";const OPENPAREN="OPENPAREN";const CLOSEPAREN="CLOSEPAREN";const OPENANGLEBRACKET="OPENANGLEBRACKET";const CLOSEANGLEBRACKET="CLOSEANGLEBRACKET";const FULLWIDTHLEFTPAREN="FULLWIDTHLEFTPAREN";const FULLWIDTHRIGHTPAREN="FULLWIDTHRIGHTPAREN";const LEFTCORNERBRACKET="LEFTCORNERBRACKET";const RIGHTCORNERBRACKET="RIGHTCORNERBRACKET";const LEFTWHITECORNERBRACKET="LEFTWHITECORNERBRACKET";const RIGHTWHITECORNERBRACKET="RIGHTWHITECORNERBRACKET";const FULLWIDTHLESSTHAN="FULLWIDTHLESSTHAN";const FULLWIDTHGREATERTHAN="FULLWIDTHGREATERTHAN";const AMPERSAND="AMPERSAND";const APOSTROPHE="APOSTROPHE";const ASTERISK="ASTERISK";const AT="AT";const BACKSLASH="BACKSLASH";const BACKTICK="BACKTICK";const CARET="CARET";const COLON="COLON";const COMMA="COMMA";const DOLLAR="DOLLAR";const DOT="DOT";const EQUALS="EQUALS";const EXCLAMATION="EXCLAMATION";const HYPHEN="HYPHEN";const PERCENT="PERCENT";const PIPE="PIPE";const PLUS="PLUS";const POUND="POUND";const QUERY="QUERY";const QUOTE="QUOTE";const FULLWIDTHMIDDLEDOT="FULLWIDTHMIDDLEDOT";const SEMI="SEMI";const SLASH="SLASH";const TILDE="TILDE";const UNDERSCORE="UNDERSCORE";const EMOJI$1="EMOJI";const SYM="SYM";var tk=Object.freeze({__proto__:null,WORD:WORD,UWORD:UWORD,ASCIINUMERICAL:ASCIINUMERICAL,ALPHANUMERICAL:ALPHANUMERICAL,LOCALHOST:LOCALHOST,TLD:TLD,UTLD:UTLD,SCHEME:SCHEME,SLASH_SCHEME:SLASH_SCHEME,NUM:NUM,WS:WS,NL:NL,OPENBRACE:OPENBRACE,CLOSEBRACE:CLOSEBRACE,OPENBRACKET:OPENBRACKET,CLOSEBRACKET:CLOSEBRACKET,OPENPAREN:OPENPAREN,CLOSEPAREN:CLOSEPAREN,OPENANGLEBRACKET:OPENANGLEBRACKET,CLOSEANGLEBRACKET:CLOSEANGLEBRACKET,FULLWIDTHLEFTPAREN:FULLWIDTHLEFTPAREN,FULLWIDTHRIGHTPAREN:FULLWIDTHRIGHTPAREN,LEFTCORNERBRACKET:LEFTCORNERBRACKET,RIGHTCORNERBRACKET:RIGHTCORNERBRACKET,LEFTWHITECORNERBRACKET:LEFTWHITECORNERBRACKET,RIGHTWHITECORNERBRACKET:RIGHTWHITECORNERBRACKET,FULLWIDTHLESSTHAN:FULLWIDTHLESSTHAN,FULLWIDTHGREATERTHAN:FULLWIDTHGREATERTHAN,AMPERSAND:AMPERSAND,APOSTROPHE:APOSTROPHE,ASTERISK:ASTERISK,AT:AT,BACKSLASH:BACKSLASH,BACKTICK:BACKTICK,CARET:CARET,COLON:COLON,COMMA:COMMA,DOLLAR:DOLLAR,DOT:DOT,EQUALS:EQUALS,EXCLAMATION:EXCLAMATION,HYPHEN:HYPHEN,PERCENT:PERCENT,PIPE:PIPE,PLUS:PLUS,POUND:POUND,QUERY:QUERY,QUOTE:QUOTE,FULLWIDTHMIDDLEDOT:FULLWIDTHMIDDLEDOT,SEMI:SEMI,SLASH:SLASH,TILDE:TILDE,UNDERSCORE:UNDERSCORE,EMOJI:EMOJI$1,SYM:SYM});const ASCII_LETTER=/[a-z]/;const LETTER=new RegExp("\\p{L}","u");const EMOJI=new RegExp("\\p{Emoji}","u");const DIGIT=/\d/;const SPACE=/\s/;const CR="\r";const LF="\n";const EMOJI_VARIATION="️";const EMOJI_JOINER="";const OBJECT_REPLACEMENT="";let tlds=null,utlds=null;function init$2(customSchemes=[]){const groups={};State.groups=groups;const Start=new State;if(tlds==null){tlds=decodeTlds(encodedTlds)}if(utlds==null){utlds=decodeTlds(encodedUtlds)}tt(Start,"'",APOSTROPHE);tt(Start,"{",OPENBRACE);tt(Start,"}",CLOSEBRACE);tt(Start,"[",OPENBRACKET);tt(Start,"]",CLOSEBRACKET);tt(Start,"(",OPENPAREN);tt(Start,")",CLOSEPAREN);tt(Start,"<",OPENANGLEBRACKET);tt(Start,">",CLOSEANGLEBRACKET);tt(Start,"(",FULLWIDTHLEFTPAREN);tt(Start,")",FULLWIDTHRIGHTPAREN);tt(Start,"「",LEFTCORNERBRACKET);tt(Start,"」",RIGHTCORNERBRACKET);tt(Start,"『",LEFTWHITECORNERBRACKET);tt(Start,"』",RIGHTWHITECORNERBRACKET);tt(Start,"<",FULLWIDTHLESSTHAN);tt(Start,">",FULLWIDTHGREATERTHAN);tt(Start,"&",AMPERSAND);tt(Start,"*",ASTERISK);tt(Start,"@",AT);tt(Start,"`",BACKTICK);tt(Start,"^",CARET);tt(Start,":",COLON);tt(Start,",",COMMA);tt(Start,"$",DOLLAR);tt(Start,".",DOT);tt(Start,"=",EQUALS);tt(Start,"!",EXCLAMATION);tt(Start,"-",HYPHEN);tt(Start,"%",PERCENT);tt(Start,"|",PIPE);tt(Start,"+",PLUS);tt(Start,"#",POUND);tt(Start,"?",QUERY);tt(Start,'"',QUOTE);tt(Start,"/",SLASH);tt(Start,";",SEMI);tt(Start,"~",TILDE);tt(Start,"_",UNDERSCORE);tt(Start,"\\",BACKSLASH);tt(Start,"・",FULLWIDTHMIDDLEDOT);const Num=tr(Start,DIGIT,NUM,{[numeric]:true});tr(Num,DIGIT,Num);const Asciinumeric=tr(Num,ASCII_LETTER,ASCIINUMERICAL,{[asciinumeric]:true});const Alphanumeric=tr(Num,LETTER,ALPHANUMERICAL,{[alphanumeric]:true});const Word=tr(Start,ASCII_LETTER,WORD,{[ascii]:true});tr(Word,DIGIT,Asciinumeric);tr(Word,ASCII_LETTER,Word);tr(Asciinumeric,DIGIT,Asciinumeric);tr(Asciinumeric,ASCII_LETTER,Asciinumeric);const UWord=tr(Start,LETTER,UWORD,{[alpha]:true});tr(UWord,ASCII_LETTER);tr(UWord,DIGIT,Alphanumeric);tr(UWord,LETTER,UWord);tr(Alphanumeric,DIGIT,Alphanumeric);tr(Alphanumeric,ASCII_LETTER);tr(Alphanumeric,LETTER,Alphanumeric);const Nl2=tt(Start,LF,NL,{[whitespace]:true});const Cr=tt(Start,CR,WS,{[whitespace]:true});const Ws=tr(Start,SPACE,WS,{[whitespace]:true});tt(Start,OBJECT_REPLACEMENT,Ws);tt(Cr,LF,Nl2);tt(Cr,OBJECT_REPLACEMENT,Ws);tr(Cr,SPACE,Ws);tt(Ws,CR);tt(Ws,LF);tr(Ws,SPACE,Ws);tt(Ws,OBJECT_REPLACEMENT,Ws);const Emoji=tr(Start,EMOJI,EMOJI$1,{[emoji]:true});tt(Emoji,"#");tr(Emoji,EMOJI,Emoji);tt(Emoji,EMOJI_VARIATION,Emoji);const EmojiJoiner=tt(Emoji,EMOJI_JOINER);tt(EmojiJoiner,"#");tr(EmojiJoiner,EMOJI,Emoji);const wordjr=[[ASCII_LETTER,Word],[DIGIT,Asciinumeric]];const uwordjr=[[ASCII_LETTER,null],[LETTER,UWord],[DIGIT,Alphanumeric]];for(let i=0;i<tlds.length;i++){fastts(Start,tlds[i],TLD,WORD,wordjr)}for(let i=0;i<utlds.length;i++){fastts(Start,utlds[i],UTLD,UWORD,uwordjr)}addToGroups(TLD,{tld:true,ascii:true},groups);addToGroups(UTLD,{utld:true,alpha:true},groups);fastts(Start,"file",SCHEME,WORD,wordjr);fastts(Start,"mailto",SCHEME,WORD,wordjr);fastts(Start,"http",SLASH_SCHEME,WORD,wordjr);fastts(Start,"https",SLASH_SCHEME,WORD,wordjr);fastts(Start,"ftp",SLASH_SCHEME,WORD,wordjr);fastts(Start,"ftps",SLASH_SCHEME,WORD,wordjr);addToGroups(SCHEME,{scheme:true,ascii:true},groups);addToGroups(SLASH_SCHEME,{slashscheme:true,ascii:true},groups);customSchemes=customSchemes.sort(((a,b)=>a[0]>b[0]?1:-1));for(let i=0;i<customSchemes.length;i++){const sch=customSchemes[i][0];const optionalSlashSlash=customSchemes[i][1];const flags=optionalSlashSlash?{[scheme]:true}:{[slashscheme]:true};if(sch.indexOf("-")>=0){flags[domain]=true}else if(!ASCII_LETTER.test(sch)){flags[numeric]=true}else if(DIGIT.test(sch)){flags[asciinumeric]=true}else{flags[ascii]=true}ts(Start,sch,sch,flags)}ts(Start,"localhost",LOCALHOST,{ascii:true});Start.jd=new State(SYM);return{start:Start,tokens:assign({groups:groups},tk)}}function run$1(start,str){const iterable=stringToArray(str.replace(/[A-Z]/g,(c=>c.toLowerCase())));const charCount=iterable.length;const tokens=[];let cursor=0;let charCursor=0;while(charCursor<charCount){let state=start;let nextState=null;let tokenLength=0;let latestAccepting=null;let sinceAccepts=-1;let charsSinceAccepts=-1;while(charCursor<charCount&&(nextState=state.go(iterable[charCursor]))){state=nextState;if(state.accepts()){sinceAccepts=0;charsSinceAccepts=0;latestAccepting=state}else if(sinceAccepts>=0){sinceAccepts+=iterable[charCursor].length;charsSinceAccepts++}tokenLength+=iterable[charCursor].length;cursor+=iterable[charCursor].length;charCursor++}cursor-=sinceAccepts;charCursor-=charsSinceAccepts;tokenLength-=sinceAccepts;tokens.push({t:latestAccepting.t,v:str.slice(cursor-tokenLength,cursor),s:cursor-tokenLength,e:cursor})}return tokens}function stringToArray(str){const result=[];const len=str.length;let index=0;while(index<len){let first2=str.charCodeAt(index);let second;let char=first2<55296||first2>56319||index+1===len||(second=str.charCodeAt(index+1))<56320||second>57343?str[index]:str.slice(index,index+2);result.push(char);index+=char.length}return result}function fastts(state,input,t,defaultt,jr){let next;const len=input.length;for(let i=0;i<len-1;i++){const char=input[i];if(state.j[char]){next=state.j[char]}else{next=new State(defaultt);next.jr=jr.slice();state.j[char]=next}state=next}next=new State(t);next.jr=jr.slice();state.j[input[len-1]]=next;return next}function decodeTlds(encoded){const words=[];const stack=[];let i=0;let digits="0123456789";while(i<encoded.length){let popDigitCount=0;while(digits.indexOf(encoded[i+popDigitCount])>=0){popDigitCount++}if(popDigitCount>0){words.push(stack.join(""));for(let popCount=parseInt(encoded.substring(i,i+popDigitCount),10);popCount>0;popCount--){stack.pop()}i+=popDigitCount}else{stack.push(encoded[i]);i++}}return words}const defaults={defaultProtocol:"http",events:null,format:noop,formatHref:noop,nl2br:false,tagName:"a",target:null,rel:null,validate:true,truncate:Infinity,className:null,attributes:null,ignoreTags:[],render:null};function Options(opts,defaultRender=null){let o=assign({},defaults);if(opts){o=assign(o,opts instanceof Options?opts.o:opts)}const ignoredTags=o.ignoreTags;const uppercaseIgnoredTags=[];for(let i=0;i<ignoredTags.length;i++){uppercaseIgnoredTags.push(ignoredTags[i].toUpperCase())}this.o=o;if(defaultRender){this.defaultRender=defaultRender}this.ignoreTags=uppercaseIgnoredTags}Options.prototype={o:defaults,ignoreTags:[],defaultRender(ir){return ir},check(token){return this.get("validate",token.toString(),token)},get(key,operator,token){const isCallable=operator!=null;let option=this.o[key];if(!option){return option}if(typeof option==="object"){option=token.t in option?option[token.t]:defaults[key];if(typeof option==="function"&&isCallable){option=option(operator,token)}}else if(typeof option==="function"&&isCallable){option=option(operator,token.t,token)}return option},getObj(key,operator,token){let obj=this.o[key];if(typeof obj==="function"&&operator!=null){obj=obj(operator,token.t,token)}return obj},render(token){const ir=token.render(this);const renderFn=this.get("render",null,token)||this.defaultRender;return renderFn(ir,token.t,token)}};function noop(val){return val}function MultiToken(value,tokens){this.t="token";this.v=value;this.tk=tokens}MultiToken.prototype={isLink:false,toString(){return this.v},toHref(scheme2){return this.toString()},toFormattedString(options2){const val=this.toString();const truncate=options2.get("truncate",val,this);const formatted=options2.get("format",val,this);return truncate&&formatted.length>truncate?formatted.substring(0,truncate)+"…":formatted},toFormattedHref(options2){return options2.get("formatHref",this.toHref(options2.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(protocol=defaults.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(protocol),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(options2){return{type:this.t,value:this.toFormattedString(options2),isLink:this.isLink,href:this.toFormattedHref(options2),start:this.startIndex(),end:this.endIndex()}},validate(options2){return options2.get("validate",this.toString(),this)},render(options2){const token=this;const href=this.toHref(options2.get("defaultProtocol"));const formattedHref=options2.get("formatHref",href,this);const tagName=options2.get("tagName",href,token);const content=this.toFormattedString(options2);const attributes={};const className=options2.get("className",href,token);const target=options2.get("target",href,token);const rel=options2.get("rel",href,token);const attrs=options2.getObj("attributes",href,token);const eventListeners=options2.getObj("events",href,token);attributes.href=formattedHref;if(className){attributes.class=className}if(target){attributes.target=target}if(rel){attributes.rel=rel}if(attrs){assign(attributes,attrs)}return{tagName:tagName,attributes:attributes,content:content,eventListeners:eventListeners}}};function createTokenClass(type,props){class Token extends MultiToken{constructor(value,tokens){super(value,tokens);this.t=type}}for(const p in props){Token.prototype[p]=props[p]}Token.t=type;return Token}const Email=createTokenClass("email",{isLink:true,toHref(){return"mailto:"+this.toString()}});const Text=createTokenClass("text");const Nl=createTokenClass("nl");const Url=createTokenClass("url",{isLink:true,toHref(scheme2=defaults.defaultProtocol){return this.hasProtocol()?this.v:`${scheme2}://${this.v}`},hasProtocol(){const tokens=this.tk;return tokens.length>=2&&tokens[0].t!==LOCALHOST&&tokens[1].t===COLON}});const makeState=arg=>new State(arg);function init$1({groups:groups}){const qsAccepting=groups.domain.concat([AMPERSAND,ASTERISK,AT,BACKSLASH,BACKTICK,CARET,DOLLAR,EQUALS,HYPHEN,NUM,PERCENT,PIPE,PLUS,POUND,SLASH,SYM,TILDE,UNDERSCORE]);const qsNonAccepting=[COLON,COMMA,DOT,EXCLAMATION,PERCENT,QUERY,QUOTE,SEMI,OPENANGLEBRACKET,CLOSEANGLEBRACKET,OPENBRACE,CLOSEBRACE,CLOSEBRACKET,OPENBRACKET,OPENPAREN,CLOSEPAREN,FULLWIDTHLEFTPAREN,FULLWIDTHRIGHTPAREN,LEFTCORNERBRACKET,RIGHTCORNERBRACKET,LEFTWHITECORNERBRACKET,RIGHTWHITECORNERBRACKET,FULLWIDTHLESSTHAN,FULLWIDTHGREATERTHAN];const localpartAccepting=[AMPERSAND,APOSTROPHE,ASTERISK,BACKSLASH,BACKTICK,CARET,DOLLAR,EQUALS,HYPHEN,OPENBRACE,CLOSEBRACE,PERCENT,PIPE,PLUS,POUND,QUERY,SLASH,SYM,TILDE,UNDERSCORE];const Start=makeState();const Localpart=tt(Start,TILDE);ta(Localpart,localpartAccepting,Localpart);ta(Localpart,groups.domain,Localpart);const Domain=makeState(),Scheme=makeState(),SlashScheme=makeState();ta(Start,groups.domain,Domain);ta(Start,groups.scheme,Scheme);ta(Start,groups.slashscheme,SlashScheme);ta(Domain,localpartAccepting,Localpart);ta(Domain,groups.domain,Domain);const LocalpartAt=tt(Domain,AT);tt(Localpart,AT,LocalpartAt);tt(Scheme,AT,LocalpartAt);tt(SlashScheme,AT,LocalpartAt);const LocalpartDot=tt(Localpart,DOT);ta(LocalpartDot,localpartAccepting,Localpart);ta(LocalpartDot,groups.domain,Localpart);const EmailDomain=makeState();ta(LocalpartAt,groups.domain,EmailDomain);ta(EmailDomain,groups.domain,EmailDomain);const EmailDomainDot=tt(EmailDomain,DOT);ta(EmailDomainDot,groups.domain,EmailDomain);const Email$1=makeState(Email);ta(EmailDomainDot,groups.tld,Email$1);ta(EmailDomainDot,groups.utld,Email$1);tt(LocalpartAt,LOCALHOST,Email$1);const EmailDomainHyphen=tt(EmailDomain,HYPHEN);tt(EmailDomainHyphen,HYPHEN,EmailDomainHyphen);ta(EmailDomainHyphen,groups.domain,EmailDomain);ta(Email$1,groups.domain,EmailDomain);tt(Email$1,DOT,EmailDomainDot);tt(Email$1,HYPHEN,EmailDomainHyphen);const EmailColon=tt(Email$1,COLON);ta(EmailColon,groups.numeric,Email);const DomainHyphen=tt(Domain,HYPHEN);const DomainDot=tt(Domain,DOT);tt(DomainHyphen,HYPHEN,DomainHyphen);ta(DomainHyphen,groups.domain,Domain);ta(DomainDot,localpartAccepting,Localpart);ta(DomainDot,groups.domain,Domain);const DomainDotTld=makeState(Url);ta(DomainDot,groups.tld,DomainDotTld);ta(DomainDot,groups.utld,DomainDotTld);ta(DomainDotTld,groups.domain,Domain);ta(DomainDotTld,localpartAccepting,Localpart);tt(DomainDotTld,DOT,DomainDot);tt(DomainDotTld,HYPHEN,DomainHyphen);tt(DomainDotTld,AT,LocalpartAt);const DomainDotTldColon=tt(DomainDotTld,COLON);const DomainDotTldColonPort=makeState(Url);ta(DomainDotTldColon,groups.numeric,DomainDotTldColonPort);const Url$1=makeState(Url);const UrlNonaccept=makeState();ta(Url$1,qsAccepting,Url$1);ta(Url$1,qsNonAccepting,UrlNonaccept);ta(UrlNonaccept,qsAccepting,Url$1);ta(UrlNonaccept,qsNonAccepting,UrlNonaccept);tt(DomainDotTld,SLASH,Url$1);tt(DomainDotTldColonPort,SLASH,Url$1);const SchemeColon=tt(Scheme,COLON);const SlashSchemeColon=tt(SlashScheme,COLON);const SlashSchemeColonSlash=tt(SlashSchemeColon,SLASH);const UriPrefix=tt(SlashSchemeColonSlash,SLASH);ta(Scheme,groups.domain,Domain);tt(Scheme,DOT,DomainDot);tt(Scheme,HYPHEN,DomainHyphen);ta(SlashScheme,groups.domain,Domain);tt(SlashScheme,DOT,DomainDot);tt(SlashScheme,HYPHEN,DomainHyphen);ta(SchemeColon,groups.domain,Url$1);tt(SchemeColon,SLASH,Url$1);tt(SchemeColon,QUERY,Url$1);ta(UriPrefix,groups.domain,Url$1);ta(UriPrefix,qsAccepting,Url$1);tt(UriPrefix,SLASH,Url$1);const bracketPairs=[[OPENBRACE,CLOSEBRACE],[OPENBRACKET,CLOSEBRACKET],[OPENPAREN,CLOSEPAREN],[OPENANGLEBRACKET,CLOSEANGLEBRACKET],[FULLWIDTHLEFTPAREN,FULLWIDTHRIGHTPAREN],[LEFTCORNERBRACKET,RIGHTCORNERBRACKET],[LEFTWHITECORNERBRACKET,RIGHTWHITECORNERBRACKET],[FULLWIDTHLESSTHAN,FULLWIDTHGREATERTHAN]];for(let i=0;i<bracketPairs.length;i++){const[OPEN,CLOSE]=bracketPairs[i];const UrlOpen=tt(Url$1,OPEN);tt(UrlNonaccept,OPEN,UrlOpen);tt(UrlOpen,CLOSE,Url$1);const UrlOpenQ=makeState(Url);ta(UrlOpen,qsAccepting,UrlOpenQ);const UrlOpenSyms=makeState();ta(UrlOpen,qsNonAccepting);ta(UrlOpenQ,qsAccepting,UrlOpenQ);ta(UrlOpenQ,qsNonAccepting,UrlOpenSyms);ta(UrlOpenSyms,qsAccepting,UrlOpenQ);ta(UrlOpenSyms,qsNonAccepting,UrlOpenSyms);tt(UrlOpenQ,CLOSE,Url$1);tt(UrlOpenSyms,CLOSE,Url$1)}tt(Start,LOCALHOST,DomainDotTld);tt(Start,NL,Nl);return{start:Start,tokens:tk}}function run(start,input,tokens){let len=tokens.length;let cursor=0;let multis=[];let textTokens=[];while(cursor<len){let state=start;let secondState=null;let nextState=null;let multiLength=0;let latestAccepting=null;let sinceAccepts=-1;while(cursor<len&&!(secondState=state.go(tokens[cursor].t))){textTokens.push(tokens[cursor++])}while(cursor<len&&(nextState=secondState||state.go(tokens[cursor].t))){secondState=null;state=nextState;if(state.accepts()){sinceAccepts=0;latestAccepting=state}else if(sinceAccepts>=0){sinceAccepts++}cursor++;multiLength++}if(sinceAccepts<0){cursor-=multiLength;if(cursor<len){textTokens.push(tokens[cursor]);cursor++}}else{if(textTokens.length>0){multis.push(initMultiToken(Text,input,textTokens));textTokens=[]}cursor-=sinceAccepts;multiLength-=sinceAccepts;const Multi=latestAccepting.t;const subtokens=tokens.slice(cursor-multiLength,cursor);multis.push(initMultiToken(Multi,input,subtokens))}}if(textTokens.length>0){multis.push(initMultiToken(Text,input,textTokens))}return multis}function initMultiToken(Multi,input,tokens){const startIdx=tokens[0].s;const endIdx=tokens[tokens.length-1].e;const value=input.slice(startIdx,endIdx);return new Multi(value,tokens)}const warn=typeof console!=="undefined"&&console&&console.warn||(()=>{});const warnAdvice="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.";const INIT={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:false};function reset(){State.groups={};INIT.scanner=null;INIT.parser=null;INIT.tokenQueue=[];INIT.pluginQueue=[];INIT.customSchemes=[];INIT.initialized=false;return INIT}function registerCustomProtocol(scheme2,optionalSlashSlash=false){if(INIT.initialized){warn(`linkifyjs: already initialized - will not register custom scheme "${scheme2}" ${warnAdvice}`)}if(!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(scheme2)){throw new Error(`linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat`)}INIT.customSchemes.push([scheme2,optionalSlashSlash])}function init(){INIT.scanner=init$2(INIT.customSchemes);for(let i=0;i<INIT.tokenQueue.length;i++){INIT.tokenQueue[i][1]({scanner:INIT.scanner})}INIT.parser=init$1(INIT.scanner.tokens);for(let i=0;i<INIT.pluginQueue.length;i++){INIT.pluginQueue[i][1]({scanner:INIT.scanner,parser:INIT.parser})}INIT.initialized=true;return INIT}function tokenize(str){if(!INIT.initialized){init()}return run(INIT.parser.start,str,run$1(INIT.scanner.start,str))}tokenize.scan=run$1;function find(str,type=null,opts=null){if(type&&typeof type==="object"){if(opts){throw Error(`linkifyjs: Invalid link type ${type}; must be a string`)}opts=type;type=null}const options2=new Options(opts);const tokens=tokenize(str);const filtered=[];for(let i=0;i<tokens.length;i++){const token=tokens[i];if(token.isLink&&(!type||token.t===type)&&options2.check(token)){filtered.push(token.toFormattedObject(options2))}}return filtered}function isValidLinkStructure(tokens){if(tokens.length===1){return tokens[0].isLink}if(tokens.length===3&&tokens[1].isLink){return["()","[]"].includes(tokens[0].value+tokens[2].value)}return false}function autolink(options2){return new Plugin({key:new PluginKey("autolink"),appendTransaction:(transactions,oldState,newState)=>{const docChanges=transactions.some((transaction=>transaction.docChanged))&&!oldState.doc.eq(newState.doc);const preventAutolink=transactions.some((transaction=>transaction.getMeta("preventAutolink")));if(!docChanges||preventAutolink){return}const{tr:tr2}=newState;const transform=combineTransactionSteps(oldState.doc,[...transactions]);const changes=getChangedRanges(transform);changes.forEach((({newRange:newRange})=>{const nodesInChangedRanges=findChildrenInRange(newState.doc,newRange,(node=>node.isTextblock));let textBlock;let textBeforeWhitespace;if(nodesInChangedRanges.length>1){textBlock=nodesInChangedRanges[0];textBeforeWhitespace=newState.doc.textBetween(textBlock.pos,textBlock.pos+textBlock.node.nodeSize,void 0," ")}else if(nodesInChangedRanges.length&&newState.doc.textBetween(newRange.from,newRange.to," "," ").endsWith(" ")){textBlock=nodesInChangedRanges[0];textBeforeWhitespace=newState.doc.textBetween(textBlock.pos,newRange.to,void 0," ")}if(textBlock&&textBeforeWhitespace){const wordsBeforeWhitespace=textBeforeWhitespace.split(" ").filter((s=>s!==""));if(wordsBeforeWhitespace.length<=0){return false}const lastWordBeforeSpace=wordsBeforeWhitespace[wordsBeforeWhitespace.length-1];const lastWordAndBlockOffset=textBlock.pos+textBeforeWhitespace.lastIndexOf(lastWordBeforeSpace);if(!lastWordBeforeSpace){return false}const linksBeforeSpace=tokenize(lastWordBeforeSpace).map((t=>t.toObject(options2.defaultProtocol)));if(!isValidLinkStructure(linksBeforeSpace)){return false}linksBeforeSpace.filter((link=>link.isLink)).map((link=>({...link,from:lastWordAndBlockOffset+link.start+1,to:lastWordAndBlockOffset+link.end+1}))).filter((link=>{if(!newState.schema.marks.code){return true}return!newState.doc.rangeHasMark(link.from,link.to,newState.schema.marks.code)})).filter((link=>options2.validate(link.value))).filter((link=>options2.shouldAutoLink(link.value))).forEach((link=>{if(getMarksBetween(link.from,link.to,newState.doc).some((item=>item.mark.type===options2.type))){return}tr2.addMark(link.from,link.to,options2.type.create({href:link.href}))}))}}));if(!tr2.steps.length){return}return tr2}})}function clickHandler(options2){return new Plugin({key:new PluginKey("handleClickLink"),props:{handleClick:(view,pos,event2)=>{var _a,_b;if(event2.button!==0){return false}if(!view.editable){return false}let a=event2.target;const els=[];while(a.nodeName!=="DIV"){els.push(a);a=a.parentNode}if(!els.find((value=>value.nodeName==="A"))){return false}const attrs=getAttributes(view.state,options2.type.name);const link=event2.target;const href=(_a=link===null||link===void 0?void 0:link.href)!==null&&_a!==void 0?_a:attrs.href;const target=(_b=link===null||link===void 0?void 0:link.target)!==null&&_b!==void 0?_b:attrs.target;if(link&&href){window.open(href,target);return true}return false}}})}function pasteHandler(options2){return new Plugin({key:new PluginKey("handlePasteLink"),props:{handlePaste:(view,event2,slice2)=>{const{state:state}=view;const{selection:selection}=state;const{empty:empty2}=selection;if(empty2){return false}let textContent="";slice2.content.forEach((node=>{textContent+=node.textContent}));const link=find(textContent,{defaultProtocol:options2.defaultProtocol}).find((item=>item.isLink&&item.value===textContent));if(!textContent||!link){return false}return options2.editor.commands.setMark(options2.type,{href:link.href})}}})}const ATTR_WHITESPACE=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function isAllowedUri(uri,protocols){const allowedProtocols=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];if(protocols){protocols.forEach((protocol=>{const nextProtocol=typeof protocol==="string"?protocol:protocol.scheme;if(nextProtocol){allowedProtocols.push(nextProtocol)}}))}return!uri||uri.replace(ATTR_WHITESPACE,"").match(new RegExp(`^(?:(?:${allowedProtocols.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const Link=Mark2.create({name:"link",priority:1e3,keepOnSplit:false,exitable:true,onCreate(){if(this.options.validate&&!this.options.shouldAutoLink){this.options.shouldAutoLink=this.options.validate;console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")}this.options.protocols.forEach((protocol=>{if(typeof protocol==="string"){registerCustomProtocol(protocol);return}registerCustomProtocol(protocol.scheme,protocol.optionalSlashes)}))},onDestroy(){reset()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:true,linkOnPaste:true,autolink:true,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(url,ctx)=>!!isAllowedUri(url,ctx.protocols),validate:url=>!!url,shouldAutoLink:url=>!!url}},addAttributes(){return{href:{default:null,parseHTML(element){return element.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:dom=>{const href=dom.getAttribute("href");if(!href||!this.options.isAllowedUri(href,{defaultValidate:url=>!!isAllowedUri(url,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return false}return null}}]},renderHTML({HTMLAttributes:HTMLAttributes}){if(!this.options.isAllowedUri(HTMLAttributes.href,{defaultValidate:href=>!!isAllowedUri(href,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return["a",mergeAttributes(this.options.HTMLAttributes,{...HTMLAttributes,href:""}),0]}return["a",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setLink:attributes=>({chain:chain})=>{const{href:href}=attributes;if(!this.options.isAllowedUri(href,{defaultValidate:url=>!!isAllowedUri(url,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return false}return chain().setMark(this.name,attributes).setMeta("preventAutolink",true).run()},toggleLink:attributes=>({chain:chain})=>{const{href:href}=attributes;if(!this.options.isAllowedUri(href,{defaultValidate:url=>!!isAllowedUri(url,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})){return false}return chain().toggleMark(this.name,attributes,{extendEmptyMarkRange:true}).setMeta("preventAutolink",true).run()},unsetLink:()=>({chain:chain})=>chain().unsetMark(this.name,{extendEmptyMarkRange:true}).setMeta("preventAutolink",true).run()}},addPasteRules(){return[markPasteRule({find:text=>{const foundLinks=[];if(text){const{protocols:protocols,defaultProtocol:defaultProtocol}=this.options;const links=find(text).filter((item=>item.isLink&&this.options.isAllowedUri(item.value,{defaultValidate:href=>!!isAllowedUri(href,protocols),protocols:protocols,defaultProtocol:defaultProtocol})));if(links.length){links.forEach((link=>foundLinks.push({text:link.value,data:{href:link.href},index:link.start})))}}return foundLinks},type:this.type,getAttributes:match=>{var _a;return{href:(_a=match.data)===null||_a===void 0?void 0:_a.href}}})]},addProseMirrorPlugins(){const plugins=[];const{protocols:protocols,defaultProtocol:defaultProtocol}=this.options;if(this.options.autolink){plugins.push(autolink({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:url=>this.options.isAllowedUri(url,{defaultValidate:href=>!!isAllowedUri(href,protocols),protocols:protocols,defaultProtocol:defaultProtocol}),shouldAutoLink:this.options.shouldAutoLink}))}if(this.options.openOnClick===true){plugins.push(clickHandler({type:this.type}))}if(this.options.linkOnPaste){plugins.push(pasteHandler({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type}))}return plugins}});const RichTextEditorAdvancedDefault=props=>{const editor=useEditor({extensions:[StarterKit,Link],content:"Add your text here. You can format your text, add links, quotes, and bullets."});if(!editor){return null}return jsx("div",{children:jsx(RichTextEditor$1,{advancedEditor:editor,...props,children:jsx(EditorContent,{editor:editor})})})};const inputRegex=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/;const pasteRegex=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g;const Highlight=Mark2.create({name:"highlight",addOptions(){return{multicolor:false,HTMLAttributes:{}}},addAttributes(){if(!this.options.multicolor){return{}}return{color:{default:null,parseHTML:element=>element.getAttribute("data-color")||element.style.backgroundColor,renderHTML:attributes=>{if(!attributes.color){return{}}return{"data-color":attributes.color,style:`background-color: ${attributes.color}; color: inherit`}}}}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:HTMLAttributes}){return["mark",mergeAttributes(this.options.HTMLAttributes,HTMLAttributes),0]},addCommands(){return{setHighlight:attributes=>({commands:commands2})=>commands2.setMark(this.name,attributes),toggleHighlight:attributes=>({commands:commands2})=>commands2.toggleMark(this.name,attributes),unsetHighlight:()=>({commands:commands2})=>commands2.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[markInputRule({find:inputRegex,type:this.type})]},addPasteRules(){return[markPasteRule({find:pasteRegex,type:this.type})]}});const RichTextEditorMoreExtensions=props=>{const editor=useEditor({extensions:[StarterKit,Link,HorizontalRule,Highlight.configure({multicolor:true})],content:"Add your text here. You can format your text, add links, quotes, and bullets."});if(!editor){return null}const ExtensionsList=[{icon:"horizontal-rule",isActive:editor.isActive("horizontalRule"),text:"Horizontal Rule",onclick:()=>editor.chain().focus().setHorizontalRule().run()},{icon:"highlighter",isActive:editor.isActive("highlight"),text:"Highlighter",onclick:()=>editor.chain().focus().toggleHighlight().run()}];return jsx("div",{children:jsx(RichTextEditor$1,{advancedEditor:editor,extensions:ExtensionsList,...props,children:jsx(EditorContent,{editor:editor})})})};const RichTextEditorToolbarDisabled=props=>{const editor=useEditor({extensions:[Document,Paragraph,Text$1],content:"Add your text here. You can format your text, add links, quotes, and bullets."});if(!editor){return null}return jsx("div",{children:jsx(RichTextEditor$1,{advancedEditor:editor,advancedEditorToolbar:false,...props,children:jsx(EditorContent,{editor:editor})})})};const RichTextEditorAdvancedPreview=props=>{const editor=useEditor({extensions:[StarterKit,Link],content:'Add text here, format it, and press "Preview Output" to see what your stylized output will look like on the page.'});const[showPreview,setShowPreview]=useState(false);const[previewText,setPreviewText]=useState(jsx("div",{}));const handleChange=()=>{if(editor){setPreviewText(editor.getHTML())}};const handleClick2=()=>{handleChange();setShowPreview(true)};if(!editor){return null}return jsxs("div",{children:[jsx(RichTextEditor$1,{advancedEditor:editor,id:"content-advanced-preview-editor",onChange:handleChange,...props,children:jsx(EditorContent,{editor:editor})}),showPreview&&jsx(Card$1,{marginTop:"md",maxWidth:"md",children:jsx("div",{className:"tiptap-content",dangerouslySetInnerHTML:{__html:previewText},id:"advanced-preview-content"})}),!showPreview&&jsx("div",{}),jsx(Button$1,{id:"preview-button",marginTop:"md",onClick:handleClick2,text:"Preview Output",variant:"secondary"})]})};const RichTextEditor=Object.freeze(Object.defineProperty({__proto__:null,RichTextEditorAdvancedDefault:RichTextEditorAdvancedDefault,RichTextEditorAdvancedPreview:RichTextEditorAdvancedPreview,RichTextEditorAttributes:RichTextEditorAttributes,RichTextEditorDefault:RichTextEditorDefault,RichTextEditorFocus:RichTextEditorFocus,RichTextEditorInline:RichTextEditorInline,RichTextEditorMoreExtensions:RichTextEditorMoreExtensions,RichTextEditorPreview:RichTextEditorPreview,RichTextEditorSimple:RichTextEditorSimple,RichTextEditorSticky:RichTextEditorSticky,RichTextEditorTemplates:RichTextEditorTemplates,RichTextEditorToolbarBottom:RichTextEditorToolbarBottom,RichTextEditorToolbarDisabled:RichTextEditorToolbarDisabled},Symbol.toStringTag,{value:"Module"}));const SectionSeparatorLine=props=>jsx("div",{children:jsx(SectionSeparator$1,{...props})});const SectionSeparatorText=props=>jsx(SectionSeparator$1,{...props,text:"Text Separator"});const SectionSeparatorVertical=props=>jsxs(Flex$1,{inline:"flex-container",vertical:"stretch",children:[jsx(FlexItem,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"}),jsx(SectionSeparator$1,{...props,orientation:"vertical"}),jsx(FlexItem,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"}),jsx(SectionSeparator$1,{...props,orientation:"vertical"}),jsx(FlexItem,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"})]});const SectionSeparatorDashed=props=>jsx(SectionSeparator$1,{...props,lineStyle:"dashed"});const children$1=jsx(Card$1,{borderRadius:"rounded",justifyContent:"center",padding:"none",children:jsx(Caption$1,{paddingLeft:"xs",paddingRight:"xs",size:"xs",text:"TODAY"})});const SectionSeparatorChildren=props=>jsx(SectionSeparator$1,{...props,lineStyle:"dashed",children:children$1});const children=jsxs(Flex$1,{padding:"xs",children:[jsx(Icon$1,{color:"primary",icon:"arrow-down"}),jsx(Detail$1,{color:"link",size:"sm",text:"Children"})]});const SectionSeparatorColor=props=>jsxs("div",{children:[jsx(SectionSeparator$1,{text:"Default Separator",...props}),jsx(SectionSeparator$1,{color:"primary",text:"Primary Separator",...props}),jsx(SectionSeparator$1,{color:"primary",lineStyle:"dashed",text:"Primary Dashed Separator",...props}),jsx(SectionSeparator$1,{color:"primary",...props,children:children})]});const SectionSeparator=Object.freeze(Object.defineProperty({__proto__:null,SectionSeparatorChildren:SectionSeparatorChildren,SectionSeparatorColor:SectionSeparatorColor,SectionSeparatorDashed:SectionSeparatorDashed,SectionSeparatorLine:SectionSeparatorLine,SectionSeparatorText:SectionSeparatorText,SectionSeparatorVertical:SectionSeparatorVertical},Symbol.toStringTag,{value:"Module"}));const SelectDefault=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Food",name:"food",options:options2,...props})})};const SelectBlank=props=>{const options2=[{value:"USA"},{value:"Canada"},{value:"Brazil"},{value:"Philippines"}];return jsx("div",{children:jsx(Select$1,{blankSelection:"Select One...",label:"Where do you live",name:"location",options:options2,...props})})};const SelectDisabledOptions=props=>{const options2=[{value:"1",disabled:true,text:"Espresso"},{value:"2",text:"Americano"},{value:"3",disabled:true,text:"Cappuccino"},{value:"4",text:"Mocha"},{value:"5",text:"Flat White"},{value:"6",text:"Latte"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Coffee",name:"coffee",options:options2,value:"2",...props})})};const SelectDisabled=props=>{const options2=[{value:"Apple Pie"},{value:"Cookies"},{value:"Ice Cream"},{value:"Brownies"}];return jsx("div",{children:jsx(Select$1,{disabled:true,label:"Favorite Dessert",name:"dessert",options:options2,...props})})};const SelectRequired=props=>{const options2=[{value:"Left"},{value:"Right"},{value:"I go without laces"}];return jsx("div",{children:jsx(Select$1,{blankSelection:"Select One...",label:"Which shoe do you tie first?",name:"shoe",options:options2,required:true,...props})})};const SelectCustomSelect=props=>jsx("div",{children:jsx(Select$1,{label:"Favorite Holiday",...props,children:jsxs("select",{id:"holiday",name:"holiday",...props,children:[jsx("option",{value:"1",children:"Christmas"}),jsx("option",{value:"2",children:"Thanksgiving"}),jsx("option",{value:"3",children:"Halloween"}),jsx("option",{value:"4",children:"Fourth of July"})]})})});const SelectValueTextSame=props=>{const options2=[{value:"Football"},{value:"Baseball"},{value:"Basketball"},{value:"Hockey"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Sport",name:"sports",options:options2,...props})})};const SelectError=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," Please make a valid selection"]});return jsxs("div",{children:[jsx(Select$1,{error:error,label:"Favorite Food",name:"food",options:options2,value:"2",...props}),jsx(Body$1,{error:error,status:"negative",...props})]})};const SelectInline=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsxs("div",{children:[jsx(Select$1,{inline:true,label:"Favorite Food",name:"food",options:options2,...props}),jsx(Body$1,{status:"negative",...props})]})};const SelectInlineShowArrow=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsxs("div",{children:[jsx(Select$1,{inline:true,label:"Favorite Food",name:"food",options:options2,showArrow:true,...props}),jsx(Body$1,{status:"negative",...props})]})};const SelectInlineCompact=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"}];return jsxs("div",{children:[jsx(Select$1,{compact:true,inline:true,label:"Favorite Food",name:"food",options:options2,...props}),jsx(Body$1,{status:"negative",...props})]})};const SelectMultiple=props=>{const options2=[{value:"1",text:"Burgers"},{value:"2",text:"Pizza"},{value:"3",text:"Tacos"},{value:"3",text:"BBQ"},{value:"3",text:"Sushi"},{value:"3",text:"Chinese"},{value:"3",text:"Hot Dogs"}];return jsx("div",{children:jsx(Select$1,{label:"Favorite Food",multiple:true,name:"food",options:options2,...props})})};const SelectReactHook=props=>{const{register:register,handleSubmit:handleSubmit,formState:{errors:errors}}=useForm({defaultValues:{food:""}});const[submittedData,setSubmittedData]=useState({food:""});const onSubmit=data3=>{setSubmittedData(data3)};const options2=[{value:1,text:"Burgers"},{value:2,text:"Pizza"},{value:3,text:"Tacos"}];return jsxs(Fragment$1,{children:[jsxs("form",{onSubmit:handleSubmit(onSubmit),children:[jsx(Select$1,{...props,...register("food",{required:true}),error:errors.food?"Please select a food.":null,label:"Favorite Food",options:options2}),jsx("br",{}),jsx(Button$1,{htmlType:"submit",marginTop:"sm",text:"Submit"})]}),jsx(Body$1,{padding:"xs",text:`Food: ${submittedData.food}`})]})};const SelectCustomSelectSubheaders=props=>jsx("div",{children:jsx(Select$1,{label:"Favorite Animal",...props,children:jsxs("select",{id:"animal",name:"animal",...props,children:[jsxs("optgroup",{label:"Mammal",children:[jsx("option",{value:"1",children:"Cat"}),jsx("option",{value:"2",children:"Dog"})]}),jsxs("optgroup",{label:"Amphibian",children:[jsx("option",{value:"3",children:"Frog"}),jsx("option",{value:"4",children:"Salamander"})]})]})})});const Select=Object.freeze(Object.defineProperty({__proto__:null,SelectBlank:SelectBlank,SelectCustomSelect:SelectCustomSelect,SelectCustomSelectSubheaders:SelectCustomSelectSubheaders,SelectDefault:SelectDefault,SelectDisabled:SelectDisabled,SelectDisabledOptions:SelectDisabledOptions,SelectError:SelectError,SelectInline:SelectInline,SelectInlineCompact:SelectInlineCompact,SelectInlineShowArrow:SelectInlineShowArrow,SelectMultiple:SelectMultiple,SelectReactHook:SelectReactHook,SelectRequired:SelectRequired,SelectValueTextSame:SelectValueTextSame},Symbol.toStringTag,{value:"Module"}));const SelectableCardDefault=props=>{const[selectedWithIcon,setSelectedWithIcon]=useState(true);const[selectedNoIcon,setSelectedNoIcon]=useState(true);const[unselected,setUnselected]=useState(false);const[disabled,setDisabled]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCard$1,{checked:selectedWithIcon,icon:true,inputId:"selectedWithIcon",name:"selectedWithIcon",onChange:()=>setSelectedWithIcon(!selectedWithIcon),value:"selectedWithIcon",...props,children:"Selected, with icon"}),jsx(SelectableCard$1,{checked:selectedNoIcon,inputId:"selectedWithoutIcon",name:"selectedWithoutIcon",onChange:()=>setSelectedNoIcon(!selectedNoIcon),value:"selectedWithoutIcon",...props,children:"Selected, without icon"}),jsx(SelectableCard$1,{checked:unselected,inputId:"unselected",name:"unselected",onChange:()=>setUnselected(!unselected),value:"unselected",...props,children:"Unselected"}),jsx(SelectableCard$1,{checked:disabled,disabled:true,inputId:"disabled",name:"disabled",onChange:()=>setDisabled(!disabled),value:"disabled",...props,children:"Disabled"})]})};const SelectableCardSingleSelect=props=>{const[selected,setSelected]=useState(null);const handleSelect=event2=>{setSelected(event2.target.value)};return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCard$1,{checked:selected==="male",inputId:"male1",multi:false,name:"gender",onChange:handleSelect,value:"male",...props,children:"Male"}),jsx(SelectableCard$1,{checked:selected==="female",inputId:"female1",multi:false,name:"gender",onChange:handleSelect,value:"female",...props,children:"Female"}),jsx(SelectableCard$1,{checked:selected==="other",inputId:"other1",multi:false,name:"gender",onChange:handleSelect,value:"other",...props,children:"Other"})]})};const SelectableCardBlock=props=>{const[block,setBlock]=useState(true);const[tag,setTag]=useState(false);const handleSelect=event2=>{setBlock(event2.target.checked)};const handleTag=event2=>{setTag(event2.target.checked)};return jsxs("div",{className:"pb--doc-demo-row",children:[jsxs(SelectableCard$1,{checked:block,inputId:"block",name:"block",onChange:handleSelect,value:"block",...props,children:[jsx(Title$1,{size:4,text:"Block",...props}),jsx(Body$1,{tag:"span",...props,children:"This uses block"})]}),jsx(SelectableCard$1,{checked:tag,inputId:"tag",name:"tag",onChange:handleTag,text:"This passes text through the tag",value:"tag",...props})]})};const SelectableCardError=props=>{const[football,setFootball]=useState(false);const[basketball,setBasketball]=useState(false);const[baseball,setBaseball]=useState(false);return jsxs("div",{children:[jsx(Title$1,{...props,size:3,text:"What sports do you like?"}),jsx("br",{}),jsx(SelectableCard$1,{...props,checked:football,error:true,inputId:"football",name:"football",onChange:()=>setFootball(!football),value:"football",variant:"displayInput",children:jsx(Body$1,{...props,children:"Football"})}),jsx(SelectableCard$1,{...props,checked:basketball,error:true,inputId:"basketball",name:"basketball",onChange:()=>setBasketball(!basketball),value:"basketball",variant:"displayInput",children:jsx(Body$1,{...props,children:"Basketball"})}),jsx(SelectableCard$1,{...props,checked:baseball,error:true,inputId:"baseball",name:"baseball",onChange:()=>setBaseball(!baseball),value:"baseball",variant:"displayInput",children:jsx(Body$1,{...props,children:"Baseball"})})]})};const SelectableCardImage=props=>{const[selectedImage,setSelectedImage]=useState(true);const[unselectedImage,setUnselectedImage]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsxs(SelectableCard$1,{checked:selectedImage,icon:true,inputId:"selectableImage",name:"selectableImage",onChange:()=>setSelectedImage(!selectedImage),value:"selectableImage",...props,children:[jsx(Image$1,{rounded:true,size:"xl",url:"https://unsplash.it/500/400/?image=634",...props}),jsx(Body$1,{children:"Add text here"})]}),jsx(SelectableCard$1,{checked:unselectedImage,icon:true,inputId:"unselectedImage",name:"unselectedImage",onChange:()=>setUnselectedImage(!unselectedImage),value:"unselectedImage",...props,children:jsx(Image$1,{rounded:true,size:"xl",url:"https://unsplash.it/500/400/?image=634",...props})})]})};const SelectableCardInput=props=>{const[state,setState]=useState({firstCheckbox:true,secondCheckbox:true,thirdCheckbox:false,forthCheckbox:false,radioSelected:"first"});const handleSelect=event2=>{setState({...state,[event2.target.name]:event2.target.checked})};const handleRadioSelect=event2=>{setState({...state,radioSelected:event2.target.value})};return jsxs(Fragment$1,{children:[jsx(Title$1,{size:3,text:"What programming languages do you know?",...props}),jsx("br",{}),jsx(SelectableCard$1,{checked:state.firstCheckbox,inputId:"firstCheckbox",name:"firstCheckbox",onChange:handleSelect,value:"firstCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"Ruby"})}),jsx(SelectableCard$1,{checked:state.secondCheckbox,inputId:"secondCheckbox",name:"secondCheckbox",onChange:handleSelect,value:"secondCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"JavaScript"})}),jsx(SelectableCard$1,{checked:state.thirdCheckbox,inputId:"thirdCheckbox",name:"thirdCheckbox",onChange:handleSelect,value:"thirdCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"TypeScript"})}),jsx(SelectableCard$1,{checked:state.fourthCheckbox,inputId:"fourthCheckbox",name:"fourthCheckbox",onChange:handleSelect,value:"fourthCheckbox",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"Swift"})}),jsx("br",{}),jsx(Title$1,{size:3,text:"How likely are you to recommend Playbook to a friend?",...props}),jsx("br",{}),jsx(SelectableCard$1,{checked:state.radioSelected==="first",inputId:"radio-1",multi:false,name:"radio",onChange:handleRadioSelect,value:"first",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"5"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="second",inputId:"radio-2",multi:false,name:"radio",onChange:handleRadioSelect,value:"second",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"4"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="third",inputId:"radio-3",multi:false,name:"radio",onChange:handleRadioSelect,value:"third",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"3"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="fourth",inputId:"radio-4",multi:false,name:"radio",onChange:handleRadioSelect,value:"fourth",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"2"})}),jsx(SelectableCard$1,{checked:state.radioSelected==="fifth",inputId:"radio-5",multi:false,name:"radio",onChange:handleRadioSelect,value:"fifth",variant:"displayInput",...props,children:jsx(Body$1,{...props,children:"1"})})]})};const SelectableCard=Object.freeze(Object.defineProperty({__proto__:null,SelectableCardBlock:SelectableCardBlock,SelectableCardDefault:SelectableCardDefault,SelectableCardError:SelectableCardError,SelectableCardImage:SelectableCardImage,SelectableCardInput:SelectableCardInput,SelectableCardSingleSelect:SelectableCardSingleSelect},Symbol.toStringTag,{value:"Module"}));const SelectableCardIconDefault=props=>{const[selected,setSelected]=useState(true);const[unselected,setUnselected]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCardIcon$1,{bodyText:"Export",checked:selected,icon:"chart-line",inputId:1,onChange:()=>setSelected(!selected),titleText:"Quarterly Report",...props}),jsx(SelectableCardIcon$1,{bodyText:"Export",checked:unselected,icon:"chart-pie",inputId:2,onChange:()=>setUnselected(!unselected),titleText:"Market Share",...props}),jsx(SelectableCardIcon$1,{bodyText:"Export",disabled:true,icon:"analytics",inputId:3,titleText:"Comprehensive",...props})]})};const SelectableCardIconCheckmark=props=>{const[selected,setSelected]=useState(true);const[unselected,setUnselected]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCardIcon$1,{bodyText:"Howdy Partner.",checked:selected,checkmark:true,icon:"hat-cowboy",inputId:4,onChange:()=>setSelected(!selected),titleText:"Cowboy",...props}),jsx(SelectableCardIcon$1,{bodyText:"Poof, you're a sandwich.",checked:unselected,checkmark:true,icon:"hat-wizard",inputId:5,onChange:()=>setUnselected(!unselected),titleText:"Wizard",...props}),jsx(SelectableCardIcon$1,{bodyText:"Where is the lamb sauce?",checkmark:true,disabled:true,icon:"hat-chef",inputId:6,titleText:"Chef",...props})]})};const SelectableCardIconSingleSelect=props=>{const[selectedFormat,toggleFormat]=useState(null);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableCardIcon$1,{checked:selectedFormat==="car",icon:"car",inputId:7,name:"select",onChange:()=>toggleFormat("car"),titleText:"Car",value:"car",...props}),jsx(SelectableCardIcon$1,{checked:selectedFormat==="bus",icon:"bus",inputId:8,name:"select",onChange:()=>toggleFormat("bus"),titleText:"Bus",value:"bus",...props}),jsx(SelectableCardIcon$1,{checked:selectedFormat==="subway",icon:"subway",inputId:9,name:"select",onChange:()=>toggleFormat("subway"),titleText:"Subway",value:"subway",...props})]})};const svg={newChat:jsx("svg",{ariaHidden:"true",focusable:"false",role:"img",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288zM336 184h-56v-56c0-8.8-7.2-16-16-16h-16c-8.8 0-16 7.2-16 16v56h-56c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h56v56c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-56h56c8.8 0 16-7.2 16-16v-16c0-8.8-7.2-16-16-16z",fill:"currentColor"})})};const SelectableCardIconCustom=props=>jsx("div",{className:"pb--doc-demo-row",children:jsx(SelectableCardIcon$1,{bodyText:"Talk to someone you love",checked:true,customIcon:svg.newChat,inputId:1,titleText:"New Chat",...props})});const SelectableCardIcon=Object.freeze(Object.defineProperty({__proto__:null,SelectableCardIconCheckmark:SelectableCardIconCheckmark,SelectableCardIconCustom:SelectableCardIconCustom,SelectableCardIconDefault:SelectableCardIconDefault,SelectableCardIconSingleSelect:SelectableCardIconSingleSelect},Symbol.toStringTag,{value:"Module"}));const SelectableIconDefault=props=>{const[checkSelected,toggleSelected]=useState(true);const[checkUnselected,toggleUnselected]=useState(false);const[checkDisabled,toggleDisabled]=useState(false);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableIcon$1,{checked:checkSelected,icon:"dollar-sign",inputId:10,onChange:()=>toggleSelected(!checkSelected),text:"US Dollar",...props}),jsx(SelectableIcon$1,{checked:checkUnselected,icon:"euro-sign",inputId:11,onChange:()=>toggleUnselected(!checkUnselected),text:"Euro",...props}),jsx(SelectableIcon$1,{checked:checkDisabled,disabled:true,icon:"yen-sign",inputId:12,onChange:()=>toggleDisabled(!checkDisabled),text:"Yen",...props})]})};const SelectableIconSingleSelect=props=>{const[selectedFormat,toggleFormat]=useState(null);return jsxs("div",{className:"pb--doc-demo-row",children:[jsx(SelectableIcon$1,{checked:selectedFormat==="Cassette",icon:"cassette-tape",inputId:13,multi:false,name:"music-format",onChange:()=>toggleFormat("Cassette"),text:"Cassette",value:"Cassette",...props}),jsx(SelectableIcon$1,{checked:selectedFormat==="CD",icon:"compact-disc",inputId:14,multi:false,name:"music-format",onChange:()=>toggleFormat("CD"),text:"CD",value:"CD",...props}),jsx(SelectableIcon$1,{checked:selectedFormat==="Vinyl",icon:"album-collection",inputId:15,multi:false,name:"music-format",onChange:()=>toggleFormat("Vinyl"),text:"Vinyl",value:"Vinyl",...props})]})};const SelectableIcon=Object.freeze(Object.defineProperty({__proto__:null,SelectableIconDefault:SelectableIconDefault,SelectableIconSingleSelect:SelectableIconSingleSelect},Symbol.toStringTag,{value:"Module"}));const SelectableListDefault$1=props=>jsx("div",{children:jsxs(SelectableList$1,{variant:"checkbox",children:[jsx(SelectableList$1.Item,{label:"Mild",name:"checkbox-name-1",value:"1",...props}),jsx(SelectableList$1.Item,{checked:true,label:"Medium",name:"checkbox-name-2",value:"2",...props}),jsx(SelectableList$1.Item,{label:"Hot",name:"checkbox-name-3",value:"3",...props})]})});const SelectableListDefault=props=>jsx("div",{children:jsxs(SelectableList$1,{variant:"radio",children:[jsx(SelectableList$1.Item,{label:"Small",name:"radio",value:"1",...props}),jsx(SelectableList$1.Item,{defaultChecked:true,label:"Medium",name:"radio",value:"2",...props}),jsx(SelectableList$1.Item,{label:"Large",name:"radio",value:"3",...props})]})});const SelectableList=Object.freeze(Object.defineProperty({__proto__:null,SelectableListCheckbox:SelectableListDefault$1,SelectableListRadio:SelectableListDefault},Symbol.toStringTag,{value:"Module"}));const SkeletonLoadingDefault=props=>jsx("div",{children:jsx(SkeletonLoading$1,{...props})});const SkeletonLoadingColor=props=>jsxs("div",{children:[jsx(Card$1,{borderNone:true,...props,children:jsx(SkeletonLoading$1,{...props})}),jsx(Card$1,{background:"light",borderNone:true,...props,children:jsx(SkeletonLoading$1,{color:"white",...props})})]});const SkeletonLoadingLayout=props=>jsxs("div",{children:[jsx(SkeletonLoading$1,{stack:"5",...props}),jsx(SkeletonLoading$1,{gap:"md",paddingTop:"xl",stack:"3",...props})]});const SkeletonLoadingBorderRadius=props=>jsxs(Flex$1,{justify:"evenly",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"xl",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"lg",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"md",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"xs",height:"50px",width:"100px",...props}),jsx(SkeletonLoading$1,{borderRadius:"none",height:"50px",width:"100px",...props})]});const SkeletonLoadingHeightWidth=props=>jsxs("div",{children:[jsx(SkeletonLoading$1,{height:"100px",width:"50%",...props}),jsx(SkeletonLoading$1,{gap:"md",height:"20px",marginY:"md",stack:"3",width:"50px",...props}),jsx(Card$1,{height:"200px",marginBottom:"md",padding:"none",width:"100%",...props,children:jsx(SkeletonLoading$1,{borderRadius:"md",gap:"xl",height:"50%",width:"300px",...props})}),jsx(Card$1,{height:"200px",padding:"none",width:"100%",...props,children:jsx(SkeletonLoading$1,{borderRadius:"md",gap:"xl",height:"30%",stack:"2",width:"70%",...props})}),jsx(SkeletonLoading$1,{height:"150px",marginY:"md",width:"150px",...props}),jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"150px",width:"150px",...props})]});const SkeletonLoadingUser=props=>{const[isLoading,setIsLoading]=useState(true);const toggleLoading=()=>setIsLoading((prev=>!prev));return jsxs("div",{children:[jsx(Button$1,{marginBottom:"md",onClick:toggleLoading,variant:"secondary",children:isLoading?"Show User":"Show Skeleton Loading"}),jsx("div",{children:isLoading?jsxs(Flex$1,{alignItems:"center",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"38px",paddingRight:"sm",width:"38px",...props}),jsx(SkeletonLoading$1,{gap:"xxs",height:"18px",stack:"2",width:"161px",...props})]}):jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})}),jsx("div",{children:isLoading?jsx(Flex$1,{alignItems:"start",paddingTop:"md",children:jsxs(Flex$1,{alignItems:"center",flexDirection:"column",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"80px",paddingBottom:"xs",width:"80px",...props}),jsx(SkeletonLoading$1,{height:"32px",paddingBottom:"xxs",width:"144px",...props}),jsx(SkeletonLoading$1,{height:"21px",width:"164px",...props})]})}):jsx(Flex$1,{alignItems:"start",paddingTop:"md",children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})})})]})};const SortingChangeCallback=sortOptions=>{alert(JSON.stringify(sortOptions[0]))};const SkeletonLoadingFilter=props=>{const[isLoading,setIsLoading]=useState(true);const toggleLoading=()=>setIsLoading((prev=>!prev));const options2=[{value:"USA"},{value:"Canada"},{value:"Brazil"},{value:"Philippines"},{value:"A galaxy far far away, like really far away..."}];return jsxs("div",{children:[jsx(Button$1,{marginBottom:"md",onClick:toggleLoading,variant:"secondary",children:isLoading?"Show Filter":"Show Skeleton Loading"}),jsx("div",{children:isLoading?jsx(Card$1,{marginBottom:"lg",...props,children:jsxs(Flex$1,{alignItems:"center",justify:"between",orientation:"row",children:[jsxs(Flex$1,{alignItems:"center",justify:"start",orientation:"row",children:[jsx(SkeletonLoading$1,{borderRadius:"rounded",height:"40px",marginRight:"sm",width:"40px",...props}),jsx(SkeletonLoading$1,{height:"16px",marginRight:"md",width:"80px",...props})]}),jsx(Flex$1,{alignItems:"center",justify:"end",orientation:"row",children:jsx(SkeletonLoading$1,{height:"18px",width:"120px",...props})})]})}):jsx(Filter$1,{filters:{"Full Name":"John Wick"},marginBottom:"lg",minWidth:"375px",results:546,sortOptions:{popularity:"Popularity",manager_title:"Manager's Title",manager_name:"Manager's Name"},sortValue:[{name:"popularity",dir:"desc"}],children:({closePopover:closePopover})=>jsxs("form",{children:[jsx(TextInput$1,{label:"Example Text Field",placeholder:"Enter Text"}),jsx(Select$1,{blankSelection:"Select One...",label:"Example Collection Select",name:"Collection Select",options:options2}),jsxs(Flex$1,{spacing:"between",children:[jsx(Button$1,{onClick:closePopover,text:"Filter"}),jsx(Button$1,{text:"Defaults",variant:"secondary"})]})]})})}),jsx("div",{children:isLoading?jsx(SkeletonLoading$1,{height:"127px",marginBottom:"lg",width:"100%",...props}):jsx(Filter$1,{double:true,filters:{"Full Name":"John Wick",City:"San Francisco"},marginBottom:"xl",minWidth:"375px",onSortChange:SortingChangeCallback,results:1,sortOptions:{popularity:"Popularity",manager_title:"Manager's Title",manager_name:"Manager's Name"},sortValue:[{name:"popularity",dir:"desc"}],children:({closePopover:closePopover})=>jsxs("form",{children:[jsx(TextInput$1,{label:"Full Name",placeholder:"Enter name"}),jsx(Select$1,{blankSelection:"Select One...",label:"Territory",maxWidth:"sm",name:"location",options:options2}),jsxs(Flex$1,{spacing:"between",children:[jsx(Button$1,{onClick:closePopover,text:"Filter"}),jsx(Button$1,{text:"Defaults",variant:"secondary"})]})]})})})]})};const SkeletonLoading=Object.freeze(Object.defineProperty({__proto__:null,SkeletonLoadingBorderRadius:SkeletonLoadingBorderRadius,SkeletonLoadingColor:SkeletonLoadingColor,SkeletonLoadingDefault:SkeletonLoadingDefault,SkeletonLoadingFilter:SkeletonLoadingFilter,SkeletonLoadingHeightWidth:SkeletonLoadingHeightWidth,SkeletonLoadingLayout:SkeletonLoadingLayout,SkeletonLoadingUser:SkeletonLoadingUser},Symbol.toStringTag,{value:"Module"}));const SourceDefault=props=>jsxs(Fragment$1,{children:[jsx(Source$1,{source:"BJ's Johnston-208",type:"retail",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Referral-phrg",type:"inbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"BJ's Future CB",type:"user",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props})]});const SourceNoicon=props=>jsxs(Fragment$1,{children:[jsx(Source$1,{hideIcon:true,source:"BJ's Johnston-208",type:"retail",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{hideIcon:true,source:"Referral-phrg",type:"inbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{hideIcon:true,source:"BJ's Future CB",type:"user",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props})]});const SourceTypes=props=>jsxs(Fragment$1,{children:[jsx(Source$1,{source:"BJ's Johnston-208",type:"retail",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Referral-phrg",type:"inbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"B.B.B. Outbound",type:"outbound",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Contractor.com",type:"prospecting",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Beards, Beers and Brats",type:"events",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"BJ's Johnston-208",type:"referral",...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"Employee Referral",type:"referral",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props}),jsx("br",{}),jsx("br",{}),jsx(Source$1,{source:"BJ's Future CB",type:"user",user:{name:"Anna Black",image:{url:"https://randomuser.me/api/portraits/women/44.jpg"},userId:"48582"},...props})]});const Source=Object.freeze(Object.defineProperty({__proto__:null,SourceDefault:SourceDefault,SourceNoicon:SourceNoicon,SourceTypes:SourceTypes},Symbol.toStringTag,{value:"Module"}));const StarRatingDefault=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:.9,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:1.5,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:4.2,...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:5,...props})]});const StarRatingColorOptions=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{colorOption:"primary",paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{colorOption:"subtle",paddingBottom:"xs",rating:3,...props})]});const StarRatingBackgroundOptions=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{backgroundType:"outline",paddingBottom:"xs",rating:3,...props})]});const StarRatingHide=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{layoutOption:"number",paddingBottom:"xs",rating:2.8,...props}),jsx(StarRating$1,{layoutOption:"number",paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{layoutOption:"onestar",paddingBottom:"xs",rating:1,...props})]});const StarRatingNumberConfig=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{denominator:3,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:4,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:5,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:6,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:7,paddingBottom:"xs",rating:3,...props}),jsx(StarRating$1,{denominator:8,paddingBottom:"xs",rating:3,...props})]});const StarRatingSizeOptions=props=>jsxs(Fragment$1,{children:[jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"xs",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"sm",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"md",...props}),jsx(StarRating$1,{paddingBottom:"xs",rating:3,size:"lg",...props}),jsx(StarRating$1,{layoutOption:"number",paddingBottom:"xs",rating:3,size:"lg",...props}),jsx(StarRating$1,{layoutOption:"onestar",paddingBottom:"xs",rating:3,size:"lg",...props})]});const StarRatingInteractive=props=>jsx(Fragment$1,{children:jsx(StarRating$1,{paddingBottom:"xs",variant:"interactive",...props})});const StarRating=Object.freeze(Object.defineProperty({__proto__:null,StarRatingBackgroundOptions:StarRatingBackgroundOptions,StarRatingColorOptions:StarRatingColorOptions,StarRatingDefault:StarRatingDefault,StarRatingHide:StarRatingHide,StarRatingInteractive:StarRatingInteractive,StarRatingNumberConfig:StarRatingNumberConfig,StarRatingSizeOptions:StarRatingSizeOptions},Symbol.toStringTag,{value:"Module"}));const StatChangeDefault=props=>jsxs("div",{children:[jsx(StatChange$1,{change:"increase",value:"28.4",...props}),jsx("br",{}),jsx(StatChange$1,{change:"decrease",value:6.1,...props}),jsx("br",{}),jsx(StatChange$1,{change:"neutral",value:102,...props})]});const StatChangeUnit=props=>jsxs("div",{children:[jsx(StatChange$1,{icon:"chart-line",value:"28.4",...props}),jsx("br",{}),jsx(StatChange$1,{icon:"chart-line-down",value:6.1,...props}),jsx("br",{}),jsx(StatChange$1,{value:102,...props})]});const StatChangeUnitTwo=props=>jsxs("div",{children:[jsx(StatChange$1,{change:"increase",icon:"level-up",value:"28.4",...props}),jsx("br",{}),jsx(StatChange$1,{change:"decrease",icon:"level-down",value:6.1,...props}),jsx("br",{}),jsx(StatChange$1,{change:"neutral",value:102,...props})]});const StatChange=Object.freeze(Object.defineProperty({__proto__:null,StatChangeDefault:StatChangeDefault,StatChangeUnit:StatChangeUnit,StatChangeUnitTwo:StatChangeUnitTwo},Symbol.toStringTag,{value:"Module"}));const StatValueDefault=props=>jsxs(Fragment$1,{children:[jsx(StatValue$1,{value:1048,...props}),jsx("br",{}),jsx("br",{}),jsx(StatValue$1,{value:10.48,...props})]});const StatValueUnit=props=>jsx(StatValue$1,{unit:"appt",value:"5,294",...props});const StatValue=Object.freeze(Object.defineProperty({__proto__:null,StatValueDefault:StatValueDefault,StatValueUnit:StatValueUnit},Symbol.toStringTag,{value:"Module"}));const TableSm=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableMd=props=>jsxs(Table$1,{size:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableLg=props=>jsxs(Table$1,{size:"lg",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableSticky=props=>jsxs(Table$1,{sticky:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableSideHighlight=props=>jsxs("div",{children:[jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Product colors"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs(Table$1.Row,{sideHighlightColor:"product_1_highlight",...props,children:[jsx("td",{children:"Product 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"product_2_highlight",...props,children:[jsx("td",{children:"Product 2"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"product_3_highlight",...props,children:[jsx("td",{children:"Product 3"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"none",...props,children:[jsx("td",{children:"None"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]}),jsx("br",{}),jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Status colors"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs(Table$1.Row,{sideHighlightColor:"success",...props,children:[jsx("td",{children:"Success"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"warning",...props,children:[jsx("td",{children:"Warning"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"error",...props,children:[jsx("td",{children:"Error"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"none",...props,children:[jsx("td",{children:"None"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]}),jsx("br",{}),jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Category Colors"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs(Table$1.Row,{sideHighlightColor:"category_1",...props,children:[jsx("td",{children:"Category Color 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"category_2",...props,children:[jsx("td",{children:"Category Color 2"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"category_3",...props,children:[jsx("td",{children:"Category Color 3"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs(Table$1.Row,{sideHighlightColor:"none",...props,children:[jsx("td",{children:"None"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]})]});const TableContainer=props=>jsxs(Table$1,{container:false,size:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableDataTable=props=>jsxs(Table$1,{dataTable:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableResponsiveTable=props=>jsxs("div",{children:[jsx(Title$1,{size:4,text:"Not Responsive",...props}),jsxs(Table$1,{responsive:"none",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{size:4,text:"Collapse Mobile",...props}),jsxs(Table$1,{collapse:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{size:4,text:"Collapse Tablet",...props}),jsxs(Table$1,{collapse:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{size:4,text:"Collapse Desktop",...props}),jsxs(Table$1,{collapse:"lg",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsx("tbody",{children:jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})})]})]});const TableDisableHover=props=>jsxs(Table$1,{disableHover:true,size:"md",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableSingleLine=props=>jsxs(Table$1,{singleLine:true,size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableMultiline=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsxs("td",{children:["Value 1",jsx("br",{}),"Value 1",jsx("br",{}),"Value 1"]}),jsx("td",{children:"Value 2"}),jsxs("td",{children:["Value 3",jsx("br",{}),"Value 3"]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableOneAction$1=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]})]})]});const TableOneAction=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Tertiary Action",variant:"link",...props}),jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Secondary Action",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Tertiary Action",variant:"link",...props}),jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Secondary Action",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Tertiary Action",variant:"link",...props}),jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Secondary Action",variant:"secondary",...props})]})]})]})]});const TableTwoPlusActions=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(CircleIconButton$1,{icon:"ellipsis-h",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(CircleIconButton$1,{icon:"ellipsis-h",variant:"secondary",...props})]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(CircleIconButton$1,{icon:"ellipsis-h",variant:"secondary",...props})]})]})]})]});const TableActionMiddle=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsxs("td",{children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Action",variant:"link",...props})]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsxs("td",{children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Action",variant:"link",...props})]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsxs("td",{children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),paddingLeft:"none",text:"Action",variant:"link",...props})]}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableIconButtons=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{align:"right",children:jsxs(Flex$1,{justifyContent:"end",orientation:"row",children:[jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"trash-alt",variant:"link",...props})}),jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"pencil",variant:"secondary",...props})})]})})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{align:"right",children:jsxs(Flex$1,{justifyContent:"end",orientation:"row",children:[jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"trash-alt",variant:"link",...props})}),jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"pencil",variant:"secondary",...props})})]})})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value lk"}),jsx("td",{align:"right",children:jsxs(Flex$1,{justifyContent:"end",orientation:"row",children:[jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"trash-alt",variant:"link",...props})}),jsx(FlexItem,{children:jsx(CircleIconButton$1,{icon:"pencil",variant:"secondary",...props})})]})})]})]})]});const TableAlignmentColumn=props=>jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{textAlign:"center",children:"Rating"}),jsx(Table$1.Header,{textAlign:"right",children:"Money"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{textAlign:"center",children:"3"}),jsx(Table$1.Cell,{textAlign:"right",children:"$57.32"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{textAlign:"center",children:"2"}),jsx(Table$1.Cell,{textAlign:"right",children:"$5,657.08"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{textAlign:"center",children:"4"}),jsx(Table$1.Cell,{textAlign:"right",children:"$358.77"})]})]})]});const TableAlignmentRow=props=>jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{textAlign:"center",children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{textAlign:"right",children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]})]})]});const TableAlignmentShiftRow=props=>jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsxs(Table$1.Cell,{children:["Value 1a",jsx("br",{}),"Value 1a",jsx("br",{}),"Value 1a"]}),jsx(Table$1.Cell,{children:"Value 2a"}),jsx(Table$1.Cell,{children:"Value 3a"}),jsx(Table$1.Cell,{children:"Value 4a"}),jsx(Table$1.Cell,{children:"Value 5a"})]}),jsxs(Table$1.Row,{verticalAlign:"middle",children:[jsxs(Table$1.Cell,{children:["Value 1b",jsx("br",{}),"Value 1b",jsx("br",{}),"Value 1b"]}),jsx(Table$1.Cell,{children:"Value 2b"}),jsx(Table$1.Cell,{children:"Value 3b"}),jsx(Table$1.Cell,{children:"Value 4b"}),jsx(Table$1.Cell,{children:"Value 5b"})]}),jsxs(Table$1.Row,{verticalAlign:"bottom",children:[jsxs(Table$1.Cell,{children:["Value 1c",jsx("br",{}),"Value 1c",jsx("br",{}),"Value 1c"]}),jsx(Table$1.Cell,{children:"Value 2c"}),jsx(Table$1.Cell,{children:"Value 3c"}),jsx(Table$1.Cell,{children:"Value 4c"}),jsx(Table$1.Cell,{children:"Value 5c"})]})]})]});const TableAlignmentShiftData=props=>jsxs("div",{children:[jsxs(Table$1,{marginBottom:"md",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:" "}),jsx(Table$1.Header,{children:"Price"})]})}),jsx(Table$1.Body,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{verticalAlign:"bottom",children:"Total"}),jsxs(Table$1.Cell,{children:["$12",jsx("br",{}),"$46",jsx("br",{}),"$25",jsx("br",{}),"-------",jsx("br",{}),"$83"]})]})})]}),jsxs(Table$1,{...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Espresso Drinks"}),jsx(Table$1.Header,{children:"Ingredients"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsxs(Table$1.Cell,{verticalAlign:"top",children:["Cappuccino"," "]}),jsxs(Table$1.Cell,{children:["Steamed Milk",jsx("br",{}),"Milk Foam"]})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{verticalAlign:"top",children:"Macchiato"}),jsxs(Table$1.Cell,{verticalAlign:"top",children:["Espresso",jsx("br",{}),"Steamed Milk"]})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Mocha"}),jsxs(Table$1.Cell,{children:["Hot Chocolate",jsx("br",{}),"Steamed Milk"]})]})]})]})]});const TableWithBackgroundKit=props=>jsxs("div",{children:[jsx("div",{children:jsxs(Table$1,{...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs(Background$1,{backgroundColor:"error_subtle",tag:"tr",children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs(Background$1,{backgroundColor:"warning_subtle",tag:"tr",children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]})]})]})}),jsx("div",{children:jsxs(Table$1,{paddingTop:"sm",...props,children:[jsxs("colgroup",{children:[jsx(Background$1,{backgroundColor:"error_subtle",tag:"col"}),jsx(Background$1,{backgroundColor:"info_subtle",tag:"col"}),jsx(Background$1,{backgroundColor:"warning_subtle",tag:"col"})]}),jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"})]})]})]})})]});const TableVerticalBorder=props=>jsxs(Table$1,{size:"sm",verticalBorder:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableStriped=props=>jsxs(Table$1,{striped:true,...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]});const TableDiv=props=>jsxs(Table$1,{size:"sm",tag:"div",...props,children:[jsx("div",{className:"pb_table_thead",children:jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_th",children:"Column 1"}),jsx("div",{className:"pb_table_th",children:"Column 2"}),jsx("div",{className:"pb_table_th",children:"Column 3"}),jsx("div",{className:"pb_table_th",children:"Column 4"}),jsx("div",{className:"pb_table_th",children:"Column 5"})]})}),jsxs("div",{className:"pb_table_tbody",children:[jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_td",children:"Value 1"}),jsx("div",{className:"pb_table_td",children:"Value 2"}),jsx("div",{className:"pb_table_td",children:"Value 3"}),jsx("div",{className:"pb_table_td",children:"Value 4"}),jsx("div",{className:"pb_table_td",children:"Value 5"})]}),jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_td",children:"Value 1"}),jsx("div",{className:"pb_table_td",children:"Value 2"}),jsx("div",{className:"pb_table_td",children:"Value 3"}),jsx("div",{className:"pb_table_td",children:"Value 4"}),jsx("div",{className:"pb_table_td",children:"Value 5"})]}),jsxs("div",{className:"pb_table_tr",children:[jsx("div",{className:"pb_table_td",children:"Value 1"}),jsx("div",{className:"pb_table_td",children:"Value 2"}),jsx("div",{className:"pb_table_td",children:"Value 3"}),jsx("div",{className:"pb_table_td",children:"Value 4"}),jsx("div",{className:"pb_table_td",children:"Value 5"})]})]})]});const TableWithSubcomponents=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]})]})]});const TableWithSubcomponentsAsDivs=props=>jsxs(Table$1,{size:"sm",tag:"div",...props,children:[jsx(Table$1.Head,{tag:"div",children:jsxs(Table$1.Row,{tag:"div",children:[jsx(Table$1.Header,{tag:"div",children:"Column 1"}),jsx(Table$1.Header,{tag:"div",children:"Column 2"}),jsx(Table$1.Header,{tag:"div",children:"Column 3"}),jsx(Table$1.Header,{tag:"div",children:"Column 4"}),jsx(Table$1.Header,{tag:"div",children:"Column 5"})]})}),jsxs(Table$1.Body,{tag:"div",children:[jsxs(Table$1.Row,{tag:"div",children:[jsx(Table$1.Cell,{tag:"div",children:"Value 1"}),jsx(Table$1.Cell,{tag:"div",children:"Value 2"}),jsx(Table$1.Cell,{tag:"div",children:"Value 3"}),jsx(Table$1.Cell,{tag:"div",children:"Value 4"}),jsx(Table$1.Cell,{tag:"div",children:"Value 5"})]}),jsxs(Table$1.Row,{tag:"div",children:[jsx(Table$1.Cell,{tag:"div",children:"Value 1"}),jsx(Table$1.Cell,{tag:"div",children:"Value 2"}),jsx(Table$1.Cell,{tag:"div",children:"Value 3"}),jsx(Table$1.Cell,{tag:"div",children:"Value 4"}),jsx(Table$1.Cell,{tag:"div",children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{tag:"div",children:"Value 1"}),jsx(Table$1.Cell,{tag:"div",children:"Value 2"}),jsx(Table$1.Cell,{tag:"div",children:"Value 3"}),jsx(Table$1.Cell,{tag:"div",children:"Value 4"}),jsx(Table$1.Cell,{tag:"div",children:"Value 5"})]})]})]});const TableOuterPadding=props=>jsxs(Table$1,{outerPadding:"sm",size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:""})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsxs("td",{align:"right",children:[" ",jsx(Button$1,{onClick:()=>alert("button clicked!"),text:"Action",variant:"secondary",...props})," "]})]})]})]});const TableStickyLeftColumns=()=>jsxs(Table$1,{responsive:"scroll",size:"md",stickyLeftColumn:["1","2","3"],children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{id:"1",children:"Column 1"}),jsx("th",{id:"2",children:"Column 2"}),jsx("th",{id:"3",children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"}),jsx("th",{children:"Column 6"}),jsx("th",{children:"Column 7"}),jsx("th",{children:"Column 8"}),jsx("th",{children:"Column 9"}),jsx("th",{children:"Column 10"}),jsx("th",{children:"Column 11"}),jsx("th",{children:"Column 12"}),jsx("th",{children:"Column 13"}),jsx("th",{children:"Column 14"}),jsx("th",{children:"Column 15"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{id:"1",children:"Value 1"}),jsx("td",{id:"2",children:"Value 2"}),jsx("td",{id:"3",children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"1",children:"Value 1"}),jsx("td",{id:"2",children:"Value 2"}),jsx("td",{id:"3",children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"1",children:"Value 1"}),jsx("td",{id:"2",children:"Value 2"}),jsx("td",{id:"3",children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{children:"Value 15"})]})]})]});const TableStickyRightColumns=()=>jsxs(Table$1,{responsive:"scroll",size:"md",stickyRightColumn:["13","14","15"],children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"}),jsx("th",{children:"Column 6"}),jsx("th",{children:"Column 7"}),jsx("th",{children:"Column 8"}),jsx("th",{children:"Column 9"}),jsx("th",{children:"Column 10"}),jsx("th",{children:"Column 11"}),jsx("th",{children:"Column 12"}),jsx("th",{id:"13",children:"Column 13"}),jsx("th",{id:"14",children:"Column 14"}),jsx("th",{id:"15",children:"Column 15"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{id:"13",children:"Value 13"}),jsx("td",{id:"14",children:"Value 14"}),jsx("td",{id:"15",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{id:"13",children:"Value 13"}),jsx("td",{id:"14",children:"Value 14"}),jsx("td",{id:"15",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{id:"13",children:"Value 13"}),jsx("td",{id:"14",children:"Value 14"}),jsx("td",{id:"15",children:"Value 15"})]})]})]});const TableStickyColumns=()=>jsxs(Table$1,{responsive:"scroll",size:"md",stickyLeftColumn:["a"],stickyRightColumn:["b"],children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{id:"a",children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"}),jsx("th",{children:"Column 6"}),jsx("th",{children:"Column 7"}),jsx("th",{children:"Column 8"}),jsx("th",{children:"Column 9"}),jsx("th",{children:"Column 10"}),jsx("th",{children:"Column 11"}),jsx("th",{children:"Column 12"}),jsx("th",{children:"Column 13"}),jsx("th",{children:"Column 14"}),jsx("th",{id:"b",children:"Column 15"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{id:"a",children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{id:"b",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"a",children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{id:"b",children:"Value 15"})]}),jsxs("tr",{children:[jsx("td",{id:"a",children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"}),jsx("td",{children:"Value 6"}),jsx("td",{children:"Value 7"}),jsx("td",{children:"Value 8"}),jsx("td",{children:"Value 9"}),jsx("td",{children:"Value 10"}),jsx("td",{children:"Value 11"}),jsx("td",{children:"Value 12"}),jsx("td",{children:"Value 13"}),jsx("td",{children:"Value 14"}),jsx("td",{id:"b",children:"Value 15"})]})]})]});const TableWithCollapsible=props=>{const Content=()=>jsx(Card$1,{borderNone:true,borderRadius:"none",padding:"md",...props,children:jsx(Body$1,{...props,children:"Nested content inside a Table Row"})});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithCustomContent=props=>{const Content=()=>jsxs(Card$1,{borderNone:true,borderRadius:"none",color:"light",paddingX:"xl",paddingY:"md",...props,children:[jsx(Body$1,{paddingBottom:"sm",text:"Expanded Custom Layout",...props}),jsxs(Flex$1,{justify:"between",children:[jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"}),jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"}),jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"}),jsx(Image$1,{size:"sm",url:"https://unsplash.it/500/400/?image=634"})]})]});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithNestedTable=props=>{const Content=()=>jsxs(Table$1,{borderRadius:"none",container:false,size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Background$1,{tag:"tr",...props,children:[jsx(Table$1.Header,{children:"Alt Header"}),jsx(Table$1.Header,{children:"Alt Header"}),jsx(Table$1.Header,{children:"Alt Header"}),jsx(Table$1.Header,{children:"Alt Header"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:jsx(Pill$1,{text:"Pill",variant:"primary",...props})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:jsx(Pill$1,{text:"Pill",variant:"primary",...props})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:jsx(Pill$1,{text:"Pill",variant:"primary",...props})})]})]})]});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),collapsibleSideHighlight:false,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithNestedRows=props=>{const Content=()=>jsx(Table$1,{borderRadius:"none",container:false,size:"sm",...props,children:jsxs(Background$1,{tag:"tr",...props,children:[jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"}),jsx(Table$1.Cell,{children:"Expanded"})]})});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),collapsibleSideHighlight:false,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{children:""})]})]})]})};const TableWithCollapsibleWithCustomClick=props=>{const Content=()=>jsx(Card$1,{borderNone:true,borderRadius:"none",padding:"md",...props,children:jsx(Body$1,{...props,children:"Nested content inside a Table Row"})});return jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),toggleCellId:"cell-1",...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{cursor:"pointer",id:"cell-1",textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),toggleCellId:"cell-2",...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{cursor:"pointer",id:"cell-2",textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]}),jsxs(Table$1.Row,{collapsible:true,collapsibleContent:jsx(Content,{}),toggleCellId:"cell-3",...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{cursor:"pointer",id:"cell-3",textAlign:"right",children:jsx(Icon$1,{color:"primary",fixedWidth:true,icon:"chevron-down"})})]})]})]})};const TableWithSelectableRows=props=>{const[checkboxes,setCheckboxes]=useState([{name:"Coffee",checked:false},{name:"Ice Cream",checked:false},{name:"Chocolate",checked:true}]);const isAllChecked=!checkboxes.find((checkbox=>!checkbox.checked));const isNoneChecked=!checkboxes.find((checkbox=>checkbox.checked));const processCheckboxes=checked=>checkboxes.slice(0).map((checkbox=>{checkbox.checked=checked;return checkbox}));const onToggleAll=()=>{setCheckboxes(isNoneChecked?processCheckboxes(true):processCheckboxes(false))};const updateCheckboxes=(checkbox,index)=>{const newCheckboxes=checkboxes.slice(0);newCheckboxes[index].checked=!checkbox.checked;setCheckboxes(newCheckboxes)};return jsxs(Fragment$1,{children:[jsx(Flex$1,{justify:"end",marginBottom:"sm",children:!isNoneChecked&&jsx(Flex$1,{justify:"end",marginBottom:"sm",children:jsx(Button$1,{children:"Delete"})})}),jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:jsx(Checkbox$1,{checked:isAllChecked,indeterminate:!isAllChecked&&!isNoneChecked,name:"checkbox-name",onChange:onToggleAll,value:"check-box value"})}),jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsx(Table$1.Body,{children:checkboxes.map(((checkbox,index)=>jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:jsx(Checkbox$1,{checked:checkbox.checked,name:checkbox.name,onChange:()=>{updateCheckboxes(checkbox,index)},value:"check-box value"})}),jsx(Table$1.Cell,{children:jsx(Image$1,{alt:"picture of a misty forest",size:"xs",url:"https://unsplash.it/500/400/?image=634"})}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]},index)))})]})]})};const TableWithClickableRows=props=>jsxs(Table$1,{size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Table$1.Row,{children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"}),jsx(Table$1.Header,{children:""})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{cursor:"pointer",htmlOptions:{onClick:()=>alert("Row 1 clicked")},...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary_action",fixedWidth:true,icon:"chevron-right",size:"xs",...props})})]}),jsxs(Table$1.Row,{cursor:"pointer",htmlOptions:{onClick:()=>alert("Row 2 clicked")},...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary_action",fixedWidth:true,icon:"chevron-right",size:"xs",...props})})]}),jsxs(Table$1.Row,{cursor:"pointer",htmlOptions:{onClick:()=>alert("Row 3 clicked")},...props,children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"}),jsx(Table$1.Cell,{textAlign:"right",children:jsx(Icon$1,{color:"primary_action",fixedWidth:true,icon:"chevron-right",size:"xs",...props})})]})]})]});const TableWithHeaderStyleBorderless=props=>jsx(Fragment$1,{children:jsxs(Table$1,{headerStyle:"borderless",size:"sm",...props,children:[jsx("thead",{children:jsxs("tr",{children:[jsx("th",{children:"Column 1"}),jsx("th",{children:"Column 2"}),jsx("th",{children:"Column 3"}),jsx("th",{children:"Column 4"}),jsx("th",{children:"Column 5"})]})}),jsxs("tbody",{children:[jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]}),jsxs("tr",{children:[jsx("td",{children:"Value 1"}),jsx("td",{children:"Value 2"}),jsx("td",{children:"Value 3"}),jsx("td",{children:"Value 4"}),jsx("td",{children:"Value 5"})]})]})]})});const TableWithHeaderStyleFloating=props=>jsx(Fragment$1,{children:jsx(Card$1,{background:"light",...props,children:jsxs(Table$1,{headerStyle:"floating",size:"sm",...props,children:[jsx(Table$1.Head,{children:jsxs(Background$1,{backgroundColor:"light",tag:"tr",...props,children:[jsx(Table$1.Header,{children:"Column 1"}),jsx(Table$1.Header,{children:"Column 2"}),jsx(Table$1.Header,{children:"Column 3"}),jsx(Table$1.Header,{children:"Column 4"}),jsx(Table$1.Header,{children:"Column 5"})]})}),jsxs(Table$1.Body,{children:[jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]}),jsxs(Table$1.Row,{children:[jsx(Table$1.Cell,{children:"Value 1"}),jsx(Table$1.Cell,{children:"Value 2"}),jsx(Table$1.Cell,{children:"Value 3"}),jsx(Table$1.Cell,{children:"Value 4"}),jsx(Table$1.Cell,{children:"Value 5"})]})]})]})})});const Table=Object.freeze(Object.defineProperty({__proto__:null,TableActionMiddle:TableActionMiddle,TableAlignmentColumn:TableAlignmentColumn,TableAlignmentRow:TableAlignmentRow,TableAlignmentShiftData:TableAlignmentShiftData,TableAlignmentShiftRow:TableAlignmentShiftRow,TableContainer:TableContainer,TableDataTable:TableDataTable,TableDisableHover:TableDisableHover,TableDiv:TableDiv,TableIconButtons:TableIconButtons,TableLg:TableLg,TableMd:TableMd,TableMultiline:TableMultiline,TableOneAction:TableOneAction$1,TableOuterPadding:TableOuterPadding,TableResponsiveTable:TableResponsiveTable,TableSideHighlight:TableSideHighlight,TableSingleLine:TableSingleLine,TableSm:TableSm,TableSticky:TableSticky,TableStickyColumns:TableStickyColumns,TableStickyLeftColumns:TableStickyLeftColumns,TableStickyRightColumns:TableStickyRightColumns,TableStriped:TableStriped,TableTwoActions:TableOneAction,TableTwoPlusActions:TableTwoPlusActions,TableVerticalBorder:TableVerticalBorder,TableWithBackgroundKit:TableWithBackgroundKit,TableWithClickableRows:TableWithClickableRows,TableWithCollapsible:TableWithCollapsible,TableWithCollapsibleWithCustomClick:TableWithCollapsibleWithCustomClick,TableWithCollapsibleWithCustomContent:TableWithCollapsibleWithCustomContent,TableWithCollapsibleWithNestedRows:TableWithCollapsibleWithNestedRows,TableWithCollapsibleWithNestedTable:TableWithCollapsibleWithNestedTable,TableWithHeaderStyleBorderless:TableWithHeaderStyleBorderless,TableWithHeaderStyleFloating:TableWithHeaderStyleFloating,TableWithSelectableRows:TableWithSelectableRows,TableWithSubcomponents:TableWithSubcomponents,TableWithSubcomponentsAsDivs:TableWithSubcomponentsAsDivs},Symbol.toStringTag,{value:"Module"}));const TextInputDefault=props=>{const[firstName,setFirstName]=useState("");const handleOnChangeFirstName=({target:target})=>{setFirstName(target.value)};const ref=React__default.createRef();const[formFields,setFormFields]=useState({firstName:"Jane",lastName:"Doe",phone:"8888888888",email:"jane@doe.com",zip:55555});const handleOnChangeFormField=({target:target})=>{const{name:name2,value:value}=target;setFormFields({...formFields,[name2]:value})};return jsxs("div",{children:[jsx(TextInput$1,{aria:{label:"hello"},data:{say:"hi",yell:"go"},id:"unique-id",label:"First Name",name:"firstName",onChange:handleOnChangeFormField,placeholder:"Enter first name",value:formFields.firstName,...props}),jsx(TextInput$1,{label:"Last Name",name:"lastName",onChange:handleOnChangeFormField,placeholder:"Enter last name",value:formFields.lastName,...props}),jsx(TextInput$1,{label:"Phone Number",name:"phone",onChange:handleOnChangeFormField,placeholder:"Enter phone number",type:"phone",value:formFields.phone,...props}),jsx(TextInput$1,{label:"Email Address",name:"email",onChange:handleOnChangeFormField,placeholder:"Enter email address",type:"email",value:formFields.email,...props}),jsx(TextInput$1,{label:"Zip Code",name:"zip",onChange:handleOnChangeFormField,placeholder:"Enter zip code",type:"number",value:formFields.zip,...props}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{children:"Event Handler Props"}),jsx("br",{}),jsx(Caption$1,{children:"onChange"}),jsx("br",{}),jsx(TextInput$1,{label:"First Name",onChange:handleOnChangeFirstName,placeholder:"Enter first name",ref:ref,value:firstName,...props}),firstName!==""&&jsx(React__default.Fragment,{children:`First name is: ${firstName}`})]})};const TextInputCustom=props=>{const[name2,setName]=useState("");const handleUpdateName=({target:target})=>{setName(target.value)};return jsx("div",{children:jsx(TextInput$1,{label:"Custom Label",...props,children:jsx("input",{name:"custom-name",onChange:handleUpdateName,placeholder:"custom-placeholder",type:"text",value:name2,...props})})})};const TextInputError=props=>{const[email,setEmail]=useState("");const handleUpdateEmail=({target:target})=>{setEmail(target.value)};const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," Please enter a valid email address"]});return jsxs("div",{children:[jsx(TextInput$1,{addOn:{icon:"user",alignment:"left",border:true},error:error,label:"Email Address",onChange:handleUpdateEmail,placeholder:"Enter email address",type:"email",value:email,...props}),jsx(TextInput$1,{addOn:{icon:"user",alignment:"left",border:true},label:"Confirm Email Address",onChange:handleUpdateEmail,placeholder:"Confirm email address",type:"email",value:email,...props})]})};class TextInputDisabled extends React__default.Component{render(props){return jsx("div",{children:jsx(TextInput$1,{disabled:true,label:"Last Name",placeholder:"Enter last name",...props})})}}const TextInputAddOn=props=>{const[defaultInput,setDefaultInput]=useState("");const[firstInput,setFirstInput]=useState("");const[secondInput,setSecondInput]=useState("");const[thirdInput,setThirdInput]=useState("");const[fourthInput,setFourthInput]=useState("");const handleUpdateDefaultInput=({target:target})=>{setDefaultInput(target.value)};const handleUpdateFirstInput=({target:target})=>{setFirstInput(target.value)};const handleUpdateSecondInput=({target:target})=>{setSecondInput(target.value)};const handleUpdateThirdInput=({target:target})=>{setThirdInput(target.value)};const handleUpdateFourthInput=({target:target})=>{setFourthInput(target.value)};return jsxs(Fragment$1,{children:[jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"bat"},label:"Add On With Defaults",onChange:handleUpdateDefaultInput,value:defaultInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"user",alignment:"right",border:true},label:"Right-Aligned Add On With Border",onChange:handleUpdateFirstInput,value:firstInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"percent",alignment:"right",border:false},label:"Right-Aligned Add On With No Border",onChange:handleUpdateThirdInput,value:thirdInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"frog",alignment:"right",border:true},label:"Right-Aligned Add On With Child Input",onChange:handleUpdateFourthInput,...props,children:jsx("input",{})})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"percent",alignment:"left",border:false},label:"Left-Aligned Add On With No Border",onChange:handleUpdateSecondInput,value:secondInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"percent",alignment:"left",border:true},label:"Left-Aligned Add On With Border",onChange:handleUpdateFourthInput,value:fourthInput,...props})}),jsx("div",{children:jsx(TextInput$1,{addOn:{icon:"frog",alignment:"left",border:true},label:"Left-Aligned Add On With Child Input",onChange:handleUpdateFourthInput,...props,children:jsx("input",{})})})]})};const TextInputInline=props=>{const[value,setValue]=useState("Inline Input");const handleValueChange=({target:target})=>{setValue(target.value)};return jsx("div",{children:jsx(TextInput$1,{inline:true,label:"Hover Over Text Below",onChange:handleValueChange,value:value,...props})})};const TextInputNoLabel=props=>{const[email,setEmail]=useState("");const handleUpdateEmail=({target:target})=>{setEmail(target.value)};return jsx("div",{children:jsx(TextInput$1,{onChange:handleUpdateEmail,placeholder:"Enter email address",type:"email",value:email,...props})})};const TextInputMask=props=>{const[ssn,setSSN]=useState("");const handleOnChangeSSN=({target:target})=>{setSSN(target.value)};const ref=React__default.createRef();const[formFields,setFormFields]=useState({currency:"",zipCode:"",postalCode:"",ssn:"",creditCard:"",cvv:""});const handleOnChangeFormField=({target:target})=>{const{name:name2,value:value}=target;setFormFields({...formFields,[name2]:value})};return jsxs("div",{children:[jsx(TextInput$1,{label:"Currency",mask:"currency",name:"currency",onChange:handleOnChangeFormField,value:formFields.currency,...props}),jsx(TextInput$1,{label:"Zip Code",mask:"zipCode",name:"zipCode",onChange:handleOnChangeFormField,value:formFields.zipCode,...props}),jsx(TextInput$1,{label:"Postal Code",mask:"postalCode",name:"postalCode",onChange:handleOnChangeFormField,value:formFields.postalCode,...props}),jsx(TextInput$1,{label:"SSN",mask:"ssn",name:"ssn",onChange:handleOnChangeFormField,value:formFields.ssn,...props}),jsx(TextInput$1,{label:"Credit Card",mask:"creditCard",name:"creditCard",onChange:handleOnChangeFormField,value:formFields.creditCard,...props}),jsx(TextInput$1,{label:"CVV",mask:"cvv",name:"cvv",onChange:handleOnChangeFormField,value:formFields.cvv,...props}),jsx("br",{}),jsx("br",{}),jsx(Title$1,{children:"Event Handler Props"}),jsx("br",{}),jsx(Caption$1,{children:"onChange"}),jsx("br",{}),jsx(TextInput$1,{label:"SSN",mask:"ssn",onChange:handleOnChangeSSN,placeholder:"Enter SSN",ref:ref,value:ssn,...props}),ssn!==""&&jsx(React__default.Fragment,{children:`SSN is: ${ssn}`})]})};const TextInputSanitize=props=>{const ref=React__default.createRef();const[currency,setCurrency]=useState("");const[sanitizedCurrency,setSanitizedCurrency]=useState("");const handleOnChangeSanitizeCurrency=({target:target},sanitizedValue)=>{setCurrency(target.value);setSanitizedCurrency(sanitizedValue)};const[creditCard,setCreditCard]=useState("");const[sanitizedCreditCard,setSanitizedCreditCard]=useState("");const handleOnChangeSanitizeCC=({target:target},sanitizedValue)=>{setCreditCard(target.value);setSanitizedCreditCard(sanitizedValue)};const[ssn,setSSN]=useState("");const[sanitizedSSN,setSanitizedSSN]=useState("");const handleOnChangeSanitizeSSN=({target:target},sanitizedValue)=>{setSSN(target.value);setSanitizedSSN(sanitizedValue)};return jsxs("div",{children:[jsx(TextInput$1,{label:"Currency",mask:"currency",onChange:handleOnChangeSanitizeCurrency,placeholder:"Enter Amount",ref:ref,value:currency,...props}),currency!==""&&jsx(React__default.Fragment,{children:`The masked value is: ${currency}`}),jsx("br",{}),sanitizedCurrency!==""&&jsx(React__default.Fragment,{children:`The sanitized value is: ${sanitizedCurrency}`}),jsx("br",{}),jsx("br",{}),jsx(TextInput$1,{label:"Credit Card",mask:"creditCard",onChange:handleOnChangeSanitizeCC,placeholder:"Enter Card",ref:ref,value:creditCard,...props}),creditCard!==""&&jsx(React__default.Fragment,{children:`The masked value is: ${creditCard}`}),jsx("br",{}),sanitizedCreditCard!==""&&jsx(React__default.Fragment,{children:`The sanitized value is: ${sanitizedCreditCard}`}),jsx("br",{}),jsx("br",{}),jsx(TextInput$1,{label:"SSN",mask:"ssn",onChange:handleOnChangeSanitizeSSN,placeholder:"Enter Amount",ref:ref,value:ssn,...props}),ssn!==""&&jsx(React__default.Fragment,{children:`The masked value is: ${ssn}`}),jsx("br",{}),sanitizedSSN!==""&&jsx(React__default.Fragment,{children:`The sanitized value is: ${sanitizedSSN}`})]})};const TextInput=Object.freeze(Object.defineProperty({__proto__:null,TextInputAddOn:TextInputAddOn,TextInputCustom:TextInputCustom,TextInputDefault:TextInputDefault,TextInputDisabled:TextInputDisabled,TextInputError:TextInputError,TextInputInline:TextInputInline,TextInputMask:TextInputMask,TextInputNoLabel:TextInputNoLabel,TextInputSanitize:TextInputSanitize},Symbol.toStringTag,{value:"Module"}));const TextareaDefault=props=>{const[value,setValue]=useState("Default value text");const handleChange=event2=>{setValue(event2.target.value)};return jsxs("div",{children:[jsx(Textarea$1,{label:"Label",rows:4,...props}),jsx("br",{}),jsx(Textarea$1,{label:"Label",placeholder:"Placeholder text",...props}),jsx("br",{}),jsx(Textarea$1,{label:"Label",name:"comment",onChange:e=>handleChange(e),placeholder:"Placeholder text",value:value,...props})]})};const TextareaResize=props=>jsxs("div",{children:[jsx(Textarea$1,{label:"auto",placeholder:"Resize Auto",resize:"auto",...props}),jsx("br",{}),jsx(Textarea$1,{label:"vertical",placeholder:"Resize Vertical",resize:"vertical",...props}),jsx("br",{}),jsx(Textarea$1,{label:"both",placeholder:"Resize Both",resize:"both",...props}),jsx("br",{}),jsx(Textarea$1,{label:"horizontal",placeholder:"Resize Horizontal",resize:"horizontal",...props})]});const TextareaCustom=props=>jsx("div",{children:jsx(Textarea$1,{label:"Label",...props,children:jsx("textarea",{className:"my_custom_class",name:"custom_textarea",rows:4,children:"Content goes here."})})});const TextareaError=props=>{const[value,setValue]=useState("default value text");const handleChange=event2=>{setValue(event2.target.value)};const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," This field has an error!"]});return jsx("div",{children:jsx(Textarea$1,{error:error,label:"Label",name:"comment",onChange:e=>handleChange(e),placeholder:"Placeholder text",value:value,...props})})};const TextareaCharacterCounter=props=>{const[value1,setValue1]=useState("Counting characters!");const[value2,setValue2]=useState("This counter prevents the user from exceeding the maximum number of allowed characters. Just try it!");const[value3,setValue3]=useState("This counter alerts the user that they have exceeded the maximum number of allowed characters.");const[error,setError]=useState("Too many characters!");const[count1,setCount1]=useState(0);const[count2,setCount2]=useState(value1.length);const[count3,setCount3]=useState(value2.length);const[count4,setCount4]=useState(value3.length);const handleMaxCount=event2=>{setCount2(event2.target.value.length);setValue1(event2.target.value)};const handleMaxCountWithBlocker=(event2,maxCharacters)=>{if(event2.target.value.length<=maxCharacters){setCount3(event2.target.value.length);setValue2(event2.target.value)}};const handleMaxCountWithError=(event2,maxCharacters)=>{if(event2.target.value.length>maxCharacters){setError("Too many characters!")}else{setError("")}setCount4(event2.target.value.length);setValue3(event2.target.value)};return jsxs(Fragment$1,{children:[jsx(Textarea$1,{characterCount:count1,label:"Count Only",onChange:event2=>setCount1(event2.target.value.length),rows:4,...props}),jsx("br",{}),jsx(Textarea$1,{characterCount:count2,label:"Max Characters",maxCharacters:"100",onChange:()=>handleMaxCount(event),rows:4,value:value1,...props}),jsx("br",{}),jsx(Textarea$1,{characterCount:count3,label:"Max Characters w/ Blocker",maxCharacters:"100",onChange:()=>handleMaxCountWithBlocker(event,100),rows:4,value:value2,...props}),jsx("br",{}),jsx(Textarea$1,{characterCount:count4,error:error,label:"Max Characters w/ Error",maxCharacters:"75",onChange:()=>handleMaxCountWithError(event,75),rows:4,value:value3,...props})]})};const TextareaInline=props=>{const[value,setValue]=useState("Try clicking into this text.");const handleChange=event2=>{setValue(event2.target.value)};return jsx("div",{children:jsx(Textarea$1,{inline:true,onChange:e=>handleChange(e),resize:"auto",rows:1,value:value,...props})})};const Textarea=Object.freeze(Object.defineProperty({__proto__:null,TextareaCharacterCounter:TextareaCharacterCounter,TextareaCustom:TextareaCustom,TextareaDefault:TextareaDefault,TextareaError:TextareaError,TextareaInline:TextareaInline,TextareaResize:TextareaResize},Symbol.toStringTag,{value:"Module"}));const TimeDefault=props=>jsxs("div",{children:[jsx(Time$1,{date:(new Date).getTime(),showTimezone:false,...props}),jsx("br",{}),jsx(Time$1,{date:new Date,timeZone:"America/New_York",...props}),jsx("br",{}),jsx(Time$1,{date:(new Date).getTime(),showIcon:true,showTimezone:false,...props}),jsx("br",{}),jsx(Time$1,{date:new Date,showIcon:true,timeZone:"America/New_York",...props}),jsx("br",{}),jsx("br",{}),jsx(Time$1,{date:new Date,showTimezone:false,size:"md",...props}),jsx("br",{}),jsx(Time$1,{date:new Date,size:"md",timeZone:"America/New_York",...props}),jsx("br",{}),jsx(Time$1,{date:new Date,showIcon:true,showTimezone:false,size:"md",...props}),jsx("br",{}),jsx(Time$1,{date:new Date,showIcon:true,size:"md",timeZone:"America/New_York",...props})]});const TimeSizes=props=>jsxs(Fragment$2,{children:[jsx(Time$1,{date:new Date,...props}),jsx("br",{}),jsx(Time$1,{date:new Date,size:"md",timeZone:"America/New_York",...props})]});const TimeStamp=props=>jsxs("div",{children:[jsx(Time$1,{date:new Date,size:"sm",...props}),jsx("br",{}),jsx(Time$1,{date:(new Date).getTime(),size:"sm",...props})]});const TimeAlign=props=>jsxs("div",{children:[jsx(Time$1,{date:new Date,size:"md",...props}),jsx("br",{}),jsx(Time$1,{align:"center",date:new Date,size:"md",...props}),jsx("br",{}),jsx(Time$1,{align:"right",date:new Date,size:"md",...props})]});const TimeTimezone=props=>{const zones={east:"America/New_York",central:"America/Chicago",mountain:"America/Denver",west:"America/Los_Angeles",asia:"Asia/Tokyo"};return jsxs("div",{children:[jsx("h4",{children:"East Coast"}),jsx(Time$1,{date:new Date,size:"md",timeZone:zones.east,...props}),jsx("br",{}),jsx("h4",{children:"Central"}),jsx(Time$1,{date:new Date,timeZone:zones.central,...props}),jsx("br",{}),jsx("h4",{children:"Mountain"}),jsx(Time$1,{date:new Date,timeZone:zones.mountain,...props}),jsx("br",{}),jsx("h4",{children:"West Coast"}),jsx(Time$1,{date:new Date,timeZone:zones.west,...props}),jsx("br",{}),jsx("h4",{children:"Tokyo, Japan"}),jsx(Time$1,{date:new Date,timeZone:zones.asia,...props})]})};const TimeUnstyled=props=>jsxs(Fragment$1,{children:[jsx(Caption$1,{size:"xs",text:"Basic unstyled example"}),jsx(Time$1,{date:new Date,showIcon:true,showTimezone:true,timeZone:"America/New_York",unstyled:true,...props}),jsx("br",{}),jsx(Caption$1,{size:"xs",text:"Example with wrapping typography kit"}),jsx(Title$1,{size:1,children:jsx(Time$1,{date:new Date,showIcon:true,showTimezone:true,timeZone:"America/New_York",unstyled:true,...props})}),jsx("br",{}),jsx(Caption$1,{size:"xs",text:"Example with icon + subcaption"}),jsx(Caption$1,{size:"xs",children:jsx(Time$1,{date:new Date,showIcon:true,showTimezone:true,timeZone:"America/New_York",unstyled:true,...props})}),jsx("br",{})]});const Time=Object.freeze(Object.defineProperty({__proto__:null,TimeAlign:TimeAlign,TimeDefault:TimeDefault,TimeSizes:TimeSizes,TimeTimestamp:TimeStamp,TimeTimezone:TimeTimezone,TimeUnstyled:TimeUnstyled},Symbol.toStringTag,{value:"Module"}));const TimeRangeInlineDefault=props=>jsxs("div",{children:[jsx(TimeRangeInline$1,{endTime:"2012-08-02T17:49:29Z",size:"xs",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{endTime:"2012-08-02T17:49:29Z",size:"sm",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",size:"xs",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",size:"sm",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props}),jsx("br",{}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"xs",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"center",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"sm",startTime:"2012-08-02T15:49:29Z",...props}),jsx("br",{}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"right",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"xs",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props}),jsx("br",{}),jsx(TimeRangeInline$1,{alignment:"right",endTime:"2012-08-02T17:49:29Z",icon:"true",size:"sm",startTime:"2012-08-02T15:49:29Z",timezone:"true",...props})]});const TimeRangeInline=Object.freeze(Object.defineProperty({__proto__:null,TimeRangeInlineDefault:TimeRangeInlineDefault},Symbol.toStringTag,{value:"Module"}));const TimeStackedDefault=props=>jsxs("div",{children:[jsx(TimeStackedDefault$1,{time:new Date,timeZone:"America/New_York",...props}),jsx("br",{}),jsx(TimeStackedDefault$1,{align:"center",time:new Date,timeZone:"America/New_York",...props}),jsx("br",{}),jsx(TimeStackedDefault$1,{align:"right",time:new Date,timeZone:"America/New_York",...props})]});const TimeStacked=Object.freeze(Object.defineProperty({__proto__:null,TimeStackedDefault:TimeStackedDefault},Symbol.toStringTag,{value:"Module"}));const TimelineDefault=props=>jsxs("div",{children:[jsxs(Timeline$1,{children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})}),jsx(Timeline$1.Item,{icon:"smile",iconColor:"green",...props,children:jsx(Body$1,{color:"light",text:"Conversation resolved",...props})})]}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]})]});const TimelineVertical=props=>jsxs("div",{children:[jsxs(Timeline$1,{orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})}),jsx(Timeline$1.Item,{icon:"smile",iconColor:"green",...props,children:jsx(Body$1,{color:"light",text:"Conversation resolved",...props})})]}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]})]});const TimelineWithDate=props=>jsxs("div",{children:[jsxs(Timeline$1,{orientation:"horizontal",showDate:true,...props,children:[jsx(Timeline$1.Item,{date:new Date,icon:"user",iconColor:"royal",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})}),jsx(Timeline$1.Item,{date:(new Date).setDate((new Date).getDate()+1),icon:"map-marker-alt",iconColor:"purple",...props,children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]}),jsx("br",{}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",showDate:true,...props,children:[jsx(Timeline$1.Item,{date:new Date,icon:"user",iconColor:"royal",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})}),jsx(Timeline$1.Item,{date:(new Date).setDate((new Date).getDate()+1),icon:"map-marker-alt",iconColor:"purple",...props,children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]}),jsx("br",{}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",showDate:true,...props,children:[jsx(Timeline$1.Item,{date:new Date("20 Mar 2018"),icon:"user",iconColor:"royal",...props,children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})}),jsx(Timeline$1.Item,{date:new Date("20 May 2018"),icon:"map-marker-alt",iconColor:"purple",...props,children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]})]});const TimelineWithChildren=props=>jsxs("div",{children:[jsxs(Timeline$1,{orientation:"horizontal",showDate:true,...props,children:[jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Label,{children:jsx(Title$1,{size:2,text:"Any Kit Here"})}),jsx(Timeline$1.Step,{icon:"user",iconColor:"royal"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"dotted",...props,children:[jsx(Timeline$1.Step,{children:jsx(Pill$1,{text:"Any Kit",variant:"success"})}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Label,{date:new Date((new Date).setDate((new Date).getDate()+1))}),jsx(Timeline$1.Step,{icon:"map-marker-alt",iconColor:"purple"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]})]}),jsx("br",{}),jsx("br",{}),jsx("br",{}),jsxs(Timeline$1,{orientation:"vertical",showDate:true,...props,children:[jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Label,{children:jsx(Title$1,{size:4,text:"Any Kit"})}),jsx(Timeline$1.Step,{icon:"user",iconColor:"royal"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"37-27 74th Street",title:"Jackson Heights",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"dotted",...props,children:[jsx(Timeline$1.Label,{date:new Date((new Date).setDate((new Date).getDate()+1))}),jsx(Timeline$1.Step,{icon:"map-marker-alt",iconColor:"purple"}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"72 E St Astoria",title:"Society Hill",...props})})]}),jsxs(Timeline$1.Item,{lineStyle:"solid",...props,children:[jsx(Timeline$1.Step,{children:jsx(Pill$1,{text:"3",variant:"success"})}),jsx(Timeline$1.Detail,{children:jsx(TitleDetail$1,{detail:"81 Gate St Brooklyn",title:"Greenpoint",...props})})]})]})]});const TimelineWithGap=props=>jsx("div",{children:jsxs(Flex$1,{justify:"evenly",children:[jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"xs",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})}),jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"sm",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})}),jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"md",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})}),jsx(FlexItem,{children:jsxs(Timeline$1,{itemGap:"lg",orientation:"vertical",children:[jsx(Timeline$1.Item,{icon:"user",iconColor:"royal",...props,children:jsx(Body$1,{color:"light",text:"Conversation started",...props})}),jsx(Timeline$1.Item,{icon:"check",iconColor:"teal",lineStyle:"dotted",...props,children:jsx(Body$1,{color:"light",text:"Trip #12422",...props})}),jsx(Timeline$1.Item,{icon:"credit-card",iconColor:"red",...props,children:jsx(Body$1,{color:"light",text:"Refund issue #12422",...props})})]})})]})});const Timeline=Object.freeze(Object.defineProperty({__proto__:null,TimelineDefault:TimelineDefault,TimelineVertical:TimelineVertical,TimelineWithChildren:TimelineWithChildren,TimelineWithDate:TimelineWithDate,TimelineWithGap:TimelineWithGap},Symbol.toStringTag,{value:"Module"}));const todaysDate$4=new Date;const futureYear$2=(new Date).getFullYear()+4;const pastYear$2=(new Date).getFullYear()-1;const month$3=(new Date).getMonth();const date$3=(new Date).getDate();const hours$3=(new Date).getHours();const minutes$3=(new Date).getMinutes();const futureDate$2=new Date(futureYear$2,month$3,date$3,hours$3,minutes$3);const pastDate$2=new Date(pastYear$2,month$3,date$3,hours$3,minutes$3);const TimestampDefault=props=>jsxs("div",{children:[jsx(Timestamp$1,{align:"left",showDate:false,timestamp:todaysDate$4,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:todaysDate$4,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:futureDate$2,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:pastDate$2,...props})]});const todaysDate$3=new Date;const futureYear$1=(new Date).getFullYear()+4;const pastYear$1=(new Date).getFullYear()-1;const month$2=(new Date).getMonth();const date$2=(new Date).getDate();const hours$2=(new Date).getHours();const minutes$2=(new Date).getMinutes();const futureDate$1=new Date(futureYear$1,month$2,date$2,hours$2,minutes$2);const pastDate$1=new Date(pastYear$1,month$2,date$2,hours$2,minutes$2);const TimestampAlign=props=>jsxs("div",{children:[jsx(Timestamp$1,{align:"left",showDate:false,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:futureDate$1,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:pastDate$1,...props}),jsx("br",{}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:false,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:true,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:true,timestamp:futureDate$1,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"center",showDate:true,timestamp:pastDate$1,...props}),jsx("br",{}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:false,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:true,timestamp:todaysDate$3,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:true,timestamp:futureDate$1,...props}),jsx("br",{}),jsx(Timestamp$1,{align:"right",showDate:true,timestamp:pastDate$1,...props})]});const todaysDate$2=new Date;const futureYear=(new Date).getFullYear()+4;const pastYear=(new Date).getFullYear()-1;const month$1=(new Date).getMonth();const date$1=(new Date).getDate();const hours$1=(new Date).getHours();const minutes$1=(new Date).getMinutes();const futureDate=new Date(futureYear,month$1,date$1,hours$1,minutes$1);const pastDate=new Date(pastYear,month$1,date$1,hours$1,minutes$1);const TimestampTimezones=props=>jsxs("div",{children:[jsx(Timestamp$1,{align:"left",showDate:false,showTimezone:true,timestamp:todaysDate$2,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:todaysDate$2,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:futureDate,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:pastDate,timezone:"America/New_York",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:false,showTimezone:true,timestamp:todaysDate$2,timezone:"Asia/Hong_Kong",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:todaysDate$2,timezone:"Asia/Hong_Kong",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:futureDate,timezone:"Asia/Hong_Kong",...props}),jsx("br",{}),jsx(Timestamp$1,{align:"left",showDate:true,showTimezone:true,timestamp:pastDate,timezone:"Asia/Hong_Kong",...props})]});const todaysDate$1=new Date;const TimestampUpdated=props=>jsxs("div",{children:[jsx(Timestamp$1,{showUser:true,text:"Maricris Nonato",timestamp:todaysDate$1,variant:"updated",...props}),jsx("br",{}),jsx(Timestamp$1,{showUser:false,timestamp:todaysDate$1,variant:"updated",...props})]});const todaysDate=new Date;const year=(new Date).getFullYear();const month=(new Date).getMonth();const date=(new Date).getDate();const hours=(new Date).getHours()-10;const minutes=(new Date).getMinutes();const customDate=new Date(year,month,date,hours,minutes);const TimestampElapsed=props=>jsxs("div",{children:[jsx(Timestamp$1,{showUser:true,text:"Maricris Nonato",timestamp:todaysDate,variant:"elapsed",...props}),jsx("br",{}),jsx(Timestamp$1,{showUser:false,timestamp:customDate,variant:"elapsed",...props}),jsx("br",{}),jsx(Timestamp$1,{hideUpdated:true,showUser:false,timestamp:customDate,variant:"elapsed",...props})]});const TimestampUnstyled=props=>jsxs(Fragment$1,{children:[jsx(Caption$1,{size:"xs",text:"Basic unstyled example"}),jsx(Timestamp$1,{align:"left",showDate:true,timestamp:new Date,unstyled:true,...props}),jsx("br",{}),jsx(Caption$1,{size:"xs",text:"Example with wrapping typography kit"}),jsx(Title$1,{size:1,children:jsx(Timestamp$1,{align:"left",showDate:true,timestamp:new Date,unstyled:true,...props})})]});const Timestamp=Object.freeze(Object.defineProperty({__proto__:null,TimestampAlign:TimestampAlign,TimestampDefault:TimestampDefault,TimestampElapsed:TimestampElapsed,TimestampTimezones:TimestampTimezones,TimestampUnstyled:TimestampUnstyled,TimestampUpdated:TimestampUpdated},Symbol.toStringTag,{value:"Module"}));const TitleDefault=props=>jsxs("div",{children:[jsx(Title$1,{marginBottom:"md",text:"Default Title",...props}),jsx(Title$1,{size:1,tag:"h1",text:"Title 1",...props}),jsx(Title$1,{size:2,tag:"h2",text:"Title 2",...props}),jsx(Title$1,{size:3,tag:"h3",text:"Title 3",...props}),jsx(Title$1,{size:4,tag:"h4",text:"Title 4",...props})]});const TitleLightWeight=props=>jsxs("div",{children:[jsx(Title$1,{bold:false,size:1,tag:"h1",text:"Title 1",...props}),jsx(Title$1,{bold:false,size:2,tag:"h2",text:"Title 2",...props}),jsx(Title$1,{bold:false,size:3,tag:"h2",text:"Title 3",...props})]});const TitleColors=props=>jsxs("div",{children:[jsx(Title$1,{text:"Default Color",...props}),jsx(Title$1,{color:"link",size:3,tag:"h1",text:"Title Color",...props}),jsx(Title$1,{color:"success",size:3,tag:"h1",text:"Title Color",...props}),jsx(Title$1,{color:"error",size:3,tag:"h1",text:"Title Color",...props})]});const TitleResponsive=props=>jsx(Fragment$1,{children:jsx(Title$1,{size:{xs:"3",sm:"2",md:"1"},text:"Responsive Title",...props})});const TitleTruncate=props=>{const lorem="Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, minus. Nisi beatae voluptatum labore sequi. Nemo accusantium corrupti, reiciendis magnam tenetur perferendis esse pariatur voluptas eaque hic vel rem nihil quidem dolorum ex dolor, libero ullam placeat, sapiente eos. Cumque obcaecati dignissimos molestiae, minima quibusdam sint maxime libero accusantium animi quis quia maiores enim ipsum, esse, modi laudantium illum error!";return jsxs(Flex$1,{maxWidth:"md",orientation:"column",children:[jsx(Caption$1,{text:"After first row",...props}),jsx(Title$1,{marginBottom:"md",size:4,text:lorem,truncate:"1",...props}),jsx(Caption$1,{text:"After second row",...props}),jsx(Title$1,{marginBottom:"md",size:4,text:lorem,truncate:"2",...props}),jsx(Caption$1,{text:"After third row",...props}),jsx(Title$1,{size:4,text:lorem,truncate:"3",...props})]})};const TitleDisplaySize=props=>jsxs("div",{children:[jsx(Title$1,{displaySize:"xs",tag:"h1",text:"Display Size xs",...props}),jsx(Title$1,{displaySize:"sm",tag:"h1",text:"Display Size sm",...props}),jsx(Title$1,{displaySize:"md",tag:"h1",text:"Display Size md",...props}),jsx(Title$1,{displaySize:"lg",tag:"h1",text:"Display Size lg",...props}),jsx(Title$1,{displaySize:"xl",tag:"h1",text:"Display Size xl",...props}),jsx(Title$1,{displaySize:"xxl",tag:"h1",text:"Display Size xxl",...props}),jsx(Title$1,{size:"display",tag:"h1",text:"This is a size of display",...props})]});const Title=Object.freeze(Object.defineProperty({__proto__:null,TitleColors:TitleColors,TitleDefault:TitleDefault,TitleDisplaySize:TitleDisplaySize,TitleLightWeight:TitleLightWeight,TitleResponsive:TitleResponsive,TitleTruncate:TitleTruncate},Symbol.toStringTag,{value:"Module"}));const TitleCountDefault=props=>jsxs(Fragment$1,{children:[jsx(TitleCount$1,{count:35.78,title:"Appointments",...props}),jsx("br",{}),jsx(TitleCount$1,{count:7399,size:"lg",title:"Appointments",...props}),jsx("br",{}),jsx(TitleCount$1,{count:-379503.372,size:"lg",title:"Appointments",...props})]});const TitleCountAlign=props=>jsxs(Fragment$1,{children:[jsx(TitleCount$1,{count:527,title:"Remodeling Consultants",...props}),jsx("br",{}),jsx(TitleCount$1,{align:"center",count:527,title:"Remodeling Consultants",...props}),jsx("br",{}),jsx(TitleCount$1,{align:"right",count:527,title:"Remodeling Consultants",...props})]});const TitleCount=Object.freeze(Object.defineProperty({__proto__:null,TitleCountAlign:TitleCountAlign,TitleCountDefault:TitleCountDefault},Symbol.toStringTag,{value:"Module"}));const TitleDetailDefault=props=>jsxs("div",{children:[jsx(TitleDetail$1,{detail:"Commits data and history",title:"Email Notifications",...props}),jsx(TitleDetail$1,{align:"center",detail:"Commits data and history",title:"Email Notifications",...props}),jsx(TitleDetail$1,{align:"right",detail:"Commits data and history",title:"Email Notifications",...props})]});const TitleDetail=Object.freeze(Object.defineProperty({__proto__:null,TitleDetailDefault:TitleDetailDefault},Symbol.toStringTag,{value:"Module"}));const ToggleDefault=()=>jsxs(Fragment$1,{children:[jsx(Toggle$1,{checked:true}),jsx("br",{}),jsx(Toggle$1,{})]});const ToggleDisabled=()=>jsxs(Fragment$1,{children:[jsx(Toggle$1,{checked:true,disabled:true}),jsx("br",{}),jsx(Toggle$1,{disabled:true})]});const ToggleCustom=()=>{const[choice,setChoice]=useState(false);const handleOnChange=({target:target})=>{setChoice(target.value=!choice)};return jsx(Fragment$1,{children:jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{className:"my custom checkbox",name:"custom checkbox",onChange:handleOnChange,type:"checkbox",value:"ABC"})})})};const ToggleName=()=>{const[choice,setChoice]=useState(false);const handleOnChange=({target:target})=>{setChoice(target.value=!choice)};return jsxs(Fragment$1,{children:[jsx(Title$1,{size:4,text:"Which of the following vehicles do you own?"}),jsx("br",{}),jsx(Caption$1,{text:"Car"}),jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{name:"vehicle",onChange:handleOnChange,type:"checkbox",value:"car"})}),jsx("br",{}),jsx(Caption$1,{text:"Bike"}),jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{name:"vehicle",onChange:handleOnChange,type:"checkbox",value:"bike"})})]})};const ToggleCustomRadio=()=>{const[choice,setChoice]=useState("walk");const handleOnChange=({target:target})=>{setChoice(target.value)};return jsxs(Fragment$1,{children:[jsx(Title$1,{size:4,text:"Select one option:"}),jsx("br",{}),jsx(Caption$1,{text:"Walk"}),jsx(Toggle$1,{checked:choice,size:"sm",children:jsx("input",{name:"modes of transportation",onChange:handleOnChange,type:"radio",value:"walk"})}),jsx("br",{}),jsx(Caption$1,{text:"Bike"}),jsx(Toggle$1,{size:"sm",children:jsx("input",{name:"modes of transportation",onChange:handleOnChange,type:"radio",value:"bike"})}),jsx("br",{}),jsx(Caption$1,{text:"Ride"}),jsx(Toggle$1,{size:"sm",children:jsx("input",{name:"modes of transportation",onChange:handleOnChange,type:"radio",value:"ride"})})]})};const Toggle=Object.freeze(Object.defineProperty({__proto__:null,ToggleCustom:ToggleCustom,ToggleCustomRadio:ToggleCustomRadio,ToggleDefault:ToggleDefault,ToggleDisabled:ToggleDisabled,ToggleName:ToggleName},Symbol.toStringTag,{value:"Module"}));const TooltipDefaultReact=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"top",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Top)"})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"bottom",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Bottom)"})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"right",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Right)"})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"left",text:"Whoa. I'm a Tooltip",zIndex:10,...props,children:"Hover here (Left)"})})]});const TooltipInteraction=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{interaction:true,placement:"top",text:"You can copy me",zIndex:10,...props,children:jsx(Button$1,{text:"With Interaction"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"top",text:"I'm just a regular tooltip",zIndex:10,...props,children:jsx(Button$1,{text:"No Interaction"})})})]});const TooltipMargin=props=>jsxs(Flex$1,{flexDirection:"row",wrap:true,children:[jsx(Tooltip$1,{margin:"md",placement:"top",text:"Send Email",zIndex:10,...props,children:jsx(CircleIconButton$1,{icon:"paper-plane"})}),jsx(Tooltip$1,{margin:"md",placement:"top",text:"Send Email",zIndex:10,...props,children:jsx(CircleIconButton$1,{icon:"paper-plane"})})]});const TooltipSizing=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{height:"150px",placement:"top",text:"I'm 150px high and 100px wide!",width:"100px",...props,children:jsx(Button$1,{text:"Height and Width"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{maxHeight:"100px",placement:"top",text:"I have a maxHeight of 100px! Lorem ipsum dolor sit amet consectetur adipisicing elit.",width:"250px",...props,children:jsx(Button$1,{text:"maxHeight"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{maxWidth:"150px",placement:"top",text:"I have a maxWidth of 150px! Lorem ipsum dolor sit amet consectetur adipisicing elit.",...props,children:jsx(Button$1,{text:"maxWidth"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{minWidth:"300px",placement:"top",text:"I have a minWidth of 300px!",...props,children:jsx(Button$1,{text:"minWidth"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{maxWidth:"150px",minHeight:"300px",placement:"top",text:"I have a minHeight of 300px!",...props,children:jsx(Button$1,{text:"minHeight"})})})]});const TooltipIcon=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(Tooltip$1,{icon:"paper-plane",placement:"top",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})}),jsx(Tooltip$1,{icon:"paper-plane",placement:"bottom",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})}),jsx(Tooltip$1,{icon:"paper-plane",placement:"right",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})}),jsx(Tooltip$1,{icon:"paper-plane",placement:"left",text:"Send Email",zIndex:10,...props,children:jsx(Button$1,{text:"Tooltip With Icon"})})]});const TooltipDelay=props=>jsxs(Flex$1,{flexDirection:"row",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Tooltip$1,{delay:1e3,placement:"top",text:"1s open/close delay",zIndex:10,...props,children:jsx(Button$1,{text:"1s delay"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{delay:{open:1e3},placement:"top",text:"1s open delay",zIndex:10,...props,children:jsx(Button$1,{text:"Open only"})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{delay:{close:1e3},placement:"top",text:"1s close delay",zIndex:10,...props,children:jsx(Button$1,{text:"Close only"})})})]});const TooltipShowTooltipReact=props=>{const[showTooltip,setShowTooltip]=useState(true);return jsxs(Flex$1,{flexDirection:"column",gap:"md",wrap:true,children:[jsx(FlexItem,{children:jsx(Button$1,{onClick:()=>setShowTooltip(!showTooltip),text:"Toggle state"})}),jsx(FlexItem,{children:jsx(Body$1,{children:jsxs("p",{children:["Tooltip is: ",jsx("code",{children:showTooltip?"enabled":"disabled"})]})})}),jsx(FlexItem,{children:jsx(Tooltip$1,{placement:"right",showTooltip:showTooltip,text:"Tooltip is enabled",zIndex:10,...props,children:"Hover me."})})]})};const Tooltip=Object.freeze(Object.defineProperty({__proto__:null,TooltipDefaultReact:TooltipDefaultReact,TooltipDelay:TooltipDelay,TooltipIcon:TooltipIcon,TooltipInteraction:TooltipInteraction,TooltipMargin:TooltipMargin,TooltipShowTooltipReact:TooltipShowTooltipReact,TooltipSizing:TooltipSizing},Symbol.toStringTag,{value:"Module"}));const chartData$4=[{name:"Pepperoni",parent:"Toppings",value:600},{name:"Cheese",parent:"Toppings",value:510},{name:"Mushroom",parent:"Toppings",value:330},{name:"Onions",parent:"Toppings",value:250},{name:"Olives",parent:"Toppings",value:204},{name:"Pineapple",parent:"Toppings",value:90},{name:"Pizza Toppings",id:"Toppings"}];const TreemapChartDefault=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$4,id:"treemap-default",title:"Favored Pizza Toppings",...props})});const chartData$3=[{name:"Meat",id:"Meat",color:"#0056CF"},{name:"Pepperoni",parent:"Meat",value:250},{name:"Meatball",parent:"Meat",value:400},{name:"Anchovy",parent:"Meat",value:40},{name:"Vegetarian",id:"Vegetarian",color:"#F9BB00"},{name:"Onions",parent:"Vegetarian",value:300},{name:"Pineapple",parent:"Vegetarian",value:90},{name:"Peppers",parent:"Vegetarian",value:80},{name:"Specialty",id:"Specialty",color:"#9E64E9"},{name:"Buffalo Chicken",parent:"Specialty",value:400},{name:"Supreme",parent:"Specialty",value:150}];const TreemapChartGroupedData=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$3,grouped:true,id:"treemap-grouped-data",title:"Grouped Toppings",...props})});const chartData$2=[{name:"Evergreen",id:"Evergreen",color:"#0056CF"},{name:"Pine",id:"Pine",parent:"Evergreen",value:300,color:"#477BC4"},{name:"Ponderosa Pine",parent:"Pine",value:50},{name:"Scots Pine",parent:"Pine",value:150},{name:"White Pine",parent:"Pine",value:100},{name:"Douglas Fir",parent:"Evergreen",value:150},{name:"Juniper",parent:"Evergreen",value:80},{name:"Hemlock",parent:"Evergreen",value:30},{name:"Deciduous",id:"Deciduous",color:"#F9BB00"},{name:"Oak",parent:"Deciduous",value:80},{name:"Maple",id:"Maple",parent:"Deciduous",value:180,color:"#F7CE52"},{name:"Red Maple",parent:"Maple",value:80},{name:"Sugar Maple",parent:"Maple",value:100},{name:"Beech",parent:"Deciduous",value:50},{name:"Willow",parent:"Deciduous",value:100},{name:"Juniper",parent:"Deciduous",value:90}];const TreemapChartDrillable=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$2,drillable:true,grouped:true,id:"treemap-drillable",title:"Drillable Grouped Tree Species",...props})});const chartData$1=[{name:"Pepperoni",parent:"Toppings",value:600},{name:"Cheese",parent:"Toppings",value:510},{name:"Mushroom",parent:"Toppings",value:330},{name:"Onions",parent:"Toppings",value:250},{name:"Olives",parent:"Toppings",value:204},{name:"Pineapple",parent:"Toppings",value:90},{name:"Pizza Toppings",id:"Toppings"}];const TreemapChartColors=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData$1,colors:["data-4","data-7","#8E6E53","#124732"],id:"treemap-colors",title:"Favored Pizza Toppings",...props})});const chartData=[{name:"Pepperoni",parent:"Toppings",value:600},{name:"Cheese",parent:"Toppings",value:510},{name:"Mushroom",parent:"Toppings",value:330},{name:"Onions",parent:"Toppings",value:250},{name:"Olives",parent:"Toppings",value:204},{name:"Pineapple",parent:"Toppings",value:90},{name:"Pizza Toppings",id:"Toppings"}];const TreemapChartTooltip=props=>jsx("div",{children:jsx(TreemapChart$1,{chartData:chartData,id:"treemap-tooltip",title:"Favored Pizza Toppings",tooltipHtml:"<p>Custom tooltip for {point.name} <br/>with value: {point.value}</p>",...props})});const TreemapChart=Object.freeze(Object.defineProperty({__proto__:null,TreemapChartColors:TreemapChartColors,TreemapChartDefault:TreemapChartDefault,TreemapChartDrillable:TreemapChartDrillable,TreemapChartGroupedData:TreemapChartGroupedData,TreemapChartTooltip:TreemapChartTooltip},Symbol.toStringTag,{value:"Module"}));const options$8=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadDefault=props=>jsx(Typeahead$1,{label:"Colors",options:options$8,...props});const USERS=[{name:"Wade Winningham",title:"Nitro Principal Developer",territory:"PHL"},{name:"Carlos Lima",title:"Nitro Developer",territory:"PHL"},{name:"Stephen Marshall",title:"Senior Nitro Developer",territory:"PHL"},{name:"Jasper Furniss",title:"Lead User Experience Engineer",territory:"PHL"}];const TypeaheadWithHighlight=props=>{const[selectedUser,setSelectedUser]=useState();const formatOptionLabel=({name:name2,territory:territory,title:title},{inputValue:inputValue})=>{const highlighted=text=>{if(!inputValue.length)return text;return text.replace(new RegExp(inputValue,"gi"),(highlighted2=>`<mark>${highlighted2}</mark>`))};return jsxs(Flex$1,{children:[jsx(FlexItem,{children:jsx(Avatar$1,{marginRight:"sm",name:name2,size:"sm",...props})}),jsxs(FlexItem,{children:[jsx(Title$1,{size:4,...props,children:jsx("span",{dangerouslySetInnerHTML:{__html:highlighted(name2)}})}),jsxs(Body$1,{color:"light",...props,children:[jsx("span",{dangerouslySetInnerHTML:{__html:highlighted(title)}})," • ",territory]})]})]})};const customComponents={Option:highlightProps=>jsx(components.Option,{...highlightProps}),SingleValue:({...props2})=>jsx(components.SingleValue,{...props2,children:jsx("span",{children:props2.data.name})})};return jsx(React__default.Fragment,{children:jsx(Typeahead$1,{components:customComponents,formatOptionLabel:formatOptionLabel,getOptionLabel:option=>option.name,getOptionValue:({name:name2,title:title})=>`${name2} ${title}`,label:"Users",onChange:user=>setSelectedUser(user),options:USERS.filter((option=>option.name!=(selectedUser==null?void 0:selectedUser.name))),placeholder:"type the name of a user",...props})})};const options$7=[{label:"Windows",value:"#FFA500"},{label:"Siding",value:"#FF0000"},{label:"Doors",value:"#00FF00"},{label:"Roofs",value:"#0000FF"}];const TypeaheadWithPills$1=props=>jsx(Fragment$1,{children:jsx(Typeahead$1,{isMulti:true,label:"Colors",options:options$7,placeholder:"",...props})});const filterResults$3=results=>results.items.map((result=>({name:result.login,id:result.id})));const promiseOptions$3=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>resolve(filterResults$3(results))))}else{resolve([])}}));const TypeaheadWithPillsAsync=props=>{const[users,setUsers]=useState([]);const formatUsers=users2=>{const results=()=>users2.map((user=>{if(Object.keys(user)[0]==="name"||Object.keys(user)[1]==="id"){return{label:user.name,value:user.id}}else{return user}}));return results()};const handleOnChange=value=>setUsers(formatUsers(value));const formatValue=users2=>formatUsers(users2);return jsxs(Fragment$1,{children:[users&&users.length>0&&jsxs(React__default.Fragment,{children:[jsx(Caption$1,{marginBottom:"xs",text:"State (Users)",...props}),users.map((user=>jsx(User$1,{align:"left",marginBottom:"md",name:user.label,orientation:"horizontal",...props},user.value)))]}),jsx(Typeahead$1,{async:true,getOptionLabel:option=>option.name,getOptionValue:option=>option.id,isMulti:true,label:"Github Users",loadOptions:promiseOptions$3,onChange:handleOnChange,placeholder:"type the name of a Github user",value:formatValue(users),...props})]})};const filterResults$2=results=>results.items.map((result=>({imageUrl:result.avatar_url,label:result.login,value:result.id})));const promiseOptions$2=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>resolve(filterResults$2(results))))}else{resolve([])}}));const TypeaheadWithPillsAsyncUsers=props=>{const[users,setUsers]=useState([]);const handleOnChange=value=>setUsers(value);const handleOnMultiValueClick=value=>{alert(`You added the user: "${value.label}"`)};return jsxs(Fragment$1,{children:[users&&users.length>0&&jsxs(React__default.Fragment,{children:[jsx(Caption$1,{marginBottom:"xs",text:"State (Users)",...props}),users.map((user=>jsx(User$1,{align:"left",avatar:true,avatarUrl:user.imageUrl,marginBottom:"md",name:user.label,orientation:"horizontal",...props},user.value)))]}),jsx(Typeahead$1,{async:true,isMulti:true,label:"Github Users",loadOptions:promiseOptions$2,noOptionsMessage:()=>"Type to Search",onChange:handleOnChange,onMultiValueClick:handleOnMultiValueClick,placeholder:"type the name of a Github user",...props})]})};const filterResults$1=results=>results.items.map((result=>({imageUrl:result.avatar_url,label:result.login,value:result.id,territory:"PHL",type:result.type})));const promiseOptions$1=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>resolve(filterResults$1(results))))}else{resolve([])}}));const TypeaheadWithPillsAsyncCustomOptions=props=>{const[users,setUsers]=useState([]);const handleOnChange=value=>setUsers(value);const handleOnMultiValueClick=value=>{alert(`You added the user: "${value.label}"`)};return jsxs(Fragment$1,{children:[users&&users.length>0&&jsxs(React__default.Fragment,{children:[jsx(Caption$1,{marginBottom:"xs",text:"State (Users)",...props}),users.map((user=>jsx(User$1,{align:"left",avatar:true,avatarUrl:user.imageUrl,marginBottom:"md",name:user.label,orientation:"horizontal",...props},user.value)))]}),jsx(Typeahead$1,{async:true,isMulti:true,label:"Github Users",loadOptions:promiseOptions$1,onChange:handleOnChange,onMultiValueClick:handleOnMultiValueClick,placeholder:"type the name of a Github user",valueComponent:({imageUrl:imageUrl,label:label,territory:territory,type:type})=>jsx(User$1,{avatar:true,avatarUrl:imageUrl,name:label,territory:territory,title:type}),...props})]})};const synths=[{label:"Oberheim",value:"OBXa"},{label:"Moog",value:"Minimoog"},{label:"Roland",value:"Juno"},{label:"Korg",value:"MS-20"}];const cities=[{label:"Budapest",value:"Hungary"},{label:"Singapore",value:"Singapore"},{label:"Oslo",value:"Norway"},{label:"Lagos",value:"Nigeria"}];const TypeaheadInline=props=>jsxs(Fragment$1,{children:[jsx(Typeahead$1,{inline:true,isMulti:true,label:"Synths",options:synths,...props}),jsx(Typeahead$1,{inline:true,isMulti:true,label:"Placeholder Plus Icon",options:cities,placeholder:"Add cities",plusIcon:true,...props})]});const labels=[{label:"Verve",value:"1956"},{label:"Stax",value:"1957"},{label:"Motown",value:"1959"},{label:"Kudu",value:"1971"},{label:"Stones Throw",value:"1996"}];const expressionists=[{label:"Kandinsky",value:"Russia"},{label:"Klee",value:"Switzerland"},{label:"Kokoschka",value:"Austria"},{label:"Kirchner",value:"Germany"}];const TypeaheadMultiKit=props=>jsxs(Fragment$1,{children:[jsx(Typeahead$1,{defaultValue:[labels[0]],isMulti:true,label:"Badges",multiKit:"badge",options:labels,...props}),jsx(Typeahead$1,{defaultValue:[expressionists[0]],isMulti:true,label:"Small Pills",multiKit:"smallPill",options:expressionists,...props})]});const options$6=[{label:"Jardim",value:"Portuguese"},{label:"Garten",value:"German"},{label:"Giardino",value:"Italian"},{label:"Jardín",value:"Spanish"}];const TypeaheadCreateable=props=>jsx(Typeahead$1,{createable:true,isMulti:true,label:"User Created Options",options:options$6,...props});const filterResults=results=>results.items.map((result=>({label:result.login,value:result.id})));const promiseOptions=inputValue=>new Promise((resolve=>{if(inputValue){fetch(`https://api.github.com/search/users?q=${inputValue}`).then((response=>response.json())).then((results=>{resolve(results.items?filterResults(results):[])}))}else{resolve([])}}));const TypeaheadAsyncCreateable=props=>jsx(Typeahead$1,{async:true,createable:true,isMulti:true,label:"Existing or User Created Options",loadOptions:promiseOptions,...props});const options$5=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadErrorState=props=>{const error=jsxs(Fragment$1,{children:[jsx(Icon$1,{icon:"warning"})," Please make a valid selection"]});const[errorState,setErrorState]=useState(error);const[searchValue,setSearchValue]=useState(null);const handleOnChange=value=>setSearchValue(value);useEffect((()=>{if(searchValue){setErrorState("")}else{setErrorState(error)}}),[searchValue]);return jsx(Typeahead$1,{error:errorState,label:"Colors",onChange:handleOnChange,options:options$5,...props})};const options$4=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"},{label:"Amaranth",value:"#9F2B68"},{label:"Key Lime",value:"#DAF7A6"},{label:"Turquois",value:"#00FFD0"}];const TypeaheadCustomMenuList=props=>{const defaultColorOptions=options$4.slice(0,3);const[colorOptions,setColorOptions]=useState(defaultColorOptions);const moreToLoad=colorOptions.length==defaultColorOptions.length;const loadColors=moreToLoad?()=>setColorOptions(options$4):()=>setColorOptions(defaultColorOptions);const menuListProps={footer:jsx(Button$1,{margin:"sm",onClick:loadColors,text:`Load ${moreToLoad?"More":"Less"}`})};const MenuList=props2=>jsx(Typeahead$1.MenuList,{...menuListProps,...props2});return jsx(Typeahead$1,{components:{MenuList:MenuList},label:"Colors",options:colorOptions,...props})};const options$3=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadMarginBottom=props=>jsxs(Fragment$1,{children:[jsx(Typeahead$1,{label:"None",marginBottom:"none",options:options$3,...props}),jsx(Typeahead$1,{label:"XXS",marginBottom:"xxs",options:options$3,...props}),jsx(Typeahead$1,{label:"XS",marginBottom:"xs",options:options$3,...props}),jsx(Typeahead$1,{label:"Default - SM",options:options$3,...props}),jsx(Typeahead$1,{label:"MD",marginBottom:"md",options:options$3,...props}),jsx(Typeahead$1,{label:"LG",marginBottom:"lg",options:options$3,...props}),jsx(Typeahead$1,{label:"XL",marginBottom:"xl",options:options$3,...props})]});const options$2=[{label:"Windows",value:"#FFA500"},{label:"Siding",value:"#FF0000"},{label:"Doors",value:"#00FF00"},{label:"Roofs",value:"#0000FF"}];const TypeaheadWithPills=props=>jsx(Fragment$1,{children:jsx(Typeahead$1,{isMulti:true,label:"Colors",options:options$2,pillColor:"neutral",placeholder:"",...props})});const names=[{label:"Alexander Nathaniel Montgomery",value:"Alexander Nathaniel Montgomery"},{label:"Isabella Anastasia Wellington",value:"Isabella Anastasia Wellington"},{label:"Christopher Maximilian Harrington",value:"Christopher Maximilian Harrington"},{label:"Elizabeth Seraphina Kensington",value:"Elizabeth Seraphina Kensington"},{label:"Theodore Jonathan Abernathy",value:"Theodore Jonathan Abernathy"}];const TypeaheadTruncatedText=props=>jsx(Fragment$1,{children:jsx(Typeahead$1,{htmlOptions:{style:{maxWidth:"240px"}},isMulti:true,label:"Truncation Within Typeahead",options:names,truncate:1,...props})});const languages=[{label:"JavaScript",value:"1995",category:"Web Development"},{label:"Python",value:"1991",category:"General Purpose"},{label:"Java",value:"1995",category:"Enterprise"},{label:"C++",value:"1985",category:"Systems Programming"},{label:"Go",value:"2009",category:"Systems Programming"},{label:"Rust",value:"2010",category:"Systems Programming"},{label:"Swift",value:"2014",category:"Mobile Development"},{label:"Kotlin",value:"2011",category:"Mobile Development"},{label:"Ruby",value:"1995",category:"General Purpose"},{label:"PHP",value:"1995",category:"Web Development"}];const colors=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadReactHook=props=>{const{register:register,watch:watch}=useForm();const selectedLanguages=watch("languages");const selectedColor=watch("color");return jsxs(Fragment$1,{children:[jsx(Typeahead$1,{isMulti:true,label:"Multi Select Languages",multiKit:"language",options:languages,...props,...register("languages")}),jsx(Title$1,{size:4,text:"Selected Languages"}),selectedLanguages&&selectedLanguages.map((language=>jsx("p",{children:`${language.label} - ${language.value} - ${language.category}`},language.label))),jsx(Typeahead$1,{label:"Colors",marginTop:"lg",options:colors,...props,...register("color")}),jsx(Title$1,{size:4,text:"Selected Color"}),jsx("p",{children:selectedColor&&`${selectedColor.label} - ${selectedColor.value}`})]})};const options$1=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadDisabled=props=>jsx(Typeahead$1,{disabled:true,label:"Colors",options:options$1,...props});const options=[{label:"Orange",value:"#FFA500"},{label:"Red",value:"#FF0000"},{label:"Green",value:"#00FF00"},{label:"Blue",value:"#0000FF"}];const TypeaheadPreserveInput=props=>jsx(Typeahead$1,{label:"Colors",options:options,preserveSearchInput:true,...props});const Typeahead=Object.freeze(Object.defineProperty({__proto__:null,TypeaheadAsyncCreateable:TypeaheadAsyncCreateable,TypeaheadCreateable:TypeaheadCreateable,TypeaheadCustomMenuList:TypeaheadCustomMenuList,TypeaheadDefault:TypeaheadDefault,TypeaheadDisabled:TypeaheadDisabled,TypeaheadErrorState:TypeaheadErrorState,TypeaheadInline:TypeaheadInline,TypeaheadMarginBottom:TypeaheadMarginBottom,TypeaheadMultiKit:TypeaheadMultiKit,TypeaheadPreserveInput:TypeaheadPreserveInput,TypeaheadReactHook:TypeaheadReactHook,TypeaheadTruncatedText:TypeaheadTruncatedText,TypeaheadWithHighlight:TypeaheadWithHighlight,TypeaheadWithPills:TypeaheadWithPills$1,TypeaheadWithPillsAsync:TypeaheadWithPillsAsync,TypeaheadWithPillsAsyncCustomOptions:TypeaheadWithPillsAsyncCustomOptions,TypeaheadWithPillsAsyncUsers:TypeaheadWithPillsAsyncUsers,TypeaheadWithPillsColor:TypeaheadWithPills},Symbol.toStringTag,{value:"Module"}));const UserDefault$1=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})}),jsxs("div",{children:[jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",...props}),jsx("br",{}),jsx(User$1,{align:"left",avatar:true,name:"Anna Black",orientation:"horizontal",...props})]})]});const UserLightWeight=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",bold:false,name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",bold:false,name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})}),jsxs("div",{children:[jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",bold:false,name:"Anna Black",orientation:"horizontal",...props}),jsx("br",{}),jsx(User$1,{align:"left",avatar:true,bold:false,name:"Anna Black",orientation:"horizontal",...props})]})]});const UserWithTerritory=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",territory:"PHL",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",territory:"PHL",title:"Remodeling Consultant",...props})}),jsxs("div",{children:[jsx(User$1,{align:"center",name:"Anna Black",orientation:"horizontal",size:"sm",territory:"PHL",title:"Remodeling Consultant",...props}),jsx("br",{}),jsx(User$1,{align:"left",name:"Anna Black",orientation:"horizontal",size:"lg",territory:"PHL",title:"Remodeling Consultant",...props})]})]});const UserTextOnly=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{align:"center",name:"Anna Black",orientation:"horizontal",size:"lg",title:"Remodeling Consultant",...props}),jsx(User$1,{align:"left",name:"Anna Black",orientation:"horizontal",title:"Remodeling Consultant",...props})]});const UserDefault=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",size:"sm",title:"Remodeling Consultant",...props}),jsx(User$1,{avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",size:"md",title:"Remodeling Consultant",...props}),jsx(User$1,{avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",size:"lg",title:"Remodeling Consultant",...props})]});const UserVerticalSize=props=>jsxs("div",{children:[jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"sm",title:"Remodeling Consultant",...props}),jsx("br",{}),jsx("br",{}),jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"md",title:"Remodeling Consultant",...props}),jsx("br",{}),jsx("br",{}),jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",title:"Remodeling Consultant",...props})]});const UserSubtitle=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"vertical",size:"lg",subtitle:"User ID: 12345",territory:"PHL",title:"Remodeling Consultant",...props}),jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",subtitle:"User ID: 12345",territory:"PHL",title:"Remodeling Consultant",...props})]});const MentorSubtitle=jsxs(Flex$1,{children:[jsx(Icon$1,{icon:"users"}),jsx(Caption$1,{paddingLeft:"xs",text:"Admin"})]});const ContactSubtitle=jsxs(Fragment$1,{children:[jsx(Contact$1,{contactType:"cell",contactValue:"349-185-9988"}),jsx(Contact$1,{contactValue:"5555555555"}),jsx(Contact$1,{contactType:"email",contactValue:"email@example.com"})]});const UserBlockContentSubtitleReact=props=>jsxs("div",{className:"pb--doc-demo-row",children:[jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",subtitle:MentorSubtitle,territory:"PHL",title:"Remodeling Consultant",...props}),jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",orientation:"horizontal",subtitle:ContactSubtitle,...props})]});const UserFontOptions=props=>jsx("div",{children:jsxs("div",{className:"pb--doc-demo-row",children:[jsx("div",{children:jsx(User$1,{align:"center",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",nameStyle:"body",orientation:"horizontal",size:"md",territory:"PHL",title:"Remodeling Consultant",...props})}),jsx("div",{children:jsx(User$1,{align:"left",avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",nameStyle:"detail",orientation:"horizontal",size:"md",territory:"PHL",title:"Remodeling Consultant",...props})})]})});const UserGrayscale=props=>jsx(User$1,{avatarGrayscale:true,avatarUrl:"https://randomuser.me/api/portraits/women/44.jpg",name:"Anna Black",title:"Remodeling Consultant",...props});const User=Object.freeze(Object.defineProperty({__proto__:null,UserBlockContentSubtitleReact:UserBlockContentSubtitleReact,UserDefault:UserDefault$1,UserFontOptions:UserFontOptions,UserGrayscale:UserGrayscale,UserLightWeight:UserLightWeight,UserSize:UserDefault,UserSubtitle:UserSubtitle,UserTextOnly:UserTextOnly,UserVerticalSize:UserVerticalSize,UserWithTerritory:UserWithTerritory},Symbol.toStringTag,{value:"Module"}));const UserBadgeDefault=()=>jsxs("div",{children:[jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"md"})}),jsx("br",{}),jsx("br",{}),jsx("div",{children:jsx(UserBadge$1,{badge:"million-dollar",size:"md"})})]});const UserBadgeSize=()=>jsxs("div",{children:[jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"sm"})}),jsx("br",{}),jsx("br",{}),jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"md"})}),jsx("br",{}),jsx("br",{}),jsx("div",{children:jsx(UserBadge$1,{badge:"veteran",size:"lg"})})]});const UserBadge=Object.freeze(Object.defineProperty({__proto__:null,UserBadgeDefault:UserBadgeDefault,UserBadgeSize:UserBadgeSize},Symbol.toStringTag,{value:"Module"}));const WalkthroughDefault=props=>{const[state,setState]=useState({run:false,steps:[{title:"Example title",content:"This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing",target:".example"},{title:"Toggle",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb_toggle_control"},{title:"Top Nav",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"example",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,...props})]})};const WalkthroughContinuous=props=>{const[state,setState]=useState({run:false,steps:[{title:"Example Title",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".examplePaused"},{title:"Toggle",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb_toggle_control"},{title:"Top Nav",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"examplePaused",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,...props,continuous:true})]})};const WalkthroughNoBeacon=props=>{const[state,setState]=useState({callback:data3=>{if(data3.action==="close"&&data3.type==="step:after"){setState({...state,run:false})}},run:false,steps:[{title:"Example Title",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".exampleNoBeacon",disableBeacon:true},{title:"Toggle",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb_toggle_control"},{title:"Top Nav",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"exampleNoBeacon",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,...props,continuous:true})]})};const WalkthroughMultiBeacon=props=>{const[stateA,setStateA]=useState({run:false,steps:[{title:"Example title",content:"This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing",target:".exampleMulti"}]});const[stateB,setStateB]=useState({run:false,steps:[{title:"Toggle",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb_toggle_control"}]});const[stateC,setStateC]=useState({run:false,steps:[{title:"Top Nav",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"exampleMulti",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setStateA({...stateA,run:true});setStateB({...stateB,run:true});setStateC({...stateC,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setStateA({...stateA,run:false});setStateB({...stateB,run:false});setStateC({...stateC,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:stateA.run,steps:stateA.steps,...props}),jsx(Walkthrough$1,{run:stateB.run,steps:stateB.steps,...props}),jsx(Walkthrough$1,{run:stateC.run,steps:stateC.steps,...props})]})};const WalkthroughNoOverlay=props=>{const[noOverlay,setNoOverlayState]=useState({callback:data3=>{if(data3.action==="close"&&data3.type==="step:after"){setNoOverlayState({...noOverlay,run:false})}},disableOverlay:true,run:false,steps:[{title:"Example Title",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".exampleNoOverlay"},{title:"Toggle",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb_toggle_control"},{title:"Top Nav",content:"Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"exampleNoOverlay",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setNoOverlayState({...noOverlay,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setNoOverlayState({...noOverlay,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{disableOverlay:true,run:noOverlay.run,steps:noOverlay.steps,...props})]})};const WalkthroughStyled=props=>{const[state,setState]=useState({run:false,steps:[{title:"Example title",content:"This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing",target:".styled"},{title:"Toggle",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb_toggle_control"},{title:"Top Nav",content:"By default the walkthrough kit will cycle through each step provided.",target:".pb--page--topNav"}]});return jsxs("div",{children:[jsx("div",{className:"styled",style:{display:"inline"},children:"Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:true})},children:"Start Tour"}),jsx("br",{}),jsx("br",{}),jsx(Button$1,{onClick:()=>{setState({...state,run:false})},children:"Reset/Stop Tour"}),jsx(Walkthrough$1,{run:state.run,steps:state.steps,styles:{options:{beaconSize:120}},...props})]})};const Walkthrough=Object.freeze(Object.defineProperty({__proto__:null,WalkthroughContinuous:WalkthroughContinuous,WalkthroughDefault:WalkthroughDefault,WalkthroughMultiBeacon:WalkthroughMultiBeacon,WalkthroughNoBeacon:WalkthroughNoBeacon,WalkthroughNoOverlay:WalkthroughNoOverlay,WalkthroughStyled:WalkthroughStyled},Symbol.toStringTag,{value:"Module"}));const WeekdayStackedDefault=props=>jsxs("div",{children:[jsx(WeekdayStacked$1,{className:"test",...props}),jsx(WeekdayStacked$1,{align:"center",...props}),jsx(WeekdayStacked$1,{align:"right",...props})]});const WeekdayStackedVariant=props=>jsxs("div",{children:[jsx(WeekdayStacked$1,{variant:"day_only",...props}),jsx(WeekdayStacked$1,{align:"center",variant:"month_day",...props}),jsx(WeekdayStacked$1,{align:"right",variant:"expanded",...props})]});const WeekdayStackedCompact=props=>jsxs("div",{children:[jsx(WeekdayStacked$1,{compact:true,variant:"day_only",...props}),jsx(WeekdayStacked$1,{align:"center",compact:true,variant:"month_day",...props}),jsx(WeekdayStacked$1,{align:"right",compact:true,variant:"expanded",...props})]});const WeekdayStacked=Object.freeze(Object.defineProperty({__proto__:null,WeekdayStackedCompact:WeekdayStackedCompact,WeekdayStackedDefault:WeekdayStackedDefault,WeekdayStackedVariant:WeekdayStackedVariant},Symbol.toStringTag,{value:"Module"}));WebpackerReact.registerComponents({...AdvancedTable,...Avatar,...Background,...Badge,...BarGraphDocs,...Body,...BreadCrumbs,...Button,...ButtonToolbar,...Caption,...Card,...Checkbox,...CircleChart,...CircleIconButton,...Collapsible,...Contact,...CopyButton,...Currency,...DashboardValue,...Date$1,...DatePicker,...DateRangeInline,...DateRangeStacked,...DateStacked,...DateTime,...DateTimeStacked,...DateYearStacked,...Detail,...Dialog,...DistributionBarDocs,...Draggable,...Drawer,...Dropdown,...EmptyState,...FileUpload,...Filter,...FixedConfirmationToast,...Flex,...FormGroup,...FormPill,...Gauge,...Hashtag,...Highlight$1,...HomeAddressStreet,...Icon,...IconButton,...IconCircle,...IconStatValue,...IconValue,...Image,...LabelPill,...LabelValue,...Layout,...LegendDocs,...Lightbox,...LineGraphDocs,...Link$1,...List,...LoadingInline,...Map$1,...Message,...MultiLevelSelect,...MultipleUsers,...MultipleUsersStacked,...Nav,...OnlineStatus,...Overlay,...Pagination,...Passphrase,...PbReactPopover,...Person,...PersonContact,...PhoneNumberInput,...Pill,...ProgressPills,...ProgressSimple,...ProgressStep,...Radio,...RichTextEditor,...SectionSeparator,...Select,...SelectableCard,...SelectableCardIcon,...SelectableIcon,...SelectableList,...SkeletonLoading,...Source,...StarRating,...StatChange,...StatValue,...Table,...TextInput,...Textarea,...Time,...TimeRangeInline,...TimeStacked,...Timeline,...Timestamp,...Title,...TitleCount,...TitleDetail,...Toggle,...Tooltip,...TreemapChart,...Typeahead,...User,...UserBadge,...Walkthrough,...WeekdayStacked});
|