1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1393],{764:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},845:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},1111:(e,t,r)=>{var n=r(62709),o=r(98758);e.exports=function(e,t,r,i){var a=r.length,l=a,s=!i;if(null==e)return!l;for(e=Object(e);a--;){var u=r[a];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<l;){var c=(u=r[a])[0],f=e[c],p=u[1];if(s&&u[2]){if(void 0===f&&!(c in e))return!1}else{var d=new n;if(i)var h=i(f,p,c,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},1145:(e,t,r)=>{var n=r(12820),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},1217:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},2788:(e,t,r)=>{var n=r(35670),o=r(78794);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},3081:(e,t,r)=>{var n=r(39471),o=r(56065),i=r(845),a=r(73288),l=r(63494);e.exports=function(e,t,r){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,r);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},3543:(e,t,r)=>{r.d(t,{W:()=>l});var n=r(95035),o=r(96531),i=r(54345),a=r(62618);function l({validateUrl:e,attributes:t}){let[r]=(0,i.DF)();return(0,a.useEffect)(()=>{if(!r.hasNodes([o.Db]))throw Error("LinkPlugin: LinkNode not registered on editor")}),(0,a.useEffect)(()=>(0,o.Ou)(r,(0,n.v)({attributes:t,validateUrl:e})),[r,e,t]),null}},4504:(e,t,r)=>{e.exports=r(28338)(r(96283),"Promise")},4755:(e,t,r)=>{var n=r(27636),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,l){var s=1&r,u=n(e),c=u.length;if(c!=n(t).length&&!s)return!1;for(var f=c;f--;){var p=u[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e),h=l.get(t);if(d&&h)return d==t&&h==e;var g=!0;l.set(e,t),l.set(t,e);for(var b=s;++f<c;){var v=e[p=u[f]],y=t[p];if(i)var m=s?i(y,v,p,t,e,l):i(v,y,p,e,t,l);if(!(void 0===m?v===y||a(v,y,r,i,l):m)){g=!1;break}b||(b="constructor"==p)}if(g&&!b){var x=e.constructor,w=t.constructor;x!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(g=!1)}return l.delete(e),l.delete(t),g}},5548:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},7818:(e,t,r)=>{var n=r(82925);e.exports=function(e){return e==e&&!n(e)}},8531:e=>{e.exports=Array.isArray},9082:(e,t,r)=>{var n=r(96235),o=r(99514),i=r(2788);e.exports=function(e){return i(e)?n(e):o(e)}},9243:(e,t,r)=>{var n=r(8531),o=r(47386),i=r(91952),a=r(95050);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},9545:(e,t,r)=>{var n=r(13045);e.exports=function(e){return n(this,e).get(e)}},9700:(e,t,r)=>{r.d(t,{R:()=>a});var n=r(62618),o=r(63154);class i extends n.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){this.props.onError(e instanceof Error?e:Error(String(e),{cause:e}),t)}render(){return this.state.hasError?this.props.fallback:this.props.children}}function a({children:e,fallback:t,onError:r}){return(0,o.jsx)(i,{fallback:void 0===t?(0,o.jsx)("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}):t,onError:r,children:e})}},10431:e=>{e.exports=function(){return[]}},10444:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},11414:(e,t,r)=>{e.exports=r(28338)(r(96283),"DataView")},11498:(e,t,r)=>{r.d(t,{G:()=>l});var n=r(54345),o=(r(95035),r(22368));function i(e,t){e.undoStack=[],e.redoStack=[],e.current=null,t&&t(e)}var a=r(62618);function l({delay:e,externalHistoryState:t}){let[r]=(0,n.DF)();return function(e,t,r=1e3){let n=(0,a.useMemo)(()=>t||{current:null,redoStack:[],undoStack:[]},[t]);(0,a.useEffect)(()=>(function(e,t,r,n=Date.now,a,l=null){let s,u,c,f,p,d=(s=n(),u=0,c=s,f=0,p=null,(t,i,a,l,d,h)=>{let g=n();if(h.has(o.xKE)&&(c=s,f=u,p=t),h.has(o.n0X))return u=0,s=g,2;h.has(o.sne)&&p&&(s=c,u=f,t=p);let b=h.has(o.fwY)||h.has(o.Ap3)?0:function(e,t,r,n,i){if(null===e||0===r.size&&0===n.size&&!i)return 0;let a=t._selection,l=e._selection;if(i)return 1;if(!((0,o.I2P)(a)&&(0,o.I2P)(l)&&l.isCollapsed()&&a.isCollapsed()))return 0;let s=function(e,t,r){let n=e._nodeMap,i=[];for(let e of t){let t=n.get(e);void 0!==t&&i.push(t)}for(let[e,t]of r){if(!t)continue;let r=n.get(e);void 0===r||(0,o.hVZ)(r)||i.push(r)}return i}(t,r,n);if(0===s.length)return 0;if(s.length>1){let r=t._nodeMap,n=r.get(a.anchor.key),i=r.get(l.anchor.key);return n&&i&&!e._nodeMap.has(n.__key)&&(0,o.kFe)(n)&&1===n.__text.length&&1===a.anchor.offset?2:0}let u=s[0],c=e._nodeMap.get(u.__key);if(!(0,o.kFe)(c)||!(0,o.kFe)(u)||c.__mode!==u.__mode)return 0;let f=c.__text,p=u.__text;if(f===p)return 0;let d=a.anchor,h=l.anchor;if(d.key!==h.key||"text"!==d.type)return 0;let g=d.offset,b=h.offset,v=p.length-f.length;return 1===v&&b===g-1?2:-1===v&&b===g+1?3:4*(-1===v&&b===g)}(t,i,l,d,e.isComposing()),v=(()=>{let n=null===a||a.editor===e,c=h.has(o.bMH);if(!c&&n&&h.has(o.T40))return 0;if(1===b)return 2;if(null===t)return 1;let f=i._selection;if(!(l.size>0||d.size>0))return 2*(null===f);let p="number"==typeof r?r:r.peek();return!1===c&&0!==b&&b===u&&g<s+p&&n||1===l.size&&function(e,t,r){let n=t._nodeMap.get(e),i=r._nodeMap.get(e),a=t._selection,l=r._selection;return!((0,o.I2P)(a)&&(0,o.I2P)(l)&&"element"===a.anchor.type&&"element"===a.focus.type&&"text"===l.anchor.type&&"text"===l.focus.type||!(0,o.kFe)(n)||
1!(0,o.kFe)(i)||n.__parent!==i.__parent)&&JSON.stringify(t.read(()=>n.exportJSON()))===JSON.stringify(r.read(()=>i.exportJSON()))}(Array.from(l)[0],t,i)?0:1})();return s=g,u=b,v}),h=()=>{};return h(),(0,o.Sdt)(e.registerCommand(o.ZKf,()=>((function(e,t,r){let n=t.redoStack,i=t.undoStack;if(0!==i.length){let a=t.current,l=i.pop();null!==a&&(n.push(a),e.dispatchCommand(o.WWb,!0)),0===i.length&&e.dispatchCommand(o.KfJ,!1),t.current=l||null,r&&r(t),l&&l.editor.setEditorState(l.editorState,{tag:o.n0X})}})(e,t,a),!0),o.jZM),e.registerCommand(o.V30,()=>((function(e,t,r){let n=t.redoStack,i=t.undoStack;if(0!==n.length){let a=t.current;null!==a&&(i.push(a),e.dispatchCommand(o.KfJ,!0));let l=n.pop();0===n.length&&e.dispatchCommand(o.WWb,!1),t.current=l||null,r&&r(t),l&&l.editor.setEditorState(l.editorState,{tag:o.n0X})}})(e,t,a),!0),o.jZM),e.registerCommand(o.SKc,()=>(i(t,a),!1),o.jZM),e.registerCommand(o.t5V,()=>(i(t,a),e.dispatchCommand(o.WWb,!1),e.dispatchCommand(o.KfJ,!1),!0),o.jZM),e.registerUpdateListener(({editorState:r,prevEditorState:n,dirtyLeaves:i,dirtyElements:a,tags:s})=>{let u=t.current,c=t.redoStack,f=t.undoStack,p=null===u?null:u.editorState;if(null!==u&&r===p)return;let g=d(n,r,u,i,a,s);if(1===g){if(0!==c.length&&(t.redoStack=[],e.dispatchCommand(o.WWb,!1)),null!==u){f.push({...u});let t="number"==typeof l||null===l?l:l.peek();null!==t&&f.length>t&&f.splice(0,f.length-t),e.dispatchCommand(o.KfJ,!0)}}else if(2===g)return;t.current={editor:e,editorState:r},h()}))})(e,n,r),[r,e,n])}(r,t,e),null}},12492:(e,t,r)=>{var n=r(12820);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},12820:(e,t,r)=>{e.exports=r(28338)(Object,"create")},13035:(e,t,r)=>{var n=r(1111),o=r(50742),i=r(29585);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},13045:(e,t,r)=>{var n=r(63026);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},13469:(e,t,r)=>{var n=r(70964),o=r(44536),i=r(45995);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},13996:(e,t,r)=>{var n=r(47655),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},14218:(e,t,r)=>{var n=r(15639),o=r(95118),i=r(8531),a=r(65106),l=1/0,s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-l?"-0":r}},15112:(e,t,r)=>{var n=r(15639),o=r(93022),i=r(20568),a=r(41747),l=r(97587),s=r(44157),u=n?n.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!f(new o(e),new o(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&n;if(d||(d=s),e.size!=t.size&&!h)break;var g=p.get(e);if(g)return g==t;n|=2,p.set(e,t);var b=a(d(e),d(t),n,u,f,p);return p.delete(e),b;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},15371:(e,t,r)=>{var n=r(62709),o=r(1217),i=r(29435),a=r(49087),l=r(68131),s=r(72138),u=r(764),c=r(54879),f=r(27984),p=r(27636),d=r(59335),h=r(34243),g=r(97243),b=r(3081),v=r(95573),y=r(8531),m=r(95216),x=r(24076),w=r(82925),_=r(46510),E=r(9082),S=r(97097),C="[object Arguments]",k="[object Function]",j="[object Object]",O={};O[C]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[j]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[k]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,A,M,R,T){var P,F=1&r,N=2&r,D=4&r;if(A&&(P=R?A(t,M,R,T):A(t)),void 0!==P)return P;if(!w(t))return t;var B=y(t);if(B){if(P=g(t),!F)return u(t,P)}else{var I=h(t),L=I==k||"[object GeneratorFunction]"==I;if(m(t))return s(t,F);if(I==j||I==C||L&&!R){if(P=N||L?{}:v(t),!F)return N?f(t,l(P,t)):c(t,a(P,t))}else{if(!O[I])return R?t:{};
1P=b(t,I,F)}}T||(T=new n);var z=T.get(t);if(z)return z;T.set(t,P),_(t)?t.forEach(function(n){P.add(e(n,r,A,n,t,T))}):x(t)&&t.forEach(function(n,o){P.set(o,e(n,r,A,o,t,T))});var $=D?N?d:p:N?S:E,H=B?void 0:$(t);return o(H||t,function(n,o){H&&(n=t[o=n]),i(P,o,e(n,r,A,o,t,T))}),P}},15639:(e,t,r)=>{e.exports=r(96283).Symbol},16298:(e,t,r)=>{var n=r(70964);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},16417:(e,t,r)=>{r.d(t,{a:()=>f});var n=r(54345),o=r(62618),i=r(22368),a=r(63154),l=r(64317);let s=i.qxK?o.useLayoutEffect:o.useEffect,u=(0,o.forwardRef)(function({editor:e,ariaActiveDescendant:t,ariaAutoComplete:r,ariaControls:n,ariaDescribedBy:i,ariaErrorMessage:l,ariaExpanded:u,ariaInvalid:c,ariaLabel:f,ariaLabelledBy:p,ariaMultiline:d,ariaOwns:h,ariaRequired:g,autoCapitalize:b,className:v,id:y,role:m="textbox",spellCheck:x=!0,style:w,tabIndex:_,"data-testid":E,...S},C){let[k,j]=(0,o.useState)(e.isEditable()),O=(0,o.useCallback)(t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null)},[e]),A=(0,o.useMemo)(()=>(function(...e){return t=>{for(let r of e)"function"==typeof r?r(t):null!=r&&(r.current=t)}})(C,O),[O,C]);return s(()=>(j(e.isEditable()),e.registerEditableListener(e=>{j(e)})),[e]),(0,a.jsx)("div",{"aria-activedescendant":k?t:void 0,"aria-autocomplete":k?r:"none","aria-controls":k?n:void 0,"aria-describedby":i,...null!=l?{"aria-errormessage":l}:{},"aria-expanded":k&&"combobox"===m?!!u:void 0,...null!=c?{"aria-invalid":c}:{},"aria-label":f,"aria-labelledby":p,"aria-multiline":d,"aria-owns":k?h:void 0,"aria-readonly":!k||void 0,"aria-required":g,autoCapitalize:b,className:v,contentEditable:k,"data-testid":E,id:y,ref:A,role:m,spellCheck:x,style:w,tabIndex:_??(k?void 0:-1),...S})});function c(e){return e.read("latest",(0,l.yl)(e.isComposing()))}let f=(0,o.forwardRef)(function(e,t){let{placeholder:r,...o}=e,[i]=(0,n.DF)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u,{editor:i,...o,ref:t}),null!=r&&(0,a.jsx)(p,{editor:i,content:r})]})});function p({content:e,editor:t}){let r=function(e){let[t,r]=(0,o.useState)(()=>c(e));return s(()=>{function t(){r(c(e))}return t(),(0,i.Sdt)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),[n,l]=(0,o.useState)(t.isEditable());if((0,o.useLayoutEffect)(()=>(l(t.isEditable()),t.registerEditableListener(e=>{l(e)})),[t]),!r)return null;let u=null;return"function"==typeof e?u=e(n):null!==e&&(u=e),null===u?null:(0,a.jsx)("div",{"aria-hidden":!0,children:u})}},16583:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},16754:(e,t,r)=>{var n=r(85330),o=r(28482),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable;e.exports=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},16942:(e,t,r)=>{e.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},17053:(e,t,r)=>{var n=r(13045);e.exports=function(e){return n(this,e).has(e)}},17585:(e,t,r)=>{var n=r(35670),o=r(20606),i=r(82925),a=r(16583),l=/^\[object .+?Constructor\]$/,s=Object.prototype,u=Function.prototype.toString,c=s.hasOwnProperty,f=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?f:l).test(a(e))}},17804:(e,t,r)=>{var n=r(34243),o=r(28482);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},18604:e=>{e.exports=function(){this.__data__=[],this.size=0}},20355:(e,t,r)=>{var n=r(15639),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[l]=r:delete e[l]),o}},20489:(e,t,r)=>{var n=r(29435),o=r(37628);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var l=-1,s=t.length;++l<s;){var u=t[l],c=i?i(r[u],e[u],u,r,e):void 0;void 0===c&&(c=e[u]),a?o(r,u,c):n(r,u,c)}return r}},20568:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},20606:(e,t,r)=>{var n=r(90051),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");
1return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},20708:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},20957:(e,t,r)=>{var n=r(12820);e.exports=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},24076:(e,t,r)=>{var n=r(17804),o=r(44957),i=r(58775),a=i&&i.isMap;e.exports=a?o(a):n},24197:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},26110:(e,t,r)=>{var n=r(70007);e.exports=function(){this.__data__=new n,this.size=0}},27266:(e,t,r)=>{var n=r(58158),o=r(10431),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return i.call(e,t)})}:o},27636:(e,t,r)=>{var n=r(35493),o=r(27266),i=r(9082);e.exports=function(e){return n(e,i,o)}},27984:(e,t,r)=>{var n=r(20489),o=r(38545);e.exports=function(e,t){return n(e,o(e),t)}},28284:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},28338:(e,t,r)=>{var n=r(17585),o=r(81706);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},28482:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},28589:(e,t,r)=>{e.exports=r(61973)()},29199:(e,t,r)=>{var n=r(2788);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,a=t?i:-1,l=Object(r);(t?a--:++a<i)&&!1!==o(l[a],a,l););return r}}},29435:(e,t,r)=>{var n=r(37628),o=r(20568),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},29585:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},29695:(e,t,r)=>{var n=r(36319),o=r(44957),i=r(58775),a=i&&i.isTypedArray;e.exports=a?o(a):n},33175:(e,t,r)=>{var n=r(45951);e.exports=r(29199)(n)},34243:(e,t,r)=>{var n=r(11414),o=r(53239),i=r(4504),a=r(92313),l=r(69595),s=r(98154),u=r(16583),c="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",g=u(n),b=u(o),v=u(i),y=u(a),m=u(l),x=s;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=c||i&&x(i.resolve())!=f||a&&x(new a)!=p||l&&x(new l)!=d)&&(x=function(e){var t=s(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case g:return h;case b:return c;case v:return f;case y:return p;case m:return d}return t}),e.exports=x},35493:(e,t,r)=>{var n=r(20708),o=r(8531);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},35497:(e,t,r)=>{r.d(t,{xk:()=>n0});var n,o=r(62618),i=r(83599),a=function(e,t,r,n,o){var i=o.clientWidth,a=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=l-(o.getBoundingClientRect().left+window.pageXOffset),c=s-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var f=void 0;if(f=c<0?0:c>a?1:Math.round(100*c/a)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var p=void 0;if(n!==(p=u<0?0:u>i?1:Math.round(100*u/i)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null},l={},s=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,r,r),i.translate(r,r),i.fillRect(0,0,r,r),o.toDataURL()):null},u=function(e,t,r,n){var o=e+"-"+t+"-"+r+(n?"-server":"");if(l[o])return l[o];var i=s(e,t,r,n);return l[o]=i,i},c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f=function(e){var t=e.white,r=e.grey,n=e.size,a=e.renderers,l=e.borderRadius,s=e.boxShadow,f=e.children,p=(0,i.Ay)({default:{grid:{borderRadius:l,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+u(t,r,n,a.canvas)+") center left"}}});return(0,o.isValidElement)(f)?o.cloneElement(f,c({},f.props,{style:c({},f.props.style,p.grid)})):o.createElement("div",{style:p.grid})};f.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function h(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var g=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,r,n,o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=a(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},h(n,r)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),d(t,[{key:"c
1omponentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,i.Ay)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:p({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return o.createElement("div",{style:r.alpha},o.createElement("div",{style:r.checkboard},o.createElement(f,{renderers:this.props.renderers})),o.createElement("div",{style:r.gradient}),o.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.createElement("div",{style:r.pointer},this.props.pointer?o.createElement(this.props.pointer,this.props):o.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component),b=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),v=[38,40],y=1,m=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t,n=Number(String(e.target.value).replace(/%/g,""));if(!isNaN(n)&&(t=e.keyCode,v.indexOf(t)>-1)){var o=r.getArrowOffset(),i=38===e.keyCode?n+o:n-o;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+y++,r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),b(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value!==this.state.value&&(e.value!==this.props.value||t.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){var t,r;return t={},r=this.props.label,r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,i.Ay)({default:{wrap:{position:"relative"}}
1,"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return o.createElement("div",{style:t.wrap},o.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?o.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component),x=function(e,t,r,n){var o=n.clientWidth,i=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(n.getBoundingClientRect().left+window.pageXOffset),u=l-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(c=u<0?359:u>i?0:360*(-(100*u/i)+100)/100,r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var f=void 0;if(f=s<0?0:s>o?359:100*s/o*360/100,r.h!==f)return{h:f,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null},w=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function _(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var E=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,r,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=_(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=x(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},_(n,r)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),w(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,n=(0,i.Ay)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-(100*this.props.hsl.h/360)+100+"%"}}},{vertical:"vertical"===r});return o.createElement("div",{style:n.hue},o.createElement("div",{className:"hue-"+r,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),o.createElement("div",{style:n.pointer},this.props.pointer?o.createElement(this.props.pointer,this.props):o.createElement("div",{style:n.slider}))))}}]),t}
1(o.PureComponent||o.Component),S=r(24528),C=r.n(S);let k=function(e,t){return e===t||e!=e&&t!=t},j=function(e,t){for(var r=e.length;r--;)if(k(e[r][0],t))return r;return -1};var O=Array.prototype.splice;function A(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}A.prototype.clear=function(){this.__data__=[],this.size=0},A.prototype.delete=function(e){var t=this.__data__,r=j(t,e);return!(r<0)&&(r==t.length-1?t.pop():O.call(t,r,1),--this.size,!0)},A.prototype.get=function(e){var t=this.__data__,r=j(t,e);return r<0?void 0:t[r][1]},A.prototype.has=function(e){return j(this.__data__,e)>-1},A.prototype.set=function(e,t){var r=this.__data__,n=j(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};var M="object"==typeof global&&global&&global.Object===Object&&global,R="object"==typeof self&&self&&self.Object===Object&&self,T=M||R||Function("return this")(),P=T.Symbol,F=Object.prototype,N=F.hasOwnProperty,D=F.toString,B=P?P.toStringTag:void 0;let I=function(e){var t=N.call(e,B),r=e[B];try{e[B]=void 0;var n=!0}catch(e){}var o=D.call(e);return n&&(t?e[B]=r:delete e[B]),o};var L=Object.prototype.toString,z=P?P.toStringTag:void 0;let $=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":z&&z in Object(e)?I(e):L.call(e)},H=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},U=function(e){if(!H(e))return!1;var t=$(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var W=T["__core-js_shared__"],J=function(){var e=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Z=Function.prototype.toString;let q=function(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var K=/^\[object .+?Constructor\]$/,V=Object.prototype,G=Function.prototype.toString,X=V.hasOwnProperty,Y=RegExp("^"+G.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let Q=function(e){return!!H(e)&&(!J||!(J in e))&&(U(e)?Y:K).test(q(e))},ee=function(e,t){var r=null==e?void 0:e[t];return Q(r)?r:void 0};var et=ee(T,"Map"),er=ee(Object,"create"),en=Object.prototype.hasOwnProperty,eo=Object.prototype.hasOwnProperty;function ei(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ei.prototype.clear=function(){this.__data__=er?er(null):{},this.size=0},ei.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},ei.prototype.get=function(e){var t=this.__data__;if(er){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return en.call(t,e)?t[e]:void 0},ei.prototype.has=function(e){var t=this.__data__;return er?void 0!==t[e]:eo.call(t,e)},ei.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=er&&void 0===t?"__lodash_hash_undefined__":t,this};let ea=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},el=function(e,t){var r=e.__data__;return ea(t)?r["string"==typeof t?"string":"hash"]:r.map};function es(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eu(e){var t=this.__data__=new A(e);this.size=t.size}es.prototype.clear=function(){this.size=0,this.__data__={hash:new ei,map:new(et||A),string:new ei}},es.prototype.delete=function(e){var t=el(this,e).delete(e);return this.size-=!!t,t},es.prototype.get=function(e){return el(this,e).get(e)},es.prototype.has=function(e){return el(this,e).has(e)},es.prototype.set=function(e,t){var r=el(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this},eu.prototype.clear=function(){this.__data__=new A,this.size=0},eu.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},eu.prototype.get=function(e){return this.__data__.get(e)},eu.prototype.has=function(e){return this.__data__.has(e)},eu.prototype.set=function(e,t){var r=this.__data__;if(r instanceof A){var n=r.__data__;if(!et||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new es(n)}return r.set(e,t),this.size=r.size,this};var ec=function(){try{var e=ee(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();
1let ef=function(e,t,r){"__proto__"==t&&ec?ec(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},ep=function(e,t,r){(void 0===r||k(e[t],r))&&(void 0!==r||t in e)||ef(e,t,r)},ed=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var l=i[++n];if(!1===t(o[l],l,o))break}return e};var eh="object"==typeof exports&&exports&&!exports.nodeType&&exports,eg=eh&&"object"==typeof module&&module&&!module.nodeType&&module,eb=eg&&eg.exports===eh?T.Buffer:void 0,ev=eb?eb.allocUnsafe:void 0;let ey=function(e,t){if(t)return e.slice();var r=e.length,n=ev?ev(r):new e.constructor(r);return e.copy(n),n};var em=T.Uint8Array;let ex=function(e){var t=new e.constructor(e.byteLength);return new em(t).set(new em(e)),t},ew=function(e,t){var r=t?ex(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)},e_=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var eE=Object.create,eS=function(){function e(){}return function(t){if(!H(t))return{};if(eE)return eE(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();let eC=function(e,t){return function(r){return e(t(r))}};var ek=eC(Object.getPrototypeOf,Object),ej=Object.prototype;let eO=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ej)},eA=function(e){return null!=e&&"object"==typeof e},eM=function(e){return eA(e)&&"[object Arguments]"==$(e)};var eR=Object.prototype,eT=eR.hasOwnProperty,eP=eR.propertyIsEnumerable,eF=eM(function(){return arguments}())?eM:function(e){return eA(e)&&eT.call(e,"callee")&&!eP.call(e,"callee")},eN=Array.isArray;let eD=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff},eB=function(e){return null!=e&&eD(e.length)&&!U(e)};var eI="object"==typeof exports&&exports&&!exports.nodeType&&exports,eL=eI&&"object"==typeof module&&module&&!module.nodeType&&module,ez=eL&&eL.exports===eI?T.Buffer:void 0;let e$=(ez?ez.isBuffer:void 0)||function(){return!1};var eH=Object.prototype,eU=Function.prototype.toString,eW=eH.hasOwnProperty,eJ=eU.call(Object);let eZ=function(e){if(!eA(e)||"[object Object]"!=$(e))return!1;var t=ek(e);if(null===t)return!0;var r=eW.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&eU.call(r)==eJ};var eq={};eq["[object Float32Array]"]=eq["[object Float64Array]"]=eq["[object Int8Array]"]=eq["[object Int16Array]"]=eq["[object Int32Array]"]=eq["[object Uint8Array]"]=eq["[object Uint8ClampedArray]"]=eq["[object Uint16Array]"]=eq["[object Uint32Array]"]=!0,eq["[object Arguments]"]=eq["[object Array]"]=eq["[object ArrayBuffer]"]=eq["[object Boolean]"]=eq["[object DataView]"]=eq["[object Date]"]=eq["[object Error]"]=eq["[object Function]"]=eq["[object Map]"]=eq["[object Number]"]=eq["[object Object]"]=eq["[object RegExp]"]=eq["[object Set]"]=eq["[object String]"]=eq["[object WeakMap]"]=!1;var eK="object"==typeof exports&&exports&&!exports.nodeType&&exports,eV=eK&&"object"==typeof module&&module&&!module.nodeType&&module,eG=eV&&eV.exports===eK&&M.process,eX=function(){try{var e=eV&&eV.require&&eV.require("util").types;if(e)return e;return eG&&eG.binding&&eG.binding("util")}catch(e){}}(),eY=eX&&eX.isTypedArray,eQ=eY?function(e){return eY(e)}:function(e){return eA(e)&&eD(e.length)&&!!eq[$(e)]};let e0=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var e1=Object.prototype.hasOwnProperty;let e2=function(e,t,r){var n=e[t];e1.call(e,t)&&k(n,r)&&(void 0!==r||t in e)||ef(e,t,r)},e5=function(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=n?n(r[l],e[l],l,r,e):void 0;void 0===s&&(s=e[l]),o?ef(r,l,s):e2(r,l,s)}return r},e3=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var e8=/^(?:0|[1-9]\d*)$/;let e4=function(e,t){var r=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==r||"symbol"!=r&&e8.test(e))&&e>-1&&e%1==0&&e<t};var e6=Object.prototype.hasOwnProperty;let e9=function(e,t){var r=eN(e),n=!r&&eF(e),o=!r&&!n&&e$(e),i=!r&&!n&&!o&&eQ(e),a=r||n||o||i,l=a?e3(e.length,String):[],s=l.length;for(var u in e)(t||e6.call(e,u))&&!(a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||e4(u,s)))&&l.push(u);return l},e7=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var te=Object.prototype.hasOwnProperty;let tt=function(e){if(!H(e))return e7(e);var t=eO(e),r=[];for(var n in e)"constructor"==n&&(t||!te.call(e,n))||r.push(n);return r},tr=function(e){return eB(e)?e9(e,!0):tt(e)},tn=function(e,t,r,n,o,i,a){var l=e0(e,r),s=e0(t,r),u=a.get(s);if(u)return void ep(e,r,u);var c=i?i(l,s,r+"",e,t,a):void 0,f=void 0===c;if(f){var p=eN(s),d=!p&&e$(s),h=!p&&!d&&eQ(s);(c=s,p||d||h)?eN(l)?c=l:eA(l)&&eB(l)?c=e_(l):d?(f=!1,c=ey(s,!0)):h?(f=!1,c=ew(s,!0)):c=[]:eZ(s)||eF(s)?(c=l,eF(l))?c=e5(l,tr(l)):(!H(l)||U(l))&&(c="function"!=typeof s.constructor||eO(s)?{}:eS(ek(s))):f=!1}f&&(a.set(s,c),o(c,s,n,i,a),a.delete(s)),ep(e,r,c)},to=function e(t,r,n,o,i){t!==r&&ed(r,function(a,l){if(i||(i=new eu),H(a))tn(t,r,l,n,e,o,i);
1else{var s=o?o(e0(t,l),a,l+"",t,r,i):void 0;void 0===s&&(s=a),ep(t,l,s)}},tr)},ti=function(e){return e},ta=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)};var tl=Math.max,ts=Date.now,tu=function(e){var t=0,r=0;return function(){var n=ts(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ec?function(e,t){return ec(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:ti);let tc=function(e,t){var r;return tu((r=tl(void 0===(r=t)?e.length-1:r,0),function(){for(var t=arguments,n=-1,o=tl(t.length-r,0),i=Array(o);++n<o;)i[n]=t[r+n];n=-1;for(var a=Array(r+1);++n<r;)a[n]=t[n];return a[r]=ti(i),ta(e,this,a)}),e+"")},tf=function(e,t,r){if(!H(r))return!1;var n=typeof t;return("number"==n?!!(eB(r)&&e4(t,r.length)):"string"==n&&t in r)&&k(r[t],e)};var tp=function(e){return tc(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&tf(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var l=r[n];l&&e(t,l,n,i)}return t})}(function(e,t,r){to(e,t,r)}),td=function(e){var t=e.zDepth,r=e.radius,n=e.background,a=e.children,l=e.styles,s=(0,i.Ay)(tp({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:n}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},void 0===l?{}:l),{"zDepth-1":1===t});return o.createElement("div",{style:s.wrap},o.createElement("div",{style:s.bg}),o.createElement("div",{style:s.content},a))};td.propTypes={background:C().string,zDepth:C().oneOf([0,1,2,3,4,5]),radius:C().number,styles:C().object},td.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};let th=function(){return T.Date.now()};var tg=/\s/;let tb=function(e){for(var t=e.length;t--&&tg.test(e.charAt(t)););return t};var tv=/^\s+/;let ty=function(e){return"symbol"==typeof e||eA(e)&&"[object Symbol]"==$(e)};var tm=0/0,tx=/^[-+]0x[0-9a-f]+$/i,tw=/^0b[01]+$/i,t_=/^0o[0-7]+$/i,tE=parseInt;let tS=function(e){if("number"==typeof e)return e;if(ty(e))return tm;if(H(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=H(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,tb(t)+1).replace(tv,""):t;var n=tw.test(e);return n||t_.test(e)?tE(e.slice(2),n?2:8):tx.test(e)?tm:+e};var tC=Math.max,tk=Math.min;let tj=function(e,t,r){var n,o,i,a,l,s,u=0,c=!1,f=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function d(t){var r=n,i=o;return n=o=void 0,u=t,a=e.apply(i,r)}function h(e){var r=e-s,n=e-u;return void 0===s||r>=t||r<0||f&&n>=i}function g(){var e,r,n,o=th();if(h(o))return b(o);l=setTimeout(g,(e=o-s,r=o-u,n=t-e,f?tk(n,i-r):n))}function b(e){return(l=void 0,p&&n)?d(e):(n=o=void 0,a)}function v(){var e,r=th(),i=h(r);if(n=arguments,o=this,s=r,i){if(void 0===l)return u=e=s,l=setTimeout(g,t),c?d(e):a;if(f)return clearTimeout(l),l=setTimeout(g,t),d(s)}return void 0===l&&(l=setTimeout(g,t)),a}return t=tS(t)||0,H(r)&&(c=!!r.leading,i=(f="maxWait"in r)?tC(tS(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),v.cancel=function(){void 0!==l&&clearTimeout(l),u=0,n=s=o=l=void 0},v.flush=function(){return void 0===l?a:b(th())},v},tO=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return H(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),tj(e,t,{leading:n,maxWait:t,trailing:o})};var tA=function(e,t,r){var n=r.getBoundingClientRect(),o=n.width,i=n.height,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(r.getBoundingClientRect().left+window.pageXOffset),u=l-(r.getBoundingClientRect().top+window.pageYOffset);s<0?s=0:s>o&&(s=o),u<0?u=0:u>i&&(u=i);var c=s/o,f=1-u/i;return{h:t.h,s:c,v:f,a:t.a,source:"hsv"}},tM=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),tR=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleChange=function(e){"function"==typeof r.props.onChange&&r.throttle(r.props.onChange,tA(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=tO(function(e,t,r){e(t,r)},50),r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),tM(t,[{key:"c
1omponentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,n=t.white,a=t.black,l=t.pointer,s=t.circle,u=(0,i.Ay)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(100*this.props.hsv.v)+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:n,black:a,pointer:l,circle:s}},{custom:!!this.props.style});return o.createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),o.createElement("div",{style:u.white,className:"saturation-white"},o.createElement("div",{style:u.black,className:"saturation-black"}),o.createElement("div",{style:u.pointer},this.props.pointer?o.createElement(this.props.pointer,this.props):o.createElement("div",{style:u.circle}))))}}]),t}(o.PureComponent||o.Component);let tT=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e};var tP=eC(Object.keys,Object),tF=Object.prototype.hasOwnProperty;let tN=function(e){if(!eO(e))return tP(e);var t=[];for(var r in Object(e))tF.call(e,r)&&"constructor"!=r&&t.push(r);return t},tD=function(e){return eB(e)?e9(e):tN(e)};var tB=(n=function(e,t){return e&&ed(e,t,tD)},function(e,t){if(null==e)return e;if(!eB(e))return n(e,t);for(var r=e.length,o=-1,i=Object(e);++o<r&&!1!==t(i[o],o,i););return e});let tI=function(e,t){return(eN(e)?tT:tB)(e,"function"==typeof t?t:ti)};function tL(e){return(tL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var tz=/^\s+/,t$=/\s+$/;function tH(e,t){if(t=t||{},(e=e||"")instanceof tH)return e;if(!(this instanceof tH))return new tH(e,t);var r,n,o,i,a,l,s,u,c,f,p,d,h,g,b,v,y,m,x,w,_=(n={r:0,g:0,b:0},o=1,i=null,a=null,l=null,s=!1,u=!1,"string"==typeof(r=e)&&(r=function(e){e=e.replace(tz,"").replace(t$,"").toLowerCase();var t,r=!1;if(t8[e])e=t8[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=ro.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=ro.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=ro.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=ro.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=ro.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=ro.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=ro.hex8.exec(e))?{r:re(t[1]),g:re(t[2]),b:re(t[3]),a:re(t[4])/255,format:r?"name":"hex8"}:(t=ro.hex6.exec(e))?{r:re(t[1]),g:re(t[2]),b:re(t[3]),format:r?"name":"hex"}:(t=ro.hex4.exec(e))?{r:re(t[1]+""+t[1]),g:re(t[2]+""+t[2]),b:re(t[3]+""+t[3]),a:re(t[4]+""+t[4])/255,format:r?"name":"hex8"}:!!(t=ro.hex3.exec(e))&&{r:re(t[1]+""+t[1]),g:re(t[2]+""+t[2]),b:re(t[3]+""+t[3]),format:r?"name":"hex"}}(r)),"object"==tL(r)&&(ri(r.r)&&ri(r.g)&&ri(r.b)?(c=r.r,f=r.g,p=r.b,n={r:255*t9(c,255),g:255*t9(f,255),b:255*t9(p,255)},s=!0,u="%"===String(r.r).substr(-1)?"prgb":"rgb"):ri(r.h)&&ri(r.
1s)&&ri(r.v)?(i=rr(r.s),a=rr(r.v),d=r.h,h=i,g=a,d=6*t9(d,360),h=t9(h,100),g=t9(g,100),b=Math.floor(d),v=d-b,y=g*(1-h),m=g*(1-v*h),x=g*(1-(1-v)*h),n={r:255*[g,m,y,y,x,g][w=b%6],g:255*[x,g,g,m,y,y][w],b:255*[y,y,x,g,g,m][w]},s=!0,u="hsv"):ri(r.h)&&ri(r.s)&&ri(r.l)&&(i=rr(r.s),l=rr(r.l),n=function(e,t,r){var n,o,i;function a(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=t9(e,360),t=t9(t,100),r=t9(r,100),0===t)n=o=i=r;else{var l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;n=a(s,l,e+1/3),o=a(s,l,e),i=a(s,l,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(r.h,i,l),s=!0,u="hsl"),r.hasOwnProperty("a")&&(o=r.a)),o=t6(o),{ok:s,format:r.format||u,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:o});this._originalInput=e,this._r=_.r,this._g=_.g,this._b=_.b,this._a=_.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||_.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=_.ok}function tU(e,t,r){e=t9(e,255);var n,o,i=Math.max(e,t=t9(t,255),r=t9(r,255)),a=Math.min(e,t,r),l=(i+a)/2;if(i==a)n=o=0;else{var s=i-a;switch(o=l>.5?s/(2-i-a):s/(i+a),i){case e:n=(t-r)/s+6*(t<r);break;case t:n=(r-e)/s+2;break;case r:n=(e-t)/s+4}n/=6}return{h:n,s:o,l:l}}function tW(e,t,r){e=t9(e,255);var n,o=Math.max(e,t=t9(t,255),r=t9(r,255)),i=Math.min(e,t,r),a=o-i;if(o==i)n=0;else{switch(o){case e:n=(t-r)/a+6*(t<r);break;case t:n=(r-e)/a+2;break;case r:n=(e-t)/a+4}n/=6}return{h:n,s:0===o?0:a/o,v:o}}function tJ(e,t,r,n){var o=[rt(Math.round(e).toString(16)),rt(Math.round(t).toString(16)),rt(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function tZ(e,t,r,n){return[rt(rn(n)),rt(Math.round(e).toString(16)),rt(Math.round(t).toString(16)),rt(Math.round(r).toString(16))].join("")}function tq(e,t){t=0===t?0:t||10;var r=tH(e).toHsl();return r.s-=t/100,r.s=t7(r.s),tH(r)}function tK(e,t){t=0===t?0:t||10;var r=tH(e).toHsl();return r.s+=t/100,r.s=t7(r.s),tH(r)}function tV(e){return tH(e).desaturate(100)}function tG(e,t){t=0===t?0:t||10;var r=tH(e).toHsl();return r.l+=t/100,r.l=t7(r.l),tH(r)}function tX(e,t){t=0===t?0:t||10;var r=tH(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(t/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(t/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(t/100*255)))),tH(r)}function tY(e,t){t=0===t?0:t||10;var r=tH(e).toHsl();return r.l-=t/100,r.l=t7(r.l),tH(r)}function tQ(e,t){var r=tH(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,tH(r)}function t0(e){var t=tH(e).toHsl();return t.h=(t.h+180)%360,tH(t)}function t1(e,t){if(isNaN(t)||t<=0)throw Error("Argument to polyad must be a positive number");for(var r=tH(e).toHsl(),n=[tH(e)],o=360/t,i=1;i<t;i++)n.push(tH({h:(r.h+i*o)%360,s:r.s,l:r.l}));return n}function t2(e){var t=tH(e).toHsl(),r=t.h;return[tH(e),tH({h:(r+72)%360,s:t.s,l:t.l}),tH({h:(r+216)%360,s:t.s,l:t.l})]}function t5(e,t,r){t=t||6,r=r||30;var n=tH(e).toHsl(),o=360/r,i=[tH(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(tH(n));return i}function t3(e,t){t=t||6;for(var r=tH(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],l=1/t;t--;)a.push(tH({h:n,s:o,v:i})),i=(i+l)%1;return a}tH.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*((r=n.b/255)<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=t6(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=tW(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=tW(this._r,this._g,this._b),t=Math.round(360*e.h),r=M
1ath.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=tU(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=tU(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return tJ(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){var t,r,n,o,i,a;return t=this._r,r=this._g,n=this._b,o=this._a,i=e,a=[rt(Math.round(t).toString(16)),rt(Math.round(r).toString(16)),rt(Math.round(n).toString(16)),rt(rn(o))],i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*t9(this._r,255))+"%",g:Math.round(100*t9(this._g,255))+"%",b:Math.round(100*t9(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*t9(this._r,255))+"%, "+Math.round(100*t9(this._g,255))+"%, "+Math.round(100*t9(this._b,255))+"%)":"rgba("+Math.round(100*t9(this._r,255))+"%, "+Math.round(100*t9(this._g,255))+"%, "+Math.round(100*t9(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(t4[tJ(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+tZ(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=tH(e);r="#"+tZ(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return!t&&n&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e)?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return tH(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(tG,arguments)},brighten:function(){return this._applyModification(tX,arguments)},darken:function(){return this._applyModification(tY,arguments)},desaturate:function(){return this._applyModification(tq,arguments)},saturate:function(){return this._applyModification(tK,arguments)},greyscale:function(){return this._applyModification(tV,arguments)},spin:function(){return this._applyModification(tQ,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(t5,arguments)},complement:function(){return this._applyCombination(t0,arguments)},monochromatic:function(){return this._applyCombination(t3,arguments)},splitcomplement:function(){return this._applyCombination(t2,arguments)},triad:function(){return this._applyCombination(t1,[3])},tetrad:function(){return this._applyCombination(t1,[4])}},tH.fromRatio=function(e,t){if("object"==tL(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&("a"===n?r[n]=e[n]:r[n]=rr(e[n]));e=r}return tH(e,t)},tH.equals=function(e,t){return!!e&&!!t&&tH(e).toRgbString()==tH(t).toRgbString()},tH.random=function(){return tH.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},tH.mix=function(e,t,r){r=0===r?0:r||50;var n=tH(e).toRgb(),o=tH(t).toRgb(),i=r/100;return tH({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},tH.readability=function(e,t){var r=tH(e),n=tH(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},tH.isReadable=function(e,t,r){var n,o,i,a,l,s=tH.readability(e,t);switch(l=!1,(o=((n=(n=r)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),i=(n.size||"small").toLowerCase(),"AA"!==o&&"AAA"!==o&&(o="AA"),"small"!==i&&"large"!==i&&(i="small"),a={level:o,size:i}).level+a.size){case"AAsmall":case"AAAlarge":l=s>=4.5;break;case"AAlarge":l=s>=3;break;case"AAAsmall":l=s>=7}return l},tH.mostReadable=function(e,t,r){var n,o,i,a,l=null,s=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;
vendor: 1,589 bytes, line 1
1for(var u=0;u<t.length;u++)(n=tH.readability(e,t[u]))>s&&(s=n,l=tH(t[u]));return tH.isReadable(e,l,{level:i,size:a})||!o?l:(r.includeFallbackColors=!1,tH.mostReadable(e,["#fff","#000"],r))};var t8=tH.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},t4=tH.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(t8);function t6(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function t9(e,t){"string"==typeof(r=e)&&-1!=r.indexOf(".")&&1===parseFloat(r)&&(e="100%");var r,n,o="string"==typeof(n=e)&&-1!=n.indexOf("%");return(e=Math.min(t,Math.max(0,parseFloat(e))),o&&(e=parseInt(e*t,10)/100),1e-6>Math.abs(e-t))?1:e%t/parseFloat(t)}function t7(e){return Math.min(1,Math.max(0,e))}function re(e){return parseInt(e,16)}function rt(e){return 1==e.length?"0"+e:""+e}function rr(e){return e<=1&&(e=100*e+"%"),e}function rn(e){return Math.round(255*parseFloat(e)).toString(16)}var ro=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:RegExp("rgb"+t),rgba:RegExp("rgba"+r),hsl:RegExp("hsl"+t),hsla:RegExp("hsla"+r),hsv:RegExp("hsv"+t),hsva:RegExp("hsva"
1+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ri(e){return!!ro.CSS_UNIT.exec(e)}var ra=function(e){var t=0,r=0;return tI(["r","g","b","a","h","s","l","v"],function(n){e[n]&&(t+=1,isNaN(e[n])||(r+=1),("s"===n||"l"===n)&&/^\d+%$/.test(e[n])&&(r+=1))}),t===r&&e},rl=function(e,t){var r=e.hex?tH(e.hex):tH(e),n=r.toHsl(),o=r.toHsv(),i=r.toRgb(),a=r.toHex();return 0===n.s&&(n.h=t||0,o.h=t||0),{hsl:n,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||n.h,source:e.source}},rs=function(e){if("transparent"===e)return!0;var t=+("#"===String(e).charAt(0));return e.length!==4+t&&e.length<7+t&&tH(e).isValid()},ru=function(e){if(!e)return"#fff";var t=rl(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},rc=function(e,t){return tH(t+" ("+e.replace("\xb0","")+")")._ok},rf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rp=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();let rd=function(e){var t=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function r(e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");var t=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){if(ra(e)){var n=rl(e,e.h||t.state.oldHue);t.setState(n),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,n,r),t.props.onChange&&t.props.onChange(n,r)}},t.handleSwatchHover=function(e,r){if(ra(e)){var n=rl(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(n,r)}},t.state=rf({},rl(e.color,0)),t.debounce=tj(function(e,t,r){e(t,r)},100),t}return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t),rp(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),o.createElement(e,rf({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return rf({},rl(e.color,t.oldHue))}}]),r}(o.PureComponent||o.Component);return t.propTypes=rf({},e.propTypes),t.defaultProps=rf({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};var rh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rg=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function rb(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var rv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};let ry=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span",r=o.Component;if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);function n(){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var e,t,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=r=rb(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},rb(r,t)}return n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r),rg(n,[{key:"render",value:function(){return o.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},o.createElement(e,rh({},this.props,this.state)))}}]),n}(function(e){var t=e.color,r=e.style,n=e.onClick,a=void 0===n?function(){}:n,l=e.onHover,s=e.title,u=void 0===s?t:s,c=e.children,p=e.focus,d=e.focusStyle,h="transparent"===t,g
1=(0,i.Ay)({default:{swatch:rv({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,p?void 0===d?{}:d:{})}}),b={};return l&&(b.onMouseOver=function(e){return l(t,e)}),o.createElement("div",rv({style:g.swatch,onClick:function(e){return a(t,e)},title:u,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&a(t,e)}},b),c,h&&o.createElement(f,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))});var rm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rx=function(e){var t=e.rgb,r=e.hsl,n=e.width,a=e.height,l=e.onChange,s=e.direction,u=e.style,c=e.renderers,f=e.pointer,p=e.className,d=(0,i.Ay)({default:{picker:{position:"relative",width:n,height:a},alpha:{radius:"2px",style:u}}});return o.createElement("div",{style:d.picker,className:"alpha-picker "+(void 0===p?"":p)},o.createElement(g,rm({},d.alpha,{rgb:t,hsl:r,pointer:f,renderers:c,onChange:l,direction:s})))};rx.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,r=(0,i.Ay)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return o.createElement("div",{style:r.picker})}},rd(rx);let rw=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o};function r_(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new es;++t<r;)this.add(e[t])}r_.prototype.add=r_.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},r_.prototype.has=function(e){return this.__data__.has(e)};let rE=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1},rS=function(e,t,r,n,o,i){var a=1&r,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var f=-1,p=!0,d=2&r?new r_:void 0;for(i.set(e,t),i.set(t,e);++f<l;){var h=e[f],g=t[f];if(n)var b=a?n(g,h,f,t,e,i):n(h,g,f,e,t,i);if(void 0!==b){if(b)continue;p=!1;break}if(d){if(!rE(t,function(e,t){if(!d.has(t)&&(h===e||o(h,e,r,n,i)))return d.push(t)})){p=!1;break}}else if(!(h===g||o(h,g,r,n,i))){p=!1;break}}return i.delete(e),i.delete(t),p},rC=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r},rk=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r};var rj=P?P.prototype:void 0,rO=rj?rj.valueOf:void 0;let rA=function(e,t,r,n,o,i,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!i(new em(e),new em(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return k(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=rC;case"[object Set]":var s=1&n;if(l||(l=rk),e.size!=t.size&&!s)break;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var c=rS(l(e),l(t),n,o,i,a);return a.delete(e),c;case"[object Symbol]":if(rO)return rO.call(e)==rO.call(t)}return!1},rM=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},rR=function(e,t,r){var n=t(e);return eN(e)?n:rM(n,r(e))},rT=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i};var rP=Object.prototype.propertyIsEnumerable,rF=Object.getOwnPropertySymbols,rN=rF?function(e){return null==e?[]:rT(rF(e=Object(e)),function(t){return rP.call(e,t)})}:function(){return[]};let rD=function(e){return rR(e,tD,rN)};var rB=Object.prototype.hasOwnProperty;let rI=function(e,t,r,n,o,i){var a=1&r,l=rD(e),s=l.length;if(s!=rD(t).length&&!a)return!1;for(var u=s;u--;){var c=l[u];if(!(a?c in t:rB.call(t,c)))return!1}var f=i.get(e),p=i.get(t);if(f&&p)return f==t&&p==e;var d=!0;i.set(e,t),i.set(t,e);for(var h=a;++u<s;){var g=e[c=l[u]],b=t[c];if(n)var v=a?n(b,g,c,t,e,i):n(g,b,c,e,t,i);if(!(void 0===v?g===b||o(g,b,r,n,i):v)){d=!1;break}h||(h="constructor"==c)}if(d&&!h){var y=e.constructor,m=t.constructor;y!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m)&&(d=!1)}return i.delete(e),i.delete(t),d};var rL=ee(T,"DataView"),rz=ee(T,"Promise"),r$=ee(T,"Set"),rH=ee(T,"WeakMap"),rU="[object Map]",rW="[object Promise]",rJ="[object Set]",rZ="[object WeakMap]",rq="[object DataView]",rK=q(rL),rV=q(et),rG=q(rz),rX=q(r$),rY=q(rH),rQ=$;(rL&&rQ(new rL(new ArrayBuffer(1)))!=rq||et&&rQ(new et)!=rU||rz&&rQ(rz.resolve())!=rW||r$&&rQ(new r$)!=rJ||rH&&rQ(new rH)!=rZ)&&(rQ=function(e){var t=$(e),r="[object Object]"==t?e.constructor:void 0,n=r?q(r):"";if(n)switch(n){case rK:return rq;case rV:return rU;case rG:return rW;case rX:return rJ;case rY:return rZ}return t});let r0=rQ;var r1="[object Arguments]",r2="[object Array]",r5="[object Object]",r3=Object.prototype.hasOwnProperty;let r8=function(e,t,r,n,o,i){var a=eN(e),l=eN(t),s=a?r2:r0(e),u=l?r2:r0(t);s=s==r1?r5:s,u=u==r1?r5:u;var c=s==r5,f=u==r5,p=s==u;if(p&&e$(e)){if(!e$(t))return!1;a=!0,c=!1}
1if(p&&!c)return i||(i=new eu),a||eQ(e)?rS(e,t,r,n,o,i):rA(e,t,s,r,n,o,i);if(!(1&r)){var d=c&&r3.call(e,"__wrapped__"),h=f&&r3.call(t,"__wrapped__");if(d||h){var g=d?e.value():e,b=h?t.value():t;return i||(i=new eu),o(g,b,r,n,i)}}return!!p&&(i||(i=new eu),rI(e,t,r,n,o,i))},r4=function e(t,r,n,o,i){return t===r||(null!=t&&null!=r&&(eA(t)||eA(r))?r8(t,r,n,o,e,i):t!=t&&r!=r)},r6=function(e,t,r,n){var o=r.length,i=o,a=!n;if(null==e)return!i;for(e=Object(e);o--;){var l=r[o];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<i;){var s=(l=r[o])[0],u=e[s],c=l[1];if(a&&l[2]){if(void 0===u&&!(s in e))return!1}else{var f=new eu;if(n)var p=n(u,c,s,e,t,f);if(!(void 0===p?r4(c,u,3,n,f):p))return!1}}return!0},r9=function(e){return e==e&&!H(e)},r7=function(e){for(var t=tD(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,r9(o)]}return t},ne=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}},nt=function(e){var t=r7(e);return 1==t.length&&t[0][2]?ne(t[0][0],t[0][1]):function(r){return r===e||r6(r,e,t)}};var nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/;let no=function(e,t){if(eN(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||ty(e))||nn.test(e)||!nr.test(e)||null!=t&&e in Object(t)};function ni(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(ni.Cache||es),r}ni.Cache=es;var na=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nl=/\\(\\)?/g,ns=function(e){var t=ni(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(na,function(e,r,n,o){t.push(n?o.replace(nl,"$1"):r||e)}),t}),nu=1/0,nc=P?P.prototype:void 0,nf=nc?nc.toString:void 0;let np=function e(t){if("string"==typeof t)return t;if(eN(t))return rw(t,e)+"";if(ty(t))return nf?nf.call(t):"";var r=t+"";return"0"==r&&1/t==-nu?"-0":r},nd=function(e,t){return eN(e)?e:no(e,t)?[e]:ns(null==e?"":np(e))};var nh=1/0;let ng=function(e){if("string"==typeof e||ty(e))return e;var t=e+"";return"0"==t&&1/e==-nh?"-0":t},nb=function(e,t){t=nd(t,e);for(var r=0,n=t.length;null!=e&&r<n;)e=e[ng(t[r++])];return r&&r==n?e:void 0},nv=function(e,t,r){var n=null==e?void 0:nb(e,t);return void 0===n?r:n},ny=function(e,t){return null!=e&&t in Object(e)},nm=function(e,t,r){t=nd(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=ng(t[n]);if(!(i=null!=e&&r(e,a)))break;e=e[a]}return i||++n!=o?i:!!(o=null==e?0:e.length)&&eD(o)&&e4(a,o)&&(eN(e)||eF(e))},nx=function(e){var t;return no(e)?(t=ng(e),function(e){return null==e?void 0:e[t]}):function(t){return nb(t,e)}},nw=function(e){if("function"==typeof e)return e;if(null==e)return ti;if("object"==typeof e){var t,r;return eN(e)?(t=e[0],r=e[1],no(t)&&r9(r)?ne(ng(t),r):function(e){var n=nv(e,t);return void 0===n&&n===r?null!=e&&nm(e,t,ny):r4(r,n,3)}):nt(e)}return nx(e)},n_=function(e,t){var r=-1,n=eB(e)?Array(e.length):[];return tB(e,function(e,o,i){n[++r]=t(e,o,i)}),n},nE=function(e,t){return(eN(e)?rw:n_)(e,nw(t,3))},nS=function(e){var t=e.colors,r=e.onClick,n=e.onSwatchHover,a=(0,i.Ay)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return o.createElement("div",{style:a.swatches},nE(t,function(e){return o.createElement(ry,{key:e,color:e,style:a.swatch,onClick:r,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),o.createElement("div",{style:a.clear}))};var nC=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.hex,a=e.colors,l=e.width,s=e.triangle,u=e.styles,c=e.className,p="transparent"===n,d=function(e,r){rs(e)&&t({hex:e,source:"hex"},r)},h=(0,i.Ay)(tp({default:{card:{width:l,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:n,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:ru(n),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+n+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},void 0===u?{}:u),{"hide-triangle":"hide"===s});return o.createElement("div",{style:h.card,className:"block-picker "+(void 0===c?"":c)},o.createElement("div",{style:h.triangle}),o.createElement("div",{style:h.head},p&&o.createElement(f,{borderRadius:"6px 6px 0 0"}),o.createElement("div",{style:h.label},n)),o.createElement("div",{style:h.body},o.createElement(nS,{colors:a,onClick:d,onSwatchHover:r}),o.createElement(m,{style:{input:h.input},value:n,onChange:d})))};nC.propTypes={width:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().string),triangle:C().oneOf(["top","hide"]),styles:C().object},nC.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},rd(nC);var nk={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},nj={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a
1700:"#c51162"},nO={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},nA={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},nM={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},nR={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},nT={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},nP={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},nF={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},nN={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},nD={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},nB={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},nI={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},nL={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},nz={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},n$={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},nH={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},nU={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},nW=function(e){var t=e.color,r=e.onClick,n=e.onSwatchHover,a=e.hover,l=e.active,s=e.circleSize,u=e.circleSpacing,c=(0,i.Ay)({default:{swatch:{width:s,height:s,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:l});return o.createElement("div",{style:c.swatch},o.createElement(ry,{style:c.Swatch,color:t,onClick:r,onHover:n,focusStyle:{boxShadow:c.Swatch.boxShadow+", 0 0 5px "+t}}))};nW.defaultProps={circleSize:28,circleSpacing:14};let nJ=(0,i.H8)(nW);var nZ=function(e){var t=e.width,r=e.onChange,n=e.onSwatchHover,a=e.colors,l=e.hex,s=e.circleSize,u=e.styles,c=e.circleSpacing,f=e.className,p=(0,i.Ay)(tp({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-c,marginBottom:-c}}},void 0===u?{}:u)),d=function(e,t){return r({hex:e,source:"hex"},t)};return o.createElement("div",{style:p.card,className:"circle-picker "+(void 0===f?"":f)},nE(a,function(e){return o.createElement(nJ,{key:e,color:e,onClick:d,onSwatchHover:n,active:l===e.toLowerCase(),circleSize:s,circleSpacing:c})}))};nZ.propTypes={width:C().oneOfType([C().string,C().number]),circleSize:C().number,cir
1cleSpacing:C().number,styles:C().object},nZ.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[nk["500"],nj["500"],nO["500"],nA["500"],nM["500"],nR["500"],nT["500"],nP["500"],nF["500"],nN["500"],nD["500"],nB["500"],nI["500"],nL["500"],nz["500"],n$["500"],nH["500"],nU["500"]],styles:{}},rd(nZ);let nq=function(e){return void 0===e};var nK=r(73089),nV=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),nG=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?rs(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(nq(e.s)?r.props.hsl.s:e.s),l:Number(nq(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),nV(t,[{key:"render",value:function(){var e=this,t=(0,i.Ay)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=o.createElement("div",{style:t.fields,className:"flexbox-fix"},o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=o.createElement("div",{style:t.fields,className:"flexbox-fix"},o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label}
1,label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.createElement("div",{style:t.alpha},o.createElement(m,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=o.createElement("div",{style:t.fields,className:"flexbox-fix"},o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),o.createElement("div",{style:t.field},o.createElement(m,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),o.createElement("div",{style:t.alpha},o.createElement(m,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,o.createElement("div",{style:t.toggle},o.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},o.createElement(nK.A,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(o.Component);nG.defaultProps={view:"hex"};let nX=function(){var e=(0,i.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return o.createElement("div",{style:e.picker})},nY=function(){var e=(0,i.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return o.createElement("div",{style:e.picker})};var nQ=function(e){var t=e.width,r=e.onChange,n=e.disableAlpha,a=e.rgb,l=e.hsl,s=e.hsv,u=e.hex,c=e.renderers,p=e.styles,d=e.className,h=e.defaultView,b=(0,i.Ay)(tp({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},void 0===p?{}:p),{disableAlpha:n});return o.createElement("div",{style:b.picker,className:"chrome-picker "+(void 0===d?"":d)},o.createElement("div",{style:b.saturation},o.createElement(tR,{style:b.Saturation,hsl:l,hsv:s,pointer:nY,onChange:r})),o.createElement("div",{style:b.body},o.createElement("div",{style:b.controls,className:"flexbox-fix"},o.createElement("div",{style:b.color},o.createElement("div",{style:b.swatch},o.createElement("div",{style:b.active}),o.createElement(f,{renderers:c}))),o.createElement("div",{style:b.toggles},o.createElement("div",{style:b.hue},o.createElement(E,{style:b.Hue,hsl:l,pointer:nX,onChange:r})),o.createElement("div",{style:b.alpha},o.createElement(g,{style:b.Alpha,rgb:a,hsl:l,pointer:nX,renderers:c,onChange:r})))),o.createElement(nG,{rgb:a,hsl:l,hex:u,view:h,onChange:r,disableAlpha:n})))};nQ.propTypes={width:C().oneOfType([C().string,C().number]),disableAlpha:C().bool,styles:C().object,defaultView:C().oneOf(["hex","rgb","hsl"])},nQ.defaultProps={width:225,disableAlpha:!1,styles:{}};
1let n0=rd(nQ),n1=function(e){var t=e.color,r=e.onClick,n=e.onSwatchHover,a=e.active,l=(0,i.Ay)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:ru(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return o.createElement(ry,{style:l.color,color:t,onClick:void 0===r?function(){}:r,onHover:n,focusStyle:{boxShadow:"0 0 4px "+t}},o.createElement("div",{style:l.dot}))},n2=function(e){var t=e.hex,r=e.rgb,n=e.onChange,a=(0,i.Ay)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),l=function(e,t){e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):n({hex:e.hex,source:"hex"},t)};return o.createElement("div",{style:a.fields,className:"flexbox-fix"},o.createElement("div",{style:a.active}),o.createElement(m,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:l}),o.createElement(m,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:r.r,onChange:l}),o.createElement(m,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:r.g,onChange:l}),o.createElement(m,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:r.b,onChange:l}))};var n5=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.colors,a=e.hex,l=e.rgb,s=e.styles,u=void 0===s?{}:s,c=e.className,f=(0,i.Ay)(tp({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),p=function(e,r){e.hex?rs(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return o.createElement(td,{style:f.Compact,styles:u},o.createElement("div",{style:f.compact,className:"compact-picker "+(void 0===c?"":c)},o.createElement("div",null,nE(n,function(e){return o.createElement(n1,{key:e,color:e,active:e.toLowerCase()===a,onClick:p,onSwatchHover:r})}),o.createElement("div",{style:f.clear})),o.createElement(n2,{hex:a,rgb:l,onChange:p})))};n5.propTypes={colors:C().arrayOf(C().string),styles:C().object},n5.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},rd(n5);let n3=(0,i.H8)(function(e){var t=e.hover,r=e.color,n=e.onClick,a=e.onSwatchHover,l={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,i.Ay)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:l}},{hover:t});return o.createElement("div",{style:s.swatch},o.createElement(ry,{color:r,onClick:n,onHover:a,focusStyle:l}))});var n8=function(e){var t=e.width,r=e.colors,n=e.onChange,a=e.onSwatchHover,l=e.triangle,s=e.styles,u=e.className,c=(0,i.Ay)(tp({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},void 0===s?{}:s),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l,"bottom-left-triangle":"bottom-left"===l,"bottom-right-triangle":"bottom-right"===l}),f=function(e,t){return n({hex:e,source:"hex"},t)};return o.createElement("div",{style:c.card,className:"github-picker "+(void 0===u?"":u)},o.createElement("div",{style:c.triangleShadow}),o.createElement("div",{style:c.triangle}),nE(r,function(e){return o.createElement(n3,{color:e,key:e,onClick:f,onSwatchHover:a})}))};
1n8.propTypes={width:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().string),triangle:C().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:C().object},n8.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},rd(n8);var n4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n6=function(e){var t=e.width,r=e.height,n=e.onChange,a=e.hsl,l=e.direction,s=e.pointer,u=e.styles,c=e.className,f=(0,i.Ay)(tp({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}},void 0===u?{}:u));return o.createElement("div",{style:f.picker,className:"hue-picker "+(void 0===c?"":c)},o.createElement(E,n4({},f.hue,{hsl:a,pointer:s,onChange:function(e){return n({a:1,h:e.h,l:.5,s:1})},direction:l})))};n6.propTypes={styles:C().object},n6.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,r=(0,i.Ay)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return o.createElement("div",{style:r.picker})},styles:{}},rd(n6),rd(function(e){var t=e.onChange,r=e.hex,n=e.rgb,a=e.styles,l=void 0===a?{}:a,s=e.className,u=(0,i.Ay)(tp({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},l)),c=function(e,r){e.hex?rs(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r)};return o.createElement(td,{styles:l},o.createElement("div",{style:u.material,className:"material-picker "+(void 0===s?"":s)},o.createElement(m,{style:{wrap:u.HEXwrap,input:u.HEXinput,label:u.HEXlabel},label:"hex",value:r,onChange:c}),o.createElement("div",{style:u.split,className:"flexbox-fix"},o.createElement("div",{style:u.third},o.createElement(m,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"r",value:n.r,onChange:c})),o.createElement("div",{style:u.third},o.createElement(m,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"g",value:n.g,onChange:c})),o.createElement("div",{style:u.third},o.createElement(m,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"b",value:n.b,onChange:c})))))});let n9=function(e){var t=e.onChange,r=e.rgb,n=e.hsv,a=e.hex,l=(0,i.Ay)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,o){e["#"]?rs(e["#"])&&t({hex:e["#"],source:"hex"},o):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},o):(e.h||e.s||e.v)&&t({h:e.h||n.h,s:e.s||n.s,v:e.v||n.v,source:"hsv"},o)};return o.createElement("div",{style:l.fields}
1,o.createElement(m,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"h",value:Math.round(n.h),onChange:s}),o.createElement(m,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"s",value:Math.round(100*n.s),onChange:s}),o.createElement(m,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"v",value:Math.round(100*n.v),onChange:s}),o.createElement("div",{style:l.divider}),o.createElement(m,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:s}),o.createElement(m,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:s}),o.createElement(m,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:s}),o.createElement("div",{style:l.divider}),o.createElement(m,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"#",value:a.replace("#",""),onChange:s}),o.createElement("div",{style:l.fieldSymbols},o.createElement("div",{style:l.symbol},"\xb0"),o.createElement("div",{style:l.symbol},"%"),o.createElement("div",{style:l.symbol},"%")))},n7=function(e){var t=e.hsl,r=(0,i.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return o.createElement("div",{style:r.picker})},oe=function(){var e=(0,i.Ay)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return o.createElement("div",{style:e.pointer},o.createElement("div",{style:e.left},o.createElement("div",{style:e.leftInside})),o.createElement("div",{style:e.right},o.createElement("div",{style:e.rightInside})))},ot=function(e){var t=e.onClick,r=e.label,n=e.children,a=e.active,l=(0,i.Ay)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return o.createElement("div",{style:l.button,onClick:t},r||n)},or=function(e){var t=e.rgb,r=e.currentColor,n=(0,i.Ay)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return o.createElement("div",null,o.createElement("div",{style:n.label},"new"),o.createElement("div",{style:n.swatches},o.createElement("div",{style:n.new}),o.createElement("div",{style:n.current})),o.createElement("div",{style:n.label},"current"))};var on=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),oo=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:e.hex},r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),on(t,[{key:"render",value:function(){var e=this.props,t=e.styles,r=e.className,n=(0,i.Ay)(tp({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px s
1olid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},void 0===t?{}:t));return o.createElement("div",{style:n.picker,className:"photoshop-picker "+(void 0===r?"":r)},o.createElement("div",{style:n.head},this.props.header),o.createElement("div",{style:n.body,className:"flexbox-fix"},o.createElement("div",{style:n.saturation},o.createElement(tR,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:n7,onChange:this.props.onChange})),o.createElement("div",{style:n.hue},o.createElement(E,{direction:"vertical",hsl:this.props.hsl,pointer:oe,onChange:this.props.onChange})),o.createElement("div",{style:n.controls},o.createElement("div",{style:n.top,className:"flexbox-fix"},o.createElement("div",{style:n.previews},o.createElement(or,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.createElement("div",{style:n.actions},o.createElement(ot,{label:"OK",onClick:this.props.onAccept,active:!0}),o.createElement(ot,{label:"Cancel",onClick:this.props.onCancel}),o.createElement(n9,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(o.Component);oo.propTypes={header:C().string,styles:C().object},oo.defaultProps={header:"Color Picker",styles:{}},rd(oo);let oi=function(e){var t=e.onChange,r=e.rgb,n=e.hsl,a=e.hex,l=e.disableAlpha,s=(0,i.Ay)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:l}),u=function(e,o){e.hex?rs(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:n.h,s:n.s,l:n.l,a:e.a,source:"rgb"},o))};return o.createElement("div",{style:s.fields,className:"flexbox-fix"},o.createElement("div",{style:s.double},o.createElement(m,{style:{input:s.input,label:s.label},label:"hex",value:a.replace("#",""),onChange:u})),o.createElement("div",{style:s.single},o.createElement(m,{style:{input:s.input,label:s.label},label:"r",value:r.r,onChange:u,dragLabel:"true",dragMax:"255"})),o.createElement("div",{style:s.single},o.createElement(m,{style:{input:s.input,label:s.label},label:"g",value:r.g,onChange:u,dragLabel:"true",dragMax:"255"})),o.createElement("div",{style:s.single},o.createElement(m,{style:{input:s.input,label:s.label},label:"b",value:r.b,onChange:u,dragLabel:"true",dragMax:"255"})),o.createElement("div",{style:s.alpha},o.createElement(m,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*r.a),onChange:u,dragLabel:"true",dragMax:"100"})))};var oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ol=function(e){var t=e.colors,r=e.onClick,n=void 0===r?function(){}:r,a=e.onSwatchHover,l=(0,i.Ay)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){n({hex:e,source:"hex"},t)};return o.createElement("div",{style:l.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e,r=""+t.color+(t.title||"");return o.createElement("div",{key:r,style:l.swatchWrap},o.createElement(ry,oa({},t,{style:l.swatch,onClick:s,onHover:a,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}
1))};ol.propTypes={colors:C().arrayOf(C().oneOfType([C().string,C().shape({color:C().string,title:C().string})])).isRequired};var os=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ou=function(e){var t=e.width,r=e.rgb,n=e.hex,a=e.hsv,l=e.hsl,s=e.onChange,u=e.onSwatchHover,c=e.disableAlpha,p=e.presetColors,d=e.renderers,h=e.styles,b=void 0===h?{}:h,v=e.className,y=(0,i.Ay)(tp({default:os({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},b),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},b),{disableAlpha:c});return o.createElement("div",{style:y.picker,className:"sketch-picker "+(void 0===v?"":v)},o.createElement("div",{style:y.saturation},o.createElement(tR,{style:y.Saturation,hsl:l,hsv:a,onChange:s})),o.createElement("div",{style:y.controls,className:"flexbox-fix"},o.createElement("div",{style:y.sliders},o.createElement("div",{style:y.hue},o.createElement(E,{style:y.Hue,hsl:l,onChange:s})),o.createElement("div",{style:y.alpha},o.createElement(g,{style:y.Alpha,rgb:r,hsl:l,renderers:d,onChange:s}))),o.createElement("div",{style:y.color},o.createElement(f,null),o.createElement("div",{style:y.activeColor}))),o.createElement(oi,{rgb:r,hsl:l,hex:n,onChange:s,disableAlpha:c}),o.createElement(ol,{colors:p,onClick:s,onSwatchHover:u}))};ou.propTypes={disableAlpha:C().bool,width:C().oneOfType([C().string,C().number]),styles:C().object},ou.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},rd(ou);let oc=function(e){var t=e.hsl,r=e.offset,n=e.onClick,a=void 0===n?function(){}:n,l=e.active,s=e.first,u=e.last,c=(0,i.Ay)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:s,last:u});return o.createElement("div",{style:c.swatch,onClick:function(e){return a({h:t.h,s:.5,l:r,source:"hsl"},e)}})},of=function(e){var t=e.onClick,r=e.hsl,n=(0,i.Ay)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return o.createElement("div",{style:n.swatches},o.createElement("div",{style:n.swatch},o.createElement(oc,{hsl:r,offset:".80",active:.1>Math.abs(r.l-.8)&&.1>Math.abs(r.s-.5),onClick:t,first:!0})),o.createElement("div",{style:n.swatch},o.createElement(oc,{hsl:r,offset:".65",active:.1>Math.abs(r.l-.65)&&.1>Math.abs(r.s-.5),onClick:t})),o.createElement("div",{style:n.swatch},o.createElement(oc,{hsl:r,offset:".50",active:.1>Math.abs(r.l-.5)&&.1>Math.abs(r.s-.5),onClick:t})),o.createElement("div",{style:n.swatch},o.createElement(oc,{hsl:r,offset:".35",active:.1>Math.abs(r.l-.35)&&.1>Math.abs(r.s-.5),onClick:t})),o.createElement("div",{style:n.swatch},o.createElement(oc,{hsl:r,offset:".20",active:.1>Math.abs(r.l-.2)&&.1>Math.abs(r.s-.5),onClick:t,last:!0})),o.createElement("div",{style:n.clear}))};var op=function(e){var t=e.hsl,r=e.onChange,n=e.pointer,a=e.styles,l=e.className,s=(0,i.Ay)(tp({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},void 0===a?{}:a));return o.createElement("div",{style:s.wrap||{},className:"slider-picker "+(void 0===l?"":l)},o.createElement("div",{style:s.hue},o.createElement(E,{style:s.Hue,hsl:t,pointer:n,onChange:r})),o.createElement("div",{style:s.swatches},o.createElement(of,{hsl:t,onClick:r})))};op.propTypes={styles:C().object},op.defaultProps={pointer:function(){var e=(0,i.Ay)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return o.createElement("div",{style:e.picker})},styles:{}},rd(op);var od=r(73250);let oh=function(e){var t=e.color,r=e.onClick,n=e.onSwatchHover,a=e.first,l=e.last,s=e.active,u=(0,i.Ay)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:ru(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:l,active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return o.createElement(ry,{color:t,style:u.color,onClick:void 0===r?function(){}:r,onHover:n,focusStyle:{boxShadow:"0 0 4px "+t}},o.createElement("div",{style:u.check},o.createElement(od.A,null)))},og=function(e){var t=e.onClick,r=e.onSwatchHover,n=e.group,a=e.active,l=(0,i.Ay)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return o.createElement("div",{style:l.group},nE(n,function(e,i){return o.createElement(oh,{key:e,color:e,active:e.toLowerCase()===a,first:0===i,last:i===n.length-1,onClick:t,onSwatchHover:r})}))};
1var ob=function(e){var t=e.width,r=e.height,n=e.onChange,a=e.onSwatchHover,l=e.colors,s=e.hex,u=e.styles,c=e.className,f=(0,i.Ay)(tp({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},void 0===u?{}:u)),p=function(e,t){return n({hex:e,source:"hex"},t)};return o.createElement("div",{style:f.picker,className:"swatches-picker "+(void 0===c?"":c)},o.createElement(td,null,o.createElement("div",{style:f.overflow},o.createElement("div",{style:f.body},nE(l,function(e){return o.createElement(og,{key:e.toString(),group:e,active:s,onClick:p,onSwatchHover:a})}),o.createElement("div",{style:f.clear})))))};ob.propTypes={width:C().oneOfType([C().string,C().number]),height:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().arrayOf(C().string)),styles:C().object},ob.defaultProps={width:320,height:240,colors:[[nk["900"],nk["700"],nk["500"],nk["300"],nk["100"]],[nj["900"],nj["700"],nj["500"],nj["300"],nj["100"]],[nO["900"],nO["700"],nO["500"],nO["300"],nO["100"]],[nA["900"],nA["700"],nA["500"],nA["300"],nA["100"]],[nM["900"],nM["700"],nM["500"],nM["300"],nM["100"]],[nR["900"],nR["700"],nR["500"],nR["300"],nR["100"]],[nT["900"],nT["700"],nT["500"],nT["300"],nT["100"]],[nP["900"],nP["700"],nP["500"],nP["300"],nP["100"]],[nF["900"],nF["700"],nF["500"],nF["300"],nF["100"]],["#194D33",nN["700"],nN["500"],nN["300"],nN["100"]],[nD["900"],nD["700"],nD["500"],nD["300"],nD["100"]],[nB["900"],nB["700"],nB["500"],nB["300"],nB["100"]],[nI["900"],nI["700"],nI["500"],nI["300"],nI["100"]],[nL["900"],nL["700"],nL["500"],nL["300"],nL["100"]],[nz["900"],nz["700"],nz["500"],nz["300"],nz["100"]],[n$["900"],n$["700"],n$["500"],n$["300"],n$["100"]],[nH["900"],nH["700"],nH["500"],nH["300"],nH["100"]],[nU["900"],nU["700"],nU["500"],nU["300"],nU["100"]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},rd(ob);var ov=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.hex,a=e.colors,l=e.width,s=e.triangle,u=e.styles,c=e.className,f=(0,i.Ay)(tp({default:{card:{width:l,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},void 0===u?{}:u),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),p=function(e,r){rs(e)&&t({hex:e,source:"hex"},r)};return o.createElement("div",{style:f.card,className:"twitter-picker "+(void 0===c?"":c)},o.createElement("div",{style:f.triangleShadow}),o.createElement("div",{style:f.triangle}),o.createElement("div",{style:f.body},nE(a,function(e,t){return o.createElement(ry,{key:t,color:e,hex:e,style:f.swatch,onClick:p,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),o.createElement("div",{style:f.hash},"#"),o.createElement(m,{label:null,style:{input:f.input},value:n.replace("#",""),onChange:p}),o.createElement("div",{style:f.clear})))};ov.propTypes={width:C().oneOfType([C().string,C().number]),triangle:C().oneOf(["hide","to
1p-left","top-right"]),colors:C().arrayOf(C().string),styles:C().object},ov.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},rd(ov);var oy=function(e){var t=(0,i.Ay)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return o.createElement("div",{style:t.picker})};oy.propTypes={hsl:C().shape({h:C().number,s:C().number,l:C().number,a:C().number})},oy.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var om=function(e){var t=(0,i.Ay)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return o.createElement("div",{style:t.picker})};om.propTypes={hsl:C().shape({h:C().number,s:C().number,l:C().number,a:C().number})},om.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};let ox=function(e){var t=e.onChange,r=e.rgb,n=e.hsl,a=e.hex,l=e.hsv,s=function(e,r){if(e.hex)rs(e.hex)&&t({hex:e.hex,source:"hex"},r);else if(e.rgb){var n=e.rgb.split(",");rc(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},r)}else if(e.hsv){var o=e.hsv.split(",");rc(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("\xb0",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},r))}else if(e.hsl){var i=e.hsl.split(",");rc(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("\xb0",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},r))}},u=(0,i.Ay)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,f=Math.round(n.h)+"\xb0, "+Math.round(100*n.s)+"%, "+Math.round(100*n.l)+"%",p=Math.round(l.h)+"\xb0, "+Math.round(100*l.s)+"%, "+Math.round(100*l.v)+"%";return o.createElement("div",{style:u.wrap,className:"flexbox-fix"},o.createElement("div",{style:u.fields},o.createElement("div",{style:u.double},o.createElement(m,{style:{input:u.input,label:u.label},label:"hex",value:a,onChange:s})),o.createElement("div",{style:u.column},o.createElement("div",{style:u.single},o.createElement(m,{style:{input:u.input2,label:u.label2},label:"rgb",value:c,onChange:s})),o.createElement("div",{style:u.single},o.createElement(m,{style:{input:u.input2,label:u.label2},label:"hsv",value:p,onChange:s})),o.createElement("div",{style:u.single},o.createElement(m,{style:{input:u.input2,label:u.label2},label:"hsl",value:f,onChange:s})))))};var ow=function(e){var t=e.width,r=e.onChange,n=e.rgb,a=e.hsl,l=e.hsv,s=e.hex,u=e.header,c=e.styles,f=e.className,p=(0,i.Ay)(tp({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16
1px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+n.r+", "+n.g+", "+n.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},void 0===c?{}:c));return o.createElement("div",{style:p.picker,className:"google-picker "+(void 0===f?"":f)},o.createElement("div",{style:p.head},u),o.createElement("div",{style:p.swatch}),o.createElement("div",{style:p.saturation},o.createElement(tR,{hsl:a,hsv:l,pointer:oy,onChange:r})),o.createElement("div",{style:p.body},o.createElement("div",{style:p.controls,className:"flexbox-fix"},o.createElement("div",{style:p.hue},o.createElement(E,{style:p.Hue,hsl:a,radius:"4px",pointer:om,onChange:r}))),o.createElement(ox,{rgb:n,hsl:a,hex:s,hsv:l,onChange:r})))};ow.propTypes={width:C().oneOfType([C().string,C().number]),styles:C().object,header:C().string},ow.defaultProps={width:652,styles:{},header:"Color picker"},rd(ow)},35670:(e,t,r)=>{var n=r(98154),o=r(82925);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},35747:e=>{e.exports=function(e){return this.__data__.has(e)}},36319:(e,t,r)=>{var n=r(98154),o=r(78794),i=r(28482),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},37628:(e,t,r)=>{var n=r(41613);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},38226:(e,t,r)=>{var n=r(9243),o=r(16754),i=r(8531),a=r(89217),l=r(78794),s=r(97241);e.exports=function(e,t,r){t=n(t,e);for(var u=-1,c=t.length,f=!1;++u<c;){var p=s(t[u]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++u!=c?f:!!(c=null==e?0:e.length)&&l(c)&&a(p,c)&&(i(e)||o(e))}},38545:(e,t,r)=>{var n=r(20708),o=r(73841),i=r(27266),a=r(10431);e.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a},39471:(e,t,r)=>{var n=r(93022);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},40238:(e,t,r)=>{var n=r(34243),o=r(28482);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},41613:(e,t,r)=>{var n=r(28338);e.exports=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},41747:(e,t,r)=>{var n=r(13469),o=r(28284),i=r(69593);e.exports=function(e,t,r,a,l,s){var u=1&r,c=e.length,f=t.length;if(c!=f&&!(u&&f>c))return!1;var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var h=-1,g=!0,b=2&r?new n:void 0;for(s.set(e,t),s.set(t,e);++h<c;){var v=e[h],y=t[h];if(a)var m=u?a(y,v,h,t,e,s):a(v,y,h,e,t,s);if(void 0!==m){if(m)continue;g=!1;break}if(b){if(!o(t,function(e,t){if(!i(b,t)&&(v===e||l(v,e,r,a,s)))return b.push(t)})){g=!1;break}}else if(!(v===y||l(v,y,r,a,s))){g=!1;break}}return s.delete(e),s.delete(t),g}},43194:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},43887:e=>{e.exports=function(e){return this.__data__.get(e)}},44157:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},44536:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},44957:e=>{e.exports=function(e){return function(t){return e(t)}}},45626:(e,t,r)=>{r.d(t,{D:()=>l});var n=r(54345),o=r(22368),i=r(62618);let a=o.qxK?i.useLayoutEffect:i.useEffect;function l({ignoreHistoryMergeTagChange:e=!0,ignoreSelectionChange:t=!1,onChange:r}){let[i]=(0,n.DF)();return a(()=>
1{if(r)return i.registerUpdateListener(({editorState:n,dirtyElements:a,dirtyLeaves:l,prevEditorState:s,tags:u})=>{t&&0===a.size&&0===l.size||e&&u.has(o.T40)||s.isEmpty()||r(n,i,u)})},[i,e,t,r]),null}},45668:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=l(r(56143)),o=l(r(91135)),i=l(r(94121)),a=l(r(95575));function l(e){return e&&e.__esModule?e:{default:e}}var s=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,a.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return r.push(e)}):(0,i.default)(t)?(0,o.default)(t,function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)}):(0,n.default)(t)&&r.push(t)}),r};t.default=s},45951:(e,t,r)=>{var n=r(28589),o=r(9082);e.exports=function(e,t){return e&&n(e,t,o)}},45995:e=>{e.exports=function(e){return this.__data__.has(e)}},46510:(e,t,r)=>{var n=r(40238),o=r(44957),i=r(58775),a=i&&i.isSet;e.exports=a?o(a):n},46821:(e,t,r)=>{var n=r(24197),o=r(38226);e.exports=function(e,t){return null!=e&&o(e,t,n)}},47386:(e,t,r)=>{var n=r(8531),o=r(65106),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},47655:(e,t,r)=>{var n=r(20568);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return -1}},47810:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(91135)),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var r=t[e];return r||{extend:e}}},a=t.autoprefix=function(e){var t={};return(0,n.default)(e,function(e,r){var a={};(0,n.default)(e,function(e,t){var r=i[t];r?a=o({},a,r(e)):a[t]=e}),t[r]=a}),t};t.default=a},49087:(e,t,r)=>{var n=r(20489),o=r(9082);e.exports=function(e,t){return e&&n(t,o(t),e)}},50742:(e,t,r)=>{var n=r(7818),o=r(9082);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},51676:(e,t,r)=>{var n=r(62709),o=r(41747),i=r(15112),a=r(4755),l=r(34243),s=r(8531),u=r(95216),c=r(29695),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,b,v){var y=s(e),m=s(t),x=y?p:l(e),w=m?p:l(t);x=x==f?d:x,w=w==f?d:w;var _=x==d,E=w==d,S=x==w;if(S&&u(e)){if(!u(t))return!1;y=!0,_=!1}if(S&&!_)return v||(v=new n),y||c(e)?o(e,t,r,g,b,v):i(e,t,x,r,g,b,v);if(!(1&r)){var C=_&&h.call(e,"__wrapped__"),k=E&&h.call(t,"__wrapped__");
1if(C||k){var j=C?e.value():e,O=k?t.value():t;return v||(v=new n),b(j,O,r,g,v)}}return!!S&&(v||(v=new n),a(e,t,r,g,b,v))}},51913:(e,t,r)=>{var n=r(82925),o=r(98623),i=r(84239),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var l in e)"constructor"==l&&(t||!a.call(e,l))||r.push(l);return r}},51930:(e,t,r)=>{var n=r(82925),o=Object.create;e.exports=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}()},53239:(e,t,r)=>{e.exports=r(28338)(r(96283),"Map")},53828:(e,t,r)=>{var n=r(33175),o=r(2788);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,function(e,n,o){i[++r]=t(e,n,o)}),i}},54345:(e,t,r)=>{r.d(t,{DF:()=>a,Gu:()=>o,Mx:()=>i});var n=r(62618);let o=(0,n.createContext)(null);function i(e,t){let r=null;return null!=e&&(r=e[1]),{getTheme:function(){return null!=t?t:null!=r?r.getTheme():null}}}function a(){let e=(0,n.useContext)(o);return null==e&&function(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let e of(n.append("code",8),t))n.append("v",e);throw r.search=n.toString(),Error(`Minified Lexical error #${8}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(8),e}},54455:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},54879:(e,t,r)=>{var n=r(20489),o=r(27266);e.exports=function(e,t){return n(e,o(e),t)}},56065:(e,t,r)=>{var n=r(39471);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},56143:(e,t,r)=>{var n=r(98154),o=r(8531),i=r(28482);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},56909:(e,t,r)=>{var n=r(13045);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=+(r.size!=o),this}},58158:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},58775:(e,t,r)=>{e=r.nmd(e);var n=r(16942),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,l=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=l},59335:(e,t,r)=>{var n=r(35493),o=r(38545),i=r(97097);e.exports=function(e){return n(e,i,o)}},61465:(e,t,r)=>{let n;r.d(t,{Ah:()=>function e(t,r){let n=[],o=[],a=()=>{0!==o.length&&(n.push(r().splice(0,0,o)),o=[])};for(let l of t)if(Z(l)){if(a(),(0,i.ff4)(l)){let t=e(l.getChildren(),r);l.splice(0,l.getChildrenSize(),t)}n.push(l)}else o.push(l);return a(),n},Bu:()=>F,VR:()=>ey,Zj:()=>eg,_e:()=>ev,_l:()=>D,bP:()=>K,dA:()=>d,dh:()=>ex,g2:()=>ew,up:()=>eb,vT:()=>N});var o=r(99139),i=r(22368),a=r(72183),l=r(95035);function s(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let r of(n.append("code",e),t))n.append("v",r);throw r.search=n.toString(),Error(`Minified Lexical error #${e}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function u(e,t){let{key:r}=t;return e&&r in e?e[r]:t.defaultValue}function c(e){return n&&n.editor===e?n:void 0}function f(e,t){let r=c(t);return r&&r[e]}function p(e,t){let r=t;for(let n of e){let[e,o]=function(e,t){if("cfg"in t){let{cfg:r,updater:n}=t;return[r,n(u(e,r))]}return t}(r,n),i=e.key;if(r===t&&u(r,e)===o)continue;let a=r===t||void 0===r?Object.create(t||null):r;a[i]=o,r=a}return r}function d(e,t){return[e,t]}function h(e,t,r,o=(0,i.i0_)()){let a=n,l=c(o);try{return n={...l,editor:o,[e]:t},r()}finally{n=a}}function g(e,t=()=>{}){return(r,n=(0,i.i0_)())=>o=>{let i=c(n),a=i&&i[e],l=p(r,a||t(n));return l&&l!==a?h(e,l,o,n):o()}}function b(e,t,r,n){return Object.assign((0,i.urt)(Symbol(t),{isEqual:n,parse:r}),{[e]:!0})}function v(e){if(!(0,i.mB$)(e)||null===e.querySelector("style"))return;let t=new Map;try{for(let r of Array.from(e.styleSheets)){let n;try{n=r.cssRules}catch(e){continue}for(let r of Array.from(n)){let n;if((0,a.xj)(r,CSSStyleRule)){try{n=e.querySelectorAll(r.selectorText)}catch(e){continue}for(let e of Array.from(n)){if(!(0,i.sby)(e))continue;let n=function(e){let r=t.get(e);if(void 0===r){r=new Set;for(let t=0;t<e.style.length;t++)r.add(e.style[t]);t.set(e,r)}return r}(e);for(let t=0;t<r.style.length;t++){let o=r.style[t];n.has(o)||e.style.setProperty(o,r.style.getPropertyValue(o),r.style.getPropertyPriority(o))}}}}}}catch(e){}}let y="@lexical/html/DOM",m=Symbol.for("@lexical/html/DOMExportContext"),x="@lexical/html/DOMImport",w=Symbol.for("@lexical/html/DOMImportContext"),_=b(m,"isExport",Boolean,void 0),E=g(m,function(e){let t=(0,l.xT)(e,y);return t?t.output.defaults:void 0});i.haT,()=>{let e=(0,i.A$M)().createElement("div");return e.role="textbox",{element:e}};let S=Symbol.for("@lexical/html/SelectorImpl");
1function C(e,t){let r={kind:"element",predicate:0===t.length?i.sby:1===t.length?t[0]:(e,r)=>{for(let n of t)if(!n(e,r))return!1;return!0},tags:e},n=r=>C(e,[...t,r]);return{[S]:r,attr:(e,t,r)=>n(O(e,t,r)),classAll:(...e)=>n(j(e)),classAny:(...e)=>n(function(e){let t=k(e);return 0===t.length?()=>!1:e=>{if(!(0,i.sby)(e))return!1;let r=e.classList;for(let e of t)if(r.contains(e))return!0;return!1}}(e)),styleAny:(e,t,r)=>n(function(e,t,r){if("string"==typeof t)return r=>(0,i.sby)(r)&&r.style.getPropertyValue(e)===t;if(t instanceof RegExp){let n=r&&r.capture;return(r,o)=>{if(!(0,i.sby)(r))return!1;let a=r.style.getPropertyValue(e);if(!a)return!1;let l=a.match(t);return null!==l&&(void 0!==n&&(o[n]=l),!0)}}s(362,JSON.stringify(e))}(e,t,r))}}function k(e){let t=[];for(let r of e)r&&t.push(r);return t}function j(e){let t=k(e);return 0===t.length?()=>!0:e=>{if(!(0,i.sby)(e))return!1;let r=e.classList;for(let e of t)if(!r.contains(e))return!1;return!0}}function O(e,t,r){if(!0===t)return t=>(0,i.sby)(t)&&t.hasAttribute(e);if("string"==typeof t)return r=>(0,i.sby)(r)&&r.getAttribute(e)===t;if(t instanceof RegExp){let n=r&&r.capture;return(r,o)=>{if(!(0,i.sby)(r))return!1;let a=r.getAttribute(e);if(null==a)return!1;let l=a.match(t);return null!==l&&(void 0!==n&&(o[n]=l),!0)}}s(361,JSON.stringify(e))}let A={[S]:{kind:"text",predicate:i.YPs,tags:new Set}},M={[S]:{kind:"comment",predicate:e=>8===e.nodeType,tags:new Set}},R={any:()=>C(new Set,[]),comment:()=>M,tag(...e){e.length>0||s(363);let t=new Set;for(let r of e)t.add(r.toUpperCase());return C(t,[])},text:()=>A},T=/[A-Za-z0-9_-]/;class P{constructor(e,t){this.source=e,this.pos=t}peek(e=0){return this.source[this.pos+e]||""}consume(){return this.source[this.pos++]||""}eof(){return this.pos>=this.source.length}skipWhitespace(){for(;!this.eof()&&/\s/.test(this.peek());)this.pos++}readIdent(){let e=this.pos;for(;!this.eof()&&T.test(this.peek());)this.pos++;return this.source.slice(e,this.pos)}readQuoted(){let e=this.consume();this.assert('"'===e||"'"===e,"expected quote");let t=this.pos;for(;!this.eof()&&this.peek()!==e;)"\\"===this.peek()?this.pos+=2:this.pos++;this.assert(!this.eof(),"unterminated string");let r=this.source.slice(t,this.pos);return this.pos++,r.replace(/\\(.)/g,"$1")}assert(e,t){e||s(364,String(this.pos+1),t,this.source)}}function F(e){return e}let N=b(w,"importSource",()=>"unknown",void 0),D=b(w,"importSourceDataTransfer",()=>null,void 0),B=b(w,"textFormat",()=>0,void 0),I=b(w,"textStyle",()=>({}),void 0);function L(e){if(!(0,i.sby)(e))return!1;if("PRE"===e.nodeName)return!0;let t=e.style.whiteSpace;return"string"==typeof t&&t.startsWith("pre")}function z(e){if((0,i.YPs)(e))return!0;if(!(0,i.sby)(e))return!1;let t=e.style.display;return t?t.startsWith("inline"):!(0,i.a9V)(e)&&(0,i._On)(e)}let $=b(w,"whitespaceConfig",()=>({isInline:z,preservesWhitespace:L}),void 0),H=b(w,"importOverlays",()=>[],void 0);class U{constructor(e){this.record=e}get(e){return u(this.record,e)}set(e,t){this.record[e.key]=t}update(e,t){this.record[e.key]=t(u(this.record,e))}has(e){return Object.prototype.hasOwnProperty.call(this.record,e.key)}}function W(e){let t=(0,l.xT)(e,x);return t?t.output.defaults:void 0}let J=g(w,W);function Z(e){return(0,i.y68)(e)||(0,i.Cyw)(e)&&!e.isInline()}function q(e,t,r){1===e.length&&(0,i.wH$)(e[0])&&(e=[]);let n=(0,i.lJ7)();if((0,i.sby)(r)){var o;let e=r.style.textAlign;o=e,G.has(o)&&n.setFormat(e)}return[n.splice(0,0,e)]}let K={$accepts:Z,$packageRun:q,name:"BlockSchema"},V={$accepts:Z,$packageRun:q,name:"RootSchema"},G=new Set(["center","end","justify","left","right","start"]),X={B:{fontWeight:"bold"},EM:{fontStyle:"italic"},I:{fontStyle:"italic"},S:{textDecoration:"line-through"},STRONG:{fontWeight:"bold"},SUB:{verticalAlign:"sub"},SUP:{verticalAlign:"super"},U:{textDecoration:"underline"}},Y={CODE:i.jGx,MARK:i.sM8},Q=new Set(["font-weight","font-style","text-decoration","vertical-align"]),ee={$import:(e,t)=>{var r;let n=e.get(B),o=X[t.nodeName],a=function(e){return{fontStyle:e.style.fontStyle,fontWeight:e.style.fontWeight,textDecoration:e.style.textDecoration,verticalAlign:e.style.verticalAlign}}(t),l=n&~(r=function(e){let t=0,r=0,{fontWeight:n,fontStyle:o,textDecoration:a,verticalAlign:l}=e;if("700"===n||"bold"===n?t|=i.FAd:"normal"!==n&&"400"!==n||(r|=i.FAd),"italic"===o?t|=i.S3D:"normal"===o&&(r|=i.S3D),a){let e=a.split(" ");e.includes("underline")&&(t|=i.IgX),e.includes("line-through")&&(t|=i.J61),e.includes("none")&&(r|=i.IgX|i.J61)}return"sub"===l?(t|=i.TeU,r|=i.o4q):"super"===l?(t|=i.o4q,r|=i.TeU):"baseline"===l&&(r|=i.TeU|i.o4q),{clear:r,set:t}}(o?{fontStyle:a.fontStyle||o.fontStyle,fontWeight:a.fontWeight||o.fontWeight,textDecoration:a.textDecoration||o.textDecoration,verticalAlign:a.verticalAlign||o.verticalAlign}:a)).clear|r.set,s=Y[t.nodeName];return s&&(l|=s),l===n?e.$importChildren(t):e.$importChildren(t,{context:[[B,l]]})},match:R.tag("b","strong","em","i","code","mark","s","sub","sup","u","span"),name:"@lexical/html/inline-format"};function et(e,t,r){let n=e;for(;;){let e=null;for(;null===(e=t?n.nextSibling:n.previousSibling);){let e=n.parentNode;if(null===e)return null;n=e}if(n=e,!r.isInline(n))return null;let o=n;for(;null!==(o=t?n.firstChild:n.lastChild);)n=o;if((0,i.YPs)(n))return n;if("BR"===n.nodeName)return null}}function er(e,t){return 0!==t&&(0,i.kFe)(e)?e.setFormat(t):e}function en(e,t){if((0,i.kFe)(e)){let r=function(e){let t="";for(let r in e)Q.has(r)||(t+=`${r}: ${e[r]}; `);return t.trimEnd()}(t);""!==r&&e.setStyle(r)}return e}let eo={$import:(e,t)=>{let r=e.get(B),n=e.get(I),o=e.get($);if(function(e,t){let r=e.parentNode;for(;null!==r;){if(t.preservesWhitespace(r))return!0;r=r.parentNode}return!1}(t,o)){let e=(0,i._jw)(t.textContent||"");for(let t of e)er(t,r),en(t,n);return e}let a=function(e,t){let r=(e.textContent||"").replace(/\r/g,"").replace(/[ \t\n]+/g," ");
1if(0===r.length)return"";if(" "===r[0]){let n=e,o=!0;for(;null!==n&&null!==(n=et(n,!1,t));){let e=n.textContent||"";if(e.length>0){/[ \t\n]$/.test(e)&&(r=r.slice(1)),o=!1;break}}o&&(r=r.slice(1))}if(r.length>0&&" "===r[r.length-1]){let n=e,o=!0;for(;null!==n&&null!==(n=et(n,!0,t));)if((n.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){o=!1;break}o&&(r=r.slice(0,-1))}return r}(t,o);if(""===a)return[];let l=(0,i.sTu)(a);return er(l,r),en(l,n),[l]},match:R.text(),name:"@lexical/html/#text"},ei={$import:()=>[],match:R.tag("script","style"),name:"@lexical/html/script-style-ignore"},ea={$import:(e,t)=>(0,i.J_T)(t)||(0,i.RB3)(t)?[]:[(0,i.WKo)()],match:R.tag("br"),name:"@lexical/html/br"},el=[ei,{$import:(e,t)=>{let r=(0,i.lJ7)();if((0,i.Sz2)(r,t),(0,i.dxY)(t,r),""===r.getFormatType()){let e=t.getAttribute("align");e&&G.has(e)&&r.setFormat(e)}return(0,i.q3P)(r,t),[r.splice(0,0,e.$importChildren(t))]},match:R.tag("p"),name:"@lexical/html/p"},{$import:(e,t,r)=>(0,i.i0_)().hasNode(l.fS)?[(0,l.PL)()]:r(),match:R.tag("hr"),name:"@lexical/html/hr"},{$import:(e,t,r)=>(0,i.a9V)(t)?function(e,t){var r;if(!(0,i.sby)(t))return e;let n=t.style.textAlign;if(r=n,!G.has(r))return e;for(let t of e)(0,i.y68)(t)&&""===t.getFormatType()&&t.setFormat(n);return e}(e.$importChildren(t,{schema:K}),t):r(),match:R.any(),name:"@lexical/html/transparent-block"},eo,ea,ee];function es(e,t){return(0,i.YPs)(t)?e.textIndices:8===t.nodeType?e.commentIndices:(0,i.sby)(t)?e.byTag.get(t.nodeName)||e.wildcardIndices:eu}let eu=Object.freeze([]),ec=Object.freeze({});function ef(e,t,r){let n=r&&r.$onChild,o=[];for(let r of Array.from(t.childNodes))for(let t of ep(e,r,void 0)){let e=n?n(t):t;null!=e&&o.push(e)}let i=r&&r.$after?r.$after(o):o,a=r&&r.schema;return a?function(e,t,r,n){let o=[],i=null,a=()=>{if(null===i)return;let t=i;if(i=null,e.$packageRun){let r=e.$packageRun(t,null,n);if(r.length>0){for(let e of r)o.push(e);return}}if("hoist"===e.onReject)for(let e of t)o.push(e)};for(let r of t)e.$accepts(r,null)?(a(),o.push(r)):(null===i&&(i=[]),i.push(r));return a(),e.$finalize?e.$finalize(o,r):o}(a,i,null,t):i}function ep(e,t,r){let n=()=>(function(e,t){let r=function(e,t){let r=[];for(let n=e.overlays.length-1;n>=0;n--){let o=e.overlays[n],i=es(o,t);i.length>0&&r.push({dispatch:o,indices:i})}let n=es(e.dispatch,t);return n.length>0&&r.push({dispatch:e.dispatch,indices:n}),r}(e,t);if(0===r.length)return ed(e,t);let n=0,o=0,a=()=>{for(;n<r.length;){let{dispatch:l,indices:s}=r[n];for(;o<s.length;){let r=s[o++],n=l.rules[r],c={};if(n.predicate(t,c)){let r=function(e,t){return{$importChildren:(t,r)=>(function(e,t,r){let n=r&&r.rules?r.rules.dispatch:void 0;n&&e.overlays.push(n);try{let n=()=>ef(e,t,r);return r&&r.context?J(r.context,e.editor)(n):n()}finally{n&&e.overlays.pop()}})(e,t,r),$importOne:(t,r)=>ep(e,t,r),captures:t,get:t=>(function(e,t=(0,i.i0_)()){return u(f(w,t)||W(t),e)})(t,e.editor),session:e.session}}(e,0===Object.keys(c).length?ec:c);try{return n.$import(r,t,a)}catch(e){throw e}}}n++,o=0}return ed(e,t)};return a()})(e,t);return r&&r.context?J(r.context,e.editor)(n):n()}function ed(e,t){if(0===t.childNodes.length)return[];let r=[];for(let n of Array.from(t.childNodes))for(let t of ep(e,n,void 0))r.push(t);return r}let eh={$import:(e,t)=>e.$importChildren(t),match:R.any(),name:"@lexical/html/default-hoist"},eg=(0,i.vE9)({build(e,t){let r=function(e){let t=[],r=new Map,n=[],o=[],i=[],a=new Set;e.forEach((e,l)=>{let u=function(e){let t=e[S];return void 0===t&&s(360),t}(e.match),c=e.name||function(e,t){if("text"===e.kind)return`#text@${t}`;if("comment"===e.kind)return`#comment@${t}`;if(0===e.tags.size)return`*@${t}`;let r=Array.from(e.tags).join(",").toLowerCase();return`${r}@${t}`}(u,l);if(e.name&&a.add(e.name),t.push({$import:e.$import,name:c,predicate:u.predicate}),"text"===u.kind)o.push(l);else if("comment"===u.kind)i.push(l);else if(0===u.tags.size)n.push(l);else for(let e of u.tags){let t=r.get(e);t||(t=[],r.set(e,t)),t.push(l)}});let l=new Map;if(0===n.length)for(let[e,t]of r)l.set(e,t);else for(let[e,t]of r)l.set(e,function(e,t){let r=[],n=0,o=0;for(;n<e.length&&o<t.length;)e[n]<=t[o]?r.push(e[n++]):r.push(t[o++]);for(;n<e.length;)r.push(e[n++]);for(;o<t.length;)r.push(t[o++]);return r}(t,n));return{byTag:l,commentIndices:i,rules:t,textIndices:o,wildcardIndices:n}}(function(e){let t=[];for(let n of e){var r;if("object"==typeof(r=n)&&null!==r&&"__type"in r&&"CompiledOverlayRules"===r.__type)for(let e of n.rules)t.push(e);else t.push(n)}return t}(t.rules)),n=p(t.contextDefaults,void 0),o=t.preprocess;return{$generateNodesFromDOM:(t,a)=>{let l=f(w,e)||n,s=a&&a.context?p(a.context,l):l,u=void 0!==s&&s!==l?s:Object.create(l||null),c=new U(u);return function(e,t,r){let n=e.length-1,o=()=>{for(;n>=0;)return void(0,e[n--])(t,r,o)};o()}(a&&a.preprocess?[...o,...a.preprocess]:o,t,{session:c}),h(w,u,()=>ef({dispatch:r,editor:e,overlays:c.get(H).map(e=>e.dispatch),session:c},(0,i.mB$)(t)?t.body:t,{schema:V}),e)},defaults:n}},config:{contextDefaults:[],preprocess:[(e,t,r)=>{v(e),r()}],rules:[eh]},mergeConfig:(e,t)=>
1(0,i.Tc1)(e,{...t,...t.contextDefaults&&{contextDefaults:[...e.contextDefaults,...t.contextDefaults]},...t.preprocess&&{preprocess:[...e.preprocess,...t.preprocess]},...t.rules&&{rules:[...t.rules,...e.rules]}}),name:x});function eb(e,t){return(0,l.fU)(eg).$generateNodesFromDOM(e,t)}let ev=(0,i.vE9)({dependencies:[(0,i.O0w)(eg,{rules:el})],name:"@lexical/html/CoreImport"}),ey=(l.SY,{any:R.any,comment:R.comment,css:function(e){let t=new P(e,0),r=[];for(;;){let e=function(e){let t=new Set,r=[],n=[];if(e.skipWhitespace(),"*"===e.peek())e.consume();else if(T.test(e.peek())){let r=e.readIdent();r&&t.add(r.toUpperCase())}for(;!e.eof();){let t=e.peek();if("."===t){e.consume();let t=e.readIdent();e.assert(""!==t,'expected class name after "."'),n.push(t)}else if("#"===t){e.consume();let t=e.readIdent();e.assert(""!==t,'expected id after "#"'),r.push(O("id",t))}else{if("["!==t)break;{e.consume(),e.skipWhitespace();let t=e.readIdent();e.assert(""!==t,'expected attribute name after "["'),e.skipWhitespace();let n=!0;if("="===e.peek()){e.consume(),e.skipWhitespace();let t=e.peek();'"'===t||"'"===t?n=e.readQuoted():(n=e.readIdent(),e.assert(""!==n,"expected attribute value")),e.skipWhitespace()}e.assert("]"===e.peek(),'expected "]"'),e.consume(),r.push(O(t,n))}}}return n.length>0&&r.push(j(n)),{predicates:r,tags:t}}(t);if(r.push(e),t.skipWhitespace(),t.eof())break;t.assert(","===t.peek(),'expected "," (selector lists are the only supported combinator)'),t.consume(),t.skipWhitespace()}if(1===r.length)return C(r[0].tags,r[0].predicates);let n=new Set;if(r.every(e=>e.tags.size>0))for(let e of r)for(let t of e.tags)n.add(t);return C(n,[(e,t)=>{for(let n of r){let r=e.nodeName;if(n.tags.size>0&&!n.tags.has(r))continue;let o=!0;for(let r of n.predicates)if(!r(e,t)){o=!1;break}if(o)return!0}return!1}])},tag:R.tag,text:R.text}),em=new Set(["STYLE","SCRIPT"]);function ex(e,t){v(t);let r=(0,i.mB$)(t)?t.body.childNodes:t.childNodes,n=[],o=[];for(let t of r)if(!em.has(t.nodeName)){let r=function e(t,r,n,o,a=new Map,l){let s=[];if(em.has(t.nodeName))return s;let u=null,c=function(e,t){let{nodeName:r}=e,n=t._htmlConversions.get(r.toLowerCase()),o=null;if(void 0!==n)for(let t of n){let r=t(e);null!==r&&(null===o||(o.priority||0)<=(r.priority||0))&&(o=r)}return null!==o?o.conversion:null}(t,r),f=c?c(t):null,p=null;if(null!==f){p=f.after;let e=f.node;if(null!==(u=Array.isArray(e)?e[e.length-1]:e)){for(let[,e]of a)if(!(u=e(u,l)))break;u&&s.push(...Array.isArray(e)?e:[u])}null!=f.forChild&&a.set(t.nodeName,f.forChild)}let d=t.childNodes,h=[],g=(null==u||!(0,i.IqF)(u))&&(null!=u&&(0,i.y68)(u)||o);for(let t=0;t<d.length;t++)h.push(...e(d[t],r,n,g,new Map(a),u));if(null!=p&&(h=p(h)),(0,i.a9V)(t)&&(h=function(e,t,r){let n=e.style.textAlign,o=[],a=[];for(let e=0;e<t.length;e++){let l=t[e];if((0,i.y68)(l))n&&!l.getFormat()&&l.setFormat(n),o.push(l);else if(a.push(l),e===t.length-1||e<t.length-1&&(0,i.y68)(t[e+1])){let e=r();e.setFormat(n),e.append(...a),o.push(e),a=[]}}return o}(t,h,g?()=>{let e=new i.A7V;return n.push(e),e}:i.lJ7)),null==u)if(h.length>0)for(let e of h)s.push(e);else(0,i.a9V)(t)&&null!=t.nextSibling&&null!=t.previousSibling&&(0,i._On)(t.nextSibling)&&(0,i._On)(t.previousSibling)&&s.push((0,i.WKo)());else(0,i.ff4)(u)&&u.append(...h);return s}(t,e,o,!1);if(null!==r)for(let e of r)n.push(e)}return function(e){for(let t of e)t.getParent()&&t.getNextSibling()instanceof i.A7V&&t.insertAfter((0,i.WKo)());for(let t of e){let e=t.getParent();e&&e.splice(t.getIndexWithinParent(),1,t.getChildren())}}(o),n}function ew(e,t=null){return("undefined"==typeof document||"undefined"==typeof window&&void 0===global.window)&&s(338),(0,i.Q2o)(e),function(e,t=null,r=(0,i.i0_)()){return E([[_,!0]],r)(()=>{let n=(0,i.NiT)(),a=function(e=(0,i.i0_)()){let t=function(e){let t=(0,l.xT)(e,y);return t?t.output.runtime:void 0}(e);return t?t.getSessionConfig():(0,i.MSq)(e)}(r),s=(0,i.I2P)(t)?(0,i.ex6)(t.anchor.getNode()):null,u=e.append.bind(e);for(let e of((0,i.ff4)(s)?s:n).getChildren())!function e(t,r,n,a=null,l=(0,i.MSq)(t)){let s=l.$shouldInclude(r,a,t),u=l.$shouldExclude(r,a,t),c=r;null!==a&&(0,i.kFe)(r)&&(c=(0,o.SD)(a,r,"clone"));let{element:f,after:p,append:d,$getChildNodes:h}=l.$exportDOM(c,t);if(!f)return!1;let g=(0,i.A$M)().createDocumentFragment(),b=h?h():(0,i.ff4)(c)?c.getChildren():[],v=s&&(0,i.RTZ)(a)&&(0,i.ff4)(r)?null:a,y=g.append.bind(g);for(let n of b){let o=e(t,n,y,v,l);!s&&o&&l.$extractWithChild(r,n,a,"html",t)&&(s=!0)}if(s&&!u){if(((0,i.sby)(f)||(0,i.K8K)(f))&&(d?d(g):f.append(g)),n(f),p){let e=p.call(c,f);e&&((0,i.K8K)(f)?f.replaceChildren(e):f.replaceWith(e))}}else n(g);return s}(r,e,u,t,a);return e})}((0,i.A$M)().createElement("div"),t,e).innerHTML}},61973:e=>{e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===r(i[s],s,i))break}return t}}},62697:(e,t,r)=>{var n=r(90226);e.exports=function(e){return function(t){return n(t,e)}}},62709:(e,t,r)=>{var n=r(70007),o=r(26110),i=r(43194),a=r(43887),l=r(35747),s=r(68379);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=l,u.prototype.set=s,e.exports=u},63011:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},63026:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},63165:(e,t,r)=>{var n=r(47655);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},63390:(e,t,r)=>{r.d(t,{n:()=>u});var n=r(54345),o=r(22368),i=r(62618),a=r(63154);let l=o.qxK?i.useLayoutEffect:i.useEffect,s={tag:o.T40};function u({initialConfig:e,children:t}){let r=(0,i.useMemo)(()=>
1{let{theme:t,namespace:r,nodes:i,onError:a,onWarn:l,editorState:u,html:c}=e,f=(0,n.Mx)(null,t),p=(0,o.ieJ)({editable:e.editable,html:c,namespace:r,nodes:i,onError:e=>a(e,p),...l?{onWarn:e=>l(e,p)}:{},theme:t});return function(e,t){if(null!==t){if(void 0===t)e.update(()=>{let t=(0,o.NiT)();if(t.isEmpty()){let r=(0,o.lJ7)();t.append(r);let n=e.getRootElement(),i=o.qxK&&null!==n?(0,o.bqM)(n):null;(null!==(0,o.vJq)()||null!==i&&i===n)&&r.select()}},s);else if(null!==t)switch(typeof t){case"string":{let r=e.parseEditorState(t);e.setEditorState(r,s);break}case"object":e.setEditorState(t,s);break;case"function":e.update(()=>{(0,o.NiT)().isEmpty()&&t(e)},s)}}}(p,u),[p,f]},[]);return l(()=>{let t=e.editable,[n]=r;n.setEditable(void 0===t||t)},[]),(0,a.jsx)(n.Gu.Provider,{value:r,children:t})}},63494:(e,t,r)=>{var n=r(39471);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},64317:(e,t,r)=>{r.d(t,{yl:()=>o});var n=r(22368);function o(e){return()=>(function(e){if(!function(e,t=!0){if(e)return!1;let r=(0,n.NiT)().getTextContent();return t&&(r=r.trim()),""===r}(e,!1))return!1;let t=(0,n.NiT)().getChildren(),r=t.length;if(r>1)return!1;for(let e=0;e<r;e++){let r=t[e];if((0,n.Cyw)(r))return!1;if((0,n.ff4)(r)){if(!(0,n.bSg)(r)||0!==r.__indent)return!1;let t=r.getChildren(),o=t.length;for(let r=0;r<o;r++){let r=t[e];if(!(0,n.kFe)(r))return!1}}}return!0})(e)}},65106:(e,t,r)=>{var n=r(98154),o=r(28482);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},68131:(e,t,r)=>{var n=r(20489),o=r(97097);e.exports=function(e,t){return e&&n(t,o(t),e)}},68379:(e,t,r)=>{var n=r(70007),o=r(53239),i=r(70964);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},69593:e=>{e.exports=function(e,t){return e.has(t)}},69595:(e,t,r)=>{e.exports=r(28338)(r(96283),"WeakMap")},70007:(e,t,r)=>{var n=r(18604),o=r(13996),i=r(79033),a=r(93165),l=r(63165);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},70706:(e,t,r)=>{var n=r(90226);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},70731:(e,t,r)=>{var n=r(13035),o=r(81814),i=r(78464),a=r(8531),l=r(76839);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):l(e)}},70964:(e,t,r)=>{var n=r(81404),o=r(89116),i=r(9545),a=r(17053),l=r(56909);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},72138:(e,t,r)=>{e=r.nmd(e);var n=r(96283),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,l=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}},72183:(e,t,r)=>{r.d(t,{Jy:()=>g,Pe:()=>p,RM:()=>f,V0:()=>u,gA:()=>h,mB:()=>c,xj:()=>d});var n=r(99139),o=r(22368);function i(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let r of(n.append("code",e),t))n.append("v",r);throw r.search=n.toString(),Error(`Minified Lexical error #${e}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function a(e){return`${e}px`}let l={attributes:!0,characterData:!0,childList:!0,subtree:!0};function s(e,t,r,n){if("text"!==t.type&&(0,o.ff4)(r)){let i=(0,o.FfB)(r,n,e);return[i.element,i.getFirstChildOffset()+t.offset]}return[((0,o.kFe)(r)?(0,o.OCP)(r,n,e):(0,o.c_R)(n))||n,t.offset]}function u(e,t){let r=null,u=()=>{let u=e.getRootElement(),c=null!==u?u.ownerDocument.defaultView:null,f=null!==c?c.getSelection():null,p=null!==f?(0,o.Mgk)(f,u).anchorNode:null;null!==p&&null!==u&&u.contains(p)?null!==r&&(r(),r=null):null===r&&(r=function(e,t=function(e){for(let t of e){let e=t.style;"Highlight"!==e.background&&(e.background="Highlight"),"HighlightText"!==e.color&&(e.color="HighlightText"),e.marginTop!==a(-1.5)&&(e.marginTop=a(-1.5)),e.paddingTop!==a(4)&&(e.paddingTop=a(4)),e.paddingBottom!==a(0)&&(e.paddingBottom=a(0))}}){let r=null,u=null,c=null,f=null,p=null,d=null,h=()=>{};function g(g){g.read(()=>{let g=(0,o.vJq)();if(!(0,o.I2P)(g))return r=null,c=null,f=null,d=null,h(),void(h=()=>{});let[b,v]=function(e){let t=e.getStartEndPoints();return e.isBackward()?[t[1],t[0]]:t}(g),y=b.getNode(),m=y.getKey(),x=b.offset,w=v.getNode(),_=w.getKey(),E=v.offset,S=e.getElementByKey(m),C=e.getElementByKey(_),k=null===r||S!==u||x!==c||m!==r.getKey(),j=null===f||C!==p||E!==d||_!==f.getKey();if((k||j)&&null!==S&&null!==C){let r=function(e,t,r,n,o,i,a){let l=(e._window?e._window.document:document).createRange();return l.setStart(...s(e,t,r,n)),l.setEnd(...s(e,o,i,a)),l}(e,b,y,S,v,w,C);h(),h=function(e,t,r){let s=null,u=null,c=null,f=[],p=(0,o.nAs)(e.getRootElement()).createElement("div");function d(){var l;null===s&&i(182),null===u&&i(183);let{left:c,top:d}=u.getBoundingClientRect(),h=function(e){let t=(e,t)=>t.left>=e.left-1&&t.top>=e.top-1&&t.right<=e.right+1&&t.bottom<=e.bottom+1,r=[];for(let n of Array.from(e))if(!(n.width<.5||n.height<.5||r.some(e=>t(n,e)))){for(let e=r.length-1;e>=0;e--)t(r[e],n)&&r.splice(e,1);r.push(n)}return r}((0,n.zT)(e,t));p.isConnected||(l=u).insertBefore(p,l.firstChild);let g=!1;for(let e=0;e<h.length;e++){let t=h[e],r=f[e]||(0,o.nAs)(s).createElement("div"),n=r.style;"absolute"!==n.position&&(n.position="absolute",g=!0);let i=a(t.left-c);
1n.left!==i&&(n.left=i,g=!0);let l=a(t.top-d);n.top!==l&&(r.style.top=l,g=!0);let u=a(t.width);n.width!==u&&(r.style.width=u,g=!0);let b=a(t.height);n.height!==b&&(r.style.height=b,g=!0),r.parentNode!==p&&(p.append(r),g=!0),f[e]=r}for(;f.length>h.length;){let e=f.pop();null!=e&&e.remove()}g&&r(f)}function h(){for(let e of(u=null,s=null,null!==c&&c.disconnect(),c=null,p.remove(),f))e.remove();f=[]}p.style.position="relative";let g=e.registerRootListener(function t(){let r=e.getRootElement();if(null===r)return h();let n=r.parentElement;if(!(0,o.sby)(n))return h();h(),s=r,u=n,(c=new MutationObserver(r=>{let n=e.getRootElement(),o=n&&n.parentElement;if(n!==s||o!==u)return t();for(let e of r)if(!p.contains(e.target))return d()})).observe(n,l),d()});return()=>{g(),h()}}(e,r,t)}r=y,u=S,c=x,f=w,p=C,d=E},{editor:e})}return g(e.getEditorState()),(0,o.Sdt)(e.registerUpdateListener(({editorState:e})=>g(e)),()=>{h()})}(e,t))};return e.registerRootListener(e=>{if(e){let t=e.ownerDocument,n=(0,o.Sdt)((0,o.K6z)(t,"selectionchange",u),()=>{null!==r&&r()});return u(),n}})}function c(e){let t=(0,o.BtT)(e,e=>(0,o.ff4)(e)&&!e.isInline());return(0,o.ff4)(t)||i(4,e.__key),t}function f(e,t){let r=(0,o.NZv)((0,o.I2P)(t)?(0,o.$iu)(t):t,"next"),n=(0,o.ex6)(r.anchor.origin),i=(0,o.ex6)(e.getLatest());if(null===n?null!==i:!n.is(i))return!1;let a=(0,o.lSZ)((0,o.uwZ)(e,"next")),l=(0,o.Csq)((0,o.lSZ)((0,o.uwZ)(e,"previous")),"next");return 0>=(0,o.AcB)(r.anchor,a)&&(0,o.AcB)(r.focus,l)>=0}function p(e){let t,r=(0,o.vJq)()||(0,o.S1w)();if((0,o.I2P)(r))t=(0,o.Ave)(r.focus,"next");else{if(null!=r){let e=r.getNodes(),n=e[e.length-1];n&&(t=(0,o.IlV)(n,"next"))}t=t||(0,o.uwZ)((0,o.NiT)(),"previous").getFlipped().insert((0,o.lJ7)())}let n=(0,o.rdQ)(e,t),i=(0,o.erb)(n),a=(0,o.cmH)(i)?(0,o.lSZ)(i):n;return(0,o.xQ8)((0,o.sWS)(a)),e.getLatest()}function d(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name}function h(e){let t=null;if(d(e,DragEvent)?t=e.dataTransfer:d(e,ClipboardEvent)&&(t=e.clipboardData),null===t)return[!1,[],!1];let r=t.types,n=r.includes("Files"),o=r.includes("text/html")||r.includes("text/plain");return[n,Array.from(t.files),o]}function g(e){let t=(0,o.vJq)();if(!(0,o.I2P)(t))return!1;let r=new Set,n=t.getNodes();for(let t=0;t<n.length;t++){let i=n[t],a=i.getKey();if(r.has(a))continue;let l=(0,o.BtT)(i,e=>(0,o.ff4)(e)&&!e.isInline());if(null===l)continue;let s=l.getKey();l.canIndent()&&!r.has(s)&&(r.add(s),e(l))}return r.size>0}o.$Mp||o.qxK},73089:(e,t,r)=>{var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(e){return e&&e.__esModule?e:{default:e}}(r(62618));t.A=function(e){var t=e.fill,r=e.width,i=e.height,a=e.style,l=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return o.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:void 0===t?"currentColor":t,width:void 0===r?24:r,height:void 0===i?24:i},void 0===a?{}:a)},l),o.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},73250:(e,t,r)=>{var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(e){return e&&e.__esModule?e:{default:e}}(r(62618));t.A=function(e){var t=e.fill,r=e.width,i=e.height,a=e.style,l=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return o.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:void 0===t?"currentColor":t,width:void 0===r?24:r,height:void 0===i?24:i},void 0===a?{}:a)},l),o.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},73288:(e,t,r)=>{var n=r(15639),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},73841:(e,t,r)=>{e.exports=r(63011)(Object.getPrototypeOf,Object)},75088:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},76839:(e,t,r)=>{var n=r(96007),o=r(62697),i=r(47386),a=r(97241);e.exports=function(e){return i(e)?n(a(e)):o(e)}},76909:(e,t,r)=>{var n=r(12820),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},77269:(e,t,r)=>{var n=r(15371);e.exports=function(e){return n(e,5)}},78464:e=>{e.exports=function(e){return e}},78794:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},79033:(e,t,r)=>{var n=r(47655);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},80409:(e,t,r)=>{r.d(t,{$:()=>ey});var n=r(54345),o=r(62618),i=r(22368);let a=i.qxK?o.useLayoutEffect:o.useEffect;function l(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>
1e.registerEditableListener(t)}}var s=r(95035);let u=(0,i.vE9)({name:"@lexical/react/ReactProvider"});var c=r(62451),f=r(63154),p=r(64317);let d={bold:"bold",italic:"italic",strikeThrough:"strikethrough",subscript:"subscript",superscript:"superscript",underline:"underline"},h=Symbol.for("@lexical/dragon/WindowState");function g(e,t,r,n){if(n){let e=t.editors.get(n);e&&e.delete(r)&&0===e.size&&t.editors.delete(n)}t.installs.delete(r)&&0===t.installs.size&&(t.dispose(),delete e[h])}function b(e){return e&&e.ownerDocument.defaultView}function v(e){let t=(0,s.jX)(()=>b(e.getRootElement()),t=>e.registerRootListener(e=>{t.value=b(e)}));return(0,s.QZ)(()=>{let r=t.value;if(r)return function(e,t,r){let n,o=(void 0===(n=e[h])&&(n={dispose:()=>{},editors:new Map,installs:new Set},e[h]=n),n);if(0===o.installs.size){let t=y.bind(e);e.addEventListener("message",t,!0),o.dispose=()=>{e.removeEventListener("message",t,!0)}}if(o.installs.add(t),r){let e=o.editors.get(r)||new Set;e.add(t),o.editors.set(r,e)}return g.bind(null,e,o,t,r)}(r,Symbol("@lexical/dragon/editorInstall"),e)})}function y(e){if(e.origin!==this.location.origin)return;let t=function(e){let t=e[h];if(void 0===t)return null;let r=(0,i.lue)((0,i.v39)(e.document));return(0,i.Uqh)(r)&&t.editors.has(r)?r:null}(this);if(null===t)return;let r=e.data;if("string"==typeof r){let n;try{n=JSON.parse(r)}catch(e){return}if(n&&"nuanria_messaging"===n.protocol&&"request"===n.type){let r=n.payload;if(r&&"makeChanges"===r.functionId){let n=r.args;if(Array.isArray(n)){let[r,o,a,l,s,u]=n;if(![r,o,l,s].every(Number.isFinite)||"string"!=typeof a&&-1!==a)return;t.update(()=>{let t=(0,i.vJq)();if((0,i.I2P)(t)){let n=t.anchor,c=n.getNode(),f=0,p=0;if((0,i.kFe)(c)&&r>=0&&o>=0&&(f=r,p=r+o,t.setTextNodeRange(c,f,c,p)),"string"!=typeof a||f===p&&""===a||(t.insertRawText(a),c=n.getNode()),(0,i.kFe)(c)){let e=c.getTextContentSize();f=Math.min(Math.max(l,0),e),p=l<0||s<0?f:Math.min(l+s,e),t.setTextNodeRange(c,f,c,p)}if("string"==typeof u&&s>0&&!t.isCollapsed()){let e=d[u];void 0!==e&&t.formatText(e)}e.stopImmediatePropagation()}})}}}}}let m=(0,i.vE9)({build:(e,t,r)=>(0,s.v)(t),config:(0,i.lVE)({disabled:"undefined"==typeof window}),name:"@lexical/dragon",register:(e,t,r)=>(0,s.QZ)(()=>r.getOutput().disabled.value?void 0:v(e))});var x=r(61465),w=r(99139),_=r(72183);function E(e,t,r=null){let n=(0,i.nAs)(r),o=r?(0,i.IWk)(r):[],a=null!==r&&o.length>0;if(a&&"function"==typeof n.caretPositionFromPoint){let a=n.caretPositionFromPoint(e,t,{shadowRoots:o});if(null!==a&&function(e,t){for(let r=e;null!==r;){if(r===t)return!0;r=(0,i.dCx)(r)}return!1}(a.offsetNode,r))return{node:a.offsetNode,offset:a.offset}}if(a){let o=r.getRootNode();if((0,i.R3g)(o)){let i=o.elementFromPoint(e,t);if(null!==i&&r.contains(i)){let r=function(e,t,r,n){let o=n.createRange(),i=e=>t<e.top?e.top-t:t>e.bottom?t-e.bottom:0,a=t=>e<t.left?t.left-e:e>t.right?e-t.right:0,l=n.createTreeWalker(r,NodeFilter.SHOW_TEXT),s=null,u=1/0,c=1/0;for(let e=l.nextNode();e;e=l.nextNode())for(let t of(o.selectNodeContents(e),o.getClientRects())){let r=i(t),n=a(t);(r<u||r===u&&n<c)&&(u=r,c=n,s=e)}if(null===s)return null;let f=0,p=1/0,d=1/0;for(let t=0;t<=s.length;t++){o.setStart(s,t),o.collapse(!0);let r=o.getBoundingClientRect(),n=i(r),a=Math.abs(e-r.left);(n<p||n===p&&a<d)&&(p=n,d=a,f=t)}return{node:s,offset:f}}(e,t,i,n);if(null!==r)return r}}}if("function"==typeof n.caretRangeFromPoint){let r=n.caretRangeFromPoint(e,t);return null===r?null:{node:r.startContainer,offset:r.startOffset}}if("function"==typeof n.caretPositionFromPoint){let r=n.caretPositionFromPoint(e,t);return null===r?null:{node:r.offsetNode,offset:r.offset}}return null}function S(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let r of(n.append("code",e),t))n.append("v",r);throw r.search=n.toString(),Error(`Minified Lexical error #${e}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let C={"application/x-lexical-editor":0,"text/html":10,"text/plain":20,"text/uri-list":30},k=(e,t)=>{if(!(0,i.I2P)(t))return t.insertRawText(e),!0;let r=e=>{let t=(0,i.vJq)();(0,i.I2P)(t)&&e(t)};return(0,i.NEy)(e,{linebreak:()=>r(e=>e.insertParagraph()),tab:()=>r(e=>
1e.insertNodes([(0,i.ev7)()])),text:e=>r(t=>t.insertText(e))}),!0},j={"application/x-lexical-editor":[(e,t,r)=>{try{let r=(0,i.i0_)(),n=JSON.parse(e);if(n&&n.namespace===r._config.namespace&&Array.isArray(n.nodes))return N(r,function(e){let t=[];for(let r of e)t.push((0,i.GMe)(r));return t}(n.nodes),t),!0}catch(e){console.error(e)}return r()}],"text/html":[(e,t,r)=>{try{let r=(0,i.i0_)(),n=(new DOMParser).parseFromString(function(e){return window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:e=>e}).createHTML(e):e}(e),"text/html");return N(r,(0,x.dh)(r,n),t),!0}catch(e){return console.error(e),r()}}],"text/plain":[k],"text/uri-list":[k]};function O(e,t,r){let n=t.getData("text/plain");for(let o of Object.keys(e.$importMimeType).filter(t=>void 0!==e.$importMimeType[t]).sort((t,r)=>{let n=e.priority[t],o=e.priority[r];return void 0===n&&void 0===o?t<r?-1:+(t>r):void 0===n?1:void 0===o?-1:n-o})){let i=t.getData(o);if(i&&("text/html"!==o||i!==n)&&function(e,t,r,n){if(!e)return!1;let o=i=>!!e[i]&&e[i](t,r,o.bind(null,i-1),n);return o(e.length-1)}(e.$importMimeType[o],i,r,t))return!0}return!1}let A={$importMimeType:j,$insertDataTransfer:(e,t)=>O({$importMimeType:j,priority:C},e,t),priority:C},M=(0,i.vE9)({build:(e,t)=>({$importMimeType:t.$importMimeType,$insertDataTransfer:(e,r)=>O(t,e,r),priority:t.priority}),config:(0,i.lVE)({$importMimeType:j,priority:C}),mergeConfig(e,t){let r=(0,i.Tc1)(e,t);if(t.$importMimeType){let n={...e.$importMimeType};for(let[e,r]of Object.entries(t.$importMimeType))if(r){let t=n[e];n[e]=t?[...t,...r]:r}r.$importMimeType=n}return t.priority&&(r.priority={...e.priority,...t.priority}),r},name:"@lexical/clipboard/Import"});function R(e,t=(0,i.vJq)()){return null==t&&S(166),(0,i.I2P)(t)&&t.isCollapsed()||0===t.getNodes().length?"":(0,x.g2)(e,t)}function T(e,t=(0,i.vJq)()){return null==t&&S(166),(0,i.I2P)(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(function(e,t){let r=[],n=(0,i.NiT)(),o=(0,i.I2P)(t)?t.anchor.getNode():(0,i.RTZ)(t)?t.getNodes()[0]??null:null,a=null!==o?(0,i.ex6)(o):null,l=((0,i.ff4)(a)?a:n).getChildren();for(let n=0;n<l.length;n++)!function e(t,r,n,o=[]){let a=null===r||n.isSelected(r),l=(0,i.ff4)(n)&&n.excludeFromCopy("html"),s=n;null!==r&&(0,i.kFe)(s)&&(s=(0,w.SD)(r,s,"clone"));let u=(0,i.ff4)(s)?s.getChildren():[],c=function(e){let t=e.exportJSON(),r=e.constructor;return t.type!==r.getType()&&S(58,r.name),(0,i.ff4)(e)&&(Array.isArray(t.children)||S(59,r.name)),t}(s);(0,i.kFe)(s)&&0===s.getTextContentSize()&&(a=!1);let f=a&&(0,i.RTZ)(r)&&(0,i.ff4)(n)?null:r;for(let o=0;o<u.length;o++){let l=u[o],s=e(t,f,l,c.children);!a&&(0,i.ff4)(n)&&s&&n.extractWithChild(l,r,"clone")&&(a=!0)}if(a&&!l){let r=(0,i.vU2)(s);if(r.length>0){let n={};for(let o of r){let r=(0,i.DTJ)(s,o);null===r&&S(366,s.constructor.name,o);let a=[];e(t,null,r,a),1===a.length&&a[0].type===r.getType()||S(385,o,s.constructor.name,String(a.length),String(a.length>0?a[0].type:"none")),n[o]=a[0]}c.$slots=n}}if(a&&!l)o.push(c);else if(Array.isArray(c.children))for(let e=0;e<c.children.length;e++){let t=c.children[e];o.push(t)}return a}(e,t,l[n],r);return{namespace:e._config.namespace,nodes:r}}(e,t))}function P(e,t,r){(function(){let e=(0,s.cP)(M.name);return e?e.output:A})().$insertDataTransfer(e,t)}x._e;let F="application/x-lexical-drag";function N(e,t,r){e.dispatchCommand(i.oqR,{nodes:t,selection:r})||(r.insertNodes(t),function(e){if((0,i.I2P)(e)&&e.isCollapsed()){let t=e.anchor,r=null,n=(0,i.Ave)(t,"previous");if(n)if((0,i.rN)(n))r=n.origin;else for(let e of(0,i.TJt)(n,(0,i.uwZ)((0,i.NiT)(),"next").getFlipped())){if((0,i.kFe)(e.origin)){r=e.origin;break}if((0,i.ff4)(e.origin)&&!e.origin.isInline())break}if(r&&(0,i.kFe)(r)){let t=r.getFormat(),n=r.getStyle();e.format===t&&e.style===n||(e.format=t,e.style=n,e.dirty=!0)}}}(r))}let D=null;async function B(e,t,r){if(null!==D)return!1;if(null!==t)return new Promise((n,o)=>{e.update(()=>{n(I(e,t,r))})});let n=e.getRootElement(),o=e._window||window,a=o.document,l=(0,i.peL)(o);if(null===n||null===l)return!1;let s=a.createElement("span");s.style.position="fixed",s.style.top="-1000px",s.append(a.createTextNode("#")),n.append(s);let u=a.createRange();return u.setStart(s,0),u.setEnd(s,1),l.removeAllRanges(),l.addRange(u),new Promise((t,n)=>{let l=e.registerCommand(i.u5G,n=>((0,_.xj)(n,ClipboardEvent)&&(l(),null!==D&&(o.clearTimeout(D),D=null),t(I(e,n,r))),!0),i.da8);D=o.setTimeout(()=>{l(),D=null,t(!1)},50),a.execCommand("copy"),s.remove()})}function I(e,t,r){if(void 0===r){let t=(0,i.peL)(e._window),n=(0,i.vJq)();if(!n||n.isCollapsed()||!t)return!1;let o=(0,i.Mgk)(t,e.getRootElement()),a=o.anchorNode,l=o.focusNode;if(null!==a&&null!==l&&!(0,i.LYZ)(e,a,l))return!1;r=z(n)}t.preventDefault();let n=t.clipboardData;return null!==n&&($(n,r),!0)}let L=[["text/html",R],["application/x-lexical-editor",T]];function z(e=(0,i.vJq)()){var t=function(e=(0,i.i0_)()){let t=(0,s.xT)(e,U.name);return t?t.output:H}();let r={"text/plain":""};for(let[n,o]of Object.entries(t))if(o){let t=function(e,t){let r=n=>e[n]?e[n](t,r.bind(null,n-1)):null;return r(e.length-1)}(o,e);null!==t&&(r[n]=t)}return r}function $(e,t){for(let[r]of L)void 0===t[r]&&e.setData(r,"");for(let r in t){let n=t[r];void 0!==n&&e.setData(r,n)}}let H={"application/x-lexical-editor":[(e,t)=>e?T((0,i.i0_)(),e):t()],"text/html":[(e,t)=>e?R((0,i.i0_)(),e):t()],"text/plain":[(e,t)=>e?e.getTextContent():t()]},U=(0,i.vE9)({build:(e,t,r)=>t.$exportMimeType,config:(0,i.lVE)({$exportMimeType:H}),mergeConfig(e,t){let r=(0,i.Tc1)(e,t);if(t.$exportMimeType){let n={...e.$exportMimeType};for(let[e,r]of Object.entries(t.$exportMimeType))if(r){let t=n[e];n[e]=t?[...t,...r]:r}r.$exportMimeType=n}return r},name:"@lexical/clipboard/GetClipboardData"}),W=(0,x.Bu)({$import:(e,t)=>{let r=et(t.nodeName.toLowerCase());return(0,i.dxY)(t,r),(0,i.Sz2)(r,t),(0,i.q3P)(r,t),[r.splice(0,0,e.$importChildren(t))]},match:x.VR.tag("h1","h2","h3","h4","h5","h6"),name:"@lexical/rich-text/heading"}),J=(0,x.Bu)({$import:(e,t)=>{let r=G();return(0,i.Sz2)(r,t),(0,i.dxY)(t,r),(0,i.q3P)(r,t),[r.splice(0,0,e.$importChildren(t))]},match:x.VR.tag("blockquote"),name:"@lexical/rich-text/blockquote"}),Z=(x.VR.tag("blockquote"),[W,J,(0,x.Bu)({$import:(e,t,r)=>{let n=t.firstChild;return n&&(0,i.sby)(n)&&"SPAN"===n.nodeName&&"26pt"===n.style.fontSize?e.$importChildren(t):r()},match:x.VR.tag("p"),name:"@lexical/rich-text/google-docs-title-p"}),(0,x.Bu)({$import:(e,t,r)=>"26pt"!==t.style.fontSize?r():[et("h1").splice(0,0,e.$importChildren(t))],match:x.VR.tag("span"),name:"@lexical/rich-text/google-docs-title-span"})]),q=((s.Bw,s.vw,x._e,x.Zj),(0,i.guI)("DRAG_DROP_PASTE_FILE")),K=(0,i.urt)("shadowRoot",{parse:Boolean});class V extends i.fGB{$config(){return this.config("quote",{extends:i.fGB,importDOM:{blockquote:()=>({conversion:ee,priority:0})},stateConfigs:[{flat:!0,stateConfig:K}]})}isShadowRoot(){return(0,i.I8X)(this,K)}
1setIsShadowRoot(e){return(0,i.Chh)(this,K,e)}createDOM(e){let t=(0,i.A$M)().createElement("blockquote");return(0,i.ZB7)(t,e.theme.quote),t}updateDOM(e,t,r){return!1}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,i.sby)(t)){this.isEmpty()&&t.append((0,i.A$M)().createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e);let r=this.getDirection();r&&(t.dir=r)}return{element:t}}exportJSON(){return super.exportJSON()}static importJSON(e){return G().updateFromJSON(e)}insertNewAfter(e,t){let r=(0,i.lJ7)(),n=this.getDirection();return r.setDirection(n),this.insertAfter(r,t),r}collapseAtStart(){if(this.isShadowRoot()){for(let e of this.getChildren())this.insertBefore(e);return this.remove(),!0}let e=(0,i.lJ7)();return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}canMergeWhenEmpty(){return!0}}function G(e){let t=(0,i.pTq)(new V);return e&&e.shadowRoot?t.setIsShadowRoot(!0):t}class X extends i.fGB{__tag;$config(){return this.config("heading",{extends:i.fGB,importDOM:{h1:()=>({conversion:Q,priority:0}),h2:()=>({conversion:Q,priority:0}),h3:()=>({conversion:Q,priority:0}),h4:()=>({conversion:Q,priority:0}),h5:()=>({conversion:Q,priority:0}),h6:()=>({conversion:Q,priority:0}),p:e=>{let t=e.firstChild;return null!==t&&Y(t)?{conversion:()=>({node:null}),priority:3}:null},span:e=>Y(e)?{conversion:()=>({node:et("h1")}),priority:3}:null}})}afterCloneFrom(e){super.afterCloneFrom(e),this.__tag=e.__tag}constructor(e="h1",t){super(t),this.__tag=e}getTag(){return this.getLatest().__tag}setTag(e){let t=this.getWritable();return t.__tag=e,t}createDOM(e){let t=this.__tag,r=(0,i.A$M)().createElement(t),n=e.theme.heading;if(void 0!==n){let e=n[t];(0,i.ZB7)(r,e)}return r}updateDOM(e,t,r){return e.__tag!==this.__tag}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,i.sby)(t)){this.isEmpty()&&t.append((0,i.A$M)().createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e);let r=this.getDirection();r&&(t.dir=r)}return{element:t}}updateFromJSON(e){return super.updateFromJSON(e).setTag(e.tag)}exportJSON(){return{...super.exportJSON(),tag:this.getTag()}}insertNewAfter(e,t=!0){let r=e?e.anchor.offset:0,n=this.getLastDescendant(),o=n&&(!e||e.anchor.key!==n.getKey()||r!==n.getTextContentSize())&&e?et(this.getTag()):(0,i.lJ7)(),a=this.getDirection();if(o.setDirection(a),this.insertAfter(o,t),0===r&&!this.isEmpty()&&e){let e=(0,i.lJ7)();e.select(),this.replace(e,!0)}return o}collapseAtStart(){if(this.isEmpty()){let e=(0,i.lJ7)();
1this.getChildren().forEach(t=>e.append(t)),this.replace(e)}return!0}extractWithChild(){return!0}}function Y(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function Q(e){let t=e.nodeName.toLowerCase(),r=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(r=et(t),(0,i.dxY)(e,r),(0,i.Sz2)(r,e),(0,i.q3P)(r,e)),{node:r}}function ee(e){let t=G();return(0,i.Sz2)(t,e),(0,i.dxY)(e,t),(0,i.q3P)(t,e),{node:t}}function et(e="h1"){return(0,i.pTq)(new X(e))}function er(e){let t=(0,i.xL4)(e);return(0,i.Cyw)(t)}function en(e,t,r,n){let o=!1,a=null;if(e.isCollapsed()&&"text"===e.anchor.type){let t=e.anchor.getNode();if((0,i.kFe)(t)){a=t;let n=e.anchor.offset,i=n===t.getTextContentSize()&&null===t.getNextSibling(),l=0===n&&null===t.getPreviousSibling();o="end"===r&&i||"start"===r&&l||"both"===r&&(i||l)}}let l=!1;for(let[r,s]of Object.entries(n))if(null!=s&&s[t]){if(s.onlyAtBoundary){if(!(o&&a&&(0,i.kFe)(a)&&a.hasFormat(r)))continue;l=!0}e.hasFormat(r)&&e.toggleFormat(r)}l&&e.setStyle("")}let eo={capitalize:{enter:!0,space:!0,tab:!0},lowercase:{enter:!0,space:!0,tab:!0},uppercase:{enter:!0,space:!0,tab:!0}};function ei(e,t){return function(e,t){if(!e.isCollapsed())return!1;let r=(0,i.Ave)(e.focus,t),n=(0,i.BtT)(r.origin,i.TQ);if(!n)return!1;let o=e.focus.getNode();if(!n.is(o)&&!(0,i.ELr)(o,n))return!1;let a=(0,i.TJt)(r,(0,i.IlV)(n,t));if(a.getTextSlices().some(e=>e&&e.getTextContentSize()>0))return!1;let l=(0,i.TJt)(a.anchor.getSiblingCaret(),a.focus),s=l.anchor.origin;for(let e of l){if(!(0,i.OpE)(e)||!e.origin.is(s.getParent()))return!1;s=e.origin}let u=n;for(let e of(0,i.mWO)((0,i.IlV)(n,t))){if(!e.origin.is(u.getParent())){if((0,i.jj2)(e.origin)){let e=(0,i.IlV)(u,t);return(0,i.xQ8)((0,i.TJt)(e,e)),!0}break}if(!(0,i.TQ)(e.origin))break;u=e.origin}return!1}(e,t)||function(e,t){if(!e.isCollapsed()||"element"!==e.anchor.type)return!1;let r=(0,i.Ave)(e.anchor,t).getNodeAtCaret();return!(!(0,i.TQ)(r)||r.isInline()||((0,i.xQ8)((0,i.sWS)((0,i.lSZ)((0,i.uwZ)(r,t)))),0))}(e,t)}function ea(e){return(0,i.Cyw)(e)&&!e.isInline()&&!e.isIsolated()&&e.isKeyboardSelectable()}function el(e){let t=(0,i.rUs)();t.add(e),(0,i.n1P)(t)}function es(e,t){if(!e.isCollapsed())return!1;let r=e.focus,n=r.getNode(),o=t?"previous":"next",a=(0,i.Ave)(r,o);if("element"===r.type&&(0,i.ff4)(n)&&(0,i.IqF)(n)){let e=a.getNodeAtCaret();return!(null===e||!ea(e))&&(el(e.__key),!0)}let l=(0,i.BtT)((0,i.ff4)(n)?n:n.getParentOrThrow(),e=>(0,i.ff4)(e)&&!e.isInline()&&(0,i.IqF)(e.getParent()));if(null===l)return!1;let s=(0,i.IlV)(l,o).getNodeAtCaret();if(null===s||!ea(s))return!1;if(0===l.getTextContentSize())return el(s.__key),!0;let u=(0,i.i0_)().getRootElement();if(null===u)return!1;let c=(0,i.peL)(u.ownerDocument.defaultView);if(null===c||0===c.rangeCount)return!1;let f=c.anchorNode,p=c.anchorOffset,d=c.focusNode,h=c.focusOffset;c.modify("move",t?"backward":"forward","line");let g=c.anchorNode,b=c.anchorOffset;if(null===g)return eu(c,f,p,d,h),!1;let v=(0,i.xL4)(g);return eu(c,f,p,d,h),null!==v&&(g===f&&b===p?(el(s.__key),!0):!v.is(l)&&!(0,i.ELr)(v,l)&&(el(s.__key),!0))}function eu(e,t,r,n,o){null!==t&&null!==n&&e.setBaseAndExtent(t,r,n,o)}function ec(e,t){if(!e.isCollapsed())return!1;let r=e.focus.getNode(),n=(0,i.BtT)((0,i.ff4)(r)?r:r.getParentOrThrow(),e=>(0,i.ff4)(e)&&!e.isInline());if(null===n)return!1;let o=(0,i.i0_)(),a=o.getRootElement();if(null===a)return!1;let l=a.ownerDocument.defaultView;if(null===l)return!1;let s=!1;for(let e of n.getChildren())if((0,i.ff4)(e)&&e.isInline()){let t=o.getElementByKey(e.getKey());if(null!==t){let e=l.getComputedStyle(t).display;if("inline-grid"===e||"inline-flex"===e){s=!0;break}}}if(!s)return!1;let u=(0,i.IlV)(n,t?"previous":"next").getNodeAtCaret();if(null===u||!(0,i.ff4)(u)){if(t){let e=n.getFirstDescendant();(0,i.kFe)(e)?e.select(0,0):n.select(0,0)}else{let e=n.getLastDescendant();if((0,i.kFe)(e)){let t=e.getTextContentSize();e.select(t,t)}else{let e=n.getChildrenSize();n.select(e,e)}}return!0}let c=o.getElementByKey(u.getKey());if(null===c)return!1;let f=(0,i.peL)(l);if(null===f||0===f.rangeCount)return!1;let p=f.getRangeAt(0).cloneRange();p.collapse(!0);let d=p.getBoundingClientRect(),h=c.getBoundingClientRect(),g=h.top+h.height/2;if(d.height>0){let t=E(d.left,g,a);if(null!==t&&c.contains(t.node)){let r=a.ownerDocument.createRange();return r.setStart(t.node,t.offset),r.collapse(!0),e.applyDOMRange(r),e.dirty=!0,!0}}let b=t?u.getLastDescendant():u.getFirstDescendant();if((0,i.kFe)(b)){let e=t?b.getTextContentSize():0;b.select(e,e)}else{let e=u.getChildrenSize();u.select(t?e:0,t?e:0)}return!0}function ef(e,t){let r=(0,i.IlV)(e,t),n=r.getAdjacentCaret();null!==n&&(0,i.ff4)(n.origin)&&!n.origin.isInline()&&n.origin.isShadowRoot()?(0,i.xQ8)((0,i.sWS)(r)):"next"===t?e.selectNext(0,0):e.selectPrevious()}function ep(e,t,r){r.preventDefault(),r.stopPropagation();let n=e.getNodes();if(0===n.length)return!0;let o=n.map(e=>(0,i.IlV)(e,"next")).sort(i.AcB),a=(t?o[0]:o[o.length-1]).origin,l=(0,i.BtT)(a,e=>e!==a&&(0,i.ff4)(e)&&!e.isInline())??(0,i.NiT)(),s=t?0:l.getChildrenSize();return l.select(s,s),!0}function ed(e,t=(0,s.vP)(eo)){return(0,i.Sdt)(e.registerCommand(i.d8p,()=>{let e=(0,i.vJq)();return(0,i.RTZ)(e)?(e.clear(),!0):((0,i.I2P)(e)&&en(e,"click","both",t.peek()),!1)},i.jZM),e.registerCommand(i.WuB,e=>{let t=(0,i.vJq)();return(0,i.I2P)(t)?(t.deleteCharacter(e),!0):!!(0,i.RTZ)(t)&&(t.deleteNodes(),!0)},i.jZM),e.registerCommand(i.hi0,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.deleteWord(e),!0)},i.jZM),e.registerCommand(i.viC,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.deleteLine(e),!0)},i.jZM),e.registerCommand(i.bM3,t=>{let r=(0,i.vJq)();if("string"==typeof t)null!==r&&r.insertText(t);else{if(null===r)return!1;let n=t.dataTransfer;if(null!=n)P(n,r,e);else if((0,i.I2P)(r)){let e=t.data;return e&&r.insertText(e),!0}}return!0},i.jZM),e.registerCommand(i.$ey,()=>{let e=(0,i.vJq)();return!!(0,i.I2P)(e)&&(e.removeText(),!0)},i.jZM),e.registerCommand(i.mB,e=>{let t=(0,i.vJq)();return!(!(0,i.I2P)(t)&&!(0,i.RTZ)(t))&&((0,i.hVL)(t,e),!0)},i.jZM),e.registerCommand(i.hkE,e=>{let t=(0,i.vJq)();return!(!(0,i.I2P)(t)&&!(0,i.RTZ)(t))&&((0,i.Htb)(t,e),!0)},i.jZM),e.registerCommand(i.fUS,e=>{let t=(0,i.vJq)();if(!(0,i.I2P)(t)&&!(0,i.RTZ)(t))return!1;for(let r of t.getNodes()){let t=(0,i.BtT)(r,e=>(0,i.ff4)(e)&&!e.isInline());null!==t&&t.setFormat(e)}return!0},i.jZM),e.registerCommand(i.FEN,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.insertLineBreak(e),!0)},i.jZM),e.registerCommand(i.XKQ,()=>{let e=(0,i.vJq)();return!!(0,i.I2P)(e)&&(e.insertParagraph(),!0)},i.jZM),e.registerCommand(i.YW5,()=>{let e=(0,i.ev7)(),t=(0,i.vJq)();return(0,i.I2P)(t)&&(e.setFormat(t.format),e.setStyle(t.style)),(0,i.H2A)([e]),!0},i.jZM),e.registerCommand(i.PiT,()=>(0,_.Jy)(e=>{let t=e.getIndent();e.setIndent(t+1)}),i.jZM),e.registerCommand(i.sik,()=>(0,_.Jy)(e=>{let t=e.getIndent();t>0&&e.setIndent(Math.max(0,t-1))}),i.jZM),e.registerCommand(i.UDz,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t)){let r=t.getNodes();if(r.length>0)return e.preventDefault(),ef(r[0],"previous"),!0}else if((0,i.I2P)(t)&&(function(e){let t=e.focus;return"root"===t.key&&0===t.offset}(t)||!e.shiftKey&&ei(t,"previous")||!e.shiftKey&&es(t,!0)||!e.shiftKey&&ec(t,!0)))return e.preventDefault(),!0;return!1},i.jZM),e.registerCommand(i.bbF,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t)){let r=t.getNodes();if(r.length>0)return e.preventDefault(),ef(r[0],"next"),!0}else if((0,i.I2P)(t)&&(function(e){let t=e.focus;return"root"===t.key&&t.offset===(0,i.NiT)().getChildrenSize()}(t)||!e.shiftKey&&ei(t,"next")||!e.shiftKey&&es(t,!1)||!e.shiftKey&&ec(t,!1)))return e.preventDefault(),!0;return!1},i.jZM),e.registerCommand(i.AX0,e=>{let r=(0,i.vJq)();if((0,i.RTZ)(r)){let t=r.getNodes();if(t.length>0)return e.preventDefault(),ef(t[0],(0,w.dt)(t[0])?"next":"previous"),!0}if(!(0,i.I2P)(r))return!1;if(!e.shiftKey&&ei(r,(0,w.dt)(r.anchor.getNode())?"next":"previous"))return e.preventDefault(),!0;if(e.shiftKey||en(r,"arrow","start",t.peek()),(0,w.Cb)(r,!0)){let t=e.shiftKey;return e.preventDefault(),(0,w.Rk)(r,t,!0),!0}return!1},i.jZM),e.registerCommand(i.JM3,e=>{let r=(0,i.vJq)();if((0,i.RTZ)(r)){let t=r.getNodes();if(t.length>0)return e.preventDefault(),ef(t[0],(0,w.dt)(t[0])?"previous":"next"),!0}if(!(0,i.I2P)(r))return!1;if(!e.shiftKey&&ei(r,(0,w.dt)(r.anchor.getNode())?"previous":"next"))return e.preventDefault(),!0;if(e.shiftKey||en(r,"arrow","end",t.peek()),(0,w.Cb)(r,!1)){let t=e.shiftKey;return e.preventDefault(),(0,w.Rk)(r,t,!1),!0}return!1},i.jZM),e.registerCommand(i.gCZ,t=>{let r=(0,i.vJq)();if(!(0,i.RTZ)(r)&&er(t.target))return!1;if((0,i.I2P)(r)){if(function(e){if(!e.isCollapsed())return!1;let{anchor:t}=e;if(0!==t.offset)return!1;let r=t.getNode();if((0,i.hVZ)(r))return!1;let n=(0,_.mB)(r);return n.getIndent()>0&&(n.is(r)||r.is(n.getFirstDescendant()))}(r))return t.preventDefault(),e.dispatchCommand(i.sik);if(i.pz6&&i.aT4)return!1}else if(!(0,i.RTZ)(r))return!1;return t.preventDefault(),e.dispatchCommand(i.WuB,!0)},i.jZM),e.registerCommand(i.w$Z,t=>{let r=(0,i.vJq)();return!(!(0,i.RTZ)(r)&&er(t.target))&&!(!(0,i.I2P)(r)&&!(0,i.RTZ)(r))&&(t.preventDefault(),e.dispatchCommand(i.WuB,!1))},i.jZM),e.registerCommand(i.RTo,r=>{let n=(0,i.vJq)();if((0,i.RTZ)(n)){let e=n.getNodes();1===e.length&&(0,i.Cyw)(e[0])&&!e[0].isInline()&&(n=e[0].selectNext())}if(!(0,i.I2P)(n))return!1;if(en(n,"enter","both",t.peek()),null!==r){if((i.pz6||i.YwR||i.DzG)&&i.aT4)return!1;if(r.preventDefault(),r.shiftKey)return e.dispatchCommand(i.FEN,!1)}return e.dispatchCommand(i.XKQ)},i.jZM),e.registerCommand(i.Q$N,()=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(e.blur(),!0)},i.jZM),e.registerCommand(i.Sr4,t=>{let[,r]=(0,_.gA)(t);if(r.length>0){let n=E(t.clientX,t.clientY,e.getRootElement());if(null!==n){let{offset:t,node:o}=n,a=(0,i.xL4)(o);if(null!==a){let e=(0,i.uTE)();if((0,i.kFe)(a))e.anchor.set(a.getKey(),t,"text"),e.focus.set(a.getKey(),t,"text");else{let t=a.getParentOrThrow().getKey(),r=a.getIndexWithinParent()+1;e.anchor.set(t,r,"element"),e.focus.set(t,r,"element")}let r=(0,i.CaD)(e);(0,i.n1P)(r)}e.dispatchCommand(q,r)}return t.preventDefault(),!0}return function(e,t,r){let n=e.dataTransfer;if(null===n)return!1;let o=function(e){var t;let r,n=e.getData(F);if(!n)return null;try{r=JSON.parse(n)}catch(e){return null}return null!==(t=r)&&"object"==typeof t&&"editorKey"in t&&"string"==typeof t.editorKey?r:null}(n);if(null===o)return!1;let a=function(e,t){let r=E(e.clientX,e.clientY,t.getRootElement());if(null===r)return null;let n=(0,i.xL4)(r.node);
1if(null===n)return null;if((0,i.kFe)(n))return(0,i.T8n)(n,"next",r.offset);if((0,i.ff4)(n))return(0,i.hdR)(n,r.offset,"next");let o=n.getParent();return null===o?null:(0,i.hdR)(o,n.getIndexWithinParent()+1,"next")}(e,t);if(null===a)return!1;let l=(0,i.k1Q)(a);if(null===l)return!1;let s=o.editorKey===t.getKey(),u=(0,i.vJq)();if(s){if(!(0,i.I2P)(u)||u.isCollapsed())return!1;if(function(e,t){let{anchor:r,focus:n}=(0,i.NZv)((0,i.$iu)(t),"next");return 0>(0,i.AcB)(r,e)&&0>(0,i.AcB)(e,n)}(a,u))return e.preventDefault(),!0;u.removeText()}if(!l.origin.isAttached())return e.preventDefault(),!0;if(r(n,(0,i.xQ8)((0,i.sWS)(l)),t),!s){let e=t.getRootElement(),r=e?e.ownerDocument:null,n=r?function(e,t){for(let r of(0,i.CMH)(t)){let t=(0,i.lue)(r);if((0,i.Uqh)(t)&&t.getKey()===e&&(0,i.sby)(r))return r}return null}(o.editorKey,r):null;null!==n&&n.dispatchEvent(new InputEvent("beforeinput",{bubbles:!0,cancelable:!0,inputType:"deleteByDrag"}))}return e.preventDefault(),!0}(t,e,P)},i.jZM),e.registerCommand(i.TgX,t=>{let[r]=(0,_.gA)(t),n=(0,i.vJq)();return!(r&&!(0,i.I2P)(n))&&((0,i.I2P)(n)&&!n.isCollapsed()&&null!==t.dataTransfer&&($(t.dataTransfer,z(n)),function(e,t){let r={editorKey:t.getKey()};e.setData(F,JSON.stringify(r))}(t.dataTransfer,e)),!0)},i.jZM),e.registerCommand(i.riq,t=>{let[r]=(0,_.gA)(t),n=(0,i.vJq)();if(r&&!(0,i.I2P)(n))return!1;let o=E(t.clientX,t.clientY,e.getRootElement());if(null!==o){let e=(0,i.xL4)(o.node);(0,i.Cyw)(e)&&t.preventDefault()}return!0},i.jZM),e.registerCommand(i.HYn,()=>{let e=(0,i.vJq)();return(0,i.e1k)((0,i.I2P)(e)&&null!==(0,i.ex6)(e.anchor.getNode())?e:null),!0},i.jZM),e.registerCommand(i.u5G,t=>(B(e,(0,_.xj)(t,ClipboardEvent)?t:null),!0),i.jZM),e.registerCommand(i.VSO,t=>((async function(e,t){await B(t,(0,_.xj)(e,ClipboardEvent)?e:null),t.update(()=>{let e=(0,i.vJq)();(0,i.I2P)(e)?e.removeText():(0,i.RTZ)(e)&&e.getNodes().forEach(e=>e.remove())},{tag:i.Ap3})})(t,e),!0),i.jZM),e.registerCommand(i.waI,t=>{let[,r,n]=(0,_.gA)(t);return r.length>0&&!n?(e.dispatchCommand(q,r),!0):!((0,i.vAA)(t.target)&&(0,i.Pl0)(t.target))&&null!==(0,i.vJq)()&&(t.preventDefault(),e.update(()=>{let r=(0,i.vJq)(),n=(0,_.xj)(t,InputEvent)||(0,_.xj)(t,KeyboardEvent)?null:t.clipboardData;null!=n&&null!==r&&P(n,r,e)},{tag:i.fwY}),!0)},i.jZM),e.registerCommand(i.Huu,()=>{let e=(0,i.vJq)();return(0,i.I2P)(e)&&en(e,"space","both",t.peek()),!1},i.jZM),e.registerCommand(i.OXk,()=>{let e=(0,i.vJq)();return(0,i.I2P)(e)&&en(e,"tab","both",t.peek()),!1},i.jZM),e.registerCommand(i.A6j,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t))return ep(t,!1,e);if(!(0,i.I2P)(t))return!1;let{anchor:r}=t;if("element"!==r.type||0!==r.offset)return!1;let n=r.getNode();if(!(0,i.ff4)(n))return!1;let o=n.getFirstChild();if(!(0,i.Cyw)(o)||!o.isInline())return!1;let a=n.getKey(),l=n.selectEnd();return e.shiftKey&&l.anchor.set(a,0,"element"),e.preventDefault(),e.stopPropagation(),!0},i.jZM),e.registerCommand(i.RpX,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t))return ep(t,!0,e);if(!(0,i.I2P)(t))return!1;let{anchor:r,focus:n}=t,o=(0,i.BtT)(n.getNode(),e=>(0,i.ff4)(e)&&!e.isInline());if(null===o)return!1;let a=o.getFirstChild();if(!(0,i.Cyw)(a)||!a.isInline()||(0,i.BtT)(r.getNode(),e=>(0,i.ff4)(e)&&!e.isInline())!==o)return!1;let l=o.getKey();return("element"!==n.type||n.key!==l||0!==n.offset)&&(t.focus.set(l,0,"element"),e.shiftKey||t.anchor.set(l,0,"element"),e.preventDefault(),e.stopPropagation(),!0)},i.jZM))}let eh=i.qxK?o.useLayoutEffect:o.useEffect;function eg({editor:e,ErrorBoundary:t}){let[r,n]=(0,o.useState)(()=>e.getDecorators());return eh(()=>e.registerDecoratorListener(e=>{(0,c.flushSync)(()=>{n(e)})}),[e]),(0,o.useEffect)(()=>{n(e.getDecorators())},[e]),(0,o.useMemo)(()=>{let n=[],i=Object.keys(r);for(let a=0;a<i.length;a++){let l=i[a],s=(0,f.jsx)(t,{onError:t=>e._onError(t),children:(0,f.jsx)(o.Suspense,{fallback:null,children:r[l]})}),u=e.getElementByKey(l);null!==u&&n.push((0,c.createPortal)(s,u,l))}return n},[t,r,e])}function eb({editor:e,ErrorBoundary:t}){return!function(e){let t=s.iZ.maybeFromEditor(e);if(t&&t.hasExtensionByName(u.name)){for(let e of["@lexical/plain-text","@lexical/rich-text"])t.hasExtensionByName(e)&&function(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let e of(n.append("code",320),t))n.append("v",e);throw r.search=n.toString(),Error(`Minified Lexical error #${320}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(320,e);return!0}return!1}(e)?(0,f.jsx)(eg,{editor:e,ErrorBoundary:t}):null}function ev(e){return e.read("latest",(0,p.yl)(e.isComposing()))}function ey({contentEditable:e,placeholder:t=null,ErrorBoundary:r}){var o;let[a]=(0,n.DF)();return eh(()=>(0,i.Sdt)(ed(o),v(o)),[o=a]),(0,f.jsxs)(f.Fragment,{children:[e,(0,f.jsx)(em,{content:t}),(0,f.jsx)(eb,{editor:a,ErrorBoundary:r})]})}function em({content:e}){let[t]=(0,n.DF)(),r=function(e){let[t,r]=(0,o.useState)(()=>ev(e));return eh(()=>{function t(){r(ev(e))}return t(),(0,i.Sdt)(e.registerUpdateListener(()=>{t()}
1),e.registerEditableListener(()=>{t()}))},[e]),t}(t),s=function(){let[e]=(0,n.DF)(),t=(0,o.useMemo)(()=>l(e),[e,l]),[r,i]=(0,o.useState)(()=>t.initialValueFn()),s=(0,o.useRef)(r);return a(()=>{let{initialValueFn:e,subscribe:r}=t,n=e();return s.current!==n&&(s.current=n,i(n)),r(e=>{s.current=e,i(e)})},[t,l]),r}();return r?"function"==typeof e?e(s):e:null}},80632:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(e){return e&&e.__esModule?e:{default:e}}(r(62618));function i(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var a=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span",r=o.default.Component;if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);function a(){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var r,l,s,u=arguments.length,c=Array(u),f=0;f<u;f++)c[f]=arguments[f];return l=s=i(this,(r=a.__proto__||Object.getPrototypeOf(a)).call.apply(r,[this].concat(c))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return o.default.createElement(t,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},o.default.createElement(e,n({},s.props,s.state)))},i(s,l)}return a.prototype=Object.create(r&&r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(a,r):a.__proto__=r),a};t.default=a},81404:(e,t,r)=>{var n=r(87735),o=r(70007),i=r(53239);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},81706:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},81814:(e,t,r)=>{var n=r(98758),o=r(70706),i=r(46821),a=r(47386),l=r(7818),s=r(29585),u=r(97241);e.exports=function(e,t){return a(e)&&l(t)?s(u(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},82925:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},83599:(e,t,r)=>{t.H8=void 0;var n=u(r(45668)),o=u(r(92369)),i=u(r(47810)),a=u(r(94704)),l=u(r(80632)),s=u(r(54455));function u(e){return e&&e.__esModule?e:{default:e}}a.default,t.H8=a.default,l.default,s.default,t.Ay=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];var l=(0,n.default)(r),s=(0,o.default)(e,l);return(0,i.default)(s)}},84239:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},85330:(e,t,r)=>{var n=r(98154),o=r(28482);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},87735:(e,t,r)=>{var n=r(12492),o=r(10444),i=r(1145),a=r(76909),l=r(20957);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},89116:(e,t,r)=>{var n=r(13045);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=!!t,t}},89217:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},90051:(e,t,r)=>{e.exports=r(96283)["__core-js_shared__"]},90226:(e,t,r)=>{var n=r(9243),o=r(97241);e.exports=function(e,t){t=n(t,e);for(var r=0,i=t.length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},90588:(e,t,r)=>{e.exports=r(63011)(Object.keys,Object)},91135:(e,t,r)=>{var n=r(45951),o=r(93048);e.exports=function(e,t){return e&&n(e,o(t))}},91952:(e,t,r)=>{var n=r(92200),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;e.exports=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)}),t})},92200:(e,t,r)=>{var n=r(16298);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},92313:(e,t,r)=>{e.exports=r(28338)(r(96283),"Set")},92369:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=a(r(91135)),o=a(r(77269)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,o.default)(e.default)||{};return t.map(function(t){var o=e[t];return o&&(0,n.default)(o,function(e,t){r[t]||(r[t]={}),r[t]=i({},r[t],o[t])}),t}),r};t.default=l},93022:(e,t,r)=>{e.exports=r(96283).Uint8Array},93048:(e,t,r)=>{var n=r(78464);e.exports=function(e){return"function"==typeof e?e:n}},93165:(e,t,r)=>{var n=r(47655);e.exports=function(e){return n(this.__data__,e)>-1}},94121:(e,t,r)=>{var n=r(98154),o=r(73841),i=r(28482),a=Object.prototype,l=Function.prototype.toString,s=a.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},94704:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(e){return e&&e.__esModule?e:{default:e}}(r(62618));function i(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var a=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span",r=o.default.Component;if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);function a(){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var r,l,s,u=arguments.length,c=Array(u),f=0;f<u;f++)c[f]=arguments[f];return l=s=i(this,(r=a.__proto__||Object.getPrototypeOf(a)).call.apply(r,[this].concat(c))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return o.default.createElement(t,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},o.default.createElement(e,n({},s.props,s.state)))},i(s,l)}return a.prototype=Object.create(r&&r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(a,r):a.__proto__=r),a};t.default=a},95035:(e,t,r)=>{let n,o,i;r.d(t,{Bw:()=>ei,PL:()=>er,QZ:()=>A,SY:()=>en,XT:()=>R,cP:()=>G,fS:()=>ee,fU:()=>V,iZ:()=>q,jX:()=>P,v:()=>M,vA:()=>c,vP:()=>x,vw:()=>el,xT:()=>K});var a=r(22368),l=r(72183);let s=Symbol.for("preact-signals");function u(){if(d>1)return void d--;let e,t=!1;for(!function(){let e=p;for(p=void 0;void 0!==e;)e.S.v===e.v&&(e.S.i=e.i),e=e.o}();void 0!==o;){let r=o;for(o=void 0,h++;void 0!==r;){let n=r.u;if(r.u=void 0,r.f&=-3,!(8&r.f)&&w(r))try{r.c()}catch(r){t||(e=r,t=!0)}r=n}}if(h=0,d--,t)throw e}function c(e){if(d>0)return e();b=++g,d++;try{return e()}finally{u()}}function f(e){let t=n;n=void 0;try{return e()}finally{n=t}}let p,d=0,h=0,g=0,b=0,v=0;function y(e){if(void 0===n)return;let t=e.n;return void 0===t||t.t!==n?(t={i:0,S:e,p:n.s,n:void 0,t:n,e:void 0,x:void 0,r:t},void 0!==n.s&&(n.s.n=t),n.s=t,e.n=t,32&n.f&&e.S(t),t):-1===t.i?(t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=n.s,t.n=void 0,n.s.n=t,n.s=t),t):void 0}function m(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function x(e,t){return new m(e,t)}function w(e){for(let t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function _(e){for(let t=e.s;void 0!==t;t=t.n){let r=t.S.n;if(void 0!==r&&(t.r=r),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function E(e){let t,r=e.s;for(;void 0!==r;){let e=r.p;-1===r.i?(r.S.U(r),void 0!==e&&(e.n=r.n),void 0!==r.n&&(r.n.p=e)):t=r,r.S.n=r.r,void 0!==r.r&&(r.r=void 0),r=e}e.s=t}function S(e,t){m.call(this,void 0),this.x=e,this.s=void 0,this.g=v-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function C(e){let t=e.m;if(e.m=void 0,"function"==typeof t){d++;let r=n;n=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,k(e),t}finally{n=r,u()}}}function k(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,C(e)}function j(e){if(n!==this)throw Error("Out-of-order effect");E(this),n=e,this.f&=-2,8&this.f&&k(this),u()}function O(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name}function A(e,t){let r=new O(e,t);try{r.c()}catch(e){throw r.d(),e}let n=r.d.bind(r);return n[Symbol.dispose]=n,n}function M(e,t={}){let r={};for(let n in e){let o=t[n],i=x(void 0===o?e[n]:o);r[n]=i}return r}function R(e){let t=new Set,r=new Set;for(let n of T(e)){let e="function"==typeof n?n:n.replace;(0,a.TSH)(e),t.add(e.getType()),r.add(e)}return{nodes:r,types:t}}function T(e){return("function"==typeof e.nodes?e.nodes():e.nodes)||[]}function P(e,t){let r;return x(e(),{unwatched(){r&&(r(),r=void 0)},watched(){this.value=e(),r=t(this)}})}m.prototype.brand=s,m.prototype.h=function(){return!0},m.prototype.S=function(e){let t=this.t;t!==e&&void 0===e.e&&(e.x=t,this.t=e,void 0!==t?t.e=e:f(()=>{var e;null==(e=this.W)||e.call(this)}))},m.prototype.U=function(e){if(void 0!==this.t){let t=e.e,r=e.x;void 0!==t&&(t.x=r,e.e=void 0),void 0!==r&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r,void 0===r&&f(()=>{var e;null==(e=this.Z)||e.call(this)}))}},m.prototype.subscribe=function(e){return A(()=>{let t=this.value,r=n;n=void 0;try{e(t)}finally{n=r}},{name:"sub"})},m.prototype.valueOf=function(){return this.value},m.prototype.toString=function(){return this.value+""},m.prototype.toJSON=function(){return this.value},m.prototype.peek=function(){let e=n;n=void 0;try{return this.value}finally{n=e}},Object.defineProperty(m.prototype,"value",{get(){let e=y(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(h>100)throw Error("Cycle detected");0!==d&&0===h&&this.l!==b&&(this.l=b,p={S:this,v:this.v,i:this.i,o:p}),this.v=e,this.i++,v++,d++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{u()}}}}),S.prototype=new m,S.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f)||(this.f&=-5,this.g===v))return!0;
1if(this.g=v,this.f|=1,this.i>0&&!w(this))return this.f&=-2,!0;let e=n;try{_(this),n=this;let e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return n=e,E(this),this.f&=-2,!0},S.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(let e=this.s;void 0!==e;e=e.n)e.S.S(e)}m.prototype.S.call(this,e)},S.prototype.U=function(e){if(void 0!==this.t&&(m.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(let e=this.s;void 0!==e;e=e.n)e.S.U(e)}},S.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(S.prototype,"value",{get(){if(1&this.f)throw Error("Cycle detected");let e=y(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),O.prototype.c=function(){let e=this.S();try{if(8&this.f||void 0===this.x)return;let e=this.x();"function"==typeof e&&(this.m=e)}finally{e()}},O.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,C(this),_(this),d++;let e=n;return n=this,j.bind(this,e)},O.prototype.N=function(){2&this.f||(this.f|=2,this.u=o,o=this)},O.prototype.d=function(){this.f|=8,1&this.f||k(this)},O.prototype.dispose=function(){this.d()},a.Kp7;let F=(0,a.vE9)({build:e=>P(()=>e.getEditorState(),t=>e.registerUpdateListener(e=>{t.value=e.editorState})),name:"@lexical/extension/EditorState"});function N(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let r of(n.append("code",e),t))n.append("v",r);throw r.search=n.toString(),Error(`Minified Lexical error #${e}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}try{i="0.49.0+prod.esm"}catch(e){}let D=i??'"<unknown>+source"',B=new Set(["__proto__","constructor","prototype"]),I=new Set;class L{builder;configs;_dependency;_peerNameSet;extension;state;_signal;constructor(e,t){this.builder=e,this.extension=t,this.configs=new Set,this.state={id:0}}mergeConfigs(){let e=this.extension.config||{},t=this.extension.mergeConfig?this.extension.mergeConfig.bind(this.extension):a.Tc1;for(let r of this.configs)e=t(e,r);return e}init(e){let t,r=this.state;2===r.id||N(306,String(r.id));let n={getDependency:this.getInitDependency.bind(this),getDirectDependentNames:this.getDirectDependentNames.bind(this),getPeer:this.getInitPeer.bind(this),getPeerNameSet:this.getPeerNameSet.bind(this)},o={...n,getDependency:this.getDependency.bind(this),getInitResult:this.getInitResult.bind(this),getPeer:this.getPeer.bind(this)},i=Object.assign(r,{config:this.mergeConfigs(),id:3,registerState:n});this.state=i,this.extension.init&&(t=this.extension.init(e,i.config,n)),this.state=Object.assign(i,{id:4,initResult:t,registerState:o})}build(e){let t,r=this.state;4!==r.id&&N(307,String(r.id),String(5)),this.extension.build&&(t=this.extension.build(e,r.config,r.registerState));let n={...r.registerState,getOutput:()=>t,getSignal:this.getSignal.bind(this)};this.state=Object.assign(r,{id:5,output:t,registerState:n})}register(e,t){this._signal=t;let r=this.state;5!==r.id&&N(308,String(r.id),String(5));let n=this.extension.register&&this.extension.register(e,r.config,r.registerState);return this.state=Object.assign(r,{id:6}),()=>{let e=this.state;7!==e.id&&N(309,String(r.id),String(7)),this.state=Object.assign(e,{id:5}),n&&n()}}afterRegistration(e){let t,r=this.state;return 6!==r.id&&N(310,String(r.id),String(6)),this.extension.afterRegistration&&(t=this.extension.afterRegistration(e,r.config,r.registerState)),this.state=Object.assign(r,{id:7}),t}getSignal(){return void 0===this._signal&&N(311),this._signal}getInitResult(){void 0===this.extension.init&&N(312,this.extension.name);let e=this.state;return e.id>=4||N(313,String(e.id),String(4)),e.initResult}getInitPeer(e){let t=this.builder.extensionNameMap.get(e);return t?t.getExtensionInitDependency():void 0}getExtensionInitDependency(){let e=this.state;return e.id>=3||N(314,String(e.id),String(3)),{config:e.config}}getPeer(e){let t=this.builder.extensionNameMap.get(e);return t?t.getExtensionDependency():void 0}getInitDependency(e){let t=this.builder.getExtensionRep(e);return void 0===t&&N(315,this.extension.name,e.name),t.getExtensionInitDependency()}getDependency(e){let t=this.builder.getExtensionRep(e);return void 0===t&&N(315,this.extension.name,e.name),t.getExtensionDependency()}getState(){let e=this.state;return e.id>=7||N(316,String(e.id),String(7)),e}getDirectDependentNames(){return this.builder.incomingEdges.get(this.extension.name)||I}getPeerNameSet(){let e=this._peerNameSet;
1return e||(e=new Set((this.extension.peerDependencies||[]).map(([e])=>e)),this._peerNameSet=e),e}getExtensionDependency(){if(!this._dependency){let e=this.state;e.id>=5||N(317,this.extension.name),this._dependency={config:e.config,init:e.initResult,output:e.output}}return this._dependency}}let z={tag:a.T40};function $(){let e=(0,a.NiT)();e.isEmpty()&&e.append((0,a.lJ7)())}let H=(0,a.vE9)({config:(0,a.lVE)({setOptions:z,updateOptions:z}),init:({$initialEditorState:e=$})=>({$initialEditorState:e,initialized:!1}),afterRegistration(e,{updateOptions:t,setOptions:r},n){let o=n.getInitResult();if(!o.initialized){o.initialized=!0;let{$initialEditorState:n}=o;if((0,a.v0B)(n))e.setEditorState(n,r);else if("function"==typeof n)e.update(()=>{n(e)},t);else if(n&&("string"==typeof n||"object"==typeof n)){let t=e.parseEditorState(n);e.setEditorState(t,r)}}return()=>{}},name:"@lexical/extension/InitialState",nodes:[a.haT,a.Ey8,a.GRK,a.MZu,a.fD3]}),U=Symbol.for("@lexical/extension/LexicalBuilder");function W(){}function J(e){throw e}function Z(e){return Array.isArray(e)?e:[e]}class q{roots;extensionNameMap;outgoingConfigEdges;incomingEdges;conflicts;_sortedExtensionReps;PACKAGE_VERSION;constructor(e){for(let t of(this.outgoingConfigEdges=new Map,this.incomingEdges=new Map,this.extensionNameMap=new Map,this.conflicts=new Map,this.PACKAGE_VERSION=D,this.roots=e,e))this.addExtension(t)}static fromExtensions(e){let t=[Z(H)];for(let r of e)t.push(Z(r));return new q(t)}static maybeFromEditor(e){let t=e[U];return t&&(t.PACKAGE_VERSION!==D&&N(292,t.PACKAGE_VERSION,D),t instanceof q||N(293)),t}static fromEditor(e){let t=q.maybeFromEditor(e);return void 0===t&&N(294),t}constructEditor(){let{$initialEditorState:e,onError:t,onWarn:r,...n}=this.buildCreateEditorArgs(),o=Object.assign((0,a.ieJ)({...n,...t?{onError:e=>{t(e,o)}}:{},...r?{onWarn:e=>{r(e,o)}}:{}}),{[U]:this});for(let e of this.sortedExtensionReps())e.build(o);return o}buildEditor(){let e=W;function t(){try{e()}finally{e=W}}let r=Object.assign(this.constructEditor(),{dispose:t,[Symbol.dispose]:t});
1return e=(0,a.Sdt)(this.registerEditor(r),()=>r.setRootElement(null)),r}hasExtensionByName(e){return this.extensionNameMap.has(e)}getExtensionRep(e){let t=this.extensionNameMap.get(e.name);if(t)return t.extension!==e&&N(295,e.name),t}addEdge(e,t,r){let n=this.outgoingConfigEdges.get(e);n?n.set(t,r):this.outgoingConfigEdges.set(e,new Map([[t,r]]));let o=this.incomingEdges.get(t);o?o.add(e):this.incomingEdges.set(t,new Set([e]))}addExtension(e){void 0!==this._sortedExtensionReps&&N(296);let[t]=Z(e);"string"!=typeof t.name&&N(297,typeof t.name);let r=this.extensionNameMap.get(t.name);if(void 0!==r&&r.extension!==t&&N(298,t.name),!r){r=new L(this,t),this.extensionNameMap.set(t.name,r);let e=this.conflicts.get(t.name);for(let r of("string"==typeof e&&N(299,t.name,e),t.conflictsWith||[]))this.extensionNameMap.has(r)&&N(299,t.name,r),this.conflicts.set(r,t.name);for(let e of t.dependencies||[]){let r=Z(e);this.addEdge(t.name,r[0].name,r.slice(1)),this.addExtension(r)}for(let[e,r]of t.peerDependencies||[])this.addEdge(t.name,e,r?[r]:[])}}sortedExtensionReps(){if(this._sortedExtensionReps)return this._sortedExtensionReps;let e=[],t=(r,n)=>{var o,i;let a=r.state;if(2===a.id)return;let l=r.extension.name;0===a.id||N(300,l,n||"[unknown]"),0===(o=a).id||N(304,String(o.id),String(0)),r.state=a=Object.assign(o,{id:1});let s=this.outgoingConfigEdges.get(l);if(s)for(let e of s.keys()){let r=this.extensionNameMap.get(e);r&&t(r,l)}1===(i=a).id||N(305,String(i.id),String(1)),r.state=a=Object.assign(i,{id:2}),e.push(r)};for(let e of this.extensionNameMap.values())0===e.state.id&&t(e);for(let t of e)for(let[e,r]of this.outgoingConfigEdges.get(t.extension.name)||[])if(r.length>0){let t=this.extensionNameMap.get(e);if(t)for(let e of r)t.configs.add(e)}for(let[e,...t]of this.roots)if(t.length>0){let r=this.extensionNameMap.get(e.name);for(let n of(void 0===r&&N(301,e.name),t))r.configs.add(n)}return this._sortedExtensionReps=e,this._sortedExtensionReps}registerEditor(e){let t=this.sortedExtensionReps(),r=new AbortController,n=[()=>r.abort()],o=r.signal;for(let r of t){let t=r.register(e,o);t&&n.push(t)}for(let r of t){let t=r.afterRegistration(e);t&&n.push(t)}return(0,a.Sdt)(...n)}buildCreateEditorArgs(){let e={},t=new Set,r=new Map,n=new Map,o={},i={},a=this.sortedExtensionReps();for(let l of a){let{extension:a}=l;if(void 0!==a.onError&&(e.onError=a.onError),void 0!==a.onWarn&&(e.onWarn=a.onWarn),void 0!==a.disableEvents&&(e.disableEvents=a.disableEvents),void 0!==a.parentEditor&&(e.parentEditor=a.parentEditor),void 0!==a.editable&&(e.editable=a.editable),void 0!==a.namespace&&(e.namespace=a.namespace),void 0!==a.$initialEditorState&&(e.$initialEditorState=a.$initialEditorState),a.nodes)for(let e of T(a)){if("function"!=typeof e){let t=r.get(e.replace);t&&N(302,a.name,e.replace.name,t.extension.name),r.set(e.replace,l)}t.add(e)}if(a.html){if(a.html.export)for(let[e,t]of a.html.export.entries())n.set(e,t);a.html.import&&Object.assign(o,a.html.import)}a.theme&&function e(t,r){if(t&&r&&!Array.isArray(r)&&"object"==typeof t&&"object"==typeof r){for(let n in r)!B.has(n)&&Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=e(t[n],r[n]));return t}return r}(i,a.theme)}Object.keys(i).length>0&&(e.theme=i),t.size&&(e.nodes=[...t]);let l=Object.keys(o).length>0,s=n.size>0;for(let t of((l||s)&&(e.html={},l&&(e.html.import=o),s&&(e.html.export=n)),a))t.init(e);return e.onError||(e.onError=J),e}}function K(e,t){let r=q.maybeFromEditor(e);if(!r)return;let n=r.extensionNameMap.get(t);return n?n.getExtensionDependency():void 0}function V(e){return function(e){var t=(0,a.i0_)();let r=q.fromEditor(t).getExtensionRep(e);return void 0===r&&N(303,e.name),r.getExtensionDependency()}(e).output}function G(e){return K((0,a.i0_)(),e)}let X=new Set,Y=(0,a.vE9)({build(e,t,r){let n=r.getDependency(F).output,o=x({watchedNodeKeys:new Map}),i=P(()=>{},()=>A(()=>{let e=i.peek(),{watchedNodeKeys:t}=o.value,r,l=!1;n.value.read(()=>{if((0,a.vJq)())for(let[n,o]of t.entries()){if(0===o.size){t.delete(n);continue}let i=(0,a.nsf)(n),s=i&&i.isSelected()||!1;l=l||s!==(!!e&&e.has(n)),s&&(r=r||new Set).add(n)}}),!l&&r&&e&&r.size===e.size||(i.value=r)}));
1return{watchNodeKey:function(e){let t=new S(()=>(i.value||X).has(e),void 0),{watchedNodeKeys:r}=o.peek(),n=r.get(e),a=void 0!==n;return(n=n||new Set).add(t),a||(r.set(e,n),o.value={watchedNodeKeys:r}),t}}},dependencies:[F],name:"@lexical/extension/NodeSelection"}),Q=(0,a.guI)("INSERT_HORIZONTAL_RULE_COMMAND");class ee extends a.Kp7{$config(){return this.config("horizontalrule",{importDOM:{hr:()=>({conversion:et,priority:0})}})}exportDOM(){return{element:(0,a.A$M)().createElement("hr")}}createDOM(e){let t=(0,a.A$M)().createElement("hr");return(0,a.ZB7)(t,e.theme.hr),t}getTextContent(){return"\n"}isInline(){return!1}updateDOM(){return!1}}function et(){return{node:er()}}function er(){return(0,a.phO)(ee)}let en=(0,a.vE9)({dependencies:[F,Y],name:"@lexical/extension/HorizontalRule",nodes:()=>[ee],register(e,t,r){let{watchNodeKey:n}=r.getDependency(Y).output,o=x({nodeSelections:new Map}),i=e._config.theme.hrSelected??"selected";return(0,a.Sdt)(e.registerCommand(Q,e=>{let t=(0,a.vJq)();if(!(0,a.I2P)(t))return!1;if(null!==t.focus.getNode()){let e=er();(0,l.Pe)(e)}return!0},a.jZM),e.registerCommand(a.d8p,e=>{if((0,a.vAA)(e.target)){let t=(0,a.pJU)(e.target);if(t instanceof ee)return function(e,t=!1){let r,n=(0,a.vJq)(),o=e.isSelected(),i=e.getKey();t&&(0,a.RTZ)(n)?r=n:(r=(0,a.rUs)(),(0,a.n1P)(r)),o?r.delete(i):r.add(i)}(t,e.shiftKey),!0}return!1},a.AcJ),e.registerMutationListener(ee,(t,r)=>{c(()=>{let r=!1,{nodeSelections:i}=o.peek();for(let[o,a]of t.entries())if("destroyed"===a)i.delete(o),r=!0;else{let t=i.get(o),a=e.getElementByKey(o);t?t.domNode.value=a:(r=!0,i.set(o,{domNode:x(a),selectedSignal:n(o)}))}r&&(o.value={nodeSelections:i})})}),A(()=>{let e=[];for(let{domNode:t,selectedSignal:r}of o.value.nodeSelections.values())e.push(A(()=>{let e=t.value;e&&(r.value?(0,a.ZB7)(e,i):(0,a.HEf)(e,i))}));return(0,a.Sdt)(...e)}))}});function eo(e){(0,a.ff4)(e)&&e.isInline()&&e.isEmpty()&&e.remove()}let ei=(0,a.vE9)({build:(e,t,r)=>M(t),config:(0,a.lVE)({disabled:!1}),name:"@lexical/NormalizeInlineElements",register:(e,t,r)=>{let n=r.getOutput();return A(()=>{if(!n.disabled.value){let t=[];for(let{klass:r,transforms:n}of e._nodes.values())r.prototype instanceof a.fGB&&r.prototype.isInline!==a.fGB.prototype.isInline&&(n.add(eo),t.push(()=>n.delete(eo)));return()=>t.forEach(e=>e())}})}}),ea=new Set([a.XI_,a.OQi]),el=(0,a.vE9)({build:(e,t,r)=>M(t),config:(0,a.lVE)({$fixFocusOverselection:function(){let e=(0,a.vJq)();if((0,a.I2P)(e)&&!e.isCollapsed()){let t=(0,a.NZv)((0,a.$iu)(e),"next"),r=t.focus;for((0,a.rN)(r)&&t.anchor.origin!==r.origin&&0===r.offset&&(r=(0,a.NG9)(r.getSiblingCaret())),(0,a.OpE)(r)&&t.anchor.origin!==r.origin&&(0,a.wH$)(r.origin)&&(r=(0,a.NG9)(r));(0,a.cmH)(r)&&t.anchor.origin!==r.origin;)r=(0,a.NG9)((0,a.IlV)(r.origin,"next"));if((0,a.OpE)(r)&&(0,a.ff4)(r.origin)&&(r=(0,a.lSZ)((0,a.uwZ)(r.origin,"previous")).getFlipped()),!(r=(0,a.lSZ)(r)).isSamePointCaret(t.focus)){let e=(0,a.xQ8)((0,a.TJt)(t.anchor,r)),n=(0,a.i0_)().getRootElement(),o=n&&(0,a.peL)(n.ownerDocument.defaultView);o&&(0,a.mYE)((0,a.S1w)(),e,(0,a.i0_)(),o,ea,n)}}},dateNow:Date.now,disabled:!1,thresholdMsec:100}),name:"@lexical/NormalizeTripleClickSelection",register:(e,t,r)=>A(()=>{let t=r.getOutput();if(!t.disabled.value)return e.registerRootListener(r=>{if(!r)return;let n=0,o=e=>{if(e?3===e.detail:n>0){let r=t.dateNow.peek()();n=e&&"mousedown"===e.type||r-n<=t.thresholdMsec.peek()?r:0}return n};return(0,a.Sdt)(e.registerCommand(a.MvL,()=>(o(null)&&(n=0,t.$fixFocusOverselection.peek()()),!1),a.xyu),(0,a.Nwr)(r,{mousedown:o,mouseup:o},!0))})})})},95050:(e,t,r)=>{var n=r(14218);e.exports=function(e){return null==e?"":n(e)}},95118:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},95216:(e,t,r)=>{e=r.nmd(e);var n=r(96283),o=r(95405),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?n.Buffer:void 0,s=l?l.isBuffer:void 0;e.exports=s||o},95405:e=>{e.exports=function(){return!1}},95573:(e,t,r)=>{var n=r(51930),o=r(73841),i=r(98623);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},95575:(e,t,r)=>{var n=r(95118),o=r(70731),i=r(53828),a=r(8531);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},96007:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},96235:(e,t,r)=>{var n=r(5548),o=r(16754),i=r(8531),a=r(95216),l=r(89217),s=r(29695),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),c=!r&&o(e),f=!r&&!c&&a(e),p=!r&&!c&&!f&&s(e),d=r||c||f||p,h=d?n(e.length,String):[],g=h.length;for(var b in e)(t||u.call(e,b))&&!(d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,g)))&&h.push(b);return h}},96283:(e,t,r)=>{var n=r(16942),o="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||o||Function("return this")()},96531:(e,t,r)=>{r.d(t,{Db:()=>s,Ou:()=>E});var n=r(95035),o=r(22368),i=r(61465),a=r(72183);let l=new Set(["http:","https:","mailto:","sms:","tel:"]);class s extends o.fGB{__url;__target;__rel;__title;$config(){return this.config("link",{extends:o.fGB,importDOM:{a:()=>({conversion:p,priority:1})}})}constructor(e="",t={},r){super(r);let{target:n=null,rel:o=null,title:i=null}=t;this.__url=e,this.__target=n,this.__rel=o,this.__title=i}afterCloneFrom(e){super.afterCloneFrom(e),this.__url=e.__url,this.__rel=e.__rel,this.__target=e.__target,this.__title=e.__title}createDOM(e){let t=(0,o.A$M)().createElement("a");return this.updateLinkDOM(null,t,e),(0,o.ZB7)(t,e.theme.link),t}updateLinkDOM(e,t,r){if((0,o.nYP)(t))for(let r of(e&&e.__url===this.__url||(t.href=this.sanitizeUrl(this.__url)),["target","rel","title"])){let n=`__${r}`,o=this[n];e&&e[n]===o||(o?t[r]=o:t.removeAttribute(r))}}updateDOM(e,t,r){return this.updateLinkDOM(e,t,r),!1}updateFromJSON(e){return super.updateFromJSON(e).setURL(e.url).setRel(e.rel||null).setTarget(e.target||null).setTitle(e.title||null)}sanitizeUrl(e){let t=e;e=w(e);try{let t=new URL(w(e));if(!l.has(t.protocol))return"about:blank"}catch(r){let e=t.replace(/[\u0000-\u001F\u007F\s]/g,"").match(/^([a-z][a-z0-9+.-]*):/i);if(null!=e&&!l.has(`${e[1].toLowerCase()}:`))return"about:blank"}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),url:this.getURL()}}getURL(){return this.getLatest().__url}setURL(e){let t=this.getWritable();return t.__url=e,t}getTarget(){return this.getLatest().__target}setTarget(e){let t=this.getWritable();return t.__target=e,t}getRel(){return this.getLatest().__rel}setRel(e){let t=this.getWritable();return t.__rel=e,t}getTitle(){return this.getLatest().__title}setTitle(e){let t=this.getWritable();return t.__title=e,t}insertNewAfter(e,t=!0){let r=(0,o.CHU)(this);return this.insertAfter(r,t),r}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,r){if(!(0,o.I2P)(t))return!1;let n=t.anchor.getNode(),i=t.focus.getNode();return(this.is(n)||this.isParentOf(n))&&(this.is(i)||this.isParentOf(i))&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}shouldMergeAdjacentLink(e){return this.getType()===e.getType()&&this.__url===e.__url&&this.__target===e.__target&&this.__rel===e.__rel&&this.__title===e.__title}}function u(e){let t=(0,o.Ave)(e,"next");return[t,t.getFlipped()]}function c(e,t){for(let r of t)if(r.origin.isAttached()){let t=(0,o.lSZ)(r);return void(0,o.wp6)(e,t)}}function f(e){let t=(0,o.vJq)(),r=null,n=null;function i(){(0,o.I2P)(t)&&(c(t.anchor,r),c(t.focus,n),(0,o.CaD)(t))}(0,o.I2P)(t)&&(r=u(t.anchor),n=u(t.focus));let a=!1;for(let t of(0,o.uwZ)(e,"next")){let r=t.origin;if((0,o.ff4)(r)&&!r.isInline()){let n=r.getChildren();if(n.length>0){let t=(0,o.CHU)(e);t.append(...n),r.append(t),a=!0}(0,o.rdQ)(r,(0,o.NG9)(t),{$shouldSplit:()=>!1})}}function l(e,t,r){let[n,i]=e,a=e=>(0,o.OpE)(e)&&e.origin.is(t);if(!a(n)&&!a(i))return e;let l=(0,o.lSZ)((0,o.uwZ)(r,"next"));return[l,l.getFlipped()]}if(e.isAttached()){let t=e.getPreviousSibling();if(h(t)&&t.shouldMergeAdjacentLink(e))return r&&(r=l(r,t,e)),n&&(n=l(n,t,e)),t.append(...e.getChildren()),e.remove(),void i();let o=e.getNextSibling();h(o)&&e.shouldMergeAdjacentLink(o)&&(r&&(r=l(r,e,o)),n&&(n=l(n,e,o)),e.append(...o.getChildren()),o.remove(),a=!0)}if(a){if(!e.canBeEmpty()&&e.isEmpty()){let t=e.getParent();e.remove(),t&&t.isEmpty()&&t.remove()}i()}}function p(e){let t=null;if((0,o.nYP)(e)){let r=e.textContent;(null!==r&&""!==r||e.children.length>0)&&(t=d(e.getAttribute("href")||"",{rel:e.getAttribute("rel"),target:e.getAttribute("target"),title:e.getAttribute("title")}))}return{node:t}}function d(e="",t){return(0,o.pTq)(new s(e,t))}function h(e){return e instanceof s}class g extends s{__isUnlinked;constructor(e="",t={},r){super(e,t,r),this.__isUnlinked=void 0!==t.isUnlinked&&null!==t.isUnlinked&&t.isUnlinked}afterCloneFrom(e){super.afterCloneFrom(e),this.__isUnlinked=e.__isUnlinked}$config(){return this.config("autolink",{extends:s})}shouldMergeAdjacentLink(e){return!1}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){let t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?(0,o.A$M)().createElement("span"):super.createDOM(e)}updateDOM(e,t,r){return super.updateDOM(e,t,r)||e.__isUnlinked!==this.__isUnlinked}updateFromJSON(e){return super.updateFromJSON(e).setIsUnlinked(e.isUnlinked||!1)}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked}}insertNewAfter(e,t=!0){let r=function(e="",t){return(0,o.pTq)(new g(e,t))}(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(r,t),r}}function b(e){return e instanceof g}let v=(0,o.guI)("TOGGLE_LINK_COMMAND");function y(e,t){if("element"===e.type){let r=e.getNode();return(0,o.ff4)(r)||function(e,...t){let r=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let e of(n.append("code",252),t))n.append("v",e);throw r.search=n.toString(),Error(`Minified Lexical error #${252}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(252),r.getChildren()[e.offset+t]||null}return null}function m(e,t={}){let r;if(e&&"object"==typeof e){let{url:n,...o}=e;r=n,t={...o,...t}}else r=e;let{target:n,title:i}=t,a=void 0===t.rel?"noreferrer":t.rel,l=(0,o.vJq)();if(null===l||!(0,o.I2P)(l)&&!(0,o.RTZ)(l))return;if((0,o.RTZ)(l)){let e=l.getNodes();if(0===e.length)return;
1return void e.forEach(e=>{if(null===r){let t=(0,o.BtT)(e,e=>!b(e)&&h(e));t&&(t.insertBefore(e),0===t.getChildren().length&&t.remove())}else{let t=(0,o.BtT)(e,e=>!b(e)&&h(e));if(t)t.setURL(r),void 0!==n&&t.setTarget(n),void 0!==a&&t.setRel(a);else{let t=d(r,{rel:a,target:n});e.insertBefore(t),t.append(e)}}})}if(l.isCollapsed()&&null===r)for(let e of l.getNodes()){let t=(0,o.BtT)(e,e=>!b(e)&&h(e));return void(null!==t&&(t.getParentOrThrow().splice(t.getIndexWithinParent(),0,t.getChildren()),t.remove()))}let s=l.extract();if(null===r){let e=new Set;return void s.forEach(t=>{let r=(0,o.BtT)(t,e=>!b(e)&&h(e));if(null!==r){let t=r.getKey();if(e.has(t))return;!function(e,t){let r=new Set(t.filter(t=>e.isParentOf(t)).map(e=>e.getKey())),n=e.getChildren(),i=n=>r.has(n.getKey())||(0,o.ff4)(n)&&t.some(t=>e.isParentOf(t)&&n.isParentOf(t)),a=n.filter(i);if(a.length===n.length)return n.forEach(t=>e.insertBefore(t)),e.remove();let l=n.findIndex(i),s=n.findLastIndex(i),u=s===n.length-1;if(0===l)a.forEach(t=>e.insertBefore(t));else if(u)for(let t=a.length-1;t>=0;t--)e.insertAfter(a[t]);else{for(let t=a.length-1;t>=0;t--)e.insertAfter(a[t]);let t=n.slice(s+1);if(t.length>0){let r=(0,o.CHU)(e);a[a.length-1].insertAfter(r),t.forEach(e=>r.append(e))}}}(r,s),e.add(t)}})}let u=new Set,c=e=>{u.has(e.getKey())||(u.add(e.getKey()),e.setURL(r),void 0!==n&&e.setTarget(n),void 0!==a&&e.setRel(a),void 0!==i&&e.setTitle(i))};if(1===s.length){let e=s[0],t=(0,o.BtT)(e,h);if(null!==t)return c(t)}!function(e){let t=(0,o.vJq)();if(!(0,o.I2P)(t))return e();let r=(0,o.CaD)(t),n=r.isBackward(),i=y(r.anchor,n?-1:0),a=y(r.focus,n?0:-1);if(e(),i||a){let e=(0,o.vJq)();if((0,o.I2P)(e)){let t=e.clone();if(i){let e=i.getParent();e&&t.anchor.set(e.getKey(),i.getIndexWithinParent()+ +!!n,"element")}if(a){let e=a.getParent();e&&t.focus.set(e.getKey(),a.getIndexWithinParent()+ +!n,"element")}(0,o.n1P)((0,o.CaD)(t))}}}(()=>{let e=null;for(let t of s){if(!t.isAttached())continue;let l=(0,o.BtT)(t,h);if(l){c(l);continue}if((0,o.ff4)(t)){if(!t.isInline())continue;if(h(t)){if(!(b(t)||null!==e&&e.getParentOrThrow().isParentOf(t))){c(t),e=t;continue}for(let e of t.getChildren())t.insertBefore(e);t.remove();continue}}let s=t.getPreviousSibling();h(s)&&s.is(e)?s.append(t):(e=d(r,{rel:a,target:n,title:i}),t.insertAfter(e),e.append(t))}})}let x=/^\+?[0-9\s()-]{5,}$/;function w(e){return e.match(/^[a-z][a-z0-9+.-]*:/i)||e.match(/^[/#.]/)?e:e.includes("@")?`mailto:${e}`:x.test(e)?`tel:${e}`:`https://${e}`}let _=[(0,i.Bu)({$import:(e,t)=>{if(!t.textContent&&0===t.children.length)return[];let r=t.getAttribute("href")||"",n={rel:t.getAttribute("rel"),target:t.getAttribute("target"),title:t.getAttribute("title")};return(0,i.Ah)(e.$importChildren(t),()=>d(r,n))},match:i.VR.tag("a"),name:"@lexical/link/a"})];function E(e,t){return(0,o.Sdt)(e.registerNodeTransform(s,f),e.registerCommand(v,e=>{let r=t.validateUrl.peek(),n=t.attributes.peek();if(null===e)return m(null),!0;if("string"==typeof e)return!(void 0!==r&&!r(e))&&(m(e,n),!0);{let{url:t,target:r,rel:o,title:i}=e;return m(t,{...n,rel:o,target:r,title:i}),!0}},o.jZM),(0,n.QZ)(()=>{let r=t.validateUrl.value;if(!r)return;let n=t.attributes.value;return e.registerCommand(o.waI,t=>{let i=(0,o.vJq)();if(!(0,o.I2P)(i)||i.isCollapsed()||!(0,a.xj)(t,ClipboardEvent)||null===t.clipboardData)return!1;let l=t.clipboardData.getData("text");return!!r(l)&&!i.getNodes().some(e=>(0,o.ff4)(e)||(0,o.kFe)(e)&&!e.isSimpleText())&&(e.dispatchCommand(v,{...n,url:l}),t.preventDefault(),!0)},o.AcJ)}))}i._e,i.Zj;!function(e,t=e=>e){}(/(([^<>()[\]\\.,;:\s@"]{1,64}(\.[^<>()[\]\\.,;:\s@"]{1,64}){0,63})|(".{1,255}"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]{1,63}\.){1,127}[a-zA-Z]{2,63}))/,e=>`mailto:${e}`)},97097:(e,t,r)=>{var n=r(96235),o=r(51913),i=r(2788);e.exports=function(e){return i(e)?n(e,!0):o(e)}},97241:(e,t,r)=>{var n=r(65106),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},97243:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},97587:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},98154:(e,t,r)=>
1{var n=r(15639),o=r(20355),i=r(75088),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},98623:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},98758:(e,t,r)=>{var n=r(51676),o=r(28482);e.exports=function e(t,r,i,a,l){return t===r||(null!=t&&null!=r&&(o(t)||o(r))?n(t,r,i,a,e,l):t!=t&&r!=r)}},99139:(e,t,r)=>{r.d(t,{Cb:()=>f,Rk:()=>d,SD:()=>s,dt:()=>l,zT:()=>o});var n=r(22368);function o(e,t){let r=e.getRootElement();if(null===r)return[];let n=r.getBoundingClientRect(),o=getComputedStyle(r),i=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),a=Array.from(t.getClientRects()),l,s=a.length;a.sort((e,t)=>{let r=e.top-t.top;return 3>=Math.abs(r)?e.left-t.left:r});for(let e=0;e<s;e++){let t=a[e],r=l&&l.top<=t.top&&l.top+l.height>t.top&&l.left+l.width>t.left,o=t.width+i===n.width;r||o?(a.splice(e--,1),s--):l=t}return a}function i(e){let t=(0,n.i0_)().getElementByKey(e.getKey());if(null===t)return null;let r=t.ownerDocument.defaultView;return null===r?null:r.getComputedStyle(t)}function a(e){return i((0,n.hVZ)(e)?e:e.getParentOrThrow())}function l(e){let t=a(e);return null!==t&&"rtl"===t.direction}function s(e,t,r="self"){let o=e.getStartEndPoints();if(t.isSelected(e)&&!(0,n.Rb_)(t)&&null!==o){let[i,a]=o,l=e.isBackward(),s=i.getNode(),u=a.getNode(),c=t.is(s),f=t.is(u);if(c||f){let[o,i]=(0,n.Cku)(e),a=s.is(u),c=t.is(l?u:s),f=t.is(l?s:u),p,d=0;a?(d=o>i?i:o,p=o>i?o:i):c?(d=l?i:o,p=void 0):f&&(d=0,p=l?o:i);let h=t.__text.slice(d,p);h!==t.__text&&("clone"===r&&(t=(0,n.U5P)(t)),t.__text=h)}}return t}function u(e){let t=c(e);return null!==t&&"vertical-rl"===t.writingMode}function c(e){let t=e.anchor.getNode();return(0,n.ff4)(t)?i(t):a(t)}function f(e,t){let r=u(e)?!t:t;p(e)&&(r=!r);let o=(0,n.Ave)(e.focus,r?"previous":"next");if((0,n.pGK)(o))return!1;if((0,n.rN)(o)&&!(0,n.MK6)(o.origin)&&o.origin.isUnmergeable()){let e=o.getNodeAtCaret();if((0,n.kFe)(e)&&!(0,n.MK6)(e))return!0}for(let e of(0,n.mWO)(o)){if((0,n.cmH)(e))return!e.origin.isInline();if(!(0,n.ff4)(e.origin)){if((0,n.Cyw)(e.origin))return!0;break}}return!1}function p(e){let t=c(e);return null!==t&&"rtl"===t.direction}function d(e,t,r){let n,o=p(e);n=u(e)||o?!r:r,e.modify(t?"extend":"move",n,"character")}},99514:(e,t,r)=>{var n=r(98623),o=r(90588),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.