box-annotations 4.1.1-beta.5 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,2 @@
1
- !function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=284)}([function(e,t,n){"use strict";e.exports=n(378)},function(e,t,n){"use strict";n(119);var r=n(266);n.d(t,"createStore",function(){return r.a});var o=n(18);n.o(o,"CreatorStatus")&&n.d(t,"CreatorStatus",function(){return o.CreatorStatus}),n.o(o,"Mode")&&n.d(t,"Mode",function(){return o.Mode}),n.o(o,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return o.fetchAnnotationsAction}),n.o(o,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return o.fetchCollaboratorsAction}),n.o(o,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return o.getActiveAnnotationId}),n.o(o,"getAnnotation")&&n.d(t,"getAnnotation",function(){return o.getAnnotation}),n.o(o,"getAnnotationMode")&&n.d(t,"getAnnotationMode",function(){return o.getAnnotationMode}),n.o(o,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return o.getAnnotationsForLocation}),n.o(o,"getCollaborators")&&n.d(t,"getCollaborators",function(){return o.getCollaborators}),n.o(o,"getColor")&&n.d(t,"getColor",function(){return o.getColor}),n.o(o,"getCreatorCursor")&&n.d(t,"getCreatorCursor",function(){return o.getCreatorCursor}),n.o(o,"getCreatorMessage")&&n.d(t,"getCreatorMessage",function(){return o.getCreatorMessage}),n.o(o,"getCreatorReferenceId")&&n.d(t,"getCreatorReferenceId",function(){return o.getCreatorReferenceId}),n.o(o,"getCreatorStagedForLocation")&&n.d(t,"getCreatorStagedForLocation",function(){return o.getCreatorStagedForLocation}),n.o(o,"getCreatorStatus")&&n.d(t,"getCreatorStatus",function(){return o.getCreatorStatus}),n.o(o,"getFileId")&&n.d(t,"getFileId",function(){return o.getFileId}),n.o(o,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return o.getIsCurrentFileVersion}),n.o(o,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return o.getIsPromoting}),n.o(o,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return o.getIsSelecting}),n.o(o,"getRotation")&&n.d(t,"getRotation",function(){return o.getRotation}),n.o(o,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return o.getSelectionForLocation}),n.o(o,"isCreatorStagedDrawing")&&n.d(t,"isCreatorStagedDrawing",function(){return o.isCreatorStagedDrawing}),n.o(o,"isCreatorStagedHighlight")&&n.d(t,"isCreatorStagedHighlight",function(){return o.isCreatorStagedHighlight}),n.o(o,"isCreatorStagedRegion")&&n.d(t,"isCreatorStagedRegion",function(){return o.isCreatorStagedRegion}),n.o(o,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return o.removeAnnotationAction}),n.o(o,"resetCreatorAction")&&n.d(t,"resetCreatorAction",function(){return o.resetCreatorAction}),n.o(o,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return o.setActiveAnnotationIdAction}),n.o(o,"setColorAction")&&n.d(t,"setColorAction",function(){return o.setColorAction}),n.o(o,"setCursorAction")&&n.d(t,"setCursorAction",function(){return o.setCursorAction}),n.o(o,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return o.setIsInitialized}),n.o(o,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return o.setIsPromotingAction}),n.o(o,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return o.setIsSelectingAction}),n.o(o,"setMessageAction")&&n.d(t,"setMessageAction",function(){return o.setMessageAction}),n.o(o,"setReferenceIdAction")&&n.d(t,"setReferenceIdAction",function(){return o.setReferenceIdAction}),n.o(o,"setRotationAction")&&n.d(t,"setRotationAction",function(){return o.setRotationAction}),n.o(o,"setScaleAction")&&n.d(t,"setScaleAction",function(){return o.setScaleAction}),n.o(o,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return o.setSelectionAction}),n.o(o,"setStagedAction")&&n.d(t,"setStagedAction",function(){return o.setStagedAction}),n.o(o,"setStatusAction")&&n.d(t,"setStatusAction",function(){return o.setStatusAction}),n.o(o,"toggleAnnotationModeAction")&&n.d(t,"toggleAnnotationModeAction",function(){return o.toggleAnnotationModeAction});var i=n(45);n.d(t,"Mode",function(){return i.a}),n.d(t,"getAnnotationMode",function(){return i.c}),n.d(t,"getColor",function(){return i.d}),n.d(t,"setColorAction",function(){return i.e}),n.d(t,"toggleAnnotationModeAction",function(){return i.f});var a=n(19);n.d(t,"CreatorStatus",function(){return a.a}),n.d(t,"getCreatorCursor",function(){return a.c}),n.d(t,"getCreatorMessage",function(){return a.d}),n.d(t,"getCreatorReferenceId",function(){return a.e}),n.d(t,"getCreatorStagedForLocation",function(){return a.g}),n.d(t,"getCreatorStatus",function(){return a.h}),n.d(t,"isCreatorStagedDrawing",function(){return a.i}),n.d(t,"isCreatorStagedHighlight",function(){return a.j}),n.d(t,"isCreatorStagedRegion",function(){return a.k}),n.d(t,"resetCreatorAction",function(){return a.l}),n.d(t,"setCursorAction",function(){return a.m}),n.d(t,"setMessageAction",function(){return a.n}),n.d(t,"setReferenceIdAction",function(){return a.o}),n.d(t,"setStagedAction",function(){return a.p}),n.d(t,"setStatusAction",function(){return a.q});var u=n(120);n.o(u,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return u.fetchAnnotationsAction}),n.o(u,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return u.fetchCollaboratorsAction}),n.o(u,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return u.getActiveAnnotationId}),n.o(u,"getAnnotation")&&n.d(t,"getAnnotation",function(){return u.getAnnotation}),n.o(u,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return u.getAnnotationsForLocation}),n.o(u,"getCollaborators")&&n.d(t,"getCollaborators",function(){return u.getCollaborators}),n.o(u,"getFileId")&&n.d(t,"getFileId",function(){return u.getFileId}),n.o(u,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return u.getIsCurrentFileVersion}),n.o(u,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return u.getIsPromoting}),n.o(u,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return u.getIsSelecting}),n.o(u,"getRotation")&&n.d(t,"getRotation",function(){return u.getRotation}),n.o(u,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return u.getSelectionForLocation}),n.o(u,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return u.removeAnnotationAction}),n.o(u,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return u.setActiveAnnotationIdAction}),n.o(u,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return u.setIsInitialized}),n.o(u,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return u.setIsPromotingAction}),n.o(u,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return u.setIsSelectingAction}),n.o(u,"setRotationAction")&&n.d(t,"setRotationAction",function(){return u.setRotationAction}),n.o(u,"setScaleAction")&&n.d(t,"setScaleAction",function(){return u.setScaleAction}),n.o(u,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return u.setSelectionAction});var s=n(23);n.o(s,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return s.fetchAnnotationsAction}),n.o(s,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return s.fetchCollaboratorsAction}),n.o(s,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return s.getActiveAnnotationId}),n.o(s,"getAnnotation")&&n.d(t,"getAnnotation",function(){return s.getAnnotation}),n.o(s,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return s.getAnnotationsForLocation}),n.o(s,"getCollaborators")&&n.d(t,"getCollaborators",function(){return s.getCollaborators}),n.o(s,"getFileId")&&n.d(t,"getFileId",function(){return s.getFileId}),n.o(s,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return s.getIsCurrentFileVersion}),n.o(s,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return s.getIsPromoting}),n.o(s,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return s.getIsSelecting}),n.o(s,"getRotation")&&n.d(t,"getRotation",function(){return s.getRotation}),n.o(s,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return s.getSelectionForLocation}),n.o(s,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return s.removeAnnotationAction}),n.o(s,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return s.setActiveAnnotationIdAction}),n.o(s,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return s.setIsInitialized}),n.o(s,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return s.setIsPromotingAction}),n.o(s,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return s.setIsSelectingAction}),n.o(s,"setRotationAction")&&n.d(t,"setRotationAction",function(){return s.setRotationAction}),n.o(s,"setScaleAction")&&n.d(t,"setScaleAction",function(){return s.setScaleAction}),n.o(s,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return s.setSelectionAction});var c=n(192);n.o(c,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return c.fetchAnnotationsAction}),n.o(c,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return c.fetchCollaboratorsAction}),n.o(c,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return c.getActiveAnnotationId}),n.o(c,"getAnnotation")&&n.d(t,"getAnnotation",function(){return c.getAnnotation}),n.o(c,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return c.getAnnotationsForLocation}),n.o(c,"getCollaborators")&&n.d(t,"getCollaborators",function(){return c.getCollaborators}),n.o(c,"getFileId")&&n.d(t,"getFileId",function(){return c.getFileId}),n.o(c,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return c.getIsCurrentFileVersion}),n.o(c,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return c.getIsPromoting}),n.o(c,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return c.getIsSelecting}),n.o(c,"getRotation")&&n.d(t,"getRotation",function(){return c.getRotation}),n.o(c,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return c.getSelectionForLocation}),n.o(c,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return c.removeAnnotationAction}),n.o(c,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return c.setActiveAnnotationIdAction}),n.o(c,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return c.setIsInitialized}),n.o(c,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return c.setIsPromotingAction}),n.o(c,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return c.setIsSelectingAction}),n.o(c,"setRotationAction")&&n.d(t,"setRotationAction",function(){return c.setRotationAction}),n.o(c,"setScaleAction")&&n.d(t,"setScaleAction",function(){return c.setScaleAction}),n.o(c,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return c.setSelectionAction});var l=n(121);n.o(l,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return l.fetchAnnotationsAction}),n.o(l,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return l.fetchCollaboratorsAction}),n.o(l,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return l.getActiveAnnotationId}),n.o(l,"getAnnotation")&&n.d(t,"getAnnotation",function(){return l.getAnnotation}),n.o(l,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return l.getAnnotationsForLocation}),n.o(l,"getCollaborators")&&n.d(t,"getCollaborators",function(){return l.getCollaborators}),n.o(l,"getFileId")&&n.d(t,"getFileId",function(){return l.getFileId}),n.o(l,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return l.getIsCurrentFileVersion}),n.o(l,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return l.getIsPromoting}),n.o(l,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return l.getIsSelecting}),n.o(l,"getRotation")&&n.d(t,"getRotation",function(){return l.getRotation}),n.o(l,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return l.getSelectionForLocation}),n.o(l,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return l.removeAnnotationAction}),n.o(l,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return l.setActiveAnnotationIdAction}),n.o(l,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return l.setIsInitialized}),n.o(l,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return l.setIsPromotingAction}),n.o(l,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return l.setIsSelectingAction}),n.o(l,"setRotationAction")&&n.d(t,"setRotationAction",function(){return l.setRotationAction}),n.o(l,"setScaleAction")&&n.d(t,"setScaleAction",function(){return l.setScaleAction}),n.o(l,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return l.setSelectionAction})},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"N",function(){return o}),n.d(t,"M",function(){return i}),n.d(t,"r",function(){return a}),n.d(t,"v",function(){return u}),n.d(t,"t",function(){return s}),n.d(t,"u",function(){return c}),n.d(t,"s",function(){return l}),n.d(t,"H",function(){return p}),n.d(t,"I",function(){return h}),n.d(t,"J",function(){return g}),n.d(t,"K",function(){return v}),n.d(t,"L",function(){return y}),n.d(t,"a",function(){return m}),n.d(t,"b",function(){return b}),n.d(t,"c",function(){return w}),n.d(t,"d",function(){return S}),n.d(t,"i",function(){return x}),n.d(t,"j",function(){return k}),n.d(t,"k",function(){return E}),n.d(t,"e",function(){return O}),n.d(t,"f",function(){return _}),n.d(t,"g",function(){return A}),n.d(t,"h",function(){return C}),n.d(t,"l",function(){return I}),n.d(t,"m",function(){return j}),n.d(t,"n",function(){return P}),n.d(t,"o",function(){return L}),n.d(t,"p",function(){return D}),n.d(t,"q",function(){return M}),n.d(t,"x",function(){return R}),n.d(t,"A",function(){return N}),n.d(t,"B",function(){return F}),n.d(t,"w",function(){return B}),n.d(t,"z",function(){return z}),n.d(t,"y",function(){return U}),n.d(t,"F",function(){return K}),n.d(t,"C",function(){return V}),n.d(t,"E",function(){return q}),n.d(t,"D",function(){return H}),n.d(t,"G",function(){return W});var r=n(270),o="folder_",i="file_",a="Accept",u="Content-Type",s="X-Box-Client-Name",c="X-Box-Client-Version",l="Accept-Language",f="permissions",d=("".concat(f,".can_share"),"".concat(f,".can_upload"),"metadata"),p=("".concat(d,".").concat("global",".").concat("boxSkillsCards"),"".concat(d,".").concat("global",".").concat("properties"),"".concat(d,".").concat("enterprise",".").concat("securityClassification-6VMVochwUWo"),"can_create_annotations"),h="can_delete",g="can_edit",v="can_resolve",y="can_view_annotations",m="https://api.box.com",b="https://upload.box.com",w="https://upload.app.box.com",S=25,x="fetch_annotation_error",k="fetch_annotations_error",E="fetch_replies_error",O="create_annotation_error",_="create_reply_error",A="delete_annotation_error",C="edit_annotation_error",T=r.a.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]",I=("".concat("[3d][pdf][text][mp3][json]").concat("[jpg?dimensions=1024x1024&paged=false]").concat("[jpg?dimensions=2048x2048,png?dimensions=2048x2048]").concat(T),"boxcanvas"),j="boxnote",P="gdoc",L="gsheet",D="gslides",M="gslide",R=("[jpg?dimensions=".concat("1024x1024","&paged=false,png?dimensions=").concat("1024x1024","][pdf][text]"),"GET"),N="POST",F="PUT",B="DELETE",z="OPTIONS",U="HEAD",K=401,V=409,q=429,H=500,W={arrowDown:"ArrowDown",arrowLeft:"ArrowLeft",arrowRight:"ArrowRight",arrowUp:"ArrowUp",backspace:"Backspace",enter:"Enter",escape:"Escape",space:" "}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return de}),n.d(t,"b",function(){return pe}),n.d(t,"c",function(){return we}),n.d(t,"d",function(){return ge}),n.d(t,"e",function(){return le});var r=n(4),v=n.n(r),o=n(35),y=n.n(o);function c(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function m(e){return e&&e[W]}function b(t){return t&&(function(){if(t&&"object"==typeof t){var e=Object.getPrototypeOf(t);return!e||e===Object.prototype}}()||Array.isArray(t)||t[H]||t.constructor[H]||i(t)||a(t))}function w(n,r){0===f(n)?G(n).forEach(function(e){return r(e,n[e],n)}):n.forEach(function(e,t){return r(t,e,n)})}function f(e){var t=e[W];return t?3<t.i?t.i-4:t.i:Array.isArray(e)?1:i(e)?2:a(e)?3:0}function S(e,t){return 2===f(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){return 2===f(e)?e.get(t):e[t]}function x(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e){return U&&e instanceof Map}function a(e){return K&&e instanceof Set}function k(e){return e.o||e.t}function u(r,o){if(void 0===o&&(o=!1),Array.isArray(r))return r.slice();var i=Object.create(Object.getPrototypeOf(r));return w(r,function(e){if(e!==W){var t=Object.getOwnPropertyDescriptor(r,e),n=t.value;t.get&&(o||c(1),n=t.get.call(r)),t.enumerable?i[e]=n:Object.defineProperty(i,e,{value:n,writable:!0,configurable:!0})}}),i}function l(e,t){m(e)||Object.isFrozen(e)||!b(e)||(1<f(e)&&(e.set=e.add=e.clear=e.delete=s),Object.freeze(e),t&&w(e,function(e,t){return l(t,!0)}))}function s(){c(2)}function p(e){var t=$[e];return t||c(19,e),t}function E(e,t){$[e]=t}function O(){return B}function h(e,t){t&&(p("Patches"),e.u=[],e.s=[],e.v=t)}function g(e){_(e),e.p.forEach(C),e.p=null}function _(e){e===B&&(B=e.l)}function A(e){return B={p:[],l:B,h:e,m:!0,_:0}}function C(e){var t=e[W];0===t.i||1===t.i?t.j():t.O=!0}function T(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||p("ES5").S(t,e,r),r?(n[W].P&&(g(t),c(4)),b(e)&&(e=I(t,e),t.l||P(t,e)),t.u&&p("Patches").M(n[W],e,t.u,t.s)):e=I(t,n,[]),g(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function I(n,r,o){if(Object.isFrozen(r))return r;var i=r[W];if(!i)return w(r,function(e,t){return j(n,i,r,e,t,o)}),r;if(i.A!==n)return r;if(!i.P)return P(n,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var a=4===i.i||5===i.i?i.o=u(i.k,!0):i.o;w(a,function(e,t){return j(n,i,a,e,t,o)}),P(n,a,!1),o&&n.u&&p("Patches").R(i,o,n.u,n.s)}return i.o}function j(e,t,n,r,o,i){if(m(o)){var a=I(e,o,i&&t&&3!==t.i&&!S(t.D,r)?i.concat(r):void 0);if(s=r,c=a,2===(l=f(u=n))?u.set(s,c):3===l?(u.delete(s),u.add(c)):u[s]=c,!m(a))return;e.m=!1}var u,s,c,l;if((!t||!x(o,d(t.t,r)))&&b(o)){if(!e.h.N&&e._<1)return;I(e,o),t&&t.A.l||P(e,o)}}function P(e,t,n){void 0===n&&(n=!1),e.h.N&&e.m&&l(t,n)}function L(e,t){var n=e[W],r=Reflect.getOwnPropertyDescriptor(n?k(n):e,t);return r&&r.value}function D(e){if(!e.P){if(e.P=!0,0===e.i||1===e.i){var n=e.o=u(e.t);w(e.p,function(e,t){n[e]=t}),e.p=void 0}e.l&&D(e.l)}}function M(e){e.o||(e.o=u(e.t))}function R(e,t,n){var r=i(t)?p("MapSet").T(t,n):a(t)?p("MapSet").F(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:O(),P:!1,I:!1,D:{},l:t,t:e,k:null,p:{},o:null,j:null,C:!1},o=r,i=Y;n&&(o=[r],i=Z);var a=Proxy.revocable(o,i),u=a.revoke,s=a.proxy;return r.k=s,r.j=u,s}(t,n):p("ES5").J(t,n);return(n?n.A:O()).p.push(r),r}function N(){function f(e,t){var n=e[W];if(!n||n.$)return e[t];n.$=!0;var r=e[t];return n.$=!1,r}function d(e){e.P||(e.P=!0,e.l&&d(e.l))}function p(e){e.o||(e.o=n(e.t))}function n(e){var t=e&&e[W];if(t){t.$=!0;var n=u(t.k,!0);return t.$=!1,n}return u(e)}function r(e){for(var t=e.length-1;0<=t;t--){var n=e[t][W];if(!n.P)switch(n.i){case 5:h(n)&&d(n);break;case 4:o(n)&&d(n)}}}function o(e){for(var t=e.t,n=e.k,r=Object.keys(n),o=r.length-1;0<=o;o--){var i=r[o],a=t[i];if(void 0===a&&!S(t,i))return 1;var u=n[i],s=u&&u[W];if(s?s.t!==a:!x(u,a))return 1}return r.length!==Object.keys(t).length}function h(e){var t=e.k;if(t.length!==e.t.length)return 1;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return n&&!n.get}function g(e){e.O&&c(3,JSON.stringify(k(e)))}var v={};E("ES5",{J:function(s,e){var c=Array.isArray(s),l=n(s);w(l,function(e){var t,n,r,o,i,a,u;t=l,n=e,r=c||(i=s,a=e,!(!(u=Object.getOwnPropertyDescriptor(i,a))||!u.enumerable)),(o=v[n])?o.enumerable=r:v[n]=o={enumerable:r,get:function(){return function(e,t){g(e);var n=f(k(e),t);return e.$?n:n===f(e.t,t)&&b(n)?(p(e),e.o[t]=R(e.A.h,n,e)):n}(this[W],n)},set:function(e){!function(e,t,n){if(g(e),e.D[t]=!0,!e.P){if(x(n,f(k(e),t)))return;d(e),p(e)}e.o[t]=n}(this[W],n,e)}},Object.defineProperty(t,n,o)});var t={i:c?5:4,A:e?e.A:O(),P:!1,$:!1,I:!1,D:{},l:e,t:s,k:l,o:null,O:!1,C:!1};return Object.defineProperty(l,W,{value:t,writable:!0}),l},K:d,S:function(e,t,n){e.p.forEach(function(e){e[W].$=!0}),n?m(t)&&t[W].A===e&&r(e.p):(e.u&&function t(e){if(e&&"object"==typeof e){var n=e[W];if(n){var r=n.t,o=n.k,i=n.D,a=n.i;if(4===a)w(o,function(e){e!==W&&(void 0!==r[e]||S(r,e)?i[e]||t(o[e]):(i[e]=!0,d(n)))}),w(r,function(e){void 0!==o[e]||S(o,e)||(i[e]=!1,d(n))});else if(5===a){if(h(n)&&(d(n),i.length=!0),o.length<r.length)for(var u=o.length;u<r.length;u++)i[u]=!1;else for(var s=r.length;s<o.length;s++)i[s]=!0;for(var c=Math.min(o.length,r.length),l=0;l<c;l++)void 0===i[l]&&t(o[l])}}}}(e.p[0]),r(e.p))}})}var F,B,z="undefined"!=typeof Symbol,U="undefined"!=typeof Map,K="undefined"!=typeof Set,V="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=z?Symbol("immer-nothing"):((F={})["immer-nothing"]=!0,F),H=z?Symbol("immer-draftable"):"__$immer_draftable",W=z?Symbol("immer-state"):"__$immer_state",G=(z&&Symbol.iterator,"undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames),$={},Y={get:function(e,t){if(t===W)return e;var n=e.p;if(!e.P&&S(n,t))return n[t];var r=k(e)[t];if(e.I||!b(r))return r;if(e.P){if(r!==L(e.t,t))return r;n=e.o}return n[t]=R(e.A.h,r,e)},has:function(e,t){return t in k(e)},ownKeys:function(e){return Reflect.ownKeys(k(e))},set:function(e,t,n){if(!e.P){var r=L(e.t,t);if(n?x(r,n)||n===e.p[t]:x(r,n)&&t in e.t)return!0;M(e),D(e)}return e.D[t]=!0,e.o[t]=n,!0},deleteProperty:function(e,t){return void 0!==L(e.t,t)||t in e.t?(e.D[t]=!1,M(e),D(e)):e.D[t]&&delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=k(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&(r.writable=!0,r.configurable=1!==e.i||"length"!==t),r},defineProperty:function(){c(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){c(12)}},Z={};w(Y,function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Z.deleteProperty=function(e,t){return Y.deleteProperty.call(this,e[0],t)},Z.set=function(e,t,n){return Y.set.call(this,e[0],t,n,e[0])};var X,Q=new((X=ee.prototype).produce=function(e,i,t){if("function"==typeof e&&"function"!=typeof i){var a=i;i=e;var u=this;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,r=Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return u.produce(e,function(e){return i.call.apply(i,[t,e].concat(r))})}}var n;if("function"!=typeof i&&c(6),void 0!==t&&"function"!=typeof t&&c(7),b(e)){var r=A(this),o=R(this,e,void 0),s=!0;try{n=i(o),s=!1}finally{(s?g:_)(r)}return"undefined"!=typeof Promise&&n instanceof Promise?n.then(function(e){return h(r,t),T(e,r)},function(e){throw g(r),e}):(h(r,t),T(n,r))}if((n=i(e))!==q)return void 0===n&&(n=e),this.N&&l(n,!0),n},X.produceWithPatches=function(o,e){var n,r,i=this;return"function"==typeof o?function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i.produceWithPatches(e,function(e){return o.apply(void 0,[e].concat(n))})}:[this.produce(o,e,function(e,t){n=e,r=t}),n,r]},X.createDraft=function(e){b(e)||c(8);var t=A(this),n=R(this,e,void 0);return n[W].C=!0,_(t),n},X.finishDraft=function(e,t){var n=(e&&e[W]).A;return h(n,t),T(void 0,n)},X.setAutoFreeze=function(e){this.N=e},X.setUseProxies=function(e){V||c(20),this.g=e},X.applyPatches=function(e,t){var n;for(n=t.length-1;0<=n;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var o=p("Patches").U;return m(e)?o(e,t):this.produce(e,function(e){return o(e,t.slice(n+1))})},ee),J=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q);function ee(e){this.g=V,this.N=!1,"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}var te=J,ne=n(39);function re(e,t){return e===t}!function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]}(function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:re,n=null,r=null;return function(){return function(e,t,n){if(null!==t&&null!==n&&t.length===n.length){for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return;return 1}}(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}});function oe(o){return function(e){var n=e.dispatch,r=e.getState;return function(t){return function(e){return"function"==typeof e?e(n,r,o):t(e)}}}}var ie=oe();ie.withExtraArgument=oe;var ae=ie;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var se="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===y()(arguments[0])?ne.d:ne.d.apply(null,arguments)};function ce(e){if("object"!==y()(e)||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function le(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,[]);return n&&("boolean"==typeof n?r.push(ae):r.push(ae.withExtraArgument(n.extraArgument))),r}var fe=!0;function de(e){var t,n=e||{},r=n.reducer,o=void 0===r?void 0:r,i=n.middleware,a=void 0===i?le():i,u=n.devTools,s=void 0===u||u,c=n.preloadedState,l=void 0===c?void 0:c,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof o)t=o;else{if(!ce(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Object(ne.c)(o)}var p=ne.a.apply(void 0,a),h=ne.d;s&&(h=se(ue({trace:!fe},"object"===y()(s)&&s)));var g=[p];Array.isArray(d)?g=[p].concat(d):"function"==typeof d&&(g=d(g));var v=h.apply(void 0,g);return Object(ne.e)(t,l,v)}function pe(t,n){function e(){if(n){var e=n.apply(void 0,arguments);if(!e)throw new Error("prepareAction did not return an object");return ue({type:t,payload:e.payload},"meta"in e&&{meta:e.meta},{},"error"in e&&{error:e.error})}return{type:t,payload:arguments.length<=0?void 0:arguments[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(e){return e.type===t},e}function he(e){var r={},o={addCase:function(e,t){var n="string"==typeof e?e:e.type;if(n in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[n]=t,o}};return e(o),r}function ge(t,e){var r="function"==typeof e?he(e):e;return function(e,n){return void 0===e&&(e=t),te(e,function(e){var t=r[n.type];return t?t(e,n):void 0})}}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var ve=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},ye=["name","message","stack","code"],me=function(e){this.value=e},be=function(e){if("object"!==y()(e)||null===e)return{message:String(e)};var t={},n=ye,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}"string"==typeof e[i]&&(t[i]=e[i])}return t};function we(e,f,d){var p=pe(e+"/fulfilled",function(e,t,n){return{payload:e,meta:{arg:n,requestId:t}}}),h=pe(e+"/pending",function(e,t){return{payload:void 0,meta:{arg:t,requestId:e}}}),g=pe(e+"/rejected",function(e,t,n,r){var o=!!e&&"AbortError"===e.name,i=!!e&&"ConditionError"===e.name;return{payload:r,error:be(e||"Rejected"),meta:{arg:n,requestId:t,aborted:o,condition:i}}}),t="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){}}}return e.prototype.abort=function(){0},e}();return v()(function(l){return function(o,i,a){var n,u=ve(),s=new t,c=new Promise(function(e,t){return s.signal.addEventListener("abort",function(){return t({name:"AbortError",message:n||"Aborted"})})});var e=function(){try{var t,e=function(e){return n?e:(d&&!d.dispatchConditionRejection&&g.match(t)&&t.meta.condition||o(t),t)},n=!1,r=function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(function(){if(d&&d.condition&&!1===d.condition(l,{getState:i,extra:a}))throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return o(h(u,l)),Promise.resolve(Promise.race([c,Promise.resolve(f(l,{dispatch:o,getState:i,extra:a,requestId:u,signal:s.signal,rejectWithValue:function(e){return new me(e)}})).then(function(e){return e instanceof me?g(null,u,l,e.value):p(e,u,l)})])).then(function(e){t=e})},function(e){t=g(e,u,l)});return Promise.resolve(r&&r.then?r.then(e):e(r))}catch(e){return Promise.reject(e)}}();return v()(e,{abort:function(e){n=e,s.abort()}})}},{pending:h,rejected:g,fulfilled:p})}N()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}t.exports=n},function(e,t,n){"use strict";n.d(t,"e",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"h",function(){return f}),n.d(t,"b",function(){return d}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return h}),n.d(t,"c",function(){return g}),n.d(t,"g",function(){return v});var r=n(0),o=n(128),i=n(50),a=n(282),u={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},s=/[&><"']/g;function c(e){return(""+e).replace(s,function(e){return u[e.charCodeAt(0)]})}function l(n,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,t){return t in n?e[t]=n[t]:t in r&&(e[t]=r[t]),e},{})}function f(e){Object(a.a)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function d(e,t){var n=t?"\n".concat(t.stack):"";return"[React Intl] ".concat(e).concat(n)}var p={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function h(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function g(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:h(),t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames;return{getDateTimeFormat:Object(i.a)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Object(i.a)(Intl.NumberFormat,e.number),getMessageFormat:Object(i.a)(o.a,e.message),getRelativeTimeFormat:Object(i.a)(t,e.relativeTime),getPluralRules:Object(i.a)(Intl.PluralRules,e.pluralRules),getListFormat:Object(i.a)(n,e.list),getDisplayNames:Object(i.a)(r,e.displayNames)}}function v(e,t,n,r){var o,i=e&&e[t];if(i&&(o=i[n]),o)return o;r(d("No ".concat(t," format named: ").concat(n)))}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";n(321);var r=n(181);n.d(t,"PERMISSIONS",function(){return r.a});var o=n(182);n.d(t,"Event",function(){return o.a}),n.d(t,"LegacyEvent",function(){return o.b});var i=n(183);n.o(i,"Type")&&n.d(t,"Type",function(){return i.Type});var a=n(184);n.d(t,"Type",function(){return a.a});n(185),n(186)},function(e,t,n){var r;!function(){"use strict";var a={}.hasOwnProperty;function u(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"==r||"number"==r)e.push(n);else if(Array.isArray(n)&&n.length){var o=u.apply(null,n);o&&e.push(o)}else if("object"==r)for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?(u.default=u,e.exports=u):void 0===(r=function(){return u}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(315);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(35),o=n(6);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){e.exports=function(){"use strict";var r=Array.prototype.slice;function e(e,t){if(t){e.prototype=Object.create(t.prototype)}e.prototype.constructor=e}function s(e){return l(e)?e:G(e)}function u(e){return f(e)?e:$(e)}function c(e){return d(e)?e:Y(e)}function o(e){return l(e)&&!p(e)?e:Z(e)}function l(e){return!!(e&&e[t])}function f(e){return!!(e&&e[n])}function d(e){return!!(e&&e[i])}function p(e){return f(e)||d(e)}function h(e){return!!(e&&e[a])}e(u,s),e(c,s),e(o,s),s.isIterable=l,s.isKeyed=f,s.isIndexed=d,s.isAssociative=p,s.isOrdered=h,s.Keyed=u,s.Indexed=c,s.Set=o;var t="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_INDEXED__@@",a="@@__IMMUTABLE_ORDERED__@@",g="delete",b=5,v=1<<b,w=v-1,m={},y={value:false},S={value:false};function x(e){e.value=false;return e}function k(e){e&&(e.value=true)}function E(){}function O(e,t){t=t||0;var n=Math.max(0,e.length-t);var r=new Array(n);for(var o=0;o<n;o++){r[o]=e[o+t]}return r}function _(e){if(e.size===undefined){e.size=e.__iterate(C)}return e.size}function A(e,t){if(typeof t!=="number"){var n=t>>>0;if(""+n!==t||n===4294967295){return NaN}t=n}return t<0?_(e)+t:t}function C(){return true}function T(e,t,n){return(e===0||n!==undefined&&e<=-n)&&(t===undefined||n!==undefined&&t>=n)}function I(e,t){return P(e,t,0)}function j(e,t){return P(e,t,t)}function P(e,t,n){return e===undefined?n:e<0?Math.max(0,t+e):t===undefined?e:Math.min(t,e)}var L=0,D=1,M=2,R=typeof Symbol==="function"&&Symbol.iterator,N="@@iterator",F=R||N;function B(e){this.next=e}function z(e,t,n,r){var o=e===0?t:e===1?n:[t,n];r?r.value=o:r={value:o,done:false};return r}function U(){return{value:undefined,done:true}}function K(e){return!!H(e)}function V(e){return e&&typeof e.next==="function"}function q(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[N]);if(typeof t==="function"){return t}}function W(e){return e&&typeof e.length==="number"}function G(e){return e===null||e===undefined?ae():l(e)?e.toSeq():ce(e)}function $(e){return e===null||e===undefined?ae().toKeyedSeq():l(e)?f(e)?e.toSeq():e.fromEntrySeq():ue(e)}function Y(e){return e===null||e===undefined?ae():!l(e)?se(e):f(e)?e.entrySeq():e.toIndexedSeq()}function Z(e){return(e===null||e===undefined?ae():!l(e)?se(e):f(e)?e.entrySeq():e).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=L,B.VALUES=D,B.ENTRIES=M,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},e(G,s),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){if(!this._cache&&this.__iterateUncached){this._cache=this.entrySeq().toArray();this.size=this._cache.length}return this},G.prototype.__iterate=function(e,t){return fe(this,e,t,true)},G.prototype.__iterator=function(e,t){return de(this,e,t,true)},e($,G),$.prototype.toKeyedSeq=function(){return this},e(Y,G),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return fe(this,e,t,false)},Y.prototype.__iterator=function(e,t){return de(this,e,t,false)},e(Z,G),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},G.isSeq=ie,G.Keyed=$,G.Set=Z,G.Indexed=Y;var X="@@__IMMUTABLE_SEQ__@@",Q,J,ee;function te(e){this._array=e;this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e;this._keys=t;this.size=t.length}function re(e){this._iterable=e;this.size=e.length||e.size}function oe(e){this._iterator=e;this._iteratorCache=[]}function ie(e){return!!(e&&e[X])}function ae(){return Q||(Q=new te([]))}function ue(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new oe(e).fromEntrySeq():K(e)?new re(e).fromEntrySeq():typeof e==="object"?new ne(e):undefined;if(!t){throw new TypeError("Expected Array or iterable object of [k, v] entries, "+"or keyed object: "+e)}return t}function se(e){var t=le(e);if(!t){throw new TypeError("Expected Array or iterable object of values: "+e)}return t}function ce(e){var t=le(e)||typeof e==="object"&&new ne(e);if(!t){throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e)}return t}function le(e){return W(e)?new te(e):V(e)?new oe(e):K(e)?new re(e):undefined}function fe(e,t,n,r){var o=e._cache;if(o){var i=o.length-1;for(var a=0;a<=i;a++){var u=o[n?i-a:a];if(t(u[1],r?u[0]:a,e)===false){return a+1}}return a}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var i=o.length-1;var a=0;return new B(function(){var e=o[n?i-a:a];return a++>i?U():z(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(n,r,e,t){if(Array.isArray(r)){return n.call(t,e,Y(r).map(function(e,t){return he(n,e,t,r)}))}if(ve(r)){return n.call(t,e,$(r).map(function(e,t){return he(n,e,t,r)}))}return r}function ge(e){if(Array.isArray(e)){return Y(e).map(ge).toList()}if(ve(e)){return $(e).map(ge).toMap()}return e}function ve(e){return e&&(e.constructor===Object||e.constructor===undefined)}function ye(e,t){if(e===t||e!==e&&t!==t){return true}if(!e||!t){return false}if(typeof e.valueOf==="function"&&typeof t.valueOf==="function"){e=e.valueOf();t=t.valueOf();if(e===t||e!==e&&t!==t){return true}if(!e||!t){return false}}if(typeof e.equals==="function"&&typeof t.equals==="function"&&e.equals(t)){return true}return false}function me(n,e){if(n===e){return true}if(!l(e)||n.size!==undefined&&e.size!==undefined&&n.size!==e.size||n.__hash!==undefined&&e.__hash!==undefined&&n.__hash!==e.__hash||f(n)!==f(e)||d(n)!==d(e)||h(n)!==h(e)){return false}if(n.size===0&&e.size===0){return true}var r=!p(n);if(h(n)){var o=n.entries();return e.every(function(e,t){var n=o.next().value;return n&&ye(n[1],e)&&(r||ye(n[0],t))})&&o.next().done}var i=false;if(n.size===undefined){if(e.size===undefined){if(typeof n.cacheResult==="function"){n.cacheResult()}}else{i=true;var t=n;n=e;e=t}}var a=true;var u=e.__iterate(function(e,t){if(r?!n.has(e):i?!ye(e,n.get(t,m)):!ye(n.get(t,m),e)){a=false;return false}});return a&&n.size===u}function be(e,t){if(!(this instanceof be)){return new be(e,t)}this._value=e;this.size=t===undefined?Infinity:Math.max(0,t);if(this.size===0){if(J){return J}J=this}}function we(e,t){if(!e)throw new Error(t)}function Se(e,t,n){if(!(this instanceof Se)){return new Se(e,t,n)}we(n!==0,"Cannot step a Range by 0");e=e||0;if(t===undefined){t=Infinity}n=n===undefined?1:Math.abs(n);if(t<e){n=-n}this._start=e;this._end=t;this._step=n;this.size=Math.max(0,Math.ceil((t-e)/n-1)+1);if(this.size===0){if(ee){return ee}ee=this}}function xe(){throw TypeError("Abstract")}function ke(){}function Ee(){}function Oe(){}G.prototype[X]=true,e(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[A(this,e)]:t},te.prototype.__iterate=function(e,t){var n=this._array;var r=n.length-1;for(var o=0;o<=r;o++){if(e(n[t?r-o:o],o,this)===false){return o+1}}return o},te.prototype.__iterator=function(e,t){var n=this._array;var r=n.length-1;var o=0;return new B(function(){return o>r?U():z(e,o,n[t?r-o++:o++])})},e(ne,$),ne.prototype.get=function(e,t){if(t!==undefined&&!this.has(e)){return t}return this._object[e]},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){var n=this._object;var r=this._keys;var o=r.length-1;for(var i=0;i<=o;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===false){return i+1}}return i},ne.prototype.__iterator=function(t,n){var r=this._object;var o=this._keys;var i=o.length-1;var a=0;return new B(function(){var e=o[n?i-a:a];return a++>i?U():z(t,e,r[e])})},ne.prototype[a]=true,e(re,Y),re.prototype.__iterateUncached=function(e,t){if(t){return this.cacheResult().__iterate(e,t)}var n=this._iterable;var r=q(n);var o=0;if(V(r)){var i;while(!(i=r.next()).done){if(e(i.value,o++,this)===false){break}}}return o},re.prototype.__iteratorUncached=function(t,e){if(e){return this.cacheResult().__iterator(t,e)}var n=this._iterable;var r=q(n);if(!V(r)){return new B(U)}var o=0;return new B(function(){var e=r.next();return e.done?e:z(t,o++,e.value)})},e(oe,Y),oe.prototype.__iterateUncached=function(e,t){if(t){return this.cacheResult().__iterate(e,t)}var n=this._iterator;var r=this._iteratorCache;var o=0;while(o<r.length){if(e(r[o],o++,this)===false){return o}}var i;while(!(i=n.next()).done){var a=i.value;r[o]=a;if(e(a,o++,this)===false){break}}return o},oe.prototype.__iteratorUncached=function(t,e){if(e){return this.cacheResult().__iterator(t,e)}var n=this._iterator;var r=this._iteratorCache;var o=0;return new B(function(){if(o>=r.length){var e=n.next();if(e.done){return e}r[o]=e.value}return z(t,o,r[o++])})},e(be,Y),be.prototype.toString=function(){if(this.size===0){return"Repeat []"}return"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ye(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,j(t,n)-I(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){if(ye(this._value,e)){return 0}return-1},be.prototype.lastIndexOf=function(e){if(ye(this._value,e)){return this.size}return-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++){if(e(this._value,n,this)===false){return n+1}}return n},be.prototype.__iterator=function(e,t){var n=this;var r=0;return new B(function(){return r<n.size?z(e,r++,n._value):U()})},be.prototype.equals=function(e){return e instanceof be?ye(this._value,e._value):me(e)},e(Se,Y),Se.prototype.toString=function(){if(this.size===0){return"Range []"}return"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Se.prototype.get=function(e,t){return this.has(e)?this._start+A(this,e)*this._step:t},Se.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Se.prototype.slice=function(e,t){if(T(e,t,this.size)){return this}e=I(e,this.size);t=j(t,this.size);if(t<=e){return new Se(0,0)}return new Se(this.get(e,this._end),this.get(t,this._end),this._step)},Se.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size){return n}}return-1},Se.prototype.lastIndexOf=function(e){return this.indexOf(e)},Se.prototype.__iterate=function(e,t){var n=this.size-1;var r=this._step;var o=t?this._start+n*r:this._start;for(var i=0;i<=n;i++){if(e(o,i,this)===false){return i+1}o+=t?-r:r}return i},Se.prototype.__iterator=function(t,n){var r=this.size-1;var o=this._step;var i=n?this._start+r*o:this._start;var a=0;return new B(function(){var e=i;i+=n?-o:o;return a>r?U():z(t,a++,e)})},Se.prototype.equals=function(e){return e instanceof Se?this._start===e._start&&this._end===e._end&&this._step===e._step:me(this,e)},e(xe,s),e(ke,xe),e(Ee,xe),e(Oe,xe),xe.Keyed=ke,xe.Indexed=Ee,xe.Set=Oe;var _e=typeof Math.imul==="function"&&Math.imul(4294967295,2)===-2?Math.imul:function e(t,n){t=t|0;n=n|0;var r=t&65535;var o=n&65535;return r*o+((t>>>16)*o+r*(n>>>16)<<16>>>0)|0};function Ae(e){return e>>>1&1073741824|e&3221225471}function Ce(e){if(e===false||e===null||e===undefined){return 0}if(typeof e.valueOf==="function"){e=e.valueOf();if(e===false||e===null||e===undefined){return 0}}if(e===true){return 1}var t=typeof e;if(t==="number"){var n=e|0;if(n!==e){n^=e*4294967295}while(e>4294967295){e/=4294967295;n^=e}return Ae(n)}if(t==="string"){return e.length>Be?Te(e):Ie(e)}if(typeof e.hashCode==="function"){return e.hashCode()}if(t==="object"){return je(e)}if(typeof e.toString==="function"){return Ie(e.toString())}throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=Ke[e];if(t===undefined){t=Ie(e);if(Ue===ze){Ue=0;Ke={}}Ue++;Ke[e]=t}return t}function Ie(e){var t=0;for(var n=0;n<e.length;n++){t=31*t+e.charCodeAt(n)|0}return Ae(t)}function je(e){var t;if(Me){t=Re.get(e);if(t!==undefined){return t}}t=e[Fe];if(t!==undefined){return t}if(!Le){t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe];if(t!==undefined){return t}t=De(e);if(t!==undefined){return t}}t=++Ne;if(Ne&1073741824){Ne=0}if(Me){Re.set(e,t)}else if(Pe!==undefined&&Pe(e)===false){throw new Error("Non-extensible objects are not allowed as keys.")}else if(Le){Object.defineProperty(e,Fe,{enumerable:false,configurable:false,writable:false,value:t})}else if(e.propertyIsEnumerable!==undefined&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable){e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)};e.propertyIsEnumerable[Fe]=t}else if(e.nodeType!==undefined){e[Fe]=t}else{throw new Error("Unable to set a non-enumerable property on object.")}return t}var Pe=Object.isExtensible,Le=function(){try{Object.defineProperty({},"@",{});return true}catch(e){return false}}();function De(e){if(e&&e.nodeType>0){switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}}var Me=typeof WeakMap==="function",Re;if(Me){Re=new WeakMap}var Ne=0,Fe="__immutablehash__";if(typeof Symbol==="function"){Fe=Symbol(Fe)}var Be=16,ze=255,Ue=0,Ke={};function Ve(e){we(e!==Infinity,"Cannot perform this action with an infinite size.")}function qe(t){return t===null||t===undefined?ot():He(t)&&!h(t)?t:ot().withMutations(function(n){var e=u(t);Ve(e.size);e.forEach(function(e,t){return n.set(t,e)})})}function He(e){return!!(e&&e[We])}e(qe,ke),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,undefined,e,t):t},qe.prototype.set=function(e,t){return it(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,m,function(){return t})},qe.prototype.remove=function(e){return it(this,e,m)},qe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return m})},qe.prototype.update=function(e,t,n){return arguments.length===1?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){if(!n){n=t;t=undefined}var r=vt(this,xn(e),t,n);return r===m?undefined:r},qe.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._root=null;this.__hash=undefined;this.__altered=true;return this}return ot()},qe.prototype.merge=function(){return dt(this,undefined,arguments)},qe.prototype.mergeWith=function(e){var t=r.call(arguments,1);return dt(this,e,t)},qe.prototype.mergeIn=function(e){var t=r.call(arguments,1);return this.updateIn(e,ot(),function(e){return typeof e.merge==="function"?e.merge.apply(e,t):t[t.length-1]})},qe.prototype.mergeDeep=function(){return dt(this,pt,arguments)},qe.prototype.mergeDeepWith=function(e){var t=r.call(arguments,1);return dt(this,ht(e),t)},qe.prototype.mergeDeepIn=function(e){var t=r.call(arguments,1);return this.updateIn(e,ot(),function(e){return typeof e.mergeDeep==="function"?e.mergeDeep.apply(e,t):t[t.length-1]})},qe.prototype.sort=function(e){return Kt(fn(this,e))},qe.prototype.sortBy=function(e,t){return Kt(fn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();e(t);return t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(t,e){var n=this;var r=0;this._root&&this._root.iterate(function(e){r++;return t(e[1],e[0],n)},e);return r},qe.prototype.__ensureOwner=function(e){if(e===this.__ownerID){return this}if(!e){this.__ownerID=e;this.__altered=false;return this}return rt(this.size,this._root,e,this.__hash)},qe.isMap=He;var We="@@__IMMUTABLE_MAP__@@",Ge=qe.prototype,$e;function Ye(e,t){this.ownerID=e;this.entries=t}function Ze(e,t,n){this.ownerID=e;this.bitmap=t;this.nodes=n}function Xe(e,t,n){this.ownerID=e;this.count=t;this.nodes=n}function Qe(e,t,n){this.ownerID=e;this.keyHash=t;this.entries=n}function Je(e,t,n){this.ownerID=e;this.keyHash=t;this.entry=n}function et(e,t,n){this._type=t;this._reverse=n;this._stack=e._root&&nt(e._root)}function tt(e,t){return z(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ge);o.size=e;o._root=t;o.__ownerID=n;o.__hash=r;o.__altered=false;return o}function ot(){return $e||($e=rt(0))}function it(e,t,n){var r;var o;if(!e._root){if(n===m){return e}o=1;r=new Ye(e.__ownerID,[[t,n]])}else{var i=x(y);var a=x(S);r=at(e._root,e.__ownerID,0,undefined,t,n,i,a);if(!a.value){return e}o=e.size+(i.value?n===m?-1:1:0)}if(e.__ownerID){e.size=o;e._root=r;e.__hash=undefined;e.__altered=true;return e}return r?rt(o,r):ot()}function at(e,t,n,r,o,i,a,u){if(!e){if(i===m){return e}k(u);k(a);return new Je(t,r,[o,i])}return e.update(t,n,r,o,i,a,u)}function ut(e){return e.constructor===Je||e.constructor===Qe}function st(e,t,n,r,o){if(e.keyHash===r){return new Qe(t,r,[e.entry,o])}var i=(n===0?e.keyHash:e.keyHash>>>n)&w;var a=(n===0?r:r>>>n)&w;var u;var s=i===a?[st(e,t,n+b,r,o)]:(u=new Je(t,r,o),i<a?[e,u]:[u,e]);return new Ze(t,1<<i|1<<a,s)}function ct(e,t,n,r){if(!e){e=new E}var o=new Je(e,Ce(n),[n,r]);for(var i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,undefined,a[0],a[1])}return o}function lt(e,t,n,r){var o=0;var i=0;var a=new Array(n);for(var u=0,s=1,c=t.length;u<c;u++,s<<=1){var l=t[u];if(l!==undefined&&u!==r){o|=s;a[i++]=l}}return new Ze(e,o,a)}function ft(e,t,n,r,o){var i=0;var a=new Array(v);for(var u=0;n!==0;u++,n>>>=1){a[u]=n&1?t[i++]:undefined}a[r]=o;return new Xe(e,i+1,a)}function dt(e,t,n){var r=[];for(var o=0;o<n.length;o++){var i=n[o];var a=u(i);if(!l(i)){a=a.map(function(e){return pe(e)})}r.push(a)}return gt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&l(t)?e.mergeDeep(t):ye(e,t)?e:t}function ht(o){return function(e,t,n){if(e&&e.mergeDeepWith&&l(t)){return e.mergeDeepWith(o,t)}var r=o(e,t,n);return ye(e,r)?e:r}}function gt(e,o,n){n=n.filter(function(e){return e.size!==0});if(n.length===0){return e}if(e.size===0&&!e.__ownerID&&n.length===1){return e.constructor(n[0])}return e.withMutations(function(r){var e=o?function(t,n){r.update(n,m,function(e){return e===m?t:o(e,t,n)})}:function(e,t){r.set(t,e)};for(var t=0;t<n.length;t++){n[t].forEach(e)}})}function vt(e,t,n,r){var o=e===m;var i=t.next();if(i.done){var a=o?n:e;var u=r(a);return u===a?e:u}we(o||e&&e.set,"invalid keyPath");var s=i.value;var c=o?m:e.get(s,m);var l=vt(c,t,n,r);return l===c?e:l===m?e.remove(s):(o?ot():e).set(s,l)}function yt(e){e=e-(e>>1&1431655765);e=(e&858993459)+(e>>2&858993459);e=e+(e>>4)&252645135;e=e+(e>>8);e=e+(e>>16);return e&127}function mt(e,t,n,r){var o=r?e:O(e);o[t]=n;return o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o){e[t]=n;return e}var i=new Array(o);var a=0;for(var u=0;u<o;u++){if(u===t){i[u]=n;a=-1}else{i[u]=e[u+a]}}return i}function wt(e,t,n){var r=e.length-1;if(n&&t===r){e.pop();return e}var o=new Array(r);var i=0;for(var a=0;a<r;a++){if(a===t){i=1}o[a]=e[a+i]}return o}Ge[We]=true,Ge[g]=Ge.remove,Ge.removeIn=Ge.deleteIn,Ye.prototype.get=function(e,t,n,r){var o=this.entries;for(var i=0,a=o.length;i<a;i++){if(ye(n,o[i][0])){return o[i][1]}}return r},Ye.prototype.update=function(e,t,n,r,o,i,a){var u=o===m;var s=this.entries;var c=0;for(var l=s.length;c<l;c++){if(ye(r,s[c][0])){break}}var f=c<l;if(f?s[c][1]===o:u){return this}k(a);(u||!f)&&k(i);if(u&&s.length===1){return}if(!f&&!u&&s.length>=St){return ct(e,s,r,o)}var d=e&&e===this.ownerID;var p=d?s:O(s);if(f){if(u){c===l-1?p.pop():p[c]=p.pop()}else{p[c]=[r,o]}}else{p.push([r,o])}if(d){this.entries=p;return this}return new Ye(e,p)},Ze.prototype.get=function(e,t,n,r){if(t===undefined){t=Ce(n)}var o=1<<((e===0?t:t>>>e)&w);var i=this.bitmap;return(i&o)===0?r:this.nodes[yt(i&o-1)].get(e+b,t,n,r)},Ze.prototype.update=function(e,t,n,r,o,i,a){if(n===undefined){n=Ce(r)}var u=(t===0?n:n>>>t)&w;var s=1<<u;var c=this.bitmap;var l=(c&s)!==0;if(!l&&o===m){return this}var f=yt(c&s-1);var d=this.nodes;var p=l?d[f]:undefined;var h=at(p,e,t+b,n,r,o,i,a);if(h===p){return this}if(!l&&h&&d.length>=xt){return ft(e,d,c,u,h)}if(l&&!h&&d.length===2&&ut(d[f^1])){return d[f^1]}if(l&&h&&d.length===1&&ut(h)){return h}var g=e&&e===this.ownerID;var v=l?h?c:c^s:c|s;var y=l?h?mt(d,f,h,g):wt(d,f,g):bt(d,f,h,g);if(g){this.bitmap=v;this.nodes=y;return this}return new Ze(e,v,y)},Xe.prototype.get=function(e,t,n,r){if(t===undefined){t=Ce(n)}var o=(e===0?t:t>>>e)&w;var i=this.nodes[o];return i?i.get(e+b,t,n,r):r},Xe.prototype.update=function(e,t,n,r,o,i,a){if(n===undefined){n=Ce(r)}var u=(t===0?n:n>>>t)&w;var s=o===m;var c=this.nodes;var l=c[u];if(s&&!l){return this}var f=at(l,e,t+b,n,r,o,i,a);if(f===l){return this}var d=this.count;if(!l){d++}else if(!f){d--;if(d<kt){return lt(e,c,d,u)}}var p=e&&e===this.ownerID;var h=mt(c,u,f,p);if(p){this.count=d;this.nodes=h;return this}return new Xe(e,d,h)},Qe.prototype.get=function(e,t,n,r){var o=this.entries;for(var i=0,a=o.length;i<a;i++){if(ye(n,o[i][0])){return o[i][1]}}return r},Qe.prototype.update=function(e,t,n,r,o,i,a){if(n===undefined){n=Ce(r)}var u=o===m;if(n!==this.keyHash){if(u){return this}k(a);k(i);return st(this,e,t,n,[r,o])}var s=this.entries;var c=0;for(var l=s.length;c<l;c++){if(ye(r,s[c][0])){break}}var f=c<l;if(f?s[c][1]===o:u){return this}k(a);(u||!f)&&k(i);if(u&&l===2){return new Je(e,this.keyHash,s[c^1])}var d=e&&e===this.ownerID;var p=d?s:O(s);if(f){if(u){c===l-1?p.pop():p[c]=p.pop()}else{p[c]=[r,o]}}else{p.push([r,o])}if(d){this.entries=p;return this}return new Qe(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,r){return ye(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,o,i,a){var u=o===m;var s=ye(r,this.entry[0]);if(s?o===this.entry[1]:u){return this}k(a);if(u){k(i);return}if(s){if(e&&e===this.ownerID){this.entry[1]=o;return this}return new Je(e,this.keyHash,[r,o])}k(i);return st(this,e,t,Ce(r),[r,o])},Ye.prototype.iterate=Qe.prototype.iterate=function(e,t){var n=this.entries;for(var r=0,o=n.length-1;r<=o;r++){if(e(n[t?o-r:r])===false){return false}}},Ze.prototype.iterate=Xe.prototype.iterate=function(e,t){var n=this.nodes;for(var r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&i.iterate(e,t)===false){return false}}},Je.prototype.iterate=function(e,t){return e(this.entry)},e(et,B),et.prototype.next=function(){var e=this._type;var t=this._stack;while(t){var n=t.node;var r=t.index++;var o;if(n.entry){if(r===0){return tt(e,n.entry)}}else if(n.entries){o=n.entries.length-1;if(r<=o){return tt(e,n.entries[this._reverse?o-r:r])}}else{o=n.nodes.length-1;if(r<=o){var i=n.nodes[this._reverse?o-r:r];if(i){if(i.entry){return tt(e,i.entry)}t=this._stack=nt(i,t)}continue}}t=this._stack=this._stack.__prev}return U()};var St=v/4,xt=v/2,kt=v/4;function Et(e){var t=Dt();if(e===null||e===undefined){return t}if(Ot(e)){return e}var r=c(e);var o=r.size;if(o===0){return t}Ve(o);if(o>0&&o<v){return Lt(0,o,b,null,new Ct(r.toArray()))}return t.withMutations(function(n){n.setSize(o);r.forEach(function(e,t){return n.set(t,e)})})}function Ot(e){return!!(e&&e[_t])}e(Et,Ee),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("List [","]")},Et.prototype.get=function(e,t){e=A(this,e);if(e>=0&&e<this.size){e+=this._origin;var n=Ft(this,e);return n&&n.array[e&w]}return t},Et.prototype.set=function(e,t){return Mt(this,e,t)},Et.prototype.remove=function(e){return!this.has(e)?this:e===0?this.shift():e===this.size-1?this.pop():this.splice(e,1)},Et.prototype.insert=function(e,t){return this.splice(e,0,t)},Et.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=this._origin=this._capacity=0;this._level=b;this._root=this._tail=null;this.__hash=undefined;this.__altered=true;return this}return Dt()},Et.prototype.push=function(){var n=arguments;var r=this.size;return this.withMutations(function(e){Bt(e,0,r+n.length);for(var t=0;t<n.length;t++){e.set(r+t,n[t])}})},Et.prototype.pop=function(){return Bt(this,0,-1)},Et.prototype.unshift=function(){var n=arguments;return this.withMutations(function(e){Bt(e,-n.length);for(var t=0;t<n.length;t++){e.set(t,n[t])}})},Et.prototype.shift=function(){return Bt(this,1)},Et.prototype.merge=function(){return zt(this,undefined,arguments)},Et.prototype.mergeWith=function(e){var t=r.call(arguments,1);return zt(this,e,t)},Et.prototype.mergeDeep=function(){return zt(this,pt,arguments)},Et.prototype.mergeDeepWith=function(e){var t=r.call(arguments,1);return zt(this,ht(e),t)},Et.prototype.setSize=function(e){return Bt(this,0,e)},Et.prototype.slice=function(e,t){var n=this.size;if(T(e,t,n)){return this}return Bt(this,I(e,n),j(t,n))},Et.prototype.__iterator=function(t,e){var n=0;var r=Pt(this,e);return new B(function(){var e=r();return e===Tt?U():z(t,n++,e)})},Et.prototype.__iterate=function(e,t){var n=0;var r=Pt(this,t);var o;while((o=r())!==Tt){if(e(o,n++,this)===false){break}}return n},Et.prototype.__ensureOwner=function(e){if(e===this.__ownerID){return this}if(!e){this.__ownerID=e;return this}return Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash)},Et.isList=Ot;var _t="@@__IMMUTABLE_LIST__@@",At=Et.prototype;function Ct(e,t){this.array=e;this.ownerID=t}At[_t]=true,At[g]=At.remove,At.setIn=Ge.setIn,At.deleteIn=At.removeIn=Ge.removeIn,At.update=Ge.update,At.updateIn=Ge.updateIn,At.mergeIn=Ge.mergeIn,At.mergeDeepIn=Ge.mergeDeepIn,At.withMutations=Ge.withMutations,At.asMutable=Ge.asMutable,At.asImmutable=Ge.asImmutable,At.wasAltered=Ge.wasAltered,Ct.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:false||this.array.length===0){return this}var r=n>>>t&w;if(r>=this.array.length){return new Ct([],e)}var o=r===0;var i;if(t>0){var a=this.array[r];i=a&&a.removeBefore(e,t-b,n);if(i===a&&o){return this}}if(o&&!i){return this}var u=Nt(this,e);if(!o){for(var s=0;s<r;s++){u.array[s]=undefined}}if(i){u.array[r]=i}return u},Ct.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||this.array.length===0){return this}var r=n-1>>>t&w;if(r>=this.array.length){return this}var o;if(t>0){var i=this.array[r];o=i&&i.removeAfter(e,t-b,n);if(o===i&&r===this.array.length-1){return this}}var a=Nt(this,e);a.array.splice(r+1);if(o){a.array[r]=o}return a};var Tt={},It,jt;function Pt(e,s){var c=e._origin;var l=e._capacity;var i=Ut(l);var a=e._tail;return f(e._root,e._level,0);function f(e,t,n){return t===0?r(e,n):o(e,t,n)}function r(e,t){var n=t===i?a&&a.array:e&&e.array;var r=t>c?0:c-t;var o=l-t;if(o>v){o=v}return function(){if(r===o){return Tt}var e=s?--o:r++;return n&&n[e]}}function o(e,n,r){var o;var i=e&&e.array;var a=r>c?0:c-r>>n;var u=(l-r>>n)+1;if(u>v){u=v}return function(){do{if(o){var e=o();if(e!==Tt){return e}o=null}if(a===u){return Tt}var t=s?--u:a++;o=f(i&&i[t],n-b,r+(t<<n))}while(true)}}}function Lt(e,t,n,r,o,i,a){var u=Object.create(At);u.size=t-e;u._origin=e;u._capacity=t;u._level=n;u._root=r;u._tail=o;u.__ownerID=i;u.__hash=a;u.__altered=false;return u}function Dt(){return It||(It=Lt(0,0,b))}function Mt(e,t,n){t=A(e,t);if(t!==t){return e}if(t>=e.size||t<0){return e.withMutations(function(e){t<0?Bt(e,t).set(0,n):Bt(e,0,t+1).set(t,n)})}t+=e._origin;var r=e._tail;var o=e._root;var i=x(S);if(t>=Ut(e._capacity)){r=Rt(r,e.__ownerID,0,t,n,i)}else{o=Rt(o,e.__ownerID,e._level,t,n,i)}if(!i.value){return e}if(e.__ownerID){e._root=o;e._tail=r;e.__hash=undefined;e.__altered=true;return e}return Lt(e._origin,e._capacity,e._level,o,r)}function Rt(e,t,n,r,o,i){var a=r>>>n&w;var u=e&&a<e.array.length;if(!u&&o===undefined){return e}var s;if(n>0){var c=e&&e.array[a];var l=Rt(c,t,n-b,r,o,i);if(l===c){return e}s=Nt(e,t);s.array[a]=l;return s}if(u&&e.array[a]===o){return e}k(i);s=Nt(e,t);if(o===undefined&&a===s.array.length-1){s.array.pop()}else{s.array[a]=o}return s}function Nt(e,t){if(t&&e&&t===e.ownerID){return e}return new Ct(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity)){return e._tail}if(t<1<<e._level+b){var n=e._root;var r=e._level;while(n&&r>0){n=n.array[t>>>r&w];r-=b}return n}}function Bt(e,t,n){if(t!==undefined){t=t|0}if(n!==undefined){n=n|0}var r=e.__ownerID||new E;var o=e._origin;var i=e._capacity;var a=o+t;var u=n===undefined?i:n<0?i+n:o+n;if(a===o&&u===i){return e}if(a>=u){return e.clear()}var s=e._level;var c=e._root;var l=0;while(a+l<0){c=new Ct(c&&c.array.length?[undefined,c]:[],r);s+=b;l+=1<<s}if(l){a+=l;o+=l;u+=l;i+=l}var f=Ut(i);var d=Ut(u);while(d>=1<<s+b){c=new Ct(c&&c.array.length?[c]:[],r);s+=b}var p=e._tail;var h=d<f?Ft(e,u-1):d>f?new Ct([],r):p;if(p&&d>f&&a<i&&p.array.length){c=Nt(c,r);var g=c;for(var v=s;v>b;v-=b){var y=f>>>v&w;g=g.array[y]=Nt(g.array[y],r)}g.array[f>>>b&w]=p}if(u<i){h=h&&h.removeAfter(r,0,u)}if(a>=d){a-=d;u-=d;s=b;c=null;h=h&&h.removeBefore(r,0,a)}else if(a>o||d<f){l=0;while(c){var m=a>>>s&w;if(m!==d>>>s&w){break}if(m){l+=(1<<s)*m}s-=b;c=c.array[m]}if(c&&a>o){c=c.removeBefore(r,s,a-l)}if(c&&d<f){c=c.removeAfter(r,s,d-l)}if(l){a-=l;u-=l}}if(e.__ownerID){e.size=u-a;e._origin=a;e._capacity=u;e._level=s;e._root=c;e._tail=h;e.__hash=undefined;e.__altered=true;return e}return Lt(a,u,s,c,h)}function zt(e,t,n){var r=[];var o=0;for(var i=0;i<n.length;i++){var a=n[i];var u=c(a);if(u.size>o){o=u.size}if(!l(a)){u=u.map(function(e){return pe(e)})}r.push(u)}if(o>e.size){e=e.setSize(o)}return gt(e,t,r)}function Ut(e){return e<v?0:e-1>>>b<<b}function Kt(t){return t===null||t===undefined?Ht():Vt(t)?t:Ht().withMutations(function(n){var e=u(t);Ve(e.size);e.forEach(function(e,t){return n.set(t,e)})})}function Vt(e){return He(e)&&h(e)}function qt(e,t,n,r){var o=Object.create(Kt.prototype);o.size=e?e.size:0;o._map=e;o._list=t;o.__ownerID=n;o.__hash=r;return o}function Ht(){return jt||(jt=qt(ot(),Dt()))}function Wt(e,t,n){var r=e._map;var o=e._list;var i=r.get(t);var a=i!==undefined;var u;var s;if(n===m){if(!a){return e}if(o.size>=v&&o.size>=r.size*2){s=o.filter(function(e,t){return e!==undefined&&i!==t});u=s.toKeyedSeq().map(function(e){return e[0]}).flip().toMap();if(e.__ownerID){u.__ownerID=s.__ownerID=e.__ownerID}}else{u=r.remove(t);s=i===o.size-1?o.pop():o.set(i,undefined)}}else{if(a){if(n===o.get(i)[1]){return e}u=r;s=o.set(i,[t,n])}else{u=r.set(t,o.size);s=o.set(o.size,[t,n])}}if(e.__ownerID){e.size=u.size;e._map=u;e._list=s;e.__hash=undefined;return e}return qt(u,s)}function Gt(e,t){this._iter=e;this._useKeys=t;this.size=e.size}function $t(e){this._iter=e;this.size=e.size}function Yt(e){this._iter=e;this.size=e.size}function Zt(e){this._iter=e;this.size=e.size}function Xt(o){var e=bn(o);e._iter=o;e.size=o.size;e.flip=function(){return o};e.reverse=function(){var e=o.reverse.apply(this);e.flip=function(){return o.reverse()};return e};e.has=function(e){return o.includes(e)};e.includes=function(e){return o.has(e)};e.cacheResult=wn;e.__iterateUncached=function(n,e){var r=this;return o.__iterate(function(e,t){return n(t,e,r)!==false},e)};e.__iteratorUncached=function(e,t){if(e===M){var n=o.__iterator(e,t);return new B(function(){var e=n.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1];e.value[1]=t}return e})}return o.__iterator(e===D?L:D,t)};return e}function Qt(i,a,u){var e=bn(i);e.size=i.size;e.has=function(e){return i.has(e)};e.get=function(e,t){var n=i.get(e,m);return n===m?t:a.call(u,n,e,i)};e.__iterateUncached=function(r,e){var o=this;return i.__iterate(function(e,t,n){return r(a.call(u,e,t,n),t,o)!==false},e)};e.__iteratorUncached=function(r,e){var o=i.__iterator(M,e);return new B(function(){var e=o.next();if(e.done){return e}var t=e.value;var n=t[0];return z(r,n,a.call(u,t[1],n,i),e)})};return e}function Jt(o,n){var e=bn(o);e._iter=o;e.size=o.size;e.reverse=function(){return o};if(o.flip){e.flip=function(){var e=Xt(o);e.reverse=function(){return o.flip()};return e}}e.get=function(e,t){return o.get(n?e:-1-e,t)};e.has=function(e){return o.has(n?e:-1-e)};e.includes=function(e){return o.includes(e)};e.cacheResult=wn;e.__iterate=function(n,e){var r=this;return o.__iterate(function(e,t){return n(e,t,r)},!e)};e.__iterator=function(e,t){return o.__iterator(e,!t)};return e}function en(u,s,c,l){var e=bn(u);if(l){e.has=function(e){var t=u.get(e,m);return t!==m&&!!s.call(c,t,e,u)};e.get=function(e,t){var n=u.get(e,m);return n!==m&&s.call(c,n,e,u)?n:t}}e.__iterateUncached=function(r,e){var o=this;var i=0;u.__iterate(function(e,t,n){if(s.call(c,e,t,n)){i++;return r(e,l?t:i-1,o)}},e);return i};e.__iteratorUncached=function(o,e){var i=u.__iterator(M,e);var a=0;return new B(function(){while(true){var e=i.next();if(e.done){return e}var t=e.value;var n=t[0];var r=t[1];if(s.call(c,r,n,u)){return z(o,l?n:a++,r,e)}}})};return e}function tn(n,r,o){var i=qe().asMutable();n.__iterate(function(e,t){i.update(r.call(o,e,t,n),0,function(e){return e+1})});return i.asImmutable()}function nn(r,e,o){var i=f(r);var a=(h(r)?Kt():qe()).asMutable();r.__iterate(function(t,n){a.update(e.call(o,t,n,r),function(e){return e=e||[],e.push(i?[n,t]:t),e})});var t=mn(r);return a.map(function(e){return gn(r,t(e))})}function rn(u,e,t,s){var n=u.size;if(e!==undefined){e=e|0}if(t!==undefined){t=t|0}if(T(e,t,n)){return u}var c=I(e,n);var r=j(t,n);if(c!==c||r!==r){return rn(u.toSeq().cacheResult(),e,t,s)}var o=r-c;var l;if(o===o){l=o<0?0:o}var i=bn(u);i.size=l===0?l:u.size&&l||undefined;if(!s&&ie(u)&&l>=0){i.get=function(e,t){e=A(this,e);return e>=0&&e<l?u.get(e+c,t):t}}i.__iterateUncached=function(n,e){var r=this;if(l===0){return 0}if(e){return this.cacheResult().__iterate(n,e)}var o=0;var i=true;var a=0;u.__iterate(function(e,t){if(!(i&&(i=o++<c))){a++;return n(e,s?t:a-1,r)!==false&&a!==l}});return a};i.__iteratorUncached=function(t,e){if(l!==0&&e){return this.cacheResult().__iterator(t,e)}var n=l!==0&&u.__iterator(t,e);var r=0;var o=0;return new B(function(){while(r++<c){n.next()}if(++o>l){return U()}var e=n.next();if(s||t===D){return e}else if(t===L){return z(t,o-1,undefined,e)}else{return z(t,o-1,e.value[1],e)}})};return i}function on(t,s,c){var e=bn(t);e.__iterateUncached=function(r,e){var o=this;if(e){return this.cacheResult().__iterate(r,e)}var i=0;t.__iterate(function(e,t,n){return s.call(c,e,t,n)&&++i&&r(e,t,o)});return i};e.__iteratorUncached=function(o,e){var i=this;if(e){return this.cacheResult().__iterator(o,e)}var a=t.__iterator(M,e);var u=true;return new B(function(){if(!u){return U()}var e=a.next();if(e.done){return e}var t=e.value;var n=t[0];var r=t[1];if(!s.call(c,r,n,i)){u=false;return U()}return o===M?e:z(o,n,r,e)})};return e}function an(t,c,l,f){var e=bn(t);e.__iterateUncached=function(r,e){var o=this;if(e){return this.cacheResult().__iterate(r,e)}var i=true;var a=0;t.__iterate(function(e,t,n){if(!(i&&(i=c.call(l,e,t,n)))){a++;return r(e,f?t:a-1,o)}});return a};e.__iteratorUncached=function(o,e){var i=this;if(e){return this.cacheResult().__iterator(o,e)}var a=t.__iterator(M,e);var u=true;var s=0;return new B(function(){var e,t,n;do{e=a.next();if(e.done){if(f||o===D){return e}else if(o===L){return z(o,s++,undefined,e)}else{return z(o,s++,e.value[1],e)}}var r=e.value;t=r[0];n=r[1];u&&(u=c.call(l,n,t,i))}while(u);return o===M?e:z(o,t,n,e)})};return e}function un(e,t){var n=f(e);var r=[e].concat(t).map(function(e){if(!l(e)){e=n?ue(e):se(Array.isArray(e)?e:[e])}else if(n){e=u(e)}return e}).filter(function(e){return e.size!==0});if(r.length===0){return e}if(r.length===1){var o=r[0];if(o===e||n&&f(o)||d(e)&&d(o)){return o}}var i=new te(r);if(n){i=i.toKeyedSeq()}else if(!d(e)){i=i.toSetSeq()}i=i.flatten(true);i.size=r.reduce(function(e,t){if(e!==undefined){var n=t.size;if(n!==undefined){return e+n}}},0);return i}function sn(e,s,c){var t=bn(e);t.__iterateUncached=function(o,t){var i=0;var a=false;function u(e,n){var r=this;e.__iterate(function(e,t){if((!s||n<s)&&l(e)){u(e,n+1)}else if(o(e,c?t:i++,r)===false){a=true}return!a},t)}u(e,0);return i};t.__iteratorUncached=function(n,r){var o=e.__iterator(n,r);var i=[];var a=0;return new B(function(){while(o){var e=o.next();if(e.done!==false){o=i.pop();continue}var t=e.value;if(n===M){t=t[1]}if((!s||i.length<s)&&l(t)){i.push(o);o=t.__iterator(n,r)}else{return c?e:z(n,a++,t,e)}}return U()})};return t}function cn(n,r,o){var i=mn(n);return n.toSeq().map(function(e,t){return i(r.call(o,e,t,n))}).flatten(true)}function ln(i,a){var t=bn(i=this);return e.size=i.size&&2*i.size-1,e.__iterateUncached=function(n,e){var r=this,o=0;return i.__iterate(function(e,t){return(!o||!1!==n(a,o++,r))&&!1!==n(e,o++,r)},e),o},e.__iteratorUncached=function(e,t){var n,r=i.__iterator(D,t),o=0;return new B(function(){return(!n||o%2)&&(n=r.next()).done?n:o%2?z(e,o++,a):z(e,o++,n.value,n)})},e}function fn(n,r,o){if(!r){r=Sn}var e=f(n);var i=0;var a=n.toSeq().map(function(e,t){return[t,e,i++,o?o(e,t,n):e]}).toArray();a.sort(function(e,t){return r(e[3],t[3])||e[2]-t[2]}).forEach(e?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]});return e?$(a):d(n)?Y(a):Z(a)}function dn(n,r,o){if(!r){r=Sn}if(o){var e=n.toSeq().map(function(e,t){return[e,o(e,t,n)]}).reduce(function(e,t){return pn(r,e[1],t[1])?t:e});return e&&e[0]}else{return n.reduce(function(e,t){return pn(r,e,t)?t:e})}}function pn(e,t,n){var r=e(n,t);return r===0&&n!==t&&(n===undefined||n===null||n!==n)||r>0}function hn(e,a,u){var t=bn(e);t.size=new te(u).map(function(e){return e.size}).min();t.__iterate=function(e,t){var n=this.__iterator(D,t);var r;var o=0;while(!(r=n.next()).done){if(e(r.value,o++,this)===false){break}}return o};t.__iteratorUncached=function(t,n){var r=u.map(function(e){return e=s(e),q(n?e.reverse():e)});var o=0;var i=false;return new B(function(){var e;if(!i){e=r.map(function(e){return e.next()});i=e.some(function(e){return e.done})}if(i){return U()}return z(t,o++,a.apply(null,e.map(function(e){return e.value})))})};return t}function gn(e,t){return ie(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e)){throw new TypeError("Expected [K, V] tuple: "+e)}}function yn(e){Ve(e.size);return _(e)}function mn(e){return f(e)?u:d(e)?c:o}function bn(e){return Object.create((f(e)?$:d(e)?Y:Z).prototype)}function wn(){if(this._iter.cacheResult){this._iter.cacheResult();this.size=this._iter.size;return this}else{return G.prototype.cacheResult.call(this)}}function Sn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=q(e);if(!t){if(!W(e)){throw new TypeError("Expected iterable or array-like: "+e)}t=q(s(e))}return t}function kn(r,o){var i;var a=function e(t){if(t instanceof a){return t}if(!(this instanceof a)){return new a(t)}if(!i){i=true;var n=Object.keys(r);An(u,n);u.size=n.length;u._name=o;u._keys=n;u._defaultValues=r}this._map=qe(t)};var u=a.prototype=Object.create(En);u.constructor=a;return a}e(Kt,qe),Kt.of=function(){return this(arguments)},Kt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Kt.prototype.get=function(e,t){var n=this._map.get(e);return n!==undefined?this._list.get(n)[1]:t},Kt.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._map.clear();this._list.clear();return this}return Ht()},Kt.prototype.set=function(e,t){return Wt(this,e,t)},Kt.prototype.remove=function(e){return Wt(this,e,m)},Kt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Kt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Kt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Kt.prototype.__ensureOwner=function(e){if(e===this.__ownerID){return this}var t=this._map.__ensureOwner(e);var n=this._list.__ensureOwner(e);if(!e){this.__ownerID=e;this._map=t;this._list=n;return this}return qt(t,n,e,this.__hash)},Kt.isOrderedMap=Vt,Kt.prototype[a]=true,Kt.prototype[g]=Kt.prototype.remove,e(Gt,$),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this;var t=Jt(this,true);if(!this._useKeys){t.valueSeq=function(){return e._iter.toSeq().reverse()}}return t},Gt.prototype.map=function(e,t){var n=this;var r=Qt(this,e,t);if(!this._useKeys){r.valueSeq=function(){return n._iter.toSeq().map(e,t)}}return r},Gt.prototype.__iterate=function(n,t){var r=this;var o;return this._iter.__iterate(this._useKeys?function(e,t){return n(e,t,r)}:(o=t?yn(this):0,function(e){return n(e,t?--o:o++,r)}),t)},Gt.prototype.__iterator=function(t,n){if(this._useKeys){return this._iter.__iterator(t,n)}var r=this._iter.__iterator(D,n);var o=n?yn(this):0;return new B(function(){var e=r.next();return e.done?e:z(t,n?--o:o++,e.value,e)})},Gt.prototype[a]=true,e($t,Y),$t.prototype.includes=function(e){return this._iter.includes(e)},$t.prototype.__iterate=function(t,e){var n=this;var r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},$t.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e);var r=0;return new B(function(){var e=n.next();return e.done?e:z(t,r++,e.value,e)})},e(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},Yt.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e);return new B(function(){var e=n.next();return e.done?e:z(t,e.value,e.value,e)})},e(Zt,$),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(n,e){var r=this;return this._iter.__iterate(function(e){if(e){vn(e);var t=l(e);return n(t?e.get(1):e[1],t?e.get(0):e[0],r)}},e)},Zt.prototype.__iterator=function(r,e){var o=this._iter.__iterator(D,e);return new B(function(){while(true){var e=o.next();if(e.done){return e}var t=e.value;if(t){vn(t);var n=l(t);return z(r,n?t.get(0):t[0],n?t.get(1):t[1],e)}}})},$t.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=wn,e(kn,ke),kn.prototype.toString=function(){return this.__toString(_n(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e)){return t}var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID){this._map&&this._map.clear();return this}var e=this.constructor;return e._empty||(e._empty=On(this,ot()))},kn.prototype.set=function(e,t){if(!this.has(e)){throw new Error('Cannot set unknown key "'+e+'" on '+_n(this))}var n=this._map&&this._map.set(e,t);if(this.__ownerID||n===this._map){return this}return On(this,n)},kn.prototype.remove=function(e){if(!this.has(e)){return this}var t=this._map&&this._map.remove(e);if(this.__ownerID||t===this._map){return this}return On(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return u(this._defaultValues).map(function(e,t){return n.get(t)}).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return u(this._defaultValues).map(function(e,t){return n.get(t)}).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID){return this}var t=this._map&&this._map.__ensureOwner(e);if(!e){this.__ownerID=e;this._map=t;return this}return On(this,t,e)};var En=kn.prototype;function On(e,t,n){var r=Object.create(Object.getPrototypeOf(e));r._map=t;r.__ownerID=n;return r}function _n(e){return e._name||e.constructor.name||"Record"}function An(e,t){try{t.forEach(Cn.bind(undefined,e))}catch(e){}}function Cn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record.");this.set(t,e)}})}function Tn(n){return n===null||n===undefined?Rn():In(n)&&!h(n)?n:Rn().withMutations(function(t){var e=o(n);Ve(e.size);e.forEach(function(e){return t.add(e)})})}function In(e){return!!(e&&e[jn])}En[g]=En.remove,En.deleteIn=En.removeIn=Ge.removeIn,En.merge=Ge.merge,En.mergeWith=Ge.mergeWith,En.mergeIn=Ge.mergeIn,En.mergeDeep=Ge.mergeDeep,En.mergeDeepWith=Ge.mergeDeepWith,En.mergeDeepIn=Ge.mergeDeepIn,En.setIn=Ge.setIn,En.update=Ge.update,En.updateIn=Ge.updateIn,En.withMutations=Ge.withMutations,En.asMutable=Ge.asMutable,En.asImmutable=Ge.asImmutable,e(Tn,Oe),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(u(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Dn(this,this._map.set(e,true))},Tn.prototype.remove=function(e){return Dn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Dn(this,this._map.clear())},Tn.prototype.union=function(){var n=r.call(arguments,0);n=n.filter(function(e){return e.size!==0});if(n.length===0){return this}if(this.size===0&&!this.__ownerID&&n.length===1){return this.constructor(n[0])}return this.withMutations(function(t){for(var e=0;e<n.length;e++){o(n[e]).forEach(function(e){return t.add(e)})}})},Tn.prototype.intersect=function(){var n=r.call(arguments,0);if(n.length===0){return this}n=n.map(function(e){return o(e)});var t=this;return this.withMutations(function(e){t.forEach(function(t){if(!n.every(function(e){return e.includes(t)})){e.remove(t)}})})},Tn.prototype.subtract=function(){var n=r.call(arguments,0);if(n.length===0){return this}n=n.map(function(e){return o(e)});var t=this;return this.withMutations(function(e){t.forEach(function(t){if(n.some(function(e){return e.includes(t)})){e.remove(t)}})})},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(e){var t=r.call(arguments,1);return this.union.apply(this,t)},Tn.prototype.sort=function(e){return Nn(fn(this,e))},Tn.prototype.sortBy=function(e,t){return Nn(fn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(n,e){var r=this;return this._map.__iterate(function(e,t){return n(t,t,r)},e)},Tn.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID){return this}var t=this._map.__ensureOwner(e);if(!e){this.__ownerID=e;this._map=t;return this}return this.__make(t,e)},Tn.isSet=In;var jn="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype,Ln;function Dn(e,t){if(e.__ownerID){e.size=t.size;e._map=t;return e}return t===e._map?e:t.size===0?e.__empty():e.__make(t)}function Mn(e,t){var n=Object.create(Pn);n.size=e?e.size:0;n._map=e;n.__ownerID=t;return n}function Rn(){return Ln||(Ln=Mn(ot()))}function Nn(n){return n===null||n===undefined?Kn():Fn(n)?n:Kn().withMutations(function(t){var e=o(n);Ve(e.size);e.forEach(function(e){return t.add(e)})})}function Fn(e){return In(e)&&h(e)}Pn[jn]=true,Pn[g]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ge.withMutations,Pn.asMutable=Ge.asMutable,Pn.asImmutable=Ge.asImmutable,Pn.__empty=Rn,Pn.__make=Mn,e(Nn,Tn),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(u(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Fn;var Bn=Nn.prototype,zn;function Un(e,t){var n=Object.create(Bn);n.size=e?e.size:0;n._map=e;n.__ownerID=t;return n}function Kn(){return zn||(zn=Un(Ht()))}function Vn(e){return e===null||e===undefined?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!!(e&&e[Hn])}Bn[a]=true,Bn.__empty=Kn,Bn.__make=Un,e(Vn,Ee),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;e=A(this,e);while(n&&e--){n=n.next}return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.prototype.push=function(){if(arguments.length===0){return this}var e=this.size+arguments.length;var t=this._head;for(var n=arguments.length-1;n>=0;n--){t={value:arguments[n],next:t}}if(this.__ownerID){this.size=e;this._head=t;this.__hash=undefined;this.__altered=true;return this}return $n(e,t)},Vn.prototype.pushAll=function(e){e=c(e);if(e.size===0){return this}Ve(e.size);var t=this.size;var n=this._head;e.reverse().forEach(function(e){t++;n={value:e,next:n}});if(this.__ownerID){this.size=t;this._head=n;this.__hash=undefined;this.__altered=true;return this}return $n(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._head=undefined;this.__hash=undefined;this.__altered=true;return this}return Yn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size)){return this}var n=I(e,this.size);var r=j(t,this.size);if(r!==this.size){return Ee.prototype.slice.call(this,e,t)}var o=this.size-n;var i=this._head;while(n--){i=i.next}if(this.__ownerID){this.size=o;this._head=i;this.__hash=undefined;this.__altered=true;return this}return $n(o,i)},Vn.prototype.__ensureOwner=function(e){if(e===this.__ownerID){return this}if(!e){this.__ownerID=e;this.__altered=false;return this}return $n(this.size,this._head,e,this.__hash)},Vn.prototype.__iterate=function(e,t){if(t){return this.reverse().__iterate(e)}var n=0;var r=this._head;while(r){if(e(r.value,n++,this)===false){break}r=r.next}return n},Vn.prototype.__iterator=function(t,e){if(e){return this.reverse().__iterator(t)}var n=0;var r=this._head;return new B(function(){if(r){var e=r.value;r=r.next;return z(t,n++,e)}return U()})},Vn.isStack=qn;var Hn="@@__IMMUTABLE_STACK__@@",Wn=Vn.prototype,Gn;function $n(e,t,n,r){var o=Object.create(Wn);o.size=e;o._head=t;o.__ownerID=n;o.__hash=r;o.__altered=false;return o}function Yn(){return Gn||(Gn=$n(0))}function Zn(t,n){var e=function(e){t.prototype[e]=n[e]};Object.keys(n).forEach(e);Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(e);return t}Wn[Hn]=true,Wn.withMutations=Ge.withMutations,Wn.asMutable=Ge.asMutable,Wn.asImmutable=Ge.asImmutable,Wn.wasAltered=Ge.wasAltered,s.Iterator=B,Zn(s,{toArray:function(){Ve(this.size);var n=new Array(this.size||0);this.valueSeq().__iterate(function(e,t){n[t]=e});return n},toIndexedSeq:function(){return new $t(this)},toJS:function(){return this.toSeq().map(function(e){return e&&typeof e.toJS==="function"?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&typeof e.toJSON==="function"?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new Gt(this,true)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Ve(this.size);var n={};this.__iterate(function(e,t){n[t]=e});return n},toOrderedMap:function(){return Kt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(f(this)?this.valueSeq():this)},toSet:function(){return Tn(f(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return d(this)?this.toIndexedSeq():f(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(f(this)?this.valueSeq():this)},toList:function(){return Et(f(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){if(this.size===0){return e+t}return e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=r.call(arguments,0);return gn(this,un(this,e))},includes:function(t){return this.some(function(e){return ye(e,t)})},entries:function(){return this.__iterator(M)},every:function(r,o){Ve(this.size);var i=true;this.__iterate(function(e,t,n){if(!r.call(o,e,t,n)){i=false;return false}});return i},filter:function(e,t){return gn(this,en(this,e,t,true))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(r,o){var i;this.__iterate(function(e,t,n){if(r.call(o,e,t,n)){i=[t,e];return false}});return i},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){Ve(this.size);return this.__iterate(t?e.bind(t):e)},join:function(t){Ve(this.size);t=t!==undefined?""+t:",";var n="";var r=true;this.__iterate(function(e){r?r=false:n+=t;n+=e!==null&&e!==undefined?e.toString():""});return n},keys:function(){return this.__iterator(L)},map:function(e,t){return gn(this,Qt(this,e,t))},reduce:function(r,e,o){Ve(this.size);var i;var a;if(arguments.length<2){a=true}else{i=e}this.__iterate(function(e,t,n){if(a){a=false;i=e}else{i=r.call(o,i,e,t,n)}});return i},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return gn(this,Jt(this,true))},slice:function(e,t){return gn(this,rn(this,e,t,true))},some:function(e,t){return!this.every(nr(e),t)},sort:function(e){return gn(this,fn(this,e))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==undefined?this.size===0:!this.some(function(){return true})},count:function(e,t){return _(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return me(this,e)},entrySeq:function(){var e=this;if(e._cache){return new te(e._cache)}var t=e.toSeq().map(tr).toIndexedSeq();t.fromEntrySeq=function(){return e.toSeq()};return t},filterNot:function(e,t){return this.filter(nr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(C)},flatMap:function(e,t){return gn(this,cn(this,e,t))},flatten:function(e){return gn(this,sn(this,e,true))},fromEntrySeq:function(){return new Zt(this)},get:function(n,e){return this.find(function(e,t){return ye(t,n)},undefined,e)},getIn:function(e,t){var n=this;var r=xn(e);var o;while(!(o=r.next()).done){var i=o.value;n=n&&n.get?n.get(i,m):m;if(n===m){return t}}return n},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,m)!==m},hasIn:function(e){return this.getIn(e,m)!==m},isSubset:function(t){t=typeof t.includes==="function"?t:s(t);return this.every(function(e){return t.includes(e)})},isSuperset:function(e){e=typeof e.isSubset==="function"?e:s(e);return e.isSubset(this)},keySeq:function(){return this.toSeq().map(er).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?rr(e):ar)},minBy:function(e,t){return dn(this,t?rr(t):ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,true))},skipUntil:function(e,t){return this.skipWhile(nr(e),t)},sortBy:function(e,t){return gn(this,fn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(nr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ur(this))}});var Xn=s.prototype;Xn[t]=true,Xn[F]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=or,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"length",{get:function(){if(!s.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(t.indexOf("_wrapObject")===-1){console&&console.warn&&console.warn("iterable.length has been deprecated, "+"use iterable.size or iterable.count(). "+"This warning will become a silent error in a future version. "+t);return this.size}}}})}catch(e){}}(),Zn(u,{flip:function(){return gn(this,Xt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(t){return this.findKey(function(e){return ye(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return ye(e,t)})},mapEntries:function(n,r){var o=this;var i=0;return gn(this,this.toSeq().map(function(e,t){return n.call(r,[t,e],i++,o)}).fromEntrySeq())},mapKeys:function(n,r){var o=this;return gn(this,this.toSeq().flip().map(function(e,t){return n.call(r,e,t,o)}).flip())}});var Qn=u.prototype,Jn;function er(e,t){return t}function tr(e,t){return[t,e]}function nr(e){return function(){return!e.apply(this,arguments)}}function rr(e){return function(){return-e.apply(this,arguments)}}function or(e){return typeof e==="string"?JSON.stringify(e):e}function ir(){return O(arguments)}function ar(e,t){return e<t?1:e>t?-1:0}function ur(e){if(e.size===Infinity){return 0}var t=h(e);var n=f(e);var r=t?1:0;var o=e.__iterate(n?t?function(e,t){r=31*r+cr(Ce(e),Ce(t))|0}:function(e,t){r=r+cr(Ce(e),Ce(t))|0}:t?function(e){r=31*r+Ce(e)|0}:function(e){r=r+Ce(e)|0});return sr(o,r)}function sr(e,t){t=_e(t,3432918353);t=_e(t<<15|t>>>-15,461845907);t=_e(t<<13|t>>>-13,5);t=(t+3864292196|0)^e;t=_e(t^t>>>16,2246822507);t=_e(t^t>>>13,3266489909);t=Ae(t^t>>>16);return t}function cr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Qn[n]=!0,Qn[F]=Xn.entries,Qn.__toJS=Xn.toObject,Qn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+or(e)},Zn(c,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return gn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return gn(this,Jt(this,!1))},slice:function(e,t){return gn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=I(e,e<0?this.count():this.size);var r=this.slice(0,e);return gn(this,1===n?r:r.concat(O(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return gn(this,sn(this,e,!1))},get:function(n,e){return(n=A(this,n))<0||this.size===1/0||void 0!==this.size&&n>this.size?e:this.find(function(e,t){return t===n},void 0,e)},has:function(e){return 0<=(e=A(this,e))&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,(a=e,(t=bn(i=this)).size=i.size&&2*i.size-1,t.__iterateUncached=function(n,e){var r=this,o=0;return i.__iterate(function(e,t){return(!o||!1!==n(a,o++,r))&&!1!==n(e,o++,r)},e),o},t.__iteratorUncached=function(e,t){var n,r=i.__iterator(D,t),o=0;return new B(function(){return(!n||o%2)&&(n=r.next()).done?n:o%2?z(e,o++,a):z(e,o++,n.value,n)})},t));var i,a,t},interleave:function(){var e=[this].concat(O(arguments)),t=hn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){var e=[this].concat(O(arguments));return gn(this,hn(this,ir,e))},zipWith:function(e){var t=O(arguments);return gn(t[0]=this,hn(this,e,t))}}),c.prototype[i]=!0,c.prototype[a]=!0,Zn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Xn.includes,Zn($,u.prototype),Zn(Y,c.prototype),Zn(Z,o.prototype),Zn(ke,u.prototype),Zn(Ee,c.prototype),Zn(Oe,o.prototype),{Iterable:s,Seq:G,Collection:xe,Map:qe,OrderedMap:Kt,List:Et,Stack:Vn,Set:Tn,OrderedSet:Nn,Record:kn,Range:Se,Repeat:be,is:ye,fromJS:pe}}()},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;(s=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var r=n(171);n.d(t,"annotationsReducer",function(){return r.a});var o=n(30);n.d(t,"createAnnotationAction",function(){return o.a}),n.d(t,"fetchAnnotationsAction",function(){return o.b}),n.d(t,"removeAnnotationAction",function(){return o.c}),n.d(t,"setActiveAnnotationIdAction",function(){return o.d}),n.d(t,"setIsInitialized",function(){return o.e});var i=n(175);n.d(t,"getActiveAnnotationId",function(){return i.a}),n.d(t,"getAnnotation",function(){return i.b}),n.d(t,"getAnnotations",function(){return i.c}),n.d(t,"getAnnotationsForLocation",function(){return i.d}),n.d(t,"getIsInitialized",function(){return i.e});var a=n(176);n.o(a,"CreatorStatus")&&n.d(t,"CreatorStatus",function(){return a.CreatorStatus}),n.o(a,"Mode")&&n.d(t,"Mode",function(){return a.Mode}),n.o(a,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return a.fetchCollaboratorsAction}),n.o(a,"getAnnotationMode")&&n.d(t,"getAnnotationMode",function(){return a.getAnnotationMode}),n.o(a,"getCollaborators")&&n.d(t,"getCollaborators",function(){return a.getCollaborators}),n.o(a,"getColor")&&n.d(t,"getColor",function(){return a.getColor}),n.o(a,"getCreatorCursor")&&n.d(t,"getCreatorCursor",function(){return a.getCreatorCursor}),n.o(a,"getCreatorMessage")&&n.d(t,"getCreatorMessage",function(){return a.getCreatorMessage}),n.o(a,"getCreatorReferenceId")&&n.d(t,"getCreatorReferenceId",function(){return a.getCreatorReferenceId}),n.o(a,"getCreatorStagedForLocation")&&n.d(t,"getCreatorStagedForLocation",function(){return a.getCreatorStagedForLocation}),n.o(a,"getCreatorStatus")&&n.d(t,"getCreatorStatus",function(){return a.getCreatorStatus}),n.o(a,"getFileId")&&n.d(t,"getFileId",function(){return a.getFileId}),n.o(a,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return a.getIsCurrentFileVersion}),n.o(a,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return a.getIsPromoting}),n.o(a,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return a.getIsSelecting}),n.o(a,"getRotation")&&n.d(t,"getRotation",function(){return a.getRotation}),n.o(a,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return a.getSelectionForLocation}),n.o(a,"isCreatorStagedDrawing")&&n.d(t,"isCreatorStagedDrawing",function(){return a.isCreatorStagedDrawing}),n.o(a,"isCreatorStagedHighlight")&&n.d(t,"isCreatorStagedHighlight",function(){return a.isCreatorStagedHighlight}),n.o(a,"isCreatorStagedRegion")&&n.d(t,"isCreatorStagedRegion",function(){return a.isCreatorStagedRegion}),n.o(a,"resetCreatorAction")&&n.d(t,"resetCreatorAction",function(){return a.resetCreatorAction}),n.o(a,"setColorAction")&&n.d(t,"setColorAction",function(){return a.setColorAction}),n.o(a,"setCursorAction")&&n.d(t,"setCursorAction",function(){return a.setCursorAction}),n.o(a,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return a.setIsPromotingAction}),n.o(a,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return a.setIsSelectingAction}),n.o(a,"setMessageAction")&&n.d(t,"setMessageAction",function(){return a.setMessageAction}),n.o(a,"setReferenceIdAction")&&n.d(t,"setReferenceIdAction",function(){return a.setReferenceIdAction}),n.o(a,"setRotationAction")&&n.d(t,"setRotationAction",function(){return a.setRotationAction}),n.o(a,"setScaleAction")&&n.d(t,"setScaleAction",function(){return a.setScaleAction}),n.o(a,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return a.setSelectionAction}),n.o(a,"setStagedAction")&&n.d(t,"setStagedAction",function(){return a.setStagedAction}),n.o(a,"setStatusAction")&&n.d(t,"setStatusAction",function(){return a.setStatusAction}),n.o(a,"toggleAnnotationModeAction")&&n.d(t,"toggleAnnotationModeAction",function(){return a.toggleAnnotationModeAction})},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"l",function(){return u}),n.d(t,"m",function(){return s}),n.d(t,"n",function(){return c}),n.d(t,"o",function(){return l}),n.d(t,"p",function(){return f}),n.d(t,"q",function(){return d}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return m}),n.d(t,"f",function(){return b}),n.d(t,"g",function(){return w}),n.d(t,"h",function(){return S}),n.d(t,"i",function(){return x}),n.d(t,"j",function(){return k}),n.d(t,"k",function(){return E}),n.d(t,"a",function(){return r});var r,o,i=n(5),a=n(18);(o=r=r||{}).init="init",o.pending="pending",o.rejected="rejected",o.staged="staged",o.started="started";var u=Object(i.b)("RESET_CREATOR"),s=Object(i.b)("SET_CREATOR_CURSOR"),c=Object(i.b)("SET_CREATOR_MESSAGE"),l=Object(i.b)("SET_CREATOR_REFERENCE_ID"),f=Object(i.b)("SET_CREATOR_STAGED"),d=Object(i.b)("SET_CREATOR_STATUS"),p=n(45),h={cursor:0,error:null,message:"",referenceId:null,staged:null,status:r.init},g=Object(i.d)(h,function(e){return e.addCase(a.createAnnotationAction.fulfilled,function(){return h}).addCase(a.createAnnotationAction.pending,function(e){e.error=null,e.status=r.pending}).addCase(a.createAnnotationAction.rejected,function(e,t){var n=t.error;e.error=n,e.status=r.rejected}).addCase(u,function(e){e.message="",e.referenceId=null,e.staged=null,e.status=r.init}).addCase(c,function(e,t){var n=t.payload;e.message=n}).addCase(l,function(e,t){var n=t.payload;e.referenceId=n}).addCase(f,function(e,t){var n=t.payload;e.staged=n}).addCase(d,function(e,t){var n=t.payload;e.status=n}).addCase(s,function(e,t){var n=t.payload;e.cursor=n}).addCase(p.f,function(){return h})}),v=function(e){return e.creator.cursor},y=function(e){return e.creator.message},m=function(e){return e.creator.referenceId},b=function(e){return e.creator.staged},w=function(e,t){var n=b(e);return n&&n.location===t?n:null},S=function(e){return e.creator.status},x=function(e){return void 0!==(null===e||void 0===e?void 0:e.pathGroups)},k=function(e){return void 0!==(null===e||void 0===e?void 0:e.shapes)},E=function(e){return void 0!==(null===e||void 0===e?void 0:e.shape)}},function(e,t,n){"use strict";var o=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var m=n(241),r=n(148),p=n(442),i=n(16),a=n(80),u=i.OrderedSet,s=i.Record,h=i.Stack,c=s({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:h(),selection:null,treeMap:null,undoStack:h()}),l=(g.createEmpty=function(e){return g.createWithContent(r.createFromText(""),e)},g.createWithContent=function(e,t){var n=e.getBlockMap().first().getKey();return g.create({currentContent:e,undoStack:h(),redoStack:h(),decorator:t||null,selection:a.createEmpty(n)})},g.create=function(e){var t=e.currentContent,n=e.decorator,r=o({},e,{treeMap:b(t,n),directionMap:p.getDirectionMap(t)});return new g(new c(r))},g.set=function(v,y){return new g(v.getImmutable().withMutations(function(e){var t=e.get("decorator"),n=t;null===y.decorator?n=null:y.decorator&&(n=y.decorator);var r,o,i,a,u,s,c,l,f,d,p=y.currentContent||v.getCurrentContent();if(n!==t){var h,g=e.get("treeMap");return h=n&&t?(o=(r=p).getBlockMap(),i=n,a=t,g.merge(o.toSeq().filter(function(e){return i.getDecorations(e,r)!==a.getDecorations(e,r)}).map(function(e){return m.generate(r,e,i)}))):b(p,n),void e.merge({decorator:n,treeMap:h,nativelyRenderedContent:null})}p!==v.getCurrentContent()&&e.set("treeMap",(u=v,s=p.getBlockMap(),c=p.getEntityMap(),l=n,f=u.getCurrentContent().set("entityMap",c),d=f.getBlockMap(),u.getImmutable().get("treeMap").merge(s.toSeq().filter(function(e,t){return e!==d.get(t)}).map(function(e){return m.generate(f,e,l)})))),e.merge(y)}))},g.prototype.toJS=function(){return this.getImmutable().toJS()},g.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},g.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},g.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},g.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},g.prototype.getSelection=function(){return this.getImmutable().get("selection")},g.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},g.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},g.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},g.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},g.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},g.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},g.setInlineStyleOverride=function(e,t){return g.set(e,{inlineStyleOverride:t})},g.prototype.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return(n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return 0<r?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):d(e,n)}:function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):0<r?o.getInlineStyleAt(r-1):d(e,n)})(t,n)},g.prototype.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},g.prototype.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},g.prototype.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},g.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},g.acceptSelection=function(e,t){return f(e,t,!1)},g.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),f(e,t,!0)},g.moveSelectionToEnd=function(e){var t=e.getCurrentContent().getLastBlock(),n=t.getKey(),r=t.getLength();return g.acceptSelection(e,new a({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}))},g.moveFocusToEnd=function(e){var t=g.moveSelectionToEnd(e);return g.forceSelection(t,t.getSelection())},g.push=function(e,t,n){if(e.getCurrentContent()===t)return e;var r="insert-characters"!==n,o=p.getDirectionMap(t,e.getDirectionMap());if(!e.getAllowUndo())return g.set(e,{currentContent:t,directionMap:o,lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var i,a,u=e.getSelection(),s=e.getCurrentContent(),c=e.getUndoStack(),l=t;u!==s.getSelectionAfter()||(i=n,a=e.getLastChangeType(),i!==a||"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i)?(c=c.push(s),l=l.set("selectionBefore",u)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(l=l.set("selectionBefore",s.getSelectionBefore()));var f=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(n)&&(f=null);var d={currentContent:l,directionMap:o,undoStack:c,redoStack:h(),lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:f};return g.set(e,d)},g.undo=function(e){if(!e.getAllowUndo())return e;var t=e.getUndoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),o=p.getDirectionMap(n,e.getDirectionMap());return g.set(e,{currentContent:n,directionMap:o,undoStack:t.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},g.redo=function(e){if(!e.getAllowUndo())return e;var t=e.getRedoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),o=p.getDirectionMap(n,e.getDirectionMap());return g.set(e,{currentContent:n,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:t.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},g.prototype.getImmutable=function(){return this._immutable},g);function g(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),this._immutable=e}function f(e,t,n){return l.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function b(t,n){return t.getBlockMap().map(function(e){return m.generate(t,e,n)}).toOrderedMap()}function d(e,n){var t=e.getBlockMap().reverse().skipUntil(function(e,t){return t===n}).skip(1).skipUntil(function(e,t){return e.getLength()}).first();return t?t.getInlineStyleAt(t.getLength()-1):u()}e.exports=l},function(e,t,n){var a=n(316);e.exports=function(e,t){if(null==e)return{};var n,r,o=a(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return x}),n.d(t,"c",function(){return G}),n.d(t,"d",function(){return Z});var T=n(0),I=n.n(T),g=(n(382),I.a.createContext(null));var i=function(e){e()},r={notify:function(){}};function o(){var e=i,r=null,o=null;return{clear:function(){o=r=null},notify:function(){e(function(){for(var e=r;e;)e.callback(),e=e.next})},get:function(){for(var e=[],t=r;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=o={callback:e,next:null,prev:o};return n.prev?n.prev.next=n:r=n,function(){t&&null!==r&&(t=!1,n.next?n.next.prev=n.prev:o=n.prev,n.prev?n.prev.next=n.next:r=n.next)}}}}var j=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=r,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=o())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=r)},e}();var a=function(e){var t=e.store,n=e.context,r=e.children,o=Object(T.useMemo)(function(){var e=new j(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),i=Object(T.useMemo)(function(){return t.getState()},[t]);Object(T.useEffect)(function(){var e=o.subscription;return e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[o,i]);var a=n||g;return I.a.createElement(a.Provider,{value:o},r)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function L(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}var u=n(162),v=n.n(u),D=n(272),d="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?T.useLayoutEffect:T.useEffect,M=[],R=[null,null];function N(e,t){var n=e[1];return[t.payload,n+1]}function F(e,t,n){d(function(){return e.apply(void 0,t)},n)}function B(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function z(e,r,t,o,i,a,u,s,c,l){if(e){var f=!1,d=null,n=function(){if(!f){var e,t,n=r.getState();try{e=o(n,i.current)}catch(e){d=t=e}t||(d=null),e===a.current?u.current||c():(a.current=e,s.current=e,u.current=!0,l({type:"STORE_UPDATED",payload:{error:t}}))}};t.onStateChange=n,t.trySubscribe(),n();return function(){if(f=!0,t.tryUnsubscribe(),t.onStateChange=null,d)throw d}}}var U=function(){return[null,0]};function s(_,e){void 0===e&&(e={});var t=e.getDisplayName,a=void 0===t?function(e){return"ConnectAdvanced("+e+")"}:t,n=e.methodName,u=void 0===n?"connectAdvanced":n,r=e.renderCountProp,s=void 0===r?void 0:r,o=e.shouldHandleStateChanges,A=void 0===o||o,i=e.storeKey,c=void 0===i?"store":i,l=(e.withRef,e.forwardRef),f=void 0!==l&&l,d=e.context,p=void 0===d?g:d,h=L(e,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),C=p;return function(k){var e=k.displayName||k.name||"Component",t=a(e),E=P({},h,{getDisplayName:a,methodName:u,renderCountProp:s,shouldHandleStateChanges:A,storeKey:c,displayName:t,wrappedComponentName:e,WrappedComponent:k}),n=h.pure;var O=n?T.useMemo:function(e){return e()};function r(n){var e=Object(T.useMemo)(function(){var e=n.reactReduxForwardedRef,t=L(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),t=e[0],r=e[1],o=e[2],i=Object(T.useMemo)(function(){return t&&t.Consumer&&Object(D.isContextConsumer)(I.a.createElement(t.Consumer,null))?t:C},[t,C]),a=Object(T.useContext)(i),u=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(a)&&Boolean(a.store);var s=u?n.store:a.store,c=Object(T.useMemo)(function(){return _(s.dispatch,E)},[s]),l=Object(T.useMemo)(function(){if(!A)return R;var e=new j(s,u?null:a.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[s,u,a]),f=l[0],d=l[1],p=Object(T.useMemo)(function(){return u?a:P({},a,{subscription:f})},[u,a,f]),h=Object(T.useReducer)(N,M,U),g=h[0][0],v=h[1];if(g&&g.error)throw g.error;var y=Object(T.useRef)(),m=Object(T.useRef)(o),b=Object(T.useRef)(),w=Object(T.useRef)(!1),S=O(function(){return b.current&&o===m.current?b.current:c(s.getState(),o)},[s,g,o]);F(B,[m,y,w,o,S,b,d]),F(z,[A,s,f,c,m,y,w,b,d,v],[s,f,c]);var x=Object(T.useMemo)(function(){return I.a.createElement(k,P({},S,{ref:r}))},[r,k,S]);return Object(T.useMemo)(function(){return A?I.a.createElement(i.Provider,{value:p},x):x},[i,x,p])}var o=n?I.a.memo(r):r;if(o.WrappedComponent=k,o.displayName=t,f){var i=I.a.forwardRef(function(e,t){return I.a.createElement(o,P({},e,{reactReduxForwardedRef:t}))});return i.displayName=t,i.WrappedComponent=k,v()(i,k)}return v()(o,k)}}function c(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function k(e,t){if(c(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!c(e[n[o]],t[n[o]]))return!1;return!0}var l=n(39);function f(o){return function(e,t){var n=o(e,t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function p(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function h(o){return function(e,t){t.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,t){r.mapToProps=o,r.dependsOnOwnProps=p(o);var n=r(e,t);return"function"==typeof n&&(r.mapToProps=n,r.dependsOnOwnProps=p(n),n=r(e,t)),n},r}}var y=[function(e){return"function"==typeof e?h(e):void 0},function(e){return e?void 0:f(function(e){return{dispatch:e}})},function(t){return t&&"object"==typeof t?f(function(e){return Object(l.b)(t,e)}):void 0}];var E=[function(e){return"function"==typeof e?h(e):void 0},function(e){return e?void 0:f(function(){return{}})}];function m(e,t,n){return P({},n,e,t)}var O=[function(e){return"function"==typeof e?(s=e,function(e,t){t.displayName;var o,i=t.pure,a=t.areMergedPropsEqual,u=!1;return function(e,t,n){var r=s(e,t,n);return u?i&&a(r,o)||(o=r):(u=!0,o=r),o}}):void 0;var s},function(e){return e?void 0:function(){return m}}];function b(n,r,o,i){return function(e,t){return o(n(e,t),r(i,t),t)}}function w(a,u,s,c,e){var l,f,d,p,h,g=e.areStatesEqual,v=e.areOwnPropsEqual,y=e.areStatePropsEqual,n=!1;function r(e,t){var n,r,o=!v(t,f),i=!g(e,l);return l=e,f=t,o&&i?(d=a(l,f),u.dependsOnOwnProps&&(p=u(c,f)),h=s(d,p,f)):o?(a.dependsOnOwnProps&&(d=a(l,f)),u.dependsOnOwnProps&&(p=u(c,f)),h=s(d,p,f)):(i&&(n=a(l,f),r=!y(n,d),d=n,r&&(h=s(d,p,f))),h)}return function(e,t){return n?r(e,t):(d=a(l=e,f=t),p=u(c,f),h=s(d,p,f),n=!0,h)}}function _(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=L(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),s=o(e,i);return(i.pure?w:b)(a,u,s,e,i)}function A(n,e,r){for(var t=e.length-1;0<=t;t--){var o=e[t](n);if(o)return o}return function(e,t){throw new Error("Invalid value of type "+typeof n+" for "+r+" argument when connecting component "+t.wrappedComponentName+".")}}function C(e,t){return e===t}function S(e){var t=void 0===e?{}:e,n=t.connectHOC,m=void 0===n?s:n,r=t.mapStateToPropsFactories,b=void 0===r?E:r,o=t.mapDispatchToPropsFactories,w=void 0===o?y:o,i=t.mergePropsFactories,S=void 0===i?O:i,a=t.selectorFactory,x=void 0===a?_:a;return function(e,t,n,r){void 0===r&&(r={});var o=r.pure,i=void 0===o||o,a=r.areStatesEqual,u=void 0===a?C:a,s=r.areOwnPropsEqual,c=void 0===s?k:s,l=r.areStatePropsEqual,f=void 0===l?k:l,d=r.areMergedPropsEqual,p=void 0===d?k:d,h=L(r,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=A(e,b,"mapStateToProps"),v=A(t,w,"mapDispatchToProps"),y=A(n,S,"mergeProps");return m(x,P({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:i,areStatesEqual:u,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))}}var x=S();function K(){return Object(T.useContext)(g)}function V(e){void 0===e&&(e=g);var t=e===g?K:function(){return Object(T.useContext)(e)};return function(){return t().store}}var q=V();function H(e){void 0===e&&(e=g);var t=e===g?q:V(e);return function(){return t().dispatch}}function W(e,t){return e===t}var G=H();function $(e){void 0===e&&(e=g);var o=e===g?K:function(){return Object(T.useContext)(e)};return function(e,t){void 0===t&&(t=W);var n=o(),r=function(e,t,n,r){var o,i=Object(T.useReducer)(function(e){return e+1},0)[1],a=Object(T.useMemo)(function(){return new j(n,r)},[n,r]),u=Object(T.useRef)(),s=Object(T.useRef)(),c=Object(T.useRef)(),l=Object(T.useRef)(),f=n.getState();try{o=e!==s.current||f!==c.current||u.current?e(f):l.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return d(function(){s.current=e,c.current=f,l.current=o,u.current=void 0}),d(function(){function e(){try{var e=s.current(n.getState());if(t(e,l.current))return;l.current=e}catch(e){u.current=e}i()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}},[n,a]),o}(e,t,n.store,n.subscription);return Object(T.useDebugValue)(r),r}}var Y,Z=$(),X=n(26);Y=X.unstable_batchedUpdates,i=Y},function(e,t,n){"use strict";var r=n(172);n.d(t,"optionsReducer",function(){return r.a});var o=n(66);n.d(t,"setRotationAction",function(){return o.d}),n.d(t,"setScaleAction",function(){return o.e});var i=n(173);n.d(t,"getFileId",function(){return i.a}),n.d(t,"getFileVersionId",function(){return i.b}),n.d(t,"getIsCurrentFileVersion",function(){return i.c}),n.d(t,"getPermissions",function(){return i.d}),n.d(t,"getRotation",function(){return i.e}),n.d(t,"getScale",function(){return i.f});var a=n(174);n.o(a,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return a.fetchAnnotationsAction}),n.o(a,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return a.fetchCollaboratorsAction}),n.o(a,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return a.getActiveAnnotationId}),n.o(a,"getAnnotation")&&n.d(t,"getAnnotation",function(){return a.getAnnotation}),n.o(a,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return a.getAnnotationsForLocation}),n.o(a,"getCollaborators")&&n.d(t,"getCollaborators",function(){return a.getCollaborators}),n.o(a,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return a.getIsPromoting}),n.o(a,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return a.getIsSelecting}),n.o(a,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return a.getSelectionForLocation}),n.o(a,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return a.removeAnnotationAction}),n.o(a,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return a.setActiveAnnotationIdAction}),n.o(a,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return a.setIsInitialized}),n.o(a,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return a.setIsPromotingAction}),n.o(a,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return a.setIsSelectingAction}),n.o(a,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return a.setSelectionAction})},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"c",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return p}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return g}),n.d(t,"b",function(){return v}),n.d(t,"h",function(){return y});var r=n(2),o=n.n(r),i=n(21),a=n.n(i),u=n(167);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){o()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function l(e){var t=e.paths,n=a()(e,["paths"]);return c({clientId:u.a(),paths:t.map(function(e){return c({clientId:u.a()},e)})},n)}function f(e){var t=e.target,n=t.path_groups,r=a()(t,["path_groups"]),o=a()(e,["target"]);return c({target:c({path_groups:n.map(function(e){return l(e)})},r)},o)}function d(e){var t=e.height,n=e.width;return{x:e.x+n/2,y:e.y+t/2}}var p=function(e){return e&&e.length?e.map(function(e,t,n){var r=e.x,o=e.y;if(0===t)return"M ".concat(r," ").concat(o);var i=n[t-1],a=n[t+1];if(!i||!a)return"";var u=(r+i.x)/2,s=(o+i.y)/2,c=(r+a.x)/2,l=(o+a.y)/2;return"C ".concat(u," ").concat(s,", ").concat(r," ").concat(o,", ").concat(c," ").concat(l)}).join(" ").trim():""};function h(e){var r=0,o=0,i=Number.MAX_VALUE,a=Number.MAX_VALUE;return e.forEach(function(e){e.paths.forEach(function(e){e.points.forEach(function(e){var t=e.x,n=e.y;r=Math.max(r,t),o=Math.max(o,n),i=Math.min(i,t),a=Math.min(a,n)})})}),{height:Math.max(0,o-a),width:Math.max(0,r-i),x:i===Number.MAX_VALUE?0:i,y:a===Number.MAX_VALUE?0:a}}function g(e){var t;return"drawing"===(null==e||null===(t=e.target)||void 0===t?void 0:t.type)}function v(e){return d(h(e))}function y(){return"vector-effect"in document.body.style}},function(e,t,n){var r=n(388),o=n(389),i=n(390);e.exports=function(e,t){return r(e)||o(e,t)||i()}},function(e,t,n){"use strict";(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}})(),e.exports=n(379)},function(e,t,n){"use strict";var r=n(9),o=n.n(r),i=n(10),a=n.n(i),u=n(75),s=n.n(u),c=n(14),l=n.n(c),f=n(15),d=n.n(f),p=n(7),h=n.n(p),g=n(268),v=n(12);function y(r){return function(){var e,t=h()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=h()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)}}var m=function(e){l()(i,e);var t=y(i);function i(){return o()(this,i),t.apply(this,arguments)}return a()(i,[{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0];return s()(h()(i.prototype),"emit",this).call(this,e,o),s()(h()(i.prototype),"emit",this).call(this,v.LegacyEvent.ANNOTATOR,{event:e,data:o}),!0}}]),i}(g.EventEmitter);t.a=new m},function(e,t,n){"use strict";var r=n(570);t.a=Object(r.defineMessages)({ariaLabelComment:{id:"ba.popup.reply.comment",defaultMessage:"Comment"},ariaLabelReplyField:{id:"ba.popup.reply.field",defaultMessage:"Type a comment"},buttonCancel:{id:"ba.popups.cancel",defaultMessage:"Cancel"},buttonPost:{id:"ba.popups.post",defaultMessage:"Post"},drawingButtonAddComment:{id:"ba.popups.drawing.addComment",defaultMessage:"Add Comment"},drawingButtonDelete:{id:"ba.popups.drawing.delete",defaultMessage:"Delete"},drawingButtonRedo:{id:"ba.popups.drawing.redo",defaultMessage:"Redo"},drawingButtonUndo:{id:"ba.popups.drawing.undo",defaultMessage:"Undo"},fieldPlaceholder:{id:"ba.popups.replyField.placeholder",defaultMessage:"Type a comment..."},popupHighlightPromoter:{id:"ba.popups.popupHighlight.promoter",defaultMessage:"Highlight and Comment"},popupHighlightRestrictedPrompt:{id:"ba.popups.popupHighlight.restrictedPrompt",defaultMessage:"Comments restricted to single page"},popupListPrompt:{id:"ba.popups.popupList.prompt",defaultMessage:"Mention someone to notify them"},regionCursorPrompt:{id:"ba.popups.popupCursor.regionPrompt",defaultMessage:"Draw a box to comment"}})},function(e,t,n){"use strict";var r=n(123),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return p});var r=n(68),f=n.n(r),o=n(98),i=n.n(o),a=n(5),d=n(23),u=Object(a.c)("CREATE_ANNOTATION",function(){var n=i()(f.a.mark(function e(n,t){var r,o,i,a,u,s,c,l;return f.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.extra,o=t.getState,i=t.signal,a=r.api.getAnnotationsAPI(),u=o(),s=Object(d.getFileId)(u),c=Object(d.getFileVersionId)(u),l=Object(d.getPermissions)(u),i.addEventListener("abort",function(){a.destroy()}),e.abrupt("return",new Promise(function(e,t){a.createAnnotation(s,c,n,l,e,t)}));case 8:case"end":return e.stop()}},e)}));return function(e,t){return n.apply(this,arguments)}}()),s=Object(a.c)("FETCH_ANNOTATIONS",function(){var n=i()(f.a.mark(function e(t,n){var r,o,i,a,u,s,c,l;return f.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.extra,o=n.getState,i=n.signal,a=r.api.getAnnotationsAPI(),u=o(),s=Object(d.getFileId)(u),c=Object(d.getFileVersionId)(u),l=Object(d.getPermissions)(u),i.addEventListener("abort",function(){a.destroy()}),e.abrupt("return",new Promise(function(e,t){a.getAnnotations(s,c,l,e,t,1e3,!1)}));case 8:case"end":return e.stop()}},e)}));return function(e,t){return n.apply(this,arguments)}}()),c=Object(a.b)("REMOVE_ANNOTATION"),l=Object(a.b)("SET_ACTIVE_ANNOTATION_ID"),p=Object(a.b)("SET_IS_INITIALIZED")},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return s});var p,r,o=n(4),h=n.n(o),i=n(21),g=n.n(i),a=n(0),v=n.n(a),u=n(11),y=n.n(u),m=n(55);(r=p=p||{}).dragging="dragging",r.drawing="drawing",r.init="init";var s=v.a.forwardRef(function(e,t){var n=e.children,r=e.className,o=e.onDrawStart,i=e.onDrawStop,a=e.onDrawUpdate,u=e.onMouseOut,s=void 0===u?y.a:u,c=e.onMouseOver,l=void 0===c?y.a:c,f=e.status,d=g()(e,["children","className","onDrawStart","onDrawStop","onDrawUpdate","onMouseOut","onMouseOver","status"]);return v.a.useEffect(function(){function e(e){var t=e.buttons,n=e.clientX,r=e.clientY;t===m.a&&f!==p.init&&a(n,r)}function t(){i()}return f!==p.init&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",t)),function(){document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[i,a,f]),v.a.createElement("div",h()({ref:t,className:r,onClick:function(e){e.preventDefault(),e.stopPropagation()},onMouseDown:function(e){var t=e.buttons,n=e.clientX,r=e.clientY;t===m.a&&o(n,r)},onMouseOut:function(){s()},onMouseOver:function(){l()},onTouchCancel:function(){i()},onTouchEnd:function(){i()},onTouchMove:function(e){var t=e.targetTouches;a(t[0].clientX,t[0].clientY)},onTouchStart:function(e){var t=e.targetTouches;o(t[0].clientX,t[0].clientY)},role:"presentation"},d),n)})},function(e,t,n){"use strict";var r=n(429),o=n(93),i=n(42),a=n(445),u=n(72),s=n(148),c=n(151),l=n(244),f=n(446),d=n(246),p=n(117),h=n(38),g=n(242),v=n(20),y=n(158),m=n(260),b=n(80),w=n(507),S={Editor:f,EditorBlock:d,EditorState:v,CompositeDecorator:a,Entity:p,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:u,ContentState:s,SelectionState:b,AtomicBlockUtils:r,KeyBindingUtil:y,Modifier:h,RichUtils:m,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:n(258),convertFromRaw:n(510),convertToRaw:w,genKey:n(61),getDefaultKeyBinding:n(261),getVisibleSelectionRect:n(515)};e.exports=S},function(e,t,n){"use strict";n.d(t,"f",function(){return r}),n.d(t,"e",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return s});var r="#fff",o="#000",i="#0061d5",a="#222",u="#909090",s="#ffd700"},function(e,t,n){var o=n(129);e.exports=function(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},r)).join("")?void 0:1}catch(e){return}}()?Object.assign:function(e,t){for(var n,r,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))c.call(n,a)&&(o[a]=n[a]);if(s){r=s(n);for(var u=0;u<r.length;u++)l.call(n,r[u])&&(o[r[u]]=n[r[u]])}}return o}},function(e,t,n){"use strict";var s=n(42),r=n(431),h=n(64),o=n(16),i=n(432),g=n(434),a=n(116),u=n(437),c=n(438),l=n(17),f=n(439),v=n(238),y=n(440),d=n(441),p=o.OrderedSet,m={replaceText:function(e,t,n,r,o){var i=v(e,t),a=y(i,t),u=s.create({style:r||p(),entity:o||null});return c(a,a.getSelectionAfter(),n,u)},insertText:function(e,t,n,r,o){return t.isCollapsed()||l(!1),m.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=a(e,t),o=m.removeRange(e,t,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=v(e,t),o=y(r,t);return u(o,o.getSelectionAfter(),n)},removeRange:function(e,t,n){var r,o,i=void 0,a=void 0;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r),a=e.getBlockForKey(o);var u=t.getStartOffset(),s=t.getEndOffset(),c=i.getEntityAt(u),l=a.getEntityAt(s-1);if(r===o&&c&&c===l){var f=g(e.getEntityMap(),i,a,t,n);return y(e,f)}var d=t;h.draft_segmented_entities_behavior&&(d=g(e.getEntityMap(),i,a,t,n));var p=v(e,d);return y(p,d)},splitBlock:function(e,t){var n=v(e,t),r=y(n,t);return d(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return r.add(e,t,n)},removeInlineStyle:function(e,t,n){return r.remove(e,t,n)},setBlockType:function(e,t,n){return f(e,t,function(e){return e.merge({type:n,depth:0})})},setBlockData:function(e,t,n){return f(e,t,function(e){return e.merge({data:n})})},mergeBlockData:function(e,t,n){return f(e,t,function(e){return e.merge({data:e.getData().merge(n)})})},applyEntity:function(e,t,n){var r=v(e,t);return i(r,t,n)}};e.exports=m},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return g});function r(){return Math.random().toString(36).substring(7).split("").join(".")}var p=n(160),v={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+r()}};function h(e){if("object"==typeof e&&null!==e){for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}}function g(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(g)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],u=a,s=!1;function c(){u===a&&(u=a.slice())}function l(){if(s)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(t){if("function"!=typeof t)throw new Error("Expected the listener to be a function.");if(s)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var n=!0;return c(),u.push(t),function(){if(n){if(s)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");n=!1,c();var e=u.indexOf(t);u.splice(e,1),a=null}}}function d(e){if(!h(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(s)throw new Error("Reducers may not dispatch actions.");try{s=!0,i=o(i,e)}finally{s=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}return d({type:v.INIT}),(r={dispatch:d,subscribe:f,getState:l,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,d({type:v.REPLACE})}})[p.a]=function(){var e,n=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function t(){e.next&&e.next(l())}return t(),{unsubscribe:n(t)}}})[p.a]=function(){return this},e},r}function o(e){for(var t=Object.keys(e),p={},n=0;n<t.length;n++){var r=t[n];0,"function"==typeof e[r]&&(p[r]=e[r])}var h,o,g=Object.keys(p);try{o=p,Object.keys(o).forEach(function(e){var t=o[e];if(void 0===t(void 0,{type:v.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===t(void 0,{type:v.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+v.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}catch(e){h=e}return function(e,t){if(void 0===e&&(e={}),h)throw h;for(var n,r,o,i=!1,a={},u=0;u<g.length;u++){var s=g[u],c=p[s],l=e[s],f=c(l,t);if(void 0===f){var d=(n=s,"Given "+((o=(r=t)&&r.type)&&'action "'+String(o)+'"'||"an action")+', reducer "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');throw new Error(d)}a[s]=f,i=i||f!==l}return(i=i||g.length!==Object.keys(e).length)?a:e}}function i(e,t){return function(){return t(e.apply(this,arguments))}}function a(e,t){if("function"==typeof e)return i(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=i(o,t))}return n}function u(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function s(o){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(i,!0).forEach(function(e){var t,n,r;t=o,r=i[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):u(i).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(i,e))})}return o}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function l(){for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];return function(o){return function(){var e=o.apply(void 0,arguments),t=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},n={getState:e.getState,dispatch:function(){return t.apply(void 0,arguments)}},r=i.map(function(e){return e(n)});return s({},e,{dispatch:t=c.apply(void 0,r)(e.dispatch)})}}}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var o=n(211),r=Object.prototype.toString;function i(e){return"[object Array]"===r.call(e)}function a(e){return void 0===e}function u(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===r.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:c,isStream:function(e){return u(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function n(){var r={};function e(e,t){s(r[t])&&s(e)?r[t]=n(r[t],e):s(e)?r[t]=n({},e):i(e)?r[t]=e.slice():r[t]=e}for(var t=0,o=arguments.length;t<o;t++)l(arguments[t],e);return r},extend:function(n,e,r){return l(e,function(e,t){n[t]=r&&"function"==typeof e?o(e,r):e}),n},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r,o=n(16),i=o.Map,a=o.OrderedSet,u=o.Record,s=a(),c={style:s,entity:null},l=u(c),f=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,r=l),d.prototype.getStyle=function(){return this.get("style")},d.prototype.getEntity=function(){return this.get("entity")},d.prototype.hasStyle=function(e){return this.getStyle().includes(e)},d.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return d.create(n)},d.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return d.create(n)},d.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return d.create(n)},d.create=function(e){if(!e)return p;var t=i({style:s,entity:null}).merge(e),n=h.get(t);if(n)return n;var r=new d(t);return h=h.set(t,r),r},d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}var p=new f,h=i([[i(c),p]]);f.EMPTY=p,e.exports=f},function(e,t,n){"use strict";function r(e){return 0<=e&&e<=100}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(e,t){return e.getStyle()===t.getStyle()}function o(e,t){return e.getEntity()===t.getEntity()}var i,a=n(42),u=n(16),s=n(94),c=u.List,l=u.Map,f=u.OrderedSet,d=u.Record,p=u.Repeat,h=f(),g={parent:null,characterList:c(),data:l(),depth:0,key:"",text:"",type:"unstyled",children:c(),prevSibling:null,nextSibling:null},v=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(y,i=d(g)),y.prototype.getKey=function(){return this.get("key")},y.prototype.getType=function(){return this.get("type")},y.prototype.getText=function(){return this.get("text")},y.prototype.getCharacterList=function(){return this.get("characterList")},y.prototype.getLength=function(){return this.getText().length},y.prototype.getDepth=function(){return this.get("depth")},y.prototype.getData=function(){return this.get("data")},y.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():h},y.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},y.prototype.getChildKeys=function(){return this.get("children")},y.prototype.getParentKey=function(){return this.get("parent")},y.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},y.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},y.prototype.findStyleRanges=function(e,t){s(this.getCharacterList(),r,e,t)},y.prototype.findEntityRanges=function(e,t){s(this.getCharacterList(),o,e,t)},y);function y(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:g;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,i.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=c(p(a.EMPTY,n.length))),e}(e)))}e.exports=v},function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"e",function(){return u.a}),n.d(t,"f",function(){return u.b}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return f}),n.d(t,"a",function(){return r});var r,o,i=n(33),a=n(5);(o=r=r||{}).DRAWING="drawing",o.HIGHLIGHT="highlight",o.NONE="none",o.REGION="region";var u=n(74),s={color:i.a,mode:r.NONE},c=Object(a.d)(s,function(e){return e.addCase(u.a,function(e,t){var n=t.payload;e.color=n}).addCase(u.b,function(e,t){var n=t.payload;e.mode=n})}),l=function(e){return e.common.mode},f=function(e){return e.common.color}},function(e,t,n){"use strict";n.d(t,"a",function(){return Ne});var r=n(4),o=n.n(r),i=n(21),a=n.n(i),u=n(9),s=n.n(u),c=n(10),l=n.n(c),f=n(6),d=n.n(f),p=n(14),h=n.n(p),g=n(15),v=n.n(g),y=n(7),m=n.n(y),b=n(2),w=n.n(b),S=n(0),x=n(13),k=n.n(x);function A(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function E(e){if("[object Window]"===e.toString())return e;var t=e.ownerDocument;return t?t.defaultView:window}function O(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function C(e){return e instanceof E(e).Element||e instanceof Element}function _(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function T(e){return e?(e.nodeName||"").toLowerCase():null}function I(e){return(C(e)?e.ownerDocument:e.document).documentElement}function j(e){return A(I(e)).left+O(e).scrollLeft}function P(e){return E(e).getComputedStyle(e)}function L(e){var t=P(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function D(e,t,n){void 0===n&&(n=!1);var r,o,i=I(t),a=A(e),u={scrollLeft:0,scrollTop:0},s={x:0,y:0};return n||("body"===T(t)&&!L(i)||(u=(r=t)!==E(r)&&_(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:O(r)),_(t)?((s=A(t)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=j(i))),{x:a.left+u.scrollLeft-s.x,y:a.top+u.scrollTop-s.y,width:a.width,height:a.height}}function ee(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function M(e){return"html"===T(e)?e:e.assignedSlot||e.parentNode||e.host||I(e)}function R(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(T(t))?t.ownerDocument.body:_(t)&&L(t)?t:e(M(t))}(e),r="body"===T(n),o=E(n),i=r?[o].concat(o.visualViewport||[],L(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(R(M(i)))}function N(e){return _(e)&&"fixed"!==P(e).position?e.offsetParent:null}function te(e){for(var t=E(e),n=N(e);n&&0<=["table","td","th"].indexOf(T(n));)n=N(n);return n&&"body"===T(n)&&"static"===P(n).position?t:n||t}var ne="top",re="bottom",oe="right",ie="left",F="auto",B=[ne,re,oe,ie],ae="start",z="end",U="clippingParents",K="viewport",V="popper",q="reference",H=B.reduce(function(e,t){return e.concat([t+"-"+ae,t+"-"+z])},[]),W=[].concat(B,[F]).reduce(function(e,t){return e.concat([t,t+"-"+ae,t+"-"+z])},[]),G=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(e){var r=new Map,o=new Set,t=[];return e.forEach(function(e){r.set(e.name,e)}),e.forEach(function(e){o.has(e.name)||!function n(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!o.has(e)){var t=r.get(e);t&&n(t)}}),t.push(e)}(e)}),t}var Y={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function X(e){void 0===e&&(e={});var t=e.defaultModifiers,p=void 0===t?[]:t,n=e.defaultOptions,h=void 0===n?Y:n;return function(a,u,t){void 0===t&&(t=h);var n,r,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Y,{},h),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},s=[],l=!1,f={state:c,setOptions:function(e){d(),c.options=Object.assign({},h,{},c.options,{},e),c.scrollParents={reference:C(a)?R(a):a.contextElement?R(a.contextElement):[],popper:R(u)};var t,n,r,o,i=(r=[].concat(p,c.options.modifiers),o=r.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,{},t,{options:Object.assign({},n.options,{},t.options),data:Object.assign({},n.data,{},t.data)}):t,e},{}),t=Object.keys(o).map(function(e){return o[e]}),n=$(t),G.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]));return c.orderedModifiers=i.filter(function(e){return e.enabled}),c.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:c,name:t,instance:f,options:r});s.push(i||function(){})}}),f.update()},forceUpdate:function(){if(!l){var e=c.elements,t=e.reference,n=e.popper;if(Z(t,n)){c.rects={reference:D(t,te(n),"fixed"===c.options.strategy),popper:ee(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(e){return c.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<c.orderedModifiers.length;r++)if(0,!0!==c.reset){var o=c.orderedModifiers[r],i=o.fn,a=o.options,u=void 0===a?{}:a,s=o.name;"function"==typeof i&&(c=i({state:c,options:u,name:s,instance:f})||c)}else c.reset=!1,r=-1}}},update:(n=function(){return new Promise(function(e){f.forceUpdate(),e(c)})},function(){return r=r||new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(n())})})}),destroy:function(){d(),l=!0}};if(!Z(a,u))return f;function d(){s.forEach(function(e){return e()}),s=[]}return f.setOptions(t).then(function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)}),f}}var Q={passive:!0};function ue(e){return e.split("-")[0]}function se(e){return e.split("-")[1]}function ce(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function J(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ue(o):null,a=o?se(o):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case ne:t={x:u,y:n.y-r.height};break;case re:t={x:u,y:n.y+n.height};break;case oe:t={x:n.x+n.width,y:s};break;case ie:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?ce(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case ae:t[c]=Math.floor(t[c])-Math.floor(n[l]/2-r[l]/2);break;case z:t[c]=Math.floor(t[c])+Math.ceil(n[l]/2-r[l]/2)}}return t}var le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fe(e){var t,n,r,o,i,a=e.popper,u=e.popperRect,s=e.placement,c=e.offsets,l=e.position,f=e.gpuAcceleration,d=e.adaptive,p=(r=(n=c).x,o=n.y,i=window.devicePixelRatio||1,{x:Math.round(r*i)/i||0,y:Math.round(o*i)/i||0}),h=p.x,g=p.y,v=c.hasOwnProperty("x"),y=c.hasOwnProperty("y"),m=ie,b=ne,w=window;if(d){var S=te(a);S===E(a)&&(S=I(a)),s===ne&&(b=re,g-=S.clientHeight-u.height,g*=f?1:-1),s===ie&&(m=oe,h-=S.clientWidth-u.width,h*=f?1:-1)}var x,k=Object.assign({position:l},d&&le);return f?Object.assign({},k,((x={})[b]=y?"0":"",x[m]=v?"0":"",x.transform=(w.devicePixelRatio||1)<2?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",x)):Object.assign({},k,((t={})[b]=y?g+"px":"",t[m]=v?h+"px":"",t.transform="",t))}var de={left:"right",right:"left",bottom:"top",top:"bottom"};function pe(e){return e.replace(/left|right|bottom|top/g,function(e){return de[e]})}var he={start:"end",end:"start"};function ge(e){return e.replace(/start|end/g,function(e){return he[e]})}function ve(e){return parseFloat(e)||0}function ye(e){var t,n,r=E(e),o={top:ve((n=_(t=e)?P(t):{}).borderTopWidth),right:ve(n.borderRightWidth),bottom:ve(n.borderBottomWidth),left:ve(n.borderLeftWidth)},i="html"===T(e),a=j(e),u=e.clientWidth+o.right,s=e.clientHeight+o.bottom;return i&&50<r.innerHeight-e.clientHeight&&(s=r.innerHeight-o.bottom),{top:i?0:e.clientTop,right:e.clientLeft>o.left?o.right:i?r.innerWidth-u-a:e.offsetWidth-u,bottom:i?r.innerHeight-s:e.offsetHeight-s,left:i?a:e.clientLeft}}function me(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function be(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function we(e,t){return t===K?be((a=E(e),u=a.visualViewport,s=a.innerWidth,c=a.innerHeight,u&&/iPhone|iPod|iPad/.test(navigator.platform)&&(s=u.width,c=u.height),{width:s,height:c,x:0,y:0})):_(t)?A(t):be((n=I(e),r=E(n),o=O(n),(i=D(I(n),r)).height=Math.max(i.height,r.innerHeight),i.width=Math.max(i.width,r.innerWidth),i.x=-o.scrollLeft,i.y=-o.scrollTop,i));var n,r,o,i,a,u,s,c}function Se(o,e,t){var n,r,i,a="clippingParents"===e?(r=R(n=o),C(i=0<=["absolute","fixed"].indexOf(P(n).position)&&_(n)?te(n):n)?r.filter(function(e){return C(e)&&me(e,i)}):[]):[].concat(e),u=[].concat(a,[t]),s=u[0],c=u.reduce(function(e,t){var n=we(o,t),r=ye(_(t)?t:I(o));return e.top=Math.max(n.top+r.top,e.top),e.right=Math.min(n.right-r.right,e.right),e.bottom=Math.min(n.bottom-r.bottom,e.bottom),e.left=Math.max(n.left+r.left,e.left),e},we(o,s));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function xe(){return{top:0,right:0,bottom:0,left:0}}function ke(e){return Object.assign({},xe(),{},e)}function Ee(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function Oe(e,t){void 0===t&&(t={});var n=t.placement,r=void 0===n?e.placement:n,o=t.boundary,i=void 0===o?U:o,a=t.rootBoundary,u=void 0===a?K:a,s=t.elementContext,c=void 0===s?V:s,l=t.altBoundary,f=void 0!==l&&l,d=t.padding,p=void 0===d?0:d,h=ke("number"!=typeof p?p:Ee(p,B)),g=c===V?q:V,v=e.elements.reference,y=e.rects.popper,m=e.elements[f?g:c],b=Se(C(m)?m:m.contextElement||I(e.elements.popper),i,u),w=A(v),S=J({reference:w,element:y,strategy:"absolute",placement:r}),x=be(Object.assign({},y,{},S)),k=c===V?x:w,E={top:b.top-k.top+h.top,bottom:k.bottom-b.bottom+h.bottom,left:b.left-k.left+h.left,right:k.right-b.right+h.right},O=e.modifiersData.offset;if(c===V&&O){var _=O[r];Object.keys(E).forEach(function(e){var t=0<=[oe,re].indexOf(e)?1:-1,n=0<=[ne,re].indexOf(e)?"y":"x";E[e]+=_[n]*t})}return E}function _e(e,t,n){return Math.max(e,Math.min(t,n))}function Ae(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ce(t){return[ne,oe,re,ie].some(function(e){return 0<=t[e]})}var Te=X({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,s=E(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,Q)}),u&&s.addEventListener("resize",n.update,Q),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Q)}),u&&s.removeEventListener("resize",n.update,Q)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,u={placement:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,{},fe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},fe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var o=e.state;Object.keys(o.elements).forEach(function(e){var t=o.styles[e]||{},n=o.attributes[e]||{},r=o.elements[e];_(r)&&T(r)&&(Object.assign(r.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var o=e.state,i={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,i.popper),o.elements.arrow&&Object.assign(o.elements.arrow.style,i.arrow),function(){Object.keys(o.elements).forEach(function(e){var t=o.elements[e],n=o.attributes[e]||{},r=Object.keys(o.styles.hasOwnProperty(e)?o.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});_(t)&&T(t)&&(Object.assign(t.style,r),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var l=e.state,t=e.options,n=e.name,r=t.offset,f=void 0===r?[0,0]:r,o=W.reduce(function(e,t){var n,r,o,i,a,u,s,c;return e[t]=(n=t,r=l.rects,o=f,i=ue(n),a=0<=[ie,ne].indexOf(i)?-1:1,u="function"==typeof o?o(Object.assign({},r,{placement:n})):o,s=u[0],c=u[1],s=s||0,c=(c||0)*a,0<=[ie,oe].indexOf(i)?{x:c,y:s}:{x:s,y:c}),e},{}),i=o[l.placement],a=i.x,u=i.y;null!=l.modifiersData.popperOffsets&&(l.modifiersData.popperOffsets.x+=a,l.modifiersData.popperOffsets.y+=u),l.modifiersData[n]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,r=e.name;if(!n.modifiersData[r]._skip){for(var o=t.mainAxis,i=void 0===o||o,a=t.altAxis,u=void 0===a||a,s=t.fallbackPlacements,c=t.padding,l=t.boundary,f=t.rootBoundary,d=t.altBoundary,p=t.flipVariations,h=void 0===p||p,g=t.allowedAutoPlacements,v=n.options.placement,y=ue(v),m=s||(y===v||!h?[pe(v)]:function(e){if(ue(e)===F)return[];var t=pe(e);return[ge(e),t,ge(t)]}(v)),b=[v].concat(m).reduce(function(e,t){return e.concat(ue(t)===F?function(n,e){void 0===e&&(e={});var t=e.placement,r=e.boundary,o=e.rootBoundary,i=e.padding,a=e.flipVariations,u=e.allowedAutoPlacements,s=void 0===u?W:u,c=se(t),l=(c?a?H:H.filter(function(e){return se(e)===c}):B).filter(function(e){return 0<=s.indexOf(e)}).reduce(function(e,t){return e[t]=Oe(n,{placement:t,boundary:r,rootBoundary:o,padding:i})[ue(t)],e},{});return Object.keys(l).sort(function(e,t){return l[e]-l[t]})}(n,{placement:t,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):t)},[]),w=n.rects.reference,S=n.rects.popper,x=new Map,k=!0,E=b[0],O=0;O<b.length;O++){var _=b[O],A=ue(_),C=se(_)===ae,T=0<=[ne,re].indexOf(A),I=T?"width":"height",j=Oe(n,{placement:_,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),P=T?C?oe:ie:C?re:ne;w[I]>S[I]&&(P=pe(P));var L=pe(P),D=[];if(i&&D.push(j[A]<=0),u&&D.push(j[P]<=0,j[L]<=0),D.every(function(e){return e})){E=_,k=!1;break}x.set(_,D)}if(k)for(var M=function(n){var e=b.find(function(e){var t=x.get(e);if(t)return t.slice(0,n).every(function(e){return e})});if(e)return E=e,"break"},R=h?3:1;0<R;R--){if("break"===M(R))break}n.placement!==E&&(n.modifiersData[r]._skip=!0,n.placement=E,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,g=void 0===h?0:h,v=Oe(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),y=ue(t.placement),m=se(t.placement),b=!m,w=ce(y),S="x"===w?"y":"x",x=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,O="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,_={x:0,y:0};if(x){if(i){var A="y"===w?ne:ie,C="y"===w?re:oe,T="y"===w?"height":"width",I=x[w],j=x[w]+v[A],P=x[w]-v[C],L=p?-E[T]/2:0,D=m===ae?k[T]:E[T],M=m===ae?-E[T]:-k[T],R=t.elements.arrow,N=p&&R?ee(R):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:xe(),B=F[A],z=F[C],U=_e(0,k[T],N[T]),K=b?k[T]/2-L-U-B-O:D-U-B-O,V=b?-k[T]/2+L+U+z+O:M+U+z+O,q=t.elements.arrow&&te(t.elements.arrow),H=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,W=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,G=x[w]+K-W-H,$=x[w]+V-W,Y=_e(p?Math.min(j,G):j,I,p?Math.max(P,$):P);x[w]=Y,_[w]=Y-I}if(u){var Z="x"===w?ne:ie,X="x"===w?re:oe,Q=x[S],J=_e(Q+v[Z],Q,Q-v[X]);x[S]=J,_[S]=J-Q}t.modifiersData[r]=_}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=ue(n.placement),u=ce(a),s=0<=[ie,oe].indexOf(a)?"height":"width";if(o&&i){var c=n.modifiersData[r+"#persistent"].padding,l=ee(o),f="y"===u?ne:ie,d="y"===u?re:oe,p=n.rects.reference[s]+n.rects.reference[u]-i[u]-n.rects.popper[s],h=i[u]-n.rects.reference[u],g=te(o),v=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,y=p/2-h/2,m=c[f],b=v-l[s]-c[d],w=v/2-l[s]/2+y,S=_e(m,w,b),x=u;n.modifiersData[r]=((t={})[x]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,u=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&me(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:ke("number"!=typeof u?u:Ee(u,B))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Oe(t,{elementContext:"reference"}),u=Oe(t,{altBoundary:!0}),s=Ae(a,r),c=Ae(u,o,i),l=Ce(s),f=Ce(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Ie=n(273),je=n.n(Ie),Pe=n(274),Le=n.n(Pe),De={modifiers:[],placement:"bottom"},Me=function(e,t){if(Array.isArray(e)&&Array.isArray(t))return Le()(e,t,"name")};n(428);function Re(r){return function(){var e,t=m()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v()(this,e)}}var Ne=function(e){h()(i,e);var r=Re(i);function i(){var o;s()(this,i);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o=r.call.apply(r,[this].concat(t)),w()(d()(o),"popper",void 0),w()(d()(o),"popupRef",S.createRef()),w()(d()(o),"createPopper",function(){var e=o.props,t=e.options,n=e.reference,r=o.popupRef.current;if(r)return function(e,t,n){var r=2<arguments.length&&void 0!==n?n:{};return Te(e,t,je()({},De,r,Me))}(n,r,t)}),w()(d()(o),"handleEvent",function(e){e.stopPropagation()}),o}return l()(i,[{key:"componentDidMount",value:function(){this.popper=this.createPopper()}},{key:"componentDidUpdate",value:function(e){var t=e.options,n=e.reference,r=this.props,o=r.options,i=r.reference;this.popper&&(o!==t&&this.popper.setOptions(o),i!==n&&(this.popper.destroy(),this.popper=this.createPopper()))}},{key:"componentWillUnmount",value:function(){this.popper&&this.popper.destroy()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=(e.options,e.reference,a()(e,["children","className","options","reference"]));return S.createElement("div",o()({ref:this.popupRef,className:k()("ba-Popup",n),onClick:this.handleEvent,onMouseDown:this.handleEvent,onMouseMove:this.handleEvent,onMouseUp:this.handleEvent,onTouchMove:this.handleEvent,onTouchStart:this.handleEvent,role:"presentation"},r),S.createElement("div",{className:"ba-Popup-arrow"}),S.createElement("div",{className:"ba-Popup-content"},t))}}]),i}(S.PureComponent);w()(Ne,"defaultProps",{options:{}})},function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r=n(4),o=n.n(r),i=n(9),u=n.n(i),a=n(10),s=n.n(a),c=n(2),l=n.n(c),f=n(26),d=n(25),p=n.n(d),h=n(35),g=n.n(h);function v(u,e){u&&Object.values(e).length&&Object.entries(e).forEach(function(e){var t,n=p()(e,2),r=n[0],o=n[1],i="data-resin-".concat(r.toLowerCase()),a=(t=o,"object"===g()(t)||"function"==typeof t||"symbol"===g()(t)?"":"string"==typeof t?t:String(t));a&&u.setAttribute(i,a)})}function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var m=function(){function a(e){var t=e.location,n=void 0===t?1:t,r=e.referenceEl,o=e.resinTags,i=void 0===o?{}:o;u()(this,a),l()(this,"location",void 0),l()(this,"reactEl",void 0),this.location=n,this.reactEl=this.insert(r,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach(function(e){l()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},i,{feature:"annotations"})),this.decorate()}return s()(a,[{key:"decorate",value:function(){throw new Error("Method not implemented.")}},{key:"destroy",value:function(){f.unmountComponentAtNode(this.reactEl);var e=this.reactEl.parentNode;e&&e.removeChild(this.reactEl)}},{key:"exists",value:function(e){return e.contains(this.reactEl)}},{key:"insert",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{},r=e.ownerDocument||document,o=e.parentNode||r,i=r.createElement("div");return i.classList.add("ba-Layer"),v(i,n),o.insertBefore(i,e.nextSibling)}},{key:"render",value:function(){throw new Error("Method not implemented.")}},{key:"style",value:function(e){return o()(this.reactEl.style,e)}}]),a}()},function(e,t,n){"use strict";var r=n(177);n.d(t,"drawingReducer",function(){return r.a});var o=n(67);n.d(t,"addDrawingPathGroupAction",function(){return o.a}),n.d(t,"redoDrawingPathGroupAction",function(){return o.b}),n.d(t,"resetDrawingAction",function(){return o.c}),n.d(t,"setDrawingLocationAction",function(){return o.d}),n.d(t,"undoDrawingPathGroupAction",function(){return o.e});var i=n(178);n.d(t,"getDrawingDrawnPathGroupsForLocation",function(){return i.a}),n.d(t,"getStashedDrawnPathGroupsForLocation",function(){return i.b});n(179)},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"e",function(){return a}),n.d(t,"a",function(){return ie}),n.d(t,"b",function(){return ye});var s=n(18),c=n(23),r=function(u){return function(e,t){var n=u.location,r=u.message,o=u.shape,i=t(),a={description:{message:r,type:"reply"},file_version:{id:Object(c.getFileVersionId)(i)},target:{location:{type:"page",value:n},shape:o,type:"region"}};return e(Object(s.createAnnotationAction)(a))}},i={display:"none"},o=function(e){var t,n,r=e.x,o=e.y,i=(n=(t=e).height,{x:t.width/2,y:n/2});return{x:i.x+r,y:i.y+o}};function a(e){var t;return"region"===(null==e||null===(t=e.target)||void 0===t?void 0:t.type)}function A(e){if(!e)return i;var t=e.height,n=e.width,r=e.x,o=e.y;return{display:"block",height:"".concat(t,"%"),left:"".concat(r,"%"),top:"".concat(o,"%"),width:"".concat(n,"%")}}var u=n(4),C=n.n(u),l=n(9),f=n.n(l),d=n(10),p=n.n(d),h=n(14),g=n.n(h),v=n(15),y=n.n(v),m=n(7),b=n.n(m),T=n(0),w=n.n(T),S=n(26),x=n(47),k=n(22),E=n(1),O=n(6),_=n.n(O),I=n(2),j=n.n(I),P=n(25),L=n.n(P),D=n(13),M=n.n(D),R=n(31),N=n(573),F=n(28),B=n(46),z=(n(527),{modifiers:[{name:"offset",options:{offset:[0,20]}}],placement:"right"}),U=function(e,t){var n=0<arguments.length&&void 0!==e?e:0,r=1<arguments.length&&void 0!==t?t:0;return function(){return{width:0,height:0,top:r,right:n,bottom:r,left:n}}};function K(){function e(e){var t=e.clientX,n=e.clientY;i.current.getBoundingClientRect=U(t,n);var r=o.current;null!=r&&r.popper&&r.popper.update()}var o=T.useRef(null),i=T.useRef({getBoundingClientRect:U()});return T.useEffect(function(){return document.addEventListener("mousemove",e),function(){document.removeEventListener("mousemove",e)}},[]),T.createElement(B.a,{ref:o,className:"ba-PopupCursor",options:z,reference:i.current},T.createElement(N.a,F.a.regionCursorPrompt))}var V=n(11),q=n.n(V),H=n(83);n(528);var W=w.a.forwardRef(function(e,t){var n=e.className,r=e.isActive,o=e.onMount,i=void 0===o?q.a:o,a=e.shape,u=Object(H.a)(i);return w.a.createElement("div",{ref:t,className:M()("ba-RegionRect",n,{"is-active":r}),"data-ba-reference-id":u,style:A(a)})}),G=/(auto|scroll)/,$=["overflow","overflow-x","overflow-y"],Y=function e(t){return t&&t!==document.body?function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=getComputedStyle(e,null);return $.some(function(e){return G.test(t.getPropertyValue(e))})}(t)?t:e(t.parentNode):document.body};function Z(e){function h(e){s.current=window.requestAnimationFrame(e)}function g(){var e=b.current,t=w.current,n=S.current,r=x.current;if(!e||!t||null===n||null===r)return h(g);var o=t.bottom-m,i=t.left+m,a=t.right-m,u=t.top+m,s=o<r,c=n<i,l=a<n,f=r<u;if(!(s||c||l||f))return h(g);var d=e.scrollLeft,p=e.scrollTop;return c?d-=(i-n)*v:l&&(d+=(n-a)*v),f?p-=(u-r)*v:s&&(p+=(r-o)*v),e.scrollLeft=Math.max(0,Math.min(Math.round(d),e.scrollWidth)),e.scrollTop=Math.max(0,Math.min(Math.round(p),e.scrollHeight)),y(n,r),h(g)}function t(e){var t=e.clientX,n=e.clientY;S.current=t,x.current=n}function n(e){var t=e.targetTouches;S.current=t[0].clientX,x.current=t[0].clientY}var r=e.enabled,o=e.intensity,v=void 0===o?.2:o,i=e.onScroll,y=void 0===i?q.a:i,a=e.reference,u=e.size,m=void 0===u?50:u,s=T.useRef(null),b=T.useRef(null),w=T.useRef(null),S=T.useRef(null),x=T.useRef(null);T.useEffect(function(){a&&(b.current=Y(a),w.current=b.current.getBoundingClientRect())},[a]),T.useEffect(function(){return r&&(document.addEventListener("mousemove",t),document.addEventListener("touchmove",n),h(g)),function(){var e=s.current;e&&window.cancelAnimationFrame(e),s.current=null,S.current=null,x.current=null,document.removeEventListener("mousemove",t),document.removeEventListener("touchmove",n)}},[r])}n(529);function X(e){function d(e,t){var n=m.current;if(!n)return[e,t];var r=n.getBoundingClientRect();return[e-r.left,t-r.top]}function r(){var e=m.current,t=b.current,n=S.current,r=w.current,o=x.current;if(!e||null===t||null===r||null===n||null===o)return null;var i=e.getBoundingClientRect(),a=i.height,u=i.width,s=a-10,c=u-10,l=Math.max(0,+u),f=Math.max(0,+a),d=c<=t&&c<=r?t-10:t,p=s<=n&&s<=o?n-10:n,h=Math.min(Math.max(0,d<r?d:r),l),g=Math.min(Math.max(0,p<o?p:o),f),v=Math.min(Math.max(0,d<r?r:d),l),y=Math.min(Math.max(0,p<o?o:p),f);return{height:Math.max(10,y-g)/a*100,type:"rect",width:Math.max(10,v-h)/u*100,x:h/u*100,y:g/a*100}}function o(e){E.current=window.requestAnimationFrame(e)}function i(){var e=y.current,t=k.current,n=r();e&&t&&n&&(C()(t.style,A(n)),y.current=!1),o(i)}var t=e.className,n=e.onAbort,p=e.onStart,a=e.onStop,u=T.useState(R.a.init),s=L()(u,2),h=s[0],g=s[1],c=T.useState(!1),l=L()(c,2),f=l[0],v=l[1],m=T.useRef(null),b=T.useRef(null),w=T.useRef(null),S=T.useRef(null),x=T.useRef(null),y=T.useRef(!1),k=T.useRef(null),E=T.useRef(null),O=T.useCallback(function(){var e=r();g(R.a.init),b.current=null,S.current=null,w.current=null,x.current=null,y.current=!0,e?a(e):n()},[n,a,g]),_=T.useCallback(function(e,t){var n,r,o,i,a=d(e,t),u=L()(a,2),s=u[0],c=u[1],l=b.current,f=S.current;(null!==w.current||(n=null!=l?l:0,r=null!=f?f:0,o=s,i=c,10<=Math.abs(o-n)||10<=Math.abs(i-r)))&&(w.current=s,x.current=c,y.current=!0,h!==R.a.drawing&&(g(R.a.drawing),p()))},[h,p,g]);return T.useEffect(function(){return h!==R.a.init&&o(i),function(){var e=E.current;e&&window.cancelAnimationFrame(e)}},[h]),Z({enabled:h!==R.a.init,onScroll:function(e,t){_(e,t)},reference:m.current}),T.createElement(R.b,{ref:m,className:M()(t,"ba-RegionCreator"),"data-testid":"ba-RegionCreator",onDrawStart:function(e,t){var n=d(e,t),r=L()(n,2),o=r[0],i=r[1];g(R.a.dragging),b.current=o,S.current=i,w.current=null,x.current=null,y.current=!0},onDrawStop:O,onDrawUpdate:_,onMouseOut:function(){v(!1)},onMouseOver:function(){v(!0)},status:h},h===R.a.drawing&&T.createElement(W,{ref:k,className:"ba-RegionCreator-rect",isActive:!0}),h===R.a.init&&f&&T.createElement(K,null))}var Q=n(19);n(530);function J(r){return function(){var e,t=b()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=b()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y()(this,e)}}var ee=function(e){g()(o,e);var r=J(o);function o(){var i;f()(this,o);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=r.call.apply(r,[this].concat(t)),j()(_()(i),"state",{}),j()(_()(i),"handleAbort",function(){(0,i.props.resetCreator)()}),j()(_()(i),"handleStart",function(){var e=i.props,t=e.setStaged,n=e.setStatus;t(null),n(Q.a.started)}),j()(_()(i),"handleStagedMount",function(e){(0,i.props.setReferenceId)(e)}),j()(_()(i),"handleStop",function(e){var t=i.props,n=t.location,r=t.setStaged,o=t.setStatus;r({location:n,shape:e}),o(Q.a.staged)}),i}return p()(o,[{key:"render",value:function(){var e=this.props,t=e.isCreating,n=e.isRotated,r=e.staged;return n?null:T.createElement(T.Fragment,null,t&&T.createElement(X,{className:"ba-RegionCreation-creator",onAbort:this.handleAbort,onStart:this.handleStart,onStop:this.handleStop}),r&&T.createElement("div",{className:"ba-RegionCreation-target"},T.createElement(W,{isActive:!0,onMount:this.handleStagedMount,shape:r.shape})))}}]),o}(T.PureComponent);j()(ee,"defaultProps",{isCreating:!1,isRotated:!1});var te=n(60),ne={resetCreator:E.resetCreatorAction,setReferenceId:E.setReferenceIdAction,setStaged:E.setStagedAction,setStatus:E.setStatusAction},re=Object(k.b)(function(e,t){var n=t.location,r=Object(E.getCreatorStagedForLocation)(e,n);return{isCreating:Object(E.getAnnotationMode)(e)===E.Mode.REGION&&Object(E.getCreatorStatus)(e)!==E.CreatorStatus.pending,isRotated:!!Object(E.getRotation)(e),staged:Object(E.isCreatorStagedRegion)(r)?r:null}},ne)(Object(te.a)(ee));function oe(r){return function(){var e,t=b()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=b()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y()(this,e)}}var ie=function(e){g()(n,e);var t=oe(n);function n(){return f()(this,n),t.apply(this,arguments)}return p()(n,[{key:"decorate",value:function(){this.reactEl.classList.add("ba-Layer--regionCreation"),this.reactEl.dataset.testid="ba-Layer--regionCreation"}},{key:"render",value:function(e){S.render(T.createElement(re,C()({location:this.location},e)),this.reactEl)}}]),n}(x.a),ae=n(55),ue=(n(531),T.forwardRef(function(e,t){var n=e.annotationId,r=e.className,o=e.isActive,i=e.onSelect,a=void 0===i?q.a:i,u=e.shape;return T.createElement("button",{ref:t,className:M()("ba-RegionAnnotation",r,{"is-active":o}),"data-resin-itemid":n,"data-resin-target":"highlightRegion","data-testid":"ba-AnnotationTarget-".concat(n),onFocus:function(){a(n)},onMouseDown:function(e){e.buttons===ae.a&&(e.preventDefault(),e.stopPropagation(),e.currentTarget.focus())},style:A(u),type:"button"})})),se=n(84),ce=n(43);function le(e){var t=e.target.shape,n=t.height,r=t.width,o=t.x,i=t.y;return Object(ce.a)(n)&&Object(ce.a)(r)&&Object(ce.a)(o)&&Object(ce.a)(i)}function fe(e,t){var n=e.target,r=t.target,o=n.shape,i=r.shape;return o.height*o.width>i.height*i.width?-1:1}function de(e){var t=e.activeAnnotationId,n=e.annotations,r=e.setActiveAnnotationId;return T.createElement(pe,{activeId:t,annotations:n,className:"ba-RegionAnnotations-list",onSelect:function(e){r(e)}})}var pe=w.a.memo(function(e){var r=e.activeId,t=e.annotations,n=e.className,o=e.onSelect,i=void 0===o?q.a:o,a=Object(se.a)(),u=w.a.createRef();return w.a.createElement("div",{ref:u,className:M()(n,{"is-listening":a}),"data-resin-component":"regionList"},t.filter(le).sort(fe).map(function(e){var t=e.id,n=e.target;return w.a.createElement(ue,{key:t,annotationId:t,isActive:r===t,onSelect:i,shape:n.shape})}))}),he=(n(532),{setActiveAnnotationId:E.setActiveAnnotationIdAction}),ge=Object(k.b)(function(e,t){var n=t.location;return{activeAnnotationId:Object(E.getActiveAnnotationId)(e),annotations:Object(E.getAnnotationsForLocation)(e,n).filter(a)}},he)(Object(te.a)(de));function ve(r){return function(){var e,t=b()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=b()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y()(this,e)}}var ye=function(e){g()(n,e);var t=ve(n);function n(){return f()(this,n),t.apply(this,arguments)}return p()(n,[{key:"decorate",value:function(){this.reactEl.classList.add("ba-Layer--region"),this.reactEl.dataset.testid="ba-Layer--region"}},{key:"render",value:function(e){S.render(T.createElement(ge,C()({location:this.location},e)),this.reactEl)}}]),n}(x.a)},function(e,t,n){"use strict";var a=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r};function u(e){return JSON.stringify(e.map(function(e){return e&&"object"==typeof e?(n=e,Object.keys(n).sort().map(function(e){var t;return(t={})[e]=n[e],t})):e;var n}))}t.a=function(o,i){return void 0===i&&(i={}),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u(e),r=n&&i[n];return r||(r=new(o.bind.apply(o,a([void 0],e))),n&&(i[n]=r)),r}}},function(e,t,n){var r=n(169),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},function(e,t,n){var r=n(318),o=n(319),i=n(320);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=1},,function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(452),i=n(454),o=n(455),a=n(456);function u(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var o=n.slice(e.length);return!!t&&(o=r?r(o):o,i.contains(o,t))}function s(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var c={isBrowser:function(e){return u(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return u(r.browserArchitecture,null,e)},isDevice:function(e){return u(r.deviceName,null,e)},isEngine:function(e){return u(r.engineName,r.engineVersion,e)},isPlatform:function(e){return u(r.platformName,r.platformFullVersion,e,s)},isPlatformArchitecture:function(e){return u(r.platformArchitecture,null,e)}};e.exports=o(c,a)},function(e,t,n){"use strict";n.d(t,"c",function(){return v}),n.d(t,"a",function(){return o}),n.d(t,"e",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return u});var r=n(12),v=function(e){var u=Number.MAX_VALUE,s=Number.MAX_VALUE,c=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY;return e.forEach(function(e){var t=e.height,n=e.width,r=e.x,o=e.y,i=r+n,a=o+t;0!==n&&0!==t&&(r<u&&(u=r),o<s&&(s=o),c<i&&(c=i),l<a&&(l=a))}),{x:u,y:s,width:c-u,height:l-s}},o=function(e){var t,n,r=v(e),o=r.x,i=r.y,a=(n=(t=r).height,{x:t.width/2,y:n/2});return{x:a.x+o,y:a.y+i}};function i(e){var t;return(null==e||null===(t=e.target)||void 0===t?void 0:t.type)===r.Type.highlight}function y(e,t,n){return Math.max(Math.round(e*n),Math.round(t*n),1)}var a=function(e){var g=[];return function(e,t){var d=1<arguments.length&&void 0!==t?t:.1,p=[];return e.forEach(function(e){var t=p.pop();if(t){var n=t.width,r=t.height,o=t.x,i=t.y,a=e.width,u=e.height,s=e.x,c=e.y,l=y(n,a,d),f=y(r,u,d);Math.abs(o-s)<=l&&Math.abs(i-c)<=f?p.push(u*a<r*n?t:e):(p.push(t),p.push(e))}else p.push(e)}),p}(e).forEach(function(e){var t=e.height,n=e.width,r=e.x,o=e.y;if(0!==n&&0!==t){var i=g.pop();if(i){var a=i.height,u=i.width,s=i.x,c=i.y,l=s+u,f=y(u,n,.3),d=y(a,t,.6),p=Math.abs(r-l)<f,h=Math.abs(o-c)<d;p&&h?g.push(v([i,e])):(g.push(i),g.push(e))}else g.push(e)}}),g},u=function(e,t){var n=e.height,r=e.width,o=e.x,i=e.y,a=t.height,u=t.width,s=t.x,c=t.y;return{height:n/a*100,width:r/u*100,x:Math.max(0,o-s)/u*100,y:Math.max(0,i-c)/a*100}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(21),i=n.n(r),a=n(0),u=n(76),s=n(22);function o(o){return function(e){var t=e.intl,n=e.store,r=i()(e,["intl","store"]);return a.createElement(u.b,{value:t},a.createElement(s.a,{store:n},a.createElement(o,r)))}}},function(e,t,n){"use strict";var r={},o=Math.pow(2,24);e.exports=function(){for(var e=void 0;void 0===e||r.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*o).toString(32);return r[e]=!0,e}},function(e,a,u){"use strict";(function(e){var t=u(123),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,o=r&&r.exports===n&&t.a.process,i=function(){try{var e=r&&r.require&&r.require("util").types;return e?e:o&&o.binding&&o.binding("util")}catch(e){}}();a.a=i}).call(this,u(109)(e))},function(e,t,n){"use strict";var p=Array.isArray,h=Object.keys,g=Object.prototype.hasOwnProperty,v="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,o,i,a=p(t),u=p(n);if(a&&u){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=u)return!1;var s=t instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==n.getTime();var l=t instanceof RegExp,f=n instanceof RegExp;if(l!=f)return!1;if(l&&f)return t.toString()==n.toString();var d=h(t);if((o=d.length)!==h(n).length)return!1;for(r=o;0!=r--;)if(!g.call(n,d[r]))return!1;if(v&&t instanceof Element&&n instanceof Element)return t===n;for(r=o;0!=r--;)if(!("_owner"===(i=d[r])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return!1;throw e}}},function(e,t,n){"use strict";var r=n(430);e.exports=r},function(e,t,n){"use strict";var a=n(0),r=n(278),u=n.n(r),o=n(279),f=n.n(o);function d(e){return(d="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)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(){function l(){var e,t,n,r,o,i,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];return n=this,t=!(r=(e=p(l)).call.apply(e,[this].concat(s)))||"object"!==d(r)&&"function"!=typeof r?h(n):r,o=h(t),i="id",a=f()("icon"),i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,t}var e,t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(l,a["Component"]),e=l,(t=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.title,r=s(e,["children","title"]),o="".concat(this.id,"-title"),i=u()(r,["role","aria-labelledby"]);return i.focusable="false",n?(i["aria-labelledby"]=o,i.role="img"):(i["aria-hidden"]="true",i.role="presentation"),a.createElement("svg",i,n?a.createElement("title",{id:o},n):null,t)}}])&&i(e.prototype,t),n&&i(e,n),l}();t.a=l},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return s});var r=n(5),o=Object(r.b)("SET_FIlE_ID"),i=Object(r.b)("SET_FILE_VERSION_ID"),a=Object(r.b)("SET_PERMISSIONS"),u=Object(r.b)("SET_ROTATION"),s=Object(r.b)("SET_SCALE")},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return c});var r=n(5),o=n(24),i=Object(r.b)("ADD_DRAWING_PATH_GROUP",function(e){return{payload:Object(o.a)(e)}}),a=Object(r.b)("REDO_DRAWING_PATH_GROUP"),u=Object(r.b)("RESET_DRAWING"),s=Object(r.b)("SET_DRAWING_LOCATION"),c=Object(r.b)("UNDO_DRAWING_PATH_GROUP")},function(e,t,n){e.exports=n(317)},function(e,t,n){"use strict";n.d(t,"c",function(){return O.g}),n.d(t,"b",function(){return O.b}),n.d(t,"a",function(){return ge});var O=n(24),r=n(4),g=n.n(r),o=n(9),i=n.n(o),a=n(10),u=n.n(a),s=n(14),c=n.n(s),l=n(15),f=n.n(l),d=n(7),p=n.n(d),P=n(0),_=n.n(P),h=n(26),v=n(47),y=n(22),m=n(25),L=n.n(m),b=n(13),D=n.n(b),w=n(33),S=n(21),x=n.n(S),A=_.a.forwardRef(function(e,t){var n=e.pathCommands,r=x()(e,["pathCommands"]);return _.a.createElement("path",g()({ref:t,d:n,strokeLinecap:"round",vectorEffect:"non-scaling-stroke"},r))}),k=Object(P.createContext)("");n(533);function M(e){var t=e.borderStrokeWidth,n=void 0===t?0:t,r=e.isDecorated,o=void 0!==r&&r,i=e.points,a=void 0===i?[]:i,u=_.a.useContext(k),s=Object(O.e)(a);return _.a.createElement("g",{className:"ba-DecoratedDrawingPath"},o&&_.a.createElement("g",{className:"ba-DecoratedDrawingPath-decoration"},_.a.createElement(A,{className:"ba-DecoratedDrawingPath-shadow",filter:"url(#".concat(u,")"),pathCommands:s}),_.a.createElement(A,{className:"ba-DecoratedDrawingPath-border",fill:"none",pathCommands:s,stroke:w.f,strokeWidth:n})),_.a.createElement(A,{pathCommands:s}))}var E=n(11),C=n.n(E),T=n(167);function R(e){var t=e.children,n=e.isActive,r=void 0!==n&&n,o=e.rootEl,i=e.stroke,a=i.color,u=i.size,s=u+2;if(!Object(O.h)()){if(!o)return P.createElement("g",{className:"ba-DrawingPathGroup"});var c=o.clientWidth/100;u/=c,s/=c}return P.createElement("g",{className:D()("ba-DrawingPathGroup",{"is-active":r}),fill:"transparent",stroke:a,strokeWidth:u},"function"==typeof t?t(s):t)}var N=_.a.forwardRef(function(e,t){var n=e.className,r=e.children,o=x()(e,["className","children"]),i=_.a.useRef("ba-DrawingSVG-shadow_".concat(T.a())).current;return _.a.createElement("svg",g()({ref:t,className:D()("ba-DrawingSVG",n),preserveAspectRatio:"none",viewBox:"0 0 100 100"},o),_.a.createElement("defs",null,_.a.createElement("filter",{filterUnits:"userSpaceOnUse",id:i},_.a.createElement("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"1"}))),_.a.createElement(k.Provider,{value:i},r))}),I=n(55),j=(n(534),P.forwardRef(function(e,t){function n(){s(r)}var r=e.annotationId,o=e.className,i=e.isActive,a=void 0!==i&&i,u=e.onSelect,s=void 0===u?C.a:u,c=e.rootEl,l=e.target.path_groups,f=Object(O.f)(l),d=Object(O.d)(f),p=d.x,h=d.y;return P.createElement("a",{ref:t,className:D()("ba-DrawingTarget",o,{"is-active":a}),"data-resin-itemid":r,"data-resin-target":"highlightDrawing","data-testid":"ba-AnnotationTarget-".concat(r),href:"#",onFocus:n,onMouseDown:function(e){if(e.buttons===I.a){var t=document.activeElement;e.preventDefault(),e.stopPropagation(),t&&t!==e.currentTarget&&t.blur&&t.blur(),e.currentTarget.focus?e.currentTarget.focus():n()}},role:"button",tabIndex:0},P.createElement("rect",g()({fill:"transparent",transform:"translate(-".concat(.1*p,", -").concat(.1*h,") scale(1.1)")},f)),l.map(function(e){var t=e.clientId,n=e.paths,r=e.stroke;return P.createElement(R,{key:t,isActive:a,rootEl:c,stroke:r},function(r){return n.map(function(e){var t=e.clientId,n=e.points;return P.createElement(M,{key:t,borderStrokeWidth:r,isDecorated:!0,points:n})})})}))})),F=n(84),B=n(43);function z(e){return e.target.path_groups.every(function(e){return e.paths.every(function(e){return e.points.every(function(e){var t=e.x,n=e.y;return Object(B.a)(t)&&Object(B.a)(n)})})})}function U(e,t){var n=e.target,r=t.target,o=Object(O.f)(n.path_groups),i=o.height,a=o.width,u=Object(O.f)(r.path_groups);return u.height*u.width-i*a}var K=_.a.memo(function(e){var t=e.activeId,r=void 0===t?null:t,n=e.annotations,o=e.className,i=e.onSelect,a=void 0===i?C.a:i,u=_.a.useState(null),s=L()(u,2),c=s[0],l=s[1],f=Object(F.a)();return _.a.createElement(N,{ref:l,className:D()(o,{"is-listening":f}),"data-resin-component":"drawingList"},n.filter(z).sort(U).map(function(e){var t=e.id,n=e.target;return _.a.createElement(j,{key:t,annotationId:t,isActive:r===t,onSelect:a,rootEl:c,target:n})}))}),V=n(31),q=(n(535),w.a);function H(e){function a(e,t){var n=v.current;if(!n)return[e,t];var r=n.getBoundingClientRect();return[e-r.left,t-r.top]}function n(e){w.current=window.requestAnimationFrame(e)}function r(){var e=y.current,t=m.current;e&&t&&(t.setAttribute("d",Object(O.e)(x())),y.current=!1),n(r)}var t=e.className,o=e.color,i=void 0===o?q:o,u=e.onStart,s=e.onStop,c=e.size,l=void 0===c?4:c,f=_.a.useState(V.a.init),d=L()(f,2),p=d[0],h=d[1],g=_.a.useRef([]),v=_.a.useRef(null),y=_.a.useRef(!1),m=_.a.useRef(null),b=_.a.useRef(null),w=_.a.useRef(null),S={color:i,size:l},x=_.a.useCallback(function(){var e=v.current,t=g.current;if(!e||!t.length)return[];var n=e.getBoundingClientRect(),r=n.height,o=n.width,i=S.size,a=o-i,u=r-i;return t.map(function(e){var t=e.x,n=e.y;return{x:Math.min(a,Math.max(i,t))/o*100,y:Math.min(u,Math.max(i,n))/r*100}})},[S]),k=_.a.useCallback(function(){var e=x();!e||e.length<=1||(h(V.a.init),g.current=[],y.current=!0,s({paths:[{points:e}],stroke:S}))},[x,s,h,S]),E=_.a.useCallback(function(e,t){var n=a(e,t),r=L()(n,2),o=r[0],i=r[1];g.current.push({x:o,y:i}),y.current=!0,p!==V.a.drawing&&(h(V.a.drawing),u())},[p,u,h]);return _.a.useEffect(function(){return p!==V.a.init&&n(r),function(){var e=w.current;e&&window.cancelAnimationFrame(e)}},[p]),_.a.useEffect(function(){var e,t=v.current;t&&(t.style.cursor="crosshair",t.style.cursor=(e=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' viewBox='0 0 32 32'>\n <defs>\n <path id='ba-DrawingCursor-b' d='M23.0868949,12.6610542 L21.7362465,14.0116939 C21.5985448,14.1493947 21.3758783,14.1493947 21.2381766,14.0116939 L17.9860729,10.7596114 C17.8483713,10.6219106 17.8483713,10.3992455 17.9860729,10.2615447 L19.3367214,8.91090502 C19.8845983,8.36303166 20.7752645,8.36303166 21.3260713,8.91090502 L23.0868949,10.6717173 C23.6377017,11.2195906 23.6377017,12.1102511 23.0868949,12.6610542 Z M16.825863,11.4217471 L9.13214756,19.1154126 L8.51102507,22.6751246 C8.4260602,23.1556124 8.8450249,23.5716446 9.32551588,23.4896101 L12.8852509,22.8655618 L20.5789664,15.1718963 C20.7166681,15.0341955 20.7166681,14.8115304 20.5789664,14.6738296 L17.3268627,11.4217471 C17.1862312,11.2840463 16.9635647,11.2840463 16.825863,11.4217471 Z M12.1352162,18.4562067 C11.974076,18.2950675 11.974076,18.0372447 12.1352162,17.8761055 L16.6471438,13.3642072 C16.8082841,13.203068 17.0661085,13.203068 17.2272488,13.3642072 C17.388389,13.5253464 17.388389,13.7831692 17.2272488,13.9443084 L12.7153212,18.4562067 C12.5541809,18.6173459 12.2963565,18.6173459 12.1352162,18.4562067 L12.1352162,18.4562067 Z M11.0775501,20.9201719 L12.4838652,20.9201719 L12.4838652,21.9836908 L10.5941293,22.3147587 L9.6829543,21.4035896 L10.0140243,19.513866 L11.0775501,19.513866 L11.0775501,20.9201719 Z'/>\n <filter id='ba-DrawingCursor-a' width='196.7%' height='196.7%' x='-48.3%' y='-41.7%' filterUnits='objectBoundingBox'>\n <feMorphology in='SourceAlpha' operator='dilate' radius='.75' result='shadowSpreadOuter1'/>\n <feOffset dy='1' in='shadowSpreadOuter1' result='shadowOffsetOuter1'/>\n <feGaussianBlur in='shadowOffsetOuter1' result='shadowBlurOuter1' stdDeviation='2'/>\n <feComposite in='shadowBlurOuter1' in2='SourceAlpha' operator='out' result='shadowBlurOuter1'/>\n <feColorMatrix in='shadowBlurOuter1' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24647618 0'/>\n </filter>\n </defs>\n <g fill='none' stroke-linejoin='round'>\n <use fill='#000' filter='url(#ba-DrawingCursor-a)' xlink:href='#ba-DrawingCursor-b'/>\n <path fill='".concat(i,"' fill-rule='evenodd' stroke='#FFF' stroke-width='.75' d='M16.8075762,10.9097054 L21.119532,14.6460363 L13.0730631,23.2133559 L9.38862666,23.8592613 C9.02061417,23.9220923 8.67630709,23.7937251 8.44046,23.5578795 C8.23387707,23.3512979 8.11025348,23.0623685 8.12610763,22.7471873 L8.14160649,22.6106659 L8.78311611,18.9341134 L16.8075762,10.9097054 Z M10.3290377,19.888866 L10.0859707,21.276275 L10.7214427,21.9117429 L12.1088652,21.6686767 L12.1088652,21.2951719 L10.7025501,21.2951719 L10.3290377,19.888866 Z M16.912308,13.6293731 L12.4003804,18.1412714 L12.3922785,18.1528739 L12.3922785,18.1528739 L12.389361,18.1661561 C12.389361,18.1753081 12.3934679,18.1841284 12.4003804,18.1910408 C12.4072938,18.1979542 12.4161155,18.2020611 12.4252687,18.2020611 C12.4344219,18.2020611 12.4432436,18.1979542 12.450157,18.1910408 L12.450157,18.1910408 L16.9620846,13.6791425 L16.9701864,13.66754 L16.9701864,13.66754 L16.973104,13.6542578 C16.973104,13.6384287 16.9537538,13.6286304 16.912308,13.6293731 L16.912308,13.6293731 Z M20.3302976,8.125 C20.7859086,8.125 21.2419828,8.29834457 21.5912354,8.64573912 L21.5912354,8.64573912 L23.3513511,10.4058452 C23.7004504,10.7530854 23.875,11.2089541 23.875,11.6652871 C23.875,12.1211084 23.7008005,12.577481 23.3520591,12.9262201 L23.3520591,12.9262201 L21.7544376,14.5238313 L17.4797801,10.8169258 L19.0500461,8.66761683 C19.3996549,8.30599451 19.8646885,8.125 20.3302976,8.125 Z'/>\n </g>\n </svg>")),'url("data:image/svg+xml,'.concat(e,'") 6 22, crosshair')))},[i,v]),_.a.createElement(V.b,{ref:v,className:D()(t,"ba-DrawingCreator"),"data-testid":"ba-DrawingCreator",onDrawStart:function(e,t){var n=a(e,t),r=L()(n,2),o=r[0],i=r[1];h(V.a.dragging),g.current=[{x:o,y:i}],y.current=!0},onDrawStop:k,onDrawUpdate:E,status:p},p!==V.a.init&&_.a.createElement(N,{ref:b,className:"ba-DrawingCreator-current"},_.a.createElement(R,{rootEl:b.current,stroke:S},_.a.createElement(A,{ref:m}))))}var W=n(83);var G=_.a.forwardRef(function(e,t){var n=e.children,r=e.onMount,o=void 0===r?C.a:r,i=x()(e,["children","onMount"]),a=Object(W.a)(o);return _.a.createElement("g",g()({ref:t,"data-ba-reference-id":a},i),n)}),$=n(574),Y=n(573),Z=n(65);function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Q(e){return P.createElement(Z.a,X({width:16,height:16,viewBox:"0 0 16 16"},e),P.createElement("path",{fill:w.c,d:"M8 0a8 8 0 110 16A8 8 0 018 0zm0 1a7 7 0 100 14A7 7 0 008 1zm1.313 2.743c.162 0 .301.054.417.178l2.057 2.088a.685.685 0 01.21.487c0 .178-.078.34-.21.472l-2.064 2.11a.59.59 0 01-1.005-.433c0-.146.053-.309.177-.41l.92-.858.449-.324-.828.038H7.147c-1.09 0-1.902.78-1.902 1.909 0 1.16.908 1.8 2.022 1.8h1.082c.372 0 .647.217.647.604 0 .386-.268.596-.654.596H7.267C5.442 12 4 10.856 4 9s1.33-3.084 3.147-3.084h2.29l.827.039-.58-.449-.781-.75a.543.543 0 01-.186-.418.59.59 0 01.596-.595z"}))}function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ee(e){return P.createElement(Z.a,J({width:16,height:16,viewBox:"0 0 16 16"},e),P.createElement("path",{fill:w.b,fillRule:"evenodd",d:"M14 2l-1.8 11c-.1.6-.7 1-1.2 1H5c-.6 0-1.1-.5-1.2-1L2 2h12zm-1.2 1H3.2l1.6 9.9s.1.1.2.1h6c.06 0 .12-.036.158-.065l.042-.035L12.8 3zm-2.3 1c.3 0 .5.2.5.5s-.2.5-.5.5h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5z"}))}function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ne(e){return P.createElement(Z.a,te({width:16,height:16,viewBox:"0 0 16 16"},e),P.createElement("path",{fill:w.c,d:"M8 0a8 8 0 110 16A8 8 0 018 0zm0 1a7 7 0 100 14A7 7 0 008 1zM6.683 3.743a.59.59 0 01.596.595c0 .17-.07.317-.186.418l-.78.75-.58.449.827-.04h2.289c1.817 0 3.147 1.229 3.147 3.085 0 1.856-1.442 3-3.267 3H7.654C7.268 12 7 11.79 7 11.404c0-.387.276-.604.647-.604h1.082c1.114 0 2.022-.64 2.022-1.8 0-1.129-.812-1.909-1.902-1.909h-2.29l-.827-.038.449.324.92.859c.124.1.178.263.178.41a.59.59 0 01-1.005.433L4.209 6.968A.664.664 0 014 6.496c0-.186.077-.356.209-.487L6.266 3.92a.545.545 0 01.417-.178z"}))}function re(e){var t=e.activeAnnotationId,n=e.addDrawingPathGroup,r=e.annotations,o=e.canShowPopupToolbar,i=e.color,a=e.drawnPathGroups,u=e.isCreating,s=e.location,c=e.redoDrawingPathGroup,l=e.resetDrawing,f=e.setActiveAnnotationId,d=e.setReferenceId,p=e.setStaged,h=e.setStatus,g=e.setupDrawing,v=e.stashedPathGroups,y=e.undoDrawingPathGroup,m=P.useState(!1),b=L()(m,2),w=b[0],S=b[1],x=P.useState(null),k=L()(x,2),E=k[0],O=k[1],_=0<a.length,A=0<v.length,C=_||A,T=P.useRef(null),I=P.useRef(null),j=I.current;return P.useEffect(function(){var e=T.current;null!=e&&e.popper&&a.length&&e.popper.update()},[a]),P.createElement(P.Fragment,null,P.createElement(K,{activeId:t,annotations:r,className:"ba-DrawingAnnotations-list",onSelect:function(e){f(e)}}),C&&P.createElement(N,{ref:O,className:"ba-DrawingAnnotations-target"},P.createElement(G,{ref:I,onMount:function(e){d(e)}},a.map(function(e){var t=e.clientId,n=e.paths,r=e.stroke;return P.createElement(R,{key:t,rootEl:E,stroke:r},function(r){return n.map(function(e){var t=e.clientId,n=e.points;return P.createElement(M,{key:t,borderStrokeWidth:r,isDecorated:!0,points:n})})})}))),u&&P.createElement(H,{className:"ba-DrawingAnnotations-creator",color:i,onStart:function(){g(s),h(se.CreatorStatus.started),S(!0)},onStop:function(e){n(e),S(!1)}}),u&&C&&j&&o&&P.createElement(ue,{ref:T,canComment:_,canRedo:A,canUndo:_,className:D()("ba-DrawingAnnotations-toolbar",{"ba-is-drawing":w}),onDelete:function(){l()},onRedo:function(){c()},onReply:function(){p({location:s,pathGroups:a}),h(se.CreatorStatus.staged)},onUndo:function(){y()},reference:j}))}var oe=n(28),ie=n(46),ae=(n(557),{modifiers:[{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:function(e){return[-e.popper.width/2,8]}}},{name:"preventOverflow",options:{altAxis:!0,padding:50}}],placement:"top"}),ue=_.a.forwardRef(function(e,t){var n=e.canComment,r=e.canRedo,o=e.canUndo,i=e.className,a=e.onDelete,u=e.onRedo,s=e.onReply,c=e.onUndo,l=e.reference,f=Object($.a)();return _.a.createElement(ie.a,{ref:t,className:D()(i,"ba-PopupDrawingToolbar"),"data-resin-component":"popupDrawingToolbar",options:ae,reference:l},_.a.createElement("div",{className:"ba-PopupDrawingToolbar-group"},_.a.createElement("button",{className:"ba-PopupDrawingToolbar-undo","data-testid":"ba-PopupDrawingToolbar-undo",disabled:!o,onClick:function(){return c()},title:f.formatMessage(oe.a.drawingButtonUndo),type:"button"},_.a.createElement(ne,null)),_.a.createElement("button",{className:"ba-PopupDrawingToolbar-redo","data-testid":"ba-PopupDrawingToolbar-redo",disabled:!r,onClick:function(){return u()},title:f.formatMessage(oe.a.drawingButtonRedo),type:"button"},_.a.createElement(Q,null)),_.a.createElement("button",{className:"ba-PopupDrawingToolbar-delete","data-testid":"ba-PopupDrawingToolbar-delete",onClick:function(){return a()},title:f.formatMessage(oe.a.drawingButtonDelete),type:"button"},_.a.createElement(ee,null))),_.a.createElement("div",{className:"ba-PopupDrawingToolbar-group"},_.a.createElement("button",{className:"ba-PopupDrawingToolbar-comment","data-testid":"ba-PopupDrawingToolbar-comment",disabled:!n,onClick:function(){return s()},type:"button"},_.a.createElement(Y.a,oe.a.drawingButtonAddComment))))}),se=n(1),ce=(n(558),n(60)),le=n(48),fe=n(125),de={addDrawingPathGroup:le.addDrawingPathGroupAction,redoDrawingPathGroup:le.redoDrawingPathGroupAction,resetDrawing:le.resetDrawingAction,setActiveAnnotationId:se.setActiveAnnotationIdAction,setReferenceId:se.setReferenceIdAction,setStaged:se.setStagedAction,setStatus:se.setStatusAction,setupDrawing:fe.b,undoDrawingPathGroup:le.undoDrawingPathGroupAction},pe=Object(y.b)(function(e,t){var n=t.location,r=Object(se.getCreatorStatus)(e);return{activeAnnotationId:Object(se.getActiveAnnotationId)(e),annotations:Object(se.getAnnotationsForLocation)(e,n).filter(O.g),color:Object(se.getColor)(e),canShowPopupToolbar:r===se.CreatorStatus.started,drawnPathGroups:Object(le.getDrawingDrawnPathGroupsForLocation)(e,n),isCreating:Object(se.getAnnotationMode)(e)===se.Mode.DRAWING&&r!==se.CreatorStatus.pending,stashedPathGroups:Object(le.getStashedDrawnPathGroupsForLocation)(e,n)}},de)(Object(ce.a)(re));function he(r){return function(){var e,t=p()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=p()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f()(this,e)}}var ge=function(e){c()(n,e);var t=he(n);function n(){return i()(this,n),t.apply(this,arguments)}return u()(n,[{key:"decorate",value:function(){this.reactEl.classList.add("ba-Layer--drawing"),this.reactEl.dataset.testid="ba-Layer--drawing"}},{key:"render",value:function(e){h.render(P.createElement(pe,g()({location:this.location},e)),this.reactEl)}}]),n}(v.a)},function(e,t,n){var r=n(77),o=n(287),i=n(288),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(a&&a in Object(e)?o:i)(e)}},function(e,t,n){var r=n(295),o=n(298);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";var r,o=n(42),i=n(16),a=n(94),u=i.List,s=i.Map,c=i.OrderedSet,l=i.Record,f=i.Repeat,d=c(),p=l({key:"",type:"unstyled",text:"",characterList:u(),depth:0,data:s()}),h=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(g,r=p),g.prototype.getKey=function(){return this.get("key")},g.prototype.getType=function(){return this.get("type")},g.prototype.getText=function(){return this.get("text")},g.prototype.getCharacterList=function(){return this.get("characterList")},g.prototype.getLength=function(){return this.getText().length},g.prototype.getDepth=function(){return this.get("depth")},g.prototype.getData=function(){return this.get("data")},g.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():d},g.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},g.prototype.findStyleRanges=function(e,t){a(this.getCharacterList(),v,e,t)},g.prototype.findEntityRanges=function(e,t){a(this.getCharacterList(),y,e,t)},g);function g(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=u(f(o.EMPTY,n.length))),e}(e)))}function v(e,t){return e.getStyle()===t.getStyle()}function y(e,t){return e.getEntity()===t.getEntity()}e.exports=h},function(e,t,n){"use strict";var o=n(17),i=55296,a=57343,r=/[\uD800-\uDFFF]/;function u(e){return i<=e&&e<=a}function s(e){return r.test(e)}function c(e,t){return 1+u(e.charCodeAt(t))}function l(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!s(e))return e.substr(t,n);var r=e.length;if(r<=0||r<t||n<=0)return"";var o=0;if(0<t){for(;0<t&&o<r;t--)o+=c(e,o);if(r<=o)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=c(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;0<n&&i<r;n--)i+=c(e,i);return e.substring(o,i)}var f={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=c(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:c,hasSurrogateUnit:s,isCodeUnitInSurrogateRange:u,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||o(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return i<=n&&n<=56319&&56320<=r&&r<=a},strlen:function(e){if(!s(e))return e.length;for(var t=0,n=0;n<e.length;n+=c(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return l(e,t=t<n?t:n,r)},substr:l};e.exports=f},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var r=n(5),o=Object(r.b)("SET_COLOR"),i=Object(r.b)("TOGGLE_ANNOTATION_MODE")},function(r,e,t){var i=t(314);function o(e,t,n){return"undefined"!=typeof Reflect&&Reflect.get?r.exports=o=Reflect.get:r.exports=o=function(e,t,n){var r=i(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},o(e,t,n||e)}r.exports=o},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return s});n(2),n(4);var r=n(0),o=n(163),i=n.n(o);n(8),i.a;var a=r.createContext(null),u=(a.Consumer,a.Provider),s=a},function(e,t,n){var r=n(51).Symbol;e.exports=r},function(e,t,n){var r=n(132),o=n(139);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var c=n(205),l=n(135);e.exports=function(e,t,n,r){var o=!n;n=n||{};for(var i=-1,a=t.length;++i<a;){var u=t[i],s=r?r(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),(o?l:c)(n,u,s)}return n}},function(e,t,n){"use strict";var r,o=(0,n(16).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}),i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r=o),a.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},a.prototype.getAnchorKey=function(){return this.get("anchorKey")},a.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},a.prototype.getFocusKey=function(){return this.get("focusKey")},a.prototype.getFocusOffset=function(){return this.get("focusOffset")},a.prototype.getIsBackward=function(){return this.get("isBackward")},a.prototype.getHasFocus=function(){return this.get("hasFocus")},a.prototype.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset();return t<=this.getEndOffset()&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&a<=n},a.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},a.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},a.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},a.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},a.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},a.createEmpty=function(e){return new a({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}e.exports=i},function(e,t,n){"use strict";function r(e){return e.replace(/\//g,"-")}e.exports=function(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});function a(e){var t=e.height,n=e.left,r=e.top;return{height:t,width:e.width,x:n,y:r}}var r=n(5),u=n(59),o=Object(r.b)("SET_SELECTION",function(e){if(!e)return{payload:null};var t=e.containerRect,n=e.hasError,r=e.location,o=e.range,i=Array.from(o.getClientRects());return i.length||(i=function(e){for(var t=document.createNodeIterator(e.commonAncestorContainer,NodeFilter.SHOW_ALL,function(){return NodeFilter.FILTER_ACCEPT},!1),n=document.createRange(),r=[],o=t.nextNode();o;)if(0!==r.length||o===e.startContainer){if(o.nodeType===Node.TEXT_NODE&&(n.selectNodeContents(o),o===e.startContainer&&n.setStart(o,e.startOffset),o===e.endContainer&&n.setEnd(o,e.endOffset),r.push(n.getBoundingClientRect())),o===e.endContainer)break;o=t.nextNode()}else o=t.nextNode();return r}(o)),{payload:{containerRect:a(t),hasError:n,location:r,rects:Object(u.b)(i.map(a))}}}),i=Object(r.b)("SET_IS_PROMOTING"),s=Object(r.b)("SET_IS_SELECTING")},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=n.n(r),i=n(167);function a(e){var t=o.a.useRef(i.a());return o.a.useEffect(function(){e(t.current)},[e]),t.current}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(22),o=n(1);function i(){var e=r.d(o.getCreatorStatus),t=r.d(o.getIsSelecting);return e===o.CreatorStatus.init&&!t}},function(e,t,n){e.exports=n(343)},function(e,t,n){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(103);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(331),o=n(57),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=s},function(e,u,s){(function(e){var t=s(51),n=s(332),r=u&&!u.nodeType&&u,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r?t.Buffer:void 0,a=(i?i.isBuffer:void 0)||n;e.exports=a}).call(this,s(136)(e))},function(e,t,n){var r=n(206),o=n(222),i=n(78);e.exports=function(e){return(i(e)?r:o)(e)}},function(e,t,n){var r=n(413),o=n(133),i=n(414),a=n(233),u=n(415),s=n(70),c=n(170),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",g=c(r),v=c(o),y=c(i),m=c(a),b=c(u),w=s;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=d||u&&w(new u)!=p)&&(w=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return h;case v:return l;case y:return f;case m:return d;case b:return p}return t}),e.exports=w},function(e,t,n){"use strict";var r=n(16).OrderedMap,o={createFromArray:function(e){return r(e.map(function(e){return[e.getKey(),e]}))}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,r,o,i){if(e.size){var a=0;e.reduce(function(e,t,n){return r(e,t)||(o(e)&&i(a,n),a=n),t}),o(e.last())&&i(a,e.count())}}},function(e,t,n){"use strict";e.exports=function(e){return"handled"===e||!0===e}},function(e,t,n){"use strict";var a=n(38);e.exports=function(e,t,n){var r=e.getSelection(),o=e.getCurrentContent(),i=r;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return o}else if(e.isSelectionAtStartOfContent())return o;if((i=t(e))===r)return o}return a.removeRange(o,i,n)}},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(68),l=n.n(r),o=n(98),i=n.n(o),a=n(5),f=n(23),u=Object(a.c)("FETCH_COLLABORATORS",i()(l.a.mark(function e(){var n,t,r,o,i,a,u,s,c=arguments;return l.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=0<c.length&&void 0!==c[0]?c[0]:"",r=(t=1<c.length?c[1]:void 0).extra,o=t.getState,i=t.signal,a=r.api.getCollaboratorsAPI(),u=o(),s=Object(f.getFileId)(u),i.addEventListener("abort",function(){a.destroy()}),e.abrupt("return",new Promise(function(e,t){a.getFileCollaborators(s,e,t,{filter_term:n,include_groups:!1,include_uploader_collabs:!1})}));case 7:case"end":return e.stop()}},e)})))},function(e,t){function s(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}e.exports=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=u.apply(e,a);function o(e){s(r,t,n,o,i,"next",e)}function i(e){s(r,t,n,o,i,"throw",e)}o(void 0)})}}},function(e,t,n){"use strict";n.d(t,"b",function(){return f}),n.d(t,"a",function(){return d});var r=n(54),o=n.n(r),i=n(4),a=n.n(i),u=n(0),g=n(282),v=n(8),s=n(128);function c(n,r){return Object.keys(n).reduce(function(e,t){return e[t]=a()({timeZone:r},n[t]),e},{})}function l(n,r){return Object.keys(a()(a()({},n),r)).reduce(function(e,t){return e[t]=a()(a()({},n[t]||{}),r[t]||{}),e},{})}function y(e,t){if(!t)return e;var n=s.a.formats;return a()(a()(a()({},n),e),{date:l(c(n.date,t),c(e.date||{},t)),time:l(c(n.time,t),c(e.time||{},t))})}var m=function(e){return u.createElement.apply(u,[u.Fragment,null].concat(o()(e)))};function f(e,t){var n=e.locale,r=e.formats,o=e.messages,i=e.defaultLocale,a=e.defaultFormats,u=e.onError,s=e.timeZone,c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{id:""},l=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},f=c.id,d=c.defaultMessage;Object(g.a)(!!f,"[React Intl] An `id` must be provided to format a message.");var p=o&&o[String(f)];r=y(r,s),a=y(a,s);var h=[];if(p)try{h=t.getMessageFormat(p,n,r,{formatters:t}).formatHTMLMessage(l)}catch(e){u(Object(v.b)('Error formatting message: "'.concat(f,'" for locale: "').concat(n,'"')+(d?", using default message as fallback.":""),e))}else(!d||n&&n.toLowerCase()!==i.toLowerCase())&&u(Object(v.b)('Missing message: "'.concat(f,'" for locale: "').concat(n,'"')+(d?", using default message as fallback.":"")));if(!h.length&&d)try{h=t.getMessageFormat(d,i,a).formatHTMLMessage(l)}catch(e){u(Object(v.b)('Error formatting the default message for: "'.concat(f,'"'),e))}return h.length?1===h.length&&"string"==typeof h[0]?h[0]||d||String(f):m(h):(u(Object(v.b)('Cannot format message: "'.concat(f,'", ')+"using message ".concat(p||d?"source":"id"," as fallback."))),"string"==typeof p?p||d||String(f):d||String(f))}function d(e,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};return f(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{id:""},Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]="string"==typeof n?Object(v.e)(n):n,e},{}))}},function(e,t,n){var m=n(52),b=n(518),w=n(221),S=Math.max,x=Math.min;e.exports=function(r,o,e){var i,a,u,s,c,l,f=0,d=!1,p=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function h(e){var t=i,n=a;return i=a=void 0,f=e,s=r.apply(n,t)}function g(e){var t=e-l;return void 0===l||o<=t||t<0||p&&u<=e-f}function v(){var e,t,n=b();if(g(n))return y(n);c=setTimeout(v,(t=o-((e=n)-l),p?x(t,u-(e-f)):t))}function y(e){return c=void 0,t&&i?h(e):(i=a=void 0,s)}function n(){var e,t=b(),n=g(t);if(i=arguments,a=this,l=t,n){if(void 0===c)return f=e=l,c=setTimeout(v,o),d?h(e):s;if(p)return clearTimeout(c),c=setTimeout(v,o),h(l)}return void 0===c&&(c=setTimeout(v,o)),s}return o=w(o)||0,m(e)&&(d=!!e.leading,u=(p="maxWait"in e)?S(w(e.maxWait)||0,o):u,t="trailing"in e?!!e.trailing:t),n.cancel=function(){void 0!==c&&clearTimeout(c),i=l=a=c=void(f=0)},n.flush=function(){return void 0===c?s:y(b())},n}},function(e,t,n){"use strict";n.d(t,"a",function(){return he}),n.d(t,"b",function(){return ge});var r=n(9),S=n.n(r),o=n(10),i=n.n(o),a=n(6),x=n.n(a),u=n(14),s=n.n(u),c=n(15),l=n.n(c),f=n(7),d=n.n(f),p=n(2),k=n.n(p),h=n(34),g=n.n(h),E=n(1),O=n(269),v=n(0),y=n.n(v),m=n(26),b=n(22),w=n(47),_=n(18);function A(){var t=Object(b.c)();return y.a.useEffect(function(){function e(){t(Object(_.setActiveAnnotationIdAction)(null))}return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}}),null}function C(r){return function(){var e,t=d()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=d()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l()(this,e)}}var T=function(e){s()(n,e);var t=C(n);function n(){return S()(this,n),t.apply(this,arguments)}return i()(n,[{key:"decorate",value:function(){this.reactEl.classList.add("ba-Layer--deselect"),this.reactEl.dataset.testid="ba-Layer--deselect"}},{key:"render",value:function(e){var t=e.store;m.render(v.createElement(b.a,{store:t},v.createElement(A,null)),this.reactEl)}}]),n}(w.a),I=n(27),j=function(){function e(){S()(this,e)}return i()(e,[{key:"addListener",value:function(e,t){I.a.addListener(e,t)}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];I.a.emit.apply(I.a,[e].concat(n))}},{key:"removeAllListeners",value:function(){I.a.removeAllListeners()}},{key:"removeListener",value:function(e,t){I.a.removeListener(e,t)}}]),e}(),P=n(8),L=n(4),D=n.n(L),M=n(76);var R=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function N(e,t,n){var r=e.locale,o=e.formats,i=e.onError,a=2<arguments.length&&void 0!==n?n:{},u=a.format,s=u&&Object(P.g)(o,"number",u,i)||{};return t(r,Object(P.f)(a,R,s))}var F=["numeric","style"];function B(t,e,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{};r=r||"second",Intl.RelativeTimeFormat||t.onError(Object(P.b)('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function(e,t,n){var r=e.locale,o=e.formats,i=e.onError,a=2<arguments.length&&void 0!==n?n:{},u=a.format,s=!!u&&Object(P.g)(o,"relative",u,i)||{};return t(r,Object(P.f)(a,F,s))}(t,e,o).format(n,r)}catch(e){t.onError(Object(P.b)("Error formatting relative time.",e))}return String(n)}var z=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function U(e,t,n,r){var o=e.locale,i=e.formats,a=e.onError,u=e.timeZone,s=3<arguments.length&&void 0!==r?r:{},c=s.format,l=D()(D()({},u&&{timeZone:u}),c&&Object(P.g)(i,t,c,a)),f=Object(P.f)(s,z,l);return"time"!==t||f.hour||f.minute||f.second||(f=D()(D()({},f),{hour:"numeric",minute:"numeric"})),n(o,f)}var K=["localeMatcher","type"];var V=n(99),q=n(86),H=n.n(q),W=n(35),G=n.n(W),$=["localeMatcher","type","style"],Y=Date.now();function Z(e,t,n){var r=e.locale,o=e.onError,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.ListFormat||o(Object(P.b)('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));var a=Object(P.f)(i,$);try{var u={},s=n.map(function(e,t){if("object"!==G()(e))return String(e);var n,r=(n=t,"".concat(Y,"_").concat(n,"_").concat(Y));return u[r]=e,r});return Object.keys(u).length?t(r,a).formatToParts(s).reduce(function(e,t){var n=t.value;return u[n]?e.push(u[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]):t(r,a).format(s)}catch(e){o(Object(P.b)("Error formatting list.",e))}return n}var X=["localeMatcher","style","type","fallback"];function Q(r){return function(){var e,t=d()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=d()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l()(this,e)}}var J=H.a||q;function ee(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function te(e,t){var n=Object(P.c)(t),r=D()(D()({},P.a),e);if(!r.locale||!function(t,e){if("undefined"!=typeof Intl){if(!t)throw new Error("locales must be supplied.");Array.isArray(t)||(t=[t]);var n=e||[Intl.DateTimeFormat,Intl.NumberFormat,Intl.PluralRules];if(!(0===(n=n.filter(Boolean)).length||e&&n.length!==e.length))return n.every(function(e){return e.supportedLocalesOf(t).length===t.length})}}(r.locale)){var o=r.locale,i=r.defaultLocale,a=r.onError;"function"==typeof a&&a(Object(P.b)('Missing locale data for locale: "'.concat(o,'". ')+'Using default locale: "'.concat(i,'" as fallback.'))),r.locale=r.defaultLocale||"en"}return D()(D()({},r),{formatters:n,formatNumber:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{return N(t,e,r).format(n)}catch(e){t.onError(Object(P.b)("Error formatting number.",e))}return String(n)}.bind(null,r,n.getNumberFormat),formatNumberToParts:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{return N(t,e,r).formatToParts(n)}catch(e){t.onError(Object(P.b)("Error formatting number.",e))}return[]}.bind(null,r,n.getNumberFormat),formatRelativeTime:B.bind(null,r,n.getRelativeTimeFormat),formatDate:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof n?new Date(n||0):n;try{return U(t,"date",e,r).format(o)}catch(e){t.onError(Object(P.b)("Error formatting date.",e))}return String(o)}.bind(null,r,n.getDateTimeFormat),formatDateToParts:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof n?new Date(n||0):n;try{return U(t,"date",e,r).formatToParts(o)}catch(e){t.onError(Object(P.b)("Error formatting date.",e))}return[]}.bind(null,r,n.getDateTimeFormat),formatTime:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof n?new Date(n||0):n;try{return U(t,"time",e,r).format(o)}catch(e){t.onError(Object(P.b)("Error formatting time.",e))}return String(o)}.bind(null,r,n.getDateTimeFormat),formatTimeToParts:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof n?new Date(n||0):n;try{return U(t,"time",e,r).formatToParts(o)}catch(e){t.onError(Object(P.b)("Error formatting time.",e))}return[]}.bind(null,r,n.getDateTimeFormat),formatPlural:function(e,t,n){var r=e.locale,o=e.onError,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||o(Object(P.b)('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));var a=Object(P.f)(i,K);try{return t(r,a).select(n)}catch(e){o(Object(P.b)("Error formatting plural.",e))}return"other"}.bind(null,r,n.getPluralRules),formatMessage:V.b.bind(null,r,n),formatHTMLMessage:V.a.bind(null,r,n),formatList:Z.bind(null,r,n.getListFormat),formatDisplayName:function(e,t,n){var r=e.locale,o=e.onError,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.DisplayNames||o(Object(P.b)('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n'));var a=Object(P.f)(i,X);try{return t(r,a).of(n)}catch(e){o(Object(P.b)("Error formatting display name.",e))}}.bind(null,r,n.getDisplayNames)})}var ne=function(e){s()(n,e);var t=Q(n);function n(){var e;return S()(this,n),(e=t.apply(this,arguments)).cache=Object(P.d)(),e.state={cache:e.cache,intl:te(ee(e.props),e.cache),prevConfig:ee(e.props)},e}return i()(n,[{key:"render",value:function(){return Object(P.h)(this.state.intl),v.createElement(M.b,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevConfig,r=t.cache,o=ee(e);return J(n,o)?null:{intl:te(o,r),prevConfig:o}}}]),n}(v.PureComponent);function re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}ne.displayName="IntlProvider",ne.defaultProps=P.a;function oe(e){var t=0<arguments.length&&void 0!==e?e:"en-US";return t.substr(0,t.indexOf("-"))}window.Intl.PluralRules||(n(391),n(394)),window.Intl.RelativeTimeFormat||(n(395),n(398));var ie,ae=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(Object(n),!0).forEach(function(e){k()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},{"ba.annotationsClose":"Close","ba.annotationsCreateError":"We’re sorry, the annotation could not be created.","ba.annotationsLoadError":"We’re sorry, the annotations failed to load for this file.","ba.annotationsPost":"Post","ba.annotationsSave":"Save","ba.popup.reply.comment":"Comment","ba.popup.reply.field":"Type a comment","ba.popups.cancel":"Cancel","ba.popups.drawing.addComment":"Add Comment","ba.popups.drawing.delete":"Delete","ba.popups.drawing.redo":"Redo","ba.popups.drawing.undo":"Undo","ba.popups.popupCursor.regionPrompt":"Draw a box to comment","ba.popups.popupHighlight.promoter":"Highlight and Comment","ba.popups.popupHighlight.restrictedPrompt":"Comments restricted to single page","ba.popups.popupList.prompt":"Mention someone to notify them","ba.popups.post":"Post","ba.popups.replyField.placeholder":"Type a comment..."},{},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.cancel":"Cancel","be.choose":"Choose","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.annotationBadge":"Annotation Badge","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignSignature":"Sign","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.errorState":"A network error has occurred while trying to load.","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folderState":"There are no items in this folder.","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.columnSize":"Column size","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.in":"In","be.interactedDate":"Last accessed on {date}","be.itemCreated":"Created","be.itemInteracted":"Last Accessed","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loadingState":"Please wait while the items load...","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataState":"There are no items in this folder.","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"We’re sorry, the preview didn’t load. Please refresh the page.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.recentsState":"There are no recent items yet.","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchPlaceholder":"Search files and folders","be.searchState":"Sorry, we couldn’t find what you’re looking for.","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.selectedState":"You haven’t selected any items yet.","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestored":"{name} restored v{version_number}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for '{itemName}'","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"}),ue=Object(P.d)(),se=function(e){var t=0<arguments.length&&void 0!==e?e:{},n=t.language,r=t.locale,o=t.messages;return te({messages:void 0===o?ae:o,locale:r||oe(n)},ue)},ce=n(570),le=Object(ce.defineMessages)({annotationsClose:{id:"ba.annotationsClose",defaultMessage:"Close"},annotationsSave:{id:"ba.annotationsSave",defaultMessage:"Save"},annotationsPost:{id:"ba.annotationsPost",defaultMessage:"Post"},annotationsCreateError:{id:"ba.annotationsCreateError",defaultMessage:"We’re sorry, the annotation could not be created."},annotationsLoadError:{id:"ba.annotationsLoadError",defaultMessage:"We’re sorry, the annotations failed to load for this file."}}),fe=n(12);n(400);function de(r){return function(){var e,t=d()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=d()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l()(this,e)}}var pe="ba-annotations-loaded",he=(ie={},k()(ie,E.Mode.HIGHLIGHT,"ba-is-create--highlight"),k()(ie,E.Mode.REGION,"ba-is-create--region"),ie),ge=function(e){s()(w,e);var b=de(w);function w(e){var t,n,r,o=e.apiHost,i=e.container,a=e.features,u=void 0===a?{}:a,s=e.file,c=e.fileOptions,l=e.initialColor,f=e.initialMode,d=e.intl,p=e.token;S()(this,w),r=b.call(this),k()(x()(r),"annotatedEl",void 0),k()(x()(r),"containerEl",void 0),k()(x()(r),"container",void 0),k()(x()(r),"deselectManager",null),k()(x()(r),"features",void 0),k()(x()(r),"intl",void 0),k()(x()(r),"store",void 0),k()(x()(r),"removeAnnotation",function(e){r.store.dispatch(E.removeAnnotationAction(e))}),k()(x()(r),"handleRemove",function(e){r.removeAnnotation(e)}),k()(x()(r),"handleScale",function(e){var t=e.rotationAngle,n=e.scale;r.init(n,t)}),k()(x()(r),"handleSetActive",function(e){r.setActiveId(e)}),k()(x()(r),"handleSetVisible",function(e){r.setVisibility(e)}),k()(x()(r),"handleSetColor",function(e){r.setColor(e)}),k()(x()(r),"removeAnnotationClasses",function(){if(r.annotatedEl){var t=r.annotatedEl;Object.values(he).forEach(function(e){e&&t.classList.remove(e)})}});var h=null==c?void 0:c[s.id],g=null==h?void 0:h.currentFileVersionId,v=null==h?void 0:h.fileVersionId,y=s.file_version.id,m={annotations:{activeId:null!==(t=null==h||null===(n=h.annotations)||void 0===n?void 0:n.activeId)&&void 0!==t?t:null},common:{color:l,mode:f},options:{features:u,fileId:s.id,fileVersionId:null!=v?v:y,isCurrentFileVersion:!v||v===g,permissions:s.permissions}};return r.container=i,r.features=u,r.intl=se(d),r.store=E.createStore(m,{api:new O.default({apiHost:o,token:p})}),r.addListener(fe.LegacyEvent.SCALE,r.handleScale),r.addListener(fe.Event.ACTIVE_SET,r.handleSetActive),r.addListener(fe.Event.ANNOTATION_REMOVE,r.handleRemove),r.addListener(fe.Event.COLOR_SET,r.handleSetColor),r.addListener(fe.Event.VISIBLE_SET,r.handleSetVisible),r.hydrate(),r}return i()(w,[{key:"destroy",value:function(){this.containerEl&&this.containerEl.classList.remove("ba"),this.annotatedEl&&this.annotatedEl.classList.remove(pe),this.deselectManager&&this.deselectManager.destroy(),this.removeAnnotationClasses(),this.removeListener(fe.LegacyEvent.SCALE,this.handleScale),this.removeListener(fe.Event.ACTIVE_SET,this.handleSetActive),this.removeListener(fe.Event.ANNOTATION_REMOVE,this.handleRemove),this.removeListener(fe.Event.COLOR_SET,this.handleSetColor),this.removeListener(fe.Event.VISIBLE_SET,this.handleSetVisible)}},{key:"init",value:function(e,t){var n=0<arguments.length&&void 0!==e?e:1,r=1<arguments.length&&void 0!==t?t:0;this.containerEl=this.getElement(this.container),this.annotatedEl=this.getAnnotatedElement(),this.annotatedEl&&this.containerEl?(this.annotatedEl.classList.add(pe),this.containerEl.classList.add("ba"),this.render(),this.store.dispatch(E.setRotationAction(r)),this.store.dispatch(E.setScaleAction(n)),this.store.dispatch(E.setIsInitialized())):this.emit(fe.LegacyEvent.ERROR,this.intl.formatMessage(le.annotationsLoadError))}},{key:"isFeatureEnabled",value:function(e){var t=0<arguments.length&&void 0!==e?e:"";return g()(this.features,t,!1)}},{key:"scrollToAnnotation",value:function(){}},{key:"setActiveId",value:function(e){this.store.dispatch(E.setActiveAnnotationIdAction(e))}},{key:"setColor",value:function(e){this.store.dispatch(E.setColorAction(e))}},{key:"setVisibility",value:function(e){this.containerEl&&(e?this.containerEl.classList.remove("is-hidden"):this.containerEl.classList.add("is-hidden"))}},{key:"toggleAnnotationMode",value:function(e){this.store.dispatch(E.toggleAnnotationModeAction(e))}},{key:"getAnnotatedElement",value:function(){}},{key:"getElement",value:function(e){return"string"==typeof e?document.querySelector(e):e}},{key:"hydrate",value:function(){this.store.dispatch(E.fetchAnnotationsAction())}},{key:"render",value:function(){}},{key:"postRender",value:function(){this.annotatedEl&&(this.deselectManager&&this.deselectManager.destroy(),this.deselectManager=new T({referenceEl:this.annotatedEl}),this.deselectManager.render({store:this.store}))}}]),w}(j)},function(e,t,n){var r=n(40),o=n(130),i=n(289),a=n(108);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(70),o=n(57);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(71)(Object,"create");e.exports=r},function(e,t,n){var r=n(303),o=n(304),i=n(305),a=n(306),u=n(307);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,n){var r=n(87);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(309);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(313);e.exports=function(e){return null==e?"":r(e)}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(105),o=n(322),i=n(323),a=n(324),u=n(325),s=n(326);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,e.exports=c},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(333),o=n(140),i=n(141),a=i&&i.isTypedArray,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(206),o=n(336),i=n(78);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(s,e,c){"use strict";(function(e){var i=c(41),n=c(348),a=c(214),t={"Content-Type":"application/x-www-form-urlencoded"};function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?o=c(215):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(o=c(215)),o),transformRequest:[function(e,t){return n(t,"Accept"),n(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(r(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){u.headers[e]={}}),i.forEach(["post","put","patch"],function(e){u.headers[e]=i.merge(t)}),s.exports=u}).call(this,c(213))},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";var l=n(237),f=n(238);e.exports=function(e,t){var o=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),u=t.getEndOffset(),n=f(e,t).getBlockMap(),r=n.keySeq(),s=r.indexOf(o),c=r.indexOf(a)+1;return l(n.slice(s,c).map(function(e,t){var n=e.getText(),r=e.getCharacterList();return o===a?e.merge({text:n.slice(i,u),characterList:r.slice(i,u)}):t===o?e.merge({text:n.slice(i),characterList:r.slice(i)}):t===a?e.merge({text:n.slice(0,u),characterList:r.slice(0,u)}):e}))}},function(e,t,n){"use strict";var i=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=n(242),o=n(16),a=n(17),u=(0,o.Map)(),s=0;var c={getLastCreatedEntityKey:function(){return c.__getLastCreatedEntityKey()},create:function(e,t,n){return c.__create(e,t,n)},add:function(e){return c.__add(e)},get:function(e){return c.__get(e)},mergeData:function(e,t){return c.__mergeData(e,t)},replaceData:function(e,t){return c.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return""+s},__create:function(e,t,n){return c.__add(new r({type:e,mutability:t,data:n||{}}))},__add:function(e){var t=""+ ++s;return u=u.set(t,e),t},__get:function(e){var t=u.get(e);return t||a(!1),t},__mergeData:function(e,t){var n=c.__get(e),r=i({},n.getData(),t),o=n.set("data",r);return u=u.set(e,o),o},__replaceData:function(e,t){var n=c.__get(e).set("data",t);return u=u.set(e,n),n}};e.exports=c},function(e,t,n){"use strict";var r={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-"),n=t[0],r=t[1],o=t[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(o,10)}}};e.exports=r},function(e,t,n){"use strict";var r=n(39),o=n(18),i=n(45),a=n(19),u=n(48),s=n(120),c=n(23),l=n(121);t.a=function(){return Object(r.c)({annotations:o.annotationsReducer,common:i.b,creator:a.b,drawing:u.drawingReducer,highlight:s.highlightReducer,options:c.optionsReducer,users:l.usersReducer})}},function(e,t,n){"use strict";var r=n(180);n.d(t,"highlightReducer",function(){return r.a});var o=n(82);n.d(t,"setIsPromotingAction",function(){return o.a}),n.d(t,"setIsSelectingAction",function(){return o.b}),n.d(t,"setSelectionAction",function(){return o.c});var i=n(187);n.d(t,"getIsPromoting",function(){return i.a}),n.d(t,"getIsSelecting",function(){return i.b}),n.d(t,"getSelectionForLocation",function(){return i.c});var a=n(188);n.o(a,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return a.fetchAnnotationsAction}),n.o(a,"fetchCollaboratorsAction")&&n.d(t,"fetchCollaboratorsAction",function(){return a.fetchCollaboratorsAction}),n.o(a,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return a.getActiveAnnotationId}),n.o(a,"getAnnotation")&&n.d(t,"getAnnotation",function(){return a.getAnnotation}),n.o(a,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return a.getAnnotationsForLocation}),n.o(a,"getCollaborators")&&n.d(t,"getCollaborators",function(){return a.getCollaborators}),n.o(a,"getFileId")&&n.d(t,"getFileId",function(){return a.getFileId}),n.o(a,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return a.getIsCurrentFileVersion}),n.o(a,"getRotation")&&n.d(t,"getRotation",function(){return a.getRotation}),n.o(a,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return a.removeAnnotationAction}),n.o(a,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return a.setActiveAnnotationIdAction}),n.o(a,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return a.setIsInitialized}),n.o(a,"setRotationAction")&&n.d(t,"setRotationAction",function(){return a.setRotationAction}),n.o(a,"setScaleAction")&&n.d(t,"setScaleAction",function(){return a.setScaleAction})},function(e,t,n){"use strict";var r=n(189);n.d(t,"usersReducer",function(){return r.a});var o=n(97);n.d(t,"fetchCollaboratorsAction",function(){return o.a});var i=n(190);n.d(t,"getCollaborators",function(){return i.a});var a=n(191);n.o(a,"fetchAnnotationsAction")&&n.d(t,"fetchAnnotationsAction",function(){return a.fetchAnnotationsAction}),n.o(a,"getActiveAnnotationId")&&n.d(t,"getActiveAnnotationId",function(){return a.getActiveAnnotationId}),n.o(a,"getAnnotation")&&n.d(t,"getAnnotation",function(){return a.getAnnotation}),n.o(a,"getAnnotationsForLocation")&&n.d(t,"getAnnotationsForLocation",function(){return a.getAnnotationsForLocation}),n.o(a,"getFileId")&&n.d(t,"getFileId",function(){return a.getFileId}),n.o(a,"getIsCurrentFileVersion")&&n.d(t,"getIsCurrentFileVersion",function(){return a.getIsCurrentFileVersion}),n.o(a,"getIsPromoting")&&n.d(t,"getIsPromoting",function(){return a.getIsPromoting}),n.o(a,"getIsSelecting")&&n.d(t,"getIsSelecting",function(){return a.getIsSelecting}),n.o(a,"getRotation")&&n.d(t,"getRotation",function(){return a.getRotation}),n.o(a,"getSelectionForLocation")&&n.d(t,"getSelectionForLocation",function(){return a.getSelectionForLocation}),n.o(a,"removeAnnotationAction")&&n.d(t,"removeAnnotationAction",function(){return a.removeAnnotationAction}),n.o(a,"setActiveAnnotationIdAction")&&n.d(t,"setActiveAnnotationIdAction",function(){return a.setActiveAnnotationIdAction}),n.o(a,"setIsInitialized")&&n.d(t,"setIsInitialized",function(){return a.setIsInitialized}),n.o(a,"setIsPromotingAction")&&n.d(t,"setIsPromotingAction",function(){return a.setIsPromotingAction}),n.o(a,"setIsSelectingAction")&&n.d(t,"setIsSelectingAction",function(){return a.setIsSelectingAction}),n.o(a,"setRotationAction")&&n.d(t,"setRotationAction",function(){return a.setRotationAction}),n.o(a,"setScaleAction")&&n.d(t,"setScaleAction",function(){return a.setScaleAction}),n.o(a,"setSelectionAction")&&n.d(t,"setSelectionAction",function(){return a.setSelectionAction})},function(e,t,n){var r=n(193),o=n(207)(function(e,t,n){r(e,t,n)});e.exports=o},function(e,n,t){"use strict";(function(e){var t="object"==typeof e&&e&&e.Object===Object&&e;n.a=t}).call(this,t(36))},function(e,u,s){"use strict";(function(e){var t=s(29),n=s(275),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r?t.a.Buffer:void 0,a=(i?i.isBuffer:void 0)||n.a;u.a=a}).call(this,s(109)(e))},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var o=n(1),s=n(18),c=n(23),i=n(48),r=function(u){return function(e,t){var n=u.location,r=u.message,o=u.pathGroups,i=t(),a={description:{message:r,type:"reply"},file_version:{id:Object(c.getFileVersionId)(i)},target:{location:{type:"page",value:n},path_groups:o,type:"drawing"}};return e(Object(s.createAnnotationAction)(a))}},a=function(r){return function(e,t){var n=t();return Object(o.getCreatorStatus)(n)===o.CreatorStatus.staged&&e(Object(i.resetDrawingAction)()),e(Object(i.setDrawingLocationAction)(r))}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var w={x:0,y:0};function r(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).offsets,r=void 0===n?w:n,o=r.x,i=r.y,a=e.getBoundingClientRect(),u=a.left,s=a.top,c=t.getBoundingClientRect(),l=c.height,f=c.left,d=c.top,p=c.width,h=Math.round(e.clientWidth/2),g=Math.round(e.clientHeight/2),v=f-u-h+Math.round(p*(o/100)),y=d-s-g+Math.round(l*(i/100)),m=Math.max(0,Math.min(e.scrollLeft+v,e.scrollWidth)),b=Math.max(0,Math.min(e.scrollTop+y,e.scrollHeight));e.scrollLeft=m,e.scrollTop=b}},function(e,t,n){"use strict";n.d(t,"a",function(){return gi});var r=n(4),y=n.n(r),o=n(9),i=n.n(o),a=n(10),u=n.n(a),s=n(14),c=n.n(s),l=n(15),f=n.n(l),d=n(7),p=n.n(d),ne=n(0),h=n.n(ne),g=n(26),v=n(47),m=n(22),b=n(25),k=n.n(b),w=n(2),S=n.n(w),x=n(11),E=n.n(x),O=n(21),_=n.n(O),A=n(54),C=n.n(A),T=n(574),I=n(164),j=n.n(I),P=n(13),L=n.n(P);function D(e){return(D="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)}function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function R(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e){var t=e.contentState,n=e.entityKey,r=e.children,o="";return n&&(o=t.getEntity(n).getData().id),ne.createElement("a",{href:"/profile/".concat(o)},r)}var V=function(){function u(){var e,n,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=this,r=(e=F(u)).call.apply(e,[this].concat(i)),n=!r||"object"!==D(r)&&"function"!=typeof r?B(t):r,U(B(n),"focusFirstElement",function(){if(n.el){var e=j()(n.el);3<e.length?e[1].focus():n.trapEl&&n.trapEl.focus()}}),U(B(n),"focusLastElement",function(){if(n.el){var e=j()(n.el);3<e.length?e[e.length-3].focus():n.trapEl&&n.trapEl.focus()}}),U(B(n),"handleElKeyDown",function(e){var t=n.props.handleOverlayKeyDown;n.el===document.activeElement&&"Tab"===e.key&&(n.focusFirstElement(),e.stopPropagation(),e.preventDefault()),t&&t(e)}),U(B(n),"handleTrapElKeyDown",function(e){"Tab"===e.key&&(e.stopPropagation(),e.preventDefault())}),n}var e,t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z(e,t)}(u,ne["Component"]),e=u,(t=[{key:"componentDidMount",value:function(){var e=this;this.props.shouldDefaultFocus?setTimeout(function(){e.previousFocusEl=document.activeElement,e.focusFirstElement()},0):setTimeout(function(){e.el&&e.el.focus()},0)}},{key:"componentWillUnmount",value:function(){var e=this;setTimeout(function(){e.previousFocusEl&&e.previousFocusEl.focus()},0)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=e.className,o=e.getRef,i=(e.handleOverlayKeyDown,e.shouldDefaultFocus,e.shouldOutlineFocus),a=R(e,["children","className","getRef","handleOverlayKeyDown","shouldDefaultFocus","shouldOutlineFocus"]);return ne.createElement("div",M({ref:function(e){t.el=e,o&&o(e)},className:L()(r,{"should-outline-focus":i}),onKeyDown:this.handleElKeyDown},a),ne.createElement("i",{"aria-hidden":!0,onFocus:this.focusLastElement,tabIndex:"0"}),n,ne.createElement("i",{"aria-hidden":!0,onFocus:this.focusFirstElement,tabIndex:"0"}),ne.createElement("i",{ref:function(e){t.trapEl=e},"aria-hidden":!0,onKeyDown:this.handleTrapElKeyDown,tabIndex:"0"}))}}])&&N(e.prototype,t),n&&N(e,n),u}(),q=n(28),H=n(46),W=n(32),G=new W.CompositeDecorator([{strategy:function(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()},t)},component:K}]);function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Y(e){var t=/([@@﹫])\[([0-9]+):([^\]]+)]/gi.exec(e);if(!t)return null;var n=$(t,4),r=n[0],o=n[1],i=n[2],a=n[3],u=t.index;return{start:u,end:u+r.length,data:{id:i,name:a,content:"".concat(o).concat(a)}}}var Z=function(e){for(var t=0<arguments.length&&void 0!==e?e:"",n=W.ContentState.createFromText(t),r=n.getFirstBlock();null!=r;){var o=r.getText(),i=o?Y(o):null;if(null==i)r=n.getBlockAfter(r.getKey());else{var a=i.data,u=i.start,s=i.end;n.createEntity("MENTION","IMMUTABLE",a);var c=n.getLastCreatedEntityKey(),l=W.SelectionState.createEmpty(r.getKey()).merge({anchorOffset:u,focusOffset:s});r=(n=W.Modifier.replaceText(n,l,a.content,null,c)).getBlockForKey(r.getKey())}}return W.EditorState.createWithContent(n,G)},X=["@","@","﹫"].reduce(function(e,t){return"".concat(e,"\\").concat(t)},""),Q=new RegExp("([".concat(X,"])([^").concat(X,"]*)$"));function J(e,t){var r=1<arguments.length&&void 0!==t?t:Q,n=e.getCurrentContent(),o=e.getSelection(),i=o.getStartKey(),a=n.getBlockForKey(i),u=o.getStartOffset(),s=null;return a.findEntityRanges(function(e){return null===e.getEntity()},function(e,t){if(e<=u&&u<=t){var n=a.getText().substr(e,u-e).match(r);n&&(s={blockID:i,mentionString:n[2],mentionTrigger:n[1],start:e+n.index,end:u})}return null}),s}function ee(e){var s=e.getCurrentContent(),t=s.getBlockMap(),n=[],c=!1;return t.forEach(function(i){var a=i.getText(),u=[];i.findEntityRanges(function(){return!0},function(e,t){var n=i.getEntityAt(e);if(n){var r=s.getEntity(n),o="@[".concat(r.getData().id,":").concat(a.substring(e+1,t),"]");u.push(o),c=!0}else u.push(a.substring(e,t))}),n.push(u.join(""))}),{text:n.join("\n"),hasMention:c}}var te=n(63),re=n.n(te),oe=function(e){return!(!(r=e)||"object"!=typeof r||(t=e,"[object RegExp]"===(n=Object.prototype.toString.call(t))||"[object Date]"===n||function(e){return e.$$typeof===ie}(t)));var t,n,r};var ie="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ae(e,t){return!1!==t.clone&&t.isMergeableObject(e)?se((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function ue(e,t,n){return e.concat(t).map(function(e){return ae(e,n)})}function se(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ue,n.isMergeableObject=n.isMergeableObject||oe;var r,o,i,a,u=Array.isArray(t);return u===Array.isArray(e)?u?n.arrayMerge(e,t,n):(r=e,o=t,a={},(i=n).isMergeableObject(r)&&Object.keys(r).forEach(function(e){a[e]=ae(r[e],i)}),Object.keys(o).forEach(function(e){i.isMergeableObject(o[e])&&r[e]?a[e]=se(r[e],o[e],i):a[e]=ae(o[e],i)}),a):ae(t,n)}se.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return se(e,t,n)},{})};var ce=se,le=n(29),fe=le.a.Symbol,de=Object.prototype,pe=de.hasOwnProperty,he=de.toString,ge=fe?fe.toStringTag:void 0;var ve=function(e){var t=pe.call(e,ge),n=e[ge];try{var r=!(e[ge]=void 0)}catch(e){}var o=he.call(e);return r&&(t?e[ge]=n:delete e[ge]),o},ye=Object.prototype.toString;var me=function(e){return ye.call(e)},be=fe?fe.toStringTag:void 0;var we=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(be&&be in Object(e)?ve:me)(e)};var Se=function(t,n){return function(e){return t(n(e))}},xe=Se(Object.getPrototypeOf,Object);var ke=function(e){return null!=e&&"object"==typeof e},Ee=Function.prototype,Oe=Object.prototype,_e=Ee.toString,Ae=Oe.hasOwnProperty,Ce=_e.call(Object);var Te=function(e){if(!ke(e)||"[object Object]"!=we(e))return!1;var t=xe(e);if(null===t)return!0;var n=Ae.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_e.call(n)==Ce};function Ie(){this.__data__=[],this.size=0}var je=function(e,t){return e===t||e!=e&&t!=t};var Pe=function(e,t){for(var n=e.length;n--;)if(je(e[n][0],t))return n;return-1},Le=Array.prototype.splice;function De(e){var t=this.__data__,n=Pe(t,e);return!(n<0)&&(n==t.length-1?t.pop():Le.call(t,n,1),--this.size,!0)}function Me(e){var t=this.__data__,n=Pe(t,e);return n<0?void 0:t[n][1]}function Re(e){return-1<Pe(this.__data__,e)}function Ne(e,t){var n=this.__data__,r=Pe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Fe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Fe.prototype.clear=Ie,Fe.prototype.delete=De,Fe.prototype.get=Me,Fe.prototype.has=Re,Fe.prototype.set=Ne;var Be=Fe;function ze(){this.__data__=new Be,this.size=0}function Ue(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Ke(e){return this.__data__.get(e)}function Ve(e){return this.__data__.has(e)}var qe=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var He,We=function(e){if(!qe(e))return!1;var t=we(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Ge=le.a["__core-js_shared__"],$e=(He=/[^.]+$/.exec(Ge&&Ge.keys&&Ge.keys.IE_PROTO||""))?"Symbol(src)_1."+He:"";var Ye=function(e){return!!$e&&$e in e},Ze=Function.prototype.toString;var Xe=function(e){if(null!=e){try{return Ze.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Qe=/^\[object .+?Constructor\]$/,Je=Function.prototype,et=Object.prototype,tt=Je.toString,nt=et.hasOwnProperty,rt=RegExp("^"+tt.call(nt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ot=function(e){return!(!qe(e)||Ye(e))&&(We(e)?rt:Qe).test(Xe(e))};var it=function(e,t){return null==e?void 0:e[t]};var at=function(e,t){var n=it(e,t);return ot(n)?n:void 0},ut=at(le.a,"Map"),st=at(Object,"create");function ct(){this.__data__=st?st(null):{},this.size=0}function lt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ft=Object.prototype.hasOwnProperty;function dt(e){var t=this.__data__;if(st){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ft.call(t,e)?t[e]:void 0}var pt=Object.prototype.hasOwnProperty;function ht(e){var t=this.__data__;return st?void 0!==t[e]:pt.call(t,e)}function gt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=st&&void 0===t?"__lodash_hash_undefined__":t,this}function vt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vt.prototype.clear=ct,vt.prototype.delete=lt,vt.prototype.get=dt,vt.prototype.has=ht,vt.prototype.set=gt;var yt=vt;var mt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var bt=function(e,t){var n=e.__data__;return mt(t)?n["string"==typeof t?"string":"hash"]:n.map};function wt(e){var t=bt(this,e).delete(e);return this.size-=t?1:0,t}function St(e){return bt(this,e).get(e)}function xt(e){return bt(this,e).has(e)}function kt(e,t){var n=bt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Et.prototype.clear=function(){this.size=0,this.__data__={hash:new yt,map:new(ut||Be),string:new yt}},Et.prototype.delete=wt,Et.prototype.get=St,Et.prototype.has=xt,Et.prototype.set=kt;var Ot=Et;function _t(e,t){var n=this.__data__;if(n instanceof Be){var r=n.__data__;if(!ut||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ot(r)}return n.set(e,t),this.size=n.size,this}function At(e){var t=this.__data__=new Be(e);this.size=t.size}At.prototype.clear=ze,At.prototype.delete=Ue,At.prototype.get=Ke,At.prototype.has=Ve,At.prototype.set=_t;var Ct=At;var Tt=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},It=function(){try{var e=at(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var jt=function(e,t,n){"__proto__"==t&&It?It(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Pt=Object.prototype.hasOwnProperty;var Lt=function(e,t,n){var r=e[t];Pt.call(e,t)&&je(r,n)&&(void 0!==n||t in e)||jt(e,t,n)};var Dt=function(e,t,n,r){var o=!n;n=n||{};for(var i=-1,a=t.length;++i<a;){var u=t[i],s=r?r(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),(o?jt:Lt)(n,u,s)}return n};var Mt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var Rt=function(e){return ke(e)&&"[object Arguments]"==we(e)},Nt=Object.prototype,Ft=Nt.hasOwnProperty,Bt=Nt.propertyIsEnumerable,zt=Rt(function(){return arguments}())?Rt:function(e){return ke(e)&&Ft.call(e,"callee")&&!Bt.call(e,"callee")},Ut=Array.isArray,Kt=n(124),Vt=/^(?:0|[1-9]\d*)$/;var qt=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Vt.test(e))&&-1<e&&e%1==0&&e<t};var Ht=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991},Wt={};Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Arguments]"]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object Boolean]"]=Wt["[object DataView]"]=Wt["[object Date]"]=Wt["[object Error]"]=Wt["[object Function]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt["[object Object]"]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object WeakMap]"]=!1;function Gt(e){return ke(e)&&Ht(e.length)&&!!Wt[we(e)]}var $t=function(t){return function(e){return t(e)}},Yt=n(62),Zt=Yt.a&&Yt.a.isTypedArray,Xt=Zt?$t(Zt):Gt,Qt=Object.prototype.hasOwnProperty;var Jt=function(e,t){var n=Ut(e),r=!n&&zt(e),o=!n&&!r&&Object(Kt.a)(e),i=!n&&!r&&!o&&Xt(e),a=n||r||o||i,u=a?Mt(e.length,String):[],s=u.length;for(var c in e)!t&&!Qt.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||qt(c,s))||u.push(c);return u},en=Object.prototype;var tn=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||en)},nn=Se(Object.keys,Object),rn=Object.prototype.hasOwnProperty;var on=function(e){if(!tn(e))return nn(e);var t=[];for(var n in Object(e))rn.call(e,n)&&"constructor"!=n&&t.push(n);return t};var an=function(e){return null!=e&&Ht(e.length)&&!We(e)};var un=function(e){return(an(e)?Jt:on)(e)};var sn=function(e,t){return e&&Dt(t,un(t),e)};var cn=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},ln=Object.prototype.hasOwnProperty;var fn=function(e){if(!qe(e))return cn(e);var t=tn(e),n=[];for(var r in e)("constructor"!=r||!t&&ln.call(e,r))&&n.push(r);return n};var dn=function(e){return an(e)?Jt(e,!0):fn(e)};var pn=function(e,t){return e&&Dt(t,dn(t),e)},hn=n(276);var gn=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t};var vn=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};function yn(){return[]}var mn=Object.prototype.propertyIsEnumerable,bn=Object.getOwnPropertySymbols,wn=bn?function(t){return null==t?[]:(t=Object(t),vn(bn(t),function(e){return mn.call(t,e)}))}:yn;var Sn=function(e,t){return Dt(e,wn(e),t)};var xn=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},kn=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)xn(t,wn(e)),e=xe(e);return t}:yn;var En=function(e,t){return Dt(e,kn(e),t)};var On=function(e,t,n){var r=t(e);return Ut(e)?r:xn(r,n(e))};var _n=function(e){return On(e,un,wn)};var An=function(e){return On(e,dn,kn)},Cn=at(le.a,"DataView"),Tn=at(le.a,"Promise"),In=at(le.a,"Set"),jn=at(le.a,"WeakMap"),Pn="[object Map]",Ln="[object Promise]",Dn="[object Set]",Mn="[object WeakMap]",Rn="[object DataView]",Nn=Xe(Cn),Fn=Xe(ut),Bn=Xe(Tn),zn=Xe(In),Un=Xe(jn),Kn=we;(Cn&&Kn(new Cn(new ArrayBuffer(1)))!=Rn||ut&&Kn(new ut)!=Pn||Tn&&Kn(Tn.resolve())!=Ln||In&&Kn(new In)!=Dn||jn&&Kn(new jn)!=Mn)&&(Kn=function(e){var t=we(e),n="[object Object]"==t?e.constructor:void 0,r=n?Xe(n):"";if(r)switch(r){case Nn:return Rn;case Fn:return Pn;case Bn:return Ln;case zn:return Dn;case Un:return Mn}return t});var Vn=Kn,qn=Object.prototype.hasOwnProperty;var Hn=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&qn.call(e,"index")&&(n.index=e.index,n.input=e.input),n},Wn=le.a.Uint8Array;var Gn=function(e){var t=new e.constructor(e.byteLength);return new Wn(t).set(new Wn(e)),t};var $n=function(e,t){var n=t?Gn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Yn=/\w*$/;var Zn=function(e){var t=new e.constructor(e.source,Yn.exec(e));return t.lastIndex=e.lastIndex,t},Xn=fe?fe.prototype:void 0,Qn=Xn?Xn.valueOf:void 0;var Jn=function(e){return Qn?Object(Qn.call(e)):{}};var er=function(e,t){var n=t?Gn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var tr=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Gn(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return $n(e,n);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 er(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return Zn(e);case"[object Set]":return new r;case"[object Symbol]":return Jn(e)}},nr=Object.create;function rr(){}var or=function(e){if(!qe(e))return{};if(nr)return nr(e);rr.prototype=e;var t=new rr;return rr.prototype=void 0,t};var ir=function(e){return"function"!=typeof e.constructor||tn(e)?{}:or(xe(e))};function ar(e){return ke(e)&&"[object Map]"==Vn(e)}var ur=Yt.a&&Yt.a.isMap,sr=ur?$t(ur):ar;function cr(e){return ke(e)&&"[object Set]"==Vn(e)}var lr=Yt.a&&Yt.a.isSet,fr=lr?$t(lr):cr,dr=1,pr=2,hr=4,gr="[object Arguments]",vr="[object Function]",yr="[object GeneratorFunction]",mr="[object Object]",br={};br[gr]=br["[object Array]"]=br["[object ArrayBuffer]"]=br["[object DataView]"]=br["[object Boolean]"]=br["[object Date]"]=br["[object Float32Array]"]=br["[object Float64Array]"]=br["[object Int8Array]"]=br["[object Int16Array]"]=br["[object Int32Array]"]=br["[object Map]"]=br["[object Number]"]=br[mr]=br["[object RegExp]"]=br["[object Set]"]=br["[object String]"]=br["[object Symbol]"]=br["[object Uint8Array]"]=br["[object Uint8ClampedArray]"]=br["[object Uint16Array]"]=br["[object Uint32Array]"]=!0,br["[object Error]"]=br[vr]=br["[object WeakMap]"]=!1;var wr=function n(r,o,i,e,t,a){var u,s=o&dr,c=o&pr,l=o&hr;if(i&&(u=t?i(r,e,t,a):i(r)),void 0!==u)return u;if(!qe(r))return r;var f=Ut(r);if(f){if(u=Hn(r),!s)return gn(r,u)}else{var d=Vn(r),p=d==vr||d==yr;if(Object(Kt.a)(r))return Object(hn.a)(r,s);if(d==mr||d==gr||p&&!t){if(u=c||p?{}:ir(r),!s)return c?En(r,pn(u,r)):Sn(r,sn(u,r))}else{if(!br[d])return t?r:{};u=tr(r,d,s)}}var h=(a=a||new Ct).get(r);if(h)return h;a.set(r,u),fr(r)?r.forEach(function(e){u.add(n(e,o,i,e,r,a))}):sr(r)&&r.forEach(function(e,t){u.set(t,n(e,o,i,t,r,a))});var g=l?c?An:_n:c?keysIn:un,v=f?void 0:g(r);return Tt(v||r,function(e,t){v&&(e=r[t=e]),Lt(u,t,n(e,o,i,t,r,a))}),u};var Sr=function(e){return wr(e,4)};var xr=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var kr=function(e){return"symbol"==typeof e||ke(e)&&"[object Symbol]"==we(e)},Er="Expected a function";function Or(o,i){if("function"!=typeof o||null!=i&&"function"!=typeof i)throw new TypeError(Er);var a=function(){var e=arguments,t=i?i.apply(this,e):e[0],n=a.cache;if(n.has(t))return n.get(t);var r=o.apply(this,e);return a.cache=n.set(t,r)||n,r};return a.cache=new(Or.Cache||Ot),a}Or.Cache=Ot;var _r=Or;var Ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cr=/\\(\\)?/g,Tr=function(e){var t=_r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var o=[];return 46===e.charCodeAt(0)&&o.push(""),e.replace(Ar,function(e,t,n,r){o.push(n?r.replace(Cr,"$1"):t||e)}),o});function Ir(e){if("string"==typeof e||kr(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var jr=1/0,Pr=fe?fe.prototype:void 0,Lr=Pr?Pr.toString:void 0;var Dr=function e(t){if("string"==typeof t)return t;if(Ut(t))return xr(t,e)+"";if(kr(t))return Lr?Lr.call(t):"";var n=t+"";return"0"==n&&1/t==-jr?"-0":n};var Mr=function(e){return null==e?"":Dr(e)};var Rr=function(e){return Ut(e)?xr(e,Ir):kr(e)?[e]:gn(Tr(Mr(e)))};var Nr=function(e,t){},Fr=n(165),Br=n(166),zr=n.n(Br);var Ur=function(e){return wr(e,5)};function Kr(){return(Kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Vr(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function qr(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}function Hr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wr(e){return Array.isArray(e)&&0===e.length}var Gr=function(e){return"function"==typeof e},$r=function(e){return null!==e&&"object"==typeof e},Yr=function(e){return String(Math.floor(Number(e)))===e},Zr=function(e){return"[object String]"===Object.prototype.toString.call(e)},Xr=function(e){return 0===ne.Children.count(e)},Qr=function(e){return $r(e)&&Gr(e.then)};function Jr(e,t,n,r){void 0===r&&(r=0);for(var o=Rr(t);e&&r<o.length;)e=e[o[r++]];return void 0===e?n:e}function eo(e,t,n){for(var r=Sr(e),o=r,i=0,a=Rr(t);i<a.length-1;i++){var u=a[i],s=Jr(e,a.slice(0,i+1));if(s&&($r(s)||Array.isArray(s)))o=o[u]=Sr(s);else{var c=a[i+1];o=o[u]=Yr(c)&&0<=Number(c)?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}var to=Object(ne.createContext)(void 0),no=to.Provider,ro=to.Consumer;function oo(){var e=Object(ne.useContext)(to);return e||Nr(!1),e}function io(e,t){switch(t.type){case"SET_VALUES":return Kr({},e,{values:t.payload});case"SET_TOUCHED":return Kr({},e,{touched:t.payload});case"SET_ERRORS":return re()(e.errors,t.payload)?e:Kr({},e,{errors:t.payload});case"SET_STATUS":return Kr({},e,{status:t.payload});case"SET_ISSUBMITTING":return Kr({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Kr({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Kr({},e,{values:eo(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Kr({},e,{touched:eo(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Kr({},e,{errors:eo(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Kr({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Kr({},e,{touched:function e(t,n,r,o){void 0===r&&(r=new WeakMap),void 0===o&&(o={});for(var i=0,a=Object.keys(t);i<a.length;i++){var u=a[i],s=t[u];$r(s)?r.get(s)||(r.set(s,!0),o[u]=Array.isArray(s)?[]:{},e(s,n,r,o[u])):o[u]=n}return o}(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Kr({},e,{isSubmitting:!1});default:return e}}var ao={},uo={};function so(e){var t=e.validateOnChange,r=void 0===t||t,n=e.validateOnBlur,o=void 0===n||n,i=e.validateOnMount,a=void 0!==i&&i,u=e.isInitialValid,s=e.enableReinitialize,c=void 0!==s&&s,l=e.onSubmit,f=qr(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),d=Kr({validateOnChange:r,validateOnBlur:o,validateOnMount:a,onSubmit:l},f),p=Object(ne.useRef)(d.initialValues),h=Object(ne.useRef)(d.initialErrors||ao),g=Object(ne.useRef)(d.initialTouched||uo),v=Object(ne.useRef)(d.initialStatus),y=Object(ne.useRef)(!1),m=Object(ne.useRef)({});Object(ne.useEffect)(function(){0},[]),Object(ne.useEffect)(function(){return y.current=!0,function(){y.current=!1}},[]);var b=Object(ne.useReducer)(io,{values:d.initialValues,errors:d.initialErrors||ao,touched:d.initialTouched||uo,status:d.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),w=b[0],S=b[1],x=Object(ne.useCallback)(function(r,o){return new Promise(function(t,n){var e=d.validate(r,o);null==e?t(ao):Qr(e)?e.then(function(e){t(e||ao)},function(e){n(e)}):t(e)})},[d.validate]),k=Object(ne.useCallback)(function(e,t){var n=d.validationSchema,r=Gr(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var o=function t(e){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=String(r);!0===Array.isArray(e[o])?n[o]=e[o].map(function(e){return!0===Array.isArray(e)||Te(e)?t(e):""!==e?e:void 0}):Te(e[o])?n[o]=t(e[o]):n[o]=""!==e[o]?e[o]:void 0}return n}(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r})}(e,r);return new Promise(function(t,n){o.then(function(){t(ao)},function(e){"ValidationError"===e.name?t(function(e){var t={};if(e.inner){if(0===e.inner.length)return eo(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;Jr(t,a.path)||(t=eo(t,a.path,a.message))}}return t}(e)):n(e)})})},[d.validationSchema]),E=Object(ne.useCallback)(function(t,n){return new Promise(function(e){return e(m.current[t].validate(n))})},[]),O=Object(ne.useCallback)(function(t){var r=Object.keys(m.current).filter(function(e){return Gr(m.current[e].validate)}),e=0<r.length?r.map(function(e){return E(e,Jr(t,e))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(e).then(function(e){return e.reduce(function(e,t,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===t||t&&(e=eo(e,r[n],t)),e},{})})},[E]),_=Object(ne.useCallback)(function(e){return Promise.all([O(e),d.validationSchema?k(e):{},d.validate?x(e):{}]).then(function(e){var t=e[0],n=e[1],r=e[2];return ce.all([t,n,r],{arrayMerge:lo})})},[d.validate,d.validationSchema,O,x,k]),A=po(function(e){return void 0===e&&(e=w.values),Object(Fr.unstable_runWithPriority)(Fr.LowPriority,function(){return _(e).then(function(e){return y.current&&S({type:"SET_ERRORS",payload:e}),e}).catch(function(e){0})})}),C=po(function(e){return void 0===e&&(e=w.values),S({type:"SET_ISVALIDATING",payload:!0}),_(e).then(function(e){return y.current&&(S({type:"SET_ISVALIDATING",payload:!1}),re()(w.errors,e)||S({type:"SET_ERRORS",payload:e})),e})});Object(ne.useEffect)(function(){a&&!0===y.current&&A(p.current)},[a,A]);var T=Object(ne.useCallback)(function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:h.current?h.current:d.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:d.initialTouched||{},o=e&&e.status?e.status:v.current?v.current:d.initialStatus;p.current=t,h.current=n,g.current=r,v.current=o;function i(){S({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})}if(d.onReset){var a=d.onReset(w.values,$);Qr(a)?a.then(i):i()}else i()},[d.initialErrors,d.initialStatus,d.initialTouched]);Object(ne.useEffect)(function(){c||(p.current=d.initialValues)},[c,d.initialValues]),Object(ne.useEffect)(function(){c&&!0===y.current&&!re()(p.current,d.initialValues)&&(p.current=d.initialValues,T())},[c,d.initialValues,T]),Object(ne.useEffect)(function(){c&&!0===y.current&&!re()(h.current,d.initialErrors)&&(h.current=d.initialErrors||ao,S({type:"SET_ERRORS",payload:d.initialErrors||ao}))},[c,d.initialErrors]),Object(ne.useEffect)(function(){c&&!0===y.current&&!re()(g.current,d.initialTouched)&&(g.current=d.initialTouched||uo,S({type:"SET_TOUCHED",payload:d.initialTouched||uo}))},[c,d.initialTouched]),Object(ne.useEffect)(function(){c&&!0===y.current&&!re()(v.current,d.initialStatus)&&(v.current=d.initialStatus,S({type:"SET_STATUS",payload:d.initialStatus}))},[c,d.initialStatus,d.initialTouched]);var I=po(function(t){if(Gr(m.current[t].validate)){var e=Jr(w.values,t),n=m.current[t].validate(e);return Qr(n)?(S({type:"SET_ISVALIDATING",payload:!0}),n.then(function(e){return e}).then(function(e){S({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),S({type:"SET_ISVALIDATING",payload:!1})})):(S({type:"SET_FIELD_ERROR",payload:{field:t,value:n}}),Promise.resolve(n))}return d.validationSchema?(S({type:"SET_ISVALIDATING",payload:!0}),k(w.values,t).then(function(e){return e}).then(function(e){S({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),S({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),j=Object(ne.useCallback)(function(e,t){var n=t.validate;m.current[e]={validate:n}},[]),P=Object(ne.useCallback)(function(e){delete m.current[e]},[]),L=po(function(e,t){return S({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?A(w.values):Promise.resolve()}),D=Object(ne.useCallback)(function(e){S({type:"SET_ERRORS",payload:e})},[]),M=po(function(e,t){return S({type:"SET_VALUES",payload:e}),(void 0===t?r:t)?A(e):Promise.resolve()}),R=Object(ne.useCallback)(function(e,t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),N=po(function(e,t,n){return S({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===n?r:n)?A(eo(w.values,e,t)):Promise.resolve()}),F=Object(ne.useCallback)(function(e,t){var n,r,o=t,i=e;if(!Zr(e)){e.persist&&e.persist();var a=e.target?e.target:e.currentTarget,u=a.type,s=a.name,c=a.id,l=a.value,f=a.checked,d=(a.outerHTML,a.options),p=a.multiple;o=t||(s||c),i=/number|range/.test(u)?(n=parseFloat(l),isNaN(n)?"":n):/checkbox/.test(u)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))i=(r=e).indexOf(n),o=0<=i;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!o)return r.concat(n);return o?r.slice(0,i).concat(r.slice(i+1)):r}(Jr(w.values,o),f,l):p?(r=d,Array.from(r).filter(function(e){return e.selected}).map(function(e){return e.value})):l}o&&N(o,i)},[N,w.values]),B=po(function(t){if(Zr(t))return function(e){return F(e,t)};F(t)}),z=po(function(e,t,n){return void 0===t&&(t=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?o:n)?A(w.values):Promise.resolve()}),U=Object(ne.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id;n.outerHTML;z(t||(r||o),!0)},[z]),K=po(function(t){if(Zr(t))return function(e){return U(e,t)};U(t)}),V=Object(ne.useCallback)(function(e){Gr(e)?S({type:"SET_FORMIK_STATE",payload:e}):S({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),q=Object(ne.useCallback)(function(e){S({type:"SET_STATUS",payload:e})},[]),H=Object(ne.useCallback)(function(e){S({type:"SET_ISSUBMITTING",payload:e})},[]),W=po(function(){return S({type:"SUBMIT_ATTEMPT"}),C().then(function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Y()))return}catch(e){throw e}return Promise.resolve(n).then(function(){y.current&&S({type:"SUBMIT_SUCCESS"})}).catch(function(e){if(y.current)throw S({type:"SUBMIT_FAILURE"}),e})}if(y.current&&(S({type:"SUBMIT_FAILURE"}),t))throw e})}),G=po(function(e){e&&e.preventDefault&&Gr(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Gr(e.stopPropagation)&&e.stopPropagation(),W().catch(function(e){})}),$={resetForm:T,validateForm:C,validateField:I,setErrors:D,setFieldError:R,setFieldTouched:z,setFieldValue:N,setStatus:q,setSubmitting:H,setTouched:L,setValues:M,setFormikState:V,submitForm:W},Y=po(function(){return l(w.values,$)}),Z=po(function(e){e&&e.preventDefault&&Gr(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Gr(e.stopPropagation)&&e.stopPropagation(),T()}),X=Object(ne.useCallback)(function(e){return{value:Jr(w.values,e),error:Jr(w.errors,e),touched:!!Jr(w.touched,e),initialValue:Jr(p.current,e),initialTouched:!!Jr(g.current,e),initialError:Jr(h.current,e)}},[w.errors,w.touched,w.values]),Q=Object(ne.useCallback)(function(t){return{setValue:function(e){return N(t,e)},setTouched:function(e){return z(t,e)},setError:function(e){return R(t,e)}}},[N,z,R]),J=Object(ne.useCallback)(function(e){var t=$r(e),n=t?e.name:e,r=Jr(w.values,n),o={name:n,value:r,onChange:B,onBlur:K};if(t){var i=e.type,a=e.value,u=e.as,s=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===u&&s&&(o.value=o.value||[],o.multiple=!0)}return o},[K,B,w.values]),ee=Object(ne.useMemo)(function(){return!re()(p.current,w.values)},[p.current,w.values]),te=Object(ne.useMemo)(function(){return void 0!==u?ee?w.errors&&0===Object.keys(w.errors).length:!1!==u&&Gr(u)?u(d):u:w.errors&&0===Object.keys(w.errors).length},[u,ee,w.errors,d]);return Kr({},w,{initialValues:p.current,initialErrors:h.current,initialTouched:g.current,initialStatus:v.current,handleBlur:K,handleChange:B,handleReset:Z,handleSubmit:G,resetForm:T,setErrors:D,setFormikState:V,setFieldTouched:z,setFieldValue:N,setFieldError:R,setStatus:q,setSubmitting:H,setTouched:L,setValues:M,submitForm:W,validateForm:C,validateField:I,isValid:te,dirty:ee,unregisterField:P,registerField:j,getFieldProps:J,getFieldMeta:X,getFieldHelpers:Q,validateOnBlur:o,validateOnChange:r,validateOnMount:a})}function co(e){var t=so(e),n=e.component,r=e.children,o=e.render,i=e.innerRef;return Object(ne.useImperativeHandle)(i,function(){return t}),Object(ne.useEffect)(function(){0},[]),Object(ne.createElement)(no,{value:t},n?Object(ne.createElement)(n,t):o?o(t):r?Gr(r)?r(t):Xr(r)?null:ne.Children.only(r):null)}function lo(r,e,o){var i=r.slice();return e.forEach(function(e,t){if(void 0===i[t]){var n=!1!==o.clone&&o.isMergeableObject(e);i[t]=n?ce(Array.isArray(e)?[]:{},e,o):e}else o.isMergeableObject(e)?i[t]=ce(r[t],e,o):-1===r.indexOf(e)&&i.push(e)}),i}var fo="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?ne.useLayoutEffect:ne.useEffect;function po(e){var r=Object(ne.useRef)(e);return fo(function(){r.current=e}),Object(ne.useCallback)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.current.apply(void 0,t)},[])}var ho=Object(ne.forwardRef)(function(e,t){var n=e.action,r=qr(e,["action"]),o=n||"#",i=oo(),a=i.handleReset,u=i.handleSubmit;return Object(ne.createElement)("form",Object.assign({onSubmit:u,ref:t,onReset:a,action:o},r))});function go(n){function e(t){return Object(ne.createElement)(ro,null,function(e){return e||Nr(!1),Object(ne.createElement)(n,Object.assign({},t,{formik:e}))})}var t=n.displayName||n.name||n.constructor&&n.constructor.name||"Component";return e.WrappedComponent=n,e.displayName="FormikConnect("+t+")",zr()(e,n)}ho.displayName="Form";function vo(e,t,n){var r=yo(e);return r.splice(t,0,n),r}var yo=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return e<t?t:e},0);return Array.from(Kr({},e,{length:t+1}))}return[]},mo=function(t){function e(e){var l;return(l=t.call(this,e)||this).updateArrayField=function(a,u,s){var e=l.props,c=e.name;(0,e.formik.setFormikState)(function(e){var t="function"==typeof s?s:a,n="function"==typeof u?u:a,r=eo(e.values,c,a(Jr(e.values,c))),o=s?t(Jr(e.errors,c)):void 0,i=u?n(Jr(e.touched,c)):void 0;return Wr(o)&&(o=void 0),Wr(i)&&(i=void 0),Kr({},e,{values:r,errors:s?eo(e.errors,c,o):e.errors,touched:u?eo(e.touched,c,i):e.touched})})},l.push=function(t){return l.updateArrayField(function(e){return[].concat(yo(e),[Ur(t)])},!1,!1)},l.handlePush=function(e){return function(){return l.push(e)}},l.swap=function(i,a){return l.updateArrayField(function(e){return t=i,n=a,r=yo(e),o=r[t],r[t]=r[n],r[n]=o,r;var t,n,r,o},!0,!0)},l.handleSwap=function(e,t){return function(){return l.swap(e,t)}},l.move=function(i,a){return l.updateArrayField(function(e){return t=i,n=a,r=yo(e),o=r[t],r.splice(t,1),r.splice(n,0,o),r;var t,n,r,o},!0,!0)},l.handleMove=function(e,t){return function(){return l.move(e,t)}},l.insert=function(t,n){return l.updateArrayField(function(e){return vo(e,t,n)},function(e){return vo(e,t,null)},function(e){return vo(e,t,null)})},l.handleInsert=function(e,t){return function(){return l.insert(e,t)}},l.replace=function(o,i){return l.updateArrayField(function(e){return t=o,n=i,(r=yo(e))[t]=n,r;var t,n,r},!1,!1)},l.handleReplace=function(e,t){return function(){return l.replace(e,t)}},l.unshift=function(n){var r=-1;return l.updateArrayField(function(e){var t=e?[n].concat(e):[n];return r<0&&(r=t.length),t},function(e){var t=e?[null].concat(e):[null];return r<0&&(r=t.length),t},function(e){var t=e?[null].concat(e):[null];return r<0&&(r=t.length),t}),r},l.handleUnshift=function(e){return function(){return l.unshift(e)}},l.handleRemove=function(e){return function(){return l.remove(e)}},l.handlePop=function(){return function(){return l.pop()}},l.remove=l.remove.bind(Hr(l)),l.pop=l.pop.bind(Hr(l)),l}Vr(e,t);var n=e.prototype;return n.componentDidUpdate=function(e){!re()(Jr(e.formik.values,e.name),Jr(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(n){var r;return this.updateArrayField(function(e){var t=e?yo(e):[];return r=r||t[n],Gr(t.splice)&&t.splice(n,1),t},!0,!0),r},n.pop=function(){var n;return this.updateArrayField(function(e){var t=e;return n=n||t&&t.pop&&t.pop(),t},!0,!0),n},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,o=t.children,i=t.name,a=Kr({},e,{form:qr(t.formik,["validate","validationSchema"]),name:i});return n?Object(ne.createElement)(n,a):r?r(a):o?"function"==typeof o?o(a):Xr(o)?null:ne.Children.only(o):null},e}(ne.Component);mo.defaultProps={validateOnChange:!0};ne.Component,ne.Component;var bo=n(3),wo=n(573);function So(e){var t=e.children,n=e.isDisabled,r=e.isPrimary,o=e.onClick,i=void 0===o?E.a:o,a=_()(e,["children","isDisabled","isPrimary","onClick"]);return h.a.createElement("button",y()({"aria-disabled":!!n||void 0,className:L()("btn",{"btn-primary":r,"is-disabled":n}),onClick:function(e){if(n)return e.preventDefault(),void e.stopPropagation();i(e)},type:"button"},a),t)}var xo=n(1),ko=n(6),Eo=n.n(ko),Oo=n(100),_o=n.n(Oo),Ao=n(277),Co=n.n(Ao);function To(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function Io(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function jo(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Io(n.overflowY,t)||Io(n.overflowX,t)||(i=(o=r=e).ownerDocument&&o.ownerDocument.defaultView?o.ownerDocument.defaultView.frameElement:null)&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)}var r,o,i}function Po(e,t,n,r,o,i,a,u){return i<e&&t<a||e<i&&a<t?0:i<=e&&u<=n||t<=a&&n<=u?i-e-r:t<a&&u<n||i<e&&n<u?a-t+o:0}function Lo(e,t){var n=t.scrollMode,r=t.block,o=t.inline,i=t.boundary,a=t.skipOverflowHiddenElements,u="function"==typeof i?i:function(e){return e!==i};if(!To(e))throw new TypeError("Invalid target");for(var s=document.scrollingElement||document.documentElement,c=[],l=e;To(l)&&u(l);){if((l=l.parentNode)===s){c.push(l);break}l===document.body&&jo(l)&&!jo(document.documentElement)||jo(l,a)&&c.push(l)}for(var f=window.visualViewport?visualViewport.width:innerWidth,d=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,y=g.width,m=g.top,b=g.right,w=g.bottom,S=g.left,x="start"===r||"nearest"===r?m:"end"===r?w:m+v/2,k="center"===o?S+y/2:"end"===o?b:S,E=[],O=0;O<c.length;O++){var _=c[O],A=_.getBoundingClientRect(),C=A.height,T=A.width,I=A.top,j=A.right,P=A.bottom,L=A.left;if("if-needed"===n&&0<=m&&0<=S&&w<=d&&b<=f&&I<=m&&w<=P&&L<=S&&b<=j)return E;var D=getComputedStyle(_),M=parseInt(D.borderLeftWidth,10),R=parseInt(D.borderTopWidth,10),N=parseInt(D.borderRightWidth,10),F=parseInt(D.borderBottomWidth,10),B=0,z=0,U="offsetWidth"in _?_.offsetWidth-_.clientWidth-M-N:0,K="offsetHeight"in _?_.offsetHeight-_.clientHeight-R-F:0;if(s===_)B="start"===r?x:"end"===r?x-d:"nearest"===r?Po(h,h+d,d,R,F,h+x,h+x+v,v):x-d/2,z="start"===o?k:"center"===o?k-f/2:"end"===o?k-f:Po(p,p+f,f,M,N,p+k,p+k+y,y),B=Math.max(0,B+h),z=Math.max(0,z+p);else{B="start"===r?x-I-R:"end"===r?x-P+F+K:"nearest"===r?Po(I,P,C,R,F+K,x,x+v,v):x-(I+C/2)+K/2,z="start"===o?k-L-M:"center"===o?k-(L+T/2)+U/2:"end"===o?k-j+N+U:Po(L,j,T,M,N+U,k,k+y,y);var V=_.scrollLeft,q=_.scrollTop;x+=q-(B=Math.max(0,Math.min(q+B,_.scrollHeight-C+K))),k+=V-(z=Math.max(0,Math.min(V+z,_.scrollWidth-T+U)))}E.push({el:_,top:B,left:z})}return E}function Do(e){return e===Object(e)&&0!==Object.keys(e).length}function Mo(e){var t=e.activeItemIndex,n=void 0===t?0:t,r=e.autoScroll,o=void 0!==r&&r,i=e.itemRowAs,a=void 0===i?Fo:i,u=e.items,s=e.onActivate,c=void 0===s?E.a:s,l=e.onSelect,f=_()(e,["activeItemIndex","autoScroll","itemRowAs","items","onActivate","onSelect"]),d=h.a.useCallback(function(e){o&&e&&No(e,{scrollMode:"if-needed",block:"nearest"})},[o]);return h.a.createElement("ul",y()({className:"ba-ItemList","data-testid":"ba-ItemList",role:"listbox"},f),u.map(function(e,t){return h.a.createElement(a,{key:e.id,ref:t===n?d:null,className:"ba-ItemList-row",isActive:t===n,item:e,onClick:function(e){l(t,e)},onMouseDown:function(e){e.preventDefault()},onMouseEnter:function(){c(t)}})}))}function Ro(e){var t=e.items,n=e.reference,r=_()(e,["items","reference"]);return h.a.createElement(H.a,{className:"ba-PopupList",options:Bo,reference:n},Co()(t)?h.a.createElement("div",{className:"ba-PopupList-prompt"},h.a.createElement(wo.a,q.a.popupListPrompt)):h.a.createElement(Mo,y()({items:t},r)))}var No=function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(Do(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:Lo(e,t));if(!n){var r,o=!1===(r=t)?{block:"end",inline:"nearest"}:Do(r)?r:{block:"start",inline:"nearest"};return function(e,o){void 0===o&&(o="auto");var i="scrollBehavior"in document.body.style;e.forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scroll&&i?t.scroll({top:n,left:r,behavior:o}):(t.scrollTop=n,t.scrollLeft=r)})}(Lo(e,o),o.behavior)}},Fo=(n(519),ne.forwardRef(function(e,t){var n=e.className,r=e.isActive,o=e.item,i=e.onClick,a=e.onMouseDown,u=e.onMouseEnter;if(!o||!o.item||!o.item.name)return null;var s=o.item;return ne.createElement("li",{ref:t,"aria-selected":r,className:L()(n,"ba-ItemRow",{"is-active":r}),"data-resin-target":"atMention","data-testid":"ba-ItemRow",onClick:i,onMouseDown:a,onMouseEnter:u,role:"option"},ne.createElement("div",{className:"ba-ItemRow-name","data-testid":"ba-ItemRow-name"},s.name),"user"===s.type&&s.email&&ne.createElement("div",{className:"ba-ItemRow-email","data-testid":"ba-ItemRow-email"},s.email))})),Bo=(n(520),n(521),{modifiers:[{name:"offset",options:{offset:[0,3]}},{name:"eventListeners",options:{scroll:!1}}],placement:"bottom-start"});n(522);function zo(r){return function(){var e,t=p()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=p()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f()(this,e)}}var Uo=function(e){c()(o,e);var r=zo(o);function o(){var x;i()(this,o);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x=r.call.apply(r,[this].concat(t)),S()(Eo()(x),"state",{activeItemIndex:0,popupAutoScroll:!1,popupReference:null}),S()(Eo()(x),"fetchCollaborators",_o()(function(e){var t=x.props.fetchCollaborators,n=J(e),r=null==n?void 0:n.mentionString.trim();r&&t(r)},500)),S()(Eo()(x),"handleResize",_o()(function(){return x.updatePopupReference()},100)),S()(Eo()(x),"getVirtualElement",function(e){var t=window.getSelection();if(null==t||!t.focusNode)return null;var n=t.getRangeAt(0),r=n.endContainer,o=n.endOffset,i=e.mentionString,a=e.mentionTrigger,u=i.length+a.length,s=Math.max(0,o-u);n.setStart(r,s),n.setEnd(r,s);var c=n.getBoundingClientRect();return n.setStart(r,o),n.setEnd(r,o),{getBoundingClientRect:function(){return c}}}),S()(Eo()(x),"updatePopupReference",function(){var e=J(x.props.editorState);x.setState({popupReference:e?x.getVirtualElement(e):null})}),S()(Eo()(x),"saveCursorPosition",function(){var e=x.props,t=e.editorState;(0,e.setCursorPosition)(t.getSelection().getFocusOffset())}),S()(Eo()(x),"stopDefaultEvent",function(e){e.preventDefault(),e.stopPropagation()}),S()(Eo()(x),"setPopupListActiveItem",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return x.setState({activeItemIndex:e,popupAutoScroll:t})}),S()(Eo()(x),"handleChange",function(e){var t=x.props.onChange;x.fetchCollaborators(e),t(e)}),S()(Eo()(x),"handleSelect",function(e){var t,n,r,o,i,a,u,s,c,l,f,d,p,h,g,v,y=x.props,m=y.collaborators,b=y.editorState,w=J(b),S=(t=b,n=w,r=m[e],i=(o=n||{}).start,a=o.end,u=r.id,s=r.name,c=t.getCurrentContent(),l=t.getSelection().merge({anchorOffset:i,focusOffset:a}),f="@".concat(s),d=c.createEntity("MENTION","IMMUTABLE",{id:u}).getLastCreatedEntityKey(),p=W.Modifier.replaceText(c,l,f,null,d),h=l.getStartOffset()+f.length,g=l.merge({anchorOffset:h,focusOffset:h}),v=W.Modifier.insertText(p,g," "),W.EditorState.push(t,v,"change-block-type"));x.handleChange(S),x.setPopupListActiveItem(0)}),S()(Eo()(x),"handleReturn",function(e){var t=x.state,n=t.activeItemIndex;return t.popupReference?(x.stopDefaultEvent(e),x.handleSelect(n),"handled"):"not-handled"}),S()(Eo()(x),"handleArrow",function(e){var t=x.props.collaborators,n=x.state.popupReference,r=t.length;return n&&r?(x.stopDefaultEvent(e),r):0}),S()(Eo()(x),"handleUpArrow",function(e){var t=x.state.activeItemIndex,n=x.handleArrow(e);n&&x.setPopupListActiveItem(0===t?n-1:t-1,!0)}),S()(Eo()(x),"handleDownArrow",function(e){var t=x.state.activeItemIndex,n=x.handleArrow(e);n&&x.setPopupListActiveItem(t===n-1?0:t+1,!0)}),S()(Eo()(x),"handleMouseDown",function(e){return e.preventDefault()}),x}return u()(o,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){e.editorState!==this.props.editorState&&this.updatePopupReference()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),this.saveCursorPosition()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.collaborators,r=e.intl,o=e.editorState,i=e.isDisabled,a=e.placeholder,u=_()(e,["className","collaborators","intl","editorState","isDisabled","placeholder"]),s=this.state,c=s.activeItemIndex,l=s.popupAutoScroll,f=s.popupReference;return ne.createElement("div",{className:L()(t,"ba-ReplyField")},ne.createElement(W.Editor,y()({},u,{ariaLabel:r.formatMessage(q.a.ariaLabelReplyField),ariaMultiline:!0,editorState:o,handleReturn:this.handleReturn,onChange:this.handleChange,onDownArrow:this.handleDownArrow,onUpArrow:this.handleUpArrow,placeholder:a,readOnly:i,stripPastedStyles:!0,tabIndex:0,webDriverTestID:"ba-ReplyField-editor"})),f&&ne.createElement(Ro,{activeItemIndex:c,autoScroll:l,items:n,onActivate:this.setPopupListActiveItem,onMouseDown:this.handleMouseDown,onSelect:this.handleSelect,reference:f}))}}]),o}(ne.Component);S()(Uo,"defaultProps",{isDisabled:!1});function Ko(e){function t(){i(ee(d).text)}function n(e){e.key===bo.G.escape&&(e.preventDefault(),e.stopPropagation(),t())}var r=e.errors,o=e.isPending,i=e.onCancel,a=e.onChange,u=e.setFieldValue,s=e.values,c=h.a.useRef(null),l=Object(T.a)(),f=0<Object.keys(r).length,d=s.editorState;return h.a.useEffect(function(){var e=c.current;return e&&e.addEventListener("keydown",n),function(){e&&e.removeEventListener("keydown",n)}},[c]),h.a.createElement(ho,{ref:c,className:"ba-ReplyForm","data-testid":"ba-ReplyForm"},h.a.createElement("div",{className:"ba-Popup-main"},h.a.createElement(Wo,{className:"ba-Popup-field","data-testid":"ba-Popup-field",editorState:d,intl:l,isDisabled:o,onChange:function(e){a(ee(e).text),u("editorState",e)},placeholder:l.formatMessage(q.a.fieldPlaceholder)})),h.a.createElement("div",{className:"ba-Popup-footer"},h.a.createElement(So,{"data-resin-target":"cancel","data-testid":"ba-Popup-cancel",isDisabled:o,onClick:t,type:"button"},h.a.createElement(wo.a,q.a.buttonCancel)),h.a.createElement(So,{"data-resin-target":"post","data-testid":"ba-Popup-submit",isDisabled:f||o,isPrimary:!0,type:"submit"},h.a.createElement(wo.a,q.a.buttonPost))))}function Vo(e){var t=e.contentState,n=e.entityKey,r=e.children,o=t.getEntity(n).getData().id;return o?ne.createElement("a",{className:"ba-MentionItem-link","data-testid":"ba-MentionItem-link",href:"/profile/".concat(o)},r):ne.createElement("span",{className:"ba-MentionItem-link","data-testid":"ba-MentionItem-text"},r)}function qo(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()},t)}var Ho={fetchCollaborators:xo.fetchCollaboratorsAction,setCursorPosition:xo.setCursorAction},Wo=Object(m.b)(function(e){return{collaborators:Object(xo.getCollaborators)(e),cursorPosition:Object(xo.getCreatorCursor)(e)}},Ho)(Uo);n(523),n(524);var Go,$o,Yo,Zo,Xo=Object(m.b)(function(e){return{cursorPosition:Object(xo.getCreatorCursor)(e)}})(($o=(Go={handleSubmit:function(e,t){var n=e.editorState;return(0,t.props.onSubmit)(ee(n).text)},mapPropsToErrors:function(){return{editorState:"initial"}},mapPropsToValues:function(e){var t,n,r=e.cursorPosition,o=e.value,i=void 0===o?"":o,a=(t=Z(i),n=new W.CompositeDecorator([{strategy:qo,component:Vo}]),W.EditorState.set(t,{decorator:n})),u=i?r:0;return{editorState:W.EditorState.forceSelection(a,a.getSelection().merge({anchorOffset:u,focusOffset:u,hasFocus:!0}))}},validate:function(e){var t=e.editorState,n={};if(t){var r=ee(t).text;r&&0!==r.trim().length?1e4<r.length&&(n.editorState="maxlength"):n.editorState="required"}return n},validateOnMount:!0}).mapPropsToValues,Yo=void 0===$o?function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&"function"!=typeof e[n]&&(t[n]=e[n]);return t}:$o,Zo=qr(Go,["mapPropsToValues"]),function(r){var e=r.displayName||r.name||r.constructor&&r.constructor.name||"Component",t=function(e){function t(){var n;return(n=e.apply(this,arguments)||this).validate=function(e){return Zo.validate(e,n.props)},n.validationSchema=function(){return Gr(Zo.validationSchema)?Zo.validationSchema(n.props):Zo.validationSchema},n.handleSubmit=function(e,t){return Zo.handleSubmit(e,Kr({},t,{props:n.props}))},n.renderFormComponent=function(e){return Object(ne.createElement)(r,Object.assign({},n.props,e))},n}return Vr(t,e),t.prototype.render=function(){var e=qr(this.props,["children"]);return Object(ne.createElement)(co,Object.assign({},e,Zo,{validate:Zo.validate&&this.validate,validationSchema:Zo.validationSchema&&this.validationSchema,initialValues:Yo(this.props),initialStatus:Zo.mapPropsToStatus&&Zo.mapPropsToStatus(this.props),initialErrors:Zo.mapPropsToErrors&&Zo.mapPropsToErrors(this.props),initialTouched:Zo.mapPropsToTouched&&Zo.mapPropsToTouched(this.props),onSubmit:this.handleSubmit,children:this.renderFormComponent}))},t}(ne.Component);return t.displayName="WithFormik("+e+")",zr()(t,r)}(Ko)));function Qo(e){var t=h.a.useRef();return h.a.useEffect(function(){t.current=e},[e]),t.current}function Jo(){return 0<navigator.userAgent.indexOf("Trident/")}var ei=n(23),ti=(n(525),[{name:"arrow",options:{element:".ba-Popup-arrow",padding:10}},{name:"flip",options:{altAxis:!1,fallbackPlacements:["bottom","top","left","right"]}},{name:"offset",options:{offset:[0,15]}},{name:"preventOverflow",options:{padding:5}}]);function ni(e){var t,n,r=e.isPending,o=e.onCancel,i=e.onChange,a=e.onSubmit,u=e.value,s=void 0===u?"":u,c=_()(e,["isPending","onCancel","onChange","onSubmit","value"]),l=Object(T.a)(),f=ne.useRef(null),d=ne.useRef((t=ti,n=Jo()?"top":"bottom",{modifiers:Jo()?[].concat(C()(t),[{name:"eventListeners",options:{scroll:!1}}]):t,placement:n})),p=m.d(ei.getRotation),h=Qo(p),g=m.d(ei.getScale),v=Qo(g);return ne.useEffect(function(){var e=f.current;null==e||!e.popper||p===h&&g===v||e.popper.update()},[f,h,v,p,g]),ne.createElement(V,null,ne.createElement(H.a,y()({ref:f,"aria-label":l.formatMessage(q.a.ariaLabelComment),"data-resin-component":"popupReply",options:d.current,role:"dialog"},c),ne.createElement(Xo,{isPending:r,onCancel:o,onChange:i,onSubmit:a,value:s})))}var ri;n(526);function oi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ii(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oi(Object(n),!0).forEach(function(e){S()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ai(e){var t=e.createDrawing,n=void 0===t?E.a:t,r=e.createHighlight,o=void 0===r?E.a:r,i=e.createRegion,a=void 0===i?E.a:i,u=e.isPromoting,s=void 0!==u&&u,c=e.message,l=e.mode,f=e.referenceId,d=e.resetCreator,p=e.setMessage,h=e.staged,g=e.status,v=ne.useState(null),y=k()(v,2),m=y[0],b=y[1],w=(ui[l]||E.a)(h)||s,S=g!==xo.CreatorStatus.started&&g!==xo.CreatorStatus.init,x=g===xo.CreatorStatus.pending;return ne.useEffect(function(){b(f?document.querySelector('[data-ba-reference-id="'.concat(f,'"]')):null)},[f]),ne.createElement(ne.Fragment,null,w&&S&&m&&h&&ne.createElement("div",{className:"ba-PopupLayer-popup"},ne.createElement(ni,{isPending:x,onCancel:function(){d()},onChange:function(e){p(0<arguments.length&&void 0!==e?e:"")},onSubmit:function(){h&&(Object(xo.isCreatorStagedHighlight)(h)?o(ii({},h,{message:c})):Object(xo.isCreatorStagedRegion)(h)?a(ii({},h,{message:c})):Object(xo.isCreatorStagedDrawing)(h)&&n(ii({},h,{message:c})))},reference:m,value:c})))}var ui=(ri={},S()(ri,xo.Mode.DRAWING,xo.isCreatorStagedDrawing),S()(ri,xo.Mode.HIGHLIGHT,xo.isCreatorStagedHighlight),S()(ri,xo.Mode.REGION,xo.isCreatorStagedRegion),ri),si=n(60),ci=n(125),li=n(18),fi=n(49),di={createDrawing:ci.a,createHighlight:function(u){return function(e,t){var n=u.location,r=u.message,o=u.shapes,i=t(),a={description:{message:r,type:"reply"},file_version:{id:Object(ei.getFileVersionId)(i)},target:{location:{type:"page",value:n},shapes:o,type:"highlight"}};return e(Object(li.createAnnotationAction)(a))}},createRegion:fi.d,resetCreator:xo.resetCreatorAction,setMessage:xo.setMessageAction},pi=Object(m.b)(function(e,t){var n=t.location;return{isPromoting:Object(xo.getIsPromoting)(e),message:Object(xo.getCreatorMessage)(e),mode:Object(xo.getAnnotationMode)(e),referenceId:Object(xo.getCreatorReferenceId)(e),staged:Object(xo.getCreatorStagedForLocation)(e,n),status:Object(xo.getCreatorStatus)(e)}},di)(Object(si.a)(ai));function hi(r){return function(){var e,t=p()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=p()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f()(this,e)}}var gi=function(e){c()(n,e);var t=hi(n);function n(){return i()(this,n),t.apply(this,arguments)}return u()(n,[{key:"decorate",value:function(){this.reactEl.classList.add("ba-Layer--popup"),this.reactEl.dataset.testid="ba-Layer--popup"}},{key:"render",value:function(e){g.render(ne.createElement(pi,y()({location:this.location},e)),this.reactEl)}}]),n}(v.a)},function(e,t,n){"use strict";var jt,r,o=n(35),b=n.n(o);function w(e){return e.type===jt.literal}function S(e){return e.type===jt.select}function x(e){return e.type===jt.plural}(r=jt=jt||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound";var i,a,u=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Pt=function(){return(Pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Lt=(a=Error,u(s,a),s.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function i(e){switch(e.type){case"literal":return'"'+r(e.text)+'"';case"class":var t=e.parts.map(function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)});return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,n,r=e.map(i);if(r.sort(),0<r.length){for(n=t=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+((a=t)?'"'+r(a)+'"':"end of input")+" found.";var a},s);function s(e,t,n,r){var o=a.call(this)||this;return o.message=e,o.expected=t,o.found=n,o.location=r,o.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,s),o}var f=function(f,e){e=void 0!==e?e:{};var t,d={},n={start:ut},r=ut,o=function(e){return e.join("")},i=function(e){return Pt({type:jt.literal,value:e},It())},a="#",u=et("#",!1),s=function(){return Pt({type:jt.pound},It())},c=nt("argumentElement"),p="{",h=et("{",!1),g="}",v=et("}",!1),l=function(e){return Pt({type:jt.argument,value:e},It())},y=nt("numberSkeletonId"),m=/^['\/{}]/,b=tt(["'","/","{","}"],!1,!1),w={type:"any"},S=nt("numberSkeletonTokenOption"),x="/",k=et("/",!1),E=function(e){return e},O=nt("numberSkeletonToken"),_=function(e,t){return{stem:e,options:t}},A=function(e){return Pt({type:0,tokens:e},It())},C="::",T=et("::",!1),I=function(e){return e},j=function(){return Ct.push("numberArgStyle"),!0},P=function(e){return Ct.pop(),e.replace(/\s*$/,"")},L=",",D=et(",",!1),M="number",R=et("number",!1),N=function(e,t,n){return Pt({type:"number"===t?jt.number:"date"===t?jt.date:jt.time,style:n&&n[2],value:e},It())},F="'",B=et("'",!1),z=/^[^']/,U=tt(["'"],!0,!1),K=/^[^a-zA-Z'{}]/,V=tt([["a","z"],["A","Z"],"'","{","}"],!0,!1),q=/^[a-zA-Z]/,H=tt([["a","z"],["A","Z"]],!1,!1),W=function(e){return Pt({type:1,pattern:e},It())},G=function(){return Ct.push("dateOrTimeArgStyle"),!0},$="date",Y=et("date",!1),Z="time",X=et("time",!1),Q="plural",J=et("plural",!1),ee="selectordinal",te=et("selectordinal",!1),ne="offset:",re=et("offset:",!1),oe=function(e,t,n,r){return Pt({type:jt.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:r.reduce(function(e,t){var n=t.id,r=t.value,o=t.location;return n in e&&Je('Duplicate option "'+n+'" in plural element: "'+Xe()+'"',Qe()),e[n]={value:r,location:o},e},{})},It())},ie="select",ae=et("select",!1),ue=function(e,t){return Pt({type:jt.select,value:e,options:t.reduce(function(e,t){var n=t.id,r=t.value,o=t.location;return n in e&&Je('Duplicate option "'+n+'" in select element: "'+Xe()+'"',Qe()),e[n]={value:r,location:o},e},{})},It())},se="=",ce=et("=",!1),le=function(){return Ct.push("select"),!0},fe=function(e,t){return Ct.pop(),Pt({id:e,value:t},It())},de=function(){return Ct.push("plural"),!0},pe=function(e,t){return Ct.pop(),Pt({id:e,value:t},It())},he=nt("whitespace"),ge=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ve=tt([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),ye=nt("syntax pattern"),me=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,be=tt([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),we=nt("optional whitespace"),Se=nt("number"),xe="-",ke=et("-",!1),Ee=function(e,t){return t?e?-t:t:0},Oe=(nt("apostrophe"),nt("double apostrophes")),_e="''",Ae=et("''",!1),Ce=function(){return"'"},Te=function(e,t){return e+t.replace("''","'")},Ie=function(e){return!("{"===e||Tt()&&"#"===e||1<Ct.length&&"}"===e)},je="\n",Pe=et("\n",!1),Le=function(e){return"{"===e||"}"===e||Tt()&&"#"===e},De=nt("argNameOrNumber"),Me=nt("argNumber"),Re="0",Ne=et("0",!1),Fe=function(){return 0},Be=/^[1-9]/,ze=tt([["1","9"]],!1,!1),Ue=/^[0-9]/,Ke=tt([["0","9"]],!1,!1),Ve=function(e){return parseInt(e.join(""),10)},qe=nt("argName"),He=0,We=0,Ge=[{line:1,column:1}],$e=0,Ye=[],Ze=0;if(void 0!==e.startRule){if(!(e.startRule in n))throw new Error("Can't start parsing from rule \""+e.startRule+'".');r=n[e.startRule]}function Xe(){return f.substring(We,He)}function Qe(){return ot(We,He)}function Je(e,t){throw t=void 0!==t?t:ot(We,He),new Lt(e,[],"",t)}function et(e,t){return{type:"literal",text:e,ignoreCase:t}}function tt(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function nt(e){return{type:"other",description:e}}function rt(e){var t,n=Ge[e];if(n)return n;for(t=e-1;!Ge[t];)t--;for(n={line:(n=Ge[t]).line,column:n.column};t<e;)10===f.charCodeAt(t)?(n.line++,n.column=1):n.column++,t++;return Ge[e]=n}function ot(e,t){var n=rt(e),r=rt(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function it(e){He<$e||($e<He&&($e=He,Ye=[]),Ye.push(e))}function at(e,t,n){return new Lt(Lt.buildMessage(e,t),e,t,n)}function ut(){return st()}function st(){var e,t;for(e=[],t=ct();t!==d;)e.push(t),t=ct();return e}function ct(){var e;return(e=function(){var e,t;e=He,(t=lt())!==d&&(We=e,t=i(t));return e=t}())===d&&(e=function(){var e,t,n,r,o;Ze++,e=He,123===f.charCodeAt(He)?(t=p,He++):(t=d,0===Ze&&it(h));e=t!==d?(n=wt(),n!==d?(r=Ot())!==d?wt()!==d?(125===f.charCodeAt(He)?(o=g,He++):(o=d,0===Ze&&it(v)),o!==d?(We=e,t=l(r)):(He=e,d)):(He=e,d):(He=e,d):(He=e,d)):(He=e,d);Ze--,e===d&&(t=d,0===Ze&&it(c));return e}())===d&&(e=function(){var e;(e=function(){var e,t,n,r,o,i,a,u,s,c;e=He,123===f.charCodeAt(He)?(t=p,He++):(t=d,0===Ze&&it(h));e=t!==d?(n=wt(),n!==d?(r=Ot())!==d?wt()!==d?(44===f.charCodeAt(He)?(o=L,He++):(o=d,0===Ze&&it(D)),o!==d?wt()!==d?(f.substr(He,6)===M?(i=M,He+=6):(i=d,0===Ze&&it(R)),i!==d?wt()!==d?(a=He,44===f.charCodeAt(He)?(u=L,He++):(u=d,0===Ze&&it(D)),(a=u!==d?(s=wt())!==d?(c=function(){var e,t,n;e=He,f.substr(He,2)===C?(t=C,He+=2):(t=d,0===Ze&&it(T));e=t!==d?(n=function(){var e,t,n;if(e=He,t=[],(n=pt())!==d)for(;n!==d;)t.push(n),n=pt();else t=d;t!==d&&(We=e,t=A(t));return e=t}(),n!==d?(We=e,t=I(n)):(He=e,d)):(He=e,d);e===d&&(We=e=He,t=j(),e=(t=t?void 0:d)!==d?(n=lt())!==d?(We=e,t=P(n)):(He=e,d):(He=e,d));return e}())!==d?u=[u,s,c]:(He=a,d):(He=a,d):(He=a,d))===d&&(a=null),a!==d?(u=wt())!==d?(125===f.charCodeAt(He)?(s=g,He++):(s=d,0===Ze&&it(v)),s!==d?(We=e,t=N(r,i,a)):(He=e,d)):(He=e,d):(He=e,d)):(He=e,d):(He=e,d)):(He=e,d):(He=e,d)):(He=e,d):(He=e,d):(He=e,d)):(He=e,d);return e}())===d&&(e=function(){var e,t,n,r,o,i,a,u,s,c;e=He,123===f.charCodeAt(He)?(t=p,He++):(t=d,0===Ze&&it(h));e=t!==d?(n=wt(),n!==d?(r=Ot())!==d?wt()!==d?(44===f.charCodeAt(He)?(o=L,He++):(o=d,0===Ze&&it(D)),o!==d?wt()!==d?(f.substr(He,4)===$?(i=$,He+=4):(i=d,0===Ze&&it(Y)),i===d&&(f.substr(He,4)===Z?(i=Z,He+=4):(i=d,0===Ze&&it(X))),i!==d?wt()!==d?(a=He,44===f.charCodeAt(He)?(u=L,He++):(u=d,0===Ze&&it(D)),(a=u!==d?(s=wt())!==d?(c=function(){var e,t,n;e=He,f.substr(He,2)===C?(t=C,He+=2):(t=d,0===Ze&&it(T));e=t!==d?(n=function(){var e,t,n,r;t=e=He,n=[],(r=ht())===d&&(r=gt());if(r!==d)for(;r!==d;)n.push(r),(r=ht())===d&&(r=gt());else n=d;t=n!==d?f.substring(t,He):n;t!==d&&(We=e,t=W(t));return e=t}(),n!==d?(We=e,t=I(n)):(He=e,d)):(He=e,d);e===d&&(We=e=He,t=G(),e=(t=t?void 0:d)!==d?(n=lt())!==d?(We=e,t=P(n)):(He=e,d):(He=e,d));return e}())!==d?u=[u,s,c]:(He=a,d):(He=a,d):(He=a,d))===d&&(a=null),a!==d?(u=wt())!==d?(125===f.charCodeAt(He)?(s=g,He++):(s=d,0===Ze&&it(v)),s!==d?(We=e,t=N(r,i,a)):(He=e,d)):(He=e,d):(He=e,d)):(He=e,d):(He=e,d)):(He=e,d):(He=e,d)):(He=e,d):(He=e,d):(He=e,d)):(He=e,d);return e}());return e}())===d&&(e=function(){var e,t,n,r,o,i,a,u,s,c,l;e=He,123===f.charCodeAt(He)?(t=p,He++):(t=d,0===Ze&&it(h));if(t!==d)if(wt()!==d)if((n=Ot())!==d)if(wt()!==d)if(44===f.charCodeAt(He)?(r=L,He++):(r=d,0===Ze&&it(D)),r!==d)if(wt()!==d)if(f.substr(He,6)===Q?(o=Q,He+=6):(o=d,0===Ze&&it(J)),o===d&&(f.substr(He,13)===ee?(o=ee,He+=13):(o=d,0===Ze&&it(te))),o!==d)if(wt()!==d)if(44===f.charCodeAt(He)?(i=L,He++):(i=d,0===Ze&&it(D)),i!==d)if(wt()!==d)if(a=He,f.substr(He,7)===ne?(u=ne,He+=7):(u=d,0===Ze&&it(re)),(a=u!==d?(s=wt())!==d?(c=St())!==d?u=[u,s,c]:(He=a,d):(He=a,d):(He=a,d))===d&&(a=null),a!==d)if((u=wt())!==d){if(s=[],(c=yt())!==d)for(;c!==d;)s.push(c),c=yt();else s=d;e=s!==d?(c=wt())!==d?(125===f.charCodeAt(He)?(l=g,He++):(l=d,0===Ze&&it(v)),l!==d?(We=e,t=oe(n,o,a,s)):(He=e,d)):(He=e,d):(He=e,d)}else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;return e}())===d&&(e=function(){var e,t,n,r,o,i,a,u,s;e=He,123===f.charCodeAt(He)?(t=p,He++):(t=d,0===Ze&&it(h));if(t!==d)if(wt()!==d)if((n=Ot())!==d)if(wt()!==d)if(44===f.charCodeAt(He)?(r=L,He++):(r=d,0===Ze&&it(D)),r!==d)if(wt()!==d)if(f.substr(He,6)===ie?(o=ie,He+=6):(o=d,0===Ze&&it(ae)),o!==d)if(wt()!==d)if(44===f.charCodeAt(He)?(i=L,He++):(i=d,0===Ze&&it(D)),i!==d)if(wt()!==d){if(a=[],(u=vt())!==d)for(;u!==d;)a.push(u),u=vt();else a=d;e=a!==d?(u=wt())!==d?(125===f.charCodeAt(He)?(s=g,He++):(s=d,0===Ze&&it(v)),s!==d?(We=e,t=ue(n,a)):(He=e,d)):(He=e,d):(He=e,d)}else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;else He=e,e=d;return e}())===d&&(e=function(){var e,t;e=He,35===f.charCodeAt(He)?(t=a,He++):(t=d,0===Ze&&it(u));t!==d&&(We=e,t=s());return e=t}()),e}function lt(){var e,t,n;if(e=He,t=[],(n=xt())===d&&(n=kt())===d&&(n=Et()),n!==d)for(;n!==d;)t.push(n),(n=xt())===d&&(n=kt())===d&&(n=Et());else t=d;return t!==d&&(We=e,t=o(t)),e=t}function ft(){var e,t,n,r,o;if(Ze++,t=[],r=n=e=He,Ze++,(o=mt())===d&&(m.test(f.charAt(He))?(o=f.charAt(He),He++):(o=d,0===Ze&&it(b))),Ze--,(n=(r=o===d?void 0:(He=r,d))!==d?(f.length>He?(o=f.charAt(He),He++):(o=d,0===Ze&&it(w)),o!==d?r=[r,o]:(He=n,d)):(He=n,d))!==d)for(;n!==d;)t.push(n),r=n=He,Ze++,(o=mt())===d&&(m.test(f.charAt(He))?(o=f.charAt(He),He++):(o=d,0===Ze&&it(b))),Ze--,n=(r=o===d?void 0:(He=r,d))!==d?(f.length>He?(o=f.charAt(He),He++):(o=d,0===Ze&&it(w)),o!==d?r=[r,o]:(He=n,d)):(He=n,d);else t=d;return e=t!==d?f.substring(e,He):t,Ze--,e===d&&(t=d,0===Ze&&it(y)),e}function dt(){var e,t,n;return Ze++,e=He,47===f.charCodeAt(He)?(t=x,He++):(t=d,0===Ze&&it(k)),e=t!==d&&(n=ft())!==d?(We=e,t=E(n)):(He=e,d),Ze--,e===d&&(t=d,0===Ze&&it(S)),e}function pt(){var e,t,n,r;if(Ze++,e=He,wt()!==d)if((t=ft())!==d){for(n=[],r=dt();r!==d;)n.push(r),r=dt();e=n!==d?(We=e,_(t,n)):(He=e,d)}else He=e,e=d;else He=e,e=d;return Ze--,e===d&&(0===Ze&&it(O)),e}function ht(){var e,t,n,r;if(e=He,39===f.charCodeAt(He)?(t=F,He++):(t=d,0===Ze&&it(B)),t!==d){if(n=[],(r=xt())===d&&(z.test(f.charAt(He))?(r=f.charAt(He),He++):(r=d,0===Ze&&it(U))),r!==d)for(;r!==d;)n.push(r),(r=xt())===d&&(z.test(f.charAt(He))?(r=f.charAt(He),He++):(r=d,0===Ze&&it(U)));else n=d;e=n!==d?(39===f.charCodeAt(He)?(r=F,He++):(r=d,0===Ze&&it(B)),r!==d?t=[t,n,r]:(He=e,d)):(He=e,d)}else He=e,e=d;if(e===d)if(e=[],(t=xt())===d&&(K.test(f.charAt(He))?(t=f.charAt(He),He++):(t=d,0===Ze&&it(V))),t!==d)for(;t!==d;)e.push(t),(t=xt())===d&&(K.test(f.charAt(He))?(t=f.charAt(He),He++):(t=d,0===Ze&&it(V)));else e=d;return e}function gt(){var e,t;if(e=[],q.test(f.charAt(He))?(t=f.charAt(He),He++):(t=d,0===Ze&&it(H)),t!==d)for(;t!==d;)e.push(t),q.test(f.charAt(He))?(t=f.charAt(He),He++):(t=d,0===Ze&&it(H));else e=d;return e}function vt(){var e,t,n,r,o;return e=He,e=wt()!==d&&(t=At())!==d&&wt()!==d?(123===f.charCodeAt(He)?(n=p,He++):(n=d,0===Ze&&it(h)),n!==d?(We=He,(le(t)?void 0:d)!==d&&(r=st())!==d?(125===f.charCodeAt(He)?(o=g,He++):(o=d,0===Ze&&it(v)),o!==d?(We=e,fe(t,r)):(He=e,d)):(He=e,d)):(He=e,d)):(He=e,d)}function yt(){var e,t,n,r,o,i,a,u,s;return e=He,e=wt()!==d?(a=i=He,61===f.charCodeAt(He)?(u=se,He++):(u=d,0===Ze&&it(ce)),(i=(a=u!==d&&(s=St())!==d?u=[u,s]:(He=a,d))!==d?f.substring(i,He):a)===d&&(i=At()),(t=i)!==d&&wt()!==d?(123===f.charCodeAt(He)?(n=p,He++):(n=d,0===Ze&&it(h)),n!==d?(We=He,(de(t)?void 0:d)!==d&&(r=st())!==d?(125===f.charCodeAt(He)?(o=g,He++):(o=d,0===Ze&&it(v)),o!==d?(We=e,pe(t,r)):(He=e,d)):(He=e,d)):(He=e,d)):(He=e,d)):(He=e,d)}function mt(){var e;return Ze++,ge.test(f.charAt(He))?(e=f.charAt(He),He++):(e=d,0===Ze&&it(ve)),Ze--,e===d&&(0===Ze&&it(he)),e}function bt(){var e;return Ze++,me.test(f.charAt(He))?(e=f.charAt(He),He++):(e=d,0===Ze&&it(be)),Ze--,e===d&&(0===Ze&&it(ye)),e}function wt(){var e,t,n;for(Ze++,e=He,t=[],n=mt();n!==d;)t.push(n),n=mt();return e=t!==d?f.substring(e,He):t,Ze--,e===d&&(t=d,0===Ze&&it(we)),e}function St(){var e,t,n;return Ze++,e=He,45===f.charCodeAt(He)?(t=xe,He++):(t=d,0===Ze&&it(ke)),t===d&&(t=null),e=t!==d&&(n=_t())!==d?(We=e,t=Ee(t,n)):(He=e,d),Ze--,e===d&&(t=d,0===Ze&&it(Se)),e}function xt(){var e,t;return Ze++,e=He,f.substr(He,2)===_e?(t=_e,He+=2):(t=d,0===Ze&&it(Ae)),t!==d&&(We=e,t=Ce()),Ze--,(e=t)===d&&(t=d,0===Ze&&it(Oe)),e}function kt(){var e,t,n,r,o,i;if(e=He,39===f.charCodeAt(He)?(t=F,He++):(t=d,0===Ze&&it(B)),t!==d)if((n=function(){var e,t,n,r;t=e=He,f.length>He?(n=f.charAt(He),He++):(n=d,0===Ze&&it(w));t=n!==d?(We=He,r=Le(n),(r=r?void 0:d)!==d?n=[n,r]:(He=t,d)):(He=t,d);e=t!==d?f.substring(e,He):t;return e}())!==d){for(r=He,o=[],f.substr(He,2)===_e?(i=_e,He+=2):(i=d,0===Ze&&it(Ae)),i===d&&(z.test(f.charAt(He))?(i=f.charAt(He),He++):(i=d,0===Ze&&it(U)));i!==d;)o.push(i),f.substr(He,2)===_e?(i=_e,He+=2):(i=d,0===Ze&&it(Ae)),i===d&&(z.test(f.charAt(He))?(i=f.charAt(He),He++):(i=d,0===Ze&&it(U)));e=(r=o!==d?f.substring(r,He):o)!==d?(39===f.charCodeAt(He)?(o=F,He++):(o=d,0===Ze&&it(B)),o===d&&(o=null),o!==d?(We=e,t=Te(n,r)):(He=e,d)):(He=e,d)}else He=e,e=d;else He=e,e=d;return e}function Et(){var e,t,n,r;return t=e=He,f.length>He?(n=f.charAt(He),He++):(n=d,0===Ze&&it(w)),(t=n!==d?(We=He,(r=(r=Ie(n))?void 0:d)!==d?n=[n,r]:(He=t,d)):(He=t,d))===d&&(10===f.charCodeAt(He)?(t=je,He++):(t=d,0===Ze&&it(Pe))),e=t!==d?f.substring(e,He):t}function Ot(){var e,t;return Ze++,e=He,(t=_t())===d&&(t=At()),e=t!==d?f.substring(e,He):t,Ze--,e===d&&(t=d,0===Ze&&it(De)),e}function _t(){var e,t,n,r,o;if(Ze++,e=He,48===f.charCodeAt(He)?(t=Re,He++):(t=d,0===Ze&&it(Ne)),t!==d&&(We=e,t=Fe()),(e=t)===d){if(t=e=He,Be.test(f.charAt(He))?(n=f.charAt(He),He++):(n=d,0===Ze&&it(ze)),n!==d){for(r=[],Ue.test(f.charAt(He))?(o=f.charAt(He),He++):(o=d,0===Ze&&it(Ke));o!==d;)r.push(o),Ue.test(f.charAt(He))?(o=f.charAt(He),He++):(o=d,0===Ze&&it(Ke));t=r!==d?n=[n,r]:(He=t,d)}else He=t,t=d;t!==d&&(We=e,t=Ve(t)),e=t}return Ze--,e===d&&(t=d,0===Ze&&it(Me)),e}function At(){var e,t,n,r,o;if(Ze++,t=[],r=n=e=He,Ze++,(o=mt())===d&&(o=bt()),Ze--,(n=(r=o===d?void 0:(He=r,d))!==d?(f.length>He?(o=f.charAt(He),He++):(o=d,0===Ze&&it(w)),o!==d?r=[r,o]:(He=n,d)):(He=n,d))!==d)for(;n!==d;)t.push(n),r=n=He,Ze++,(o=mt())===d&&(o=bt()),Ze--,n=(r=o===d?void 0:(He=r,d))!==d?(f.length>He?(o=f.charAt(He),He++):(o=d,0===Ze&&it(w)),o!==d?r=[r,o]:(He=n,d)):(He=n,d);else t=d;return e=t!==d?f.substring(e,He):t,Ze--,e===d&&(t=d,0===Ze&&it(qe)),e}var Ct=["root"];function Tt(){return"plural"===Ct[Ct.length-1]}function It(){return e&&e.captureLocation?{location:Qe()}:{}}if((t=r())!==d&&He===f.length)return t;throw t!==d&&He<f.length&&it({type:"end"}),at(Ye,$e<f.length?f.charAt($e):null,$e<f.length?ot($e,$e+1):ot($e,$e))},d=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r},p=/(^|[^\\])#/g;function c(e,t){var n=f(e,t);return t&&!1===t.normalizeHashtagInPlural||function l(e){e.forEach(function(c){(x(c)||S(c))&&Object.keys(c.options).forEach(function(e){for(var t,n=c.options[e],r=-1,o=void 0,i=0;i<n.value.length;i++){var a=n.value[i];if(w(a)&&p.test(a.value)){r=i,o=a;break}}if(o){var u=o.value.replace(p,"$1{"+c.value+", number}"),s=f(u);(t=n.value).splice.apply(t,d([r,1],s))}l(n.value)})})}(n),n}var l=n(50),h=function(){return(h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},g=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function k(e){var n={};return e.replace(g,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),n}var v=/^\.(?:(0+)(\+|#+)?)?$/g,y=/^(@+)?(\+|#+)?$/g;function m(e){var r={};return e.replace(y,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function E(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function O(e){var t=E(e);return t||{}}function _(e){for(var r={},t=0,n=e;t<n.length;t++){var o=n[t];switch(o.stem){case"percent":r.style="percent";continue;case"currency":r.style="currency",r.currency=o.options[0];continue;case"group-off":r.useGrouping=!1;continue;case"precision-integer":r.maximumFractionDigits=0;continue;case"measure-unit":r.style="unit",r.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=h(h(h({},r),{notation:"scientific"}),o.options.reduce(function(e,t){return h(h({},e),O(t))},{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),o.options.reduce(function(e,t){return h(h({},e),O(t))},{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue}if(v.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(v,function(e,t,n){return"."===e?r.maximumFractionDigits=0:"+"===n?r.minimumFractionDigits=n.length:"#"===t[0]?r.maximumFractionDigits=t.length:(r.minimumFractionDigits=t.length,r.maximumFractionDigits=t.length+("string"==typeof n?n.length:0)),""}),o.options.length&&(r=h(h({},r),m(o.options[0])))}else if(y.test(o.stem))r=h(h({},r),m(o.stem));else{var i=E(o.stem);i&&(r=h(h({},r),i))}}return r}var A,C,T,I=(A=function(e,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r},P=(C=Error,I(L,C),L);function L(e,t){var n=C.call(this,e)||this;return n.variableId=t,n}function D(e,t,n,r,o,i,a){if(1===e.length&&w(e[0]))return[{type:0,value:e[0].value}];for(var u,s,c,l=[],f=0,d=e;f<d.length;f++){var p=d[f];if(w(p))l.push({type:0,value:p.value});else if(p.type!==jt.pound){var h=p.value;if(!(o&&h in o))throw new P('The intl string context variable "'+h+'" was not provided to the string "'+a+'"');var g=o[h];if(p.type!==jt.argument)if(p.type!==jt.date)if(p.type!==jt.time)if(p.type!==jt.number)if(S(p)){if(!(v=p.options[g]||p.options.other))throw new RangeError('Invalid values for "'+p.value+'": "'+g+'". Options are "'+Object.keys(p.options).join('", "')+'"');l.push.apply(l,D(v.value,t,n,r,o))}else if(x(p)){var v;if(!(v=p.options["="+g])){if(!Intl.PluralRules)throw new P('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n');var y=n.getPluralRules(t,{type:p.pluralType}).select(g-(p.offset||0));v=p.options[y]||p.options.other}if(!v)throw new RangeError('Invalid values for "'+p.value+'": "'+g+'". Options are "'+Object.keys(p.options).join('", "')+'"');l.push.apply(l,D(v.value,t,n,r,o,g-(p.offset||0)))}else;else{m="string"==typeof p.style?r.number[p.style]:(u=p.style)&&"object"===b()(u)&&0===u.type?_(p.style.tokens):void 0;l.push({type:0,value:n.getNumberFormat(t,m).format(g)})}else{var m="string"==typeof p.style?r.time[p.style]:(s=p.style)&&"object"===b()(s)&&1===s.type?k(p.style.pattern):void 0;l.push({type:0,value:n.getDateTimeFormat(t,m).format(g)})}else{var m="string"==typeof p.style?r.date[p.style]:void 0;l.push({type:0,value:n.getDateTimeFormat(t,m).format(g)})}else g&&"string"!=typeof g&&"number"!=typeof g||(g="string"==typeof g||"number"==typeof g?String(g):""),l.push({type:1,value:g})}else"number"==typeof i&&l.push({type:0,value:n.getNumberFormat(t).format(i)})}return(c=l).length<2?c:c.reduce(function(e,t){var n=e[e.length-1];return n&&0===n.type&&0===t.type?n.value+=t.value:e.push(t),e},[])}var M="@@",R=/@@(\d+_\d+)@@/g,N=0;function F(e,t){return e.split(R).filter(Boolean).map(function(e){return null!=t[e]?t[e]:e}).reduce(function(e,t){return e.length&&"string"==typeof t&&"string"==typeof e[e.length-1]?e[e.length-1]+=t:e.push(t),e},[])}var B=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,z=Date.now()+"@@",U=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function K(e,t,n,r,o,i){var a=D(e,t,n,r,o,void 0,i),u={},s=a.reduce(function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++N;return u[n]=t.value,e+(M+n)+M},"");if(!B.test(s))return F(s,u);if(!o)throw new P("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new P("Cannot format XML message without DOMParser");var c=(T=T||new DOMParser).parseFromString('<formatted-message id="'+z+'">'+s+"</formatted-message>","text/html").getElementById(z);if(!c)throw new P("Malformed HTML message "+s);var l=Object.keys(o).filter(function(e){return!!c.getElementsByTagName(e).length});if(!l.length)return F(s,u);var f=l.filter(function(e){return e!==e.toLowerCase()});if(f.length)throw new P("HTML tag must be lowercased but the following tags are not: "+f.join(", "));return Array.prototype.slice.call(c.childNodes).reduce(function(e,t){return e.concat(function n(e,r,o){var t=e.tagName,i=e.outerHTML,a=e.textContent,u=e.childNodes;if(!t)return F(a||"",r);t=t.toLowerCase();var s=~U.indexOf(t),c=o[t];if(c&&s)throw new P(t+" is a self-closing tag and can not be used, please use another tag name.");if(!u.length)return[i];var l=Array.prototype.slice.call(u).reduce(function(e,t){return e.concat(n(t,r,o))},[]);return c?"function"==typeof c?[c.apply(void 0,l)]:[c]:j(["<"+t+">"],l,["</"+t+">"])}(t,u,o))},[])}var V=function(){return(V=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function q(o,i){return i?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?V(V(V({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=V(V({},n[t]),r[t]||{}),e},{})):n),e},V({},o)):o}function H(e,t,n,r){var o,s=this;if(void 0===t&&(t=H.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){return t=s.ast,n=s.locales,r=s.formatters,o=s.formats,i=e,a=s.message,1===(u=D(t,n,r,o,i,void 0,a)).length?u[0].value:u.reduce(function(e,t){return e+t.value},"");var t,n,r,o,i,a,u},this.formatToParts=function(e){return D(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.formatHTMLMessage=function(e){return K(s.ast,s.locales,s.formatters,s.formats,e,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!H.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=H.__parse(e,{normalizeHashtagInPlural:!1})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=q(H.formats,n),this.locales=t,this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(l.a)(Intl.NumberFormat,o.number),getDateTimeFormat:Object(l.a)(Intl.DateTimeFormat,o.dateTime),getPluralRules:Object(l.a)(Intl.PluralRules,o.pluralRules)})}var W=(H.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,H.__parse=c,H.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},H);t.a=W},function(e,t,n){var o=n(102),i=n(88);e.exports=function(e,t){for(var n=0,r=(t=o(t,e)).length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}},function(e,t,n){var r=n(40),o=n(103),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(292),o=n(308),i=n(310),a=n(311),u=n(312);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,n){var r=n(70),o=n(52);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r=n(71)(n(51),"Map");e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(195);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(198);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(201)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(t){return function(e){return t(e)}}},function(e,a,u){(function(e){var t=u(169),n=a&&!a.nodeType&&a,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,o=r&&r.exports===n&&t.process,i=function(){try{var e=r&&r.require&&r.require("util").types;return e?e:o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=i}).call(this,u(136)(e))},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(412),o=n(232),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return i.call(t,e)}))}:o;e.exports=u},function(e,t,n){"use strict";function r(e){return function(){return e}}function o(){}o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r,i=n(93),o=n(42),a=n(72),u=n(44),s=n(117),c=n(64),l=n(16),f=n(80),d=n(61),p=n(149),h=l.List,g=l.Record,v=l.Repeat,y=c.draft_tree_data_support?u:a,m=g({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),b=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(w,r=m),w.prototype.getEntityMap=function(){return s},w.prototype.getBlockMap=function(){return this.get("blockMap")},w.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},w.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},w.prototype.getBlockForKey=function(e){return this.getBlockMap().get(e)},w.prototype.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},w.prototype.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},w.prototype.getBlockAfter=function(n){return this.getBlockMap().skipUntil(function(e,t){return t===n}).skip(1).first()},w.prototype.getBlockBefore=function(n){return this.getBlockMap().reverse().skipUntil(function(e,t){return t===n}).skip(1).first()},w.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},w.prototype.getFirstBlock=function(){return this.getBlockMap().first()},w.prototype.getLastBlock=function(){return this.getBlockMap().last()},w.prototype.getPlainText=function(e){return this.getBlockMap().map(function(e){return e?e.getText():""}).join(e||"\n")},w.prototype.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},w.prototype.hasText=function(){var e=this.getBlockMap();return 1<e.size||0<e.first().getLength()},w.prototype.createEntity=function(e,t,n){return s.__create(e,t,n),this},w.prototype.mergeEntityData=function(e,t){return s.__mergeData(e,t),this},w.prototype.replaceEntityData=function(e,t){return s.__replaceData(e,t),this},w.prototype.addEntity=function(e){return s.__add(e),this},w.prototype.getEntity=function(e){return s.__get(e)},w.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=i.createFromArray(n),o=r.isEmpty()?new f:f.createEmpty(r.first().getKey());return new w({blockMap:r,entityMap:t||s,selectionBefore:o,selectionAfter:o})},w.createFromText=function(e,t){var n=1<arguments.length&&void 0!==t?t:/\r\n?|\n/g,r=e.split(n).map(function(e){return e=p(e),new y({key:d(),text:e,type:"unstyled",characterList:h(v(o.EMPTY,e.length))})});return w.createFromBlockArray(r)},w);function w(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}e.exports=b},function(e,t,n){"use strict";var r=new RegExp("\r","g");e.exports=function(e){return e.replace(r,"")}},function(e,t,n){"use strict";var r=n(17),o="LTR",i="RTL",a=null;function u(e){return e===o||e===i}function s(e){return u(e)||r(!1),e===o?"ltr":"rtl"}function c(e){a=e}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:u,getHTMLDir:s,getHTMLDirIfDifferent:function(e,t){return u(e)||r(!1),u(t)||r(!1),e===t?null:s(e)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};e.exports=l},function(e,t,n){"use strict";var r=n(16).Map,o=n(0),i=n(81),a=r({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:o.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:o.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:o.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=a},function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(e,t,n){"use strict";function s(e,t){return t&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),o=t.getAnchorOffset();return 0<o?(n=e.getBlockForKey(r).getEntityAt(o-1))!==e.getBlockForKey(r).getEntityAt(o)?null:s(e.getEntityMap(),n):null}var i=t.getStartKey(),a=t.getStartOffset(),u=e.getBlockForKey(i);return n=a===u.getLength()?null:u.getEntityAt(a),s(e.getEntityMap(),n)}},function(e,t,n){"use strict";var r=n(459);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(461),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},function(e,t,n){"use strict";var a=n(466),u=n(467);e.exports=function(e){var t=a(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=u(e),r=e===t?e.ownerDocument.documentElement:e,o=e.scrollWidth-r.clientWidth,i=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,o)),n.y=Math.max(0,Math.min(n.y,i)),n}},function(e,t,n){"use strict";var r=n(250);e.exports=function(e){for(var t=e;t&&t!==document.documentElement;){var n=r(t);if(null!=n)return n;t=t.parentNode}return null}},function(e,t,n){"use strict";var r=n(58).isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return r&&e.altKey},hasCommandModifier:function(e){return r?!!e.metaKey&&!e.altKey:o.isCtrlKeyCommand(e)}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,u=0;if(i<t){var s=r.getKeyBefore(o);if(null==s)a=o;else a=s,u=r.getBlockForKey(s).getText().length}else u=i-t;return n.merge({focusKey:a,focusOffset:u,isBackward:!0})}},function(e,i,a){"use strict";(function(e,t){var n,r=a(267);n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:t;var o=Object(r.a)(n);i.a=o}).call(this,a(36),a(109)(e))},function(e,t,n){var i=n(220),a=n(78),u=n(363),s=n(364),c=n(366),l=Math.max;e.exports=function(e,t,n,r){e=a(e)?e:c(e),n=n&&!r?s(n):0;var o=e.length;return n<0&&(n=l(o+n,0)),u(e)?n<=o&&-1<e.indexOf(t,n):!!o&&-1<i(e,t,n)}},function(e,t,n){"use strict";var r=n(385),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},f={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function d(e){return r.isMemo(e)?i:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var p=Object.defineProperty,h=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=y(n);o&&o!==m&&e(t,o,r)}var i=h(n);g&&(i=i.concat(g(n)));for(var a=d(t),u=d(n),s=0;s<i.length;++s){var c=i[s];if(!(f[c]||r&&r[c]||u&&u[c]||a&&a[c])){var l=v(n,c);try{p(t,c,l)}catch(e){}}}}return t}},function(e,t,n){"use strict";var r=n(224),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},f={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function d(e){return r.isMemo(e)?i:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var p=Object.defineProperty,h=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=y(n);o&&o!==m&&e(t,o,r)}var i=h(n);g&&(i=i.concat(g(n)));for(var a=d(t),u=d(n),s=0;s<i.length;++s){var c=i[s];if(!(f[c]||r&&r[c]||u&&u[c]||a&&a[c])){var l=v(n,c);try{p(t,c,l)}catch(e){}}}}return t}},function(e,t){e.exports=function(t,e){e=e||{};var a,u,n,r,o,i=t.ownerDocument||t,s=[],c=[],l=(a=i,u=[],function(e){if(e===a.documentElement)return!1;var t=a.defaultView.getComputedStyle(e);return!!function e(t,n){if(t===a.documentElement)return!1;for(var r=0,o=u.length;r<o;r++)if(u[r][0]===t)return u[r][1];var i=!1;return"none"===(n=n||a.defaultView.getComputedStyle(t)).display?i=!0:t.parentNode&&(i=e(t.parentNode)),u.push([t,i]),i}(e,t)||"hidden"===t.visibility}),f=["input","select","a[href]","textarea","button","[tabindex]"],d=t.querySelectorAll(f.join(","));if(e.includeContainer){var p=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;f.some(function(e){return p.call(t,e)})&&(d=Array.prototype.slice.apply(d)).unshift(t)}for(var h=0,g=d.length;h<g;h++)n=d[h],r=parseInt(n.getAttribute("tabindex"),10),(o=isNaN(r)?n.tabIndex:r)<0||"INPUT"===n.tagName&&"hidden"===n.type||n.disabled||l(n,i)||(0===o?s.push(n):c.push({index:h,tabIndex:o,node:n}));var v=c.sort(function(e,t){return e.tabIndex===t.tabIndex?e.index-t.index:e.tabIndex-t.tabIndex}).map(function(e){return e.node});return Array.prototype.push.apply(v,s),v}},function(e,t,n){"use strict";e.exports=n(517)},function(e,t,n){"use strict";var r=n(224),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},f={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function d(e){return r.isMemo(e)?i:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var p=Object.defineProperty,h=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=y(n);o&&o!==m&&e(t,o,r)}var i=h(n);g&&(i=i.concat(g(n)));for(var a=d(t),u=d(n),s=0;s<i.length;++s){var c=i[s];if(!(f[c]||r&&r[c]||u&&u[c]||a&&a[c])){var l=v(n,c);try{p(t,c,l)}catch(e){}}}}return t}},function(e,t,n){"use strict";var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),a=new Uint8Array(16);var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var o=function(e){return"string"==typeof e&&r.test(e)},u=[],s=0;s<256;++s)u.push((s+256).toString(16).substr(1));var c=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!o(n))throw TypeError("Stringified UUID is invalid");return n};t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||function(){if(!i)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(a)})();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return c(r)}},,function(n,e,t){(function(e){var t="object"==typeof e&&e&&e.Object===Object&&e;n.exports=t}).call(this,t(36))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){"use strict";var r=n(5),o=n(39),i=n(24),a=n(30),u=Object(r.d)(null,function(e){return e.addCase(a.a.fulfilled,function(){return null}).addCase(a.c,function(e,t){return e===t.payload?null:e}).addCase(a.d,function(e,t){return t.payload})}),s=Object(r.d)([],function(e){return e.addCase(a.a.fulfilled,function(e,t){var n=t.payload.id;e.push(n)}).addCase(a.c,function(e,t){var n=t.payload;return e.filter(function(e){return e!==n})}).addCase(a.b.fulfilled,function(n,e){e.payload.entries.forEach(function(e){var t=e.id;return-1===n.indexOf(t)&&n.push(t)})})}),c=Object(r.d)({},function(e){return e.addCase(a.a.fulfilled,function(e,t){var n=t.payload;e[n.id]=Object(i.g)(n)?Object(i.c)(n):n}).addCase(a.c,function(e,t){delete e[t.payload]}).addCase(a.b.fulfilled,function(t,e){e.payload.entries.forEach(function(e){t[e.id]=Object(i.g)(e)?Object(i.c)(e):e})})}),l=Object(r.d)(!1,function(e){e.addCase(a.e,function(){return!0})});t.a=Object(o.c)({activeId:u,allIds:s,byId:c,isInitialized:l})},function(e,t,n){"use strict";var r=n(5),o=n(66);t.a=Object(r.d)({features:{},fileId:null,fileVersionId:null,isCurrentFileVersion:!0,permissions:{},rotation:0,scale:1},function(e){return e.addCase(o.a,function(e,t){var n=t.payload;e.fileId=n}).addCase(o.b,function(e,t){var n=t.payload;e.fileVersionId=n}).addCase(o.c,function(e,t){var n=t.payload;e.permissions=n}).addCase(o.d,function(e,t){var n=t.payload;e.rotation=n}).addCase(o.e,function(e,t){var n=t.payload;e.scale=n})})},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return s});n(34);var r=function(e){return e.options.fileId},o=function(e){return e.options.fileVersionId},i=function(e){return e.options.isCurrentFileVersion},a=function(e){return e.options.permissions},u=function(e){return e.options.rotation},s=function(e){return e.options.scale}},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return f});var r=n(54),o=n.n(r),i=n(34),a=n.n(i),u=function(e){return e.annotations.activeId},s=function(e,t){return e.annotations.byId[t]},c=function(e){var t=e.annotations;return o()(Object.values(t.byId))},l=function(e,t){return c(e).filter(function(e){return a()(e,"target.location.value")===t})},f=function(e){return e.annotations.isInitialized}},function(e,t){},function(e,t,n){"use strict";var r=n(5),o=n(18),i=n(45),a=n(19),u=n(67),s={drawnPathGroups:[],location:0,stashedPathGroups:[]};t.a=Object(r.d)(s,function(e){return e.addCase(o.createAnnotationAction.fulfilled,function(){return s}).addCase(u.a,function(e,t){var n=t.payload;e.drawnPathGroups.push(n),e.stashedPathGroups=[]}).addCase(u.b,function(e){var t=e.stashedPathGroups.pop();t&&e.drawnPathGroups.push(t)}).addCase(a.l,function(){return s}).addCase(u.c,function(){return s}).addCase(u.d,function(e,t){var n=t.payload;e.location!==n&&(e.location=n,e.drawnPathGroups=[])}).addCase(i.f,function(){return s}).addCase(u.e,function(e){var t=e.drawnPathGroups.pop();t&&e.stashedPathGroups.push(t)})})},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var r=function(e,t){return e.drawing.location===t?e.drawing.drawnPathGroups:[]},o=function(e,t){return e.drawing.location===t?e.drawing.stashedPathGroups:[]}},function(e,t){},function(e,t,n){"use strict";var r=n(5),o=n(18),i=n(19),a=n(82),u=n(45);t.a=Object(r.d)({isPromoting:!1,isSelecting:!1,selection:null},function(e){return e.addCase(a.a,function(e,t){var n=t.payload;e.isPromoting=n}).addCase(a.b,function(e,t){var n=t.payload;e.isSelecting=n}).addCase(a.c,function(e,t){var n=t.payload;e.selection=n}).addCase(o.createAnnotationAction.fulfilled,function(e){e.isPromoting=!1}).addCase(i.l,function(e){e.isPromoting=!1}).addCase(u.f,function(e){e.isPromoting=!1}).addCase(i.q,function(e){e.selection=null})})},function(e,t,n){"use strict";var r,o;n.d(t,"a",function(){return r}),(o=r=r||{}).CAN_CREATE_ANNOTATIONS="can_create_annotations",o.CAN_VIEW_ANNOTATIONS="can_view_annotations"},function(e,t,n){"use strict";var r,o,i,a;n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),(o=r=r||{}).ACTIVE_CHANGE="annotations_active_change",o.ACTIVE_SET="annotations_active_set",o.CREATOR_STAGED_CHANGE="creator_staged_change",o.CREATOR_STATUS_CHANGE="creator_status_change",o.ANNOTATION_CREATE="annotations_create",o.ANNOTATION_FETCH_ERROR="annotations_fetch_error",o.ANNOTATION_REMOVE="annotations_remove",o.ANNOTATIONS_INITIALIZED="annotations_initialized",o.ANNOTATIONS_MODE_CHANGE="annotations_mode_change",o.COLOR_SET="annotations_color_set",o.VISIBLE_SET="annotations_visible_set",(a=i=i||{}).ANNOTATOR="annotatorevent",a.ERROR="annotationerror",a.SCALE="scaleannotations"},function(e,t){},function(e,t,n){"use strict";var r,o;n.d(t,"a",function(){return r}),(o=r=r||{}).highlight="highlight",o.region="region"},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return i});var r=function(e){return e.highlight.isPromoting},o=function(e){return e.highlight.isSelecting},i=function(e,t){var n=e.highlight.selection;return n&&n.location===t?n:null}},function(e,t){},function(e,t,n){"use strict";var r=n(5),o=n(97);t.a=Object(r.d)({collaborators:[]},function(e){return e.addCase(o.a.fulfilled,function(e,t){var n=t.payload;e.collaborators=n.entries}).addCase(o.a.rejected,function(e){e.collaborators=[]})})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return e.users.collaborators}},function(e,t){},function(e,t){},function(e,t,n){var c=n(110),l=n(194),f=n(327),d=n(329),p=n(52),h=n(113),g=n(204);e.exports=function r(o,i,a,u,s){o!==i&&f(i,function(e,t){if(s=s||new c,p(e))d(o,i,t,a,r,u,s);else{var n=u?u(g(o,t),e,t+"",o,i,s):void 0;void 0===n&&(n=e),l(o,t,n)}},h)}},function(e,t,n){var r=n(135),o=n(87);e.exports=function(e,t,n){(void 0===n||o(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(71),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,a,u){(function(e){var t=u(51),n=a&&!a.nodeType&&a,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,o=r&&r.exports===n?t.Buffer:void 0,i=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=i?i(n):new e.constructor(n);return e.copy(r),r}}).call(this,u(136)(e))},function(e,t,n){var r=n(137);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(51).Uint8Array;e.exports=r},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(330),o=n(138),i=n(111);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t){e.exports=function(t,n){return function(e){return t(n(e))}}},function(e,t,n){var r=n(78),o=n(57);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){var r=n(70),o=n(138),i=n(57),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,n){var o=n(135),i=n(87),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];a.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}},function(e,t,n){var l=n(335),f=n(89),d=n(40),p=n(90),h=n(142),g=n(112),v=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=d(e),r=!n&&f(e),o=!n&&!r&&p(e),i=!n&&!r&&!o&&g(e),a=n||r||o||i,u=a?l(e.length,String):[],s=u.length;for(var c in e)!t&&!v.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||h(c,s))||u.push(c);return u}},function(e,t,n){var r=n(208),s=n(342);e.exports=function(u){return r(function(e,t){var n=-1,r=t.length,o=1<r?t[r-1]:void 0,i=2<r?t[2]:void 0;for(o=3<u.length&&"function"==typeof o?(r--,o):void 0,i&&s(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&u(e,a,n,o)}return e})}},function(e,t,n){var r=n(143),o=n(209),i=n(210);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var s=n(338),c=Math.max;e.exports=function(i,a,u){return a=c(void 0===a?i.length-1:a,0),function(){for(var e=arguments,t=-1,n=c(e.length-a,0),r=Array(n);++t<n;)r[t]=e[a+t];t=-1;for(var o=Array(a+1);++t<a;)o[t]=e[t];return o[a]=u(r),s(i,this,o)}}},function(e,t,n){var r=n(339),o=n(341)(r);e.exports=o},function(e,t,n){"use strict";e.exports=function(n,r){return function(){for(var e=new Array(arguments.length),t=0;t<e.length;t++)e[t]=arguments[t];return n.apply(r,e)}}},function(e,t,n){"use strict";var a=n(41);function u(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(a.isURLSearchParams(t))r=t.toString();else{var o=[];a.forEach(t,function(e,t){null!=e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),o.push(u(t)+"="+u(e))}))}),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=u(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++f<t;)s&&s[f].run();f=-1,t=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||u(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},function(e,t,n){"use strict";var h=n(41),g=n(349),v=n(350),y=n(212),m=n(351),b=n(354),w=n(355),S=n(216),x=n(114),k=n(115);e.exports=function(p){return new Promise(function(n,r){var e,o=p.data,i=p.headers,a=p.responseType;function u(){p.cancelToken&&p.cancelToken.unsubscribe(e),p.signal&&p.signal.removeEventListener("abort",e)}h.isFormData(o)&&delete i["Content-Type"];var s=new XMLHttpRequest;if(p.auth){var t=p.auth.username||"",c=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";i.Authorization="Basic "+btoa(t+":"+c)}var l=m(p.baseURL,p.url);function f(){if(s){var e="getAllResponseHeaders"in s?b(s.getAllResponseHeaders()):null,t={data:a&&"text"!==a&&"json"!==a?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:e,config:p,request:s};g(function(e){n(e),u()},function(e){r(e),u()},t),s=null}}if(s.open(p.method.toUpperCase(),y(l,p.params,p.paramsSerializer),!0),s.timeout=p.timeout,"onloadend"in s?s.onloadend=f:s.onreadystatechange=function(){s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&setTimeout(f)},s.onabort=function(){s&&(r(S("Request aborted",p,"ECONNABORTED",s)),s=null)},s.onerror=function(){r(S("Network Error",p,null,s)),s=null},s.ontimeout=function(){var e=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded",t=p.transitional||x.transitional;p.timeoutErrorMessage&&(e=p.timeoutErrorMessage),r(S(e,p,t.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",s)),s=null},h.isStandardBrowserEnv()){var d=(p.withCredentials||w(l))&&p.xsrfCookieName?v.read(p.xsrfCookieName):void 0;d&&(i[p.xsrfHeaderName]=d)}"setRequestHeader"in s&&h.forEach(i,function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete i[t]:s.setRequestHeader(t,e)}),h.isUndefined(p.withCredentials)||(s.withCredentials=!!p.withCredentials),a&&"json"!==a&&(s.responseType=p.responseType),"function"==typeof p.onDownloadProgress&&s.addEventListener("progress",p.onDownloadProgress),"function"==typeof p.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",p.onUploadProgress),(p.cancelToken||p.signal)&&(e=function(e){s&&(r(!e||e&&e.type?new k("canceled"):e),s.abort(),s=null)},p.cancelToken&&p.cancelToken.subscribe(e),p.signal&&(p.signal.aborted?e():p.signal.addEventListener("abort",e))),o=o||null,s.send(o)})}},function(e,t,n){"use strict";var a=n(214);e.exports=function(e,t,n,r,o){var i=new Error(e);return a(i,t,n,r,o)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";var c=n(41);e.exports=function(t,n){n=n||{};var r={};function o(e,t){return c.isPlainObject(e)&&c.isPlainObject(t)?c.merge(e,t):c.isPlainObject(t)?c.merge({},t):c.isArray(t)?t.slice():t}function i(e){return c.isUndefined(n[e])?c.isUndefined(t[e])?void 0:o(void 0,t[e]):o(t[e],n[e])}function e(e){if(!c.isUndefined(n[e]))return o(void 0,n[e])}function a(e){return c.isUndefined(n[e])?c.isUndefined(t[e])?void 0:o(void 0,t[e]):o(void 0,n[e])}function u(e){return e in n?o(t[e],n[e]):e in t?o(void 0,t[e]):void 0}var s={url:e,method:e,data:e,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return c.forEach(Object.keys(t).concat(Object.keys(n)),function(e){var t=s[e]||i,n=t(e);c.isUndefined(n)&&t!==u||(r[e]=n)}),r}},function(e,t){e.exports={version:"0.24.0"}},function(e,t,n){var r=n(360),o=n(361),i=n(362);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t,n){var r=n(52),o=n(103),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=u.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(111),o=n(368),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){},function(e,t,n){"use strict";e.exports=n(399)},function(e,t,n){var c=n(144),l=n(401);e.exports=function e(t,n,r,o,i){var a=-1,u=t.length;for(r=r||l,i=i||[];++a<u;){var s=t[a];0<n&&r(s)?1<n?e(s,n-1,r,o,i):c(i,s):o||(i[i.length]=s)}return i}},function(e,t,n){var a=n(405),u=n(57);e.exports=function e(t,n,r,o,i){return t===n||(null==t||null==n||!u(t)&&!u(n)?t!=t&&n!=n:a(t,n,r,o,e,i))}},function(e,t,n){var v=n(228),y=n(408),m=n(229);e.exports=function(e,t,n,r,o,i){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&u<s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,d=2&n?new v:void 0;for(i.set(e,t),i.set(t,e);++l<u;){var p=e[l],h=t[l];if(r)var g=a?r(h,p,l,t,e,i):r(p,h,l,e,t,i);if(void 0!==g){if(g)continue;f=!1;break}if(d){if(!y(t,function(e,t){if(!m(d,t)&&(p===e||o(p,e,n,r,i)))return d.push(t)})){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}},function(e,t,n){var r=n(131),o=n(406),i=n(407);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(231),o=n(146),i=n(91);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var o=n(144),i=n(40);e.exports=function(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(71)(n(51),"Set");e.exports=r},function(e,t,n){var r=n(52);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(t,n){return function(e){return null!=e&&(e[t]===n&&(void 0!==n||t in Object(e)))}}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){"use strict";var r=n(44),o=n(16),d=n(61),i=o.OrderedMap;e.exports=function(e){var l,f;return e.first()instanceof r?(l={},f=void 0,i(e.withMutations(function(c){c.forEach(function(e,t){var n=e.getKey(),r=e.getNextSiblingKey(),o=e.getPrevSiblingKey(),i=e.getChildKeys(),a=e.getParentKey(),u=d();if(l[n]=u,r&&(c.get(r)?c.setIn([r,"prevSibling"],u):c.setIn([n,"nextSibling"],null)),o&&(c.get(o)?c.setIn([o,"nextSibling"],u):c.setIn([n,"prevSibling"],null)),a&&c.get(a)){var s=c.get(a).getChildKeys();c.setIn([a,"children"],s.set(s.indexOf(e.getKey()),u))}else c.setIn([n,"parent"],null),f&&(c.setIn([f.getKey(),"nextSibling"],u),c.setIn([n,"prevSibling"],l[f.getKey()])),f=c.get(n);i.forEach(function(t){c.get(t)?c.setIn([t,"parent"],u):c.setIn([n,"children"],e.getChildKeys().filter(function(e){return e!==t}))})})}).toArray().map(function(e){return[l[e.getKey()],e.set("key",l[e.getKey()])]}))):i(e.toArray().map(function(e){var t=d();return[t,e.set("key",t)]}))}},function(e,t,n){"use strict";var g=n(42),v=n(94),y=n(17);function p(e,t,n){var r,o,i,a=t.getCharacterList(),u=0<n?a.get(n-1):void 0,s=n<a.count()?a.get(n):void 0,c=u?u.getEntity():void 0,l=s?s.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==e.__get(l).getMutability()){for(var f,d=(r=l,o=n,v(a,function(e,t){return e.getEntity()===t.getEntity()},function(e){return e.getEntity()===r},function(e,t){e<=o&&o<=t&&(i={start:e,end:t})}),"object"!=typeof i&&y(!1),i),p=d.start,h=d.end;p<h;)f=a.get(p),a=a.set(p,g.applyEntity(f,null)),p++;return t.set("characterList",a)}return t}e.exports=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),a=t.getStartOffset(),u=n.get(i),s=p(r,u,a);s!==u&&(o[i]=s);var c=t.getEndKey(),l=t.getEndOffset(),f=n.get(c);i===c&&(f=s);var d=p(r,f,l);return d!==f&&(o[c]=d),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}},function(e,t,n){"use strict";e.exports=function(t,e,n){if(n===t.count())e.forEach(function(e){t=t.push(e)});else if(0===n)e.reverse().forEach(function(e){t=t.unshift(e)});else{var r=t.slice(0,n),o=t.slice(n);t=r.concat(e,o).toList()}return t}},function(e,t,n){"use strict";var a=n(44);e.exports=function(e,t){if(!(e instanceof a))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var o=t.get(r);o&&!o.getNextSiblingKey();){var i=o.getParentKey();o=i?t.get(i):null}return o?o.getNextSiblingKey():null}},function(e,t,n){"use strict";var r=n(16),o=n(147),c=n(94),l=r.List,i=r.Repeat,a=r.Record,f=o.thatReturnsTrue,d=a({start:null,end:null}),p=a({start:null,end:null,decoratorKey:null,leaves:null}),u={generate:function(e,t,n){var r=t.getLength();if(!r)return l.of(new p({start:0,end:0,decoratorKey:null,leaves:l.of(new d({start:0,end:0}))}));var a=[],u=n?n.getDecorations(t,e):l(i(null,r)),s=t.getCharacterList();return c(u,h,f,function(e,t){var n,r,o,i;a.push(new p({start:e,end:t,decoratorKey:u.get(e),leaves:(n=s.slice(e,t).toList(),r=e,o=[],i=n.map(function(e){return e.getStyle()}).toList(),c(i,h,f,function(e,t){o.push(new d({start:e+r,end:t+r}))}),l(o))}))}),l(a)},getFingerprint:function(e){return e.map(function(e){var t=e.get("decoratorKey");return(null!==t?t+"."+(e.get("end")-e.get("start")):"")+"."+e.get("leaves").size}).join("-")}};function h(e,t){return e===t}e.exports=u},function(e,t,n){"use strict";var r,o=(0,n(16).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r=o),a.prototype.getType=function(){return this.get("type")},a.prototype.getMutability=function(){return this.get("mutability")},a.prototype.getData=function(){return this.get("data")},a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}e.exports=i},function(e,t,n){"use strict";var r=n(150),o=n(17),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",u=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),s=new RegExp("["+i+a+"]");function c(e){var t=u.exec(e);return null==t?null:t[0]}function l(e){var t=c(e);return null==t?r.NEUTRAL:s.exec(t)?r.RTL:r.LTR}function f(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=l(e);return n===r.NEUTRAL?t:n}function d(e,t){return t=t||r.getGlobalDir(),r.isStrong(t)||o(!1),f(e,t)}var p={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:d,isDirectionLTR:function(e,t){return d(e,t)===r.LTR},isDirectionRTL:function(e,t){return d(e,t)===r.RTL}};e.exports=p},function(e,t,n){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some(function(e){return o===e.get("start")?i=!0:o<e.get("end")&&e.get("leaves").some(function(e){var t=e.get("start");return o===t&&(i=!0)})}),i}},function(e,t,n){"use strict";var m=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function r(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}var o,b=n(450),w=n(118),S=n(0),u=n(26),s=n(248),c=n(155),x=n(243),k=n(150),i=n(81),l=n(464),f=n(156),d=n(468),p=n(17),E=n(53),a=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,o=S.Component),h.prototype.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||r(e.selection,e.block.getKey())&&e.forceSelection},h.prototype.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=u.findDOMNode(this),r=c.getScrollParent(n),o=f(r),i=void 0;if(r===window){var a=l(n);0<(i=a.y+a.height-d().height)&&window.scrollTo(o.x,o.y+i+10)}else n instanceof HTMLElement||p(!1),0<(i=n.offsetHeight+n.offsetTop-(r.offsetHeight+o.y))&&s.setTop(r,s.getTop(r)+i+10)}},h.prototype._renderChildren=function(){var d=this,p=this.props.block,h=p.getKey(),g=p.getText(),v=this.props.tree.size-1,y=r(this.props.selection,h);return this.props.tree.map(function(e,i){var t=e.get("leaves"),a=t.size-1,n=t.map(function(e,t){var n=w.encode(h,i,t),r=e.get("start"),o=e.get("end");return S.createElement(b,{key:n,offsetKey:n,block:p,start:r,selection:y?d.props.selection:null,forceSelection:d.props.forceSelection,text:g.slice(r,o),styleSet:p.getInlineStyleAt(r),customStyleMap:d.props.customStyleMap,customStyleFn:d.props.customStyleFn,isLast:i===v&&t===a})}).toArray(),r=e.get("decoratorKey");if(null==r)return n;if(!d.props.decorator)return n;var o=E(d.props.decorator),u=o.getComponentForKey(r);if(!u)return n;var s=o.getPropsForKey(r),c=w.encode(h,i,0),l=g.slice(t.first().get("start"),t.last().get("end")),f=k.getHTMLDirIfDifferent(x.getDirection(l),d.props.direction);return S.createElement(u,m({},s,{contentState:d.props.contentState,decoratedText:l,dir:f,key:c,entityKey:p.getEntityAt(e.get("start")),offsetKey:c}),n)}).toArray()},h.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return S.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,o.apply(this,arguments))}e.exports=a},function(e,t,n){"use strict";e.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},function(e,t,n){"use strict";function r(e,t){return t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},function(e,t,n){"use strict";var o=n(471),r=n(472),i=n(147),a=new RegExp("\r\n","g"),u={"text/rtf":1,"text/html":1};function s(e){if("file"==e.kind)return e.getAsFile()}var c=(l.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(e){return u[e]})},l.prototype.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},l.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},l.prototype.isLink=function(){return this.types.some(function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")})},l.prototype.getLink=function(){return this.data.getData?-1==this.types.indexOf("text/x-moz-url")?-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):this.data.getData("text/x-moz-url").split("\n")[0]:null},l.prototype.isImage=function(){var e=this.types.some(function(e){return-1!=e.indexOf("application/x-moz-file")});if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var r=t[n].type;if(!o.isImage(r))return!1}return!0},l.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},l.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(s).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},l.prototype.hasFiles=function(){return 0<this.getFiles().length},l);function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),this.data=e,this.types=e.types?r(e.types):[]}e.exports=c},function(e,t,n){"use strict";e.exports=function e(t){if(t instanceof Element){var n=t.getAttribute("data-offset-key");if(n)return n;for(var r=0;r<t.childNodes.length;r++){var o=e(t.childNodes[r]);if(o)return o}}return null}},function(e,t,n){"use strict";(function(i){var a=n(17),u=/\.textClipping$/,s={"text/plain":!0,"text/html":!0,"text/rtf":!0};e.exports=function(t,n){var r=0,o=[];t.forEach(function(e){!function(e,t){if(!i.FileReader||e.type&&!(e.type in s))return t("");if(""===e.type){var n="";return u.test(e.name)&&(n=e.name.replace(u,"")),t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&a(!1),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(e,function(e){r++,e&&o.push(e.slice(0,5e3)),r==t.length&&n(o.join("\r"))})})}}).call(this,n(36))},function(e,t,n){"use strict";var b=n(118),w=n(53);e.exports=function(e,t,n,r,o){var i=w(e.getSelection()),a=b.decode(t),u=a.blockKey,s=e.getBlockTree(u).getIn([a.decoratorKey,"leaves",a.leafKey]),c=b.decode(r),l=c.blockKey,f=e.getBlockTree(l).getIn([c.decoratorKey,"leaves",c.leafKey]),d=s.get("start"),p=f.get("start"),h=s?d+n:null,g=f?p+o:null;if(i.getAnchorKey()===u&&i.getAnchorOffset()===h&&i.getFocusKey()===l&&i.getFocusOffset()===g)return i;var v=!1;if(u===l){var y=s.get("end"),m=f.get("end");v=p===d&&m===y?o<n:p<d}else{v=e.getCurrentContent().getBlockMap().keySeq().skipUntil(function(e){return e===u||e===l}).first()===l}return i.merge({anchorKey:u,anchorOffset:h,focusKey:l,focusOffset:g,isBackward:v})}},function(e,t,n){"use strict";var r=n(116);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},function(e,t,n){"use strict";var r=n(58),u=n(17);var o=r.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var o=r===e.commonAncestorContainer;o?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var i,a=Array.from(t.getClientRects());if(n.push(a),o)return n.reverse(),(i=[]).concat.apply(i,n);t.setEndBefore(r)}u(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=o},function(e,t,n){"use strict";var f=n(157),d=n(250),p=n(252),h=n(17),g=n(53);function v(e,t,n){var r=t,o=f(r);if(null!=o||e&&(e===r||e.firstChild===r)||h(!1),e===r&&((r=r.firstChild)instanceof Element&&"true"===r.getAttribute("data-contents")||h(!1),0<n&&(n=r.childNodes.length)),0===n){var i=null;if(null!=o)i=o;else{var a=function(e){for(;e.firstChild&&(e.firstChild instanceof Element&&"true"===e.firstChild.getAttribute("data-blocks")||d(e.firstChild));)e=e.firstChild;return e}(r);i=g(d(a))}return{key:i,offset:0}}var u=r.childNodes[n-1],s=null,c=null;if(d(u)){var l=function(e){for(;e.lastChild&&(e.lastChild instanceof Element&&"true"===e.lastChild.getAttribute("data-blocks")||d(e.lastChild));)e=e.lastChild;return e}(u);s=g(d(l)),c=y(l)}else s=g(o),c=y(u);return{key:s,offset:c}}function y(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,r,o,i){var a=n.nodeType===Node.TEXT_NODE,u=o.nodeType===Node.TEXT_NODE;if(a&&u)return{selectionState:p(e,g(f(n)),r,g(f(o)),i),needsRecovery:!1};var s=null,c=null,l=!0;return a?(s={key:g(f(n)),offset:r},c=v(t,o,i)):u?(c={key:g(f(o)),offset:i},s=v(t,n,r)):(s=v(t,n,r),c=v(t,o,i),n===o&&r===i&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:p(e,s.key,s.offset,c.key,c.offset),needsRecovery:l}}},function(e,t,n){"use strict";var r="\\s|(?![_])"+n(490).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(e,t){var n=t?i.exec(e):o.exec(e);return n?n[0]:e}var u={getBackward:function(e){return a(e,!0)},getForward:function(e){return a(e,!1)}};e.exports=u},function(e,t,n){"use strict";e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),u=o;return n=t>a.getBlockForKey(o).getText().length-i?(u=a.getKeyAfter(o),0):i+t,r.merge({focusKey:u,focusOffset:n})}},function(e,t,n){"use strict";var r,L=o||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(37);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null}function D(t,e,n){var r=n.filter(function(e){return e.element===t||e.wrapper===t||e.aliasedElements&&e.aliasedElements.some(function(e){return e===t})}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r](e,t);if(o)return o}return null}(t,e,[a])||"unstyled"}}function M(e,t,n){var r=e.text.slice(-1),o=t.text.slice(0,1);if("\r"!==r||"\r"!==o||n||(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===r){if(" "===t.text||"\n"===t.text)return e;" "!==o&&"\n"!==o||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}}function R(e){e instanceof HTMLAnchorElement||g(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t}function N(){return L({},Q,{text:"\n",inlines:[V()],entities:new Array(1)})}function F(e,t,n){var r=2<arguments.length&&void 0!==n?n:null;return{text:"\r",inlines:[V()],entities:new Array(1),blocks:[function(e){return L({},w,0<arguments.length&&void 0!==e?e:{})}({parent:r,key:_(),type:e,depth:Math.max(0,Math.min(4,t))})]}}function B(e,t,n,r,o,i,a,u,s,c){var l,f,d=X,p=t.nodeName.toLowerCase(),h=e,g="unstyled",v=!1,y=o&&D(o,r,u),m=L({},Q),b=void 0;if("#text"===p){var w=t.textContent,S=w.trim();if(r&&""===S&&t.parentElement){var x=t.parentElement.nodeName.toLowerCase();if("ol"===x||"ul"===x)return{chunk:L({},Q),entityMap:e}}return""===S&&"pre"!==o?{chunk:(l=s,f=new Array(1),l&&(f[0]=l),L({},Q,{text:" ",inlines:[V()],entities:f})),entityMap:e}:("pre"!==o&&(w=w.replace(q," ")),X=p,{chunk:{text:w,inlines:Array(w.length).fill(n),entities:Array(w.length).fill(s),blocks:[]},entityMap:e})}if("br"===(X=p))return"br"!==d||o&&"unstyled"!==y?{chunk:N(),entityMap:e}:{chunk:F("unstyled",a,c),entityMap:e};if("img"===p&&t instanceof HTMLImageElement&&t.attributes.getNamedItem("src")&&t.attributes.getNamedItem("src").value){var k=t,E={};Z.forEach(function(e){var t=k.getAttribute(e);t&&(E[e]=t)}),t.textContent="📷",s=z.__create("IMAGE","MUTABLE",E||{})}n=function(e,t,n){var r=G[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations(function(e){var t=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;0<=H.indexOf(t)?e.add("BOLD"):0<=W.indexOf(t)&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}(p,t,n),"ul"!==p&&"ol"!==p||(r&&(a+=1),r=p),!K&&"li"===p&&t instanceof HTMLElement&&(a=function(t,e){var n=1<arguments.length&&void 0!==e?e:0;return Object.keys($).some(function(e){t.classList.contains(e)&&(n=$[e])}),n}(t,a));var O=D(p,r,u),_=r&&"li"===o&&"li"===p,A=(!o||K)&&-1!==i.indexOf(p);(_||A)&&(b=(m=F(O,a,c)).blocks[0].key,o=p,v=!K),_&&(g="ul"===r?"unordered-list-item":"ordered-list-item");var C=t.firstChild;null!=C&&(p=C.nodeName.toLowerCase());for(var T=null;C;){C instanceof HTMLAnchorElement&&C.href&&R(C)?function(){var n=C,r={};Y.forEach(function(e){var t=n.getAttribute(e);t&&(r[e]=t)}),r.url=new U(n.href).toString(),T=z.__create("LINK","MUTABLE",r||{})}():T=void 0;var I=B(h,C,n,r,o,i,a,u,T||s,K?b:null),j=I.chunk;h=I.entityMap,m=M(m,j,K);var P=C.nextSibling;!c&&P&&0<=i.indexOf(p)&&o&&(m=M(m,N())),P&&(p=P.nodeName.toLowerCase()),C=P}return v&&(m=M(m,F(g,a,c))),{chunk:m,entityMap:h}}function u(e,t,n,r){e=e.trim().replace(v,"").replace(y," ").replace(m,"").replace(b,"");var o,i,a,u=(i=(o=n).get("unstyled").element,a=h([]),o.forEach(function(e){e.aliasedElements&&e.aliasedElements.forEach(function(e){a=a.add(e)}),a=a.add(e.element)}),a.filter(function(e){return e&&e!==i}).toArray().sort()),s=t(e);if(!s)return null;X=null;var c,l=(c=e,u.some(function(e){return-1!==c.indexOf("<"+e)})?u:["div"]),f=B(r,s,V(),"ul",null,l,-1,n),d=f.chunk,p=f.entityMap;return 0===d.text.indexOf("\r")&&(d={text:d.text.slice(1),inlines:d.inlines.slice(1),entities:d.entities.slice(1),blocks:d.blocks}),"\r"===d.text.slice(-1)&&(d.text=d.text.slice(0,-1),d.inlines=d.inlines.slice(0,-1),d.entities=d.entities.slice(0,-1),d.blocks.pop()),0===d.blocks.length&&d.blocks.push(L({},Q,{type:"unstyled",depth:0})),d.text.split("\r").length===d.blocks.length+1&&d.blocks.unshift({type:"unstyled",depth:0}),{chunk:d,entityMap:p}}var E=n(42),s=n(72),O=n(44),c=n(151),z=n(117),l=n(64),f=n(16),h=n(16).Set,U=n(501),d=n(81),_=n(61),p=n(259),g=n(17),A=n(149),K=l.draft_tree_data_support,C=f.List,V=f.OrderedSet,v=new RegExp("\r","g"),q=new RegExp("\n","g"),y=new RegExp("&nbsp;","g"),m=new RegExp("&#13;?","g"),b=new RegExp("&#8203;?","g"),H=["bold","bolder","500","600","700","800","900"],W=["light","lighter","100","200","300","400"],G={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},$=(i(r={},d("public/DraftStyleDefault/depth0"),0),i(r,d("public/DraftStyleDefault/depth1"),1),i(r,d("public/DraftStyleDefault/depth2"),2),i(r,d("public/DraftStyleDefault/depth3"),3),i(r,d("public/DraftStyleDefault/depth4"),4),r),Y=["className","href","rel","target","title"],Z=["alt","className","height","src","width"],X=void 0,Q={text:"",inlines:[],entities:[],blocks:[]},w={children:C(),depth:0,key:"",type:""};e.exports=function(e,t,n){var r=u(e,1<arguments.length&&void 0!==t?t:p,2<arguments.length&&void 0!==n?n:c,z);if(null==r)return null;var o=r.chunk,i=r.entityMap;return{contentBlocks:function(e){if(!e||!e.text||!Array.isArray(e.blocks))return null;var b=0,w=e.blocks,S=e.inlines,x=e.entities,k=K?O:s;return e.text.split("\r").reduce(function(e,t,n){t=A(t);var r=w[n],o=b+t.length,i=S.slice(b,o),a=x.slice(b,o),u=C(i.map(function(e,t){var n={style:e,entity:null};return a[t]&&(n.entity=a[t]),E.create(n)}));b=o+1;var s=r.depth,c=r.type,l=r.parent,f=r.key||_(),d=null;if(l){var p=e.cacheRef[l],h=e.contentBlocks[p];if(h.getChildKeys().isEmpty()&&h.getText()){var g=h.getCharacterList(),v=h.getText();d=_();var y=new O({key:d,text:v,characterList:g,parent:l,nextSibling:f});e.contentBlocks.push(y),h=h.withMutations(function(e){e.set("characterList",C()).set("text","").set("children",h.children.push(y.getKey()))})}e.contentBlocks[p]=h.set("children",h.children.push(f))}var m=new k({key:f,parent:l,type:c,depth:s,text:t,characterList:u,prevSibling:d||(0===n||w[n-1].parent!==l?null:w[n-1].key),nextSibling:n===w.length-1||w[n+1].parent!==l?null:w[n+1].key});return e.contentBlocks.push(m),e.cacheRef[m.key]=n,e},{cacheRef:{},contentBlocks:[]}).contentBlocks}(o),entityMap:i}}},function(e,t,n){"use strict";var r=n(58),o=n(17),i=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},function(e,t,n){"use strict";var c=n(38),d=n(20),p=(n(80),n(502)),l=n(53),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some(function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()})},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=c.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=d.push(e,t,"insert-characters");return d.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockBefore(r);if(o&&"atomic"===o.getType()){var i=n.getBlockMap().delete(o.getKey()),a=n.merge({blockMap:i,selectionAfter:t});if(a!==n)return d.push(e,a,"remove-range")}var u=s.tryToRemoveBlockStyle(e);return u?d.push(e,u,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockForKey(r).getLength();if(t.getStartOffset()<o)return null;var i=n.getBlockAfter(r);if(!i||"atomic"!==i.getType())return null;var a=t.merge({focusKey:i.getKey(),focusOffset:i.getLength()}),u=c.removeRange(n,a,"forward");return u!==n?d.push(e,u,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),o=r.getAnchorKey();if(o!==r.getFocusKey())return t;var i=t.getCurrentContent(),a=i.getBlockForKey(o),u=a.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;e.preventDefault();var s=i.getBlockBefore(o);if(!s)return t;var c=s.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return t;var l=a.getDepth();if(!e.shiftKey&&l===n)return t;n=Math.min(s.getDepth()+1,n);var f=p(i,r,e.shiftKey?-1:1,n);return d.push(t,f,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),o=n.getEndKey(),i=e.getCurrentContent(),a=n;if(r!==o&&0===n.getEndOffset()){var u=l(i.getBlockBefore(o));o=u.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:o,focusOffset:u.getLength(),isBackward:!1})}if(i.getBlockMap().skipWhile(function(e,t){return t!==r}).reverse().skipWhile(function(e,t){return t!==o}).some(function(e){return"atomic"===e.getType()}))return e;var s=i.getBlockForKey(r).getType()===t?"unstyled":t;return d.push(e,c.setBlockType(i,a,s),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return d.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var o,i=e.getCurrentContent();return o=r.has(t)?c.removeInlineStyle(i,n,t):c.applyInlineStyle(i,n,t),d.push(e,o,"change-inline-style")},toggleLink:function(e,t,n){var r=c.applyEntity(e.getCurrentContent(),t,n);return d.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),o=e.getCurrentContent(),i=o.getBlockForKey(r),a=o.getFirstBlock();if(0<i.getLength()&&i!==a)return null;var u=i.getType(),s=o.getBlockBefore(r);if("code-block"===u&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==u)return c.setBlockType(o,t,"unstyled")}return null}};e.exports=s},function(e,t,n){"use strict";var r=n(158),o=n(152),i=n(58),a=i.isPlatform("Mac OS X"),u=i.isPlatform("Windows"),s=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,l=r.isCtrlKeyCommand;function f(e){return a&&e.altKey||l(e)}e.exports=function(e){switch(e.keyCode){case 66:return c(e)?"bold":null;case 68:return l(e)?"delete":null;case 72:return l(e)?"backspace":null;case 73:return c(e)?"italic":null;case 74:return c(e)?"code":null;case 75:return!u&&l(e)?"secondary-cut":null;case 77:case 79:return l(e)?"split-block":null;case 84:return a&&l(e)?"transpose-characters":null;case 85:return c(e)?"underline":null;case 87:return a&&l(e)?"backspace-word":null;case 89:return l(e)?u?"redo":"secondary-paste":null;case 90:return(c(r=e)?r.shiftKey?"redo":"undo":null)||null;case o.RETURN:return"split-block";case o.DELETE:return n=e,u&&n.shiftKey?null:f(n)?"delete-word":"delete";case o.BACKSPACE:return c(t=e)&&a?"backspace-to-start-of-line":f(t)?"backspace-word":"backspace";case o.LEFT:return s&&c(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&c(e)?"move-selection-to-end-of-block":null;default:return null}var t,n,r}},function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},function(e,t,n){var r=n(144),o=n(138),i=n(146),a=n(232),u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=u},function(e,t,n){var r=n(231),o=n(263),i=n(113);e.exports=function(e){return r(e,i,o)}},function(e,t,n){"use strict";n.d(t,"a",function(){return Ie});var r=n(9),o=n.n(r),i=n(10),a=n.n(i),u=n(2),s=n.n(u),c=n(122),l=n.n(c),y=n(3),f=n(34),v=n.n(f);function p(e){return"".concat(y.M).concat(e)}var d=n(11),h=n.n(d),g=n(85),m=n.n(g),b=n(161),w=n.n(b),S=n(271),x=n.n(S);function k(e){return(k="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)}function E(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function O(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=u.apply(e,a);function o(e){E(r,t,n,o,i,"next",e)}function i(e){E(r,t,n,o,i,"throw",e)}o(void 0)})}}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function."),C=function(){function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}var e,t,n,r,o,i,a,s;return e=u,t=null,n=[{key:"getToken",value:(s=O(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n&&"string"!=typeof n&&"function"!=typeof n||!t.startsWith(y.N)&&!t.startsWith(y.M))throw A;e.next=2;break;case 2:if(n&&"string"!=typeof n){e.next=4;break}return e.abrupt("return",n);case 4:return e.next=6,n(t);case 6:if(!(r=e.sent)||"string"==typeof r||"object"===k(r)&&(r.read||r.write))return e.abrupt("return",r);e.next=9;break;case 9:throw A;case 10:case"end":return e.stop()}},e)})),function(e,t){return s.apply(this,arguments)})},{key:"getReadToken",value:(a=O(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.getToken(t,n);case 2:if((r=e.sent)&&"object"===k(r))return e.abrupt("return",r.read);e.next=5;break;case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}},e)})),function(e,t){return a.apply(this,arguments)})},{key:"getReadTokens",value:(i=O(regeneratorRuntime.mark(function e(t,n){var r,o,i,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=Array.isArray(t)?t:[t],o=r.map(function(e){return u.getReadToken(e,n)}),e.next=4,Promise.all(o);case 4:return i=e.sent,a={},i.forEach(function(e,t){a[r[t]]=e}),e.abrupt("return",Promise.resolve(a));case 8:case"end":return e.stop()}},e)})),function(e,t){return i.apply(this,arguments)})},{key:"getWriteToken",value:(o=O(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.getToken(t,n);case 2:if((r=e.sent)&&"object"===k(r))return e.abrupt("return",r.write||r.read);e.next=5;break;case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}},e)})),function(e,t){return o.apply(this,arguments)})},{key:"cacheTokens",value:(r=O(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n&&"string"!=typeof n&&"function"!=typeof n||!t.every(function(e){return e.startsWith(y.N)||e.startsWith(y.M)}))throw A;e.next=2;break;case 2:if("function"==typeof n)return e.next=5,n(t);e.next=5;break;case 5:return e.abrupt("return",Promise.resolve());case 6:case"end":return e.stop()}},e)})),function(e,t){return r.apply(this,arguments)})}],t&&_(e.prototype,t),n&&_(e,n),u}();function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach(function(e){L(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function j(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=[y.x,y.z,y.y].map(x.a),M=function(){function g(){var o=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.clientName,r=e.language,i=e.token,a=e.version,u=e.sharedLink,s=e.sharedLinkPassword,c=e.responseInterceptor,l=e.requestInterceptor,f=e.retryableStatusCodes,d=void 0===f?[y.E]:f,p=e.shouldRetry,h=void 0===p||p;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),L(this,"retryCount",0),L(this,"errorInterceptor",function(n){if(o.shouldRetryRequest(n)){o.retryCount+=1;var r=o.getExponentialRetryTimeoutInMs(o.retryCount);return new Promise(function(e,t){o.retryTimeout=setTimeout(function(){o.axios(n.config).then(e,t)},r)})}var e=v()(n,"response.data")||n;return o.responseInterceptor(e),Promise.reject(n)}),this.clientName=n,this.id=t,this.language=r,this.responseInterceptor=c||this.defaultResponseInterceptor,this.retryableStatusCodes=d,this.sharedLink=u,this.sharedLinkPassword=s,this.shouldRetry=h,this.token=i,this.version=a,this.axios=m.a.create(),this.axiosSource=m.a.CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof l&&this.axios.interceptors.request.use(l)}var e,t,n,u,r;return e=g,(t=[{key:"defaultResponseInterceptor",value:function(e){return e}},{key:"shouldRetryRequest",value:function(e){if(!this.shouldRetry||3<=this.retryCount)return!1;var t=e.response,n=e.request,r=e.config,o=v()(t,"status"),i=v()(r,"method"),a=n&&!t,u=o===y.E,s=w()(this.retryableStatusCodes,o)&&w()(D,i);return a||u||s}},{key:"getExponentialRetryTimeoutInMs",value:function(e){var t=Math.ceil(1e3*Math.random());return 1e3*Math.pow(2,e-1)+t}},{key:"getParsedUrl",value:function(e){var t=document.createElement("a");return{api:(t.href=e).replace("".concat(t.origin,"/2.0"),""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}},{key:"getHeaders",value:(u=regeneratorRuntime.mark(function e(t){var n,r,o,i,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=1<a.length&&void 0!==a[1]?a[1]:{},r=I(L({Accept:"application/json"},y.v,"application/json"),n),this.language&&!r[y.s]&&(r[y.s]=this.language),this.sharedLink&&(r.BoxApi="shared_link=".concat(this.sharedLink),this.sharedLinkPassword&&(r.BoxApi="".concat(r.BoxApi,"&shared_link_password=").concat(this.sharedLinkPassword))),this.clientName&&(r[y.t]=this.clientName),this.version&&(r[y.u]=this.version),o=t||this.id||"",e.next=9,C.getWriteToken(o,this.token);case 9:return(i=e.sent)&&(r.Authorization="Bearer ".concat(i)),e.abrupt("return",r);case 12:case"end":return e.stop()}},e,this)}),r=function(){var e=this,a=arguments;return new Promise(function(t,n){var r=u.apply(e,a);function o(e){j(r,t,n,o,i,"next",e)}function i(e){j(r,t,n,o,i,"throw",e)}o(void 0)})},function(e){return r.apply(this,arguments)})},{key:"get",value:function(e){var t=this,n=e.url,r=e.id,o=e.params,i=void 0===o?{}:o,a=e.headers,u=void 0===a?{}:a;return this.getHeaders(r,u).then(function(e){return t.axios.get(n,{cancelToken:t.axiosSource.token,params:i,headers:e,parsedUrl:t.getParsedUrl(n)})})}},{key:"post",value:function(e){var t=this,n=e.url,r=e.id,o=e.data,i=e.params,a=e.headers,u=void 0===a?{}:a,s=e.method,c=void 0===s?y.A:s;return this.getHeaders(r,u).then(function(e){return t.axios({url:n,data:o,params:i,method:c,parsedUrl:t.getParsedUrl(n),headers:e})})}},{key:"put",value:function(e){var t=e.url,n=e.id,r=e.data,o=e.params,i=e.headers,a=void 0===i?{}:i;return this.post({id:n,url:t,data:r,params:o,headers:a,method:y.B})}},{key:"delete",value:function(e){var t=e.url,n=e.id,r=e.data,o=void 0===r?{}:r,i=e.headers,a=void 0===i?{}:i;return this.post({id:n,url:t,data:o,headers:a,method:y.w})}},{key:"options",value:function(e){var t=this,n=e.id,r=e.url,o=e.data,i=e.headers,a=void 0===i?{}:i,u=e.successHandler,s=e.errorHandler;return this.getHeaders(n,a).then(function(e){return t.axios({url:r,data:o,method:y.z,headers:e}).then(u).catch(s)}).catch(s)}},{key:"uploadFile",value:function(e){var o=this,t=e.id,i=e.url,a=e.data,n=e.headers,u=void 0===n?{}:n,r=e.method,s=void 0===r?y.A:r,c=e.successHandler,l=e.errorHandler,f=e.progressHandler,d=e.withIdleTimeout,p=void 0!==d&&d,h=e.idleTimeoutDuration,g=void 0===h?12e4:h,v=e.idleTimeoutHandler;return this.getHeaders(t,u).then(function(e){var t,n=f;if(p){var r=function(){o.abort(),v&&v()};t=setTimeout(r,g),n=function(e){clearTimeout(t),t=setTimeout(r,g),f(e)}}o.axios({url:i,data:a,transformRequest:function(t,e){if(delete e[y.r],delete e[y.v],u[y.v]&&(e[y.v]=u[y.v]),!t||t instanceof Blob||!t.attributes)return t;var n=new FormData;return Object.keys(t).forEach(function(e){n.append(e,t[e])}),n},method:s,headers:e,onUploadProgress:n,cancelToken:o.axiosSource.token}).then(function(e){clearTimeout(t),c(e)}).catch(function(e){clearTimeout(t),l(e)})}).catch(l)}},{key:"abort",value:function(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=m.a.CancelToken.source())}}])&&P(e.prototype,t),n&&P(e,n),g}();function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var N=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cache={}}var t,n,r;return t=e,(n=[{key:"set",value:function(e,t){this.cache[e]=t}},{key:"merge",value:function(e,t){if(!this.has(e))throw new Error("Key ".concat(e," not in cache!"));this.set(e,l()({},this.get(e),t))}},{key:"unset",value:function(e){delete this.cache[e]}},{key:"unsetAll",value:function(t){var n=this;Object.keys(this.cache).forEach(function(e){e.startsWith(t)&&delete n.cache[e]})}},{key:"has",value:function(e){return{}.hasOwnProperty.call(this.cache,e)}},{key:"get",value:function(e){if(this.has(e))return this.cache[e]}}])&&R(t.prototype,n),r&&R(t,r),e}();function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var B=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.memoryStore=new N;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}var t,n,r;return t=e,(n=[{key:"buildKey",value:function(e){return"".concat("localStore","/").concat("0","/").concat(e)}},{key:"canUseLocalStorage",value:function(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}},{key:"setItem",value:function(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}},{key:"getItem",value:function(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{var t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}},{key:"removeItem",value:function(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}}])&&F(t.prototype,n),r&&F(t,r),e}();function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function K(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=u.apply(e,a);function o(e){U(r,t,n,o,i,"next",e)}function i(e){U(r,t,n,o,i,"throw",e)}o(void 0)})}}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var q="bcu-uploads-reachability-cached-results",H=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.localStore=new B,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}var t,n,r,o,i;return t=e,(n=[{key:"getCachedResultsFromLocalStore",value:function(){return this.localStore.getItem(q)}},{key:"saveCachedResultsToLocalStore",value:function(){this.localStore.setItem(q,this.cachedResults)}},{key:"isCachedHostValid",value:function(e){return e.expirationTimestampMS>Date.now()}},{key:"getCachedResult",value:function(e){if(e in this.cachedResults){var t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}},{key:"updateCachedResult",value:function(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}},{key:"populateCachedResultsWithValidLocalStoreValues",value:function(){var n=this,r=this.getCachedResultsFromLocalStore();r&&Object.keys(r).forEach(function(e){var t=r[e];n.isCachedHostValid(t)&&(n.cachedResults[e]=t)})}},{key:"getUnreachableHostsUrls",value:function(){var n=this,r=[];return this.cachedResults&&Object.keys(this.cachedResults).forEach(function(e){var t=n.cachedResults[e];n.isCachedHostValid(t)&&!t.isReachable&&r.push(e)}),r}},{key:"isReachable",value:(i=K(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t==="".concat(y.b,"/")||t==="".concat(y.c,"/"))return e.abrupt("return",!0);e.next=2;break;case 2:if(n=this.getCachedResult(t))return e.abrupt("return",n.isReachable);e.next=5;break;case 5:return e.next=7,this.makeReachabilityRequest(t);case 7:return r=e.sent,this.updateCachedResult(t,r),e.abrupt("return",r);case 10:case"end":return e.stop()}},e,this)})),function(e){return i.apply(this,arguments)})},{key:"makeReachabilityRequest",value:(o=K(regeneratorRuntime.mark(function e(t){var n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"html5?reachability_test=run"),z(n={},y.v,"application/x-www-form-urlencoded; charset=UTF-8"),z(n,"X-File-Name","reachability_pseudofile.txt"),z(n,"X-File-Size","1234"),o=n,e.prev=3,e.next=6,m.a.post(r,"reachability_file=test_file_data",{headers:o});case 6:e.next=11;break;case 8:return e.prev=8,e.t0=e.catch(3),e.abrupt("return",!1);case 11:return e.abrupt("return",!0);case 12:case"end":return e.stop()}},e,null,[[3,8]])})),function(e){return o.apply(this,arguments)})}])&&V(t.prototype,n),r&&V(t,r),e}();function W(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function G(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?G(Object(n),!0).forEach(function(e){Z(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=function(){function t(e){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Z(this,"successHandler",function(e){n.isDestroyed()||"function"!=typeof n.successCallback||n.successCallback(e)}),Z(this,"errorHandler",function(e){if(!n.isDestroyed()&&"function"==typeof n.errorCallback){var t=e.response;t&&t.data?n.errorCallback(t.data,n.errorCode):n.errorCallback(e,n.errorCode)}}),this.cache=e.cache||new N,this.apiHost=e.apiHost||y.a,this.uploadHost=e.uploadHost||y.b,this.options=$({},e,{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new M(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||h.a,this.consoleError=e.consoleError&&window.console&&window.console.error||h.a,this.uploadsReachability=new H}var e,n,r,u,i;return e=t,(n=[{key:"destroy",value:function(){this.xhr.abort(),this.destroyed=!0}},{key:"isDestroyed",value:function(){return this.destroyed}},{key:"checkApiCallValidity",value:function(e,t,n){if(!n||!t)throw new Error("Bad box item!");if(!t[e])throw new Error("Insufficient Permissions!")}},{key:"getBaseApiUrl",value:function(){var e=this.apiHost.endsWith("/")?"2.0":"/2.0";return"".concat(this.apiHost).concat(e)}},{key:"getBaseUploadUrl",value:function(){var e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return"".concat(this.uploadHost).concat(e)}},{key:"getCache",value:function(){return this.cache}},{key:"getUrl",value:function(){throw new Error("Implement me!")}},{key:"format",value:function(){throw new Error("Implement me!")}},{key:"get",value:function(e){var t=e.id,n=e.successCallback,r=e.errorCallback,o=e.requestData,i=e.url||this.getUrl(t);return this.makeRequest(y.x,t,i,n,r,o)}},{key:"post",value:function(e){var t=e.id,n=e.url,r=e.data,o=e.successCallback,i=e.errorCallback;return this.makeRequest(y.A,t,n,o,i,r)}},{key:"put",value:function(e){var t=e.id,n=e.url,r=e.data,o=e.successCallback,i=e.errorCallback;return this.makeRequest(y.B,t,n,o,i,r)}},{key:"delete",value:function(e){var t=e.id,n=e.url,r=e.data,o=e.successCallback,i=e.errorCallback;return this.makeRequest(y.w,t,n,o,i,r)}},{key:"makeRequest",value:(u=regeneratorRuntime.mark(function e(t,n,r,o,i){var a,u,s,c,l=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=5<l.length&&void 0!==l[5]?l[5]:{},this.isDestroyed())return e.abrupt("return");e.next=3;break;case 3:return this.successCallback=o,this.errorCallback=i,u=this.xhr[t.toLowerCase()].bind(this.xhr),e.prev=6,e.next=9,u($({id:p(n),url:r},a));case 9:s=e.sent,c=s.data,this.successHandler(c),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(6),this.errorHandler(e.t0);case 17:case"end":return e.stop()}},e,this,[[6,14]])}),i=function(){var e=this,a=arguments;return new Promise(function(t,n){var r=u.apply(e,a);function o(e){W(r,t,n,o,i,"next",e)}function i(e){W(r,t,n,o,i,"throw",e)}o(void 0)})},function(e,t,n,r,o){return i.apply(this,arguments)})}])&&Y(e.prototype,n),r&&Y(e,r),t}();function Q(e){return(Q="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)}function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ee(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?J(Object(n),!0).forEach(function(e){te(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function re(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=u.apply(e,a);function o(e){ne(r,t,n,o,i,"next",e)}function i(e){ne(r,t,n,o,i,"throw",e)}o(void 0)})}}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return!t||"object"!==Q(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,t){return(ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var se=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ie(this,ae(e).apply(this,arguments))}var t,n,r,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ue(e,t)}(e,X),t=e,(n=[{key:"hasMoreItems",value:function(e){return null!==e&&""!==e}},{key:"markerGetRequest",value:(i=re(regeneratorRuntime.mark(function e(t,n,r,o){var i,a,u,s,c,l,f,d=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=4<d.length&&void 0!==d[4]?d[4]:{},this.isDestroyed())return e.abrupt("return");e.next=3;break;case 3:return e.prev=3,a=this.getUrl(t),u=ee({},i,{marker:n,limit:r}),e.next=8,this.xhr.get({url:a,id:p(t),params:u});case 8:if(s=e.sent,c=s.data,l=this.data?this.data.entries:[],this.data=ee({},c,{entries:l.concat(c.entries)}),f=c.next_marker,o&&this.hasMoreItems(f))return this.markerGetRequest(t,f,r,o,i),e.abrupt("return");e.next=16;break;case 16:this.successHandler(this.data),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(3),this.errorHandler(e.t0);case 22:case"end":return e.stop()}},e,this,[[3,19]])})),function(e,t,n,r){return i.apply(this,arguments)})},{key:"markerGet",value:(o=re(regeneratorRuntime.mark(function e(t){var n,r,o,i,a,u,s,c,l,f;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,r=t.successCallback,o=t.errorCallback,i=t.marker,a=void 0===i?"":i,u=t.limit,s=void 0===u?1e3:u,c=t.requestData,l=t.shouldFetchAll,f=void 0===l||l,this.successCallback=r,this.errorCallback=o,e.abrupt("return",this.markerGetRequest(n,a,s,f,c));case 4:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)})}])&&oe(t.prototype,n),r&&oe(t,r),e}();function ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fe(e){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ce(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(fe)),t}function de(e){return(de="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)}function pe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function he(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pe(Object(n),!0).forEach(function(e){be(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=function(){function u(){var e,r,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=this,n=(e=ve(u)).call.apply(e,[this].concat(i)),r=!n||"object"!==de(n)&&"function"!=typeof n?ye(t):n,be(ye(r),"successHandler",function(e){if(!r.isDestroyed()&&"function"==typeof r.successCallback)if(e){if(!e.entries)return e.type&&"comment"===e.type?void r.successCallback(fe(e)):void r.successCallback(r.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){var t=e.entries.map(fe);r.successCallback(he({},e,{entries:t}))}else{var n=e.entries.map(r.formatReplies);r.successCallback(he({},e,{entries:n}))}}else r.successCallback()}),r}var e,t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&me(e,t)}(u,se),e=u,(t=[{key:"formatReplies",value:function(e){return e.replies&&e.replies.length?he({},e,{replies:e.replies.map(fe)}):e}},{key:"getUrl",value:function(){return"".concat(this.getBaseApiUrl(),"/undoc/annotations")}},{key:"getUrlForId",value:function(e){return"".concat(this.getUrl(),"/").concat(e)}},{key:"getUrlWithRepliesForId",value:function(e){return"".concat(this.getUrlForId(e),"/replies")}},{key:"createAnnotation",value:function(e,t,n,r,o,i){this.errorCode=y.e;try{this.checkApiCallValidity(y.H,r,e)}catch(e){return void i(e,this.errorCode)}var a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:l()(a,n)},errorCallback:i,successCallback:o,url:this.getUrl()})}},{key:"updateAnnotation",value:function(e,t,n,r,o,i){this.errorCode=y.h;var a=r.message,u=r.status;if(a)try{this.checkApiCallValidity(y.J,n,e)}catch(e){return void i(e,this.errorCode)}if(u)try{this.checkApiCallValidity(y.K,n,e)}catch(e){return void i(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:u}},errorCallback:i,successCallback:o,url:this.getUrlForId(t)})}},{key:"deleteAnnotation",value:function(e,t,n,r,o){this.errorCode=y.g;try{this.checkApiCallValidity(y.I,n,e)}catch(e){return void o(e,this.errorCode)}this.delete({id:e,errorCallback:o,successCallback:r,url:this.getUrlForId(t)})}},{key:"getAnnotation",value:function(e,t,n,r,o,i){this.errorCode=y.i;try{this.checkApiCallValidity(y.L,n,e)}catch(e){return void o(e,this.errorCode)}var a=i?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:o,successCallback:r,url:this.getUrlForId(t),requestData:a})}},{key:"getAnnotations",value:function(e,t,n,r,o,i,a,u){this.errorCode=y.j;try{this.checkApiCallValidity(y.L,n,e)}catch(e){return void o(e,this.errorCode)}var s=he({file_id:e,file_version_id:t},u?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:o,limit:i,requestData:s,shouldFetchAll:a,successCallback:r})}},{key:"getAnnotationReplies",value:function(e,t,n,r,o){this.errorCode=y.k;try{this.checkApiCallValidity(y.L,n,e)}catch(e){return void o(e,this.errorCode)}this.get({id:e,errorCallback:o,successCallback:r,url:this.getUrlWithRepliesForId(t)})}},{key:"createAnnotationReply",value:function(e,t,n,r,o,i){this.errorCode=y.f;try{this.checkApiCallValidity(y.H,n,e)}catch(e){return void i(e,this.errorCode)}this.post({id:e,data:{data:{message:r}},errorCallback:i,successCallback:o,url:"".concat(this.getUrlWithRepliesForId(t),"?file_id=").concat(e)})}}])&&ge(e.prototype,t),n&&ge(e,n),u}();function Se(e){return(Se="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)}function xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ke(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(){function u(){var e,a,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t=this,n=(e=Ee(u)).call.apply(e,[this].concat(o)),a=!n||"object"!==Se(n)&&"function"!=typeof n?Oe(t):n,Ae(Oe(a),"successHandler",function(e){if(!a.isDestroyed()&&"function"==typeof a.successCallback){var t=e.entries.map(function(e){var t;return"group"===e.type?t=e:(t=e).email=t.login,{id:e.id,name:e.name,item:t}});a.successCallback(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(n),!0).forEach(function(e){Ae(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{entries:t}))}}),Ae(Oe(a),"getCollaboratorsWithQuery",function(e,t,n,r){var o=(4<arguments.length&&void 0!==arguments[4]?arguments[4]:{}).includeGroups,i=void 0!==o&&o;r&&""!==r.trim()&&a.getFileCollaborators(e,t,n,{filter_term:r,include_groups:i,include_uploader_collabs:!1})}),a}var e,t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(u,se),e=u,(t=[{key:"getUrl",value:function(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborators")}},{key:"getFileCollaborators",value:function(e,t,n,r,o){var i=3<arguments.length&&void 0!==r?r:{},a=4<arguments.length&&void 0!==o?o:y.d;this.markerGet({id:e,limit:a,successCallback:t,errorCallback:n,requestData:i})}}])&&ke(e.prototype,t),n&&ke(e,n),u}();function Te(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var Ie=function(){function t(e){o()(this,t),s()(this,"options",void 0),this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach(function(e){s()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({apiHost:y.a,clientName:"box-annotations"},e)}return a()(t,[{key:"getAnnotationsAPI",value:function(){return new we(this.options)}},{key:"getCollaboratorsAPI",value:function(){return new Ce(this.options)}}]),t}()},function(e,t,n){"use strict";n.d(t,"a",function(){return T});var r,o,i=n(54),a=n.n(i),u=n(5),s=n(119),c=n(2),l=n.n(c),f=n(11),d=n.n(f),p=n(30),h=n(27),g=n(12),v=n(18),y=n(23);(o=r=r||{}).ERROR="error",o.PENDING="pending",o.SUCCESS="success";function m(l){return function(e,t,n){return o=l,i=(r=n).error,a=r.meta,u=(a=void 0===a?{}:a).arg,s=a.requestId,c=r.payload,void h.a.emit(g.Event.ANNOTATION_CREATE,{annotation:c||u,error:i,meta:{requestId:s,status:o}});var r,o,i,a,u,s,c}}function b(e){var t=null;return Object(E.k)(e)&&(t="region"),Object(E.j)(e)&&(t="highlight"),t}var w,S=m(r.ERROR),x=m(r.PENDING),k=m(r.SUCCESS),E=n(19),O=n(45),_=n(74),A=(w={},l()(w,p.a.fulfilled.toString(),k),l()(w,p.a.pending.toString(),x),l()(w,p.a.rejected.toString(),S),l()(w,p.b.rejected.toString(),function(e,t,n){h.a.emit(g.Event.ANNOTATION_FETCH_ERROR,n)}),l()(w,E.l.toString(),function(e){var t=Object(E.f)(e),n=b(t);h.a.emit(g.Event.CREATOR_STAGED_CHANGE,{type:n,status:"cancel"})}),l()(w,p.d.toString(),function(e,t){var n=Object(v.getActiveAnnotationId)(e),r=Object(v.getActiveAnnotationId)(t),o=Object(y.getFileVersionId)(t);n!==r&&h.a.emit(g.Event.ACTIVE_CHANGE,{annotationId:r,fileVersionId:o})}),l()(w,p.e.toString(),function(e,t){var n=Object(v.getIsInitialized)(e),r=Object(v.getIsInitialized)(t);n!==r&&r&&h.a.emit(g.Event.ANNOTATIONS_INITIALIZED,{annotations:Object(v.getAnnotations)(t)})}),l()(w,E.p.toString(),function(e,t){var n,r,o,i=Object(E.f)(e),a=Object(E.f)(t),u=(r=a,(o=null)===(n=i)&&null!==r&&(o="create"),null!==n&&(o=null===r?"cancel":"update"),o),s=b(i)||b(a);u&&s&&h.a.emit(g.Event.CREATOR_STAGED_CHANGE,{type:s,status:u})}),l()(w,E.q.toString(),function(e,t){var n=Object(E.h)(e),r=Object(E.h)(t);n!==r&&h.a.emit(g.Event.CREATOR_STATUS_CHANGE,{status:r,type:Object(O.c)(t)})}),l()(w,_.b.toString(),function(e,t){h.a.emit(g.Event.ANNOTATIONS_MODE_CHANGE,{mode:t.common.mode})}),w);var C=function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:A;return function(a){return function(i){return function(e){var t=e.type,n=a.getState(),r=i(e),o=a.getState();return(u[t]||d.a)(n,o,e),r}}}};function T(e){var t={extraArgument:{api:(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).api}};return Object(u.a)({devTools:!1,middleware:[].concat(a()(Object(u.e)({thunk:t})),[C()]),preloadedState:e,reducer:Object(s.a)()})}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,l=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}((e.exports=a).EventEmitter=a).prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a;if(s(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),0<(o=c(e))&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,console&&console.warn}return e}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(r);return o.listener=n,r.wrapFn=o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):g(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(0<t.length&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)l(u,this,t);else{var s=u.length,c=g(u,s);for(n=0;n<s;++n)l(c[n],this,t)}return!0},a.prototype.on=a.prototype.addListener=function(e,t){return f(this,e,t,!1)},a.prototype.prependListener=function(e,t){return f(this,e,t,!0)},a.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},a.prototype.off=a.prototype.removeListener=function(e,t){var n,r,o,i,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;0<=i;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;0<=r;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return 0<this._eventsCount?r(this._events):[]}},function(e,t,n){"use strict";var r=n(265);n.d(t,"default",function(){return r.a});n(223)},function(e,t,n){"use strict";(function(o){function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a,e=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"getUserAgent",value:function(){return o.navigator.userAgent}},{key:"isMobile",value:function(){var e=t.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}},{key:"isIE",value:function(){return/Trident/i.test(t.getUserAgent())}},{key:"isFirefox",value:function(){var e=t.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}},{key:"isSafari",value:function(){var e=t.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}},{key:"isMobileSafari",value:function(){return t.isMobile()&&t.isSafari()&&!t.isMobileChromeOniOS()}},{key:"isMobileChromeOniOS",value:function(){var e=t.getUserAgent();return t.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}},{key:"canPlayDash",value:function(e){if(void 0===a||0<arguments.length&&void 0!==e&&e){var t=o.MediaSource;a=!!t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return a}},{key:"canWriteToClipboard",value:function(){return!(!o.navigator.clipboard||!o.navigator.clipboard.writeText)}},{key:"canReadFromClipboard",value:function(){return!(!o.navigator.clipboard||!o.navigator.clipboard.readText)}}],(n=null)&&i(e.prototype,n),r&&i(e,r),t}();t.a=e}).call(this,n(36))},function(e,t,n){var r=n(369)(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()});e.exports=r},function(e,t,n){"use strict";e.exports=n(387)},function(e,t,n){var o=n(193),r=n(207)(function(e,t,n,r){o(e,t,n,r)});e.exports=r},function(e,t,n){var r=n(225),o=n(402),i=n(208),a=n(424),u=n(202),s=n(236),c=i(function(e){var t=s(e);return u(t)&&(t=void 0),a(r(e,1,u,!0),o(t,2))});e.exports=c},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,a,u){"use strict";(function(e){var t=u(29),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,o=r&&r.exports===n?t.a.Buffer:void 0,i=o?o.allocUnsafe:void 0;a.a=function(e,t){if(t)return e.slice();var n=e.length,r=i?i(n):new e.constructor(n);return e.copy(r),r}}).call(this,u(109)(e))},function(e,t,n){var r=n(222),o=n(92),i=n(89),a=n(40),u=n(78),s=n(90),c=n(111),l=n(112),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){var i=n(134),a=n(536),u=n(551),s=n(102),c=n(79),l=n(554),r=n(555),f=n(264),o=r(function(t,e){var n={};if(null==t)return n;var r=!1;e=i(e,function(e){return e=s(e,t),r=r||1<e.length,e}),c(t,f(t),n),r&&(n=a(n,7,l));for(var o=e.length;o--;)u(n,e[o]);return n});e.exports=o},function(e,t,n){var r=n(108),o=0;e.exports=function(e){var t=++o;return r(e)+t}},function(e,t,n){"use strict";n.d(t,"a",function(){return Ce});var r=n(9),s=n.n(r),o=n(10),a=n.n(o),i=n(6),u=n.n(i),c=n(75),l=n.n(c),f=n(14),d=n.n(f),p=n(15),h=n.n(p),g=n(7),v=n.n(g),y=n(2),k=n.n(y),m=n(101),b=n(127),w=n(69),E=n(59),S=n(4),x=n.n(S),O=n(1),_=n(55),A=function(){function u(e){var t=this,n=e.getSelection,r=e.referenceEl,o=e.selectionChangeDelay,i=void 0===o?0:o,a=e.store;s()(this,u),k()(this,"referenceEl",void 0),k()(this,"getSelection",void 0),k()(this,"selectionChangeDelay",void 0),k()(this,"selectionChangeTimer",void 0),k()(this,"store",void 0),k()(this,"handleMouseDown",function(e){e.buttons===_.a&&(clearTimeout(t.selectionChangeTimer),t.store.dispatch(Object(O.setIsSelectingAction)(!0)),t.store.dispatch(Object(O.setSelectionAction)(null)))}),k()(this,"handleMouseUp",function(){Object(O.getIsSelecting)(t.store.getState())&&(t.selectionChangeTimer=window.setTimeout(function(){t.store.dispatch(Object(O.setSelectionAction)(t.getSelection())),t.store.dispatch(Object(O.setIsSelectingAction)(!1))},t.selectionChangeDelay))}),this.getSelection=n,this.referenceEl=r,this.selectionChangeDelay=i,this.store=a}return a()(u,[{key:"exists",value:function(e){return e.contains(this.referenceEl)}},{key:"render",value:function(){this.store.dispatch(Object(O.setSelectionAction)(null)),this.referenceEl.addEventListener("mousedown",this.handleMouseDown),this.referenceEl.addEventListener("mouseup",this.handleMouseUp)}},{key:"style",value:function(e){return x()(this.referenceEl.style,e)}},{key:"destroy",value:function(){clearTimeout(this.selectionChangeTimer),this.referenceEl.removeEventListener("mousedown",this.handleMouseDown),this.referenceEl.removeEventListener("mouseup",this.handleMouseUp)}}]),u}(),C=n(100),T=n.n(C),I=function(){function o(e){var t=this,n=e.getSelection,r=e.store;s()(this,o),k()(this,"getSelection",void 0),k()(this,"store",void 0),k()(this,"handleSelectionChange",function(){Object(O.getIsSelecting)(t.store.getState())||t.store.dispatch(Object(O.setSelectionAction)(t.getSelection()))}),k()(this,"debounceHandleSelectionChange",T()(this.handleSelectionChange,500)),this.getSelection=n,this.store=r,document.addEventListener("selectionchange",this.debounceHandleSelectionChange)}return a()(o,[{key:"destroy",value:function(){document.removeEventListener("selectionchange",this.debounceHandleSelectionChange)}}]),o}(),j=n(0),P=n.n(j),L=n(26),D=n(47),M=n(22),R=n(33);n(560);function N(r){return function(){var e,t=v()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)}}var F=function(e){d()(i,e);var o=N(i);function i(){var e;s()(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=o.call.apply(o,[this].concat(n)),k()(u()(e),"canvasRef",j.createRef()),e}return a()(i,[{key:"componentDidMount",value:function(){this.scaleCanvas(),this.renderRects()}},{key:"componentDidUpdate",value:function(){this.clearCanvas(),this.renderRects()}},{key:"getContext",value:function(){var e,t=this.canvasRef.current;return null!==(e=null==t?void 0:t.getContext("2d"))&&void 0!==e?e:null}},{key:"scaleCanvas",value:function(){var e=this.canvasRef.current;e&&(e.width=e.offsetWidth,e.height=e.offsetHeight)}},{key:"clearCanvas",value:function(){var e=this.canvasRef.current,t=e&&e.getContext("2d");e&&t&&t.clearRect(0,0,e.width,e.height)}},{key:"renderRects",value:function(){var e,t,n=this.props.shapes,r=this.canvasRef.current,d=r&&r.getContext("2d"),p=null!==(e=null==r?void 0:r.height)&&void 0!==e?e:0,h=null!==(t=null==r?void 0:r.width)&&void 0!==t?t:0,o=Array.isArray(n)?n:[n];d&&o.forEach(function(e){var t=e.height,n=e.isActive,r=e.isHover,o=e.width,i=e.x,a=e.y;if(0!==o&&0!==t){var u=t/100*p,s=o/100*h,c=i/100*h,l=a/100*p;if(d.save(),d.fillStyle=R.d,d.globalAlpha=n||r?.66:.33,d.fillRect(c,l,s,u),d.restore(),d.save(),d.strokeStyle=R.f,d.lineWidth=1,d.strokeRect(c,l,s,u),n){var f=d.getImageData(c,l,s,u);d.save(),d.shadowColor=R.e,d.shadowBlur=10,d.strokeRect(c,l,s,u),d.putImageData(f,c,l),d.restore()}d.restore()}})}},{key:"render",value:function(){return j.createElement("canvas",{ref:this.canvasRef,className:"ba-HighlightCanvas"})}}]),i}(j.PureComponent);k()(F,"defaultProps",{shapes:[]});var B=n(25),z=n.n(B),U=n(13),K=n.n(U),V=(n(561),P.a.forwardRef(function(e,t){var n=e.children,r=e.className;return P.a.createElement("svg",{ref:t,className:K()("ba-HighlightSvg",r)},n)})),q=n(11),H=n.n(q),W=n(83),G=(n(562),P.a.forwardRef(function(e,t){function n(){f(i)}var i=e.annotationId,r=e.className,o=e.isActive,a=e.onHover,u=void 0===a?H.a:a,s=e.onMount,c=void 0===s?H.a:s,l=e.onSelect,f=void 0===l?H.a:l,d=e.shapes,p=Object(W.a)(c);return P.a.createElement("a",{ref:t,className:K()("ba-HighlightTarget",r,{"is-active":o}),"data-ba-reference-id":p,"data-resin-itemid":i,"data-resin-target":"highlightText","data-testid":"ba-AnnotationTarget-".concat(i),href:"#",onClick:function(e){e.preventDefault(),e.stopPropagation()},onFocus:n,onMouseDown:function(e){if(e.buttons===_.a){var t=document.activeElement;e.preventDefault(),e.stopPropagation(),t&&t!==e.currentTarget&&t.blur&&t.blur(),e.currentTarget.focus?e.currentTarget.focus():n()}},onMouseEnter:function(){u(i)},onMouseLeave:function(){u(null)},role:"button",tabIndex:0},d.map(function(e){var t=e.height,n=e.width,r=e.x,o=e.y;return P.a.createElement("rect",{key:"".concat(i,"-").concat(r,"-").concat(o,"-").concat(n,"-").concat(t),className:"ba-HighlightTarget-rect",fill:"none",height:"".concat(t,"%"),width:"".concat(n,"%"),x:"".concat(r,"%"),y:"".concat(o,"%")})}))})),$=n(84),Y=n(43);n(563);function Z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function X(e){var t=e.target.shapes;return(void 0===t?[]:t).every(function(e){var t=e.height,n=e.width,r=e.x,o=e.y;return Object(Y.a)(t)&&Object(Y.a)(n)&&Object(Y.a)(r)&&Object(Y.a)(o)})}function Q(e){return e.reduce(function(e,t){return e+t.height*t.width},0)}function J(e,t){var n=e.target,r=t.target,o=n.shapes,i=r.shapes;return Q(o)>Q(i)?-1:1}function ee(e,o,i){return e.reduce(function(e,t){var n=t.id,r=t.target.shapes;return e.concat(r.map(function(e){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(n),!0).forEach(function(e){k()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{isActive:o===n,isHover:i===n})}))},[])}var te=P.a.memo(function(e){function r(e){l(e)}var t=e.activeId,o=void 0===t?null:t,n=e.annotations,i=e.className,a=e.onSelect,u=P.a.useState(null),s=z()(u,2),c=s[0],l=s[1],f=P.a.createRef(),d=Object($.a)(),p=n.filter(X).sort(J),h=ee(p,o,c);return P.a.createElement("div",{className:K()("ba-HighlightList",i),"data-resin-component":"highlightList"},P.a.createElement(F,{shapes:h}),P.a.createElement(V,{ref:f,className:K()({"is-listening":d})},p.map(function(e){var t=e.id,n=e.target;return P.a.createElement(G,{key:t,annotationId:t,isActive:o===t,onHover:r,onSelect:a,shapes:n.shapes})})))}),ne=n(65);function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oe(e){return j.createElement(ne.a,re({width:16,height:16,viewBox:"0 0 16 16"},e),j.createElement("path",{d:"M5.75 1a.25.25 0 01.25.25v.5a.25.25 0 01-.25.25H4v12h1.75a.25.25 0 01.25.25v.5a.25.25 0 01-.25.25h-4.5a.25.25 0 01-.25-.25v-.5a.25.25 0 01.25-.25H3V2H1.25A.25.25 0 011 1.75v-.5A.25.25 0 011.25 1h4.5zM13 4a2 2 0 012 2v4a2 2 0 01-2 2H5.75a1 1 0 01-1-1V5a1 1 0 011-1H13zm-2.78 1.5a2.83 2.83 0 00-1.991.763l.206.372a.53.53 0 00.136.148.33.33 0 00.206.064.5.5 0 00.255-.066l.255-.148c.093-.055.202-.104.325-.148s.278-.066.465-.066c.26 0 .456.078.593.233s.206.395.206.72v.283c-.548.013-1.006.066-1.374.16s-.662.213-.883.356-.38.303-.474.48S8 9.008 8 9.2c0 .217.034.407.103.57a1.11 1.11 0 00.29.41 1.23 1.23 0 00.444.247c.17.055.358.082.56.082.17 0 .328-.014.47-.042a1.83 1.83 0 00.4-.127 2.87 2.87 0 00.36-.2 4.18 4.18 0 00.355-.29l.103.344c.034.1.08.167.14.2s.143.05.252.05H12V7.37a2.29 2.29 0 00-.119-.754 1.64 1.64 0 00-.348-.59 1.59 1.59 0 00-.561-.386 1.93 1.93 0 00-.752-.139zm.654 2.86v.815a1.812 1.812 0 01-.507.393 1.36 1.36 0 01-.614.13c-.193 0-.35-.044-.47-.132s-.18-.234-.18-.438c0-.104.03-.2.09-.287a.72.72 0 01.294-.231c.137-.066.32-.12.544-.163a6.27 6.27 0 01.843-.087z",fill:R.c,fillRule:"evenodd"}))}var ie=n(573),ae=n(28),ue=n(46);function se(t,r,o){j.useEffect(function(){function e(e){var t=r instanceof Element?r:null==r?void 0:r.current,n=!(null==t||!t.contains(e.target));o&&!n&&o(e)}return document.addEventListener(t,e),function(){document.removeEventListener(t,e)}},[o,r,t])}n(564);var ce={modifiers:[{name:"arrow",options:{element:".ba-Popup-arrow"}},{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:5}}],placement:"bottom"};function le(e){var t=e.onCancel,n=void 0===t?H.a:t,r=e.onSubmit,o=void 0===r?H.a:r,i=e.shape,a=P.a.useRef(null),u=i.height,s=i.width,c=i.x,l=i.y,f={getBoundingClientRect:function(){return{bottom:l+u,height:u,left:c,right:c+s,top:l,width:s}}};return se("keydown",a,function(e){e instanceof KeyboardEvent&&"Enter"===e.key&&!e.ctrlKey&&!e.metaKey&&(e.preventDefault(),e.stopPropagation(),o())}),se("mousedown",a,n),P.a.createElement(ue.a,{"aria-live":"polite",className:"ba-PopupHighlight",options:ce,reference:f,role:"dialog"},P.a.createElement("button",{ref:a,"aria-haspopup":"dialog",className:"ba-PopupHighlight-button","data-testid":"ba-PopupHighlight-button",onClick:o,type:"button"},P.a.createElement(oe,{className:"ba-PopupHighlight-icon"}),P.a.createElement(ie.a,ae.a.popupHighlightPromoter)))}n(565);var fe={modifiers:[{name:"arrow",options:{element:".ba-Popup-arrow"}},{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:5}}],placement:"bottom"};function de(e){var t,n=e.onCancel,r=void 0===n?H.a:n,o=e.shape,i=P.a.useRef(null),a=o.height,u=o.width,s=o.x,c=o.y,l={getBoundingClientRect:function(){return{bottom:c+a,height:a,left:s,right:s+u,top:c,width:u}}};return se("mousedown",null===(t=i.current)||void 0===t?void 0:t.popupRef,r),P.a.createElement(ue.a,{ref:i,className:"ba-PopupHighlightError","data-testid":"ba-PopupHighlightError",options:fe,reference:l},P.a.createElement(ie.a,ae.a.popupHighlightRestrictedPrompt))}n(566);function pe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function he(e){function t(){y(null)}var n=e.activeAnnotationId,r=e.annotations,o=void 0===r?[]:r,i=e.isCreating,a=void 0!==i&&i,u=e.isPending,s=void 0!==u&&u,c=e.isPromoting,l=void 0!==c&&c,f=e.isSelecting,d=void 0!==f&&f,p=e.selection,h=e.setActiveAnnotationId,g=e.setIsPromoting,v=e.setReferenceId,y=e.setSelection,m=e.setStaged,b=e.setStatus,w=e.staged,S=a||l,x=j.useCallback(function(){if(p){var t=p.containerRect,e=p.location,n=p.rects;m({location:e,shapes:n.map(function(e){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pe(Object(n),!0).forEach(function(e){k()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},Object(E.d)(e,t),{type:"rect"})})}),b(O.CreatorStatus.staged)}},[p,m,b]);return j.useEffect(function(){d&&!s&&(m(null),b(O.CreatorStatus.init))},[d,s,m,b]),j.useEffect(function(){a&&p&&!p.hasError&&!s&&x()},[a,s,p,x]),j.createElement(j.Fragment,null,j.createElement(te,{activeId:n,annotations:o,onSelect:function(e){h(e)}}),S&&w&&j.createElement("div",{className:"ba-HighlightAnnotations-target"},j.createElement(F,{shapes:w.shapes}),j.createElement(V,null,j.createElement(G,{annotationId:"staged",isActive:!0,onMount:function(e){v(e)},shapes:w.shapes}))),!a&&p&&!p.hasError&&j.createElement("div",{className:"ba-HighlightAnnotations-popup"},j.createElement(le,{onCancel:t,onSubmit:function(){x(),g(!0)},shape:Object(E.c)(p.rects)})),p&&p.hasError&&j.createElement("div",{className:"ba-HighlightAnnotations-popup"},j.createElement(de,{onCancel:t,shape:Object(E.c)(p.rects)})))}var ge=n(60),ve={setActiveAnnotationId:O.setActiveAnnotationIdAction,setIsPromoting:O.setIsPromotingAction,setReferenceId:O.setReferenceIdAction,setSelection:O.setSelectionAction,setStaged:O.setStagedAction,setStatus:O.setStatusAction},ye=Object(M.b)(function(e,t){var n=t.location,r=Object(O.getCreatorStagedForLocation)(e,n);return{activeAnnotationId:Object(O.getActiveAnnotationId)(e),annotations:Object(O.getAnnotationsForLocation)(e,n).filter(E.e),isCreating:Object(O.getAnnotationMode)(e)===O.Mode.HIGHLIGHT,isPending:Object(O.getCreatorStatus)(e)===O.CreatorStatus.pending,isPromoting:Object(O.getIsPromoting)(e),isSelecting:Object(O.getIsSelecting)(e),selection:Object(O.getSelectionForLocation)(e,n),staged:Object(O.isCreatorStagedHighlight)(r)?r:null}},ve)(Object(ge.a)(he));function me(r){return function(){var e,t=v()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)}}var be=function(e){d()(n,e);var t=me(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(n,[{key:"decorate",value:function(){this.reactEl.classList.add("ba-Layer--highlight"),this.reactEl.dataset.testid="ba-Layer--highlight"}},{key:"render",value:function(e){L.render(j.createElement(ye,x()({location:this.location},e)),this.reactEl)}}]),n}(D.a),we=n(49),Se=n(12),xe=n(18);function ke(e,t){for(var n=e;n&&n!==document.body;n=n.parentNode)if(n.classList&&n.classList.contains(t))return n;return null}function Ee(e){var t=ke(e,"page"),n=t&&t.getAttribute("data-page-number");return n?parseInt(n,10):void 0}function Oe(){var e=window.getSelection();if(!e||e.isCollapsed||!e.rangeCount||!e.focusNode)return null;var t=e.getRangeAt(e.rangeCount-1),n=e.getRangeAt(0);t.setStart(n.startContainer,n.startOffset);var r=ke(t.endContainer,"textLayer"),o=Ee(t.startContainer),i=Ee(t.endContainer);if(!r||!o||!i)return null;var a,u=o!==i,s=i;u&&((t=document.createRange()).setEnd(e.focusNode,e.focusOffset),t.collapse(!1),s=null!==(a=Ee(e.focusNode))&&void 0!==a?a:i);return{containerRect:r.getBoundingClientRect(),hasError:u,location:s,range:t}}var _e=n(126);n(567);function Ae(r){return function(){var e,t=v()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)}}var Ce=function(e){d()(n,e);var t=Ae(n);function n(e){var o;return s()(this,n),o=t.call(this,e),k()(u()(o),"annotatedEl",void 0),k()(u()(o),"highlightListener",void 0),k()(u()(o),"managers",new Map),k()(u()(o),"handleChangeMode",function(e){var t=e.mode;if(o.annotatedEl){o.removeAnnotationClasses();var n=o.annotatedEl,r=m.a[t];r&&n.classList.add(r)}}),o.highlightListener=new I({getSelection:Oe,store:o.store}),o.addListener(Se.Event.ANNOTATIONS_MODE_CHANGE,o.handleChangeMode),o}return a()(n,[{key:"destroy",value:function(){this.removeListener(Se.Event.ANNOTATIONS_MODE_CHANGE,this.handleChangeMode),this.highlightListener&&this.highlightListener.destroy(),this.managers&&this.managers.forEach(function(e){return e.forEach(function(e){return e.destroy()})}),l()(v()(n.prototype),"destroy",this).call(this)}},{key:"getAnnotatedElement",value:function(){var e;return null===(e=this.containerEl)||void 0===e?void 0:e.querySelector(".bp-doc")}},{key:"getPageManagers",value:function(t){var e=Object(O.getFileId)(this.store.getState()),n=Object(O.getIsCurrentFileVersion)(this.store.getState()),r=this.getPageNumber(t),o=this.getPageReference(t),i=this.managers.get(r)||new Set,a={fileid:e,iscurrent:n},u=!1;if(i.forEach(function(e){e.exists(t)||(u=!0)}),u&&(i.forEach(function(e){e.destroy()}),i.clear()),0===i.size){i.add(new b.a({location:r,referenceEl:o,resinTags:a})),i.add(new w.a({location:r,referenceEl:o,resinTags:a}));var s=t.querySelector(".textLayer");s&&i.add(new A({getSelection:Oe,referenceEl:s,selectionChangeDelay:300,store:this.store})),i.add(new be({location:r,referenceEl:o,resinTags:a})),i.add(new we.b({location:r,referenceEl:o,resinTags:a}));var c=t.querySelector(".canvasWrapper");i.add(new we.a({location:r,referenceEl:c||o,resinTags:a}))}return i}},{key:"getPageNumber",value:function(e){return parseInt(e.dataset.pageNumber||"",10)||1}},{key:"getPageReference",value:function(e){var t=e.querySelector(".annotationLayer"),n=e.querySelector(".canvasWrapper"),r=e.querySelector(".textLayer");return t||r||n}},{key:"getPage",value:function(t){var n=this;return this.getPages().find(function(e){return t===n.getPageNumber(e)})}},{key:"getPages",value:function(){return this.annotatedEl?Array.from(this.annotatedEl.querySelectorAll(".page")):[]}},{key:"render",value:function(){var t=this;this.getPages().filter(function(e){var t=e.dataset;return t.loaded&&t.pageNumber}).forEach(function(e){return t.renderPage(e)}),this.postRender()}},{key:"renderPage",value:function(e){var t=this,n=this.getPageManagers(e),r=this.getPageNumber(e);n.forEach(function(e){return e.render({intl:t.intl,store:t.store})}),this.managers.set(r,n)}},{key:"scrollToAnnotation",value:function(e){var t;if(e){var n=Object(xe.getAnnotation)(this.store.getState(),e),r=null!==(t=null==n?void 0:n.target.location.value)&&void 0!==t?t:1,o=this.getPage(r);if(n&&r&&o&&this.annotatedEl){var i=null;Object(we.e)(n)?i=Object(we.c)(n.target.shape):Object(E.e)(n)?i=Object(E.a)(n.target.shapes):Object(w.c)(n)&&(i=Object(w.b)(n.target.path_groups)),i&&Object(_e.a)(this.annotatedEl,o,{offsets:i})}}}}]),n}(m.b)},function(e,t,n){"use strict";n.d(t,"a",function(){return B});var r=n(9),o=n.n(r),i=n(10),a=n.n(i),u=n(6),s=n.n(u),c=n(75),l=n.n(c),f=n(14),d=n.n(f),p=n(15),h=n.n(p),g=n(7),v=n.n(g),y=n(2),m=n.n(y),b=n(101),w=n(127),S=n(69),x=n(49),k=n(19),E=n(1),O=n(25),_=n.n(O),A=-90,C=-180,T=-270,I={height:100,width:100},j=function(e,t){var n=e.x,r=e.y;return{x:n,y:0<t?t-r:r}},P=function(e,t){var n=e.x,r=e.y,o=t*Math.PI/180,i=Math.cos(o),a=Math.sin(o);return{x:n*i-r*a,y:n*a+r*i}},L=function(e){var t=e.height,n=e.width,r=e.x,o=e.y;return[{x:r,y:o},{x:r+n,y:o},{x:r+n,y:o+t},{x:r,y:o+t}]},D=function(e,t){var n=e.x,r=e.y,o=t.dx,i=void 0===o?0:o,a=t.dy;return{x:n+i,y:r+(void 0===a?0:a)}};function M(e,t){var n=e.height,r=e.width,o=I.height,i=I.width,a=t%180==0,u=t%360==0,s=function(e,t){var n=e.height,r=e.width;switch(t){case A:return{dx:n};case C:return{dx:r,dy:n};case T:return{dy:r}}return{dx:0,dy:0}}(I,t),c=function(e,t){var n=L(e),r=_()(n,4),o=r[0],i=r[1],a=r[2],u=r[3];switch(t){case A:return i;case C:return a;case T:return u;default:return o}}(e,t);if(u)return e;var l=j(c,o),f=P(l,-t),d=D(f,s),p=j(d,a?o:i);return{height:a?n:r,width:a?r:n,x:p.x,y:p.y}}var R=n(126);n(559);function N(r){return function(){var e,t=v()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)}}var F="ba-is-drawing",B=function(e){d()(r,e);var n=N(r);function r(e){var t;return o()(this,r),t=n.call(this,e),m()(s()(t),"annotatedEl",void 0),m()(s()(t),"managers",new Set),m()(s()(t),"storeHandler",void 0),m()(s()(t),"handleStore",function(){var e=t.getReference();e&&(Object(k.h)(t.store.getState())===k.a.started?e.classList.add(F):e.classList.remove(F))}),t.storeHandler=t.store.subscribe(t.handleStore),t}return a()(r,[{key:"destroy",value:function(){this.storeHandler&&this.storeHandler(),this.managers&&this.managers.forEach(function(e){return e.destroy()}),l()(v()(r.prototype),"destroy",this).call(this)}},{key:"getAnnotatedElement",value:function(){var e;return null===(e=this.containerEl)||void 0===e?void 0:e.querySelector(".bp-image")}},{key:"getManagers",value:function(t,e){var n=this,r={fileid:Object(E.getFileId)(this.store.getState()),iscurrent:Object(E.getIsCurrentFileVersion)(this.store.getState())};return this.managers.forEach(function(e){e.exists(t)||(e.destroy(),n.managers.delete(e))}),0===this.managers.size&&(this.managers.add(new w.a({referenceEl:e,resinTags:r})),this.managers.add(new S.a({referenceEl:e,resinTags:r})),this.managers.add(new x.b({referenceEl:e,resinTags:r})),this.managers.add(new x.a({referenceEl:e,resinTags:r}))),this.managers}},{key:"getReference",value:function(){var e;return null===(e=this.annotatedEl)||void 0===e?void 0:e.querySelector("img")}},{key:"render",value:function(){var t=this,n=this.getReference(),r=Object(E.getRotation)(this.store.getState())||0;this.annotatedEl&&n&&(this.getManagers(this.annotatedEl,n).forEach(function(e){e.style({height:"".concat(n.offsetHeight,"px"),left:"".concat(n.offsetLeft,"px"),top:"".concat(n.offsetTop,"px"),transform:"rotate(".concat(r,"deg)"),width:"".concat(n.offsetWidth,"px")}),e.render({intl:t.intl,store:t.store})}),this.postRender())}},{key:"scrollToAnnotation",value:function(e){var t;if(e){var n=Object(E.getAnnotation)(this.store.getState(),e),r=null!==(t=null==n?void 0:n.target.location.value)&&void 0!==t?t:1,o=this.getReference(),i=Object(E.getRotation)(this.store.getState())||0;if(n&&r&&o&&this.annotatedEl){var a,u,s,c=null;Object(x.e)(n)?c=Object(x.c)(n.target.shape):Object(S.c)(n)&&(c=Object(S.b)(n.target.path_groups)),c&&Object(R.a)(this.annotatedEl,o,{offsets:(u=i,{x:(s=M({height:0,width:0,x:(a=c).x,y:a.y},u)).x,y:s.y})})}}}}]),r}(b.b)},function(e,t,n){"use strict";function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}n.d(t,"a",function(){return r})},,function(e,t,n){e.exports=n(285)},function(e,g,v){"use strict";v.r(g),function(e){var t=v(9),r=v.n(t),n=v(10),o=v.n(n),i=v(2),s=v.n(i),a=(v(286),v(34)),c=v.n(a),u=v(281),l=v(280),f=v(12);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var p=[{CONSTRUCTOR:l.a,NAME:"Document",TYPES:[f.Type.highlight,f.Type.region],VIEWERS:["AutoCAD","Document","Presentation"]},{CONSTRUCTOR:u.a,NAME:"Image",TYPES:[f.Type.region],VIEWERS:["Image"]}],h=function(){function n(e,t){r()(this,n),s()(this,"annotators",void 0),s()(this,"annotationsOptions",void 0),s()(this,"viewerOptions",void 0),this.annotators=p,this.annotationsOptions=t,this.viewerOptions=e}return o()(n,[{key:"canLoad",value:function(e){return!!e&&(!!e[f.PERMISSIONS.CAN_CREATE_ANNOTATIONS]||!!e[f.PERMISSIONS.CAN_VIEW_ANNOTATIONS])}},{key:"getAnnotators",value:function(){return Array.isArray(this.annotators)?this.annotators:[]}},{key:"getAnnotatorsForViewer",value:function(e){var t=0<arguments.length&&void 0!==e?e:"";return this.getAnnotators().find(function(e){return e.VIEWERS.includes(t)})}},{key:"determineAnnotator",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{},r=this.getAnnotatorsForViewer(c()(e,"viewer.NAME")),o=this.canLoad(c()(e,"file.permissions"));if(!r||!o||!1===n.enabled)return null;var i=c()(this.viewerOptions,[r.NAME,"enabledTypes"]),a=c()(n,"enabledTypes"),u=(i||a||r.TYPES||[]).filter(function(t){return r.TYPES.some(function(e){return e===t})});return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach(function(e){s()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},r,{TYPES:u})}},{key:"getOptions",value:function(){return this.annotationsOptions}}]),n}();e.BoxAnnotations=h,g.default=h}.call(this,v(36))},function(e,t){SVGElement.prototype.contains||Object.defineProperty(SVGElement.prototype,"contains",{configurable:!0,enumerable:!1,writable:!0,value:function(e){var t=e;do{if(this===t)return!0;t=t&&t.parentNode}while(t);return!1}})},function(e,t,n){var r=n(77),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),n=e[u];try{var r=!(e[u]=void 0)}catch(e){}var o=a.call(e);return r&&(t?e[u]=n:delete e[u]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(290),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=r(function(e){var o=[];return 46===e.charCodeAt(0)&&o.push(""),e.replace(i,function(e,t,n,r){o.push(n?r.replace(a,"$1"):t||e)}),o});e.exports=o},function(e,t,n){var r=n(291);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(131),u="Expected a function";function s(o,i){if("function"!=typeof o||null!=i&&"function"!=typeof i)throw new TypeError(u);var a=function(){var e=arguments,t=i?i.apply(this,e):e[0],n=a.cache;if(n.has(t))return n.get(t);var r=o.apply(this,e);return a.cache=n.set(t,r)||n,r};return a.cache=new(s.Cache||r),a}s.Cache=r,e.exports=s},function(e,t,n){var r=n(293),o=n(105),i=n(133);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(294),o=n(299),i=n(300),a=n(301),u=n(302);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,n){var r=n(104);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(132),o=n(296),i=n(52),a=n(170),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:u).test(a(e))}},function(e,t,n){var r,o=n(297),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(51)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(104),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(104),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(104);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(106),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(106);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(106);e.exports=function(e){return-1<r(this.__data__,e)}},function(e,t,n){var o=n(106);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var r=n(107);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(107);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(107);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var o=n(107);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t,n){var r=n(77),o=n(134),i=n(40),a=n(103),u=1/0,s=r?r.prototype:void 0,c=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 c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-u?"-0":n}},function(e,t,n){var r=n(7);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(n,e){function r(e,t){return n.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.exports=r},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}},function(e,t,n){var r=function(i){"use strict";var s,e=Object.prototype,c=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},o=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function a(e,t,n,r){var i,a,u,s,o=t&&t.prototype instanceof y?t:y,c=Object.create(o.prototype),l=new A(r||[]);return c._invoke=(i=e,a=n,u=l,s=d,function(e,t){if(s===h)throw new Error("Generator is already running");if(s===g){if("throw"===e)throw t;return T()}for(u.method=e,u.arg=t;;){var n=u.delegate;if(n){var r=E(n,u);if(r){if(r===v)continue;return r}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if(s===d)throw s=g,u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);s=h;var o=f(i,a,u);if("normal"===o.type){if(s=u.done?g:p,o.arg===v)continue;return{value:o.arg,done:u.done}}"throw"===o.type&&(s=g,u.method="throw",u.arg=o.arg)}}),c}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}i.wrap=a;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",v={};function y(){}function u(){}function l(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(C([])));w&&w!==e&&c.call(w,o)&&(m=w);var S=l.prototype=y.prototype=Object.create(m);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(s){var t;this._invoke=function(n,r){function e(){return new Promise(function(e,t){!function t(e,n,r,o){var i=f(s[e],s,n);if("throw"!==i.type){var a=i.arg,u=a.value;return u&&"object"==typeof u&&c.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,r,o)},function(e){t("throw",e,r,o)}):Promise.resolve(u).then(function(e){a.value=e,r(a)},function(e){return t("throw",e,r,o)})}o(i.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function E(e,t){var n=e.iterator[t.method];if(n===s){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=s,E(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,v;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=s),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function C(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(c.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=s,e.done=!0,e};return r.next=r}}return{next:T}}function T(){return{value:s,done:!0}}return u.prototype=S.constructor=l,l.constructor=u,l[r]=u.displayName="GeneratorFunction",i.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===u||"GeneratorFunction"===(t.displayName||t.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,r in e||(e[r]="GeneratorFunction")),e.prototype=Object.create(S),e},i.awrap=function(e){return{__await:e}},x(k.prototype),k.prototype[n]=function(){return this},i.AsyncIterator=k,i.async=function(e,t,n,r){var o=new k(a(e,t,n,r));return i.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(S),S[r]="Generator",S[o]=function(){return this},S.toString=function(){return"[object Generator]"},i.keys=function(n){var r=[];for(var e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},i.values=C,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=s)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return i.type="throw",i.arg=n,r.next=e,t&&(r.method="next",r.arg=s),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=c.call(o,"catchLoc"),u=c.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&c.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=s),v}},i}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){},function(e,t,n){var r=n(105);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var o=n(105),i=n(133),a=n(131);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(328)();e.exports=r},function(e,t){e.exports=function(s){return function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var u=i[s?a:++r];if(!1===t(o[u],u,o))break}return e}}},function(e,t,n){var g=n(194),v=n(196),y=n(197),m=n(199),b=n(200),w=n(89),S=n(40),x=n(202),k=n(90),E=n(132),O=n(52),_=n(203),A=n(112),C=n(204),T=n(334);e.exports=function(e,t,n,r,o,i,a){var u=C(e,n),s=C(t,n),c=a.get(s);if(c)g(e,n,c);else{var l=i?i(u,s,n+"",e,t,a):void 0,f=void 0===l;if(f){var d=S(s),p=!d&&k(s),h=!d&&!p&&A(s);l=s,d||p||h?l=S(u)?u:x(u)?m(u):p?v(s,!(f=!1)):h?y(s,!(f=!1)):[]:_(s)||w(s)?w(l=u)?l=T(u):O(u)&&!E(u)||(l=b(s)):f=!1}f&&(a.set(s,l),o(l,s,r,i,a),a.delete(s)),g(e,n,l)}}},function(e,t,n){function r(e){if(!o(e))return{};if(i)return i(e);a.prototype=e;var t=new a;return a.prototype=void 0,t}var o=n(52),i=Object.create;function a(){}e.exports=r},function(e,t,n){var r=n(70),o=n(57);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(70),o=n(139),i=n(57),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[r(e)]}},function(e,t,n){var r=n(79),o=n(113);e.exports=function(e){return r(e,o(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var o=n(52),i=n(111),a=n(337),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&u.call(e,r))&&n.push(r);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(340),o=n(195),i=n(143),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var i=Date.now;e.exports=function(n){var r=0,o=0;return function(){var e=i(),t=16-(e-o);if(o=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}},function(e,t,n){var o=n(87),i=n(78),a=n(142),u=n(52);e.exports=function(e,t,n){if(!u(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}},function(e,t,n){"use strict";var o=n(41),i=n(211),a=n(344),u=n(218);var r=function t(n){var e=new a(n),r=i(a.prototype.request,e);return o.extend(r,a.prototype,e),o.extend(r,e),r.create=function(e){return t(u(n,e))},r}(n(114));r.Axios=a,r.Cancel=n(115),r.CancelToken=n(357),r.isCancel=n(217),r.VERSION=n(219).version,r.all=function(e){return Promise.all(e)},r.spread=n(358),r.isAxiosError=n(359),e.exports=r,e.exports.default=r},function(e,t,n){"use strict";var r=n(41),o=n(212),i=n(345),f=n(346),d=n(218),p=n(356),h=p.validators;function a(e){this.defaults=e,this.interceptors={request:new i,response:new i}}a.prototype.request=function(t,e){"string"==typeof t?(t=e||{}).url=arguments[0]:t=t||{},(t=d(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&p.assertOptions(n,{silentJSONParsing:h.transitional(h.boolean),forcedJSONParsing:h.transitional(h.boolean),clarifyTimeoutError:h.transitional(h.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var i,a=[];if(this.interceptors.response.forEach(function(e){a.push(e.fulfilled,e.rejected)}),!o){var u=[f,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(a),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=t;r.length;){var c=r.shift(),l=r.shift();try{s=c(s)}catch(e){l(e);break}}try{i=f(s)}catch(e){return Promise.reject(e)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},a.prototype.getUri=function(e){return e=d(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(n){a.prototype[n]=function(e,t){return this.request(d(t||{},{method:n,url:e,data:(t||{}).data}))}}),r.forEach(["post","put","patch"],function(r){a.prototype[r]=function(e,t,n){return this.request(d(n||{},{method:r,url:e,data:t}))}}),e.exports=a},function(e,t,n){"use strict";var r=n(41);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=o},function(e,t,n){"use strict";var r=n(41),o=n(347),i=n(217),a=n(114),u=n(115);function s(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u("canceled")}e.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,n){"use strict";var o=n(41),i=n(114);e.exports=function(t,n,e){var r=this||i;return o.forEach(e,function(e){t=e.call(r,t,n)}),t}},function(e,t,n){"use strict";var o=n(41);e.exports=function(n,r){o.forEach(n,function(e,t){t!==r&&t.toUpperCase()===r.toUpperCase()&&(n[r]=e,delete n[t])})}},function(e,t,n){"use strict";var o=n(216);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";var u=n(41);e.exports=u.isStandardBrowserEnv()?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),u.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),u.isString(r)&&a.push("path="+r),u.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(352),o=n(353);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var i=n(41),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,r,o={};return e&&i.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=i.trim(e.substr(0,r)).toLowerCase(),n=i.trim(e.substr(r+1)),t){if(o[t]&&0<=a.indexOf(t))return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}}),o}},function(e,t,n){"use strict";var r,o,i,a=n(41);function u(e){var t=e;return o&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}e.exports=a.isStandardBrowserEnv()?(o=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),r=u(window.location.href),function(e){var t=a.isString(e)?u(e):e;return t.protocol===r.protocol&&t.host===r.host}):function(){return!0}},function(e,t,n){"use strict";var a=n(219).version,r={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){r[t]=function(e){return typeof e===t||"a"+(n<1?"n ":" ")+t}});var u={};r.transitional=function(r,o,n){function i(e,t){return"[Axios v"+a+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(e,t,n){if(!1===r)throw new Error(i(t," has been removed"+(o?" in "+o:"")));return o&&!u[t]&&(u[t]=!0),!r||r(e,t,n)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;0<o--;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:r}},function(e,t,n){"use strict";var o=n(115);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;this.promise.then(function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e){r.reason||(r.reason=new o(e),t(r.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},e.exports=r},function(e,t,n){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(70),o=n(40),i=n(57);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},function(e,t,n){var r=n(365);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(221);e.exports=function(e){return e?(e=r(e))!==1/0&&e!==-1/0?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}},function(e,t,n){var r=n(367),o=n(91);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(134);e.exports=function(t,e){return r(e,function(e){return t[e]})}},function(e,t,n){var r=n(201)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(370),o=n(371),i=n(374),a=RegExp("['’]","g");e.exports=function(t){return function(e){return r(i(o(e).replace(a,"")),t,"")}}},function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},function(e,t,n){var r=n(372),o=n(108),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){var r=n(373)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(t){return function(e){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(375),o=n(376),i=n(108),a=n(377);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?(o(e)?a:r)(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\ud800-\\udfff",r="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",u="["+a+"]",s="\\d+",c="["+r+"]",l="["+o+"]",f="[^"+n+a+s+r+o+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+i+"]",g="(?:"+l+"|"+f+")",v="(?:"+h+"|"+f+")",y="(?:['’](?:d|ll|m|re|s|t|ve))?",m="(?:['’](?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",S=w+b+("(?:\\u200d(?:"+["[^"+n+"]",d,p].join("|")+")"+w+b+")*"),x="(?:"+[c,d,p].join("|")+")"+S,k=RegExp([h+"?"+l+"+"+y+"(?="+[u,h,"$"].join("|")+")",v+"+"+m+"(?="+[u,h+g,"$"].join("|")+")",h+"?"+g+"+"+y,h+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,x].join("|"),"g");e.exports=function(e){return e.match(k)||[]}},function(e,t,n){"use strict";var l=n(37),d=60103,p=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var r=60109,o=60110,i=60112;t.Suspense=60113;var a=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var s=Symbol.for;d=s("react.element"),p=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),r=s("react.provider"),o=s("react.context"),i=s("react.forward_ref"),t.Suspense=s("react.suspense"),a=s("react.memo"),u=s("react.lazy")}var h="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f={};function v(e,t,n){this.props=e,this.context=t,this.refs=f,this.updater=n||c}function y(){}function m(e,t,n){this.props=e,this.context=t,this.refs=f,this.updater=n||c}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var b=m.prototype=new y;b.constructor=m,l(b,v.prototype),b.isPureReactComponent=!0;var w={current:null},S=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,r)&&!x.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:d,type:e,key:i,ref:a,props:o,_owner:w.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===d}var O=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function A(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a,u,s,c=!1;if(null===e)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case d:case p:c=!0}}if(c)return o=o(c=e),e=""===r?"."+_(c,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(O,"$&/")+"/"),A(o,t,n,"",function(e){return e})):null!=o&&(E(o)&&(u=n+(!(a=o).key||c&&c.key===o.key?"":(""+o.key).replace(O,"$&/")+"/")+e,o={$$typeof:d,type:a.type,key:u,ref:a.ref,props:a.props,_owner:a._owner}),t.push(o)),1;if(c=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var f=r+_(i=e[l],l);c+=A(i,t,n,f,o)}else if("function"==typeof(f=null===(s=e)||"object"!=typeof s?null:"function"==typeof(s=h&&s[h]||s["@@iterator"])?s:null))for(e=f.call(e),l=0;!(i=e.next()).done;)c+=A(i=i.value,t,n,f=r+_(i,l++),o);else if("object"===i)throw t=""+e,Error(g(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return c}function C(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",function(e){return t.call(n,e,o++)}),r}function T(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,(t._result=e).then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}if(1===t._status)return t._result;throw t._result}var I={current:null};function j(){var e=I.current;if(null===e)throw Error(g(321));return e}var P={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:l};t.Children={map:C,forEach:function(e,t,n){C(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return C(e,function(){t++}),t},toArray:function(e){return C(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(g(143));return e}},t.Component=v,t.PureComponent=m,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var r=l({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=w.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)S.call(t,s)&&!x.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];r.children=u}return{$$typeof:d,type:e.type,key:o,ref:i,props:r,_owner:a}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:o,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:a,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return j().useCallback(e,t)},t.useContext=function(e,t){return j().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return j().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return j().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return j().useLayoutEffect(e,t)},t.useMemo=function(e,t){return j().useMemo(e,t)},t.useReducer=function(e,t,n){return j().useReducer(e,t,n)},t.useRef=function(e){return j().useRef(e)},t.useState=function(e){return j().useState(e)},t.version="17.0.1"},function(e,t,n){"use strict";var o=n(0),g=n(37),r=n(380);function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!o)throw Error(O(227));var i=new Set,l={};function a(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,d={},p={};function h(e,t,n,r){if(null==t||function(e,t,n,r){if(null===n||0!==n.type)switch(typeof t){case"function":case"symbol":return 1;case"boolean":return r?void 0:null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return}}(e,t,n,r))return 1;if(!r&&null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||t<1}}function v(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o,i=y.hasOwnProperty(t)?y[t]:null;(null!==i?0!==i.type:r||(!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1]))&&(h(t,n,i,r)&&(n=null),r||null===i?(o=t,(f.call(p,o)||!f.call(d,o)&&(c.test(o)?p[o]=!0:void(d[o]=!0)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(m,b);y[t]=new v(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(m,b);y[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(m,b);y[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});var S=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=60103,k=60106,E=60107,_=60108,A=60114,C=60109,T=60110,I=60112,j=60113,P=60120,L=60115,D=60116,M=60121,R=60128,N=60129,F=60130,B=60131;if("function"==typeof Symbol&&Symbol.for){var z=Symbol.for;x=z("react.element"),k=z("react.portal"),E=z("react.fragment"),_=z("react.strict_mode"),A=z("react.profiler"),C=z("react.provider"),T=z("react.context"),I=z("react.forward_ref"),j=z("react.suspense"),P=z("react.suspense_list"),L=z("react.memo"),D=z("react.lazy"),M=z("react.block"),z("react.scope"),R=z("react.opaque.id"),N=z("react.debug_trace_mode"),F=z("react.offscreen"),B=z("react.legacy_hidden")}var U,K="function"==typeof Symbol&&Symbol.iterator;function V(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=K&&e[K]||e["@@iterator"])?e:null}function q(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var H=!1;function W(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,--u<0||o[a]!==i[u])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=u);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?q(e):""}function G(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1);case 11:return e=W(e.type.render,!1);case 22:return e=W(e.type._render,!1);case 1:return e=W(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case k:return"Portal";case A:return"Profiler";case _:return"StrictMode";case j:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case I:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case L:return $(e.type);case M:return $(e._render);case D:t=e._payload,e=e._init;try{return $(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function X(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(e){var t=e._valueTracker;if(!t)return 1;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),1)}}function J(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function ee(e,t){var n=t.checked;return g({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ne(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function re(e,t){ne(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function oe(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){var n,r;return e=g({children:void 0},t),n=t.children,r="",o.Children.forEach(n,function(e){null!=e&&(r+=e)}),(t=r)&&(e.children=t),e}function ue(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(O(91));return g({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(O(92));if(Array.isArray(n)){if(!(n.length<=1))throw Error(O(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function le(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function fe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ge,ve,ye=(ve=function(e,t){if(e.namespaceURI!==de.svg||"innerHTML"in e)e.innerHTML=t;else{for((ge=ge||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ge.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ve(e,t)})}:ve);function me(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function Se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function xe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Se(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach(function(t){we.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),be[e]=be[t]})});var ke=g({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(O(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(O(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(O(62))}}function Oe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ae=null,Ce=null,Te=null;function Ie(e){if(e=Qr(e)){if("function"!=typeof Ae)throw Error(O(280));var t=e.stateNode;t&&(t=eo(t),Ae(e.stateNode,e.type,t))}}function je(e){Ce?Te?Te.push(e):Te=[e]:Ce=e}function Pe(){if(Ce){var e=Ce,t=Te;if(Te=Ce=null,Ie(e),t)for(e=0;e<t.length;e++)Ie(t[e])}}function Le(e,t){return e(t)}function De(e,t,n,r,o){return e(t,n,r,o)}function Me(){}var Re=Le,Ne=!1,Fe=!1;function Be(){null===Ce&&null===Te||(Me(),Pe())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=eo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(O(231,t,typeof n));return n}var Ue=!1;if(s)try{var Ke={};Object.defineProperty(Ke,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",Ke,Ke),window.removeEventListener("test",Ke,Ke)}catch(e){Ue=!1}var Ve=!1,qe=null,He=!1,We=null,Ge={onError:function(e){Ve=!0,qe=e}};function $e(e,t,n,r,o,i,a,u,s){Ve=!1,qe=null,function(e,t,n,r,o,i,a,u,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}.apply(Ge,arguments)}function Ye(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else for(e=t;0!=(1026&(t=e).flags)&&(n=t.return),e=t.return;);return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Xe(e){if(Ye(e)!==e)throw Error(O(188))}function Qe(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ye(e)))throw Error(O(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null!==i){if(o.child===i.child){for(i=o.child;i;){if(i===n)return Xe(o),e;if(i===r)return Xe(o),t;i=i.sibling}throw Error(O(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,u=o.child;u;){if(u===n){a=!0,n=o,r=i;break}if(u===r){a=!0,r=o,n=i;break}u=u.sibling}if(!a){for(u=i.child;u;){if(u===n){a=!0,n=i,r=o;break}if(u===r){a=!0,r=i,n=o;break}u=u.sibling}if(!a)throw Error(O(189))}}if(n.alternate!==r)throw Error(O(190))}else{if(null===(r=o.return))break;n=r}}if(3!==n.tag)throw Error(O(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t=(t.child.return=t).child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return 1;t=t.return}}var et,tt,nt,rt,ot=!1,it=[],at=null,ut=null,st=null,ct=new Map,lt=new Map,ft=[],dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lt.delete(t.pointerId)}}function gt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=pt(t,n,r,o,i),null===t||null!==(t=Qr(t))&&tt(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o)),e}function vt(e){var t=Xr(e.target);if(null!==t){var n=Ye(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void rt(e.lanePriority,function(){r.unstable_runWithPriority(e.priority,function(){nt(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yt(e){if(null===e.blockedOn){for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Qr(n))&&tt(t),e.blockedOn=n,0;t.shift()}return 1}}function mt(e,t,n){yt(e)&&n.delete(t)}function bt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=Qr(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&yt(at)&&(at=null),null!==ut&&yt(ut)&&(ut=null),null!==st&&yt(st)&&(st=null),ct.forEach(mt),lt.forEach(mt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,bt)))}function St(t){function e(e){return wt(e,t)}if(0<it.length){wt(it[0],t);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==at&&wt(at,t),null!==ut&&wt(ut,t),null!==st&&wt(st,t),ct.forEach(e),lt.forEach(e),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===t&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)vt(n),null===n.blockedOn&&ft.shift()}function xt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kt={animationend:xt("Animation","AnimationEnd"),animationiteration:xt("Animation","AnimationIteration"),animationstart:xt("Animation","AnimationStart"),transitionend:xt("Transition","TransitionEnd")},Et={},Ot={};function _t(e){if(Et[e])return Et[e];if(!kt[e])return e;var t,n=kt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ot)return Et[e]=n[t];return e}s&&(Ot=document.createElement("div").style,"AnimationEvent"in window||(delete kt.animationend.animation,delete kt.animationiteration.animation,delete kt.animationstart.animation),"TransitionEvent"in window||delete kt.transitionend.transition);var At=_t("animationend"),Ct=_t("animationiteration"),Tt=_t("animationstart"),It=_t("transitionend"),jt=new Map,Pt=new Map,Lt=["abort","abort",At,"animationEnd",Ct,"animationIteration",Tt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",It,"transitionEnd","waiting","waiting"];function Dt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Pt.set(r,t),jt.set(r,o),a(o,[r])}}(0,r.unstable_now)();var Mt=8;function Rt(e){if(0!=(1&e))return Mt=15,1;if(0!=(2&e))return Mt=14,2;if(0!=(4&e))return Mt=13,4;var t=24&e;return 0!==t?(Mt=12,t):0!=(32&e)?(Mt=11,32):0!==(t=192&e)?(Mt=10,t):0!=(256&e)?(Mt=9,256):0!==(t=3584&e)?(Mt=8,t):0!=(4096&e)?(Mt=7,4096):0!==(t=4186112&e)?(Mt=6,t):0!==(t=62914560&e)?(Mt=5,t):67108864&e?(Mt=4,67108864):0!=(134217728&e)?(Mt=3,134217728):0!==(t=805306368&e)?(Mt=2,t):0!=(1073741824&e)?(Mt=1,1073741824):(Mt=8,e)}function Nt(e,t){var n=e.pendingLanes;if(0===n)return Mt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,u=e.pingedLanes;if(0!==i)r=i,o=Mt=15;else if(0!==(i=134217727&n)){var s=i&~a;0!=s?(r=Rt(s),o=Mt):0!==(u&=i)&&(r=Rt(u),o=Mt)}else 0!==(i=n&~a)?(r=Rt(i),o=Mt):0!==u&&(r=Rt(u),o=Mt);if(0===r)return 0;if(r=n&(((r=31-Vt(r))<0?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Rt(t),o<=Mt)return t;Mt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Vt(t)),r|=e[n],t&=~o;return r}function Ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Bt(10,t):e;case 10:return 0===(e=zt(192&~t))?Bt(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(O(358,e))}function zt(e){return e&-e}function Ut(e){for(var t=[],n=0;n<31;n++)t.push(e);return t}function Kt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vt(t)]=n}var Vt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(qt(e)/Ht|0)|0},qt=Math.log,Ht=Math.LN2;var Wt=r.unstable_UserBlockingPriority,Gt=r.unstable_runWithPriority,$t=!0;function Yt(e,t,n,r){Ne||Me();var o=Xt,i=Ne;Ne=!0;try{De(o,e,t,n,r)}finally{(Ne=i)||Be()}}function Zt(e,t,n,r){Gt(Wt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var o;if($t)if((o=0==(4&t))&&0<it.length&&-1<dt.indexOf(e))e=pt(null,e,t,n,r),it.push(e);else{var i=Qt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<dt.indexOf(e))return e=pt(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=gt(at,e,t,n,r,o),1;case"dragenter":return ut=gt(ut,e,t,n,r,o),1;case"mouseover":return st=gt(st,e,t,n,r,o),1;case"pointerover":var i=o.pointerId;return ct.set(i,gt(ct.get(i)||null,e,t,n,r,o)),1;case"gotpointercapture":return i=o.pointerId,lt.set(i,gt(lt.get(i)||null,e,t,n,r,o)),1}}(i,e,t,n,r))return;ht(e,r)}Ir(e,t,r,null,n)}}}function Qt(e,t,n,r){var o=_e(r);if(null!==(o=Xr(o))){var i=Ye(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ze(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Ir(e,t,r,o,n),null}var Jt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Jt?Jt.value:Jt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function un(a){function e(e,t,n,r,o){for(var i in this._reactName=e,this._targetInst=n,this.type=t,this.nativeEvent=r,this.target=o,this.currentTarget=null,a)a.hasOwnProperty(i)&&(e=a[i],this[i]=e?e(r):r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?on:an,this.isPropagationStopped=an,this}return g(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),e}var sn,cn,ln,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=un(fn),pn=g({},fn,{view:0,detail:0}),hn=un(pn),gn=g({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(cn=ln&&"mousemove"===e.type?(sn=e.screenX-ln.screenX,e.screenY-ln.screenY):sn=0,ln=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),vn=un(gn),yn=un(g({},gn,{dataTransfer:0})),mn=un(g({},pn,{relatedTarget:0})),bn=un(g({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=un(g({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Sn=un(g({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=En[e])&&!!t[e]}function _n(){return On}var An=un(g({},pn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Cn=un(g({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=un(g({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),In=un(g({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),jn=un(g({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Pn=[9,13,27,32],Ln=s&&"CompositionEvent"in window,Dn=null;s&&"documentMode"in document&&(Dn=document.documentMode);var Mn=s&&"TextEvent"in window&&!Dn,Rn=s&&(!Ln||Dn&&8<Dn&&Dn<=11),Nn=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return 1;default:return}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Kn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?Kn[e.type]:"textarea"===t}function qn(e,t,n,r){je(r),0<(t=Pr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,Wn=null;function Gn(e){Er(e,0)}function $n(e){if(Q(Jr(e)))return e}function Yn(e,t){if("change"===e)return t}var Zn=!1;if(s){var Xn;if(s){var Qn="oninput"in document;if(!Qn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Qn="function"==typeof Jn.oninput}Xn=Qn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function er(){Hn&&(Hn.detachEvent("onpropertychange",tr),Wn=Hn=null)}function tr(e){if("value"===e.propertyName&&$n(Wn)){var t=[];if(qn(t,Wn,e,_e(e)),e=Gn,Ne)e(t);else{Ne=!0;try{Le(e,t)}finally{Ne=!1,Be()}}}}function nr(e,t,n){"focusin"===e?(er(),Wn=n,(Hn=t).attachEvent("onpropertychange",tr)):"focusout"===e&&er()}function rr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $n(Wn)}function or(e,t){if("click"===e)return $n(t)}function ir(e,t){if("input"===e||"change"===e)return $n(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ur=Object.prototype.hasOwnProperty;function sr(e,t){if(ar(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!ur.call(t,n[r])||!ar(e[n[r]],t[n[r]]))return!1;return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&t<=n)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function fr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pr=s&&"documentMode"in document&&document.documentMode<=11,hr=null,gr=null,vr=null,yr=!1;function mr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==hr||hr!==J(r)||(r="selectionStart"in(r=hr)&&dr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&sr(vr,r)||(vr=r,0<(r=Pr(gr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}Dt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dt(Lt,2);for(var br="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wr=0;wr<br.length;wr++)Pt.set(br[wr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sr));function kr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,u,s){if($e.apply(this,arguments),Ve){if(!Ve)throw Error(O(198));var c=qe;Ve=!1,qe=null,He||(He=!0,We=c)}}(r,t,void 0,e),e.currentTarget=null}function Er(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],s=u.instance,c=u.currentTarget;if(u=u.listener,s!==i&&o.isPropagationStopped())break e;kr(o,u,c),i=s}else for(a=0;a<r.length;a++){if(s=(u=r[a]).instance,c=u.currentTarget,u=u.listener,s!==i&&o.isPropagationStopped())break e;kr(o,u,c),i=s}}}if(He)throw e=We,He=!1,We=null,e}function Or(e,t){var n=to(t),r=e+"__bubble";n.has(r)||(Tr(t,e,2,!1),n.add(r))}var _r="_reactListening"+Math.random().toString(36).slice(2);function Ar(t){t[_r]||(t[_r]=!0,i.forEach(function(e){xr.has(e)||Cr(e,!1,t,null),Cr(e,!0,t,null)}))}function Cr(e,t,n,r,o){var i=4<arguments.length&&void 0!==o?o:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&xr.has(e)){if("scroll"!==e)return;i|=2,a=r}var u=to(a),s=e+"__"+(t?"capture":"bubble");u.has(s)||(t&&(i|=4),Tr(a,e,i,t),u.add(s))}function Tr(e,t,n,r){var o=Pt.get(t);switch(void 0===o?2:o){case 0:o=Yt;break;case 1:o=Zt;break;default:o=Xt}n=o.bind(null,t,n,e),o=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ir(v,y,m,e,t){var b=e;if(0==(1&y)&&0==(2&y)&&null!==e)e:for(;;){if(null===e)return;var n=e.tag;if(3===n||4===n){var r=e.stateNode.containerInfo;if(r===t||8===r.nodeType&&r.parentNode===t)break;if(4===n)for(n=e.return;null!==n;){var o=n.tag;if((3===o||4===o)&&((o=n.stateNode.containerInfo)===t||8===o.nodeType&&o.parentNode===t))return;n=n.return}for(;null!==r;){if(null===(n=Xr(r)))return;if(5===(o=n.tag)||6===o){e=b=n;continue e}r=r.parentNode}}e=e.return}!function(e,t,n){if(Fe)return e(t,n);Fe=!0;try{Re(e,t,n)}finally{Fe=!1,Be()}}(function(){var e=b,t=_e(m),n=[];e:{var r=jt.get(v);if(void 0!==r){var o=dn,i=v;switch(v){case"keypress":if(0===rn(m))break e;case"keydown":case"keyup":o=An;break;case"focusin":i="focus",o=mn;break;case"focusout":i="blur",o=mn;break;case"beforeblur":case"afterblur":o=mn;break;case"click":if(2===m.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":o=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":o=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":o=Tn;break;case At:case Ct:case Tt:o=bn;break;case It:o=In;break;case"scroll":o=hn;break;case"wheel":o=jn;break;case"copy":case"cut":case"paste":o=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":o=Cn}var a=0!=(4&y),u=!a&&"scroll"===v,s=a?null!==r?r+"Capture":null:r;a=[];for(var c,l=e;null!==l;){var f=(c=l).stateNode;if(5===c.tag&&null!==f&&(c=f,null!==s&&(null!=(f=ze(l,s))&&a.push(jr(l,f,c)))),u)break;l=l.return}0<a.length&&(r=new o(r,i,null,m,t),n.push({event:r,listeners:a}))}}if(0==(7&y)){if(o="mouseout"===v||"pointerout"===v,(!(r="mouseover"===v||"pointerover"===v)||0!=(16&y)||!(i=m.relatedTarget||m.fromElement)||!Xr(i)&&!i[Yr])&&(o||r)&&(r=t.window===t?t:(r=t.ownerDocument)?r.defaultView||r.parentWindow:window,o?(o=e,null!==(i=(i=m.relatedTarget||m.toElement)?Xr(i):null)&&(i!==(u=Ye(i))||5!==i.tag&&6!==i.tag)&&(i=null)):(o=null,i=e),o!==i)){if(a=vn,f="onMouseLeave",s="onMouseEnter",l="mouse","pointerout"!==v&&"pointerover"!==v||(a=Cn,f="onPointerLeave",s="onPointerEnter",l="pointer"),u=null==o?r:Jr(o),c=null==i?r:Jr(i),(r=new a(f,l+"leave",o,m,t)).target=u,r.relatedTarget=c,f=null,Xr(t)===e&&((a=new a(s,l+"enter",i,m,t)).target=c,a.relatedTarget=u,f=a),u=f,o&&i)e:{for(s=i,l=0,c=a=o;c;c=Lr(c))l++;for(c=0,f=s;f;f=Lr(f))c++;for(;0<l-c;)a=Lr(a),l--;for(;0<c-l;)s=Lr(s),c--;for(;l--;){if(a===s||null!==s&&a===s.alternate)break e;a=Lr(a),s=Lr(s)}a=null}else a=null;null!==o&&Dr(n,r,o,a,!1),null!==i&&null!==u&&Dr(n,u,i,a,!0)}if("select"===(o=(r=e?Jr(e):window).nodeName&&r.nodeName.toLowerCase())||"input"===o&&"file"===r.type)var d=Yn;else if(Vn(r))if(Zn)d=ir;else{d=rr;var p=nr}else!(o=r.nodeName)||"input"!==o.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type||(d=or);switch((d=d&&d(v,e))?qn(n,d,m,t):(p&&p(v,r,e),"focusout"===v&&(p=r._wrapperState)&&p.controlled&&"number"===r.type&&ie(r,"number",r.value)),p=e?Jr(e):window,v){case"focusin":!Vn(p)&&"true"!==p.contentEditable||(hr=p,gr=e,vr=null);break;case"focusout":vr=gr=hr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,mr(n,m,t);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":mr(n,m,t)}var h;if(Ln)e:{switch(v){case"compositionstart":var g="onCompositionStart";break e;case"compositionend":g="onCompositionEnd";break e;case"compositionupdate":g="onCompositionUpdate";break e}g=void 0}else Un?Bn(v,m)&&(g="onCompositionEnd"):"keydown"===v&&229===m.keyCode&&(g="onCompositionStart");g&&(Rn&&"ko"!==m.locale&&(Un||"onCompositionStart"!==g?"onCompositionEnd"===g&&Un&&(h=nn()):(en="value"in(Jt=t)?Jt.value:Jt.textContent,Un=!0)),0<(p=Pr(e,g)).length&&(g=new Sn(g,v,null,m,t),n.push({event:g,listeners:p}),h?g.data=h:null!==(h=zn(m))&&(g.data=h))),(h=(Mn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Fn?null:e;default:return null}}:function(e,t){if(Un)return"compositionend"===e||!Ln&&Bn(e,t)?(e=nn(),tn=en=Jt=null,Un=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data;default:return null}})(v,m))&&(0<(e=Pr(e,"onBeforeInput")).length&&(t=new Sn("onBeforeInput","beforeinput",null,m,t),n.push({event:t,listeners:e}),t.data=h))}Er(n,y)})}function jr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Pr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=ze(e,n))&&r.unshift(jr(e,i,o)),null!=(i=ze(e,t))&&r.push(jr(e,i,o))),e=e.return}return r}function Lr(e){if(null===e)return null;for(;(e=e.return)&&5!==e.tag;);return e||null}function Dr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,s=u.alternate,c=u.stateNode;if(null!==s&&s===r)break;5===u.tag&&null!==c&&(u=c,o?null!=(s=ze(n,i))&&a.unshift(jr(n,s,u)):o||null!=(s=ze(n,i))&&a.push(jr(n,s,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Mr(){}var Rr=null,Nr=null;function Fr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return t.autoFocus}}function Br(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var zr="function"==typeof setTimeout?setTimeout:void 0,Ur="function"==typeof clearTimeout?clearTimeout:void 0;function Kr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Vr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function qr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Hr=0;var Wr=Math.random().toString(36).slice(2),Gr="__reactFiber$"+Wr,$r="__reactProps$"+Wr,Yr="__reactContainer$"+Wr,Zr="__reactEvents$"+Wr;function Xr(e){var t=e[Gr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Yr]||n[Gr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=qr(e);null!==e;){if(n=e[Gr])return n;e=qr(e)}return t}n=(e=n).parentNode}return null}function Qr(e){return!(e=e[Gr]||e[Yr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Jr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(O(33))}function eo(e){return e[$r]||null}function to(e){var t=e[Zr];return void 0===t&&(t=e[Zr]=new Set),t}var no=[],ro=-1;function oo(e){return{current:e}}function io(e){ro<0||(e.current=no[ro],no[ro]=null,ro--)}function ao(e,t){no[++ro]=e.current,e.current=t}var uo={},so=oo(uo),co=oo(!1),lo=uo;function fo(e,t){var n=e.type.contextTypes;if(!n)return uo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function po(e){return null!=(e=e.childContextTypes)}function ho(){io(co),io(so)}function go(e,t,n){if(so.current!==uo)throw Error(O(168));ao(so,t),ao(co,n)}function vo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(O(108,$(t)||"Unknown",o));return g({},n,r)}function yo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||uo,lo=so.current,ao(so,e),ao(co,co.current),1}function mo(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=vo(e,t,lo),r.__reactInternalMemoizedMergedChildContext=e,io(co),io(so),ao(so,e)):io(co),ao(co,n)}var bo=null,wo=null,So=r.unstable_runWithPriority,xo=r.unstable_scheduleCallback,ko=r.unstable_cancelCallback,Eo=r.unstable_shouldYield,Oo=r.unstable_requestPaint,_o=r.unstable_now,Ao=r.unstable_getCurrentPriorityLevel,Co=r.unstable_ImmediatePriority,To=r.unstable_UserBlockingPriority,Io=r.unstable_NormalPriority,jo=r.unstable_LowPriority,Po=r.unstable_IdlePriority,Lo={},Do=void 0!==Oo?Oo:function(){},Mo=null,Ro=null,No=!1,Fo=_o(),Bo=Fo<1e4?_o:function(){return _o()-Fo};function zo(){switch(Ao()){case Co:return 99;case To:return 98;case Io:return 97;case jo:return 96;case Po:return 95;default:throw Error(O(332))}}function Uo(e){switch(e){case 99:return Co;case 98:return To;case 97:return Io;case 96:return jo;case 95:return Po;default:throw Error(O(332))}}function Ko(e,t){return e=Uo(e),So(e,t)}function Vo(e,t,n){return e=Uo(e),xo(e,t,n)}function qo(){if(null!==Ro){var e=Ro;Ro=null,ko(e)}Ho()}function Ho(){if(!No&&null!==Mo){No=!0;var t=0;try{var n=Mo;Ko(99,function(){for(;t<n.length;t++)for(var e=n[t];null!==(e=e(!0)););}),Mo=null}catch(e){throw null!==Mo&&(Mo=Mo.slice(t+1)),xo(Co,qo),e}finally{No=!1}}}var Wo=S.ReactCurrentBatchConfig;function Go(e,t){if(e&&e.defaultProps){for(var n in t=g({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var $o=oo(null),Yo=null,Zo=null,Xo=null;function Qo(){Xo=Zo=Yo=null}function Jo(e){var t=$o.current;io($o),e.type._context._currentValue=t}function ei(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ti(e,t){Xo=Zo=null,null!==(e=(Yo=e).dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ja=!0),e.firstContext=null)}function ni(e,t){if(Xo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Xo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zo){if(null===Yo)throw Error(O(308));Zo=t,Yo.dependencies={lanes:0,firstContext:t,responders:null}}else Zo=Zo.next=t;return e._currentValue}var ri=!1;function oi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ii(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ai(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ui(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function si(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ci(e,t,n,r){var o=e.updateQueue;ri=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var s=u,c=s.next;(s.next=null)===a?i=c:a.next=c,a=s;var l=e.alternate;if(null!==l){var f=(l=l.updateQueue).lastBaseUpdate;f!==a&&(null===f?l.firstBaseUpdate=c:f.next=c,l.lastBaseUpdate=s)}}if(null!==i){for(f=o.baseState,a=0,l=c=s=null;;){u=i.lane;var d=i.eventTime;if((r&u)===u){null!==l&&(l=l.next={eventTime:d,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var p=e,h=i;switch(u=t,d=n,h.tag){case 1:if("function"==typeof(p=h.payload)){f=p.call(d,f,u);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(u="function"==typeof(p=h.payload)?p.call(d,f,u):p))break e;f=g({},f,u);break e;case 2:ri=!0}}null!==i.callback&&(e.flags|=32,null===(u=o.effects)?o.effects=[i]:u.push(i))}else d={eventTime:d,lane:u,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===l?(c=l=d,s=f):l=l.next=d,a|=u;if(null===(i=i.next)){if(null===(u=o.shared.pending))break;i=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}null===l&&(s=f),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=l,Pu|=a,e.lanes=a,e.memoizedState=f}}function li(e,t,n){if(e=t.effects,(t.effects=null)!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(O(191,o));o.call(r)}}}var fi=(new o.Component).refs;function di(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:g({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var pi={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=rs(),o=os(e),i=ai(r,o);i.payload=t,null!=n&&(i.callback=n),ui(e,i),is(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=rs(),o=os(e),i=ai(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),ui(e,i),is(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rs(),r=os(e),o=ai(n,r);o.tag=2,null!=t&&(o.callback=t),ui(e,o),is(e,r,n)}};function hi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function gi(e,t,n){var r=!1,o=uo,i=t.contextType;return t=new t(n,i="object"==typeof i&&null!==i?ni(i):(o=po(t)?lo:so.current,(r=null!=(r=t.contextTypes))?fo(e,o):uo)),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=pi,(e.stateNode=t)._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function vi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&pi.enqueueReplaceState(t,t.state,null)}function yi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=fi,oi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ni(i):(i=po(t)?lo:so.current,o.context=fo(e,i)),ci(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(di(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&pi.enqueueReplaceState(o,o.state,null),ci(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var mi=Array.isArray;function bi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(O(309));var r=n.stateNode}if(!r)throw Error(O(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===fi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(O(284));if(!n._owner)throw Error(O(290,e))}return e}function wi(e,t){if("textarea"!==e.type)throw Error(O(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Si(f){function d(e,t){if(f){var n=e.lastEffect;null!==n?(n.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t,t.nextEffect=null,t.flags=8}}function p(e,t){if(!f)return null;for(;null!==t;)d(e,t),t=t.sibling;return null}function h(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ds(e,t)).index=0,e.sibling=null,e}function g(e,t,n){return e.index=n,f?null!==(n=e.alternate)?(n=n.index)<t?(e.flags=2,t):n:(e.flags=2,t):t}function u(e){return f&&null===e.alternate&&(e.flags=2),e}function i(e,t,n,r){return null===t||6!==t.tag?(t=Fs(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function s(e,t,n,r){return null!==t&&t.elementType===n.type?(r=a(t,n.props)).ref=bi(e,t,n):(r=Ms(n.type,n.key,n.props,null,e.mode,r)).ref=bi(e,t,n),r.return=e,r}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Bs(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function l(e,t,n,r,o){return null===t||7!==t.tag?(t=Rs(n,e.mode,r,o)).return=e:(t=a(t,n)).return=e,t}function v(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Ms(t.type,t.key,t.props,null,e.mode,n)).ref=bi(e,null,t),n.return=e,n;case k:return(t=Bs(t,e.mode,n)).return=e,t}if(mi(t)||V(t))return(t=Rs(t,e.mode,n,null)).return=e,t;wi(e,t)}return null}function y(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:i(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?n.type===E?l(e,t,n.props.children,r,o):s(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null}if(mi(n)||V(n))return null!==o?null:l(e,t,n,r,null);wi(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return i(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return e=e.get(null===r.key?n:r.key)||null,r.type===E?l(t,e,r.props.children,o,r.key):s(t,e,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(mi(r)||V(r))return l(t,e=e.get(n)||null,r,o,null);wi(t,r)}return null}return function(e,t,n,r){var o="object"==typeof n&&null!==n&&n.type===E&&null===n.key;o&&(n=n.props.children);var i="object"==typeof n&&null!==n;if(i)switch(n.$$typeof){case x:e:{for(i=n.key,o=t;null!==o;){if(o.key===i){switch(o.tag){case 7:if(n.type!==E)break;p(e,o.sibling),(t=a(o,n.props.children)).return=e,e=t;break e;default:if(o.elementType===n.type){p(e,o.sibling),(t=a(o,n.props)).ref=bi(e,o,n),t.return=e,e=t;break e}}p(e,o);break}d(e,o),o=o.sibling}e=n.type===E?((t=Rs(n.props.children,e.mode,r,n.key)).return=e,t):((r=Ms(n.type,n.key,n.props,null,e.mode,r)).ref=bi(e,t,n),r.return=e,r)}return u(e);case k:e:{for(o=n.key;null!==t;){if(t.key===o){if(4===t.tag&&t.stateNode.containerInfo===n.containerInfo&&t.stateNode.implementation===n.implementation){p(e,t.sibling),(t=a(t,n.children||[])).return=e,e=t;break e}p(e,t);break}d(e,t),t=t.sibling}(t=Bs(n,e.mode,r)).return=e,e=t}return u(e)}if("string"==typeof n||"number"==typeof n)return n=""+n,u(e=((t=null!==t&&6===t.tag?(p(e,t.sibling),a(t,n)):(p(e,t),Fs(n,e.mode,r))).return=e,t));if(mi(n))return function(t,e,n,r){for(var o=null,i=null,a=e,u=e=0,s=null;null!==a&&u<n.length;u++){a.index>u?(s=a,a=null):s=a.sibling;var c=y(t,a,n[u],r);if(null===c){null===a&&(a=s);break}f&&a&&null===c.alternate&&d(t,a),e=g(c,e,u),null===i?o=c:i.sibling=c,i=c,a=s}if(u===n.length)return p(t,a),o;if(null===a){for(;u<n.length;u++)null!==(a=v(t,n[u],r))&&(e=g(a,e,u),null===i?o=a:i.sibling=a,i=a);return o}for(a=h(t,a);u<n.length;u++)null!==(s=m(a,t,u,n[u],r))&&(f&&null!==s.alternate&&a.delete(null===s.key?u:s.key),e=g(s,e,u),null===i?o=s:i.sibling=s,i=s);return f&&a.forEach(function(e){return d(t,e)}),o}(e,t,n,r);if(V(n))return function(t,e,n,r){var o=V(n);if("function"!=typeof o)throw Error(O(150));if(null==(n=o.call(n)))throw Error(O(151));for(var i=o=null,a=e,u=e=0,s=null,c=n.next();null!==a&&!c.done;u++,c=n.next()){a.index>u?(s=a,a=null):s=a.sibling;var l=y(t,a,c.value,r);if(null===l){null===a&&(a=s);break}f&&a&&null===l.alternate&&d(t,a),e=g(l,e,u),null===i?o=l:i.sibling=l,i=l,a=s}if(c.done)return p(t,a),o;if(null===a){for(;!c.done;u++,c=n.next())null!==(c=v(t,c.value,r))&&(e=g(c,e,u),null===i?o=c:i.sibling=c,i=c);return o}for(a=h(t,a);!c.done;u++,c=n.next())null!==(c=m(a,t,u,c.value,r))&&(f&&null!==c.alternate&&a.delete(null===c.key?u:c.key),e=g(c,e,u),null===i?o=c:i.sibling=c,i=c);return f&&a.forEach(function(e){return d(t,e)}),o}(e,t,n,r);if(i&&wi(e,n),void 0===n&&!o)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(O(152,$(e.type)||"Component"))}return p(e,t)}}var xi=Si(!0),ki=Si(!1),Ei={},Oi=oo(Ei),_i=oo(Ei),Ai=oo(Ei);function Ci(e){if(e===Ei)throw Error(O(174));return e}function Ti(e,t){switch(ao(Ai,t),ao(_i,e),ao(Oi,Ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}io(Oi),ao(Oi,t)}function Ii(){io(Oi),io(_i),io(Ai)}function ji(e){Ci(Ai.current);var t=Ci(Oi.current),n=he(t,e.type);t!==n&&(ao(_i,e),ao(Oi,n))}function Pi(e){_i.current===e&&(io(Oi),io(_i))}var Li=oo(0);function Di(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t=(t.child.return=t).child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Mi=null,Ri=null,Ni=!1;function Fi(e,t){var n=Ps(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Bi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,1);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,1);case 13:default:return}}function zi(e){if(Ni){var t=Ri;if(t){var n=t;if(!Bi(e,t)){if(!(t=Vr(n.nextSibling))||!Bi(e,t))return e.flags=-1025&e.flags|2,Ni=!1,void(Mi=e);Fi(Mi,n)}Mi=e,Ri=Vr(t.firstChild)}else e.flags=-1025&e.flags|2,Ni=!1,Mi=e}}function Ui(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Mi=e}function Ki(e){if(e===Mi){if(!Ni)return Ui(e),Ni=!0,0;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Br(t,e.memoizedProps))for(t=Ri;t;)Fi(e,t),t=Vr(t.nextSibling);if(Ui(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ri=Vr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ri=null}}else Ri=Mi?Vr(e.stateNode.nextSibling):null;return 1}}function Vi(){Ri=Mi=null,Ni=!1}var qi=[];function Hi(){for(var e=0;e<qi.length;e++)qi[e]._workInProgressVersionPrimary=null;qi.length=0}var Wi=S.ReactCurrentDispatcher,Gi=S.ReactCurrentBatchConfig,$i=0,Yi=null,Zi=null,Xi=null,Qi=!1,Ji=!1;function ea(){throw Error(O(321))}function ta(e,t){if(null!==t){for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return;return 1}}function na(e,t,n,r,o,i){if($i=i,(Yi=t).memoizedState=null,t.updateQueue=null,t.lanes=0,Wi.current=null===e||null===e.memoizedState?Aa:Ca,e=n(r,o),Ji){i=0;do{if(Ji=!1,!(i<25))throw Error(O(301));i+=1,Xi=Zi=null,t.updateQueue=null,Wi.current=Ta,e=n(r,o)}while(Ji)}if(Wi.current=_a,t=null!==Zi&&null!==Zi.next,$i=0,Xi=Zi=Yi=null,Qi=!1,t)throw Error(O(300));return e}function ra(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xi?Yi.memoizedState=Xi=e:Xi=Xi.next=e,Xi}function oa(){if(null===Zi){var e=Yi.alternate;e=null!==e?e.memoizedState:null}else e=Zi.next;var t=null===Xi?Yi.memoizedState:Xi.next;if(null!==t)Xi=t,Zi=e;else{if(null===e)throw Error(O(310));e={memoizedState:(Zi=e).memoizedState,baseState:Zi.baseState,baseQueue:Zi.baseQueue,queue:Zi.queue,next:null},null===Xi?Yi.memoizedState=Xi=e:Xi=Xi.next=e}return Xi}function ia(e,t){return"function"==typeof t?t(e):t}function aa(e){var t=oa(),n=t.queue;if(null===n)throw Error(O(311));n.lastRenderedReducer=e;var r=Zi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=a=i=null,s=o;do{var c=s.lane;if(($i&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var l={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(a=u=l,i=r):u=u.next=l,Yi.lanes|=c,Pu|=c}s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=a,ar(r,t.memoizedState)||(ja=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ua(e){var t=oa(),n=t.queue;if(null===n)throw Error(O(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;for(var a=o=o.next;i=e(i,a.action),(a=a.next)!==o;);ar(i,t.memoizedState)||(ja=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function sa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=($i&e)===e)&&(t._workInProgressVersionPrimary=r,qi.push(t))),e)return n(t._source);throw qi.push(t),Error(O(350))}function ca(e,i,a,t){var u=Eu;if(null===u)throw Error(O(349));var s=i._getVersion,c=s(i._source),n=Wi.current,r=n.useState(function(){return sa(u,i,a)}),l=r[1],f=r[0];r=Xi;var o=e.memoizedState,d=o.refs,p=d.getSnapshot,h=o.source;o=o.subscribe;var g=Yi;return e.memoizedState={refs:d,source:i,subscribe:t},n.useEffect(function(){d.getSnapshot=a,d.setSnapshot=l;var e=s(i._source);if(!ar(c,e)){e=a(i._source),ar(f,e)||(l(e),e=os(g),u.mutableReadLanes|=e&u.pendingLanes),e=u.mutableReadLanes,u.entangledLanes|=e;for(var t=u.entanglements,n=e;0<n;){var r=31-Vt(n),o=1<<r;t[r]|=e,n&=~o}}},[a,i,t]),n.useEffect(function(){return t(i._source,function(){var e=d.getSnapshot,t=d.setSnapshot;try{t(e(i._source));var n=os(g);u.mutableReadLanes|=n&u.pendingLanes}catch(e){t(function(){throw e})}})},[i,t]),ar(p,a)&&ar(h,i)&&ar(o,t)||((e={pending:null,dispatch:null,lastRenderedReducer:ia,lastRenderedState:f}).dispatch=l=Oa.bind(null,Yi,e),r.queue=e,r.baseQueue=null,f=sa(u,i,a),r.memoizedState=r.baseState=f),f}function la(e,t,n){return ca(oa(),e,t,n)}function fa(e){var t=ra();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ia,lastRenderedState:e}).dispatch=Oa.bind(null,Yi,e),[t.memoizedState,e]}function da(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Yi.updateQueue)?(t={lastEffect:null},(Yi.updateQueue=t).lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,(n.next=e).next=r,t.lastEffect=e),e}function pa(e){return e={current:e},ra().memoizedState=e}function ha(){return oa().memoizedState}function ga(e,t,n,r){var o=ra();Yi.flags|=e,o.memoizedState=da(1|t,n,void 0,void 0===r?null:r)}function va(e,t,n,r){var o=oa();r=void 0===r?null:r;var i=void 0;if(null!==Zi){var a=Zi.memoizedState;if(i=a.destroy,null!==r&&ta(r,a.deps))return void da(t,n,i,r)}Yi.flags|=e,o.memoizedState=da(1|t,n,i,r)}function ya(e,t){return ga(516,4,e,t)}function ma(e,t){return va(516,4,e,t)}function ba(e,t){return va(4,2,e,t)}function wa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Sa(e,t,n){return n=null!=n?n.concat([e]):null,va(4,2,wa.bind(null,t,e),n)}function xa(){}function ka(e,t){var n=oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ta(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ea(e,t){var n=oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ta(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Oa(e,t,n){var r=rs(),o=os(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Yi||null!==a&&a===Yi)Ji=Qi=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var u=t.lastRenderedState,s=a(u,n);if(i.eagerReducer=a,i.eagerState=s,ar(s,u))return}catch(e){}is(e,o,r)}}var _a={readContext:ni,useCallback:ea,useContext:ea,useEffect:ea,useImperativeHandle:ea,useLayoutEffect:ea,useMemo:ea,useReducer:ea,useRef:ea,useState:ea,useDebugValue:ea,useDeferredValue:ea,useTransition:ea,useMutableSource:ea,useOpaqueIdentifier:ea,unstable_isNewReconciler:!1},Aa={readContext:ni,useCallback:function(e,t){return ra().memoizedState=[e,void 0===t?null:t],e},useContext:ni,useEffect:ya,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ga(4,2,wa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ga(4,2,e,t)},useMemo:function(e,t){var n=ra();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ra();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Oa.bind(null,Yi,e),[r.memoizedState,e]},useRef:pa,useState:fa,useDebugValue:xa,useDeferredValue:function(t){var e=fa(t),n=e[0],r=e[1];return ya(function(){var e=Gi.transition;Gi.transition=1;try{r(t)}finally{Gi.transition=e}},[t]),n},useTransition:function(){var e=fa(!1),t=e[0];return pa(e=function(t,n){var e=zo();Ko(e<98?98:e,function(){t(!0)}),Ko(97<e?97:e,function(){var e=Gi.transition;Gi.transition=1;try{t(!1),n()}finally{Gi.transition=e}})}.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ra();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ca(r,e,t,n)},useOpaqueIdentifier:function(){if(Ni){var e=!1,t={$$typeof:R,toString:r=function(){throw e||(e=!0,n("r:"+(Hr++).toString(36))),Error(O(355))},valueOf:r},n=fa(t)[1];return 0==(2&Yi.mode)&&(Yi.flags|=516,da(5,function(){n("r:"+(Hr++).toString(36))},void 0,null)),t}var r;return fa(t="r:"+(Hr++).toString(36)),t},unstable_isNewReconciler:!1},Ca={readContext:ni,useCallback:ka,useContext:ni,useEffect:ma,useImperativeHandle:Sa,useLayoutEffect:ba,useMemo:Ea,useReducer:aa,useRef:ha,useState:function(){return aa(ia)},useDebugValue:xa,useDeferredValue:function(t){var e=aa(ia),n=e[0],r=e[1];return ma(function(){var e=Gi.transition;Gi.transition=1;try{r(t)}finally{Gi.transition=e}},[t]),n},useTransition:function(){var e=aa(ia)[0];return[ha().current,e]},useMutableSource:la,useOpaqueIdentifier:function(){return aa(ia)[0]},unstable_isNewReconciler:!1},Ta={readContext:ni,useCallback:ka,useContext:ni,useEffect:ma,useImperativeHandle:Sa,useLayoutEffect:ba,useMemo:Ea,useReducer:ua,useRef:ha,useState:function(){return ua(ia)},useDebugValue:xa,useDeferredValue:function(t){var e=ua(ia),n=e[0],r=e[1];return ma(function(){var e=Gi.transition;Gi.transition=1;try{r(t)}finally{Gi.transition=e}},[t]),n},useTransition:function(){var e=ua(ia)[0];return[ha().current,e]},useMutableSource:la,useOpaqueIdentifier:function(){return ua(ia)[0]},unstable_isNewReconciler:!1},Ia=S.ReactCurrentOwner,ja=!1;function Pa(e,t,n,r){t.child=null===e?ki(t,null,n,r):xi(t,e.child,n,r)}function La(e,t,n,r,o){n=n.render;var i=t.ref;return ti(t,o),r=na(e,t,n,r,i,o),null===e||ja?(t.flags|=1,Pa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,eu(e,t,o))}function Da(e,t,n,r,o,i){if(null!==e)return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:sr)(o,r)&&e.ref===t.ref)?eu(e,t,i):(t.flags|=1,(e=Ds(a,r)).ref=t.ref,(e.return=t).child=e);var a=n.type;return"function"!=typeof a||Ls(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ms(n.type,null,r,t,t.mode,i)).ref=t.ref,(e.return=t).child=e):(t.tag=15,t.type=a,Ma(e,t,a,r,o,i))}function Ma(e,t,n,r,o,i){if(null!==e&&sr(e.memoizedProps,r)&&e.ref===t.ref){if(ja=!1,0==(i&o))return t.lanes=e.lanes,eu(e,t,i);0!=(16384&e.flags)&&(ja=!0)}return Fa(e,t,n,r,i)}function Ra(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},ds(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ds(t,e),null;t.memoizedState={baseLanes:0},ds(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ds(t,r);return Pa(e,t,o,n),t.child}function Na(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Fa(e,t,n,r,o){var i=po(n)?lo:so.current;return i=fo(t,i),ti(t,o),n=na(e,t,n,r,i,o),null===e||ja?(t.flags|=1,Pa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,eu(e,t,o))}function Ba(e,t,n,r,o){if(po(n)){var i=!0;yo(t)}else i=!1;if(ti(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),gi(t,n,r),yi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var s=a.context,c=n.contextType;c="object"==typeof c&&null!==c?ni(c):fo(t,c=po(n)?lo:so.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||u===r&&s===c||vi(t,a,r,c),ri=!1;var d=t.memoizedState;a.state=d,ci(t,r,a,o),s=t.memoizedState,r=u!==r||d!==s||co.current||ri?("function"==typeof l&&(di(t,n,l,r),s=t.memoizedState),(u=ri||hi(t,n,u,r,d,s,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,u):("function"==typeof a.componentDidMount&&(t.flags|=4),!1)}else{a=t.stateNode,ii(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Go(t.type,u),a.props=c,f=t.pendingProps,d=a.context,s="object"==typeof(s=n.contextType)&&null!==s?ni(s):fo(t,s=po(n)?lo:so.current);var p=n.getDerivedStateFromProps;(l="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||u===f&&d===s||vi(t,a,r,s),ri=!1,d=t.memoizedState,a.state=d,ci(t,r,a,o);var h=t.memoizedState;r=u!==f||d!==h||co.current||ri?("function"==typeof p&&(di(t,n,p,r),h=t.memoizedState),(c=ri||hi(t,n,c,r,d,h,s))?(l||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,c):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),!1)}return za(e,t,n,r,i,o)}function za(e,t,n,r,o,i){Na(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&mo(t,n,!1),eu(e,t,i);r=t.stateNode,Ia.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xi(t,e.child,null,i),t.child=xi(t,null,u,i)):Pa(e,t,u,i),t.memoizedState=r.state,o&&mo(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),Ti(e,t.containerInfo)}var Ka,Va,qa,Ha,Wa={dehydrated:null,retryLane:0};function Ga(e,t,n){var r,o=t.pendingProps,i=Li.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),ao(Li,1&i),null===e?(void 0!==o.fallback&&zi(t),e=o.children,i=o.fallback,a?(e=$a(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wa,e):"number"==typeof o.unstable_expectedLoadTime?(e=$a(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wa,t.lanes=33554432,e):((n=Ns({mode:"visible",children:e},t.mode,n,null)).return=t).child=n):(e.memoizedState,a?(o=Za(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Wa,o):(n=Ya(e,t,o.children,n),t.memoizedState=null,n))}function $a(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Ns(t,o,0,null),n=Rs(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function Ya(e,t,n,r){var o=e.child;return e=o.sibling,n=Ds(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,(n.sibling=null)!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Za(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var u={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=u,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,(t.lastEffect=a).nextEffect=null):t.firstEffect=t.lastEffect=null):n=Ds(a,u),null!==e?r=Ds(e,r):(r=Rs(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Xa(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ei(e.return,t)}function Qa(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function Ja(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Pa(e,t,r.children,n),0!=(2&(r=Li.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xa(e,n);else if(19===e.tag)Xa(e,n);else if(null!==e.child){e=(e.child.return=e).child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ao(Li,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Di(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Qa(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Di(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Qa(t,!0,n,null,i,t.lastEffect);break;case"together":Qa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function eu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Pu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(O(153));if(null!==t.child){for(n=Ds(e=t.child,e.pendingProps),(t.child=n).return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ds(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function tu(e,t){if(!Ni)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function nu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return po(t.type)&&ho(),null;case 3:return Ii(),io(co),io(so),Hi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ki(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Va(t),null;case 5:Pi(t);var o=Ci(Ai.current);if(n=t.type,null!==e&&null!=t.stateNode)qa(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(O(166));return null}if(e=Ci(Oi.current),Ki(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Gr]=t,r[$r]=i,n){case"dialog":Or("cancel",r),Or("close",r);break;case"iframe":case"object":case"embed":Or("load",r);break;case"video":case"audio":for(e=0;e<Sr.length;e++)Or(Sr[e],r);break;case"source":Or("error",r);break;case"img":case"image":case"link":Or("error",r),Or("load",r);break;case"details":Or("toggle",r);break;case"input":te(r,i),Or("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Or("invalid",r);break;case"textarea":ce(r,i),Or("invalid",r)}for(var a in Ee(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&Or("scroll",r));switch(n){case"input":X(r),oe(r,i,!0);break;case"textarea":X(r),fe(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Mr)}r=e,null!==(t.updateQueue=r)&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===de.html&&(e=pe(n)),e===de.html?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Gr]=t,e[$r]=r,Ka(e,t,!1,!1),t.stateNode=e,a=Oe(n,r),n){case"dialog":Or("cancel",e),Or("close",e),o=r;break;case"iframe":case"object":case"embed":Or("load",e),o=r;break;case"video":case"audio":for(o=0;o<Sr.length;o++)Or(Sr[o],e);o=r;break;case"source":Or("error",e),o=r;break;case"img":case"image":case"link":Or("error",e),Or("load",e),o=r;break;case"details":Or("toggle",e),o=r;break;case"input":te(e,r),o=ee(e,r),Or("invalid",e);break;case"option":o=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=g({},r,{value:void 0}),Or("invalid",e);break;case"textarea":ce(e,r),o=se(e,r),Or("invalid",e);break;default:o=r}Ee(n,o);var u=o;for(i in u)if(u.hasOwnProperty(i)){var s=u[i];"style"===i?xe(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&ye(e,s):"children"===i?"string"==typeof s?"textarea"===n&&""===s||me(e,s):"number"==typeof s&&me(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Or("scroll",e):null!=s&&w(e,i,s,a))}switch(n){case"input":X(e),oe(e,r,!1);break;case"textarea":X(e),fe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Y(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ue(e,!!r.multiple,i,!1):null!=r.defaultValue&&ue(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Mr)}Fr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(O(166));n=Ci(Ai.current),Ci(Oi.current),Ki(t)?(r=t.stateNode,n=t.memoizedProps,r[Gr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Gr]=t).stateNode=r}return null;case 13:return(io(Li),r=t.memoizedState,0!=(64&t.flags))?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ki(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Li.current)?0===Tu&&(Tu=3):(0!==Tu&&3!==Tu||(Tu=4),null===Eu||0==(134217727&Pu)&&0==(134217727&Lu)||ss(Eu,_u))),(r||n)&&(t.flags|=4),null);case 4:return Ii(),Va(t),null===e&&Ar(t.stateNode.containerInfo),null;case 10:return Jo(t),null;case 17:return po(t.type)&&ho(),null;case 19:if(io(Li),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)tu(r,!1);else{if(0!==Tu||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Di(e))){for(t.flags|=64,tu(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,(i.lastEffect=null)===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ao(Li,1&Li.current|2),t.child}e=e.sibling}null!==r.tail&&Bo()>Nu&&(t.flags|=64,tu(r,!(i=!0)),t.lanes=33554432)}else{if(!i)if(null!==(e=Di(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),tu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Ni)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Bo()-r.renderingStartTime>Nu&&1073741824!==n&&(t.flags|=64,tu(r,!(i=!0)),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Bo(),n.sibling=null,t=Li.current,ao(Li,i?1&t|2:1&t),n):null;case 23:case 24:return ps(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(O(156,t.tag))}function ru(e){switch(e.tag){case 1:po(e.type)&&ho();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ii(),io(co),io(so),Hi(),0!=(64&(t=e.flags)))throw Error(O(285));return e.flags=-4097&t|64,e;case 5:return Pi(e),null;case 13:return io(Li),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return io(Li),null;case 4:return Ii(),null;case 10:return Jo(e),null;case 23:case 24:return ps(),null;default:return null}}function ou(e,t){try{for(var n="",r=t;n+=G(r),r=r.return;);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n=(n.child.return=n).child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(){},qa=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ci(Oi.current);var i,a=null;switch(n){case"input":o=ee(e,o),r=ee(e,r),a=[];break;case"option":o=ae(e,o),r=ae(e,r),a=[];break;case"select":o=g({},o,{value:void 0}),r=g({},r,{value:void 0}),a=[];break;case"textarea":o=se(e,o),r=se(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Mr)}for(c in Ee(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(i in u)u.hasOwnProperty(i)&&((n=n||{})[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a=a||[]:(a=a||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||((n=n||{})[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&((n=n||{})[i]=s[i])}else n||(a=a||[]).push(c,n),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Or("scroll",e),a||u===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===R?s.toString():(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ha=function(e,t,n,r){n!==r&&(t.flags|=4)};var iu="function"==typeof WeakMap?WeakMap:Map;function au(e,t,n){(n=ai(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Uu||(Uu=!0,Ku=r)},n}function uu(e,t,n){(n=ai(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Vu?Vu=new Set([this]):Vu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var su="function"==typeof WeakSet?WeakSet:Set;function cu(t){var e=t.ref;if(null!==e)if("function"==typeof e)try{e(null)}catch(e){Ts(t,e)}else e.current=null}function lu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Go(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Kr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(O(163))}function fu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(_s(n,e),Os(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Go(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&li(n,t,e));case 3:if(null!==(t=n.updateQueue)){if((e=null)!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}li(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Fr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(null!==(n=n.alternate)&&(null!==(n=n.memoizedState)&&(null!==(n=n.dehydrated)&&St(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(O(163))}function du(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Se("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n=(n.child.return=n).child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function pu(e,t){if(wo&&"function"==typeof wo.onCommitFiberUnmount)try{wo.onCommitFiberUnmount(bo,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))_s(t,n);else{r=t;try{o()}catch(e){Ts(r,e)}}n=n.next}while(n!==e)}break;case 1:if(cu(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ts(t,e)}break;case 5:cu(t);break;case 4:yu(e,t)}}function hu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function gu(e){return 5===e.tag||3===e.tag||4===e.tag}function vu(e){e:{for(var t=e.return;null!==t;){if(gu(t))break e;t=t.return}throw Error(O(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(O(161))}16&n.flags&&(me(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||gu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n=(n.child.return=n).child}if(!(2&n.flags)){n=n.stateNode;break e}}(r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode,n.insertBefore(t,r)):(n=r,n.appendChild(t)),r=r._reactRootContainer,null!=r||null!==n.onclick||(n.onclick=Mr));else if(4!==o&&(t=t.child,null!==t))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}:function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&(t=t.child,null!==t))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling})(e,n,t)}function yu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(O(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,u=o,s=u;;)if(pu(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,u=o.stateNode,8===a.nodeType?a.parentNode.removeChild(u):a.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o=(o.child.return=o).child;continue}}else if(pu(e,o),null!==o.child){o=(o.child.return=o).child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function mu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null))for(var r=n=n.next;3==(3&r.tag)&&(e=r.destroy,(r.destroy=void 0)!==e&&e()),(r=r.next)!==n;);return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if((t.updateQueue=null)!==i){for(n[$r]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ne(n,r),Oe(e,o),t=Oe(e,r),o=0;o<i.length;o+=2){var a=i[o],u=i[o+1];"style"===a?xe(n,u):"dangerouslySetInnerHTML"===a?ye(n,u):"children"===a?me(n,u):w(n,a,u,t)}switch(e){case"input":re(n,r);break;case"textarea":le(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ue(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ue(n,!!r.multiple,r.defaultValue,!0):ue(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(O(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Ru=Bo(),du(t.child,!0)),void bu(t);case 19:return void bu(t);case 17:return;case 23:case 24:return void du(t,null!==t.memoizedState)}throw Error(O(163))}function bu(n){var e=n.updateQueue;if(null!==e){n.updateQueue=null;var r=n.stateNode;null===r&&(r=n.stateNode=new su),e.forEach(function(e){var t=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),(t=0)===t&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===zo()?1:2:(0===Ju&&(Ju=ju),0===(t=zt(62914560&~Ju))&&(t=4194304))),n=rs(),null!==(e=as(e,t))&&(Kt(e,t,n),us(e,n))}.bind(null,n,e);r.has(e)||(r.add(e),e.then(t,t))})}}var wu=Math.ceil,Su=S.ReactCurrentDispatcher,xu=S.ReactCurrentOwner,ku=0,Eu=null,Ou=null,_u=0,Au=0,Cu=oo(0),Tu=0,Iu=null,ju=0,Pu=0,Lu=0,Du=0,Mu=null,Ru=0,Nu=1/0;function Fu(){Nu=Bo()+500}var Bu,zu=null,Uu=!1,Ku=null,Vu=null,qu=!1,Hu=null,Wu=90,Gu=[],$u=[],Yu=null,Zu=0,Xu=null,Qu=-1,Ju=0,es=0,ts=null,ns=!1;function rs(){return 0!=(48&ku)?Bo():-1!==Qu?Qu:Qu=Bo()}function os(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===zo()?1:2;if(0===Ju&&(Ju=ju),0===Wo.transition)return e=zo(),e=0!=(4&ku)&&98===e?Bt(12,Ju):Bt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),Ju);0!==es&&(es=null!==Mu?Mu.pendingLanes:0),e=Ju;var t=4186112&~es;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}function is(e,t,n){if(50<Zu)throw Zu=0,Xu=null,Error(O(185));if(null!==(e=as(e,t))){Kt(e,t,n),e===Eu&&(Lu|=t,4===Tu&&ss(e,_u));var r=zo();1===t?0!=(8&ku)&&0==(48&ku)?cs(e):(us(e,n),0===ku&&(Fu(),qo())):(0==(4&ku)||98!==r&&99!==r||(null===Yu?Yu=new Set([e]):Yu.add(e)),us(e,n)),Mu=e}}function as(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),e=(n=e).return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),e=(n=e).return;return 3===n.tag?n.stateNode:null}function us(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-Vt(a),s=1<<u,c=i[u];if(-1===c){if(0==(s&r)||0!=(s&o)){c=t,Rt(s);i[u]=10<=Mt?c+250:6<=Mt?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);a&=~s}if(r=Nt(e,e===Eu?_u:0),t=Mt,0===r)null!==n&&(n!==Lo&&ko(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Lo&&ko(n)}n=15===t?(n=cs.bind(null,e),null===Mo?(Mo=[n],Ro=xo(Co,Ho)):Mo.push(n),Lo):14===t?Vo(99,cs.bind(null,e)):Vo(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(O(358,e))}}(t),function e(t){Qu=-1;es=Ju=0;if(0!=(48&ku))throw Error(O(327));var n=t.callbackNode;if(Es()&&t.callbackNode!==n)return null;var r=Nt(t,t===Eu?_u:0);if(0===r)return null;var o=r;var i=ku;ku|=16;var a=vs();Eu===t&&_u===o||(Fu(),hs(t,o));for(;;)try{bs();break}catch(e){gs(t,e)}Qo();Su.current=a;ku=i;o=null!==Ou?0:(Eu=null,_u=0,Tu);if(0!=(ju&Lu))hs(t,0);else if(0!==o){if(2===o&&(ku|=64,t.hydrate&&(t.hydrate=!1,Kr(t.containerInfo)),0!==(r=Ft(t))&&(o=ys(t,r))),1===o)throw n=Iu,hs(t,0),ss(t,r),us(t,Bo()),n;switch(t.finishedWork=t.current.alternate,t.finishedLanes=r,o){case 0:case 1:throw Error(O(345));case 2:xs(t);break;case 3:if(ss(t,r),(62914560&r)===r&&10<(o=Ru+500-Bo())){if(0!==Nt(t,0))break;if(((i=t.suspendedLanes)&r)!==r){rs(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=zr(xs.bind(null,t),o);break}xs(t);break;case 4:if(ss(t,r),(4186112&r)===r)break;for(o=t.eventTimes,i=-1;0<r;){var u=31-Vt(r);a=1<<u,u=o[u],i<u&&(i=u),r&=~a}if(r=i,10<(r=((r=Bo()-r)<120?120:r<480?480:r<1080?1080:r<1920?1920:r<3e3?3e3:r<4320?4320:1960*wu(r/1960))-r)){t.timeoutHandle=zr(xs.bind(null,t),r);break}xs(t);break;case 5:xs(t);break;default:throw Error(O(329))}}us(t,Bo());return t.callbackNode===n?e.bind(null,t):null}.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ss(e,t){for(t&=~Du,t&=~Lu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r}}function cs(e){if(0!=(48&ku))throw Error(O(327));if(Es(),e===Eu&&0!=(e.expiredLanes&_u)){var t=_u,n=ys(e,t);0!=(ju&Lu)&&(n=ys(e,t=Nt(e,t)))}else n=ys(e,t=Nt(e,0));if(0!==e.tag&&2===n&&(ku|=64,e.hydrate&&(e.hydrate=!1,Kr(e.containerInfo)),0!==(t=Ft(e))&&(n=ys(e,t))),1===n)throw n=Iu,hs(e,0),ss(e,t),us(e,Bo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,xs(e),us(e,Bo()),null}function ls(e,t){var n=ku;ku|=1;try{return e(t)}finally{0===(ku=n)&&(Fu(),qo())}}function fs(e,t){var n=ku;ku&=-2,ku|=8;try{return e(t)}finally{0===(ku=n)&&(Fu(),qo())}}function ds(e,t){ao(Cu,Au),Au|=t,ju|=t}function ps(){Au=Cu.current,io(Cu)}function hs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ur(n)),null!==Ou)for(n=Ou.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ho();break;case 3:Ii(),io(co),io(so),Hi();break;case 5:Pi(r);break;case 4:Ii();break;case 13:case 19:io(Li);break;case 10:Jo(r);break;case 23:case 24:ps()}n=n.return}Ou=Ds((Eu=e).current,null),_u=Au=ju=t,Iu=null,Du=Lu=Pu=Tu=0}function gs(e,t){for(;;){var n=Ou;try{if(Qo(),Wi.current=_a,Qi){for(var r=Yi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Qi=!1}if($i=0,Xi=Zi=Yi=null,Ji=!1,(xu.current=null)===n||null===n.return){Tu=1,Iu=t,Ou=null;break}e:{var i=e,a=n.return,u=n,s=t;if(t=_u,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&u.mode)){var l=u.alternate;l?(u.updateQueue=l.updateQueue,u.memoizedState=l.memoizedState,u.lanes=l.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!=(1&Li.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var g=d.memoizedProps;p=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!f)}}if(p){var v=d.updateQueue;if(null===v){var y=new Set;y.add(c),d.updateQueue=y}else v.add(c);if(0==(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var m=ai(-1,1);m.tag=2,ui(u,m)}u.lanes|=1;break e}s=void 0,u=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new iu,s=new Set,b.set(c,s)):void 0===(s=b.get(c))&&(s=new Set,b.set(c,s)),!s.has(u)){s.add(u);var w=Is.bind(null,i,c,u);c.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error(($(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Tu&&(Tu=2),s=ou(s,u),d=a;do{switch(d.tag){case 3:i=s,d.flags|=4096,t&=-t,d.lanes|=t,si(d,au(0,i,t));break e;case 1:i=s;var S=d.type,x=d.stateNode;if(0==(64&d.flags)&&("function"==typeof S.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===Vu||!Vu.has(x)))){d.flags|=4096,t&=-t,d.lanes|=t,si(d,uu(d,i,t));break e}}d=d.return}while(null!==d)}Ss(n)}catch(e){t=e,Ou===n&&null!==n&&(Ou=n=n.return);continue}break}}function vs(){var e=Su.current;return Su.current=_a,null===e?_a:e}function ys(t,e){var n=ku;ku|=16;var r=vs();for(Eu===t&&_u===e||hs(t,e);;)try{ms();break}catch(e){gs(t,e)}if(Qo(),ku=n,Su.current=r,null!==Ou)throw Error(O(261));return Eu=null,_u=0,Tu}function ms(){for(;null!==Ou;)ws(Ou)}function bs(){for(;null!==Ou&&!Eo();)ws(Ou)}function ws(e){var t=Bu(e.alternate,e,Au);e.memoizedProps=e.pendingProps,null===t?Ss(e):Ou=t,xu.current=null}function Ss(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=nu(n,t,Au)))return void(Ou=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Au)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ru(t)))return n.flags&=2047,void(Ou=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ou=t);Ou=t=e}while(null!==t);0===Tu&&(Tu=5)}function xs(e){var t=zo();return Ko(99,function(e,t){for(;Es(),null!==Hu;);if(0!=(48&ku))throw Error(O(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(O(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,u=e.expirationTimes;0<i;){var s=31-Vt(i),c=1<<s;o[s]=0,a[s]=-1,u[s]=-1,i&=~c}if(null!==Yu&&0==(24&r)&&Yu.has(e)&&Yu.delete(e),e===Eu&&(Ou=Eu=null,_u=0),r=1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,n.firstEffect):n:n.firstEffect,null!==r){if(o=ku,ku|=32,xu.current=null,Rr=$t,dr(a=fr())){if("selectionStart"in a)u={start:a.selectionStart,end:a.selectionEnd};else e:if(u=(u=a.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&0!==c.rangeCount){u=c.anchorNode,i=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{u.nodeType,s.nodeType}catch(e){u=null;break e}var l=0,f=-1,d=-1,p=0,h=0,g=a,v=null;t:for(;;){for(var y;g!==u||0!==i&&3!==g.nodeType||(f=l+i),g!==s||0!==c&&3!==g.nodeType||(d=l+c),3===g.nodeType&&(l+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===a)break t;if(v===u&&++p===i&&(f=l),v===s&&++h===c&&(d=l),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}u=-1===f||-1===d?null:{start:f,end:d}}else u=null;u=u||{start:0,end:0}}else u=null;ts=null,ns=$t=!(Nr={focusedElem:a,selectionRange:u}),zu=r;do{try{ks()}catch(e){if(null===zu)throw Error(O(330));Ts(zu,e),zu=zu.nextEffect}}while(null!==zu);ts=null,zu=r;do{try{for(a=e;null!==zu;){var m=zu.flags;if(16&m&&me(zu.stateNode,""),128&m){var b=zu.alternate;if(null!==b){var w=b.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&m){case 2:vu(zu),zu.flags&=-3;break;case 6:vu(zu),zu.flags&=-3,mu(zu.alternate,zu);break;case 1024:zu.flags&=-1025;break;case 1028:zu.flags&=-1025,mu(zu.alternate,zu);break;case 4:mu(zu.alternate,zu);break;case 8:yu(a,u=zu);var S=u.alternate;hu(u),null!==S&&hu(S)}zu=zu.nextEffect}}catch(e){if(null===zu)throw Error(O(330));Ts(zu,e),zu=zu.nextEffect}}while(null!==zu);if(w=Nr,b=fr(),m=w.focusedElem,a=w.selectionRange,b!==m&&m&&m.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(m.ownerDocument.documentElement,m)){null!==a&&dr(m)&&(b=a.start,void 0===(w=a.end)&&(w=b),"selectionStart"in m?(m.selectionStart=b,m.selectionEnd=Math.min(w,m.value.length)):(w=(b=m.ownerDocument||document)&&b.defaultView||window).getSelection&&(w=w.getSelection(),u=m.textContent.length,S=Math.min(a.start,u),a=void 0===a.end?S:Math.min(a.end,u),!w.extend&&a<S&&(u=a,a=S,S=u),u=lr(m,S),i=lr(m,a),u&&i&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&((b=b.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),a<S?(w.addRange(b),w.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),w.addRange(b))))),b=[];for(w=m;w=w.parentNode;)1===w.nodeType&&b.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof m.focus&&m.focus(),m=0;m<b.length;m++)(w=b[m]).element.scrollLeft=w.left,w.element.scrollTop=w.top}$t=!!Rr,Nr=Rr=null,e.current=n,zu=r;do{try{for(m=e;null!==zu;){var x=zu.flags;if(36&x&&fu(m,zu.alternate,zu),128&x){b=void 0;var k=zu.ref;if(null!==k){var E=zu.stateNode;switch(zu.tag){case 5:b=E;break;default:b=E}"function"==typeof k?k(b):k.current=b}}zu=zu.nextEffect}}catch(e){if(null===zu)throw Error(O(330));Ts(zu,e),zu=zu.nextEffect}}while(null!==zu);zu=null,Do(),ku=o}else e.current=n;if(qu)qu=!1,Hu=e,Wu=t;else for(zu=r;null!==zu;)t=zu.nextEffect,zu.nextEffect=null,8&zu.flags&&((x=zu).sibling=null,x.stateNode=null),zu=t;if(0===(r=e.pendingLanes)&&(Vu=null),1===r?e===Xu?Zu++:(Zu=0,Xu=e):Zu=0,n=n.stateNode,wo&&"function"==typeof wo.onCommitFiberRoot)try{wo.onCommitFiberRoot(bo,n,void 0,64==(64&n.current.flags))}catch(e){}if(us(e,Bo()),Uu)throw Uu=!1,e=Ku,Ku=null,e;return 0!=(8&ku)||qo(),null}.bind(null,e,t)),null}function ks(){for(;null!==zu;){var e=zu.alternate;ns||null===ts||(0!=(8&zu.flags)?Je(zu,ts)&&(ns=!0):13!==zu.tag||(r=zu,null===(n=e)||null!==(n=n.memoizedState)&&null===n.dehydrated||null===(r=r.memoizedState)||null!==r.dehydrated)||!Je(zu,ts)||(ns=!0));var t=zu.flags;0!=(256&t)&&lu(e,zu),0==(512&t)||qu||(qu=!0,Vo(97,function(){return Es(),null})),zu=zu.nextEffect}var n,r}function Es(){if(90===Wu)return!1;var e=97<Wu?97:Wu;return Wu=90,Ko(e,As)}function Os(e,t){Gu.push(t,e),qu||(qu=!0,Vo(97,function(){return Es(),null}))}function _s(e,t){$u.push(t,e),qu||(qu=!0,Vo(97,function(){return Es(),null}))}function As(){if(null===Hu)return!1;var e=Hu;if(Hu=null,0!=(48&ku))throw Error(O(331));var t=ku;ku|=32;var n=$u;$u=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(O(330));Ts(i,e)}}for(n=Gu,Gu=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var u=o.create;o.destroy=u()}catch(e){if(null===i)throw Error(O(330));Ts(i,e)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return ku=t,qo(),!0}function Cs(e,t,n){ui(e,t=au(0,t=ou(n,t),1)),t=rs(),null!==(e=as(e,1))&&(Kt(e,1,t),us(e,t))}function Ts(e,t){if(3===e.tag)Cs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Cs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vu||!Vu.has(r))){var o=uu(n,e=ou(t,e),1);if(ui(n,o),o=rs(),null!==(n=as(n,1)))Kt(n,1,o),us(n,o);else if("function"==typeof r.componentDidCatch&&(null===Vu||!Vu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Is(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=rs(),e.pingedLanes|=e.suspendedLanes&n,Eu===e&&(_u&n)===n&&(4===Tu||3===Tu&&(62914560&_u)===_u&&Bo()-Ru<500?hs(e,0):Du|=n),us(e,t)}function js(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ps(e,t,n,r){return new js(e,t,n,r)}function Ls(e){return(e=e.prototype)&&e.isReactComponent}function Ds(e,t){var n=e.alternate;return null===n?((n=Ps(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,(n.alternate=e).alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ms(e,t,n,r,o,i){var a=2;if("function"==typeof(r=e))Ls(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case E:return Rs(n.children,o,i,t);case N:a=8,o|=16;break;case _:a=8,o|=1;break;case A:return(e=Ps(12,n,t,8|o)).elementType=A,e.type=A,e.lanes=i,e;case j:return(e=Ps(13,n,t,o)).type=j,e.elementType=j,e.lanes=i,e;case P:return(e=Ps(19,n,t,o)).elementType=P,e.lanes=i,e;case F:return Ns(n,o,i,t);case B:return(e=Ps(24,n,t,o)).elementType=B,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:a=10;break e;case T:a=9;break e;case I:a=11;break e;case L:a=14;break e;case D:a=16,r=null;break e;case M:a=22;break e}throw Error(O(130,null==e?e:typeof e,""))}return(t=Ps(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Rs(e,t,n,r){return(e=Ps(7,e,r,t)).lanes=n,e}function Ns(e,t,n,r){return(e=Ps(23,e,r,t)).elementType=F,e.lanes=n,e}function Fs(e,t,n){return(e=Ps(6,e,null,t)).lanes=n,e}function Bs(e,t,n){return(t=Ps(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zs(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r){var o=t.current,i=rs(),a=os(o);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(O(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(po(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(O(171))}if(1===n.tag){var s=n.type;if(po(s)){n=vo(n,s,u);break e}}n=u}else n=uo;return null===t.context?t.context=n:t.pendingContext=n,(t=ai(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ui(o,t),is(o,a,i),a}function Ks(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Vs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qs(e,t){Vs(e,t),(e=e.alternate)&&Vs(e,t)}function Hs(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new zs(e,t,null!=n&&!0===n.hydrate),t=Ps(3,null,null,2===t?7:1===t?3:0),(n.current=t).stateNode=n,oi(t),e[Yr]=n.current,Ar(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Ws(e){return e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType||8===e.nodeType&&" react-mount-point-unstable "===e.nodeValue)}function Gs(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var u=o;o=function(){var e=Ks(a);u.call(e)}}Us(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Hs(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=Ks(a);s.call(e)}}fs(function(){Us(t,a,e,o)})}return Ks(a)}function $s(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ws(t))throw Error(O(200));return function(e,t,n,r){var o=3<arguments.length&&void 0!==r?r:null;return{$$typeof:k,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Bu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||co.current)ja=!0;else{if(0==(n&r)){switch(ja=!1,t.tag){case 3:Ua(t),Vi();break;case 5:ji(t);break;case 1:po(t.type)&&yo(t);break;case 4:Ti(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;ao($o,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Ga(e,t,n):(ao(Li,1&Li.current),null!==(t=eu(e,t,n))?t.sibling:null);ao(Li,1&Li.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Ja(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ao(Li,Li.current),r)break;return null;case 23:case 24:return t.lanes=0,Ra(e,t,n)}return eu(e,t,n)}ja=0!=(16384&e.flags)}else ja=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=fo(t,so.current),ti(t,n),o=na(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,po(r)){var i=!0;yo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,oi(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&di(t,r,a,e),o.updater=pi,yi((t.stateNode=o)._reactInternals=t,r,e,n),t=za(null,t,r,!0,i,n)}else t.tag=0,Pa(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Ls(e)?1:0;if(null!=e){if((e=e.$$typeof)===I)return 11;if(e===L)return 14}return 2}(o),e=Go(o,e),i){case 0:t=Fa(null,t,o,e,n);break e;case 1:t=Ba(null,t,o,e,n);break e;case 11:t=La(null,t,o,e,n);break e;case 14:t=Da(null,t,o,Go(o.type,e),r,n);break e}throw Error(O(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Fa(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ba(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(O(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ii(e,t),ci(t,r,null,n),(r=t.memoizedState.element)===o)Vi(),t=eu(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ri=Vr(t.stateNode.containerInfo.firstChild),Mi=t,i=Ni=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],qi.push(i);for(n=ki(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Pa(e,t,r,n),Vi();t=t.child}return t;case 5:return ji(t),null===e&&zi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Br(r,o)?a=null:null!==i&&Br(r,i)&&(t.flags|=16),Na(e,t),Pa(e,t,a,n),t.child;case 6:return null===e&&zi(t),null;case 13:return Ga(e,t,n);case 4:return Ti(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xi(t,null,r,n):Pa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,La(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 7:return Pa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var u=t.type._context;if(ao($o,u._currentValue),u._currentValue=i,null!==a)if(u=a.value,0===(i=ar(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(a.children===o.children&&!co.current){t=eu(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){a=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&i)){1===u.tag&&((c=ai(-1,n&-n)).tag=2,ui(u,c)),u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),ei(u.return,n),s.lanes|=n;break}c=c.next}}else a=10===u.tag&&u.type===t.type?null:u.child;if(null!==a)a.return=u;else for(a=u;null!==a;){if(a===t){a=null;break}if(null!==(u=a.sibling)){u.return=a.return,a=u;break}a=a.return}u=a}Pa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ti(t,n),r=r(o=ni(o,i.unstable_observedBits)),t.flags|=1,Pa(e,t,r,n),t.child;case 14:return i=Go(o=t.type,t.pendingProps),Da(e,t,o,i=Go(o.type,i),r,n);case 15:return Ma(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Go(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,po(r)?(e=!0,yo(t)):e=!1,ti(t,n),gi(t,r,o),yi(t,r,o,n),za(null,t,r,!0,e,n);case 19:return Ja(e,t,n);case 23:case 24:return Ra(e,t,n)}throw Error(O(156,t.tag))},Hs.prototype.render=function(e){Us(e,this._internalRoot,null,null)},Hs.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Us(null,e,null,function(){t[Yr]=null})},et=function(e){13===e.tag&&(is(e,4,rs()),qs(e,4))},tt=function(e){13===e.tag&&(is(e,67108864,rs()),qs(e,67108864))},nt=function(e){if(13===e.tag){var t=rs(),n=os(e);is(e,n,t),qs(e,n)}},rt=function(e,t){return t()},Ae=function(e,t,n){switch(t){case"input":if(re(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=eo(r);if(!o)throw Error(O(90));Q(r),re(r,o)}}}break;case"textarea":le(e,n);break;case"select":null!=(t=n.value)&&ue(e,!!n.multiple,t,!1)}},Le=ls,De=function(e,t,n,r,o){var i=ku;ku|=4;try{return Ko(98,e.bind(null,t,n,r,o))}finally{0===(ku=i)&&(Fu(),qo())}},Me=function(){0==(49&ku)&&(function(){if(null!==Yu){var e=Yu;Yu=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,us(e,Bo())})}qo()}(),Es())};var Ys={Events:[Qr,Jr,eo,je,Pe,Es,{current:!(Re=function(e,t){var n=ku;ku|=2;try{return e(t)}finally{0===(ku=n)&&(Fu(),qo())}})}]},Zs={findFiberByHostInstance:Xr,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"},Xs={bundleType:Zs.bundleType,version:Zs.version,rendererPackageName:Zs.rendererPackageName,rendererConfig:Zs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:Zs.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Qs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qs.isDisabled&&Qs.supportsFiber)try{bo=Qs.inject(Xs),wo=Qs}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ys,t.createPortal=$s,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0!==t)return e=null===(e=Qe(t))?null:e.stateNode;if("function"==typeof e.render)throw Error(O(188));throw Error(O(268,Object.keys(e)))},t.flushSync=function(e,t){var n=ku;if(0!=(48&n))return e(t);ku|=1;try{if(e)return Ko(99,e.bind(null,t))}finally{ku=n,qo()}},t.hydrate=function(e,t,n){if(!Ws(t))throw Error(O(200));return Gs(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ws(t))throw Error(O(200));return Gs(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ws(e))throw Error(O(40));return!!e._reactRootContainer&&(fs(function(){Gs(null,null,e,!1,function(){e._reactRootContainer=null,e[Yr]=null})}),!0)},t.unstable_batchedUpdates=ls,t.unstable_createPortal=function(e,t){return $s(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ws(n))throw Error(O(200));if(null==e||void 0===e._reactInternals)throw Error(O(38));return Gs(e,t,n,!1,r)},t.version="17.0.1"},function(e,t,n){"use strict";e.exports=n(381)},function(e,u,t){"use strict";var i,s,c,n;if("object"==typeof performance&&"function"==typeof performance.now){var r=performance;u.unstable_now=function(){return r.now()}}else{var o=Date,a=o.now();u.unstable_now=function(){return o.now()-a}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,f=null,d=function(){if(null!==l)try{var e=u.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(d,0),e}};i=function(e){null!==l?setTimeout(i,0,e):(l=e,setTimeout(d,0))},s=function(e,t){f=setTimeout(e,t)},c=function(){clearTimeout(f)},u.unstable_shouldYield=function(){return!1},n=u.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){window.requestAnimationFrame}var g=!1,v=null,y=-1,m=5,b=0;u.unstable_shouldYield=function(){return u.unstable_now()>=b},n=function(){},u.unstable_forceFrameRate=function(e){e<0||125<e||(m=0<e?Math.floor(1e3/e):5)};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(null!==v){var e=u.unstable_now();b=e+m;try{v(!0,e)?S.postMessage(null):(g=!1,v=null)}catch(e){throw S.postMessage(null),e}}else g=!1},i=function(e){v=e,g||(g=!0,S.postMessage(null))},s=function(e,t){y=p(function(){e(u.unstable_now())},t)},c=function(){h(y),y=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=1+i,s=e[u];if(void 0!==a&&O(a,n)<0)r=void 0!==s&&O(s,a)<0?(e[r]=s,e[u]=n,u):(e[r]=a,e[i]=n,i);else{if(!(void 0!==s&&O(s,n)<0))break e;e[r]=s,e[u]=n,r=u}}}return t}}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!=n?n:e.id-t.id}var _=[],A=[],C=1,T=null,I=3,j=!1,P=!1,L=!1;function D(e){for(var t=k(A);null!==t;){if(null===t.callback)E(A);else{if(!(t.startTime<=e))break;E(A),t.sortIndex=t.expirationTime,x(_,t)}t=k(A)}}function M(e){if(L=!1,D(e),!P)if(null!==k(_))P=!0,i(R);else{var t=k(A);null!==t&&s(M,t.startTime-e)}}function R(e,t){P=!1,L&&(L=!1,c()),j=!0;var n=I;try{for(D(t),T=k(_);null!==T&&(!(T.expirationTime>t)||e&&!u.unstable_shouldYield());){var r=T.callback;if("function"==typeof r){T.callback=null,I=T.priorityLevel;var o=r(T.expirationTime<=t);t=u.unstable_now(),"function"==typeof o?T.callback=o:T===k(_)&&E(_),D(t)}else E(_);T=k(_)}if(null!==T)var i=!0;else{var a=k(A);null!==a&&s(M,a.startTime-t),i=!1}return i}finally{T=null,I=n,j=!1}}var N=n;u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(e){e.callback=null},u.unstable_continueExecution=function(){P||j||(P=!0,i(R))},u.unstable_getCurrentPriorityLevel=function(){return I},u.unstable_getFirstCallbackNode=function(){return k(_)},u.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},u.unstable_pauseExecution=function(){},u.unstable_requestPaint=N,u.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},u.unstable_scheduleCallback=function(e,t,n){var r=u.unstable_now();switch(n="object"==typeof n&&null!==n?"number"==typeof(n=n.delay)&&0<n?r+n:r:r,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:C++,callback:t,priorityLevel:e,startTime:n,expirationTime:o=n+o,sortIndex:-1},r<n?(e.sortIndex=n,x(A,e),null===k(_)&&e===k(A)&&(L?c():L=!0,s(M,n-r))):(e.sortIndex=o,x(_,e),P||j||(P=!0,i(R))),e},u.unstable_wrapCallback=function(t){var n=I;return function(){var e=I;I=n;try{return t.apply(this,arguments)}finally{I=e}}}},function(e,t,n){e.exports=n(383)()},function(e,t,n){"use strict";var u=n(384);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,i){if(i!==u){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports=n(386)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case y:case v:case c:return e;default:return t}}case i:return t}}}function x(e){return S(e)===d}t.typeOf=S,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===u||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return x(e)||S(e)===f},t.isConcurrentMode=x,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===y},t.isMemo=function(e){return S(e)===v},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===u},t.isSuspense=function(e){return S(e)===h}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case y:case v:case c:return e;default:return t}}case i:return t}}}function k(e){return x(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===f},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===u||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===m)},t.typeOf=x},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){n(392)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(393);void 0!==Intl.PluralRules&&(Intl.PluralRules.polyfilled||"one"!==new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1))||Object.defineProperty(Intl,"PluralRules",{value:r.PluralRules,writable:!0,enumerable:!1,configurable:!0})},function(e,t,n){"use strict";var i=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r};Object.defineProperty(t,"__esModule",{value:!0});var u=n(568);function o(e,t){if(!(e instanceof a))throw new TypeError("Method Intl.PluralRules.prototype."+t+" called on incompatible receiver "+String(e))}function r(e,t,n){var r=u.getInternalSlot(e,t,"minimumSignificantDigits"),o=u.getInternalSlot(e,t,"maximumSignificantDigits");return void 0!==r&&void 0!==o?function(e,t,n){var r=e.toPrecision(n);if(~r.indexOf(".")&&t<n){for(var o=n-t;0<o&&"0"===r[r.length-1];)r=r.slice(0,r.length-1),o--;if("."===r[r.length-1])return r.slice(0,r.length-1)}return r}(n,r,o):function(e,t,n,r){for(var o=r-n,i=e.toFixed(r);0<o&&"0"===i[i.length-1];)i=i.slice(0,i.length-1),o--;"."===i[i.length-1]&&(i=i.slice(0,i.length-1));var a=i.split(".")[0].length;if(a<t){for(var u="";u.length<t-a;u+="0");i=u+i}return i}(n,u.getInternalSlot(e,t,"minimumIntegerDigits"),u.getInternalSlot(e,t,"minimumFractionDigits"),u.getInternalSlot(e,t,"maximumFractionDigits"))}var a=(s.prototype.resolvedOptions=function(){var n=this;o(this,"resolvedOptions");var r=Object.create(null);return r.locale=u.getInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"locale"),r.type=u.getInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"type"),["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach(function(e){var t=u.getInternalSlot(s.__INTERNAL_SLOT_MAP__,n,e);void 0!==t&&(r[e]=t)}),r.pluralCategories=i(s.localeData[r.locale].categories[r.type]),r},s.prototype.select=function(e){o(this,"select");var t=u.getInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"locale"),n=u.getInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"type");return s.localeData[t].fn(r(s.__INTERNAL_SLOT_MAP__,this,Math.abs(Number(e))),"ordinal"==n)},s.prototype.toString=function(){return"[object Intl.PluralRules]"},s.supportedLocalesOf=function(e,t){return u.supportedLocales(s.availableLocales,u.getCanonicalLocales(e),t)},s.__addLocaleData=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=function(t){Object.keys(i(t.availableLocales,Object.keys(t.aliases),Object.keys(t.parentLocales)).reduce(function(e,t){return e[t]=!0,e},{})).forEach(function(e){try{s.localeData[e]=u.unpackData(e,t)}catch(e){if(u.isMissingLocaleDataError(e))return;throw e}})},r=0,o=e;r<o.length;r++)n(o[r]);s.availableLocales=Object.keys(s.localeData),s.__defaultLocale||(s.__defaultLocale=s.availableLocales[0])},s.getDefaultLocale=function(){return s.__defaultLocale},s.localeData={},s.availableLocales=[],s.__defaultLocale="en",s.relevantExtensionKeys=[],s.polyfilled=!0,s.__INTERNAL_SLOT_MAP__=new WeakMap,s);function s(e,t){if(!(this&&this instanceof s?this.constructor:void 0))throw new TypeError("Intl.PluralRules must be called with 'new'");var n=u.getCanonicalLocales(e),r=Object.create(null),o=void 0===t?Object.create(null):u.toObject(t);u.setInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"initializedPluralRules",!0);var i=u.getOption(o,"localeMatcher","string",["best fit","lookup"],"best fit");r.localeMatcher=i,u.setInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"type",u.getOption(o,"type","string",["cardinal","ordinal"],"cardinal")),u.setNumberFormatDigitOptions(s.__INTERNAL_SLOT_MAP__,this,o,0,3);var a=u.createResolveLocale(s.getDefaultLocale)(s.availableLocales,n,r,s.relevantExtensionKeys,s.localeData);u.setInternalSlot(s.__INTERNAL_SLOT_MAP__,this,"locale",a.locale)}t.PluralRules=a;try{Object.defineProperty(a,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}},function(e,t){Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{en:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&r?"one":"other"}}},aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"},availableLocales:["en"]})},function(e,t,n){n(396)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(397);"RelativeTimeFormat"in Intl||Object.defineProperty(Intl,"RelativeTimeFormat",{value:r.default,writable:!0,enumerable:!1,configurable:!0})},function(e,t,n){"use strict";var u=this&&this.__assign||function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},v=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var y=n(569);var l=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function m(e){return e+""}function o(e,t,n,r){if(y.invariant("number"==typeof n,"value must be number, instead got "+typeof n,TypeError),y.invariant("string"==typeof r,"unit must be number, instead got "+typeof n,TypeError),isNaN(n)||n===1/0||n===-1/0)throw new RangeError("Invalid value "+n);var o=function(e){if(y.invariant("string"==typeof e,"unit must be a string, instead got "+typeof e,TypeError),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("Invalid unit "+e);return e}(r),i=y.getInternalSlot(e,t,"fields"),a=y.getInternalSlot(e,t,"style"),u=o;"short"===a?u=r+"-short":"narrow"===a&&(u=r+"-narrow"),u in i||(u=r);var s=i[u];if("auto"===y.getInternalSlot(e,t,"numeric")&&m(n)in s)return[{type:"literal",value:s[m(n)]}];var c,l,f="future";c=n,l=-0,((Object.is?Object.is(c,l):c===l?0!==c||1/c==1/l:c!=c&&l!=l)||n<0)&&(f="past");var d=s[f],p=y.getInternalSlot(e,t,"pluralRules"),h=y.getInternalSlot(e,t,"numberFormat"),g="function"==typeof h.formatToParts?h.formatToParts(Math.abs(n)):[{type:"literal",value:h.format(Math.abs(n)),unit:r}];return function(e,t,n){var r,o,i,a,u=y.partitionPattern(e),s=[];try{for(var c=v(u),l=c.next();!l.done;l=c.next()){var f=l.value;if(y.isLiteralPart(f))s.push({type:"literal",value:f.value});else{y.invariant("0"===f.type,"Malformed pattern "+e);try{for(var d=(i=void 0,v(n)),p=d.next();!p.done;p=d.next()){var h=p.value;s.push({type:h.type,value:h.value,unit:t})}}catch(e){i={error:e}}finally{try{p&&!p.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}return s}(d[p.select(n)],o,g)}var i=(f.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("format was called on a invalid context");return o(f.__INTERNAL_SLOT_MAP__,this,Number(e),m(t)).map(function(e){return e.value}).join("")},f.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("formatToParts was called on a invalid context");return o(f.__INTERNAL_SLOT_MAP__,this,Number(e),m(t))},f.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");if(!y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("resolvedOptions was called on a invalid context");return{locale:y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"locale"),style:y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"style"),numeric:y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"numeric"),numberingSystem:y.getInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"numberingSystem")}},f.supportedLocalesOf=function(e,t){return y.supportedLocales(f.availableLocales,y.getCanonicalLocales(e),t)},f.__addLocaleData=function(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];function o(t){Object.keys(s(t.availableLocales,Object.keys(t.aliases),Object.keys(t.parentLocales)).reduce(function(e,t){return e[t]=!0,e},{})).forEach(function(e){try{f.localeData[e]=function(e,t){var n=y.getLocaleHierarchy(e,t.aliases,t.parentLocales),r=n.map(function(e){return t.data[e]}).filter(Boolean);if(!r.length)throw new Error('Missing locale data for "'+e+'", lookup hierarchy: '+n.join(", "));return r.reverse(),r.reduce(function(e,t){return u(u({},e),t)},{nu:[]})}(e,t)}catch(e){}})}try{for(var i=v(n),a=i.next();!a.done;a=i.next())o(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}f.availableLocales=Object.keys(f.localeData),f.__defaultLocale||(f.__defaultLocale=f.availableLocales[0])},f.getDefaultLocale=function(){return f.__defaultLocale},f.localeData={},f.availableLocales=[],f.__defaultLocale="en",f.relevantExtensionKeys=["nu"],f.polyfilled=!0,f.__INTERNAL_SLOT_MAP__=new WeakMap,f);function f(e,t){if(!(this&&this instanceof f?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat",!0);var n=y.getCanonicalLocales(e),r=Object.create(null),o=void 0===t?Object.create(null):y.toObject(t),i=y.getOption(o,"localeMatcher","string",["best fit","lookup"],"best fit");r.localeMatcher=i;var a=y.getOption(o,"numberingSystem","string",void 0,void 0);if(void 0!==a&&!l.test(a))throw new RangeError("Invalid numbering system "+a);r.nu=a;var u=y.createResolveLocale(f.getDefaultLocale)(f.availableLocales,n,r,f.relevantExtensionKeys,f.localeData),s=u.locale,c=u.nu;y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"locale",s),y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"style",y.getOption(o,"style","string",["long","narrow","short"],"long")),y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"numeric",y.getOption(o,"numeric","string",["always","auto"],"always")),y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"fields",f.localeData[s]),y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"numberFormat",new Intl.NumberFormat(e)),y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"pluralRules",new Intl.PluralRules(e)),y.setInternalSlot(f.__INTERNAL_SLOT_MAP__,this,"numberingSystem",c)}t.default=i;try{"undefined"!=typeof Symbol&&Object.defineProperty(i.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(i.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}},function(e,t){Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{"en-001":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-150":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-AU":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"in {0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}}},"en-CA":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}}},"en-SG":{"quarter-short":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr"},"quarter-narrow":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr"},"month-short":{0:"this mth",1:"next mth",future:{one:"in {0} mth",other:"in {0} mth"},past:{one:"{0} mth ago",other:"{0} mth ago"},"-1":"last mth"}},en:{nu:["latn"],year:{0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"},"-1":"last year"},"year-short":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},"year-narrow":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},quarter:{0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},month:{0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"},"-1":"last month"},"month-short":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},"month-narrow":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},week:{0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"},"-1":"last week"},"week-short":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},"week-narrow":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},day:{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-short":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-narrow":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}},availableLocales:["en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-US-POSIX","en-US","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","en"],aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case y:case v:case c:return e;default:return t}}case i:return t}}}function x(e){return S(e)===d}t.typeOf=S,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===u||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return x(e)||S(e)===f},t.isConcurrentMode=x,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===y},t.isMemo=function(e){return S(e)===v},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===u},t.isSuspense=function(e){return S(e)===h}},function(e,t,n){},function(e,t,n){var r=n(77),o=n(89),i=n(40),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(403),o=n(417),i=n(143),a=n(40),u=n(421);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},function(e,t,n){var r=n(404),o=n(416),i=n(235);e.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},function(e,t,n){var p=n(110),h=n(226);e.exports=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var s=(u=n[o])[0],c=e[s],l=u[1];if(a&&u[2]){if(void 0===c&&!(s in e))return!1}else{var f=new p;if(r)var d=r(c,l,s,e,t,f);if(!(void 0===d?h(l,c,3,r,f):d))return!1}}return!0}},function(e,t,n){var g=n(110),v=n(227),y=n(409),m=n(411),b=n(92),w=n(40),S=n(90),x=n(112),k="[object Arguments]",E="[object Array]",O="[object Object]",_=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,o,i){var a=w(e),u=w(t),s=a?E:b(e),c=u?E:b(t),l=(s=s==k?O:s)==O,f=(c=c==k?O:c)==O,d=s==c;if(d&&S(e)){if(!S(t))return!1;l=!(a=!0)}if(d&&!l)return i=i||new g,a||x(e)?v(e,t,n,r,o,i):y(e,t,s,n,r,o,i);if(!(1&n)){var p=l&&_.call(e,"__wrapped__"),h=f&&_.call(t,"__wrapped__");if(p||h)return o(p?e.value():e,h?t.value():t,n,r,i=i||new g)}return d&&(i=i||new g,m(e,t,n,r,o,i))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var r=n(77),f=n(198),d=n(87),p=n(227),h=n(410),g=n(145),o=r?r.prototype:void 0,v=o?o.valueOf:void 0;e.exports=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return e.byteLength==t.byteLength&&i(new f(e),new f(t))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return d(+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 u=h;case"[object Set]":var s=1&r;if(u=u||g,e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var l=p(u(e),u(t),r,o,i,a);return a.delete(e),l;case"[object Symbol]":if(v)return v.call(e)==v.call(t)}return!1}},function(e,t){e.exports=function(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}},function(e,t,n){var b=n(230),w=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,o,i){var a=1&n,u=b(e),s=u.length;if(s!=b(t).length&&!a)return!1;for(var c=s;c--;){var l=u[c];if(!(a?l in t:w.call(t,l)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var d=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<s;){var h=e[l=u[c]],g=t[l];if(r)var v=a?r(g,h,l,t,e,i):r(h,g,l,e,t,i);if(!(void 0===v?h===g||o(h,g,n,r,i):v)){d=!1;break}p=p||"constructor"==l}if(d&&!p){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}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){var r=n(71)(n(51),"DataView");e.exports=r},function(e,t,n){var r=n(71)(n(51),"Promise");e.exports=r},function(e,t,n){var r=n(71)(n(51),"WeakMap");e.exports=r},function(e,t,n){var i=n(234),a=n(91);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,i(o)]}return t}},function(e,t,n){var o=n(226),i=n(34),a=n(418),u=n(130),s=n(234),c=n(235),l=n(88);e.exports=function(n,r){return u(n)&&s(r)?c(l(n),r):function(e){var t=i(e,n);return void 0===t&&t===r?a(e,n):o(r,t,3)}}},function(e,t,n){var r=n(419),o=n(420);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var u=n(102),s=n(89),c=n(40),l=n(142),f=n(139),d=n(88);e.exports=function(e,t,n){for(var r=-1,o=(t=u(t,e)).length,i=!1;++r<o;){var a=d(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&f(o)&&l(a,o)&&(c(e)||s(e))}},function(e,t,n){var r=n(422),o=n(423),i=n(130),a=n(88);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t){e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(129);e.exports=function(t){return function(e){return r(e,t)}}},function(e,t,n){var p=n(228),h=n(425),g=n(426),v=n(229),y=n(427),m=n(145);e.exports=function(e,t,n){var r=-1,o=h,i=e.length,a=!0,u=[],s=u;if(n)a=!1,o=g;else if(200<=i){var c=t?null:y(e);if(c)return m(c);a=!1,o=v,s=new p}else s=t?[]:u;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var d=s.length;d--;)if(s[d]===f)continue e;t&&s.push(f),u.push(l)}else o(s,f,n)||(s!==u&&s.push(f),u.push(l))}return u}},function(e,t,n){var r=n(220);e.exports=function(e,t){return!!(null==e?0:e.length)&&-1<r(e,t,0)}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(233),o=n(11),i=n(145),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){},function(e,t,n){"use strict";var y=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=n(93),b=n(42),r=n(72),o=n(44),i=n(64),w=n(38),S=n(20),a=n(16),x=(n(80),n(61)),g=n(444),k=i.draft_tree_data_support,E=k?o:r,O=a.List,_=a.Repeat,u={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),o=e.getSelection(),i=w.removeRange(r,o,"backward"),a=i.getSelectionAfter(),u=w.splitBlock(i,a),s=u.getSelectionAfter(),c=w.setBlockType(u,s,"atomic"),l=b.create({entity:t}),f={key:x(),type:"atomic",text:n,characterList:O(_(l,n.length))},d={key:x(),type:"unstyled"};k&&(f=y({},f,{nextSibling:d.key}),d=y({},d,{prevSibling:f.key}));var p=[new E(f),new E(d)],h=m.createFromArray(p),g=w.replaceWithFragment(c,s,h),v=g.merge({selectionBefore:o,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return S.push(e,v,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o=e.getCurrentContent(),i=e.getSelection(),a=void 0;if("before"===r||"after"===r){var u=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());a=g(o,t,u,r)}else{var s=w.removeRange(o,n,"backward"),c=s.getSelectionAfter(),l=s.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())a=g(s,t,l,"before");else if(c.getEndOffset()===l.getLength())a=g(s,t,l,"after");else{var f=w.splitBlock(s,c),d=f.getSelectionAfter(),p=f.getBlockForKey(d.getFocusKey());a=g(f,t,p,"before")}}var h=a.merge({selectionBefore:i,selectionAfter:a.getSelectionAfter().set("hasFocus",!0)});return S.push(e,h,"move-block")}};e.exports=u},function(e,t,n){"use strict";e.exports={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1}},function(e,t,n){"use strict";var d=n(42),o=n(16).Map,r={add:function(e,t,n){return i(e,t,n,!0)},remove:function(e,t,n){return i(e,t,n,!1)}};function i(e,t,a,u){var n=e.getBlockMap(),s=t.getStartKey(),c=t.getStartOffset(),l=t.getEndKey(),f=t.getEndOffset(),r=n.skipUntil(function(e,t){return t===s}).takeUntil(function(e,t){return t===l}).concat(o([[l,n.get(l)]])).map(function(e,t){var n,r;r=s===l?(n=c,f):(n=t===s?c:0,t===l?f:e.getLength());for(var o,i=e.getCharacterList();n<r;)o=i.get(n),i=i.set(n,u?d.applyStyle(o,a):d.removeStyle(o,a)),n++;return e.set("characterList",i)});return e.merge({blockMap:n.merge(r),selectionBefore:t,selectionAfter:t})}e.exports=r},function(e,t,n){"use strict";var c=n(16),l=n(433);e.exports=function(e,t,o){var n=e.getBlockMap(),i=t.getStartKey(),a=t.getStartOffset(),u=t.getEndKey(),s=t.getEndOffset(),r=n.skipUntil(function(e,t){return t===i}).takeUntil(function(e,t){return t===u}).toOrderedMap().merge(c.OrderedMap([[u,n.get(u)]])).map(function(e,t){var n=t===i?a:0,r=t===u?s:e.getLength();return l(e,n,r,o)});return e.merge({blockMap:n.merge(r),selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var i=n(42);e.exports=function(e,t,n,r){for(var o=e.getCharacterList();t<n;)o=o.set(t,i.applyEntity(o.get(t),r)),t++;return e.set("characterList",o)}},function(e,t,n){"use strict";var h=n(435),g=n(436),v=n(17);function y(e,t,n,r,o,i,a){var u=n.getStartOffset(),s=n.getEndOffset(),c=e.__get(o).getMutability(),l=a?u:s;if("MUTABLE"===c)return n;var f=g(t,o).filter(function(e){return l<=e.end&&l>=e.start});1!=f.length&&v(!1);var d=f[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});i||(a?s=d.end:u=d.start);var p=h.getRemovalRange(u,s,t.getText().slice(d.start,d.end),d.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),a=r.getEndOffset(),u=t.getEntityAt(i),s=n.getEntityAt(a-1);if(!u&&!s)return r;var c=r;if(u&&u===s)c=y(e,t,c,o,u,!0,!0);else if(u&&s){var l=y(e,t,c,o,u,!1,!0),f=y(e,n,c,o,s,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(u){var d=y(e,t,c,o,u,!1,!0);c=c.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(s){var p=y(e,n,c,o,s,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c}},function(e,t,n){"use strict";e.exports={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map(function(e,t){if("forward"===o){if(0<t)return" "+e}else if(t<i.length-1)return e+" ";return e});for(var a,u=r,s=null,c=null,l=0;l<i.length;l++){if(e<(a=u+i[l].length)&&u<t)c=(null!==s||(s=u),a);else if(null!==s)break;u=a}var f=r+n.length,d=s===r,p=c===f;return(!d&&p||d&&!p)&&("forward"===o?c!==f&&c++:s!==r&&s--),{start:s,end:c}}}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t){var n=[];return e.findEntityRanges(function(e){return e.getEntity()===t},function(e,t){n.push({start:e,end:t})}),n.length||r(!1),n}},function(e,t,n){"use strict";function w(e,t,n,b,w,S){var r=n.first()instanceof O,x=[],k=b.size,o=n.get(w),i=b.first(),a=b.last(),u=a.getLength(),s=a.getKey(),E=r&&(!o.getChildKeys().isEmpty()||!i.getChildKeys().isEmpty());n.forEach(function(e,t){var n,r,o,i,a,u,s,c,l,f,d,p,h,g,v,y,m;t===w?(E?x.push(e):x.push((r=S,o=b,i=(n=e).getText(),a=n.getCharacterList(),u=i.slice(0,r),s=a.slice(0,r),c=o.first(),n.merge({text:u+c.getText(),characterList:s.concat(c.getCharacterList()),type:u?n.getType():c.getType(),data:c.getData()}))),b.slice(E?0:1,k-1).forEach(function(e){return x.push(e)}),x.push((f=S,d=b,p=(l=e).getText(),h=l.getCharacterList(),g=p.length,v=p.slice(f,g),y=h.slice(f,g),(m=d.last()).merge({text:m.getText()+v,characterList:m.getCharacterList().concat(y),data:m.getData()})))):x.push(e)});var l,f,d,c=p.createFromArray(x);return r&&(f=o,d=i,c=(l=c).withMutations(function(t){var e=f.getKey(),n=d.getKey(),r=f.getNextSiblingKey(),o=f.getParentKey(),i=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(d,l),a=i[i.length-1];if(t.get(n)?(t.setIn([e,"nextSibling"],n),t.setIn([n,"prevSibling"],e)):(t.setIn([e,"nextSibling"],d.getNextSiblingKey()),t.setIn([d.getNextSiblingKey(),"prevSibling"],e)),t.setIn([a,"nextSibling"],r),r&&t.setIn([r,"prevSibling"],a),i.forEach(function(e){return t.setIn([e,"parent"],o)}),o){var u=l.get(o).getChildKeys(),s=u.indexOf(e)+1,c=u.toArray();c.splice.apply(c,[s,0].concat(i)),t.setIn([o,"children"],h(c))}})),e.merge({blockMap:c,selectionBefore:t,selectionAfter:t.merge({anchorKey:s,anchorOffset:u,focusKey:s,focusOffset:u,isBackward:!1})})}var p=n(93),O=n(44),r=n(16),S=n(239),x=n(17),k=n(237),h=r.List;e.exports=function(e,t,n){t.isCollapsed()||x(!1);var r,o,i,a,u,s,c,l,f,d,p,h,g=e.getBlockMap(),v=k(n),y=t.getStartKey(),m=t.getStartOffset(),b=g.get(y);return b instanceof O&&(b.getChildKeys().isEmpty()||x(!1)),1===v.size?(r=e,o=t,i=g,a=v.first(),u=y,s=m,c=i.get(u),l=c.getText(),f=c.getCharacterList(),d=u,p=s+a.getText().length,h=c.merge({text:l.slice(0,s)+a.getText()+l.slice(s),characterList:S(f,a.getCharacterList(),s),data:a.getData()}),r.merge({blockMap:i.set(u,h),selectionBefore:o,selectionAfter:o.merge({anchorKey:d,anchorOffset:p,focusKey:d,focusOffset:p,isBackward:!1})})):w(e,t,g,v,y,m)}},function(e,t,n){"use strict";var r=n(16),d=n(239),p=n(17),h=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||p(!1);var o=n.length;if(!o)return e;var i=e.getBlockMap(),a=t.getStartKey(),u=t.getStartOffset(),s=i.get(a),c=s.getText(),l=s.merge({text:c.slice(0,u)+n+c.slice(u,s.getLength()),characterList:d(s.getCharacterList(),h(r,o).toList(),u)}),f=u+o;return e.merge({blockMap:i.set(a,l),selectionAfter:t.merge({anchorOffset:f,focusOffset:f})})}},function(e,t,n){"use strict";var u=n(16).Map;e.exports=function(e,t,n){var r=t.getStartKey(),o=t.getEndKey(),i=e.getBlockMap(),a=i.toSeq().skipUntil(function(e,t){return t===r}).takeUntil(function(e,t){return t===o}).concat(u([[o,i.get(o)]])).map(n);return e.merge({blockMap:i.merge(a),selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";function i(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}}function y(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n}function a(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r}function u(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r}function m(e,n,r,o){return e.withMutations(function(t){i(n.getKey(),t,function(e){return e.merge({nextSibling:a(n,t,o),prevSibling:u(n,t,o)})}),i(r.getKey(),t,function(e){return e.merge({nextSibling:a(r,t,o),prevSibling:u(r,t,o)})}),y(n.getKey(),o).forEach(function(e){return i(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:a(e,t,o),prevSibling:u(e,t,o)})})}),i(n.getNextSiblingKey(),t,function(e){return e.merge({prevSibling:n.getPrevSiblingKey()})}),i(n.getPrevSiblingKey(),t,function(e){return e.merge({nextSibling:a(n,t,o)})}),i(r.getNextSiblingKey(),t,function(e){return e.merge({prevSibling:u(r,t,o)})}),i(r.getPrevSiblingKey(),t,function(e){return e.merge({nextSibling:r.getNextSiblingKey()})}),y(r.getKey(),o).forEach(function(e){i(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:a(e,t,o),prevSibling:u(e,t,o)})})}),function(e,t){var n=[];if(!e)return n;for(var r=w(e,t);r&&t.get(r);){var o=t.get(r);n.push(r),r=o.getParentKey()?w(o,t):null}return n}(r,o).forEach(function(e){return i(e,t,function(e){return e.merge({nextSibling:a(e,t,o),prevSibling:u(e,t,o)})})})})}var b=n(44),r=n(16),w=n(240),S=(r.List,r.Map),x=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;t<n;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),i=t.getEndKey(),a=t.getEndOffset(),u=n.get(r),s=n.get(i),c=u instanceof b,l=[];if(c){var f=s.getChildKeys(),d=y(i,n);s.getNextSiblingKey()&&(l=l.concat(d)),f.isEmpty()||(l=l.concat(d.concat([i]))),l=l.concat(y(w(s,n),n))}var p=void 0;p=u===s?x(u.getCharacterList(),o,a):u.getCharacterList().slice(0,o).concat(s.getCharacterList().slice(a));var h=u.merge({text:u.getText().slice(0,o)+s.getText().slice(a),characterList:p}),g=n.toSeq().skipUntil(function(e,t){return t===r}).takeUntil(function(e,t){return t===i}).filter(function(e,t){return-1===l.indexOf(t)}).concat(S([[i,null]])).map(function(e,t){return t===r?h:null}),v=n.merge(g).filter(function(e){return!!e});return c&&(v=m(v,u,s,n)),e.merge({blockMap:v,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})}},function(e,t,n){"use strict";function y(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}}var m=n(44),r=n(16),b=n(61),w=n(17),S=r.List,x=r.Map;e.exports=function(e,t){t.isCollapsed()||w(!1);var n,r,o=t.getAnchorKey(),i=t.getAnchorOffset(),a=e.getBlockMap(),u=a.get(o),s=u.getText(),c=u.getCharacterList(),l=b(),f=u instanceof m,d=u.merge({text:s.slice(0,i),characterList:c.slice(0,i)}),p=d.merge({key:l,text:s.slice(i),characterList:c.slice(i),data:x()}),h=a.toSeq().takeUntil(function(e){return e===u}),g=a.toSeq().skipUntil(function(e){return e===u}).rest(),v=h.concat([[o,d],[l,p]],g).toOrderedMap();return f&&(u.getChildKeys().isEmpty()||w(!1),n=d,r=p,v=v.withMutations(function(e){var o=n.getKey(),i=r.getKey();y(n.getParentKey(),e,function(e){var t=e.getChildKeys(),n=t.indexOf(o)+1,r=t.toArray();return r.splice(n,0,i),e.merge({children:S(r)})}),y(n.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:i})}),y(o,e,function(e){return e.merge({nextSibling:i})}),y(i,e,function(e){return e.merge({prevSibling:o})})})),e.merge({blockMap:v,selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:0,focusKey:l,focusOffset:0,isBackward:!1})})}},function(e,t,n){"use strict";var i,a=n(16),u=n(443),s=n(53),c=a.OrderedMap,r={getDirectionMap:function(e,t){i?i.reset():i=new u;var n=e.getBlockMap(),r=n.valueSeq().map(function(e){return s(i).getDirection(e.getText())}),o=c(n.keySeq().zip(r));return null!=t&&a.is(t,o)?t:o}};e.exports=r},function(e,t,n){"use strict";var r=n(243),o=n(150),i=n(17),a=(u.prototype.reset=function(){this._lastDir=this._defaultDir},u.prototype.getDirection=function(e){return this._lastDir=r.getDirection(e,this._lastDir),this._lastDir},u);function u(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),e?o.isStrong(e)||i(!1):e=o.getGlobalDir(),this._defaultDir=e,this.reset()}e.exports=a},function(e,t,n){"use strict";function v(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}}var y=n(44),r=n(16),m=n(240),b=n(17),w=r.OrderedMap,S=r.List;e.exports=function(e,n,t,r){"replace"===r&&b(!1);var o=t.getKey(),u=n.getKey();u===o&&b(!1);var i=e.getBlockMap(),a=n instanceof y,s=[n],c=i.delete(u);a&&(s=[],c=i.withMutations(function(t){var i=n.getNextSiblingKey(),a=m(n,t);t.toSeq().skipUntil(function(e){return e.getKey()===u}).takeWhile(function(e){var t=e.getKey(),n=t===u,r=i&&t!==i,o=!i&&e.getParentKey()&&(!a||t!==a);return!!(n||r||o)}).forEach(function(e){s.push(e),t.delete(e.getKey())})}));var l=c.toSeq().takeUntil(function(e){return e===t}),f=c.toSeq().skipUntil(function(e){return e===t}).skip(1),d=s.map(function(e){return[e.getKey(),e]}),p=w();if("before"===r){var h=e.getBlockBefore(o);h&&h.getKey()===n.getKey()&&b(!1),p=l.concat([].concat(d,[[o,t]]),f).toOrderedMap()}else if("after"===r){var g=e.getBlockAfter(o);g&&g.getKey()===u&&b(!1),p=l.concat([[o,t]].concat(d),f).toOrderedMap()}return e.merge({blockMap:function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),u=n.getKey(),s=t.getParentKey(),c=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),f=n.getParentKey(),d=i?n.getNextSiblingKey():u,p=i?u:n.getPrevSiblingKey();return e.withMutations(function(e){v(s,e,function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})}),v(l,e,function(e){return e.merge({nextSibling:c})}),v(c,e,function(e){return e.merge({prevSibling:l})}),v(d,e,function(e){return e.merge({prevSibling:a})}),v(p,e,function(e){return e.merge({nextSibling:a})}),v(f,e,function(e){var t=e.getChildKeys(),n=t.indexOf(u),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:S(o)})}),v(a,e,function(e){return e.merge({nextSibling:d,prevSibling:p,parent:f})})})}(p,n,t,r,a),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},function(e,t,n){"use strict";var r=n(16).List,o=(i.prototype.getDecorations=function(t,o){var i=Array(t.getText().length).fill(null);return this._decorators.forEach(function(e,n){var r=0;(0,e.strategy)(t,function(e,t){!function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return;return 1}(i,e,t)||(function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(i,e,t,n+"."+r),r++)},o)}),r(i)},i.prototype.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},i.prototype.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},i);function i(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this._decorators=e.slice()}e.exports=o},function(e,t,n){"use strict";var g=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var r,o=n(151),v=n(244),i=n(447),y=n(448),a=n(470),u=n(473),s=n(506),c=n(20),m=n(0),l=n(26),f=n(248),d=n(155),p=n(58),b=n(81),h=n(147),w=n(61),S=n(261),x=n(156),k=n(17),E=n(53),O=p.isBrowser("IE"),_=!O,A={edit:u,composite:i,drag:a,cut:null,render:null},C=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(T,r=m.Component),T.prototype._buildHandler=function(n){var r=this;return function(e){if(!r.props.readOnly){var t=r._handler&&r._handler[n];t&&t(r,e)}}},T.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},T.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:E(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return m.createElement(s,e)}return null},T.prototype.render=function(){var t=this,e=this.props,n=e.blockRenderMap,r=e.blockRendererFn,o=e.blockStyleFn,i=e.customStyleFn,a=e.customStyleMap,u=e.editorState,s=e.readOnly,c=e.textAlignment,l=e.textDirectionality,f=b({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),d=this.props.role||"textbox",p="combobox"===d?!!this.props.ariaExpanded:null,h={blockRenderMap:n,blockRendererFn:r,blockStyleFn:o,customStyleMap:g({},v,a),customStyleFn:i,editorKey:this._editorKey,editorState:u,key:"contents"+this.state.contentsKey,textDirectionality:l};return m.createElement("div",{className:f},this._renderPlaceholder(),m.createElement("div",{className:b("DraftEditor/editorContainer"),ref:function(e){return t.editorContainer=e}},m.createElement("div",{"aria-activedescendant":s?null:this.props.ariaActiveDescendantID,"aria-autocomplete":s?null:this.props.ariaAutoComplete,"aria-controls":s?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":s?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:b({notranslate:!s,"public/DraftEditor/content":!0}),contentEditable:!s,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:function(e){return t.editor=e},role:s?null:d,spellCheck:_&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},m.createElement(y,h))))},T.prototype.componentDidMount=function(){this.setMode("edit"),O&&document.execCommand("AutoUrlDetect",!1,!1)},T.prototype.componentWillUpdate=function(e){this._blockSelectEvents=!0,this._latestEditorState=e.editorState},T.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},T);function T(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,T);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.call(this,e));return s.focus=function(e){var t=s.props.editorState,n=t.getSelection().getHasFocus(),r=l.findDOMNode(s.editor);if(r){var o=d.getScrollParent(r),i=e||x(o),a=i.x,u=i.y;r instanceof HTMLElement||k(!1),r.focus(),o===window?window.scrollTo(a,u):f.setTop(o,u),n||s.update(c.forceSelection(t,t.getSelection()))}},s.blur=function(){var e=l.findDOMNode(s.editor);e instanceof HTMLElement||k(!1),e.blur()},s.setMode=function(e){s._handler=A[e]},s.exitCurrentMode=function(){s.setMode("edit")},s.restoreEditorDOM=function(e){s.setState({contentsKey:s.state.contentsKey+1},function(){s.focus(e)})},s.setClipboard=function(e){s._clipboard=e},s.getClipboard=function(){return s._clipboard},s.update=function(e){s._latestEditorState=e,s.props.onChange(e)},s.onDragEnter=function(){s._dragCount++},s.onDragLeave=function(){s._dragCount--,0===s._dragCount&&s.exitCurrentMode()},s._blockSelectEvents=!1,s._clipboard=null,s._handler=null,s._dragCount=0,s._editorKey=e.editorKey||w(),s._placeholderAccessibilityID="placeholder-"+s._editorKey,s._latestEditorState=e.editorState,s._latestCommittedEditorState=e.editorState,s._onBeforeInput=s._buildHandler("onBeforeInput"),s._onBlur=s._buildHandler("onBlur"),s._onCharacterData=s._buildHandler("onCharacterData"),s._onCompositionEnd=s._buildHandler("onCompositionEnd"),s._onCompositionStart=s._buildHandler("onCompositionStart"),s._onCopy=s._buildHandler("onCopy"),s._onCut=s._buildHandler("onCut"),s._onDragEnd=s._buildHandler("onDragEnd"),s._onDragOver=s._buildHandler("onDragOver"),s._onDragStart=s._buildHandler("onDragStart"),s._onDrop=s._buildHandler("onDrop"),s._onInput=s._buildHandler("onInput"),s._onFocus=s._buildHandler("onFocus"),s._onKeyDown=s._buildHandler("onKeyDown"),s._onKeyPress=s._buildHandler("onKeyPress"),s._onKeyUp=s._buildHandler("onKeyUp"),s._onMouseDown=s._buildHandler("onMouseDown"),s._onMouseUp=s._buildHandler("onMouseUp"),s._onPaste=s._buildHandler("onPaste"),s._onSelect=s._buildHandler("onSelect"),s.getEditorKey=function(){return s._editorKey},s.state={contentsKey:0},s}C.defaultProps={blockRenderMap:o,blockRendererFn:h.thatReturnsNull,blockStyleFn:h.thatReturns(""),keyBindingFn:S,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},e.exports=C},function(e,t,n){"use strict";var u=n(64),s=n(38),c=n(20),r=n(152),l=n(153),f=n(95),d=n(245),p=!1,h=!1,g="",o={onBeforeInput:function(e,t){g=(g||"")+t.data},onCompositionStart:function(){h=!0},onCompositionEnd:function(e){h=p=!1,setTimeout(function(){p||o.resolveComposition(e)},20)},onKeyDown:function(e,t){if(!h)return o.resolveComposition(e),void e._onKeyDown(t);t.which!==r.RIGHT&&t.which!==r.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===r.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!h){p=!0;var t=g;g="";var n=c.set(e._latestEditorState,{inCompositionMode:!1}),r=n.getCurrentInlineStyle(),o=l(n.getCurrentContent(),n.getSelection()),i=!t||d(n)||0<r.size||null!==o;if(i&&e.restoreEditorDOM(),e.exitCurrentMode(),t){if(u.draft_handlebeforeinput_composed_text&&e.props.handleBeforeInput&&f(e.props.handleBeforeInput(t,n)))return;var a=s.replaceText(n.getCurrentContent(),n.getSelection(),t,r,o);e.update(c.push(n,a,"insert-characters"))}else i&&e.update(c.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};e.exports=o},function(e,t,n){"use strict";var r=n(449);e.exports=r},function(e,t,n){"use strict";var H=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var r,W=n(246),G=n(118),$=(n(20),n(0)),Y=n(81),Z=n(469),X=n(53),o=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r=$.Component),i.prototype.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),u=n.getCurrentContent(),s=t.getDecorator(),c=n.getDecorator();return o!==i||a!==u||s!==c||n.mustForceSelection()},i.prototype.render=function(){for(var e,t,n,r=this.props,o=r.blockRenderMap,i=r.blockRendererFn,a=r.blockStyleFn,u=r.customStyleMap,s=r.customStyleFn,c=r.editorState,l=r.editorKey,f=r.textDirectionality,d=c.getCurrentContent(),p=c.getSelection(),h=c.mustForceSelection(),g=c.getDecorator(),v=X(c.getDirectionMap()),y=d.getBlocksAsArray(),m=[],b=null,w=null,S=0;S<y.length;S++){var x=y[S],k=x.getKey(),E=x.getType(),O=i(x),_=void 0,A=void 0,C=void 0;O&&(_=O.component,A=O.props,C=O.editable);var T=f||v.get(k),I=G.encode(k,0,0),j={contentState:d,block:x,blockProps:A,blockStyleFn:a,customStyleMap:u,customStyleFn:s,decorator:g,direction:T,forceSelection:h,key:k,offsetKey:I,selection:p,tree:c.getBlockTree(k)},P=o.get(E)||o.get("unstyled"),L=P.wrapper,D=P.element||o.get("unstyled").element,M=x.getDepth(),R="";a&&(R=a(x)),"li"===D&&(R=Z(R,Y({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===(e=E),"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":w!==L||null===b||b<M,"public/DraftStyleDefault/depth0":0===(t=M),"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":4===t,"public/DraftStyleDefault/listLTR":"LTR"===(n=T),"public/DraftStyleDefault/listRTL":"RTL"===n})));var N=_||W,F={className:R,"data-block":!0,"data-editor":l,"data-offset-key":I,key:k};void 0!==C&&(F=H({},F,{contentEditable:C,suppressContentEditableWarning:!0}));var B=$.createElement(D,F,$.createElement(N,j));m.push({block:B,wrapperTemplate:L,key:k,offsetKey:I}),b=L?x.getDepth():null,w=L}for(var z=[],U=0;U<m.length;){var K=m[U];if(K.wrapperTemplate){for(var V=[];V.push(m[U].block),++U<m.length&&m[U].wrapperTemplate===K.wrapperTemplate;);var q=$.cloneElement(K.wrapperTemplate,{key:K.key+"-wrap","data-offset-key":K.offsetKey},V);z.push(q)}else z.push(K.block),U++}return $.createElement("div",{"data-contents":"true"},z)},i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}e.exports=o},function(e,t,n){"use strict";var l=n(37);var r,f=n(451),d=n(0),p=n(26),h=n(17),g=n(457),o=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r=d.Component),i.prototype._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),a=r+o.length;if(e.hasEdgeWithin(i,r,a)){var u=p.findDOMNode(this);u||h(!1);var s=u.firstChild;s||h(!1);var c=void 0;s.nodeType===Node.TEXT_NODE?c=s:"BR"===s.tagName?c=u:(c=s.firstChild)||h(!1),g(e,c,i,r,a)}}},i.prototype.shouldComponentUpdate=function(e){var t=p.findDOMNode(this.leaf);return t||h(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.prototype.componentDidUpdate=function(){this._setSelection()},i.prototype.componentDidMount=function(){this._setSelection()},i.prototype.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,o=r.customStyleMap,i=r.customStyleFn,a=r.offsetKey,u=r.styleSet,s=u.reduce(function(e,t){var n={},r=o[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),l(e,r,n)},{});if(i){var c=i(u,e);s=l(s,c)}return d.createElement("span",{"data-offset-key":a,ref:function(e){return t.leaf=e},style:s},d.createElement(f,null,n))},i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}e.exports=o},function(e,t,n){"use strict";var r=n(0),o=n(26),i=n(58),a=n(17),u=i.isBrowser("IE <= 11");var s,c=u?r.createElement("span",{key:"A","data-text":"true"},"\n"):r.createElement("br",{key:"A","data-text":"true"}),l=u?r.createElement("span",{key:"B","data-text":"true"},"\n"):r.createElement("br",{key:"B","data-text":"true"}),f=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,s=r.Component),d.prototype.shouldComponentUpdate=function(e){var t,n=o.findDOMNode(this),r=""===e.children;return n instanceof Element||a(!1),r?(t=n,!(u?"\n"===t.textContent:"BR"===t.tagName)):n.textContent!==e.children},d.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},d.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},d.prototype.render=function(){return""===this.props.children?this._forceFlag?c:l:r.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},d);function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,s.call(this,e));return t._forceFlag=!1,t}e.exports=f},function(e,t,n){"use strict";var r=n(453),o="Unknown",i={"Mac OS":"Mac OS X"};var a,u=(new r).getResult(),s=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(u.browser.version),c={browserArchitecture:u.cpu.architecture||o,browserFullVersion:u.browser.version||o,browserMinorVersion:s.minor||o,browserName:u.browser.name||o,browserVersion:u.browser.major||o,deviceName:u.device.model||o,engineName:u.engine.name||o,engineVersion:u.engine.version||o,platformArchitecture:u.cpu.architecture||o,platformName:(a=u.os.name,i[a]||a||o),platformVersion:u.os.version||o,platformFullVersion:u.os.version||o};e.exports=c},function(w,S,x){var k;!function(o,f){"use strict";var e="model",t="name",n="type",r="vendor",i="version",a="architecture",u="console",s="mobile",c="tablet",l="smarttv",d="wearable",p={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:f},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},h={rgx:function(e,t){for(var n,r,o,i,a,u,s=0;s<t.length&&!a;){var c=t[s],l=t[s+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(e))for(o=0;o<l.length;o++)u=a[++r],"object"==typeof(i=l[o])&&0<i.length?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,u):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=u?u.replace(i[1],i[2]):f:this[i[0]]=u?i[1].call(this,u,i[2]):f:4==i.length&&(this[i[0]]=u?i[3].call(this,u.replace(i[1],i[2])):f):this[i]=u||f;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&0<t[n].length){for(var r=0;r<t[n].length;r++)if(p.has(t[n][r],e))return"?"===n?f:n}else if(p.has(t[n],e))return"?"===n?f:n;return e}},g={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},v={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[t,i],[/(opios)[\/\s]+([\w\.]+)/i],[[t,"Opera Mini"],i],[/\s(opr)\/([\w\.]+)/i],[[t,"Opera"],i],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[t,i],[/(konqueror)\/([\w\.]+)/i],[[t,"Konqueror"],i],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[t,"IE"],i],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[t,"Edge"],i],[/(yabrowser)\/([\w\.]+)/i],[[t,"Yandex"],i],[/(Avast)\/([\w\.]+)/i],[[t,"Avast Secure Browser"],i],[/(AVG)\/([\w\.]+)/i],[[t,"AVG Secure Browser"],i],[/(puffin)\/([\w\.]+)/i],[[t,"Puffin"],i],[/(focus)\/([\w\.]+)/i],[[t,"Firefox Focus"],i],[/(opt)\/([\w\.]+)/i],[[t,"Opera Touch"],i],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[t,"UCBrowser"],i],[/(comodo_dragon)\/([\w\.]+)/i],[[t,/_/g," "],i],[/(windowswechat qbcore)\/([\w\.]+)/i],[[t,"WeChat(Win) Desktop"],i],[/(micromessenger)\/([\w\.]+)/i],[[t,"WeChat"],i],[/(brave)\/([\w\.]+)/i],[[t,"Brave"],i],[/(qqbrowserlite)\/([\w\.]+)/i],[t,i],[/(QQ)\/([\d\.]+)/i],[t,i],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[t,i],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[t,i],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[t,i],[/(MetaSr)[\/\s]?([\w\.]+)/i],[t],[/(LBBROWSER)/i],[t],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[i,[t,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[i,[t,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[t,i],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[i,[t,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[t,/(.+)/,"$1 WebView"],i],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[t,/(.+(?:g|us))(.+)/,"$1 $2"],i],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[i,[t,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[t,"Sailfish Browser"],i],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[t,i],[/(dolfin)\/([\w\.]+)/i],[[t,"Dolphin"],i],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[t,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[t,"Chrome"],i],[/(coast)\/([\w\.]+)/i],[[t,"Opera Coast"],i],[/fxios\/([\w\.-]+)/i],[i,[t,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[i,[t,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[i,t],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[t,"GSA"],i],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[t,[i,h.str,g.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[t,i],[/(navigator|netscape)\/([\w\.-]+)/i],[[t,"Netscape"],i],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[t,i]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[a,"amd64"]],[/(ia32(?=;))/i],[[a,p.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[a,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[a,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[a,/ower/,"",p.lowerize]],[/(sun4\w)[;\)]/i],[[a,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[a,p.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[e,r,[n,c]],[/applecoremedia\/[\w\.]+ \((ipad)/],[e,[r,"Apple"],[n,c]],[/(apple\s{0,1}tv)/i],[[e,"Apple TV"],[r,"Apple"],[n,l]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[r,e,[n,c]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[e,[r,"Amazon"],[n,c]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[e,h.str,g.device.amazon.model],[r,"Amazon"],[n,s]],[/android.+aft([bms])\sbuild/i],[e,[r,"Amazon"],[n,l]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[e,r,[n,s]],[/\((ip[honed|\s\w*]+);/i],[e,[r,"Apple"],[n,s]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[r,e,[n,s]],[/\(bb10;\s(\w+)/i],[e,[r,"BlackBerry"],[n,s]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[e,[r,"Asus"],[n,c]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[r,"Sony"],[e,"Xperia Tablet"],[n,c]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[e,[r,"Sony"],[n,s]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[r,e,[n,u]],[/android.+;\s(shield)\sbuild/i],[e,[r,"Nvidia"],[n,u]],[/(playstation\s[34portablevi]+)/i],[e,[r,"Sony"],[n,u]],[/(sprint\s(\w+))/i],[[r,h.str,g.device.sprint.vendor],[e,h.str,g.device.sprint.model],[n,s]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[r,[e,/_/g," "],[n,s]],[/(nexus\s9)/i],[e,[r,"HTC"],[n,c]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],[e,[r,"Huawei"],[n,s]],[/android.+(bah2?-a?[lw]\d{2})/i],[e,[r,"Huawei"],[n,c]],[/(microsoft);\s(lumia[\s\w]+)/i],[r,e,[n,s]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[e,[r,"Microsoft"],[n,u]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[r,"Microsoft"],[n,s]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[e,[r,"Motorola"],[n,s]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[r,"Motorola"],[n,c]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[r,p.trim],[e,p.trim],[n,l]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[r,"Samsung"],[n,l]],[/\(dtv[\);].+(aquos)/i],[e,[r,"Sharp"],[n,l]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[r,"Samsung"],e,[n,c]],[/smart-tv.+(samsung)/i],[r,[n,l],e],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[r,"Samsung"],e,[n,s]],[/sie-(\w*)/i],[e,[r,"Siemens"],[n,s]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[r,"Nokia"],e,[n,s]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[e,[r,"Acer"],[n,c]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[r,"LG"],[n,c]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[r,"LG"],e,[n,c]],[/(lg) netcast\.tv/i],[r,e,[n,l]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[e,[r,"LG"],[n,s]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[r,e,[n,c]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[e,[r,"Lenovo"],[n,c]],[/(lenovo)[_\s-]?([\w-]+)/i],[r,e,[n,s]],[/linux;.+((jolla));/i],[r,e,[n,s]],[/((pebble))app\/[\d\.]+\s/i],[r,e,[n,d]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[r,e,[n,s]],[/crkey/i],[[e,"Chromecast"],[r,"Google"],[n,l]],[/android.+;\s(glass)\s\d/i],[e,[r,"Google"],[n,d]],[/android.+;\s(pixel c)[\s)]/i],[e,[r,"Google"],[n,c]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[e,[r,"Google"],[n,s]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[r,"Xiaomi"],[n,s]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[r,"Xiaomi"],[n,c]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[e,[r,"Meizu"],[n,s]],[/(mz)-([\w-]{2,})/i],[[r,"Meizu"],e,[n,s]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[e,[r,"OnePlus"],[n,s]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[e,[r,"RCA"],[n,c]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[e,[r,"Dell"],[n,c]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[e,[r,"Verizon"],[n,c]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[r,"Barnes & Noble"],e,[n,c]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[e,[r,"NuVision"],[n,c]],[/android.+;\s(k88)\sbuild/i],[e,[r,"ZTE"],[n,c]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[e,[r,"Swiss"],[n,s]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[e,[r,"Swiss"],[n,c]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[e,[r,"Zeki"],[n,c]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[r,"Dragon Touch"],e,[n,c]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[e,[r,"Insignia"],[n,c]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[e,[r,"NextBook"],[n,c]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[r,"Voice"],e,[n,s]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[r,"LvTel"],e,[n,s]],[/android.+;\s(PH-1)\s/i],[e,[r,"Essential"],[n,s]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[e,[r,"Envizen"],[n,c]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[r,e,[n,c]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[e,[r,"MachSpeed"],[n,c]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[r,e,[n,c]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[e,[r,"Rotor"],[n,c]],[/android.+(KS(.+))\s+build/i],[e,[r,"Amazon"],[n,c]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[r,e,[n,c]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[n,p.lowerize],r,e],[/[\s\/\(](smart-?tv)[;\)]/i],[[n,l]],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[r,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[i,[t,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[i,[t,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[t,i],[/rv\:([\w\.]{1,9}).+(gecko)/i],[i,t]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[t,i],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[t,[i,h.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[t,"Windows"],[i,h.str,g.os.windows.version]],[/\((bb)(10);/i],[[t,"BlackBerry"],i],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[t,i],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[t,"Symbian"],i],[/\((series40);/i],[t],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[t,"Firefox OS"],i],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[t,i],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[t,"Chromium OS"],i],[/(sunos)\s?([\w\.\d]*)/i],[[t,"Solaris"],i],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[t,i],[/(haiku)\s(\w+)/i],[t,i],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[i,/_/g,"."],[t,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[t,"Mac OS"],[i,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[t,i]]},y=function(e,t){if("object"==typeof e&&(t=e,e=f),!(this instanceof y))return new y(e,t).getResult();var n=e||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?p.extend(v,t):v;return this.getBrowser=function(){var e={name:f,version:f};return h.rgx.call(e,n,r.browser),e.major=p.major(e.version),e},this.getCPU=function(){var e={architecture:f};return h.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:f,model:f,type:f};return h.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:f,version:f};return h.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:f,version:f};return h.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};y.VERSION="0.7.21",y.BROWSER={NAME:t,MAJOR:"major",VERSION:i},y.CPU={ARCHITECTURE:a},y.DEVICE={MODEL:e,VENDOR:r,TYPE:n,CONSOLE:u,MOBILE:s,SMARTTV:l,TABLET:c,WEARABLE:d,EMBEDDED:"embedded"},y.ENGINE={NAME:t,VERSION:i},y.OS={NAME:t,VERSION:i},void 0!==S?(void 0!==w&&w.exports&&(S=w.exports=y),S.UAParser=y):(k=function(){return y}.call(S,x,S,w))===f||(w.exports=k);var m=o&&(o.jQuery||o.Zepto);if(m&&!m.ua){var b=new y;m.ua=b.getResult(),m.ua.get=function(){return b.getUA()},m.ua.set=function(e){b.setUA(e);var t=b.getResult();for(var n in t)m.ua[n]=t[n]}}}("object"==typeof window?window:this)},function(e,t,n){"use strict";var i=n(17),u=/\./,r=/\|\|/,a=/\s+\-\s+/,o=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,p=/^(\d*)(.*)/;function s(e,t){var n=e.split(r);return 1<n.length?n.some(function(e){return b.contains(e,t)}):function(e,t){var n=e.split(a);{if(0<n.length&&n.length<=2||i(!1),1===n.length)return c(n[0],t);var r=n[0],o=n[1];return g(r)&&g(o)||i(!1),c(">="+r,t)&&c("<="+o,t)}}(e=n[0].trim(),t)}function c(e,t){if(""===(e=e.trim()))return!0;var n,r=t.split(u),o=d(e),i=o.modifier,a=o.rangeComponents;switch(i){case"<":return l(r,a);case"<=":return-1===(n=m(r,a))||0===n;case">=":return f(r,a);case">":return 1===m(r,a);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();1<r.length&&r.pop();var o=r.length-1,i=parseInt(r[o],10);h(i)&&(r[o]=i+1+"");return f(e,n)&&l(e,r)}(r,a);default:return 0===m(r,a)}}function l(e,t){return-1===m(e,t)}function f(e,t){var n=m(e,t);return 1===n||0===n}function d(e){var t=e.split(u),n=t[0].match(o);return n||i(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function h(e){return!isNaN(e)&&isFinite(e)}function g(e){return!d(e).modifier}function v(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function y(e,t){return typeof e!=typeof t&&i(!1),t<e?1:e<t?-1:0}function m(e,t){for(var n,r,o,i,a,u,s=function(e,t){v(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return v(t,e.length),[e,t]}(e,t),c=s[0],l=s[1],f=0;f<l.length;f++){var d=(n=c[f],r=l[f],0,o=n.match(p)[1],i=r.match(p)[1],a=parseInt(o,10),u=parseInt(i,10),h(a)&&h(u)&&a!==u?y(a,u):y(n,r));if(d)return d}return 0}var b={contains:function(e,t){return s(e.trim(),t.trim())}};e.exports=b},function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!e)return null;var r={};for(var o in e)i.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r}},function(e,t,n){"use strict";e.exports=function(t){var n={};return function(e){return n.hasOwnProperty(e)||(n[e]=t.call(this,e)),n[e]}}},function(e,t,n){"use strict";(function(y){var u=n(458),m=n(154),s=n(247),r=n(17);function o(e,t){if(!e)return"[empty]";var n=function e(t,n){var r=void 0!==n?n(t):[];if(t.nodeType===Node.TEXT_NODE){var o=t.textContent.length;return document.createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));var a=t.childNodes;for(var u=0;u<a.length;u++)i.appendChild(e(a[u],n));return i}(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||r(!1),n.outerHTML)}function c(e,t){for(var n=e;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return o(n,t);n=n.parentNode}return"Could not find contentEditable parent of node"}function l(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function b(n,t,r,o){var i=s();if(n.extend&&m(i,t)){r>l(t)&&u.logSelectionStateFailure({anonymizedDom:c(t),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())});var a=t===n.focusNode;try{n.extend(t,r)}catch(e){throw u.logSelectionStateFailure({anonymizedDom:c(t,function(e){var t=[];return e===i&&t.push("active element"),e===n.anchorNode&&t.push("selection anchor node"),e===n.focusNode&&t.push("selection focus node"),t}),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===n.focusNode,nodeWasFocus:a,selectionRangeCount:n.rangeCount,selectionAnchorNodeName:n.anchorNode?n.anchorNode.nodeName:null,selectionAnchorOffset:n.anchorOffset,selectionFocusNodeName:n.focusNode?n.focusNode.nodeName:null,selectionFocusOffset:n.focusOffset,message:e?""+e:null,offset:r},null,2),selectionState:JSON.stringify(o.toJS(),null,2)}),e}}else{var e=n.getRangeAt(0);e.setEnd(t,r),n.addRange(e.cloneRange())}}function w(e,t,n,r){var o=document.createRange();n>l(t)&&u.logSelectionStateFailure({anonymizedDom:c(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),o.setStart(t,n),e.addRange(o)}e.exports=function(e,t,n,r,o){if(m(document.documentElement,t)){var i=y.getSelection(),a=e.getAnchorKey(),u=e.getAnchorOffset(),s=e.getFocusKey(),c=e.getFocusOffset(),l=e.getIsBackward();if(!i.extend&&l){var f=a,d=u;a=s,u=c,s=f,c=d,l=!1}var p=a===n&&r<=u&&u<=o,h=s===n&&r<=c&&c<=o;if(p&&h)return i.removeAllRanges(),w(i,t,u-r,e),void b(i,t,c-r,e);if(l){if(h&&(i.removeAllRanges(),w(i,t,c-r,e)),p){var g=i.focusNode,v=i.focusOffset;i.removeAllRanges(),w(i,t,u-r,e),b(i,g,v,e)}}else p&&(i.removeAllRanges(),w(i,t,u-r,e)),h&&b(i,t,c-r,e)}}}).call(this,n(36))},function(e,t,n){"use strict";e.exports={logSelectionStateFailure:function(){return null}}},function(e,t,n){"use strict";var r=n(460);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(462),o=n(463);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?i("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},function(e,t,n){"use strict";var r=/-(.)/g;e.exports=function(e){return e.replace(r,function(e,t){return t.toUpperCase()})}},function(e,t,n){"use strict";var r=/([A-Z])/g;e.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},function(e,t,n){"use strict";var r=n(465);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},function(e,t,n){"use strict";var r=n(154);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e&&r(t,e)))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},function(e,t,n){"use strict";var r="undefined"!=typeof navigator&&-1<navigator.userAgent.indexOf("AppleWebKit");e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:r||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},function(e,t,n){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},function(e,t,n){"use strict";function r(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){e=e||"";var t=void 0,n=arguments.length;if(1<n)for(var r=1;r<n;r++)(t=arguments[r])&&(e=(e?e+" ":"")+t);return e}},function(e,t,n){"use strict";var l=n(249),f=n(38),d=n(20),p=n(157),h=n(251),g=n(252),v=n(95),y=n(53);var r={onDragEnd:function(e){e.exitCurrentMode()},onDrop:function(t,e){var n=new l(e.nativeEvent.dataTransfer),r=t._latestEditorState,o=function(e,t){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=y(n),r=y(r);var i=y(p(n));return g(t,i,r,i,r)}(e.nativeEvent,r);if(e.preventDefault(),t.exitCurrentMode(),null!=o){var i=n.getFiles();if(0<i.length){if(t.props.handleDroppedFiles&&v(t.props.handleDroppedFiles(o,i)))return;h(i,function(e){e&&t.update(m(r,o,e))})}else{var a,u,s,c=t._internalDrag?"internal":"external";if(!t.props.handleDrop||!v(t.props.handleDrop(o,n,c)))if(t._internalDrag)t.update((a=r,u=o,s=f.moveText(a.getCurrentContent(),a.getSelection(),u),d.push(a,s,"insert-fragment")));else t.update(m(r,o,n.getText()))}}}};function m(e,t,n){var r=f.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return d.push(e,r,"insert-fragment")}e.exports=r},function(e,t,n){"use strict";var r={isImage:function(e){return"image"===o(e)[0]},isJpeg:function(e){var t=o(e);return r.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function o(e){return e.split("/")}e.exports=r},function(e,t,n){"use strict";var o=n(17);e.exports=function(e){return!(t=e)||"object"!=typeof t&&"function"!=typeof t||!("length"in t)||"setInterval"in t||"number"==typeof t.nodeType||!(Array.isArray(t)||"callee"in t||"item"in t)?[e]:Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&o(!1),"number"!=typeof t&&o(!1),0===t||t-1 in e||o(!1),"function"==typeof e.callee&&o(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e);var t}},function(e,t,n){"use strict";var r={onBeforeInput:n(474),onBlur:n(477),onCompositionStart:n(478),onCopy:n(479),onCut:n(480),onDragOver:n(481),onDragStart:n(482),onFocus:n(483),onInput:n(484),onKeyDown:n(485),onPaste:n(499),onSelect:n(504)};e.exports=r},function(t,e,n){"use strict";(function(p){var h=n(241),i=n(38),g=n(20),e=n(58),v=n(153),y=n(95),m=n(245),b=n(53),w=n(475),S="'",x="/",k=e.isBrowser("Firefox");function E(e,t,n,r){var o=i.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return g.push(e,o,"insert-characters")}t.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&y(e.props.handleBeforeInput(r,n)))t.preventDefault();else{var o=n.getSelection(),i=o.getStartOffset(),a=o.getEndOffset(),u=o.getAnchorKey();if(!o.isCollapsed())return t.preventDefault(),void(r===n.getCurrentContent().getPlainText().slice(i,a)?e.update(g.forceSelection(n,o.merge({focusOffset:a}))):e.update(E(n,r,n.getCurrentInlineStyle(),v(n.getCurrentContent(),n.getSelection()))));var s,c=E(n,r,n.getCurrentInlineStyle(),v(n.getCurrentContent(),n.getSelection())),l=!1;if(!(l=l||m(e._latestCommittedEditorState))){var f=p.getSelection();if(f.anchorNode&&f.anchorNode.nodeType===Node.TEXT_NODE){var d=f.anchorNode.parentNode;l="SPAN"===d.nodeName&&d.firstChild.nodeType===Node.TEXT_NODE&&-1!==d.firstChild.nodeValue.indexOf("\t")}}if(!l)l=h.getFingerprint(n.getBlockTree(u))!==h.getFingerprint(c.getBlockTree(u));if(l||(s=r,l=k&&(s==S||s==x)),l=l||b(c.getDirectionMap()).get(u)!==b(n.getDirectionMap()).get(u))return t.preventDefault(),void e.update(c);c=g.set(c,{nativelyRenderedContent:c.getCurrentContent()}),e._pendingStateFromBeforeInput=c,w(function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)})}}}).call(this,n(36))},function(t,e,n){"use strict";(function(e){n(476),t.exports=e.setImmediate}).call(this,n(36))},function(e,t,n){(function(e,h){!function(n,r){"use strict";if(!n.setImmediate){var o,i,t,a,u=1,s={},c=!1,l=n.document,e=Object.getPrototypeOf&&Object.getPrototypeOf(n);e=e&&e.setTimeout?e:n,o="[object process]"==={}.toString.call(n.process)?function(e){h.nextTick(function(){d(e)})}:function(){if(n.postMessage&&!n.importScripts){var e=!0,t=n.onmessage;return n.onmessage=function(){e=!1},n.postMessage("","*"),n.onmessage=t,e}}()?(a="setImmediate$"+Math.random()+"$",n.addEventListener?n.addEventListener("message",p,!1):n.attachEvent("onmessage",p),function(e){n.postMessage(a+e,"*")}):n.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){d(e.data)},function(e){t.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(d,0,e)},e.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return s[u]=r,o(u),u++},e.clearImmediate=f}function f(e){delete s[e]}function d(e){if(c)setTimeout(d,0,e);else{var t=s[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n)}}(t)}finally{f(e),c=!1}}}}function p(e){e.source===n&&"string"==typeof e.data&&0===e.data.indexOf(a)&&d(+e.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(36),n(213))},function(e,t,n){"use strict";(function(u){var s=n(20),c=n(154),l=n(247);e.exports=function(e,t){if(l()===document.body){var n=u.getSelection(),r=e.editor;1===n.rangeCount&&c(r,n.anchorNode)&&c(r,n.focusNode)&&n.removeAllRanges()}var o=e._latestEditorState,i=o.getSelection();if(i.getHasFocus()){var a=i.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(s.acceptSelection(o,a))}}}).call(this,n(36))},function(e,t,n){"use strict";var r=n(20);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},function(e,t,n){"use strict";var r=n(253);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},function(e,t,n){"use strict";var u=n(38),s=n(20),c=n(155),l=n(253),f=n(156);e.exports=function(n,e){var r=n._latestEditorState,t=r.getSelection(),o=e.target,i=void 0;if(t.isCollapsed())e.preventDefault();else{o instanceof Node&&(i=f(c.getScrollParent(o)));var a=l(r);n.setClipboard(a),n.setMode("cut"),setTimeout(function(){var e,t;n.restoreEditorDOM(i),n.exitCurrentMode(),n.update((e=r,t=u.removeRange(e.getCurrentContent(),e.getSelection(),"forward"),s.push(e,t,"remove-range")))},0)}}},function(e,t,n){"use strict";e.exports=function(e,t){e._internalDrag=!1,e.setMode("drag"),t.preventDefault()}},function(e,t,n){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},function(e,t,n){"use strict";var i=n(20),a=n(58);e.exports=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var o=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),a.isBrowser("Chrome < 60.0.3081.0")?e.update(i.forceSelection(n,o)):e.update(i.acceptSelection(n,o))}}},function(t,e,n){"use strict";(function(D){var M=n(64),R=n(38),N=n(118),F=n(20),e=n(58),B=n(157),z=n(53),U=e.isEngine("Gecko");t.exports=function(e){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var t=D.getSelection(),n=t.anchorNode,r=t.isCollapsed,o=n.nodeType!==Node.TEXT_NODE,i=n.nodeType!==Node.TEXT_NODE&&n.nodeType!==Node.ELEMENT_NODE;if(M.draft_killswitch_allow_nontextnodes){if(o)return}else if(i)return;if(n.nodeType===Node.TEXT_NODE&&(null!==n.previousSibling||null!==n.nextSibling)){var a=n.parentNode;n.nodeValue=a.textContent;for(var u=a.firstChild;null!==u;u=u.nextSibling)u!==n&&a.removeChild(u)}var s=n.textContent,c=e._latestEditorState,l=z(B(n)),f=N.decode(l),d=f.blockKey,p=f.decoratorKey,h=f.leafKey,g=c.getBlockTree(d).getIn([p,"leaves",h]),v=g.start,y=g.end,m=c.getCurrentContent(),b=m.getBlockForKey(d),w=b.getText().slice(v,y);if(s.endsWith("\n\n")&&(s=s.slice(0,-1)),s!==w){var S,x,k,E,O=c.getSelection(),_=O.merge({anchorOffset:v,focusOffset:y,isBackward:!1}),A=b.getEntityAt(v),C=A&&m.getEntity(A),T="MUTABLE"===(C&&C.getMutability()),I=T?"spellcheck-change":"apply-entity",j=R.replaceText(m,_,s,b.getInlineStyleAt(v),T?b.getEntityAt(v):null);if(U)S=t.anchorOffset,x=t.focusOffset,E=(k=v+Math.min(S,x))+Math.abs(S-x),S=k,x=E;else{var P=s.length-w.length;k=O.getStartOffset(),E=O.getEndOffset(),S=r?E+P:k,x=E+P}var L=j.merge({selectionBefore:m.getSelectionAfter(),selectionAfter:O.merge({anchorOffset:S,focusOffset:x})});e.update(F.push(c,L,I))}}}).call(this,n(36))},function(e,t,n){"use strict";var u=n(38),s=n(20),r=n(158),c=n(152),l=n(486),o=n(58),f=n(95),d=n(487),p=n(489),h=n(491),g=n(492),v=n(493),y=n(494),m=n(495),b=n(496),w=n(497),S=n(498),x=r.isOptionKeyCommand,k=o.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,r=e._latestEditorState;switch(n){case c.RETURN:if(t.preventDefault(),e.props.handleReturn&&f(e.props.handleReturn(t,r)))return;break;case c.ESC:return t.preventDefault(),void(e.props.onEscape&&e.props.onEscape(t));case c.TAB:return void(e.props.onTab&&e.props.onTab(t));case c.UP:return void(e.props.onUpArrow&&e.props.onUpArrow(t));case c.RIGHT:return void(e.props.onRightArrow&&e.props.onRightArrow(t));case c.DOWN:return void(e.props.onDownArrow&&e.props.onDownArrow(t));case c.LEFT:return void(e.props.onLeftArrow&&e.props.onLeftArrow(t));case c.SPACE:if(k&&x(t)){t.preventDefault();var o=u.replaceText(r.getCurrentContent(),r.getSelection()," ");return void e.update(s.push(r,o,"insert-characters"))}}var i=e.props.keyBindingFn(t);if(i)if("undo"!==i){if(t.preventDefault(),!e.props.handleKeyCommand||!f(e.props.handleKeyCommand(i,r))){var a=function(e,t){switch(e){case"redo":return s.redo(t);case"delete":return b(t);case"delete-word":return h(t);case"backspace":return m(t);case"backspace-word":return p(t);case"backspace-to-start-of-line":return d(t);case"split-block":return g(t);case"transpose-characters":return w(t);case"move-selection-to-start-of-block":return y(t);case"move-selection-to-end-of-block":return v(t);case"secondary-cut":return l.cut(t);case"secondary-paste":return l.paste(t);default:return t}}(i,r);a!==r&&e.update(a)}}else S(t,r,e.update)}},function(e,t,n){"use strict";var u=n(38),s=n(20),c=n(116),l=n(53),f=null,r={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var o=n.getAnchorKey(),i=t.getBlockForKey(o).getLength();if(i===n.getAnchorOffset())return e;r=n.set("focusOffset",i)}else r=n;r=l(r),f=c(t,r);var a=u.removeRange(t,r,"forward");return a===t?e:s.push(e,a,"remove-range")},paste:function(e){if(!f)return e;var t=u.replaceWithFragment(e.getCurrentContent(),e.getSelection(),f);return s.push(e,t,"insert-fragment")}};e.exports=r},function(e,t,s){"use strict";(function(r){var n=s(20),o=s(488),i=s(255),a=s(159),u=s(96);e.exports=function(e){var t=u(e,function(e){var t=e.getSelection();if(t.isCollapsed()&&0===t.getAnchorOffset())return a(e,1);var n=r.getSelection().getRangeAt(0);return n=o(n),i(e,null,n.endContainer,n.endOffset,n.startContainer,n.startOffset).selectionState},"backward");return t===e.getCurrentContent()?e:n.push(e,t,"remove-range")}}).call(this,s(36))},function(e,t,n){"use strict";var c=n(73),l=n(254),f=n(17);function d(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var u=e[a];0!==u.width&&1!==u.width&&(n=Math.min(n,u.top),r=Math.min(r,u.bottom),o=Math.max(o,u.top),i=Math.max(i,u.bottom))}return o<=r&&o-n<t&&i-r<t}function p(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}e.exports=function(e){e.collapsed||f(!1);var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=document.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||f(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}(t),r=e.endContainer,o=e.endOffset;for(e.setStart(e.startContainer,0);d(l(e),n)&&(r=e.startContainer,o=e.startOffset,r.parentNode||f(!1),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var i=r,a=o-1;;){for(var u=i.nodeValue,s=a;0<=s;s--)if(!(null!=u&&0<s&&c.isSurrogatePair(u,s-1))){if(e.setStart(i,s),!d(l(e),n))break;r=i,o=s}if(-1===s||0===i.childNodes.length)break;a=p(i=i.childNodes[s])}return e.setStart(r,o),e}},function(e,t,n){"use strict";var a=n(256),r=n(20),u=n(159),o=n(96);e.exports=function(e){var t=o(e,function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return u(e,1);var r=t.getStartKey(),o=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),i=a.getBackward(o);return u(e,i.length||1)},"backward");return t===e.getCurrentContent()?e:r.push(e,t,"remove-range")}},function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(e,t,n){"use strict";var a=n(256),r=n(20),u=n(257),o=n(96);e.exports=function(e){var t=o(e,function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),o=e.getCurrentContent().getBlockForKey(r).getText().slice(n),i=a.getForward(o);return u(e,i.length||1)},"forward");return t===e.getCurrentContent()?e:r.push(e,t,"remove-range")}},function(e,t,n){"use strict";var r=n(38),o=n(20);e.exports=function(e){var t=r.splitBlock(e.getCurrentContent(),e.getSelection());return o.push(e,t,"split-block")}},function(e,t,n){"use strict";var o=n(20);e.exports=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return o.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})}},function(e,t,n){"use strict";var r=n(20);e.exports=function(e){var t=e.getSelection(),n=t.getStartKey();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},function(e,t,n){"use strict";var r=n(20),a=n(73),u=n(159),o=n(96);e.exports=function(e){var t=o(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),i=n.getBlockForKey(r).getText()[o-1];return u(e,i?a.getUTF16Length(i,0):1)},"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},function(e,t,n){"use strict";var r=n(20),a=n(73),u=n(257),o=n(96);e.exports=function(e){var t=o(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),i=n.getBlockForKey(r).getText()[o];return u(e,i?a.getUTF16Length(i,0):1)},"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},function(e,t,n){"use strict";var g=n(38),v=n(20),y=n(116);e.exports=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,o,i=t.getAnchorKey(),a=e.getCurrentContent(),u=a.getBlockForKey(i).getLength();if(u<=1)return e;o=n===u?(r=t.set("anchorOffset",n-1),t):(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var s=y(a,r),c=g.removeRange(a,r,"backward"),l=c.getSelectionAfter(),f=l.getAnchorOffset()-1,d=l.merge({anchorOffset:f,focusOffset:f}),p=g.replaceWithFragment(c,d,s),h=v.push(e,p,"insert-fragment");return v.acceptSelection(h,o)}},function(e,t,n){"use strict";var i=n(20);e.exports=function(e,t,n){var r=i.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(i.set(t,{nativelyRenderedContent:null})),setTimeout(function(){n(r)},0)):n(r);else{var o=r.getCurrentContent();n(i.set(r,{nativelyRenderedContent:o}))}}},function(e,t,n){"use strict";var w=n(93),S=n(42),x=n(249),k=n(38),E=n(500),O=n(20),_=n(260),A=n(153),C=n(251),T=n(95),I=n(503);function j(e,t,n){var r=k.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return O.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(s,e){e.preventDefault();var t=new x(e.clipboardData);if(!t.isRichText()){var n=t.getFiles(),c=t.getText();if(0<n.length){if(s.props.handlePastedFiles&&T(s.props.handlePastedFiles(n)))return;return void C(n,function(e){if(e=e||c){var t=s._latestEditorState,n=I(e),r=S.create({style:t.getCurrentInlineStyle(),entity:A(t.getCurrentContent(),t.getSelection())}),o=_.getCurrentBlockType(t),i=E.processText(n,r,o),a=w.createFromArray(i),u=k.replaceWithFragment(t.getCurrentContent(),t.getSelection(),a);s.update(O.push(t,u,"insert-fragment"))}})}}var r=[],o=t.getText(),i=t.getHTML(),a=s._latestEditorState;if(!s.props.handlePastedText||!T(s.props.handlePastedText(o,i,a))){if(o&&(r=I(o)),!s.props.stripPastedStyles){var u=s.getClipboard();if(t.isRichText()&&u){if(-1!==i.indexOf(s.getEditorKey())||1===r.length&&1===u.size&&u.first().getText()===o)return void s.update(j(s._latestEditorState,u))}else if(u&&t.types.includes("com.apple.webarchive")&&!t.types.includes("text/html")&&(g=u,(h=r).length===g.size&&g.valueSeq().every(function(e,t){return e.getText()===h[t]})))return void s.update(j(s._latestEditorState,u));if(i){var l=E.processHTML(i,s.props.blockRenderMap);if(l){var f=l.contentBlocks,d=l.entityMap;if(f){var p=w.createFromArray(f);return void s.update(j(s._latestEditorState,p,d))}}}s.setClipboard(null)}var h,g;if(r.length){var v=S.create({style:a.getCurrentInlineStyle(),entity:A(a.getCurrentContent(),a.getSelection())}),y=_.getCurrentBlockType(a),m=E.processText(r,v,y),b=w.createFromArray(m);s.update(j(s._latestEditorState,b))}}}},function(e,t,n){"use strict";var c=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=(n(42),n(72)),o=n(44),i=n(64),a=n(16),u=n(258),l=n(61),s=n(259),f=n(149),d=a.List,p=a.Repeat,h=i.draft_tree_data_support,g=h?o:r,v={processHTML:function(e,t){return u(e,s,t)},processText:function(e,u,s){return e.reduce(function(e,t,n){t=f(t);var r=l(),o={key:r,type:s,text:t,characterList:d(p(u,t.length))};if(h&&0!==n){var i=n-1,a=e[i]=e[i].merge({nextSibling:r});o=c({},o,{prevSibling:a.getKey()})}return e.push(new g(o)),e},[])}};e.exports=v},function(e,t,n){"use strict";var r=(o.prototype.toString=function(){return this._uri},o);function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this._uri=e}e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),u=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat([[i,a.get(i)]]).map(function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)});return a=a.merge(u),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=/\r\n?|\n/g;e.exports=function(e){return e.split(r)}},function(e,t,n){"use strict";var i=n(20),a=n(26),u=n(505),s=n(17);e.exports=function(e){if(!e._blockSelectEvents&&e._latestEditorState===e.props.editorState){var t=e.props.editorState,n=a.findDOMNode(e.editorContainer);n||s(!1),n.firstChild instanceof HTMLElement||s(!1);var r=u(t,n.firstChild),o=r.selectionState;o!==t.getSelection()&&(t=r.needsRecovery?i.forceSelection(t,o):i.acceptSelection(t,o),e.update(t))}}},function(e,t,n){"use strict";(function(r){var o=n(255);e.exports=function(e,t){var n=r.getSelection();return 0===n.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(e,t,n.anchorNode,n.anchorOffset,n.focusNode,n.focusOffset)}}).call(this,n(36))},function(e,t,n){"use strict";var r,o=n(0),i=n(81),a=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,r=o.Component),u.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},u.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return o.createElement("div",{className:t},o.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},u);function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}e.exports=a},function(e,t,n){"use strict";function s(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:o(e),entityRanges:r(e,t),data:e.getData().toObject()}}function u(e,t){var o=t.entityMap,n=[],i={},a={},u=0;return e.getBlockMap().forEach(function(r){r.findEntityRanges(function(e){return null!==e.getEntity()},function(e){var t=r.getEntityAt(e),n=d.stringify(t);a[n]||(a[n]=t,o[n]=""+u,u++)}),function(e,t,n,r){if(e instanceof l)n.push(s(e,t));else{e instanceof f||p(!1);var o=e.getParentKey(),i=r[e.getKey()]=c({},s(e,t),{children:[]});o?r[o].children.push(i):n.push(i)}}(r,o,n,i)}),{blocks:n,entityMap:o}}var c=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(72),f=n(44),d=n(262),r=n(508),o=n(509),p=n(17);e.exports=function(e){var r,t,n,o,i,a={entityMap:{},blocks:[]};return a=u(e,a),r=e,n=(t=a).blocks,o=t.entityMap,i={},Object.keys(o).forEach(function(e,t){var n=r.getEntity(d.unstringify(e));i[t]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}}),a={blocks:n,entityMap:i}}},function(e,t,n){"use strict";var u=n(262),s=n(73).strlen;e.exports=function(o,i){var a=[];return o.findEntityRanges(function(e){return!!e.getEntity()},function(e,t){var n=o.getText(),r=o.getEntityAt(e);a.push({offset:s(n.slice(0,e)),length:s(n.slice(e,t)),key:Number(i[u.stringify(r)])})}),a}},function(e,t,n){"use strict";var u=n(73),s=n(94),c=function(e,t){return e===t},l=function(e){return!!e},r=[];e.exports=function(n){var a=n.getCharacterList().map(function(e){return e.getStyle()}).toList(),e=a.flatten().toSet().map(function(e){return r=n,o=e,i=[],t=a.map(function(e){return e.has(o)}).toList(),s(t,c,l,function(e,t){var n=r.getText();i.push({offset:u.strlen(n.slice(0,e)),length:u.strlen(n.slice(e,t)),style:o})}),i;var r,o,i,t});return Array.prototype.concat.apply(r,e.toJS())}},function(e,t,n){"use strict";function g(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||h(),data:k(o),characterList:O(e,t)}}function v(e){return m({},e,{key:e.key||h()})}function y(e,t,n){var r=t.map(function(e){return m({},e,{parentRef:n})});return e.concat(r.reverse())}function o(e,t){var n,r,p,h,o=Array.isArray(e.blocks[0].children),i=S&&!o?c.fromRawStateToRawTreeState(e).blocks:e.blocks;return S?(h=t,(p=i).map(v).reduce(function(e,t,n){Array.isArray(t.children)||w(!1);var r=t.children.map(v),o=new b(m({},g(t,h),{prevSibling:0===n?null:p[n-1].key,nextSibling:n===p.length-1?null:p[n+1].key,children:x(r.map(function(e){return e.key}))}));e=e.set(o.getKey(),o);for(var i=y([],r,o);0<i.length;){var a=i.pop(),u=a.parentRef,s=u.getChildKeys(),c=s.indexOf(a.key),l=Array.isArray(a.children);if(!l){l||w(!1);break}var f=a.children.map(v),d=new b(m({},g(a,h),{parent:u.getKey(),children:x(f.map(function(e){return e.key})),prevSibling:0===c?null:s.get(c-1),nextSibling:c===s.size-1?null:s.get(c+1)}));e=e.set(d.getKey(),d),i=y(i,f,d)}return e},E())):(n=o?c.fromRawTreeStateToRawState(e).blocks:i,r=t,E(n.map(function(e){var t=new a(g(e,r));return[t.getKey(),t]})))}var m=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(72),b=n(44),u=n(148),s=n(117),r=n(64),c=n(511),i=n(16),l=n(80),f=n(512),d=n(513),p=n(514),h=n(61),w=n(17),S=r.draft_tree_data_support,x=i.List,k=i.Map,E=i.OrderedMap,O=function(e,t){var n=e.text,r=e.entityRanges,o=e.inlineStyleRanges,i=r||[];return f(p(n,o||[]),d(n,i.filter(function(e){return t.hasOwnProperty(e.key)}).map(function(e){return m({},e,{key:t[e.key]})})))};e.exports=function(e){Array.isArray(e.blocks)||w(!1);var i,a,t=(i=e.entityMap,a={},Object.keys(i).forEach(function(e){var t=i[e],n=t.type,r=t.mutability,o=t.data;a[e]=s.__create(n,r,o||{})}),a),n=o(e,t),r=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new u({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},function(e,t,n){"use strict";function u(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t}var s=n(37)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(17),r={fromRawTreeStateToRawState:function(e){var t=e.blocks,r=[];return Array.isArray(t)||c(!1),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var o=r.children;Array.isArray(o)||c(!1),n=n.concat([].concat(o.reverse()))}}(t,function(e){var t,n=s({},e);u(e)&&(n.depth=n.depth||0,t=e,Array.isArray(t.children)&&(t.children=t.children.map(function(e){return e.type===t.type?s({},e,{depth:(t.depth||0)+1}):e}))),delete n.children,r.push(n)}),e.blocks=r,s({},e,{blocks:r})):e},fromRawStateToRawTreeState:function(e){var i={},a=[];return e.blocks.forEach(function(e){var t=u(e),n=e.depth||0,r=s({},e,{children:[]});if(!t)return i={},void a.push(r);if(i[n]=r,0<n){var o=i[n-1];return o||c(!1),void o.children.push(r)}a.push(r)}),s({},e,{blocks:a})}};e.exports=r},function(e,t,n){"use strict";var o=n(42),i=n(16).List;e.exports=function(e,r){var t=e.map(function(e,t){var n=r[t];return o.create({style:e,entity:n})});return i(t)}},function(e,t,n){"use strict";var a=n(73).substr;e.exports=function(o,e){var i=Array(o.length).fill(null);return e&&e.forEach(function(e){for(var t=a(o,0,e.offset).length,n=t+a(o,e.offset,e.length).length,r=t;r<n;r++)i[r]=e.key}),i}},function(e,t,n){"use strict";var r=n(16).OrderedSet,i=n(73).substr,a=r();e.exports=function(r,e){var o=Array(r.length).fill(a);return e&&e.forEach(function(e){for(var t=i(r,0,e.offset).length,n=t+i(r,e.offset,e.length).length;t<n;)o[t]=o[t].add(e.style),t++}),o}},function(e,t,n){"use strict";var s=n(516);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=s(n),o=r.top,i=r.right,a=r.bottom,u=r.left;return 0===o&&0===i&&0===a&&0===u?null:r}},function(e,t,n){"use strict";var l=n(254);e.exports=function(e){var t=l(e),n=0,r=0,o=0,i=0;if(t.length){if(1<t.length&&0===t[0].width){var a=t[1];n=a.top,r=a.right,o=a.bottom,i=a.left}else{var u=t[0];n=u.top,r=u.right,o=u.bottom,i=u.left}for(var s=1;s<t.length;s++){var c=t[s];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),o=Math.max(o,c.bottom),i=Math.min(i,c.left))}}return{top:n,right:r,bottom:o,left:i,width:r-i,height:o-n}}},function(e,u,t){"use strict";var i,s,c,l,n;if(Object.defineProperty(u,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var r=null,o=null,a=function(){if(null!==r)try{var e=u.unstable_now();r(!0,e),r=null}catch(e){throw setTimeout(a,0),e}},f=Date.now();u.unstable_now=function(){return Date.now()-f},i=function(e){null!==r?setTimeout(i,0,e):(r=e,setTimeout(a,0))},s=function(e,t){o=setTimeout(e,t)},c=function(){clearTimeout(o)},l=function(){return!1},n=u.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){window.requestAnimationFrame}if("object"==typeof d&&"function"==typeof d.now)u.unstable_now=function(){return d.now()};else{var v=p.now();u.unstable_now=function(){return p.now()-v}}var y=!1,m=null,b=-1,w=5,S=0;l=function(){return u.unstable_now()>=S},n=function(){},u.unstable_forceFrameRate=function(e){e<0||125<e||(w=0<e?Math.floor(1e3/e):5)};var x=new MessageChannel,k=x.port2;x.port1.onmessage=function(){if(null!==m){var e=u.unstable_now();S=e+w;try{m(!0,e)?k.postMessage(null):(y=!1,m=null)}catch(e){throw k.postMessage(null),e}}else y=!1},i=function(e){m=e,y||(y=!0,k.postMessage(null))},s=function(e,t){b=h(function(){e(u.unstable_now())},t)},c=function(){g(b),b=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),o=e[r];if(!(void 0!==o&&0<A(o,t)))break e;e[r]=t,e[n]=o,n=r}}function O(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=1+i,s=e[u];if(void 0!==a&&A(a,n)<0)r=void 0!==s&&A(s,a)<0?(e[r]=s,e[u]=n,u):(e[r]=a,e[i]=n,i);else{if(!(void 0!==s&&A(s,n)<0))break e;e[r]=s,e[u]=n,r=u}}}return t}}function A(e,t){var n=e.sortIndex-t.sortIndex;return 0!=n?n:e.id-t.id}var C=[],T=[],I=1,j=null,P=3,L=!1,D=!1,M=!1;function R(e){for(var t=O(T);null!==t;){if(null===t.callback)_(T);else{if(!(t.startTime<=e))break;_(T),t.sortIndex=t.expirationTime,E(C,t)}t=O(T)}}function N(e){if(M=!1,R(e),!D)if(null!==O(C))D=!0,i(F);else{var t=O(T);null!==t&&s(N,t.startTime-e)}}function F(e,t){D=!1,M&&(M=!1,c()),L=!0;var n=P;try{for(R(t),j=O(C);null!==j&&(!(j.expirationTime>t)||e&&!l());){var r=j.callback;if(null!==r){j.callback=null,P=j.priorityLevel;var o=r(j.expirationTime<=t);t=u.unstable_now(),"function"==typeof o?j.callback=o:j===O(C)&&_(C),R(t)}else _(C);j=O(C)}if(null!==j)var i=!0;else{var a=O(T);null!==a&&s(N,a.startTime-t),i=!1}return i}finally{j=null,P=n,L=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=n;u.unstable_ImmediatePriority=1,u.unstable_UserBlockingPriority=2,u.unstable_NormalPriority=3,u.unstable_IdlePriority=5,u.unstable_LowPriority=4,u.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},u.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},u.unstable_scheduleCallback=function(e,t,n){var r=u.unstable_now();if("object"==typeof n&&null!==n){var o=n.delay;o="number"==typeof o&&0<o?r+o:r,n="number"==typeof n.timeout?n.timeout:B(e)}else n=B(e),o=r;return e={id:I++,callback:t,priorityLevel:e,startTime:o,expirationTime:n=o+n,sortIndex:-1},r<o?(e.sortIndex=o,E(T,e),null===O(C)&&e===O(T)&&(M?c():M=!0,s(N,o-r))):(e.sortIndex=n,E(C,e),D||L||(D=!0,i(F))),e},u.unstable_cancelCallback=function(e){e.callback=null},u.unstable_wrapCallback=function(t){var n=P;return function(){var e=P;P=n;try{return t.apply(this,arguments)}finally{P=e}}},u.unstable_getCurrentPriorityLevel=function(){return P},u.unstable_shouldYield=function(){var e=u.unstable_now();R(e);var t=O(C);return t!==j&&null!==j&&null!==t&&null!==t.callback&&t.startTime<=e&&t.expirationTime<j.expirationTime||l()},u.unstable_requestPaint=z,u.unstable_continueExecution=function(){D||L||(D=!0,i(F))},u.unstable_pauseExecution=function(){},u.unstable_getFirstCallbackNode=function(){return O(C)},u.unstable_Profiling=null},function(e,t,n){var r=n(51);e.exports=function(){return r.Date.now()}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var y=n(110),m=n(537),b=n(205),w=n(538),S=n(539),x=n(196),k=n(199),E=n(540),O=n(541),_=n(230),A=n(264),C=n(92),T=n(542),I=n(543),j=n(200),P=n(40),L=n(90),D=n(547),M=n(52),R=n(549),N=n(91),F=1,B=2,z=4,U="[object Arguments]",K="[object Function]",V="[object GeneratorFunction]",q="[object Object]",H={};H[U]=H["[object Array]"]=H["[object ArrayBuffer]"]=H["[object DataView]"]=H["[object Boolean]"]=H["[object Date]"]=H["[object Float32Array]"]=H["[object Float64Array]"]=H["[object Int8Array]"]=H["[object Int16Array]"]=H["[object Int32Array]"]=H["[object Map]"]=H["[object Number]"]=H[q]=H["[object RegExp]"]=H["[object Set]"]=H["[object String]"]=H["[object Symbol]"]=H["[object Uint8Array]"]=H["[object Uint8ClampedArray]"]=H["[object Uint16Array]"]=H["[object Uint32Array]"]=!0,H["[object Error]"]=H[K]=H["[object WeakMap]"]=!1,e.exports=function n(r,o,i,e,t,a){var u,s=o&F,c=o&B,l=o&z;if(i&&(u=t?i(r,e,t,a):i(r)),void 0!==u)return u;if(!M(r))return r;var f=P(r);if(f){if(u=T(r),!s)return k(r,u)}else{var d=C(r),p=d==K||d==V;if(L(r))return x(r,s);if(d==q||d==U||p&&!t){if(u=c||p?{}:j(r),!s)return c?O(r,S(u,r)):E(r,w(u,r))}else{if(!H[d])return t?r:{};u=I(r,d,s)}}var h=(a=a||new y).get(r);if(h)return h;a.set(r,u),R(r)?r.forEach(function(e){u.add(n(e,o,i,e,r,a))}):D(r)&&r.forEach(function(e,t){u.set(t,n(e,o,i,t,r,a))});var g=l?c?A:_:c?keysIn:N,v=f?void 0:g(r);return m(v||r,function(e,t){v&&(e=r[t=e]),b(u,t,n(e,o,i,t,r,a))}),u}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(79),o=n(91);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(79),o=n(113);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(79),o=n(146);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(79),o=n(263);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,n){var o=n(137),i=n(544),a=n(545),u=n(546),s=n(197);e.exports=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return i(e,n);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 s(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return a(e);case"[object Set]":return new r;case"[object Symbol]":return u(e)}}},function(e,t,n){var r=n(137);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(77),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(548),o=n(140),i=n(141),a=i&&i.isMap,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(92),o=n(57);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(550),o=n(140),i=n(141),a=i&&i.isSet,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(92),o=n(57);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(102),o=n(236),i=n(552),a=n(88);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t,n){var r=n(129),o=n(553);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=o<-t?0:o+t),(n=o<n?o:n)<0&&(n+=o),o=n<t?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},function(e,t,n){var r=n(203);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(556),o=n(209),i=n(210);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(225);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"selectUnit",function(){return r}),n.d(t,"defaultNumberOption",function(){return l}),n.d(t,"getAliasesByLang",function(){return c}),n.d(t,"getInternalSlot",function(){return k}),n.d(t,"getMultiInternalSlots",function(){return E}),n.d(t,"getNumberOption",function(){return f}),n.d(t,"getOption",function(){return s}),n.d(t,"getParentLocalesByLang",function(){return d}),n.d(t,"isLiteralPart",function(){return O}),n.d(t,"partitionPattern",function(){return _}),n.d(t,"setInternalSlot",function(){return w}),n.d(t,"setMultiInternalSlots",function(){return x}),n.d(t,"setNumberFormatDigitOptions",function(){return A}),n.d(t,"toObject",function(){return a}),n.d(t,"objectIs",function(){return C}),n.d(t,"isWellFormedCurrencyCode",function(){return I}),n.d(t,"toString",function(){return u}),n.d(t,"createResolveLocale",function(){return M}),n.d(t,"getLocaleHierarchy",function(){return B}),n.d(t,"supportedLocales",function(){return U}),n.d(t,"unpackData",function(){return W}),n.d(t,"isMissingLocaleDataError",function(){return H}),n.d(t,"SANCTIONED_UNITS",function(){return Y}),n.d(t,"removeUnitNamespace",function(){return Z}),n.d(t,"InternalSlotToken",function(){return G}),n.d(t,"getCanonicalLocales",function(){return j}),n.d(t,"invariant",function(){return S});var p=function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},h=1e3,g=60,v=60*g,y=24*v,m=7*y;function r(e,t,n){void 0===t&&(t=Date.now()),void 0===n&&(n={});var r=p(p({},b),n||{}),o=(e-t)/h;if(Math.abs(o)<r.second)return{value:Math.round(o),unit:"second"};var i=o/g;if(Math.abs(i)<r.minute)return{value:Math.round(i),unit:"minute"};var a=o/v;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var u=o/y;if(Math.abs(u)<r.day)return{value:Math.round(u),unit:"day"};var s=new Date(e),c=new Date(t),l=s.getFullYear()-c.getFullYear();if(0<Math.round(Math.abs(l)))return{value:Math.round(l),unit:"year"};var f=12*l+s.getMonth()-c.getMonth();if(0<Math.round(Math.abs(f)))return{value:Math.round(f),unit:"month"};var d=o/m;return{value:Math.round(d),unit:"week"}}var b={second:45,minute:45,hour:22,day:5},o={"aa-SAAHO":"ssy",aam:"aas",aar:"aa",abk:"ab",adp:"dz",afr:"af",aju:"jrb",aka:"ak",alb:"sq",als:"sq",amh:"am",ara:"ar",arb:"ar",arg:"an",arm:"hy","art-lojban":"jbo",asd:"snz",asm:"as",aue:"ktz",ava:"av",ave:"ae",aym:"ay",ayr:"ay",ayx:"nun","az-AZ":"az-Latn-AZ",aze:"az",azj:"az",bak:"ba",bam:"bm",baq:"eu",bcc:"bal",bcl:"bik",bel:"be",ben:"bn",bgm:"bcg",bh:"bho",bih:"bho",bis:"bi",bjd:"drl",bod:"bo",bos:"bs",bre:"br","bs-BA":"bs-Latn-BA",bul:"bg",bur:"my",bxk:"luy",bxr:"bua",cat:"ca",ccq:"rki","cel-gaulish":"xtg-x-cel-gaulish",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cjr:"mom",cka:"cmr",cld:"syr",cmk:"xch",cmn:"zh",cnr:"sr-ME",cor:"kw",cos:"co",coy:"pij",cqu:"quh",cre:"cr",cwd:"cr",cym:"cy",cze:"cs",dan:"da",deu:"de",dgo:"doi",dhd:"mwr",dik:"din",diq:"zza",dit:"dif",div:"dv",drh:"mn",drw:"fa-af",dut:"nl",dzo:"dz",ekk:"et",ell:"el",emk:"man",eng:"en",epo:"eo",esk:"ik",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fat:"ak",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",fuc:"ff",ful:"ff",gav:"dev",gaz:"om",gbo:"grb",geo:"ka",ger:"de",gfx:"vaj",ggn:"gvr",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gno:"gon",gre:"el",grn:"gn",gti:"nyc",gug:"gn",guj:"gu",guv:"duz",gya:"gba","ha-Latn-GH":"ha-GH","ha-Latn-NE":"ha-NE","ha-Latn-NG":"ha-NG",hat:"ht",hau:"ha",hbs:"sr-Latn",hdn:"hai",hea:"hmn",heb:"he",her:"hz",him:"srx",hin:"hi",hmo:"ho",hrr:"jal",hrv:"hr",hun:"hu",hye:"hy","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","i-default":"en-x-i-default","i-enochian":"und-x-i-enochian","i-mingo":"see-x-i-mingo",ibi:"opa",ibo:"ig",ice:"is",ido:"io",iii:"ii",ike:"iu",iku:"iu",ile:"ie",ilw:"gal",in:"id",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",iw:"he",jav:"jv",jeg:"oyb",ji:"yi",jpn:"ja",jw:"jv",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",kgc:"tdf",kgh:"kml",khk:"mn",khm:"km",kik:"ki",kin:"rw",kir:"ky","kk-Cyrl-KZ":"kk-KZ",kmr:"ku",knc:"kr",kng:"kg",knn:"kok",koj:"kwv",kom:"kv",kon:"kg",kor:"ko",kpv:"kv",krm:"bmf","ks-Arab-IN":"ks-IN",ktr:"dtp",kua:"kj",kur:"ku",kvs:"gdj",kwq:"yam",kxe:"tvd","ky-Cyrl-KG":"ky-KG",kzj:"dtp",kzt:"dtp",lao:"lo",lat:"la",lav:"lv",lbk:"bnc",lii:"raq",lim:"li",lin:"ln",lit:"lt",llo:"ngt",lmm:"rmx",ltz:"lb",lub:"lu",lug:"lg",lvs:"lv",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",meg:"cir",mhr:"chm",mkd:"mk",mlg:"mg",mlt:"mt","mn-Cyrl-MN":"mn-MN",mnk:"man",mo:"ro",mol:"ro",mon:"mn",mri:"mi","ms-Latn-BN":"ms-BN","ms-Latn-MY":"ms-MY","ms-Latn-SG":"ms-SG",msa:"ms",mst:"mry",mup:"raj",mwj:"vaj",mya:"my",myd:"aog",myt:"mry",nad:"xny",nau:"na",nav:"nv",nbl:"nr",ncp:"kdz",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nns:"nbr",nnx:"ngv",no:"nb","no-bok":"nb","no-BOKMAL":"nb","no-nyn":"nn","no-NYNORSK":"nn",nob:"nb",nor:"nb",npi:"ne",nts:"pij",nya:"ny",oci:"oc",ojg:"oj",oji:"oj",ori:"or",orm:"om",ory:"or",oss:"os",oun:"vaj","pa-IN":"pa-Guru-IN","pa-PK":"pa-Arab-PK",pan:"pa",pbu:"ps",pcr:"adx",per:"fa",pes:"fa",pli:"pi",plt:"mg",pmc:"huw",pmu:"phr",pnb:"lah",pol:"pl",por:"pt",ppa:"bfy",ppr:"lcq",prs:"fa-AF",pry:"prt",pus:"ps",puz:"pub",que:"qu",quz:"qu",rmy:"rom",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sca:"hle",scc:"sr",scr:"hr","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg",sh:"sr-Latn","shi-MA":"shi-Tfng-MA",sin:"si",skk:"oyb",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",spy:"kln",sqi:"sq","sr-BA":"sr-Cyrl-BA","sr-ME":"sr-Latn-ME","sr-RS":"sr-Cyrl-RS","sr-XK":"sr-Cyrl-XK",src:"sc",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swc:"sw-CD",swe:"sv",swh:"sw",tah:"ty",tam:"ta",tat:"tt",tdu:"dtp",tel:"te",tgk:"tg",tgl:"fil",tha:"th",thc:"tpo",thx:"oyb",tib:"bo",tie:"ras",tir:"ti",tkk:"twm",tl:"fil",tlw:"weo",tmp:"tyj",tne:"kak",tnf:"fa-af",ton:"to",tsf:"taj",tsn:"tn",tso:"ts",ttq:"tmh",tuk:"tk",tur:"tr",tw:"ak",twi:"ak","tzm-Latn-MA":"tzm-MA","ug-Arab-CN":"ug-CN",uig:"ug",ukr:"uk",umu:"del",uok:"ema",urd:"ur","uz-AF":"uz-Arab-AF","uz-UZ":"uz-Latn-UZ",uzb:"uz",uzn:"uz","vai-LR":"vai-Vaii-LR",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wln:"wa",wol:"wo",xba:"cax",xho:"xh",xia:"acn",xkh:"waw",xpe:"kpe",xsj:"suj",xsl:"den",ybd:"rki",ydd:"yi",yid:"yi",yma:"lrr",ymt:"mtm",yor:"yo",yos:"zom","yue-CN":"yue-Hans-CN","yue-HK":"yue-Hant-HK",yuu:"yug",zai:"zap","zh-CN":"zh-Hans-CN","zh-guoyu":"zh","zh-hakka":"hak","zh-HK":"zh-Hant-HK","zh-min-nan":"nan","zh-MO":"zh-Hant-MO","zh-SG":"zh-Hans-SG","zh-TW":"zh-Hant-TW","zh-xiang":"hsn","zh-min":"nan-x-zh-min",zha:"za",zho:"zh",zsm:"ms",zul:"zu",zyb:"za"},i={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","zh-Hant-MO":"zh-Hant-HK"};function S(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function a(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function u(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function s(e,t,n,r,o){var i=e[t];if(void 0===i)return o;if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(i=Boolean(i)),"string"===n&&(i=u(i)),void 0!==r&&!r.filter(function(e){return e==i}).length)throw new RangeError(i+" is not within "+r.join(", "));return i}function l(e,t,n,r){if(void 0===e)return r;if(e=Number(e),isNaN(e)||e<t||n<e)throw new RangeError(e+" is outside of range ["+t+", "+n+"]");return Math.floor(e)}function f(e,t,n,r,o){return l(e[t],n,r,o)}function c(n){return Object.keys(o).reduce(function(e,t){return t.split("-")[0]===n&&(e[t]=o[t]),e},{})}function d(n){return Object.keys(i).reduce(function(e,t){return t.split("-")[0]===n&&(e[t]=i[t]),e},{})}function w(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function x(e,t,n){for(var r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];w(e,t,i,n[i])}}function k(e,t,n){return E(e,t,n)[n]}function E(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=e.get(t);if(!o)throw new TypeError(t+" InternalSlot has not been initialized");return n.reduce(function(e,t){return e[t]=o[t],e},Object.create(null))}function O(e){return"literal"===e.type}function _(e){for(var t=[],n=e.indexOf("{"),r=0,o=0,i=e.length;n<e.length&&-1<n;)S(n<(r=e.indexOf("}",n)),"Invalid pattern "+e),o<n&&t.push({type:"literal",value:e.substring(o,n)}),t.push({type:e.substring(n+1,r),value:void 0}),o=r+1,n=e.indexOf("{",o);return o<i&&t.push({type:"literal",value:e.substring(o,i)}),t}function A(e,t,n,r,o){var i=f(n,"minimumIntegerDigits",1,21,1),a=n.minimumFractionDigits,u=n.maximumFractionDigits,s=n.minimumSignificantDigits,c=n.maximumSignificantDigits;if(w(e,t,"minimumIntegerDigits",i),void 0!==s||void 0!==c)w(e,t,"roundingType","significantDigits"),s=l(s,1,21,1),c=l(c,s,21,21),w(e,t,"minimumSignificantDigits",s),w(e,t,"maximumSignificantDigits",c);else if(void 0!==a||void 0!==u){w(e,t,"roundingType","fractionDigits"),a=l(a,0,20,r),u=l(u,a,20,Math.max(a,o)),w(e,t,"minimumFractionDigits",a),w(e,t,"maximumFractionDigits",u)}else"compact"===k(e,t,"notation")?w(e,t,"roundingType","compactRounding"):(w(e,t,"roundingType","fractionDigits"),w(e,t,"minimumFractionDigits",r),w(e,t,"maximumFractionDigits",o))}function C(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}var T=/[^A-Z]/;function I(e){return 3===(e=e.replace(/([a-z])/g,function(e,t){return t.toUpperCase()})).length&&!T.test(e)}function j(e){var t=Intl.getCanonicalLocales;return"function"==typeof t?t(e):Intl.DateTimeFormat.supportedLocalesOf(e||"")}var P,L=(P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),D=function(){return(D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function M(e){var s,c,b=function(e,t){for(var n={locale:""},r=0,o=t;r<o.length;r++){var i=o[r],a=i.replace(N,""),u=F(e,a);if(u)return n.locale=u,i!==a&&(n.extension=i.slice(a.length+1,i.length)),n}return n.locale=s(),n},w=(c=s=e,function(e,t){for(var n={locale:""},r=0,o=t;r<o.length;r++){var i=o[r],a=i.replace(N,""),u=F(e,a);if(u)return n.locale=u,i!==a&&(n.extension=i.slice(a.length+1,i.length)),n}return n.locale=c(),n});return function(e,t,n,r,o){for(var i,a=(i=("lookup"===n.localeMatcher?b:w)(e,t)).locale,u={locale:"",dataLocale:a},s="-u",c=0,l=r;c<l.length;c++){var f=l[c],d=o[a];S("object"==typeof d&&null!==d,"locale data "+f+" must be an object");var p=d[f];S(Array.isArray(p),"keyLocaleData for "+f+" must be an array");var h=p[0];S("string"==typeof h||null===h,"value must be string or null");var g="";if(i.extension){var v=R(i.extension,f);void 0!==v&&(""!==v?~p.indexOf(v)&&(g="-"+f+"-"+(h=v)):~v.indexOf("true")&&(h="true",g="-"+f))}if(f in n){var y=n[f];S("string"==typeof y||null==y,"optionsValue must be String, Undefined or Null"),~p.indexOf(y)&&y!==h&&(h=y,g="")}u[f]=h,s+=g}if(2<s.length){var m=a.indexOf("-x-");if(-1===m)a+=s;else a=a.slice(0,m)+s+a.slice(m,a.length);a=j(a)[0]}return u.locale=a,u}}function R(e,t){S(2===t.length,"key must have 2 elements");var n=e.length,r="-"+t+"-",o=e.indexOf(r);if(-1!==o){for(var i=o+4,a=i,u=i,s=!1;!s;){var c=e.indexOf("-",u);2===(-1===c?n-u:c-u)?s=!0:-1===c?(a=n,s=!0):u=(a=c)+1}return e.slice(i,a)}if(r="-"+t,-1!==(o=e.indexOf(r))&&o+3===n)return""}var N=/-u(?:-[0-9a-z]{2,8})+/gi;function F(e,t){for(var n=t;;){if(~e.indexOf(n))return n;var r=n.lastIndexOf("-");if(!~r)return;2<=r&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}function B(e,t,n){var r=[e];t[e]&&(e=t[e],r.push(e));var o=n[e];o&&r.push(o);for(var i=e.split("-"),a=i.length;1<a;a--)r.push(i.slice(0,a-1).join("-"));return r}function z(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=F(e,o[r].replace(N,""));i&&n.push(i)}return n}function U(e,t,n){return void 0!==n&&s(n=a(n),"localeMatcher","string",["lookup","best fit"],"best fit"),z(e,t)}var K,V=(K=Error,L(q,K),q);function q(){var e=null!==K&&K.apply(this,arguments)||this;return e.type="MISSING_LOCALE_DATA",e}function H(e){return"MISSING_LOCALE_DATA"===e.type}function W(e,t,n){void 0===n&&(n=function(e,t){return D(D({},e),t)});var r=B(e,t.aliases,t.parentLocales),o=r.map(function(e){return t.data[e]}).filter(Boolean);if(!o.length)throw new V('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce(n,{})}var G,$,Y=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function Z(e){return e.replace(/^(.*?)-/,"")}($=G=G||{}).compactName="compactName",$.compactSymbol="compactSymbol",$.currencyCode="currencyCode",$.currencyName="currencyName",$.currencyNarrowSymbol="currencyNarrowSymbol",$.currencySymbol="currencySymbol",$.minusSign="minusSign",$.number="number",$.percentSign="percentSign",$.plusSign="plusSign",$.scientificExponent="scientificExponent",$.scientificSeparator="scientificSeparator",$.unitName="unitName",$.unitNarrowSymbol="unitNarrowSymbol",$.unitSymbol="unitSymbol"},function(e,t,n){"use strict";n.r(t),n.d(t,"selectUnit",function(){return r}),n.d(t,"defaultNumberOption",function(){return l}),n.d(t,"getAliasesByLang",function(){return c}),n.d(t,"getInternalSlot",function(){return k}),n.d(t,"getMultiInternalSlots",function(){return E}),n.d(t,"getNumberOption",function(){return f}),n.d(t,"getOption",function(){return s}),n.d(t,"getParentLocalesByLang",function(){return d}),n.d(t,"isLiteralPart",function(){return O}),n.d(t,"partitionPattern",function(){return _}),n.d(t,"setInternalSlot",function(){return w}),n.d(t,"setMultiInternalSlots",function(){return x}),n.d(t,"setNumberFormatDigitOptions",function(){return A}),n.d(t,"toObject",function(){return a}),n.d(t,"objectIs",function(){return C}),n.d(t,"isWellFormedCurrencyCode",function(){return I}),n.d(t,"toString",function(){return u}),n.d(t,"createResolveLocale",function(){return M}),n.d(t,"getLocaleHierarchy",function(){return B}),n.d(t,"supportedLocales",function(){return U}),n.d(t,"unpackData",function(){return W}),n.d(t,"isMissingLocaleDataError",function(){return H}),n.d(t,"SANCTIONED_UNITS",function(){return Y}),n.d(t,"removeUnitNamespace",function(){return Z}),n.d(t,"InternalSlotToken",function(){return G}),n.d(t,"getCanonicalLocales",function(){return j}),n.d(t,"invariant",function(){return S});var p=function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},h=1e3,g=60,v=60*g,y=24*v,m=7*y;function r(e,t,n){void 0===t&&(t=Date.now()),void 0===n&&(n={});var r=p(p({},b),n||{}),o=(e-t)/h;if(Math.abs(o)<r.second)return{value:Math.round(o),unit:"second"};var i=o/g;if(Math.abs(i)<r.minute)return{value:Math.round(i),unit:"minute"};var a=o/v;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var u=o/y;if(Math.abs(u)<r.day)return{value:Math.round(u),unit:"day"};var s=new Date(e),c=new Date(t),l=s.getFullYear()-c.getFullYear();if(0<Math.round(Math.abs(l)))return{value:Math.round(l),unit:"year"};var f=12*l+s.getMonth()-c.getMonth();if(0<Math.round(Math.abs(f)))return{value:Math.round(f),unit:"month"};var d=o/m;return{value:Math.round(d),unit:"week"}}var b={second:45,minute:45,hour:22,day:5},o={"aa-SAAHO":"ssy",aam:"aas",aar:"aa",abk:"ab",adp:"dz",afr:"af",aju:"jrb",aka:"ak",alb:"sq",als:"sq",amh:"am",ara:"ar",arb:"ar",arg:"an",arm:"hy","art-lojban":"jbo",asd:"snz",asm:"as",aue:"ktz",ava:"av",ave:"ae",aym:"ay",ayr:"ay",ayx:"nun","az-AZ":"az-Latn-AZ",aze:"az",azj:"az",bak:"ba",bam:"bm",baq:"eu",bcc:"bal",bcl:"bik",bel:"be",ben:"bn",bgm:"bcg",bh:"bho",bih:"bho",bis:"bi",bjd:"drl",bod:"bo",bos:"bs",bre:"br","bs-BA":"bs-Latn-BA",bul:"bg",bur:"my",bxk:"luy",bxr:"bua",cat:"ca",ccq:"rki","cel-gaulish":"xtg-x-cel-gaulish",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cjr:"mom",cka:"cmr",cld:"syr",cmk:"xch",cmn:"zh",cnr:"sr-ME",cor:"kw",cos:"co",coy:"pij",cqu:"quh",cre:"cr",cwd:"cr",cym:"cy",cze:"cs",dan:"da",deu:"de",dgo:"doi",dhd:"mwr",dik:"din",diq:"zza",dit:"dif",div:"dv",drh:"mn",drw:"fa-af",dut:"nl",dzo:"dz",ekk:"et",ell:"el",emk:"man",eng:"en",epo:"eo",esk:"ik",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fat:"ak",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",fuc:"ff",ful:"ff",gav:"dev",gaz:"om",gbo:"grb",geo:"ka",ger:"de",gfx:"vaj",ggn:"gvr",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gno:"gon",gre:"el",grn:"gn",gti:"nyc",gug:"gn",guj:"gu",guv:"duz",gya:"gba","ha-Latn-GH":"ha-GH","ha-Latn-NE":"ha-NE","ha-Latn-NG":"ha-NG",hat:"ht",hau:"ha",hbs:"sr-Latn",hdn:"hai",hea:"hmn",heb:"he",her:"hz",him:"srx",hin:"hi",hmo:"ho",hrr:"jal",hrv:"hr",hun:"hu",hye:"hy","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","i-default":"en-x-i-default","i-enochian":"und-x-i-enochian","i-mingo":"see-x-i-mingo",ibi:"opa",ibo:"ig",ice:"is",ido:"io",iii:"ii",ike:"iu",iku:"iu",ile:"ie",ilw:"gal",in:"id",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",iw:"he",jav:"jv",jeg:"oyb",ji:"yi",jpn:"ja",jw:"jv",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",kgc:"tdf",kgh:"kml",khk:"mn",khm:"km",kik:"ki",kin:"rw",kir:"ky","kk-Cyrl-KZ":"kk-KZ",kmr:"ku",knc:"kr",kng:"kg",knn:"kok",koj:"kwv",kom:"kv",kon:"kg",kor:"ko",kpv:"kv",krm:"bmf","ks-Arab-IN":"ks-IN",ktr:"dtp",kua:"kj",kur:"ku",kvs:"gdj",kwq:"yam",kxe:"tvd","ky-Cyrl-KG":"ky-KG",kzj:"dtp",kzt:"dtp",lao:"lo",lat:"la",lav:"lv",lbk:"bnc",lii:"raq",lim:"li",lin:"ln",lit:"lt",llo:"ngt",lmm:"rmx",ltz:"lb",lub:"lu",lug:"lg",lvs:"lv",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",meg:"cir",mhr:"chm",mkd:"mk",mlg:"mg",mlt:"mt","mn-Cyrl-MN":"mn-MN",mnk:"man",mo:"ro",mol:"ro",mon:"mn",mri:"mi","ms-Latn-BN":"ms-BN","ms-Latn-MY":"ms-MY","ms-Latn-SG":"ms-SG",msa:"ms",mst:"mry",mup:"raj",mwj:"vaj",mya:"my",myd:"aog",myt:"mry",nad:"xny",nau:"na",nav:"nv",nbl:"nr",ncp:"kdz",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nns:"nbr",nnx:"ngv",no:"nb","no-bok":"nb","no-BOKMAL":"nb","no-nyn":"nn","no-NYNORSK":"nn",nob:"nb",nor:"nb",npi:"ne",nts:"pij",nya:"ny",oci:"oc",ojg:"oj",oji:"oj",ori:"or",orm:"om",ory:"or",oss:"os",oun:"vaj","pa-IN":"pa-Guru-IN","pa-PK":"pa-Arab-PK",pan:"pa",pbu:"ps",pcr:"adx",per:"fa",pes:"fa",pli:"pi",plt:"mg",pmc:"huw",pmu:"phr",pnb:"lah",pol:"pl",por:"pt",ppa:"bfy",ppr:"lcq",prs:"fa-AF",pry:"prt",pus:"ps",puz:"pub",que:"qu",quz:"qu",rmy:"rom",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sca:"hle",scc:"sr",scr:"hr","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg",sh:"sr-Latn","shi-MA":"shi-Tfng-MA",sin:"si",skk:"oyb",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",spy:"kln",sqi:"sq","sr-BA":"sr-Cyrl-BA","sr-ME":"sr-Latn-ME","sr-RS":"sr-Cyrl-RS","sr-XK":"sr-Cyrl-XK",src:"sc",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swc:"sw-CD",swe:"sv",swh:"sw",tah:"ty",tam:"ta",tat:"tt",tdu:"dtp",tel:"te",tgk:"tg",tgl:"fil",tha:"th",thc:"tpo",thx:"oyb",tib:"bo",tie:"ras",tir:"ti",tkk:"twm",tl:"fil",tlw:"weo",tmp:"tyj",tne:"kak",tnf:"fa-af",ton:"to",tsf:"taj",tsn:"tn",tso:"ts",ttq:"tmh",tuk:"tk",tur:"tr",tw:"ak",twi:"ak","tzm-Latn-MA":"tzm-MA","ug-Arab-CN":"ug-CN",uig:"ug",ukr:"uk",umu:"del",uok:"ema",urd:"ur","uz-AF":"uz-Arab-AF","uz-UZ":"uz-Latn-UZ",uzb:"uz",uzn:"uz","vai-LR":"vai-Vaii-LR",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wln:"wa",wol:"wo",xba:"cax",xho:"xh",xia:"acn",xkh:"waw",xpe:"kpe",xsj:"suj",xsl:"den",ybd:"rki",ydd:"yi",yid:"yi",yma:"lrr",ymt:"mtm",yor:"yo",yos:"zom","yue-CN":"yue-Hans-CN","yue-HK":"yue-Hant-HK",yuu:"yug",zai:"zap","zh-CN":"zh-Hans-CN","zh-guoyu":"zh","zh-hakka":"hak","zh-HK":"zh-Hant-HK","zh-min-nan":"nan","zh-MO":"zh-Hant-MO","zh-SG":"zh-Hans-SG","zh-TW":"zh-Hant-TW","zh-xiang":"hsn","zh-min":"nan-x-zh-min",zha:"za",zho:"zh",zsm:"ms",zul:"zu",zyb:"za"},i={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","zh-Hant-MO":"zh-Hant-HK"};function S(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function a(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function u(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function s(e,t,n,r,o){var i=e[t];if(void 0===i)return o;if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(i=Boolean(i)),"string"===n&&(i=u(i)),void 0!==r&&!r.filter(function(e){return e==i}).length)throw new RangeError(i+" is not within "+r.join(", "));return i}function l(e,t,n,r){if(void 0===e)return r;if(e=Number(e),isNaN(e)||e<t||n<e)throw new RangeError(e+" is outside of range ["+t+", "+n+"]");return Math.floor(e)}function f(e,t,n,r,o){return l(e[t],n,r,o)}function c(n){return Object.keys(o).reduce(function(e,t){return t.split("-")[0]===n&&(e[t]=o[t]),e},{})}function d(n){return Object.keys(i).reduce(function(e,t){return t.split("-")[0]===n&&(e[t]=i[t]),e},{})}function w(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function x(e,t,n){for(var r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];w(e,t,i,n[i])}}function k(e,t,n){return E(e,t,n)[n]}function E(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=e.get(t);if(!o)throw new TypeError(t+" InternalSlot has not been initialized");return n.reduce(function(e,t){return e[t]=o[t],e},Object.create(null))}function O(e){return"literal"===e.type}function _(e){for(var t=[],n=e.indexOf("{"),r=0,o=0,i=e.length;n<e.length&&-1<n;)S(n<(r=e.indexOf("}",n)),"Invalid pattern "+e),o<n&&t.push({type:"literal",value:e.substring(o,n)}),t.push({type:e.substring(n+1,r),value:void 0}),o=r+1,n=e.indexOf("{",o);return o<i&&t.push({type:"literal",value:e.substring(o,i)}),t}function A(e,t,n,r,o){var i=f(n,"minimumIntegerDigits",1,21,1),a=n.minimumFractionDigits,u=n.maximumFractionDigits,s=n.minimumSignificantDigits,c=n.maximumSignificantDigits;if(w(e,t,"minimumIntegerDigits",i),void 0!==s||void 0!==c)w(e,t,"roundingType","significantDigits"),s=l(s,1,21,1),c=l(c,s,21,21),w(e,t,"minimumSignificantDigits",s),w(e,t,"maximumSignificantDigits",c);else if(void 0!==a||void 0!==u){w(e,t,"roundingType","fractionDigits"),a=l(a,0,20,r),u=l(u,a,20,Math.max(a,o)),w(e,t,"minimumFractionDigits",a),w(e,t,"maximumFractionDigits",u)}else"compact"===k(e,t,"notation")?w(e,t,"roundingType","compactRounding"):(w(e,t,"roundingType","fractionDigits"),w(e,t,"minimumFractionDigits",r),w(e,t,"maximumFractionDigits",o))}function C(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}var T=/[^A-Z]/;function I(e){return 3===(e=e.replace(/([a-z])/g,function(e,t){return t.toUpperCase()})).length&&!T.test(e)}function j(e){var t=Intl.getCanonicalLocales;return"function"==typeof t?t(e):Intl.DateTimeFormat.supportedLocalesOf(e||"")}var P,L=(P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),D=function(){return(D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function M(e){var s,c,b=function(e,t){for(var n={locale:""},r=0,o=t;r<o.length;r++){var i=o[r],a=i.replace(N,""),u=F(e,a);if(u)return n.locale=u,i!==a&&(n.extension=i.slice(a.length+1,i.length)),n}return n.locale=s(),n},w=(c=s=e,function(e,t){for(var n={locale:""},r=0,o=t;r<o.length;r++){var i=o[r],a=i.replace(N,""),u=F(e,a);if(u)return n.locale=u,i!==a&&(n.extension=i.slice(a.length+1,i.length)),n}return n.locale=c(),n});return function(e,t,n,r,o){for(var i,a=(i=("lookup"===n.localeMatcher?b:w)(e,t)).locale,u={locale:"",dataLocale:a},s="-u",c=0,l=r;c<l.length;c++){var f=l[c],d=o[a];S("object"==typeof d&&null!==d,"locale data "+f+" must be an object");var p=d[f];S(Array.isArray(p),"keyLocaleData for "+f+" must be an array");var h=p[0];S("string"==typeof h||null===h,"value must be string or null");var g="";if(i.extension){var v=R(i.extension,f);void 0!==v&&(""!==v?~p.indexOf(v)&&(g="-"+f+"-"+(h=v)):~v.indexOf("true")&&(h="true",g="-"+f))}if(f in n){var y=n[f];S("string"==typeof y||null==y,"optionsValue must be String, Undefined or Null"),~p.indexOf(y)&&y!==h&&(h=y,g="")}u[f]=h,s+=g}if(2<s.length){var m=a.indexOf("-x-");if(-1===m)a+=s;else a=a.slice(0,m)+s+a.slice(m,a.length);a=j(a)[0]}return u.locale=a,u}}function R(e,t){S(2===t.length,"key must have 2 elements");var n=e.length,r="-"+t+"-",o=e.indexOf(r);if(-1!==o){for(var i=o+4,a=i,u=i,s=!1;!s;){var c=e.indexOf("-",u);2===(-1===c?n-u:c-u)?s=!0:-1===c?(a=n,s=!0):u=(a=c)+1}return e.slice(i,a)}if(r="-"+t,-1!==(o=e.indexOf(r))&&o+3===n)return""}var N=/-u(?:-[0-9a-z]{2,8})+/gi;function F(e,t){for(var n=t;;){if(~e.indexOf(n))return n;var r=n.lastIndexOf("-");if(!~r)return;2<=r&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}function B(e,t,n){var r=[e];t[e]&&(e=t[e],r.push(e));var o=n[e];o&&r.push(o);for(var i=e.split("-"),a=i.length;1<a;a--)r.push(i.slice(0,a-1).join("-"));return r}function z(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=F(e,o[r].replace(N,""));i&&n.push(i)}return n}function U(e,t,n){return void 0!==n&&s(n=a(n),"localeMatcher","string",["lookup","best fit"],"best fit"),z(e,t)}var K,V=(K=Error,L(q,K),q);function q(){var e=null!==K&&K.apply(this,arguments)||this;return e.type="MISSING_LOCALE_DATA",e}function H(e){return"MISSING_LOCALE_DATA"===e.type}function W(e,t,n){void 0===n&&(n=function(e,t){return D(D({},e),t)});var r=B(e,t.aliases,t.parentLocales),o=r.map(function(e){return t.data[e]}).filter(Boolean);if(!o.length)throw new V('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce(n,{})}var G,$,Y=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function Z(e){return e.replace(/^(.*?)-/,"")}($=G=G||{}).compactName="compactName",$.compactSymbol="compactSymbol",$.currencyCode="currencyCode",$.currencyName="currencyName",$.currencyNarrowSymbol="currencyNarrowSymbol",$.currencySymbol="currencySymbol",$.minusSign="minusSign",$.number="number",$.percentSign="percentSign",$.plusSign="plusSign",$.scientificExponent="scientificExponent",$.scientificSeparator="scientificSeparator",$.unitName="unitName",$.unitNarrowSymbol="unitNarrowSymbol",$.unitSymbol="unitSymbol"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=function(e){return e},t.defineMessages=function(e){return e}},,,function(e,t,n){"use strict";var r=n(54),v=n.n(r),o=n(9),i=n.n(o),a=n(10),u=n.n(a),s=n(14),c=n.n(s),l=n(15),f=n.n(l),d=n(7),p=n.n(d),h=n(4),g=n.n(h),y=n(0),m=n(76),b=n(99),w=n(8),S=n(86);function x(r){return function(){var e,t=p()(r);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return;if(Reflect.construct.sham)return;if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}()){var n=p()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f()(this,e)}}function k(e,t){return Object(b.b)(g()(g()({},w.a),{locale:"en"}),Object(w.c)(),e,t)}var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=n.n(S).a||S,_=function(e){c()(n,e);var t=x(n);function n(){return i()(this,n),t.apply(this,arguments)}return u()(n,[{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.values,r=E(t,["values"]),o=e.values,i=E(e,["values"]);return!O(o,n)||!O(r,i)}},{key:"render",value:function(){var g=this;return y.createElement(m.a.Consumer,null,function(e){g.props.defaultMessage||Object(w.h)(e);var t=e||{},n=t.formatMessage,r=void 0===n?k:n,o=t.textComponent,i=void 0===o?y.Fragment:o,a=g.props,u=a.id,s=a.description,c=a.defaultMessage,l=a.values,f=a.children,d=a.tagName,p=void 0===d?i:d,h=r({id:u,description:s,defaultMessage:c},l);return Array.isArray(h)||(h=[h]),"function"==typeof f?f.apply(void 0,v()(h)):p?y.createElement.apply(y,[p,null].concat(v()(h))):h})}}]),n}(y.Component);_.displayName="FormattedMessage",_.defaultProps={values:{}},t.a=_},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=n(76),i=n(8);function a(){var e=Object(r.useContext)(o.a);return Object(i.h)(e),e}}]);
1
+ /*! For license information please see annotations.js.LICENSE.txt */
2
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=258)}([function(e,t,n){"use strict";e.exports=n(346)},function(e,t,n){"use strict";n.d(t,"c",(function(){return R})),n.d(t,"d",(function(){return o.c})),n.d(t,"z",(function(){return o.i})),n.d(t,"B",(function(){return o.j})),n.d(t,"E",(function(){return o.k})),n.d(t,"f",(function(){return o.d})),n.d(t,"g",(function(){return o.e})),n.d(t,"i",(function(){return o.g})),n.d(t,"C",(function(){return i.e})),n.d(t,"O",(function(){return i.f})),n.d(t,"h",(function(){return i.c})),n.d(t,"k",(function(){return i.d})),n.d(t,"b",(function(){return i.a})),n.d(t,"A",(function(){return a.l})),n.d(t,"D",(function(){return a.m})),n.d(t,"H",(function(){return a.n})),n.d(t,"I",(function(){return a.o})),n.d(t,"M",(function(){return a.p})),n.d(t,"N",(function(){return a.q})),n.d(t,"l",(function(){return a.c})),n.d(t,"m",(function(){return a.d})),n.d(t,"n",(function(){return a.e})),n.d(t,"o",(function(){return a.g})),n.d(t,"p",(function(){return a.h})),n.d(t,"w",(function(){return a.i})),n.d(t,"x",(function(){return a.j})),n.d(t,"y",(function(){return a.k})),n.d(t,"a",(function(){return a.a})),n.d(t,"L",(function(){return f})),n.d(t,"F",(function(){return d})),n.d(t,"G",(function(){return p})),n.d(t,"s",(function(){return m})),n.d(t,"t",(function(){return g})),n.d(t,"v",(function(){return b})),n.d(t,"J",(function(){return y.h})),n.d(t,"K",(function(){return y.i})),n.d(t,"q",(function(){return y.a})),n.d(t,"r",(function(){return y.c})),n.d(t,"u",(function(){return y.e})),n.d(t,"e",(function(){return v})),n.d(t,"j",(function(){return S}));var r=n(51),o=n(12),i=n(42),a=n(13),s=n(46),u=n(5),c=n(54);const l=({height:e,left:t,top:n,width:r})=>({height:e,width:r,x:t,y:n}),f=Object(u.b)("SET_SELECTION",(e=>{if(!e)return{payload:null};const{containerRect:t,hasError:n,location:r,range:o}=e;let i=Array.from(o.getClientRects());return i.length||(i=(e=>{const t=document.createNodeIterator(e.commonAncestorContainer,NodeFilter.SHOW_ALL,(function(){return NodeFilter.FILTER_ACCEPT}),!1),n=document.createRange(),r=[];let o=t.nextNode();for(;o;)if(0!==r.length||o===e.startContainer){if(o.nodeType===Node.TEXT_NODE&&(n.selectNodeContents(o),o===e.startContainer&&n.setStart(o,e.startOffset),o===e.endContainer&&n.setEnd(o,e.endOffset),r.push(n.getBoundingClientRect())),o===e.endContainer)break;o=t.nextNode()}else o=t.nextNode();return r})(o)),{payload:{containerRect:l(t),hasError:n,location:r,rects:Object(c.b)(i.map(l))}}})),d=Object(u.b)("SET_IS_PROMOTING"),p=Object(u.b)("SET_IS_SELECTING");var h=Object(u.d)({isPromoting:!1,isSelecting:!1,selection:null},(e=>e.addCase(d,((e,{payload:t})=>{e.isPromoting=t})).addCase(p,((e,{payload:t})=>{e.isSelecting=t})).addCase(f,((e,{payload:t})=>{e.selection=t})).addCase(o.b.fulfilled,(e=>{e.isPromoting=!1})).addCase(a.l,(e=>{e.isPromoting=!1})).addCase(i.f,(e=>{e.isPromoting=!1})).addCase(a.q,(e=>{e.selection=null}))));const m=e=>e.highlight.isPromoting,g=e=>e.highlight.isSelecting,b=(e,t)=>{const n=(e=>e.highlight.selection)(e);return n&&n.location===t?n:null};var y=n(18);const v=Object(u.c)("FETCH_COLLABORATORS",(async(e="",{extra:t,getState:n,signal:r})=>{const o=t.api.getCollaboratorsAPI(),i=n(),a=Object(y.a)(i);return r.addEventListener("abort",(()=>{o.destroy()})),new Promise(((t,n)=>{o.getFileCollaborators(a,t,n,{filter_term:e,include_groups:!1,include_uploader_collabs:!1})}))}));var w=Object(u.d)({collaborators:[]},(e=>e.addCase(v.fulfilled,((e,{payload:t})=>{e.collaborators=t.entries})).addCase(v.rejected,(e=>{e.collaborators=[]}))));const S=e=>e.users.collaborators;var E=()=>Object(r.b)({annotations:o.a,common:i.b,creator:a.b,drawing:s.b,highlight:h,options:y.g,users:w}),x=n(7),_=n.n(x),O=n(25),k=n(23),C=n(8);let T=function(e){return e.ERROR="error",e.PENDING="pending",e.SUCCESS="success",e}({});const A=e=>(t,n,r)=>((e,t)=>{const{error:n,meta:{arg:r,requestId:o}={},payload:i}=e;k.a.emit(C.Event.ANNOTATION_CREATE,{annotation:i||r,error:n,meta:{requestId:o,status:t}})})(r,e),P=A(T.ERROR),I=A(T.PENDING),j=A(T.SUCCESS),L=e=>{let t=null;return Object(a.k)(e)&&(t="region"),Object(a.j)(e)&&(t="highlight"),t};var D=n(69);const M={[O.a.fulfilled.toString()]:j,[O.a.pending.toString()]:I,[O.a.rejected.toString()]:P,[O.b.rejected.toString()]:(e,t,n)=>{k.a.emit(C.Event.ANNOTATION_FETCH_ERROR,n)},[a.l.toString()]:e=>{const t=Object(a.f)(e),n=L(t);k.a.emit(C.Event.CREATOR_STAGED_CHANGE,{type:n,status:"cancel"})},[O.d.toString()]:(e,t)=>{const n=Object(o.d)(e),r=Object(o.d)(t),i=Object(y.b)(t);n!==r&&k.a.emit(C.Event.ACTIVE_CHANGE,{annotationId:r,fileVersionId:i})},[O.e.toString()]:(e,t)=>{const n=Object(o.h)(e),r=Object(o.h)(t);n!==r&&r&&k.a.emit(C.Event.ANNOTATIONS_INITIALIZED,{annotations:Object(o.f)(t)})},[a.p.toString()]:(e,t)=>{const n=Object(a.f)(e),r=Object(a.f)(t),o=((e,t)=>{let n=null;return null===e&&null!==t&&(n="create"),null!==e&&(n=null===t?"cancel":"update"),n})(n,r),i=L(n)||L(r);o&&i&&k.a.emit(C.Event.CREATOR_STAGED_CHANGE,{type:i,status:o})},[a.q.toString()]:(e,t)=>{const n=Object(a.h)(e),r=Object(a.h)(t);n!==r&&k.a.emit(C.Event.CREATOR_STATUS_CHANGE,{status:r,type:Object(i.c)(t)})},[D.b.toString()]:(e,t)=>{k.a.emit(C.Event.ANNOTATIONS_MODE_CHANGE,{mode:t.common.mode})}};var N=function(e=M){return t=>n=>r=>{const{type:o}=r,i=t.getState(),a=n(r),s=t.getState();return(e[o]||_.a)(i,s,r),a}};function R(e,{api:t}={}){const n={extraArgument:{api:t}};return Object(u.a)({devTools:!1,middleware:[...Object(u.e)({thunk:n}),N()],preloadedState:e,reducer:E()})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s}));var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"N",(function(){return o})),n.d(t,"M",(function(){return i})),n.d(t,"r",(function(){return a})),n.d(t,"v",(function(){return s})),n.d(t,"t",(function(){return u})),n.d(t,"u",(function(){return c})),n.d(t,"s",(function(){return l})),n.d(t,"H",(function(){return h})),n.d(t,"I",(function(){return m})),n.d(t,"J",(function(){return g})),n.d(t,"K",(function(){return b})),n.d(t,"L",(function(){return y})),n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return E})),n.d(t,"i",(function(){return x})),n.d(t,"j",(function(){return _})),n.d(t,"k",(function(){return O})),n.d(t,"e",(function(){return k})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return T})),n.d(t,"h",(function(){return A})),n.d(t,"l",(function(){return I})),n.d(t,"m",(function(){return j})),n.d(t,"n",(function(){return L})),n.d(t,"o",(function(){return D})),n.d(t,"p",(function(){return M})),n.d(t,"q",(function(){return N})),n.d(t,"x",(function(){return R})),n.d(t,"A",(function(){return F})),n.d(t,"B",(function(){return B})),n.d(t,"w",(function(){return U})),n.d(t,"z",(function(){return H})),n.d(t,"y",(function(){return z})),n.d(t,"F",(function(){return K})),n.d(t,"C",(function(){return V})),n.d(t,"E",(function(){return q})),n.d(t,"D",(function(){return G})),n.d(t,"G",(function(){return W}));var r=n(242);const o="folder_",i="file_",a="Accept",s="Content-Type",u="X-Box-Client-Name",c="X-Box-Client-Version",l="Accept-Language",f="global",d="permissions",p=("".concat(d,".can_share"),"".concat(d,".can_upload"),"metadata"),h=("".concat(p,".").concat(f,".").concat("boxSkillsCards"),"".concat(p,".").concat(f,".").concat("properties"),"".concat(p,".").concat("enterprise",".").concat("securityClassification-6VMVochwUWo"),"can_create_annotations"),m="can_delete",g="can_edit",b="can_resolve",y="can_view_annotations",v="https://api.box.com",w="https://upload.box.com",S="https://upload.app.box.com",E=25,x="fetch_annotation_error",_="fetch_annotations_error",O="fetch_replies_error",k="create_annotation_error",C="create_reply_error",T="delete_annotation_error",A="edit_annotation_error",P=r.a.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]",I=("".concat("[3d][pdf][text][mp3][json]").concat("[jpg?dimensions=1024x1024&paged=false]").concat("[jpg?dimensions=2048x2048,png?dimensions=2048x2048]").concat(P),"boxcanvas"),j="boxnote",L="gdoc",D="gsheet",M="gslides",N="gslide",R=("[jpg?dimensions=".concat("1024x1024","&paged=false,png?dimensions=").concat("1024x1024","][pdf][text]"),"GET"),F="POST",B="PUT",U="DELETE",H="OPTIONS",z="HEAD",K=401,V=409,q=429,G=500,W={arrowDown:"ArrowDown",arrowLeft:"ArrowLeft",arrowRight:"ArrowRight",arrowUp:"ArrowUp",backspace:"Backspace",enter:"Enter",escape:"Escape",space:" "}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ce})),n.d(t,"b",(function(){return le})),n.d(t,"c",(function(){return be})),n.d(t,"d",(function(){return de})),n.d(t,"e",(function(){return se}));var r=n(6),o=n.n(r);function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function a(e){return!!e&&!!e[V]}function s(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||Array.isArray(e)||!!e[K]||!!e.constructor[K]||p(e)||h(e))}function u(e,t){0===c(e)?q(e).forEach((function(n){return t(n,e[n],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function c(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function l(e,t){return 2===c(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){return 2===c(e)?e.get(t):e[t]}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return B&&e instanceof Map}function h(e){return U&&e instanceof Set}function m(e){return e.o||e.t}function g(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();var n=Object.create(Object.getPrototypeOf(e));return u(e,(function(r){if(r!==V){var o=Object.getOwnPropertyDescriptor(e,r),a=o.value;o.get&&(t||i(1),a=o.get.call(e)),o.enumerable?n[r]=a:Object.defineProperty(n,r,{value:a,writable:!0,configurable:!0})}})),n}function b(e,t){a(e)||Object.isFrozen(e)||!s(e)||(c(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&u(e,(function(e,t){return b(t,!0)})))}function y(){i(2)}function v(e){var t=G[e];return t||i(19,e),t}function w(e,t){G[e]=t}function S(){return R}function E(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){_(e),e.p.forEach(k),e.p=null}function _(e){e===R&&(R=e.l)}function O(e){return R={p:[],l:R,h:e,m:!0,_:0}}function k(e){var t=e[V];0===t.i||1===t.i?t.j():t.O=!0}function C(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||v("ES5").S(t,e,r),r?(n[V].P&&(x(t),i(4)),s(e)&&(e=T(t,e),t.l||P(t,e)),t.u&&v("Patches").M(n[V],e,t.u,t.s)):e=T(t,n,[]),x(t),t.u&&t.v(t.u,t.s),e!==z?e:void 0}function T(e,t,n){if(Object.isFrozen(t))return t;var r=t[V];if(!r)return u(t,(function(o,i){return A(e,r,t,o,i,n)})),t;if(r.A!==e)return t;if(!r.P)return P(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=g(r.k,!0):r.o;u(o,(function(t,i){return A(e,r,o,t,i,n)})),P(e,o,!1),n&&e.u&&v("Patches").R(r,n,e.u,e.s)}return r.o}function A(e,t,n,r,o,i){if(a(o)){var u=T(e,o,i&&t&&3!==t.i&&!l(t.D,r)?i.concat(r):void 0);if(h=r,m=u,2===(g=c(p=n))?p.set(h,m):3===g?(p.delete(h),p.add(m)):p[h]=m,!a(u))return;e.m=!1}var p,h,m,g;if((!t||!d(o,f(t.t,r)))&&s(o)){if(!e.h.N&&e._<1)return;T(e,o),t&&t.A.l||P(e,o)}}function P(e,t,n){void 0===n&&(n=!1),e.h.N&&e.m&&b(t,n)}function I(e,t){var n=e[V],r=Reflect.getOwnPropertyDescriptor(n?m(n):e,t);return r&&r.value}function j(e){if(!e.P){if(e.P=!0,0===e.i||1===e.i){var t=e.o=g(e.t);u(e.p,(function(e,n){t[e]=n})),e.p=void 0}e.l&&j(e.l)}}function L(e){e.o||(e.o=g(e.t))}function D(e,t,n){var r=p(t)?v("MapSet").T(t,n):h(t)?v("MapSet").F(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:S(),P:!1,I:!1,D:{},l:t,t:e,k:null,p:{},o:null,j:null,C:!1},o=r,i=W;n&&(o=[r],i=$);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):v("ES5").J(t,n);return(n?n.A:S()).p.push(r),r}function M(){function e(e,t){var n=e[V];if(n&&!n.$){n.$=!0;var r=e[t];return n.$=!1,r}return e[t]}function t(e){e.P||(e.P=!0,e.l&&t(e.l))}function n(e){e.o||(e.o=r(e.t))}function r(e){var t=e&&e[V];if(t){t.$=!0;var n=g(t.k,!0);return t.$=!1,n}return g(e)}function o(e){for(var n=e.length-1;n>=0;n--){var r=e[n][V];if(!r.P)switch(r.i){case 5:f(r)&&t(r);break;case 4:c(r)&&t(r)}}}function c(e){for(var t=e.t,n=e.k,r=Object.keys(n),o=r.length-1;o>=0;o--){var i=r[o],a=t[i];if(void 0===a&&!l(t,i))return!0;var s=n[i],u=s&&s[V];if(u?u.t!==a:!d(s,a))return!0}return r.length!==Object.keys(t).length}function f(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}function p(e){e.O&&i(3,JSON.stringify(m(e)))}var h={};w("ES5",{J:function(o,i){var a=Array.isArray(o),c=r(o);u(c,(function(r){!function(r,o,i){var a=h[o];a?a.enumerable=i:h[o]=a={enumerable:i,get:function(){return function(t,r){p(t);var o=e(m(t),r);return t.$?o:o===e(t.t,r)&&s(o)?(n(t),t.o[r]=D(t.A.h,o,t)):o}(this[V],o)},set:function(r){!function(r,o,i){if(p(r),r.D[o]=!0,!r.P){if(d(i,e(m(r),o)))return;t(r),n(r)}r.o[o]=i}(this[V],o,r)}},Object.defineProperty(r,o,a)}(c,r,a||function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(!n||!n.enumerable)}(o,r))}));var l={i:a?5:4,A:i?i.A:S(),P:!1,$:!1,I:!1,D:{},l:i,t:o,k:c,o:null,O:!1,C:!1};return Object.defineProperty(c,V,{value:l,writable:!0}),c},K:t,S:function(e,n,r){e.p.forEach((function(e){e[V].$=!0})),r?a(n)&&n[V].A===e&&o(e.p):(e.u&&function e(n){if(n&&"object"==typeof n){var r=n[V];if(r){var o=r.t,i=r.k,a=r.D,s=r.i;if(4===s)u(i,(function(n){n!==V&&(void 0!==o[n]||l(o,n)?a[n]||e(i[n]):(a[n]=!0,t(r)))})),u(o,(function(e){void 0!==i[e]||l(i,e)||(a[e]=!1,t(r))}));else if(5===s){if(f(r)&&(t(r),a.length=!0),i.length<o.length)for(var c=i.length;c<o.length;c++)a[c]=!1;else for(var d=o.length;d<i.length;d++)a[d]=!0;for(var p=Math.min(i.length,o.length),h=0;h<p;h++)void 0===a[h]&&e(i[h])}}}}(e.p[0]),o(e.p))}})}var N,R,F="undefined"!=typeof Symbol,B="undefined"!=typeof Map,U="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=F?Symbol("immer-nothing"):((N={})["immer-nothing"]=!0,N),K=F?Symbol("immer-draftable"):"__$immer_draftable",V=F?Symbol("immer-state"):"__$immer_state",q=(F&&Symbol.iterator,"undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames),G={},W={get:function(e,t){if(t===V)return e;var n=e.p;if(!e.P&&l(n,t))return n[t];var r=m(e)[t];if(e.I||!s(r))return r;if(e.P){if(r!==I(e.t,t))return r;n=e.o}return n[t]=D(e.A.h,r,e)},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,n){if(!e.P){var r=I(e.t,t);if(n?d(r,n)||n===e.p[t]:d(r,n)&&t in e.t)return!0;L(e),j(e)}return e.D[t]=!0,e.o[t]=n,!0},deleteProperty:function(e,t){return void 0!==I(e.t,t)||t in e.t?(e.D[t]=!1,L(e),j(e)):e.D[t]&&delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=m(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&(r.writable=!0,r.configurable=1!==e.i||"length"!==t),r},defineProperty:function(){i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){i(12)}},$={};u(W,(function(e,t){$[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),$.deleteProperty=function(e,t){return W.deleteProperty.call(this,e[0],t)},$.set=function(e,t,n){return W.set.call(this,e[0],t,n,e[0])};var Y=function(){function e(e){this.g=H,this.N=!1,"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}var t=e.prototype;return t.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var r=t;t=e;var o=this;return function(e){var n=this;void 0===e&&(e=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return o.produce(e,(function(e){var r;return(r=t).call.apply(r,[n,e].concat(a))}))}}var a;if("function"!=typeof t&&i(6),void 0!==n&&"function"!=typeof n&&i(7),s(e)){var u=O(this),c=D(this,e,void 0),l=!0;try{a=t(c),l=!1}finally{l?x(u):_(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return E(u,n),C(e,u)}),(function(e){throw x(u),e})):(E(u,n),C(a,u))}if((a=t(e))!==z)return void 0===a&&(a=e),this.N&&b(a,!0),a},t.produceWithPatches=function(e,t){var n,r,o=this;return"function"==typeof e?function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return o.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(r))}))}:[this.produce(e,t,(function(e,t){n=e,r=t})),n,r]},t.createDraft=function(e){s(e)||i(8);var t=O(this),n=D(this,e,void 0);return n[V].C=!0,_(t),n},t.finishDraft=function(e,t){var n=(e&&e[V]).A;return E(n,t),C(void 0,n)},t.setAutoFreeze=function(e){this.N=e},t.setUseProxies=function(e){H||i(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var o=v("Patches").U;return a(e)?o(e,t):this.produce(e,(function(e){return o(e,t.slice(n+1))}))},e}(),X=new Y,Z=X.produce,Q=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X),X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X),Z),J=n(51);function ee(e,t){return e===t}!function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee,n=null,r=null;return function(){return function(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}));function te(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var ne=te();ne.withExtraArgument=te;var re=ne;function oe(){return oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(this,arguments)}var ie="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?J.c:J.c.apply(null,arguments)};function ae(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function se(e){void 0===e&&(e={});var t=e,n=t.thunk,r=void 0===n||n,o=(t.immutableCheck,t.serializableCheck,[]);return r&&(!function(e){return"boolean"==typeof e}(r)?o.push(re.withExtraArgument(r.extraArgument)):o.push(re)),o}var ue=!0;function ce(e){var t,n=e||{},r=n.reducer,o=void 0===r?void 0:r,i=n.middleware,a=void 0===i?se():i,s=n.devTools,u=void 0===s||s,c=n.preloadedState,l=void 0===c?void 0:c,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof o)t=o;else{if(!ae(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Object(J.b)(o)}var p=J.a.apply(void 0,a),h=J.c;u&&(h=ie(oe({trace:!ue},"object"==typeof u&&u)));var m=[p];Array.isArray(d)?m=[p].concat(d):"function"==typeof d&&(m=d(m));var g=h.apply(void 0,m);return Object(J.d)(t,l,g)}function le(e,t){function n(){if(t){var n=t.apply(void 0,arguments);if(!n)throw new Error("prepareAction did not return an object");return oe({type:e,payload:n.payload},"meta"in n&&{meta:n.meta},{},"error"in n&&{error:n.error})}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function fe(e){var t={},n={addCase:function(e,r){var o="string"==typeof e?e:e.type;if(o in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[o]=r,n}};return e(n),t}function de(e,t){var n="function"==typeof t?fe(t):t;return function(t,r){return void 0===t&&(t=e),Q(t,(function(e){var t=n[r.type];return t?t(e,r):void 0}))}}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var pe=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},he=["name","message","stack","code"],me=function(e){this.value=e},ge=function(e){if("object"==typeof e&&null!==e){var t={},n=he,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;"string"==typeof e[a]&&(t[a]=e[a])}return t}return{message:String(e)}};function be(e,t,n){var r=le(e+"/fulfilled",(function(e,t,n){return{payload:e,meta:{arg:n,requestId:t}}})),i=le(e+"/pending",(function(e,t){return{payload:void 0,meta:{arg:t,requestId:e}}})),a=le(e+"/rejected",(function(e,t,n,r){var o=!!e&&"AbortError"===e.name,i=!!e&&"ConditionError"===e.name;return{payload:r,error:ge(e||"Rejected"),meta:{arg:n,requestId:t,aborted:o,condition:i}}})),s="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){}}}return e.prototype.abort=function(){0},e}();return o()((function(e){return function(u,c,l){var f,d=pe(),p=new s,h=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:f||"Aborted"})}))}));var m=function(){try{var o,s=function(e){return f?e:(n&&!n.dispatchConditionRejection&&a.match(o)&&o.meta.condition||u(o),o)},f=!1,m=function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}((function(){if(n&&n.condition&&!1===n.condition(e,{getState:c,extra:l}))throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return u(i(d,e)),Promise.resolve(Promise.race([h,Promise.resolve(t(e,{dispatch:u,getState:c,extra:l,requestId:d,signal:p.signal,rejectWithValue:function(e){return new me(e)}})).then((function(t){return t instanceof me?a(null,d,e,t.value):r(t,d,e)}))])).then((function(e){o=e}))}),(function(t){o=a(t,d,e)}));return Promise.resolve(m&&m.then?m.then(s):s(m))}catch(e){return Promise.reject(e)}}();return o()(m,{abort:function(e){f=e,p.abort()}})}}),{pending:i,rejected:a,fulfilled:r})}M()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";n(289);var r=n(160);n.d(t,"PERMISSIONS",(function(){return r.a}));var o=n(161);n.d(t,"Event",(function(){return o.a})),n.d(t,"LegacyEvent",(function(){return o.b}));var i=n(162);n.o(i,"Type")&&n.d(t,"Type",(function(){return i.Type}));var a=n(163);n.d(t,"Type",(function(){return a.a}));n(164),n(165)},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:W(e)}function r(e){return s(e)?e:$(e)}function o(e){return u(e)?e:Y(e)}function i(e){return a(e)&&!c(e)?e:X(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[d])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,b=1<<g,y=b-1,v={},w={value:!1},S={value:!1};function E(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function _(){}function O(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function k(e){return void 0===e.size&&(e.size=e.__iterate(T)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?k(e)+t:t}function T(){return!0}function A(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return j(e,t,0)}function I(e,t){return j(e,t,t)}function j(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var L=0,D=1,M=2,N="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",F=N||R;function B(e){this.next=e}function U(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function H(){return{value:void 0,done:!0}}function z(e){return!!q(e)}function K(e){return e&&"function"==typeof e.next}function V(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(N&&e[N]||e[R]);if("function"==typeof t)return t}function G(e){return e&&"number"==typeof e.length}function W(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function $(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function X(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=L,B.VALUES=D,B.ENTRIES=M,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},t(W,n),W.of=function(){return W(arguments)},W.prototype.toSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq {","}")},W.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},W.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},W.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t($,W),$.prototype.toKeyedSeq=function(){return this},t(Y,W),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(X,W),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},W.isSeq=ie,W.Keyed=$,W.Set=X,W.Indexed=Y;var Z,Q,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ie(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():K(e)?new oe(e).fromEntrySeq():z(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return G(e)?new te(e):K(e)?new oe(e):z(e)?new re(e):void 0}function fe(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new B((function(){var e=o[n?i-a:a];return a++>i?H():U(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,$(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?$(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function be(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&be(o[1],e)&&(n||be(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!be(t,e.get(r,v)):!be(e.get(r,v),t))return f=!1,!1}));return f&&e.size===d}function ve(e,t){if(!(this instanceof ve))return new ve(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Q)return Q;Q=this}}function we(e,t){if(!e)throw new Error(t)}function Se(e,t,n){if(!(this instanceof Se))return new Se(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function Ee(){throw TypeError("Abstract")}function xe(){}function _e(){}function Oe(){}W.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new B((function(){return o>r?H():U(e,o,n[t?r-o++:o++])}))},t(ne,$),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B((function(){var a=r[t?o-i:i];return i++>o?H():U(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=V(this._iterable),r=0;if(K(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=V(this._iterable);if(!K(n))return new B(H);var r=0;return new B((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(oe,Y),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new B((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return U(e,o,r[o++])}))},t(ve,Y),ve.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ve.prototype.get=function(e,t){return this.has(e)?this._value:t},ve.prototype.includes=function(e){return be(this._value,e)},ve.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:new ve(this._value,I(t,n)-P(e,n))},ve.prototype.reverse=function(){return this},ve.prototype.indexOf=function(e){return be(this._value,e)?0:-1},ve.prototype.lastIndexOf=function(e){return be(this._value,e)?this.size:-1},ve.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ve.prototype.__iterator=function(e,t){var n=this,r=0;return new B((function(){return r<n.size?U(e,r++,n._value):H()}))},ve.prototype.equals=function(e){return e instanceof ve?be(this._value,e._value):ye(e)},t(Se,Y),Se.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Se.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},Se.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Se.prototype.slice=function(e,t){return A(e,t,this.size)?this:(e=P(e,this.size),(t=I(t,this.size))<=e?new Se(0,0):new Se(this.get(e,this._end),this.get(t,this._end),this._step))},Se.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Se.prototype.lastIndexOf=function(e){return this.indexOf(e)},Se.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},Se.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new B((function(){var a=o;return o+=t?-r:r,i>n?H():U(e,i++,a)}))},Se.prototype.equals=function(e){return e instanceof Se?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(Ee,n),t(xe,Ee),t(_e,Ee),t(Oe,Ee),Ee.Keyed=xe,Ee.Indexed=_e,Ee.Set=Oe;var ke="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Te(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>Be?Ae(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ie(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ae(e){var t=ze[e];return void 0===t&&(t=Pe(e),He===Ue&&(He=0,ze={}),He++,ze[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function Ie(e){var t;if(Ne&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Le){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=De(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),Ne)Me.set(e,t);else{if(void 0!==je&&!1===je(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Le)Object.defineProperty(e,Fe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var je=Object.isExtensible,Le=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function De(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Me,Ne="function"==typeof WeakMap;Ne&&(Me=new WeakMap);var Re=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var Be=16,Ue=255,He=0,ze={};function Ke(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ve(e){return null==e?ot():qe(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ke(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qe(e){return!(!e||!e[We])}t(Ve,xe),Ve.prototype.toString=function(){return this.__toString("Map {","}")},Ve.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ve.prototype.set=function(e,t){return it(this,e,t)},Ve.prototype.setIn=function(e,t){return this.updateIn(e,v,(function(){return t}))},Ve.prototype.remove=function(e){return it(this,e,v)},Ve.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return v}))},Ve.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ve.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,En(e),t,n);return r===v?void 0:r},Ve.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ve.prototype.merge=function(){return dt(this,void 0,arguments)},Ve.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ve.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ve.prototype.mergeDeep=function(){return dt(this,pt,arguments)},Ve.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,ht(t),n)},Ve.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ve.prototype.sort=function(e){return zt(fn(this,e))},Ve.prototype.sortBy=function(e,t){return zt(fn(this,t,e))},Ve.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ve.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},Ve.prototype.asImmutable=function(){return this.__ensureOwner()},Ve.prototype.wasAltered=function(){return this.__altered},Ve.prototype.__iterator=function(e,t){return new et(this,e,t)},Ve.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ve.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ve.isMap=qe;var Ge,We="@@__IMMUTABLE_MAP__@@",$e=Ve.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Xe(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create($e);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return Ge||(Ge=rt(0))}function it(e,t,n){var r,o;if(e._root){var i=E(w),a=E(S);if(r=at(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===v?-1:1:0)}else{if(n===v)return e;o=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function at(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===v?e:(x(s),x(a),new Je(t,r,[o,i]))}function st(e){return e.constructor===Je||e.constructor===Qe}function ut(e,t,n,r,o){if(e.keyHash===r)return new Qe(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Xe(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,o)]:(i=new Je(t,r,o),a<s?[e,i]:[i,e]))}function ct(e,t,n,r){e||(e=new _);for(var o=new Je(e,Te(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function lt(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new Xe(e,o,a)}function ft(e,t,n,r,o){for(var i=0,a=new Array(b),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Ze(e,i+1,a)}function dt(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),o.push(u)}return mt(e,t,o)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):be(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return be(t,o)?t:o}}function mt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,v,(function(e){return e===v?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var o=e===v,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}we(o||e&&e.set,"invalid keyPath");var u=i.value,c=o?v:e.get(u,v),l=gt(c,t,n,r);return l===c?e:l===v?e.remove(u):(o?ot():e).set(u,l)}function bt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var o=r?e:O(e);return o[t]=n,o}function vt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}$e[We]=!0,$e[m]=$e.remove,$e.removeIn=$e.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(be(n,o[i][0]))return o[i][1];return r},Ye.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===v,u=this.entries,c=0,l=u.length;c<l&&!be(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(x(a),(s||!f)&&x(i),!s||1!==u.length){if(!f&&!s&&u.length>=St)return ct(e,u,r,o);var d=e&&e===this.ownerID,p=d?u:O(u);return f?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Ye(e,p)}},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Te(n));var o=1<<((0===e?t:t>>>e)&y),i=this.bitmap;return i&o?this.nodes[bt(i&o-1)].get(e+g,t,n,r):r},Xe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=!!(c&u);if(!l&&o===v)return this;var f=bt(c&u-1),d=this.nodes,p=l?d[f]:void 0,h=at(p,e,t+g,n,r,o,i,a);if(h===p)return this;if(!l&&h&&d.length>=Et)return ft(e,d,c,s,h);if(l&&!h&&2===d.length&&st(d[1^f]))return d[1^f];if(l&&h&&1===d.length&&st(h))return h;var m=e&&e===this.ownerID,b=l?h?c:c^u:c|u,w=l?h?yt(d,f,h,m):wt(d,f,m):vt(d,f,h,m);return m?(this.bitmap=b,this.nodes=w,this):new Xe(e,b,w)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=Te(n));var o=(0===e?t:t>>>e)&y,i=this.nodes[o];return i?i.get(e+g,t,n,r):r},Ze.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=(0===t?n:n>>>t)&y,u=o===v,c=this.nodes,l=c[s];if(u&&!l)return this;var f=at(l,e,t+g,n,r,o,i,a);if(f===l)return this;var d=this.count;if(l){if(!f&&--d<xt)return lt(e,c,d,s)}else d++;var p=e&&e===this.ownerID,h=yt(c,s,f,p);return p?(this.count=d,this.nodes=h,this):new Ze(e,d,h)},Qe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(be(n,o[i][0]))return o[i][1];return r},Qe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=o===v;if(n!==this.keyHash)return s?this:(x(a),x(i),ut(this,e,t,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!be(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(x(a),(s||!f)&&x(i),s&&2===l)return new Je(e,this.keyHash,u[1^c]);var d=e&&e===this.ownerID,p=d?u:O(u);return f?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Qe(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,r){return be(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,o,i,a){var s=o===v,u=be(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(x(a),s?void x(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new Je(e,this.keyHash,[r,o]):(x(i),ut(this,e,t,Te(r),[r,o])))},Ye.prototype.iterate=Qe.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Xe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,B),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return tt(e,i.entry);t=this._stack=nt(i,t)}continue}t=this._stack=this._stack.__prev}return H()};var St=b/4,Et=b/2,xt=b/4;function _t(e){var t=Dt();if(null==e)return t;if(Ot(e))return e;var n=o(e),r=n.size;return 0===r?t:(Ke(r),r>0&&r<b?Lt(0,r,g,null,new Tt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ot(e){return!(!e||!e[kt])}t(_t,_e),_t.of=function(){return this(arguments)},_t.prototype.toString=function(){return this.__toString("List [","]")},_t.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},_t.prototype.set=function(e,t){return Mt(this,e,t)},_t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},_t.prototype.insert=function(e,t){return this.splice(e,0,t)},_t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Dt()},_t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Bt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},_t.prototype.pop=function(){return Bt(this,0,-1)},_t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Bt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},_t.prototype.shift=function(){return Bt(this,1)},_t.prototype.merge=function(){return Ut(this,void 0,arguments)},_t.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},_t.prototype.mergeDeep=function(){return Ut(this,pt,arguments)},_t.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},_t.prototype.setSize=function(e){return Bt(this,0,e)},_t.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:Bt(this,P(e,n),I(t,n))},_t.prototype.__iterator=function(e,t){var n=0,r=jt(this,t);return new B((function(){var t=r();return t===It?H():U(e,n++,t)}))},_t.prototype.__iterate=function(e,t){for(var n,r=0,o=jt(this,t);(n=o())!==It&&!1!==e(n,r++,this););return r},_t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},_t.isList=Ot;var kt="@@__IMMUTABLE_LIST__@@",Ct=_t.prototype;function Tt(e,t){this.array=e,this.ownerID=t}Ct[kt]=!0,Ct[m]=Ct.remove,Ct.setIn=$e.setIn,Ct.deleteIn=Ct.removeIn=$e.removeIn,Ct.update=$e.update,Ct.updateIn=$e.updateIn,Ct.mergeIn=$e.mergeIn,Ct.mergeDeepIn=$e.mergeDeepIn,Ct.withMutations=$e.withMutations,Ct.asMutable=$e.asMutable,Ct.asImmutable=$e.asImmutable,Ct.wasAltered=$e.wasAltered,Tt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Tt([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-g,n))===a&&i)return this}if(i&&!o)return this;var s=Rt(this,e);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},Tt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&y;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-g,n))===i&&o===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var At,Pt,It={};function jt(e,t){var n=e._origin,r=e._capacity,o=Ht(r),i=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===o?i&&i.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>b&&(c=b),function(){if(u===c)return It;var e=t?--c:u++;return s&&s[e]}}function u(e,o,i){var s,u=e&&e.array,c=i>n?0:n-i>>o,l=1+(r-i>>o);return l>b&&(l=b),function(){for(;;){if(s){var e=s();if(e!==It)return e;s=null}if(c===l)return It;var n=t?--l:c++;s=a(u&&u[n],o-g,i+(n<<o))}}}}function Lt(e,t,n,r,o,i,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function Dt(){return At||(At=Lt(0,0,g))}function Mt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Bt(e,t).set(0,n):Bt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i=E(S);return t>=Ht(e._capacity)?r=Nt(r,e.__ownerID,0,t,n,i):o=Nt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Lt(e._origin,e._capacity,e._level,o,r):e}function Nt(e,t,n,r,o,i){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===o)return e;if(n>0){var c=e&&e.array[s],l=Nt(c,t,n-g,r,o,i);return l===c?e:((a=Rt(e,t)).array[s]=l,a)}return u&&e.array[s]===o?e:(x(i),a=Rt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Tt(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ht(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function Bt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new _,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Tt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Ht(i),d=Ht(s);d>=1<<u+g;)c=new Tt(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=d<f?Ft(e,s-1):d>f?new Tt([],r):p;if(p&&d>f&&a<i&&p.array.length){for(var m=c=Rt(c,r),b=u;b>g;b-=g){var v=f>>>b&y;m=m.array[v]=Rt(m.array[v],r)}m.array[f>>>g&y]=p}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;c;){var w=a>>>u&y;if(w!==d>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<f&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Lt(a,s,u,c,h)}function Ut(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var u=n[s],c=o(u);c.size>i&&(i=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return i>e.size&&(e=e.setSize(i)),mt(e,t,r)}function Ht(e){return e<b?0:e-1>>>g<<g}function zt(e){return null==e?qt():Kt(e)?e:qt().withMutations((function(t){var n=r(e);Ke(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Kt(e){return qe(e)&&l(e)}function Vt(e,t,n,r){var o=Object.create(zt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function qt(){return Pt||(Pt=Vt(ot(),Dt()))}function Gt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===v){if(!u)return e;a.size>=b&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Vt(r,o)}function Wt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function $t(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(e){this._iter=e,this.size=e.size}function Zt(e){var t=vn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===M){var r=e.__iterator(t,n);return new B((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===D?L:D,n)},t}function Qt(e,t,n){var r=vn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,v);return i===v?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(M,o);return new B((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return U(r,s,t.call(n,a[1],s,e),o)}))},r}function Jt(e,t){var n=vn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=vn(e);return r&&(o.has=function(r){var o=e.get(r,v);return o!==v&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,v);return i!==v&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(M,i),s=0;return new B((function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return U(o,r?c:s++,l,i)}}))},o}function tn(e,t,n){var r=Ve().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?zt():Ve()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=yn(e);return o.map((function(t){return mn(e,i(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),A(t,n,o))return e;var i=P(t,o),a=I(n,o);if(i!=i||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u==u&&(s=u<0?0:u);var c=vn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ie(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,u=0;return new B((function(){for(;a++<i;)o.next();if(++u>s)return H();var e=o.next();return r||t===D?e:U(t,u-1,t===L?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=vn(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(M,o),s=!0;return new B((function(){if(!s)return H();var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===M?e:U(r,u,c,e):(s=!1,H())}))},r}function an(e,t,n,r){var o=vn(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate((function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return u++,o(e,r?i:u-1,a)})),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(M,i),u=!0,c=0;return new B((function(){var e,i,l;do{if((e=s.next()).done)return r||o===D?e:U(o,c++,o===L?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],u&&(u=t.call(n,l,i,a))}while(u);return o===M?e:U(o,i,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||u(e)&&u(i))return i}var c=new te(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=vn(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,o){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?o:i++,l)&&(s=!0),!s}),o)}return u(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],u=0;return new B((function(){for(;i;){var e=i.next();if(!1===e.done){var c=e.value;if(r===M&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:U(r,u++,c,e);s.push(i),i=c.__iterator(r,o)}else i=s.pop()}return H()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}function ln(e,t){var n=vn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(D,r),a=0;return new B((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?U(n,a++,t):U(n,a++,o.value,o)}))},n}function fn(e,t,n){t||(t=Sn);var r=s(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?$(i):u(e)?Y(i):X(i)}function dn(e,t,n){if(t||(t=Sn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var o=vn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(D,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),V(o?e.reverse():e)})),a=0,s=!1;return new B((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?H():U(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function mn(e,t){return ie(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function bn(e){return Ke(e.size),k(e)}function yn(e){return s(e)?r:u(e)?o:i}function vn(e){return Object.create((s(e)?$:u(e)?Y:X).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):W.prototype.cacheResult.call(this)}function Sn(e,t){return e>t?1:e<t?-1:0}function En(e){var t=V(e);if(!t){if(!G(e))throw new TypeError("Expected iterable or array-like: "+e);t=V(n(e))}return t}function xn(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);Cn(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Ve(i)},o=r.prototype=Object.create(_n);return o.constructor=r,r}t(zt,Ve),zt.of=function(){return this(arguments)},zt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},zt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):qt()},zt.prototype.set=function(e,t){return Gt(this,e,t)},zt.prototype.remove=function(e){return Gt(this,e,v)},zt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},zt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},zt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},zt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Vt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},zt.isOrderedMap=Kt,zt.prototype[h]=!0,zt.prototype[m]=zt.prototype.remove,t(Wt,$),Wt.prototype.get=function(e,t){return this._iter.get(e,t)},Wt.prototype.has=function(e){return this._iter.has(e)},Wt.prototype.valueSeq=function(){return this._iter.valueSeq()},Wt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Wt.prototype.map=function(e,t){var n=this,r=Qt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Wt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?bn(this):0,function(o){return e(o,t?--n:n++,r)}),t)},Wt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(D,t),r=t?bn(this):0;return new B((function(){var o=n.next();return o.done?o:U(e,t?--r:r++,o.value,o)}))},Wt.prototype[h]=!0,t($t,Y),$t.prototype.includes=function(e){return this._iter.includes(e)},$t.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(D,t),r=0;return new B((function(){var t=n.next();return t.done?t:U(e,r++,t.value,t)}))},t(Yt,X),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(D,t);return new B((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Xt,$),Xt.prototype.entrySeq=function(){return this._iter.toSeq()},Xt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(D,t);return new B((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var o=a(r);return U(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},$t.prototype.cacheResult=Wt.prototype.cacheResult=Yt.prototype.cacheResult=Xt.prototype.cacheResult=wn,t(xn,xe),xn.prototype.toString=function(){return this.__toString(kn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=On(this,ot()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+kn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:On(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:On(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?On(this,t,e):(this.__ownerID=e,this._map=t,this)};var _n=xn.prototype;function On(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function kn(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach(Tn.bind(void 0,e))}catch(e){}}function Tn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function An(e){return null==e?Nn():Pn(e)&&!l(e)?e:Nn().withMutations((function(t){var n=i(e);Ke(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[jn])}_n[m]=_n.remove,_n.deleteIn=_n.removeIn=$e.removeIn,_n.merge=$e.merge,_n.mergeWith=$e.mergeWith,_n.mergeIn=$e.mergeIn,_n.mergeDeep=$e.mergeDeep,_n.mergeDeepWith=$e.mergeDeepWith,_n.mergeDeepIn=$e.mergeDeepIn,_n.setIn=$e.setIn,_n.update=$e.update,_n.updateIn=$e.updateIn,_n.withMutations=$e.withMutations,_n.asMutable=$e.asMutable,_n.asImmutable=$e.asImmutable,t(An,Oe),An.of=function(){return this(arguments)},An.fromKeys=function(e){return this(r(e).keySeq())},An.prototype.toString=function(){return this.__toString("Set {","}")},An.prototype.has=function(e){return this._map.has(e)},An.prototype.add=function(e){return Dn(this,this._map.set(e,!0))},An.prototype.remove=function(e){return Dn(this,this._map.remove(e))},An.prototype.clear=function(){return Dn(this,this._map.clear())},An.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},An.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},An.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},An.prototype.merge=function(){return this.union.apply(this,arguments)},An.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},An.prototype.sort=function(e){return Rn(fn(this,e))},An.prototype.sortBy=function(e,t){return Rn(fn(this,t,e))},An.prototype.wasAltered=function(){return this._map.wasAltered()},An.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},An.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},An.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},An.isSet=Pn;var In,jn="@@__IMMUTABLE_SET__@@",Ln=An.prototype;function Dn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Mn(e,t){var n=Object.create(Ln);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return In||(In=Mn(ot()))}function Rn(e){return null==e?zn():Fn(e)?e:zn().withMutations((function(t){var n=i(e);Ke(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Pn(e)&&l(e)}Ln[jn]=!0,Ln[m]=Ln.remove,Ln.mergeDeep=Ln.merge,Ln.mergeDeepWith=Ln.mergeWith,Ln.withMutations=$e.withMutations,Ln.asMutable=$e.asMutable,Ln.asImmutable=$e.asImmutable,Ln.__empty=Nn,Ln.__make=Mn,t(Rn,An),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(r(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Fn;var Bn,Un=Rn.prototype;function Hn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Bn||(Bn=Hn(qt()))}function Kn(e){return null==e?Yn():Vn(e)?e:Yn().unshiftAll(e)}function Vn(e){return!(!e||!e[Gn])}Un[h]=!0,Un.__empty=zn,Un.__make=Hn,t(Kn,_e),Kn.of=function(){return this(arguments)},Kn.prototype.toString=function(){return this.__toString("Stack [","]")},Kn.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},Kn.prototype.peek=function(){return this._head&&this._head.value},Kn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):$n(e,t)},Kn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ke(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):$n(t,n)},Kn.prototype.pop=function(){return this.slice(1)},Kn.prototype.unshift=function(){return this.push.apply(this,arguments)},Kn.prototype.unshiftAll=function(e){return this.pushAll(e)},Kn.prototype.shift=function(){return this.pop.apply(this,arguments)},Kn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},Kn.prototype.slice=function(e,t){if(A(e,t,this.size))return this;var n=P(e,this.size);if(I(t,this.size)!==this.size)return _e.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):$n(r,o)},Kn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$n(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Kn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Kn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new B((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return H()}))},Kn.isStack=Vn;var qn,Gn="@@__IMMUTABLE_STACK__@@",Wn=Kn.prototype;function $n(e,t,n,r){var o=Object.create(Wn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Yn(){return qn||(qn=$n(0))}function Xn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Wn[Gn]=!0,Wn.withMutations=$e.withMutations,Wn.asMutable=$e.asMutable,Wn.asImmutable=$e.asImmutable,Wn.wasAltered=$e.wasAltered,n.Iterator=B,Xn(n,{toArray:function(){Ke(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new $t(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Wt(this,!0)},toMap:function(){return Ve(this.toKeyedSeq())},toObject:function(){Ke(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return zt(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return An(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Kn(s(this)?this.valueSeq():this)},toList:function(){return _t(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return be(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){Ke(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ke(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ke(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(L)},map:function(e,t){return mn(this,Qt(this,e,t))},reduce:function(e,t,n){var r,o;return Ke(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,fn(this,e))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return k(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(T)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new Xt(this)},get:function(e,t){return this.find((function(t,n){return be(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=En(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,v):v)===v)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,v)!==v},hasIn:function(e){return this.getIn(e,v)!==v},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?nr(e):ir)},minBy:function(e,t){return dn(this,t?nr(t):ir,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,fn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Zn=n.prototype;Zn[f]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn,this.size}}})}catch(e){}}(),Xn(r,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return be(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return be(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Qn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function or(){return O(arguments)}function ir(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Te(e),Te(t))|0}:function(e,t){r=r+ur(Te(e),Te(t))|0}:t?function(e){r=31*r+Te(e)|0}:function(e){r=r+Te(e)|0}),r)}function sr(e,t){return t=ke(t,3432918353),t=ke(t<<15|t>>>-15,461845907),t=ke(t<<13|t>>>-13,5),t=ke((t=t+3864292196^e)^t>>>16,2246822507),t=Ce((t=ke(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)}return Qn[d]=!0,Qn[F]=Zn.entries,Qn.__toJS=Zn.toObject,Qn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Xn(o,{toKeyedSeq:function(){return new Wt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=P(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(O(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(O(arguments)),t=hn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,or,[this].concat(O(arguments))))},zipWith:function(e){var t=O(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),o.prototype[p]=!0,o.prototype[h]=!0,Xn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Zn.includes,Xn($,r.prototype),Xn(Y,o.prototype),Xn(X,i.prototype),Xn(xe,r.prototype),Xn(_e,o.prototype),Xn(Oe,i.prototype),{Iterable:n,Seq:W,Collection:Ee,Map:Ve,OrderedMap:zt,List:_t,Stack:Kn,Set:An,OrderedSet:Rn,Record:xn,Range:Se,Repeat:ve,is:be,fromJS:pe}}()},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return a.a})),n.d(t,"c",(function(){return a.b})),n.d(t,"i",(function(){return a.c})),n.d(t,"j",(function(){return a.d})),n.d(t,"k",(function(){return a.e})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return y}));var r=n(5),o=n(51),i=n(19),a=n(25);const s=Object(r.d)(null,(e=>e.addCase(a.a.fulfilled,(()=>null)).addCase(a.c,((e,{payload:t})=>e===t?null:e)).addCase(a.d,((e,{payload:t})=>t)))),u=Object(r.d)([],(e=>e.addCase(a.a.fulfilled,((e,{payload:{id:t}})=>{e.push(t)})).addCase(a.c,((e,{payload:t})=>e.filter((e=>e!==t)))).addCase(a.b.fulfilled,((e,{payload:t})=>{t.entries.forEach((({id:t})=>-1===e.indexOf(t)&&e.push(t)))})))),c=Object(r.d)({},(e=>e.addCase(a.a.fulfilled,((e,{payload:t})=>{e[t.id]=Object(i.g)(t)?Object(i.c)(t):t})).addCase(a.c,((e,{payload:t})=>{delete e[t]})).addCase(a.b.fulfilled,((e,{payload:t})=>{t.entries.forEach((t=>{e[t.id]=Object(i.g)(t)?Object(i.c)(t):t}))})))),l=Object(r.d)(!1,(e=>{e.addCase(a.e,(()=>!0))}));var f=Object(o.b)({activeId:s,allIds:u,byId:c,isInitialized:l}),d=n(29),p=n.n(d);const h=({annotations:e})=>e.activeId,m=({annotations:e},t)=>e.byId[t],g=({annotations:e})=>[...Object.values(e.byId)],b=(e,t)=>g(e).filter((e=>p()(e,"target.location.value")===t)),y=({annotations:e})=>e.isInitialized},function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"l",(function(){return a})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"o",(function(){return c})),n.d(t,"p",(function(){return l})),n.d(t,"q",(function(){return f})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return w})),n.d(t,"i",(function(){return S})),n.d(t,"j",(function(){return E})),n.d(t,"k",(function(){return x})),n.d(t,"a",(function(){return i}));var r=n(5),o=n(12);let i=function(e){return e.init="init",e.pending="pending",e.rejected="rejected",e.staged="staged",e.started="started",e}({});const a=Object(r.b)("RESET_CREATOR"),s=Object(r.b)("SET_CREATOR_CURSOR"),u=Object(r.b)("SET_CREATOR_MESSAGE"),c=Object(r.b)("SET_CREATOR_REFERENCE_ID"),l=Object(r.b)("SET_CREATOR_STAGED"),f=Object(r.b)("SET_CREATOR_STATUS");var d=n(42);const p={cursor:0,error:null,message:"",referenceId:null,staged:null,status:i.init};var h=Object(r.d)(p,(e=>e.addCase(o.b.fulfilled,(()=>p)).addCase(o.b.pending,(e=>{e.error=null,e.status=i.pending})).addCase(o.b.rejected,((e,{error:t})=>{e.error=t,e.status=i.rejected})).addCase(a,(e=>{e.message="",e.referenceId=null,e.staged=null,e.status=i.init})).addCase(u,((e,{payload:t})=>{e.message=t})).addCase(c,((e,{payload:t})=>{e.referenceId=t})).addCase(l,((e,{payload:t})=>{e.staged=t})).addCase(f,((e,{payload:t})=>{e.status=t})).addCase(s,((e,{payload:t})=>{e.cursor=t})).addCase(d.f,(()=>p))));const m=e=>e.creator.cursor,g=e=>e.creator.message,b=e=>e.creator.referenceId,y=e=>e.creator.staged,v=(e,t)=>{const n=y(e);return n&&n.location===t?n:null},w=e=>e.creator.status,S=e=>void 0!==e?.pathGroups,E=e=>void 0!==e?.shapes,x=e=>void 0!==e?.shape},function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return f}));var r,o=n(2);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(r={}));var i=function(e){function t(n,r,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return Object(o.b)(t,e),t}(Error),a=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return Object(o.b)(t,e),t}(i),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return Object(o.b)(t,e),t}(i),u=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return Object(o.b)(t,e),t}(i),c=function(e){function t(t,n,o){var i=e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this;return i.locale=n,i}return Object(o.b)(t,e),t}(i),l=function(e){function t(t,n,r,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,o)||this;return i.descriptor=r,i.locale=n,i}return Object(o.b)(t,e),t}(c),f=function(e){function t(t,n){var o=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return Object(o.b)(t,e),t}(i)},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o=n(214),i=n(135),a=n(403),s=n(10),u=n(76),c=s.OrderedSet,l=s.Record,f=s.Stack,d=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._immutable=t}return e.createEmpty=function(t){return e.createWithContent(i.createFromText(""),t)},e.createWithContent=function(t,n){var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:f(),redoStack:f(),decorator:n||null,selection:u.createEmpty(r)})},e.create=function(t){var n=t.currentContent,o=t.decorator,i=r({},t,{treeMap:m(n,o),directionMap:a.getDirectionMap(n)});return new e(new d(i))},e.set=function(t,n){return new e(t.getImmutable().withMutations((function(e){var r=e.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var a=n.currentContent||t.getCurrentContent();if(i!==r){var s,u=e.get("treeMap");return s=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return o.generate(e,t,r)})))}(a,a.getBlockMap(),u,i,r):m(a,i),void e.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),a=i.getBlockMap(),s=e.getImmutable().get("treeMap");return s.merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return o.generate(i,e,r)})))}(t,a.getBlockMap(),a.getEntityMap(),i)),e.merge(n)})))},e.prototype.toJS=function(){return this.getImmutable().toJS()},e.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.prototype.getSelection=function(){return this.getImmutable().get("selection")},e.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},e.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},e.prototype.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return g(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return g(e,n)}(t,n)},e.prototype.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.prototype.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.prototype.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(e,t){return h(e,t,!1)},e.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),h(e,t,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new u({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){if(t.getCurrentContent()===n)return t;var o="insert-characters"!==r,i=a.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var s=t.getSelection(),u=t.getCurrentContent(),c=t.getUndoStack(),l=n;s!==u.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(t,r)?(c=c.push(u),l=l.set("selectionBefore",s)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",u.getSelectionBefore()));var d=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(d=null);var p={currentContent:l,directionMap:i,undoStack:c,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:d};return e.set(t,p)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=a.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=a.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.prototype.getImmutable=function(){return this._immutable},e}();function h(e,t,n){return p.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(e,t){return e.getBlockMap().map((function(n){return o.generate(e,n,t)})).toOrderedMap()}function g(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):c()}e.exports=p},function(e,t,n){var r=n(288);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return Se})),n.d(t,"b",(function(){return we})),n.d(t,"c",(function(){return ke})),n.d(t,"d",(function(){return C}));var r=n(0),o=n.n(r),i=n(244),a=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&d(e,n,t[n]);if(c)for(var n of c(t))f.call(t,n)&&d(e,n,t[n]);return e},h=(e,t)=>s(e,u(t)),m=(e,t)=>{var n={};for(var r in e)l.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))t.indexOf(r)<0&&f.call(e,r)&&(n[r]=e[r]);return n},g="default"in r?o.a:r,b=Symbol.for("react-redux-context"),y="undefined"!=typeof globalThis?globalThis:{};function v(){var e;if(!g.createContext)return{};const t=null!=(e=y[b])?e:y[b]=new Map;let n=t.get(g.createContext);return n||(n=g.createContext(null),t.set(g.createContext,n)),n}var w=v(),S=()=>{throw new Error("uSES not initialized!")};function E(e=w){return function(){return g.useContext(e)}}var x=E(),_=S,O=(e,t)=>e===t;function k(e=w){const t=e===w?x:E(e),n=(e,n={})=>{const{equalityFn:r=O,devModeChecks:o={}}="function"==typeof n?{equalityFn:n}:n;const{store:i,subscription:a,getServerState:s,stabilityCheck:u,identityFunctionCheck:c}=t(),l=(g.useRef(!0),g.useCallback({[e.name]:t=>e(t)}[e.name],[e,u,o.stabilityCheck])),f=_(a.addNestedSub,i.getState,s||i.getState,l,r);return g.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var C=k(),T=Symbol.for("react.element"),A=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),D=Symbol.for("react.context"),M=Symbol.for("react.server_context"),N=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),H=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),N),z=B;function K(e){if("object"==typeof e&&null!==e){const t=e.$$typeof;switch(t){case T:{const n=e.type;switch(n){case P:case j:case I:case R:case F:return n;default:{const e=n&&n.$$typeof;switch(e){case M:case D:case N:case U:case B:case L:return e;default:return t}}}}case A:return t}}}function V(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let s,u,c,l,f,d=!1;function p(d,p){const h=!i(p,u),m=!o(d,s,p,u);return s=d,u=p,h&&m?(c=e(s,u),t.dependsOnOwnProps&&(l=t(r,u)),f=n(c,l,u),f):h?(e.dependsOnOwnProps&&(c=e(s,u)),t.dependsOnOwnProps&&(l=t(r,u)),f=n(c,l,u),f):m?function(){const t=e(s,u),r=!a(t,c);return c=t,r&&(f=n(c,l,u)),f}():f}return function(o,i){return d?p(o,i):(s=o,u=i,c=e(s,u),l=t(r,u),f=n(c,l,u),d=!0,f)}}function q(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function G(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function W(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=G(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=G(o),o=r(t,n)),o},r}}function $(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function Y(e,t,n){return p(p(p({},n),e),t)}function X(e){e()}var Z={notify(){},get:()=>[]};function Q(e,t){let n,r=Z,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){X((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function u(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=Z)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),u())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,u())},getListeners:()=>r};return c}var J=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ee="undefined"!=typeof navigator&&"ReactNative"===navigator.product,te=J||ee?g.useLayoutEffect:g.useEffect;function ne(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function re(e,t){if(ne(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!ne(e[n[r]],t[n[r]]))return!1;return!0}var oe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ie={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ae={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},se={[H]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[z]:ae};function ue(e){return K(e)===B?ae:se[e.$$typeof]||oe}var ce=Object.defineProperty,le=Object.getOwnPropertyNames,fe=Object.getOwnPropertySymbols,de=Object.getOwnPropertyDescriptor,pe=Object.getPrototypeOf,he=Object.prototype;function me(e,t){if("string"!=typeof t){if(he){const n=pe(t);n&&n!==he&&me(e,n)}let n=le(t);fe&&(n=n.concat(fe(t)));const r=ue(e),o=ue(t);for(let i=0;i<n.length;++i){const a=n[i];if(!(ie[a]||o&&o[a]||r&&r[a])){const n=de(t,a);try{ce(e,a,n)}catch(e){}}}}return e}var ge=S,be=[null,null];function ye(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ve(e,t){return e===t}var we=function(e,t,n,{pure:r,areStatesEqual:o=ve,areOwnPropsEqual:i=re,areStatePropsEqual:a=re,areMergedPropsEqual:s=re,forwardRef:u=!1,context:c=w}={}){const l=c,f=function(e){return e?"function"==typeof e?W(e):$(e,"mapStateToProps"):q((()=>({})))}(e),d=function(e){return e&&"object"==typeof e?q((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?W(e):$(e,"mapDispatchToProps"):q((e=>({dispatch:e})))}(t),b=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const s=e(t,n,a);return i?r(s,o)||(o=s):(i=!0,o=s),o}}}(e):$(e,"mergeProps"):()=>Y}(n),y=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:y,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:f,initMapDispatchToProps:d,initMergeProps:b,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:s};function c(t){const[n,o,i]=g.useMemo((()=>{const e=t,{reactReduxForwardedRef:n}=e,r=m(e,["reactReduxForwardedRef"]);return[t.context,n,r]}),[t]),a=g.useMemo((()=>{let e=l;return null==n||n.Consumer,e}),[n,l]),s=g.useContext(a),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(s)&&Boolean(s.store);const f=u?t.store:s.store,d=c?s.getServerState:f.getState,b=g.useMemo((()=>function(e,t){var n=t,{initMapStateToProps:r,initMapDispatchToProps:o,initMergeProps:i}=n,a=m(n,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);return V(r(e,a),o(e,a),i(e,a),e,a)}(f.dispatch,r)),[f]),[v,w]=g.useMemo((()=>{if(!y)return be;const e=Q(f,u?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,u,s]),S=g.useMemo((()=>u?s:h(p({},s),{subscription:v})),[u,s,v]),E=g.useRef(void 0),x=g.useRef(i),_=g.useRef(void 0),O=g.useRef(!1),k=g.useRef(!1),C=g.useRef(void 0);te((()=>(k.current=!0,()=>{k.current=!1})),[]);const T=g.useMemo((()=>()=>_.current&&i===x.current?_.current:b(f.getState(),i)),[f,i]),A=g.useMemo((()=>e=>v?function(e,t,n,r,o,i,a,s,u,c,l){if(!e)return()=>{};let f=!1,d=null;const p=()=>{if(f||!s.current)return;const e=t.getState();let n,p;try{n=r(e,o.current)}catch(e){p=e,d=e}p||(d=null),n===i.current?a.current||c():(i.current=n,u.current=n,a.current=!0,l())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(y,f,v,b,x,E,O,k,_,w,e):()=>{}),[v]);var P,I,j;let L;P=ye,I=[x,E,O,i,_,w],te((()=>P(...I)),j);try{L=ge(A,T,d?()=>b(d(),i):T)}catch(e){throw C.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${C.current.stack}\n\n`),e}te((()=>{C.current=void 0,_.current=void 0,E.current=L}));const D=g.useMemo((()=>g.createElement(e,h(p({},L),{ref:o}))),[o,e,L]);return g.useMemo((()=>y?g.createElement(a.Provider,{value:S},D):D),[a,D,S])}const v=g.memo(c);if(v.WrappedComponent=e,v.displayName=c.displayName=n,u){const t=g.forwardRef((function(e,t){return g.createElement(v,h(p({},e),{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,me(t,e)}return me(v,e)}};var Se=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){const a=g.useMemo((()=>{const t=Q(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[e,r,o,i]),s=g.useMemo((()=>e.getState()),[e]);te((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const u=t||w;return g.createElement(u.Provider,{value:a},n)};function Ee(e=w){const t=e===w?x:E(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var xe=Ee();function _e(e=w){const t=e===w?xe:Ee(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Oe,ke=_e();Oe=i.useSyncExternalStoreWithSelector,_=Oe,(e=>{ge=e})(r.useSyncExternalStore)},function(e,t,n){"use strict";n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return m}));var r=n(5);const o=Object(r.b)("SET_FIlE_ID"),i=Object(r.b)("SET_FILE_VERSION_ID"),a=Object(r.b)("SET_PERMISSIONS"),s=Object(r.b)("SET_ROTATION"),u=Object(r.b)("SET_SCALE");var c=Object(r.d)({features:{},fileId:null,fileVersionId:null,isCurrentFileVersion:!0,permissions:{},rotation:0,scale:1},(e=>e.addCase(o,((e,{payload:t})=>{e.fileId=t})).addCase(i,((e,{payload:t})=>{e.fileVersionId=t})).addCase(a,((e,{payload:t})=>{e.permissions=t})).addCase(s,((e,{payload:t})=>{e.rotation=t})).addCase(u,((e,{payload:t})=>{e.scale=t}))));n(29);const l=e=>e.options.fileId,f=e=>e.options.fileVersionId,d=e=>e.options.isCurrentFileVersion,p=e=>e.options.permissions,h=e=>e.options.rotation,m=e=>e.options.scale},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return y})),n.d(t,"b",(function(){return v})),n.d(t,"h",(function(){return w}));var r=n(3),o=n.n(r),i=n(16),a=n.n(i),s=n(155);const u=["paths"],c=["path_groups"],l=["target"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){let{paths:t}=e,n=a()(e,u);return d({clientId:s.a(),paths:t.map((e=>d({clientId:s.a()},e)))},n)}function h(e){const{target:{path_groups:t}}=e,n=a()(e.target,c),r=a()(e,l);return d({target:d({path_groups:t.map((e=>p(e)))},n)},r)}function m({height:e,width:t,x:n,y:r}){return{x:n+t/2,y:r+e/2}}const g=e=>{if(!e||!e.length)return"";return e.map((({x:e,y:t},n,r)=>{if(0===n)return`M ${e} ${t}`;const o=r[n-1],i=r[n+1];if(!o||!i)return"";return`C ${(e+o.x)/2} ${(t+o.y)/2}, ${e} ${t}, ${(e+i.x)/2} ${(t+i.y)/2}`})).join(" ").trim()};function b(e){let t=0,n=0,r=Number.MAX_VALUE,o=Number.MAX_VALUE;return e.forEach((({paths:e})=>{e.forEach((({points:e})=>{e.forEach((({x:e,y:i})=>{t=Math.max(t,e),n=Math.max(n,i),r=Math.min(r,e),o=Math.min(o,i)}))}))})),{height:Math.max(0,n-o),width:Math.max(0,t-r),x:r===Number.MAX_VALUE?0:r,y:o===Number.MAX_VALUE?0:o}}function y(e){return"drawing"===e?.target?.type}function v(e){return m(b(e))}function w(){return"vector-effect"in document.body.style}},function(e,t,n){"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function i(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function a(e,t,n,r,o){return n.bind(t,e,r,o)}function s(e,t){return a(e,this,1===e.length?o:i,t.cache.create(),t.serializer)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return f}));var u=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new c}},f={variadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},function(e,t,n){"use strict";var r=n(37);t.a=Object(r.a)({ariaLabelComment:{id:"ba.popup.reply.comment",defaultMessage:"Comment"},ariaLabelReplyField:{id:"ba.popup.reply.field",defaultMessage:"Type a comment"},buttonCancel:{id:"ba.popups.cancel",defaultMessage:"Cancel"},buttonPost:{id:"ba.popups.post",defaultMessage:"Post"},drawingButtonAddComment:{id:"ba.popups.drawing.addComment",defaultMessage:"Add Comment"},drawingButtonDelete:{id:"ba.popups.drawing.delete",defaultMessage:"Delete"},drawingButtonRedo:{id:"ba.popups.drawing.redo",defaultMessage:"Redo"},drawingButtonUndo:{id:"ba.popups.drawing.undo",defaultMessage:"Undo"},fieldPlaceholder:{id:"ba.popups.replyField.placeholder",defaultMessage:"Type a comment..."},popupHighlightPromoter:{id:"ba.popups.popupHighlight.promoter",defaultMessage:"Highlight and Comment"},popupHighlightRestrictedPrompt:{id:"ba.popups.popupHighlight.restrictedPrompt",defaultMessage:"Comments restricted to single page"},popupListPrompt:{id:"ba.popups.popupList.prompt",defaultMessage:"Mention someone to notify them"},regionCursorPrompt:{id:"ba.popups.popupCursor.regionPrompt",defaultMessage:"Draw a box to comment"}})},function(e,t,n){"use strict";var r=n(111),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";var r=n(241),o=n(8);class i extends r.EventEmitter{emit(e,...t){const[n]=t;return super.emit(e,n),super.emit(o.LegacyEvent.ANNOTATOR,{event:e,data:n}),!0}}t.a=new i},function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return f})),n.d(t,"e",(function(){return d}));var r=n(2),o=n(528),i=n(20),a=n(14);function s(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function c(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function l(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function f(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=Object(i.a)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))}),{cache:l(e.dateTime),strategy:i.b.variadic}),u=Object(i.a)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))}),{cache:l(e.number),strategy:i.b.variadic}),c=Object(i.a)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(r.d)([void 0],t,!1)))}),{cache:l(e.pluralRules),strategy:i.b.variadic});return{getDateTimeFormat:s,getNumberFormat:u,getMessageFormat:Object(i.a)((function(e,t,n,i){return new o.a(e,t,n,Object(r.a)({formatters:{getNumberFormat:u,getDateTimeFormat:s,getPluralRules:c}},i||{}))}),{cache:l(e.message),strategy:i.b.variadic}),getRelativeTimeFormat:Object(i.a)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Object(r.d)([void 0],e,!1)))}),{cache:l(e.relativeTime),strategy:i.b.variadic}),getPluralRules:c,getListFormat:Object(i.a)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Object(r.d)([void 0],e,!1)))}),{cache:l(e.list),strategy:i.b.variadic}),getDisplayNames:Object(i.a)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,Object(r.d)([void 0],e,!1)))}),{cache:l(e.displayNames),strategy:i.b.variadic})}}function d(e,t,n,r){var o,i=e&&e[t];if(i&&(o=i[n]),o)return o;r(new a.f("No ".concat(t," format named: ").concat(n)))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return c}));var r=n(5),o=n(18);const i=Object(r.c)("CREATE_ANNOTATION",(async(e,{extra:t,getState:n,signal:r})=>{const i=t.api.getAnnotationsAPI(),a=n(),s=Object(o.a)(a),u=Object(o.b)(a),c=Object(o.d)(a);return r.addEventListener("abort",(()=>{i.destroy()})),new Promise(((t,n)=>{i.createAnnotation(s,u,e,c,t,n)}))})),a=Object(r.c)("FETCH_ANNOTATIONS",(async(e,{extra:t,getState:n,signal:r})=>{const i=t.api.getAnnotationsAPI(),a=n(),s=Object(o.a)(a),u=Object(o.b)(a),c=Object(o.d)(a);return r.addEventListener("abort",(()=>{i.destroy()})),new Promise(((e,t)=>{i.getAnnotations(s,u,c,e,t,1e3,!1)}))})),s=Object(r.b)("REMOVE_ANNOTATION"),u=Object(r.b)("SET_ACTIVE_ANNOTATION_ID"),c=Object(r.b)("SET_IS_INITIALIZED")},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(6),o=n.n(r),i=n(16),a=n.n(i),s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(50);const d=["children","className","onDrawStart","onDrawStop","onDrawUpdate","onMouseOut","onMouseOver","status"];let p=function(e){return e.dragging="dragging",e.drawing="drawing",e.init="init",e}({});function h(e,t){const{children:n,className:r,onDrawStart:i,onDrawStop:s,onDrawUpdate:c,onMouseOut:h=l.a,onMouseOver:m=l.a,status:g}=e,b=a()(e,d);return u.a.useEffect((()=>{const e=({buttons:e,clientX:t,clientY:n})=>{e===f.a&&g!==p.init&&c(t,n)},t=()=>{s()};return g!==p.init&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",t)),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}}),[s,c,g]),u.a.createElement("div",o()({ref:t,className:r,onClick:e=>{e.preventDefault(),e.stopPropagation()},onMouseDown:({buttons:e,clientX:t,clientY:n})=>{e===f.a&&i(t,n)},onMouseOut:()=>{h()},onMouseOver:()=>{m()},onTouchCancel:()=>{s()},onTouchEnd:()=>{s()},onTouchMove:({targetTouches:e})=>{c(e[0].clientX,e[0].clientY)},onTouchStart:({targetTouches:e})=>{i(e[0].clientX,e[0].clientY)},role:"presentation"},b),n)}var m=u.a.forwardRef(h)},function(e,t,n){"use strict";var r=n(390),o=n(87),i=n(36),a=n(406),s=n(67),u=n(135),c=n(138),l=n(217),f=n(407),d=n(219),p=n(108),h=n(32),m=n(215),g=n(15),b=n(145),y=n(233),v=n(76),w=n(467),S={Editor:f,EditorBlock:d,EditorState:g,CompositeDecorator:a,Entity:p,EntityInstance:m,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:u,SelectionState:v,AtomicBlockUtils:r,KeyBindingUtil:b,Modifier:h,RichUtils:y,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:n(231),convertFromRaw:n(470),convertToRaw:w,genKey:n(56),getDefaultKeyBinding:n(234),getVisibleSelectionRect:n(475)};e.exports=S},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u}));const r="#fff",o="#000",i="#0061d5",a="#222",s="#909090",u="#ffd700"},function(e,t,n){var r=n(116);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){"use strict";n.d(t,"m",(function(){return ie})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"l",(function(){return f})),n.d(t,"j",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return h})),n.d(t,"k",(function(){return m})),n.d(t,"g",(function(){return g})),n.d(t,"d",(function(){return b}));var r,o,i,a=n(2);function s(e){return e.type===o.literal}function u(e){return e.type===o.argument}function c(e){return e.type===o.number}function l(e){return e.type===o.date}function f(e){return e.type===o.time}function d(e){return e.type===o.select}function p(e){return e.type===o.plural}function h(e){return e.type===o.pound}function m(e){return e.type===o.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function b(e){return!(!e||"object"!=typeof e||e.type!==i.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(r||(r={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(o||(o={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}));var y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,v=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function w(e){var t={};return e.replace(v,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var S=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var E=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,x=/^(@+)?(\+|#+)?[rs]?$/g,_=/(\*)(0+)|(#+)(0+)|(0+)/g,O=/^(0+)$/;function k(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(x,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!O.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function A(e){var t=C(e);return t||{}}function P(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Object(a.a)(Object(a.a)(Object(a.a)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Object(a.a)(Object(a.a)({},e),A(t))}),{}));continue;case"engineering":t=Object(a.a)(Object(a.a)(Object(a.a)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Object(a.a)(Object(a.a)({},e),A(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(_,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(O.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(E.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(E,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=o.options[0];"w"===i?t=Object(a.a)(Object(a.a)({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Object(a.a)(Object(a.a)({},t),k(i)))}else if(x.test(o.stem))t=Object(a.a)(Object(a.a)({},t),k(o.stem));else{var s=C(o.stem);s&&(t=Object(a.a)(Object(a.a)({},t),s));var u=T(o.stem);u&&(t=Object(a.a)(Object(a.a)({},t),u))}}return t}var I,j={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function L(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(j[n||""]||j[r||""]||j["".concat(r,"-001")]||j["001"])[0]}var D=new RegExp("^".concat(y.source,"*")),M=new RegExp("".concat(y.source,"*$"));function N(e,t){return{start:e,end:t}}var R=!!String.prototype.startsWith,F=!!String.fromCodePoint,B=!!Object.fromEntries,U=!!String.prototype.codePointAt,H=!!String.prototype.trimStart,z=!!String.prototype.trimEnd,K=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(I=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===I?void 0:I[0])}catch(e){V=!1}var q,G=R?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},W=F?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;o>i;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},$=B?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],a=o[1];t[i]=a}return t},Y=U?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},X=H?function(e){return e.trimStart()}:function(e){return e.replace(D,"")},Z=z?function(e){return e.trimEnd()}:function(e){return e.replace(M,"")};function Q(e,t){return new RegExp(e,t)}if(V){var J=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=function(e,t){var n;return J.lastIndex=t,null!==(n=J.exec(e)[1])&&void 0!==n?n:""}}else q=function(e,t){for(var n=[];;){var r=Y(e,t);if(void 0===r||ne(r)||re(r))break;n.push(r),t+=r>=65536?2:1}return W.apply(void 0,n)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,n)).err)return s;i.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(r.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&te(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;i.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;i.push(s.val)}}else{var u=this.clonePosition();this.bump(),i.push({type:o.pound,location:N(u,this.clonePosition())})}}}return{val:i,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(i,"/>"),location:N(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!te(this.char()))return this.error(r.INVALID_TAG,N(u,this.clonePosition()));var c=this.clonePosition();return i!==this.parseTagName()?this.error(r.UNMATCHED_CLOSING_TAG,N(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:i,children:s,location:N(n,this.clonePosition())},err:null}:this.error(r.INVALID_TAG,N(u,this.clonePosition())))}return this.error(r.UNCLOSED_TAG,N(n,this.clonePosition()))}return this.error(r.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var u=N(n,this.clonePosition());return{val:{type:o.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return W.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),W(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(r.EMPTY_ARGUMENT,N(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(r.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:i,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(r.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=q(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:N(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var u,c=this.clonePosition(),l=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(l){case"":return this.error(r.EXPECT_ARGUMENT_TYPE,N(c,f));case"number":case"date":case"time":this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition();if((E=this.parseSimpleArgStyleIfPossible()).err)return E;if(0===(b=Z(E.val)).length)return this.error(r.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));d={style:b,styleLocation:N(p,this.clonePosition())}}if((x=this.tryParseArgumentClose(s)).err)return x;var h=N(s,this.clonePosition());if(d&&G(null==d?void 0:d.style,"::",0)){var m=X(d.style.slice(2));if("number"===l)return(E=this.parseNumberSkeletonFromString(m,d.styleLocation)).err?E:{val:{type:o.number,value:n,location:h,style:E.val},err:null};if(0===m.length)return this.error(r.EXPECT_DATE_TIME_SKELETON,h);var g=m;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),u=L(t);for("H"!=u&&"k"!=u||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=u+n}else n+="J"===o?"H":o}return n}(m,this.locale));var b={type:i.dateTime,pattern:g,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?w(g):{}};return{val:{type:"date"===l?o.date:o.time,value:n,location:h,style:b},err:null}}return{val:{type:"number"===l?o.number:"date"===l?o.date:o.time,value:n,location:h,style:null!==(u=null==d?void 0:d.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(r.EXPECT_SELECT_ARGUMENT_OPTIONS,N(y,Object(a.a)({},y)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),S=0;if("select"!==l&&"offset"===v.value){if(!this.bumpIf(":"))return this.error(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));var E;if(this.bumpSpace(),(E=this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return E;this.bumpSpace(),v=this.parseIdentifierIfPossible(),S=E.val}var x,_=this.tryParsePluralOrSelectOptions(e,l,t,v);if(_.err)return _;if((x=this.tryParseArgumentClose(s)).err)return x;var O=N(s,this.clonePosition());return"select"===l?{val:{type:o.select,value:n,options:$(_.val),location:O},err:null}:{val:{type:o.plural,value:n,options:$(_.val),offset:S,pluralType:"plural"===l?"cardinal":"ordinal",location:O},err:null};default:return this.error(r.INVALID_ARGUMENT_TYPE,N(c,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(S).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],a=o.slice(1),s=0,u=a;s<u.length;s++)if(0===u[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(r.INVALID_NUMBER_SKELETON,t)}return{val:{type:i.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?P(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,o){for(var i,a=!1,s=[],u=new Set,c=o.value,l=o.location;;){if(0===c.length){var f=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_SELECTOR,r.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=N(f,this.clonePosition()),c=this.message.slice(f.offset,this.offset())}if(u.has(c))return this.error("select"===t?r.DUPLICATE_SELECT_ARGUMENT_SELECTOR:r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===c&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([c,{value:h.val,location:N(p,this.clonePosition())}]),u.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?r.EXPECT_SELECT_ARGUMENT_SELECTOR:r.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(r.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=N(r,this.clonePosition());return o?K(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Y(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(G(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ne(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function ne(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function re(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function oe(e){e.forEach((function(e){if(delete e.location,d(e)||p(e))for(var t in e.options)delete e.options[t].location,oe(e.options[t].value);else c(e)&&g(e.style)||(l(e)||f(e))&&b(e.style)?delete e.style.location:m(e)&&oe(e.children)}))}function ie(e,t){void 0===t&&(t={}),t=Object(a.a)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ee(e,t).parse();if(n.err){var o=SyntaxError(r[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||oe(n.val),n.val}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(36),o=n(392),i=n(61),a=n(10),s=n(393),u=n(395),c=n(107),l=n(398),f=n(399),d=n(11),p=n(400),h=n(211),m=n(401),g=n(402),b=a.OrderedSet,y={replaceText:function(e,t,n,o,i){var a=h(e,t),s=m(a,t),u=r.create({style:o||b(),entity:i||null});return f(s,s.getSelectionAfter(),n,u)},insertText:function(e,t,n,r,o){return t.isCollapsed()||d(!1),y.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=c(e,t),o=y.removeRange(e,t,"backward");return y.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=h(e,t),o=m(r,t);return l(o,o.getSelectionAfter(),n)},removeRange:function(e,t,n){var r,o,a=void 0,s=void 0;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),a=e.getBlockForKey(r),s=e.getBlockForKey(o);var c=t.getStartOffset(),l=t.getEndOffset(),f=a.getEntityAt(c),d=s.getEntityAt(l-1);if(r===o&&f&&f===d){var p=u(e.getEntityMap(),a,s,t,n);return m(e,p)}var g=t;i.draft_segmented_entities_behavior&&(g=u(e.getEntityMap(),a,s,t,n));var b=h(e,g);return m(b,g)},splitBlock:function(e,t){var n=h(e,t),r=m(n,t);return g(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return p(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return p(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return p(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=h(e,t);return s(r,t,n)}};e.exports=y},function(e,t,n){"use strict";var r=n(75);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=n(184),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r=n(10),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),u={style:s,entity:null},c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getStyle=function(){return this.get("style")},t.prototype.getEntity=function(){return this.get("entity")},t.prototype.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,n){var r=e.set("style",e.getStyle().add(n));return t.create(r)},t.removeStyle=function(e,n){var r=e.set("style",e.getStyle().remove(n));return t.create(r)},t.applyEntity=function(e,n){var r=e.getEntity()===n?e:e.set("entity",n);return t.create(r)},t.create=function(e){if(!e)return l;var n=o({style:s,entity:null}).merge(e),r=f.get(n);if(r)return r;var i=new t(n);return f=f.set(n,i),i},t}(a(u)),l=new c,f=o([[o(u),l]]);c.EMPTY=l,e.exports=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r,o,i=n(2),a=n(0),s=n(58);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(o||(o={}));var u=function(e){var t=Object(s.a)(),n=e.value,r=e.children,o=Object(i.c)(e,["value","children"]);return r(t.formatNumberToParts(n,o))};u.displayName="FormattedNumberParts";function c(e){var t=function(t){var n=Object(s.a)(),r=t.value,o=t.children,a=Object(i.c)(t,["value","children"]),u="string"==typeof r?new Date(r||0):r;return o("formatDate"===e?n.formatDateToParts(u,a):n.formatTimeToParts(u,a))};return t.displayName=o[e],t}function l(e){var t=function(t){var n=Object(s.a)(),r=t.value,o=t.children,u=Object(i.c)(t,["value","children"]),c=n[e](r,u);if("function"==typeof o)return o(c);var l=n.textComponent||a.Fragment;return a.createElement(l,null,c)};return t.displayName=r[e],t}function f(e){return e}u.displayName="FormattedNumberParts";l("formatDate"),l("formatTime"),l("formatNumber"),l("formatList"),l("formatDisplayName"),c("formatDate"),c("formatTime")},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l}));var r=n(2),o=n(0),i=n(529),a=n(24);function s(e){Object(i.a)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var u=Object(r.a)(Object(r.a)({},a.a),{textComponent:o.Fragment});function c(e){return function(t){return e(o.Children.toArray(t))}}function l(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},function(e,t,n){"use strict";function r(e){return e>=0&&e<=100}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(s[c]=n[c]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){"use strict";var r=n(36),o=n(10),i=n(88),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),d={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},p=function(e,t){return e.getStyle()===t.getStyle()},h=function(e,t){return e.getEntity()===t.getEntity()},m=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e}(n)))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.getChildKeys=function(){return this.get("children")},t.prototype.getParentKey=function(){return this.get("parent")},t.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},t.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},t.prototype.findStyleRanges=function(e,t){i(this.getCharacterList(),p,e,t)},t.prototype.findEntityRanges=function(e,t){i(this.getCharacterList(),h,e,t)},t}(c(d));e.exports=m},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return a.a})),n.d(t,"f",(function(){return a.b})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return i}));var r=n(28),o=n(5);let i=function(e){return e.DRAWING="drawing",e.HIGHLIGHT="highlight",e.NONE="none",e.REGION="region",e}({});var a=n(69);const s={color:r.a,mode:i.NONE};var u=Object(o.d)(s,(e=>e.addCase(a.a,((e,{payload:t})=>{e.color=t})).addCase(a.b,((e,{payload:t})=>{e.mode=t}))));const c=({common:e})=>e.mode,l=e=>e.common.color},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(6),o=n.n(r),i=n(16),a=n.n(i),s=n(3),u=n.n(s),c=n(0),l=n.n(c),f=n(9),d=n.n(f),p=n(63);n(389);const h=["children","className","options","reference"];class m extends l.a.PureComponent{constructor(...e){super(...e),u()(this,"popper",void 0),u()(this,"popupRef",l.a.createRef()),u()(this,"createPopper",(()=>{const{options:e,reference:t}=this.props,{current:n}=this.popupRef;if(n)return Object(p.b)(t,n,e)})),u()(this,"handleEvent",(e=>{e.stopPropagation()}))}componentDidMount(){this.popper=this.createPopper()}componentDidUpdate(e){const{options:t,reference:n}=e,{options:r,reference:o}=this.props;this.popper&&(r!==t&&this.popper.setOptions(r),o!==n&&(this.popper.destroy(),this.popper=this.createPopper()))}componentWillUnmount(){this.popper&&this.popper.destroy()}render(){const e=this.props,{children:t,className:n,options:r,reference:i}=e,s=a()(e,h);return l.a.createElement("div",o()({ref:this.popupRef,className:d()("ba-Popup",n),onClick:this.handleEvent,onMouseDown:this.handleEvent,onMouseMove:this.handleEvent,onMouseUp:this.handleEvent,onTouchMove:this.handleEvent,onTouchStart:this.handleEvent,role:"presentation"},s),l.a.createElement("div",{className:"ba-Popup-arrow"}),l.a.createElement("div",{className:"ba-Popup-content"},t))}}u()(m,"defaultProps",{options:{}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(6),o=n.n(r),i=n(3),a=n.n(i),s=n(33);function u(e,t){e&&Object.values(t).length&&Object.entries(t).forEach((([t,n])=>{const r=`data-resin-${t.toLowerCase()}`,o=function(e){return"object"==typeof e||"function"==typeof e||"symbol"==typeof e?"":"string"==typeof e?e:String(e)}(n);o&&e.setAttribute(r,o)}))}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}class f{constructor({location:e=1,referenceEl:t,resinTags:n={}}){a()(this,"location",void 0),a()(this,"reactEl",void 0),a()(this,"root",null),this.location=e,this.reactEl=this.insert(t,l(l({},n),{},{feature:"annotations"})),this.root=s.createRoot(this.reactEl),this.decorate()}decorate(){throw new Error("Method not implemented.")}destroy(){this.root&&this.root.unmount(),this.reactEl.parentNode&&this.reactEl.parentNode.removeChild(this.reactEl)}exists(e){return e.contains(this.reactEl)}insert(e,t={}){const n=e.ownerDocument||document,r=e.parentNode||n,o=n.createElement("div");return o.classList.add("ba-Layer"),u(o,t),r.insertBefore(o,e.nextSibling)}render(e){throw new Error("Method not implemented.")}style(e){return o()(this.reactEl.style,e)}}},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return q})),n.d(t,"b",(function(){return oe}));var r=n(12),o=n(18);const i=e=>(t,n)=>{const{location:i,message:a,shape:s}=e,u=n(),c={description:{message:a,type:"reply"},file_version:{id:Object(o.b)(u)},target:{location:{type:"page",value:i},shape:s,type:"region"}};return t(Object(r.b)(c))},a={display:"none"},s=e=>{const{x:t,y:n}=e,{x:r,y:o}=(e=>{const{height:t,width:n}=e;return{x:n/2,y:t/2}})(e);return{x:r+t,y:o+n}};function u(e){return"region"===e?.target?.type}function c(e){if(!e)return a;const{height:t,width:n,x:r,y:o}=e;return{display:"block",height:`${t}%`,left:`${r}%`,top:`${o}%`,width:`${n}%`}}var l=n(6),f=n.n(l),d=n(0),p=n.n(d),h=n(33),m=n(44),g=n(17),b=n(1),y=n(3),v=n.n(y),w=n(9),S=n.n(w),E=n(26),x=n(236),_=n(21),O=n(43),k=n(63);n(487);const C={modifiers:[{name:"offset",options:{offset:[0,20]}}],placement:"right"},T=(e=0,t=0)=>()=>Object(k.a)(0,0,e,t);function A(){const e=p.a.useRef(null),t=p.a.useRef({getBoundingClientRect:T()}),n=({clientX:n,clientY:r})=>{t.current.getBoundingClientRect=T(n,r);const{current:o}=e;o?.popper&&o.popper.update()};return p.a.useEffect((()=>(document.addEventListener("mousemove",n),()=>{document.removeEventListener("mousemove",n)})),[]),p.a.createElement(O.a,{ref:e,className:"ba-PopupCursor",options:C,reference:t.current},p.a.createElement(x.a,_.a.regionCursorPrompt))}var P=n(7),I=n.n(P),j=n(78);n(488);function L(e,t){const{className:n,isActive:r,onMount:o=I.a,shape:i}=e,a=Object(j.a)(o);return p.a.createElement("div",{ref:t,className:S()("ba-RegionRect",n,{"is-active":r}),"data-ba-reference-id":a,style:c(i)})}var D=p.a.forwardRef(L);const M=/(auto|scroll)/,N=["overflow","overflow-x","overflow-y"],R=e=>e&&e!==document.body?(e=>{if(e.nodeType!==Node.ELEMENT_NODE)return!1;const t=getComputedStyle(e,null);return N.some((e=>M.test(t.getPropertyValue(e))))})(e)?e:R(e.parentNode):document.body;n(489);const F=10;function B({className:e,onAbort:t,onStart:n,onStop:r}){const[o,i]=d.useState(E.a.init),[a,s]=d.useState(!1),u=d.useRef(null),l=d.useRef(null),h=d.useRef(null),m=d.useRef(null),g=d.useRef(null),b=d.useRef(!1),y=d.useRef(null),v=d.useRef(null),w=(e,t)=>{const{current:n}=u;if(!n)return[e,t];const{left:r,top:o}=n.getBoundingClientRect();return[e-r,t-o]},x=()=>{const{current:e}=u,{current:t}=l,{current:n}=m,{current:r}=h,{current:o}=g;if(!e||null===t||null===r||null===n||null===o)return null;const{height:i,width:a}=e.getBoundingClientRect(),s=i-F,c=a-F,f=Math.max(0,a-0),d=Math.max(0,i-0),p=t>=c&&r>=c?t-F:t,b=n>=s&&o>=s?n-F:n,y=Math.min(Math.max(0,p<r?p:r),f),v=Math.min(Math.max(0,b<o?b:o),d),w=Math.min(Math.max(0,r>p?r:p),f),S=Math.min(Math.max(0,o>b?o:b),d);return{height:Math.max(F,S-v)/i*100,type:"rect",width:Math.max(F,w-y)/a*100,x:y/a*100,y:v/i*100}},_=d.useCallback((()=>{const e=x();i(E.a.init),l.current=null,m.current=null,h.current=null,g.current=null,b.current=!0,e?r(e):t()}),[t,r,i]),O=d.useCallback(((e,t)=>{const[r,a]=w(e,t),{current:s}=l,{current:u}=m,{current:c}=h;(null!==c||((e,t,n,r)=>Math.abs(n-e)>=F||Math.abs(r-t)>=F)(s??0,u??0,r,a))&&(h.current=r,g.current=a,b.current=!0,o!==E.a.drawing&&(i(E.a.drawing),n()))}),[o,n,i]),k=e=>{v.current=window.requestAnimationFrame(e)},C=()=>{const{current:e}=b,{current:t}=y,n=x();e&&t&&n&&(f()(t.style,c(n)),b.current=!1),k(C)};return d.useEffect((()=>(o!==E.a.init&&k(C),()=>{const{current:e}=v;e&&window.cancelAnimationFrame(e)})),[o]),function(e){const{enabled:t,intensity:n=.2,onScroll:r=I.a,reference:o,size:i=50}=e,a=p.a.useRef(null),s=p.a.useRef(null),u=p.a.useRef(null),c=p.a.useRef(null),l=p.a.useRef(null),f=e=>{a.current=window.requestAnimationFrame(e)},d=()=>{const{current:e}=s,{current:t}=u,{current:o}=c,{current:a}=l;if(!e||!t||null===o||null===a)return f(d);const p=t.bottom-i,h=t.left+i,m=t.right-i,g=t.top+i,b=a>p,y=o<h,v=o>m,w=a<g;if(!(b||y||v||w))return f(d);let S=e.scrollLeft,E=e.scrollTop;return y?S-=(h-o)*n:v&&(S+=(o-m)*n),w?E-=(g-a)*n:b&&(E+=(a-p)*n),e.scrollLeft=Math.max(0,Math.min(Math.round(S),e.scrollWidth)),e.scrollTop=Math.max(0,Math.min(Math.round(E),e.scrollHeight)),r(o,a),f(d)},h=({clientX:e,clientY:t})=>{c.current=e,l.current=t},m=({targetTouches:e})=>{c.current=e[0].clientX,l.current=e[0].clientY};p.a.useEffect((()=>{o&&(s.current=R(o),u.current=s.current.getBoundingClientRect())}),[o]),p.a.useEffect((()=>(t&&(document.addEventListener("mousemove",h),document.addEventListener("touchmove",m),f(d)),()=>{const{current:e}=a;e&&window.cancelAnimationFrame(e),a.current=null,c.current=null,l.current=null,document.removeEventListener("mousemove",h),document.removeEventListener("touchmove",m)})),[t])}({enabled:o!==E.a.init,onScroll:(e,t)=>{O(e,t)},reference:u.current}),d.createElement(E.b,{ref:u,className:S()(e,"ba-RegionCreator"),"data-testid":"ba-RegionCreator",onDrawStart:(e,t)=>{const[n,r]=w(e,t);i(E.a.dragging),l.current=n,m.current=r,h.current=null,g.current=null,b.current=!0},onDrawStop:_,onDrawUpdate:O,onMouseOut:()=>{s(!1)},onMouseOver:()=>{s(!0)},status:o},o===E.a.drawing&&d.createElement(D,{ref:y,className:"ba-RegionCreator-rect",isActive:!0}),o===E.a.init&&a&&d.createElement(A,null))}var U=n(13);n(490);class H extends d.PureComponent{constructor(...e){super(...e),v()(this,"state",{}),v()(this,"handleAbort",(()=>{const{resetCreator:e}=this.props;e()})),v()(this,"handleStart",(()=>{const{setStaged:e,setStatus:t}=this.props;e(null),t(U.a.started)})),v()(this,"handleStagedMount",(e=>{const{setReferenceId:t}=this.props;t(e)})),v()(this,"handleStop",(e=>{const{location:t,setStaged:n,setStatus:r}=this.props;n({location:t,shape:e}),r(U.a.staged)}))}render(){const{isCreating:e,isRotated:t,staged:n}=this.props;return t?null:d.createElement(d.Fragment,null,e&&d.createElement(B,{className:"ba-RegionCreation-creator",onAbort:this.handleAbort,onStart:this.handleStart,onStop:this.handleStop}),n&&d.createElement("div",{className:"ba-RegionCreation-target"},d.createElement(D,{isActive:!0,onMount:this.handleStagedMount,shape:n.shape})))}}v()(H,"defaultProps",{isCreating:!1,isRotated:!1});var z=n(55);const K={resetCreator:b.A,setReferenceId:b.I,setStaged:b.M,setStatus:b.N};var V=Object(g.b)(((e,{location:t})=>{const n=Object(b.o)(e,t);return{isCreating:Object(b.h)(e)===b.b.REGION&&Object(b.p)(e)!==b.a.pending,isRotated:!!Object(b.u)(e),staged:Object(b.y)(n)?n:null}}),K)(Object(z.a)(H));class q extends m.a{decorate(){this.reactEl.classList.add("ba-Layer--regionCreation"),this.reactEl.dataset.testid="ba-Layer--regionCreation"}render(e){this.root||(this.root=h.createRoot(this.reactEl)),this.root.render(d.createElement(V,f()({location:this.location},e)))}}var G=n(50);n(491);const W=(e,t)=>{const{annotationId:n,className:r,isActive:o,onSelect:i=I.a,shape:a}=e;return d.createElement("button",{ref:t,className:S()("ba-RegionAnnotation",r,{"is-active":o}),"data-resin-itemid":n,"data-resin-target":"highlightRegion","data-testid":`ba-AnnotationTarget-${n}`,onFocus:()=>{i(n)},onMouseDown:e=>{e.buttons===G.a&&(e.preventDefault(),e.stopPropagation(),e.currentTarget.focus())},style:c(a),type:"button"})};var $=d.forwardRef(W),Y=n(79),X=n(39);function Z({target:e}){const{shape:t}=e,{height:n,width:r,x:o,y:i}=t;return Object(X.a)(n)&&Object(X.a)(r)&&Object(X.a)(o)&&Object(X.a)(i)}function Q({target:e},{target:t}){const{shape:n}=e,{shape:r}=t;return n.height*n.width>r.height*r.width?-1:1}function J({activeId:e,annotations:t,className:n,onSelect:r=I.a}){const o=Object(Y.a)(),i=p.a.createRef();return p.a.createElement("div",{ref:i,className:S()(n,{"is-listening":o}),"data-resin-component":"regionList"},t.filter(Z).sort(Q).map((({id:t,target:n})=>p.a.createElement($,{key:t,annotationId:t,isActive:e===t,onSelect:r,shape:n.shape}))))}var ee=p.a.memo(J);n(492);var te=e=>{const{activeAnnotationId:t,annotations:n,setActiveAnnotationId:r}=e;return d.createElement(ee,{activeId:t,annotations:n,className:"ba-RegionAnnotations-list",onSelect:e=>{r(e)}})};const ne={setActiveAnnotationId:b.B};var re=Object(g.b)(((e,{location:t})=>({activeAnnotationId:Object(b.f)(e),annotations:Object(b.i)(e,t).filter(u)})),ne)(Object(z.a)(te));class oe extends m.a{decorate(){this.reactEl.classList.add("ba-Layer--region"),this.reactEl.dataset.testid="ba-Layer--region"}render(e){this.root||(this.root=h.createRoot(this.reactEl)),this.root.render(d.createElement(re,f()({location:this.location},e)))}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return d})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return g}));var r=n(5),o=n(12),i=n(42),a=n(13),s=n(19);const u=Object(r.b)("ADD_DRAWING_PATH_GROUP",(e=>({payload:Object(s.a)(e)}))),c=Object(r.b)("REDO_DRAWING_PATH_GROUP"),l=Object(r.b)("RESET_DRAWING"),f=Object(r.b)("SET_DRAWING_LOCATION"),d=Object(r.b)("UNDO_DRAWING_PATH_GROUP"),p={drawnPathGroups:[],location:0,stashedPathGroups:[]};var h=Object(r.d)(p,(e=>e.addCase(o.b.fulfilled,(()=>p)).addCase(u,((e,{payload:t})=>{e.drawnPathGroups.push(t),e.stashedPathGroups=[]})).addCase(c,(e=>{const t=e.stashedPathGroups.pop();t&&e.drawnPathGroups.push(t)})).addCase(a.l,(()=>p)).addCase(l,(()=>p)).addCase(f,((e,{payload:t})=>{e.location!==t&&(e.location=t,e.drawnPathGroups=[])})).addCase(i.f,(()=>p)).addCase(d,(e=>{const t=e.drawnPathGroups.pop();t&&e.stashedPathGroups.push(t)}))));const m=(e,t)=>e.drawing.location===t?e.drawing.drawnPathGroups:[],g=(e,t)=>e.drawing.location===t?e.drawing.stashedPathGroups:[]},function(e,t,n){var r=n(158),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=1},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return s}));var r=n(148),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,l=[],f=l,d=!1;function p(){f===l&&(f=l.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),l=null}}}function g(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,c=u(c,e)}finally{d=!1}for(var t=l=f,n=0;n<t.length;n++){(0,t[n])()}return e}return g({type:i.INIT}),(o={dispatch:g,subscribe:m,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,g({type:i.REPLACE})}})[r.a]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e},o}function u(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<s.length;i++){var c=s[i],l=n[c],f=e[c],d=l(f,t);if(void 0===d){var p=u(c,t);throw new Error(p)}o[c]=d,r=r||d!==f}return(r=r||s.length!==Object.keys(e).length)?o:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{dispatch:r=d.apply(void 0,i)(n.dispatch)})}}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(413),o=n(415),i=n(416),a=n(417);function s(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,o.contains(i,t))}function u(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var c={isBrowser:function(e){return s(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(r.browserArchitecture,null,e)},isDevice:function(e){return s(r.deviceName,null,e)},isEngine:function(e){return s(r.engineName,r.engineVersion,e)},isPlatform:function(e){return s(r.platformName,r.platformFullVersion,e,u)},isPlatformArchitecture:function(e){return s(r.platformArchitecture,null,e)}};e.exports=i(c,a)},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return c}));var r=n(8);const o=e=>{let t=Number.MAX_VALUE,n=Number.MAX_VALUE,r=Number.NEGATIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.forEach((({height:e,width:i,x:a,y:s})=>{const u=a+i,c=s+e;0!==i&&0!==e&&(a<t&&(t=a),s<n&&(n=s),u>r&&(r=u),c>o&&(o=c))})),{x:t,y:n,width:r-t,height:o-n}},i=e=>{const t=o(e),{x:n,y:r}=t,{x:i,y:a}=(e=>{const{height:t,width:n}=e;return{x:n/2,y:t/2}})(t);return{x:i+n,y:a+r}};function a(e){return e?.target?.type===r.Type.highlight}const s=(e,t,n)=>Math.max(Math.round(e*n),Math.round(t*n),1),u=e=>{const t=[];return((e,t=.1)=>{const n=[];return e.forEach((e=>{const r=n.pop();if(!r)return void n.push(e);const{width:o,height:i,x:a,y:u}=r,{width:c,height:l,x:f,y:d}=e,p=s(o,c,t),h=s(i,l,t);Math.abs(a-f)<=p&&Math.abs(u-d)<=h?n.push(i*o>l*c?r:e):(n.push(r),n.push(e))})),n})(e).forEach((e=>{const{height:n,width:r,x:i,y:a}=e;if(0===r||0===n)return;const u=t.pop();if(!u)return void t.push(e);const{height:c,width:l,x:f,y:d}=u,p=f+l,h=s(l,r,.3),m=s(c,n,.6),g=Math.abs(i-p)<h,b=Math.abs(a-d)<m;g&&b?t.push(o([u,e])):(t.push(u),t.push(e))})),t},c=(e,t)=>{const{height:n,width:r,x:o,y:i}=e,{height:a,width:s,x:u,y:c}=t;return{height:n/a*100,width:r/s*100,x:Math.max(0,o-u)/s*100,y:Math.max(0,i-c)/a*100}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(16),o=n.n(r),i=n(0),a=n(57),s=n(17);const u=["intl","store"];function c(e){return function(t){let{intl:n,store:r}=t,c=o()(t,u);return i.createElement(a.b,{value:n},i.createElement(s.a,{store:r},i.createElement(e,c)))}}},function(e,t,n){"use strict";var r={},o=Math.pow(2,24);e.exports=function(){for(var e=void 0;void 0===e||r.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*o).toString(32);return r[e]=!0,e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));n(2);var r=n(0);n(151),n(38);var o="undefined"!=typeof window?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=r.createContext(null)):r.createContext(null),i=(o.Consumer,o.Provider),a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(57),i=n(38);function a(){var e=r.useContext(o.a);return Object(i.c)(e),e}},function(e,t,n){"use strict";(function(e){var r=n(111),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=s}).call(this,n(100)(e))},function(e,t,n){"use strict";var r=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function s(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,u,c,l=r(e),f=r(t);if(l&&f){if((u=e.length)!=t.length)return!1;for(n=u;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if(l!=f)return!1;var d=e instanceof Date,p=t instanceof Date;if(d!=p)return!1;if(d&&p)return e.getTime()==t.getTime();var h=e instanceof RegExp,m=t instanceof RegExp;if(h!=m)return!1;if(h&&m)return e.toString()==t.toString();var g=o(e);if((u=g.length)!==o(t).length)return!1;for(n=u;0!=n--;)if(!i.call(t,g[n]))return!1;if(a&&e instanceof Element&&t instanceof Element)return e===t;for(n=u;0!=n--;)if(!("_owner"===(c=g[n])&&e.$$typeof||s(e[c],t[c])))return!1;return!0}return e!=e&&t!=t}e.exports=function(e,t){try{return s(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return!1;throw e}}},function(e,t,n){"use strict";var r=n(391);e.exports=r},function(e,t,n){"use strict";var r=n(0),o=n(250),i=n.n(o),a=n(251),s=n.n(a);function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}class c extends r.Component{constructor(){var e,t,n;super(...arguments),e=this,t="id",n=s()("icon"),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}render(){const e=this.props,{children:t,title:n}=e,o=u(e,["children","title"]),a="".concat(this.id,"-title"),s=i()(o,["role","aria-labelledby"]);return s.focusable="false",n?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),r.createElement("svg",s,n?r.createElement("title",{id:a},n):null,t)}}t.a=c},function(e,t,n){"use strict";n.d(t,"b",(function(){return we})),n.d(t,"a",(function(){return Se}));var r=n(3),o=n.n(r);function i(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function a(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function s(e){var t=a(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function u(e){return e instanceof a(e).Element||e instanceof Element}function c(e){return e instanceof a(e).HTMLElement||e instanceof HTMLElement}function l(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return(u(e)?e.ownerDocument:e.document).documentElement}function d(e){return i(f(e)).left+s(e).scrollLeft}function p(e){return a(e).getComputedStyle(e)}function h(e){var t=p(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function m(e,t,n){void 0===n&&(n=!1);var r,o,u=f(t),p=i(e),m={scrollLeft:0,scrollTop:0},g={x:0,y:0};return n||(("body"!==l(t)||h(u))&&(m=(r=t)!==a(r)&&c(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:s(r)),c(t)?((g=i(t)).x+=t.clientLeft,g.y+=t.clientTop):u&&(g.x=d(u))),{x:p.left+m.scrollLeft-g.x,y:p.top+m.scrollTop-g.y,width:p.width,height:p.height}}function g(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function b(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||e.host||f(e)}function y(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:c(e)&&h(e)?e:y(b(e))}function v(e,t){void 0===t&&(t=[]);var n=y(e),r="body"===l(n),o=a(n),i=r?[o].concat(o.visualViewport||[],h(n)?n:[]):n,s=t.concat(i);return r?s:s.concat(v(b(i)))}function w(e){return["table","td","th"].indexOf(l(e))>=0}function S(e){return c(e)&&"fixed"!==p(e).position?e.offsetParent:null}function E(e){for(var t=a(e),n=S(e);n&&w(n);)n=S(n);return n&&"body"===l(n)&&"static"===p(n).position?t:n||t}var x="top",_="bottom",O="right",k="left",C="auto",T=[x,_,O,k],A="start",P="end",I="clippingParents",j="viewport",L="popper",D="reference",M=T.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+P])}),[]),N=[].concat(T,[C]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+P])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var B={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function H(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?B:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,{},i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,f={state:s,setOptions:function(n){d(),s.options=Object.assign({},i,{},s.options,{},n),s.scrollParents={reference:u(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)};var o=function(e){var t=F(e);return R.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,{},t,{options:Object.assign({},n.options,{},t.options),data:Object.assign({},n.data,{},t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=o.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:f,options:r}),a=function(){};c.push(i||a)}})),f.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(U(t,n)){s.rects={reference:m(t,E(n),"fixed"===s.options.strategy),popper:g(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,u=void 0===a?{}:a,c=o.name;"function"==typeof i&&(s=i({state:s,options:u,name:c,instance:f})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),l=!0}};if(!U(e,t))return f;function d(){c.forEach((function(e){return e()})),c=[]}return f.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var z={passive:!0};function K(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?K(o):null,a=o?V(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case x:t={x:s,y:n.y-r.height};break;case _:t={x:s,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:u};break;case k:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?q(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case A:t[c]=Math.floor(t[c])-Math.floor(n[l]/2-r[l]/2);break;case P:t[c]=Math.floor(t[c])+Math.ceil(n[l]/2-r[l]/2)}}return t}var W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i),d=l.x,p=l.y,h=i.hasOwnProperty("x"),m=i.hasOwnProperty("y"),g=k,b=x,y=window;if(c){var v=E(n);v===a(n)&&(v=f(n)),o===x&&(b=_,p-=v.clientHeight-r.height,p*=u?1:-1),o===k&&(g=O,d-=v.clientWidth-r.width,d*=u?1:-1)}var w,S=Object.assign({position:s},c&&W);return u?Object.assign({},S,((w={})[b]=m?"0":"",w[g]=h?"0":"",w.transform=(y.devicePixelRatio||1)<2?"translate("+d+"px, "+p+"px)":"translate3d("+d+"px, "+p+"px, 0)",w)):Object.assign({},S,((t={})[b]=m?p+"px":"",t[g]=h?d+"px":"",t.transform="",t))}var Y={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(function(e){return Y[e]}))}var Z={start:"end",end:"start"};function Q(e){return e.replace(/start|end/g,(function(e){return Z[e]}))}function J(e){return parseFloat(e)||0}function ee(e){var t=a(e),n=function(e){var t=c(e)?p(e):{};return{top:J(t.borderTopWidth),right:J(t.borderRightWidth),bottom:J(t.borderBottomWidth),left:J(t.borderLeftWidth)}}(e),r="html"===l(e),o=d(e),i=e.clientWidth+n.right,s=e.clientHeight+n.bottom;return r&&t.innerHeight-e.clientHeight>50&&(s=t.innerHeight-n.bottom),{top:r?0:e.clientTop,right:e.clientLeft>n.left?n.right:r?t.innerWidth-i-o:e.offsetWidth-i,bottom:r?t.innerHeight-s:e.offsetHeight-s,left:r?o:e.clientLeft}}function te(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,t){return t===j?ne(function(e){var t=a(e),n=t.visualViewport,r=t.innerWidth,o=t.innerHeight;return n&&/iPhone|iPod|iPad/.test(navigator.platform)&&(r=n.width,o=n.height),{width:r,height:o,x:0,y:0}}(e)):c(t)?i(t):ne(function(e){var t=a(e),n=s(e),r=m(f(e),t);return r.height=Math.max(r.height,t.innerHeight),r.width=Math.max(r.width,t.innerWidth),r.x=-n.scrollLeft,r.y=-n.scrollTop,r}(f(e)))}function oe(e,t,n){var r="clippingParents"===t?function(e){var t=v(e),n=["absolute","fixed"].indexOf(p(e).position)>=0&&c(e)?E(e):e;return u(n)?t.filter((function(e){return u(e)&&te(e,n)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=re(e,n),o=ee(c(n)?n:f(e));return t.top=Math.max(r.top+o.top,t.top),t.right=Math.min(r.right-o.right,t.right),t.bottom=Math.min(r.bottom-o.bottom,t.bottom),t.left=Math.max(r.left+o.left,t.left),t}),re(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},e)}function ae(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,s=void 0===a?I:a,c=n.rootBoundary,l=void 0===c?j:c,d=n.elementContext,p=void 0===d?L:d,h=n.altBoundary,m=void 0!==h&&h,g=n.padding,b=void 0===g?0:g,y=ie("number"!=typeof b?b:ae(b,T)),v=p===L?D:L,w=e.elements.reference,S=e.rects.popper,E=e.elements[m?v:p],k=oe(u(E)?E:E.contextElement||f(e.elements.popper),s,l),C=i(w),A=G({reference:C,element:S,strategy:"absolute",placement:o}),P=ne(Object.assign({},S,{},A)),M=p===L?P:C,N={top:k.top-M.top+y.top,bottom:M.bottom-k.bottom+y.bottom,left:k.left-M.left+y.left,right:M.right-k.right+y.right},R=e.modifiersData.offset;if(p===L&&R){var F=R[o];Object.keys(N).forEach((function(e){var t=[O,_].indexOf(e)>=0?1:-1,n=[x,_].indexOf(e)>=0?"y":"x";N[e]+=F[n]*t}))}return N}function ue(e,t,n){return Math.max(e,Math.min(t,n))}function ce(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function le(e){return[x,O,_,k].some((function(t){return e[t]>=0}))}var fe=H({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,s=r.resize,u=void 0===s||s,c=a(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",n.update,z)})),u&&c.addEventListener("resize",n.update,z),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",n.update,z)})),u&&c.removeEventListener("resize",n.update,z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s={placement:K(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,{},$(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},$(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];c(o)&&l(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});c(r)&&l(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=N.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),o=[k,x].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[k,O].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,b=K(g),y=u||(b===g||!h?[X(g)]:function(e){if(K(e)===C)return[];var t=X(e);return[Q(e),t,Q(t)]}(g)),v=[g].concat(y).reduce((function(e,n){return e.concat(K(n)===C?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?N:u,l=V(r),f=(l?s?M:M.filter((function(e){return V(e)===l})):T).filter((function(e){return c.indexOf(e)>=0})),d=f.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[K(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,S=t.rects.popper,E=new Map,P=!0,I=v[0],j=0;j<v.length;j++){var L=v[j],D=K(L),R=V(L)===A,F=[x,_].indexOf(D)>=0,B=F?"width":"height",U=se(t,{placement:L,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),H=F?R?O:k:R?_:x;w[B]>S[B]&&(H=X(H));var z=X(H),q=[];if(i&&q.push(U[D]<=0),s&&q.push(U[H]<=0,U[z]<=0),q.every((function(e){return e}))){I=L,P=!1;break}E.set(L,q)}if(P)for(var G=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},W=h?3:1;W>0;W--){if("break"===G(W))break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,b=se(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),y=K(t.placement),v=V(t.placement),w=!v,S=q(y),C="x"===S?"y":"x",T=t.modifiersData.popperOffsets,P=t.rects.reference,I=t.rects.popper,j="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,L={x:0,y:0};if(T){if(i){var D="y"===S?x:k,M="y"===S?_:O,N="y"===S?"height":"width",R=T[S],F=T[S]+b[D],B=T[S]-b[M],U=p?-I[N]/2:0,H=v===A?P[N]:I[N],z=v===A?-I[N]:-P[N],G=t.elements.arrow,W=p&&G?g(G):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=$[D],X=$[M],Z=ue(0,P[N],W[N]),Q=w?P[N]/2-U-Z-Y-j:H-Z-Y-j,J=w?-P[N]/2+U+Z+X+j:z+Z+X+j,ee=t.elements.arrow&&E(t.elements.arrow),te=ee?"y"===S?ee.clientTop||0:ee.clientLeft||0:0,ne=t.modifiersData.offset?t.modifiersData.offset[t.placement][S]:0,re=T[S]+Q-ne-te,oe=T[S]+J-ne,ie=ue(p?Math.min(F,re):F,R,p?Math.max(B,oe):B);T[S]=ie,L[S]=ie-R}if(s){var ae="x"===S?x:k,ce="x"===S?_:O,le=T[C],fe=ue(le+b[ae],le,le-b[ce]);T[C]=fe,L[C]=fe-le}t.modifiersData[r]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=K(n.placement),s=q(a),u=[k,O].indexOf(a)>=0?"height":"width";if(o&&i){var c=n.modifiersData[r+"#persistent"].padding,l=g(o),f="y"===s?x:k,d="y"===s?_:O,p=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],h=i[s]-n.rects.reference[s],m=E(o),b=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,y=p/2-h/2,v=c[f],w=b-l[u]-c[d],S=b/2-l[u]/2+y,C=ue(v,S,w),T=s;n.modifiersData[r]=((t={})[T]=C,t.centerOffset=C-S,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&te(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:ie("number"!=typeof s?s:ae(s,T))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),u=ce(a,r),c=ce(s,o,i),l=le(u),f=le(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),de=n(245),pe=n.n(de),he=n(246),me=n.n(he);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ye={modifiers:[],placement:"bottom"},ve=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return me()(e,t,"name")};function we(e,t,n={}){return fe(e,t,pe()({},ye,n,ve))}function Se(e,t,n,r){const o={bottom:r+e,height:e,left:n,right:n+t,top:r,width:t,x:n,y:r};return be(be({},o),{},{toJSON:()=>be({},o)})}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r.g})),n.d(t,"b",(function(){return r.b})),n.d(t,"a",(function(){return fe}));var r=n(19),o=n(6),i=n.n(o),a=n(0),s=n.n(a),u=n(33),c=n(44),l=n(17),f=n(9),d=n.n(f),p=n(28),h=n(16),m=n.n(h);const g=["pathCommands"],b=(e,t)=>{const{pathCommands:n}=e,r=m()(e,g);return s.a.createElement("path",i()({ref:t,d:n,strokeLinecap:"round",vectorEffect:"non-scaling-stroke"},r))};var y=s.a.forwardRef(b);var v=Object(a.createContext)("");n(493);function w({borderStrokeWidth:e=0,isDecorated:t=!1,points:n=[]}){const o=s.a.useContext(v),i=Object(r.e)(n);return s.a.createElement("g",{className:"ba-DecoratedDrawingPath"},t&&s.a.createElement("g",{className:"ba-DecoratedDrawingPath-decoration"},s.a.createElement(y,{className:"ba-DecoratedDrawingPath-shadow",filter:`url(#${o})`,pathCommands:i}),s.a.createElement(y,{className:"ba-DecoratedDrawingPath-border",fill:"none",pathCommands:i,stroke:p.f,strokeWidth:e})),s.a.createElement(y,{pathCommands:i}))}var S=n(7),E=n.n(S),x=n(155);const _=["className","children"];function O(e,t){let{className:n,children:r}=e,o=m()(e,_);const{current:a}=s.a.useRef(`ba-DrawingSVG-shadow_${x.a()}`);return s.a.createElement("svg",i()({ref:t,className:d()("ba-DrawingSVG",n),preserveAspectRatio:"none",viewBox:"0 0 100 100"},o),s.a.createElement("defs",null,s.a.createElement("filter",{filterUnits:"userSpaceOnUse",id:a},s.a.createElement("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"1"}))),s.a.createElement(v.Provider,{value:a},r))}var k=s.a.forwardRef(O);var C=({children:e,isActive:t=!1,rootEl:n,stroke:{color:o,size:i}})=>{let s=i,u=s+2;if(!Object(r.h)()){if(!n)return a.createElement("g",{className:"ba-DrawingPathGroup"});const{clientWidth:e}=n,t=e/100;s/=t,u/=t}return a.createElement("g",{className:d()("ba-DrawingPathGroup",{"is-active":t}),fill:"transparent",stroke:o,strokeWidth:s},"function"==typeof e?e(u):e)},T=n(50);n(494);const A=(e,t)=>{const{annotationId:n,className:o,isActive:s=!1,onSelect:u=E.a,rootEl:c,target:{path_groups:l}}=e,f=Object(r.f)(l),{x:p,y:h}=Object(r.d)(f),m=()=>{u(n)};return a.createElement("a",{ref:t,className:d()("ba-DrawingTarget",o,{"is-active":s}),"data-resin-itemid":n,"data-resin-target":"highlightDrawing","data-testid":`ba-AnnotationTarget-${n}`,href:"#",onFocus:m,onMouseDown:e=>{if(e.buttons!==T.a)return;const t=document.activeElement;e.preventDefault(),e.stopPropagation(),t&&t!==e.currentTarget&&t.blur&&t.blur(),e.currentTarget.focus?e.currentTarget.focus():m()},role:"button",tabIndex:0},a.createElement("rect",i()({fill:"transparent",transform:`translate(-${.1*p}, -${.1*h}) scale(1.1)`},f)),l.map((({clientId:e,paths:t,stroke:n})=>a.createElement(C,{key:e,isActive:s,rootEl:c,stroke:n},(e=>t.map((({clientId:t,points:n})=>a.createElement(w,{key:t,borderStrokeWidth:e,isDecorated:!0,points:n}))))))))};var P=a.forwardRef(A),I=n(79),j=n(39);function L({target:{path_groups:e}}){return e.every((({paths:e})=>e.every((({points:e})=>e.every((({x:e,y:t})=>Object(j.a)(e)&&Object(j.a)(t)))))))}function D({target:e},{target:t}){const{height:n,width:o}=Object(r.f)(e.path_groups),{height:i,width:a}=Object(r.f)(t.path_groups);return i*a-n*o}function M({activeId:e=null,annotations:t,className:n,onSelect:r=E.a}){const[o,i]=s.a.useState(null),a=Object(I.a)();return s.a.createElement(k,{ref:i,className:d()(n,{"is-listening":a}),"data-resin-component":"drawingList"},t.filter(L).sort(D).map((({id:t,target:n})=>s.a.createElement(P,{key:t,annotationId:t,isActive:e===t,onSelect:r,rootEl:o,target:n}))))}var N=s.a.memo(M),R=n(26);n(495);const F=p.a;function B({className:e,color:t=F,onStart:n,onStop:o,size:i=4}){const[a,u]=s.a.useState(R.a.init),c=s.a.useRef([]),l=s.a.useRef(null),f=s.a.useRef(!1),p=s.a.useRef(null),h=s.a.useRef(null),m=s.a.useRef(null),g=s.a.useMemo((()=>({color:t,size:i})),[t,i]),b=s.a.useCallback((()=>{const{current:e}=l,{current:t}=c;if(!e||!t.length)return[];const{height:n,width:r}=e.getBoundingClientRect(),{size:o}=g,i=r-o,a=n-o;return t.map((({x:e,y:t})=>({x:Math.min(i,Math.max(o,e))/r*100,y:Math.min(a,Math.max(o,t))/n*100})))}),[g]),v=(e,t)=>{const{current:n}=l;if(!n)return[e,t];const{left:r,top:o}=n.getBoundingClientRect();return[e-r,t-o]},w=s.a.useCallback((()=>{const e=b();!e||e.length<=1||(u(R.a.init),c.current=[],f.current=!0,o({paths:[{points:e}],stroke:g}))}),[b,o,u,g]),S=s.a.useCallback(((e,t)=>{const[r,o]=v(e,t),{current:i}=c;i.push({x:r,y:o}),f.current=!0,a!==R.a.drawing&&(u(R.a.drawing),n())}),[a,n,u]),E=e=>{m.current=window.requestAnimationFrame(e)},x=()=>{const{current:e}=f,{current:t}=p;e&&t&&(t.setAttribute("d",Object(r.e)(b())),f.current=!1),E(x)};return s.a.useEffect((()=>(a!==R.a.init&&E(x),()=>{const{current:e}=m;e&&window.cancelAnimationFrame(e)})),[a]),s.a.useEffect((()=>{const{current:e}=l;e&&(e.style.cursor="crosshair",e.style.cursor=(e=>`url("data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' viewBox='0 0 32 32'>\n <defs>\n <path id='ba-DrawingCursor-b' d='M23.0868949,12.6610542 L21.7362465,14.0116939 C21.5985448,14.1493947 21.3758783,14.1493947 21.2381766,14.0116939 L17.9860729,10.7596114 C17.8483713,10.6219106 17.8483713,10.3992455 17.9860729,10.2615447 L19.3367214,8.91090502 C19.8845983,8.36303166 20.7752645,8.36303166 21.3260713,8.91090502 L23.0868949,10.6717173 C23.6377017,11.2195906 23.6377017,12.1102511 23.0868949,12.6610542 Z M16.825863,11.4217471 L9.13214756,19.1154126 L8.51102507,22.6751246 C8.4260602,23.1556124 8.8450249,23.5716446 9.32551588,23.4896101 L12.8852509,22.8655618 L20.5789664,15.1718963 C20.7166681,15.0341955 20.7166681,14.8115304 20.5789664,14.6738296 L17.3268627,11.4217471 C17.1862312,11.2840463 16.9635647,11.2840463 16.825863,11.4217471 Z M12.1352162,18.4562067 C11.974076,18.2950675 11.974076,18.0372447 12.1352162,17.8761055 L16.6471438,13.3642072 C16.8082841,13.203068 17.0661085,13.203068 17.2272488,13.3642072 C17.388389,13.5253464 17.388389,13.7831692 17.2272488,13.9443084 L12.7153212,18.4562067 C12.5541809,18.6173459 12.2963565,18.6173459 12.1352162,18.4562067 L12.1352162,18.4562067 Z M11.0775501,20.9201719 L12.4838652,20.9201719 L12.4838652,21.9836908 L10.5941293,22.3147587 L9.6829543,21.4035896 L10.0140243,19.513866 L11.0775501,19.513866 L11.0775501,20.9201719 Z'/>\n <filter id='ba-DrawingCursor-a' width='196.7%' height='196.7%' x='-48.3%' y='-41.7%' filterUnits='objectBoundingBox'>\n <feMorphology in='SourceAlpha' operator='dilate' radius='.75' result='shadowSpreadOuter1'/>\n <feOffset dy='1' in='shadowSpreadOuter1' result='shadowOffsetOuter1'/>\n <feGaussianBlur in='shadowOffsetOuter1' result='shadowBlurOuter1' stdDeviation='2'/>\n <feComposite in='shadowBlurOuter1' in2='SourceAlpha' operator='out' result='shadowBlurOuter1'/>\n <feColorMatrix in='shadowBlurOuter1' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24647618 0'/>\n </filter>\n </defs>\n <g fill='none' stroke-linejoin='round'>\n <use fill='#000' filter='url(#ba-DrawingCursor-a)' xlink:href='#ba-DrawingCursor-b'/>\n <path fill='${e}' fill-rule='evenodd' stroke='#FFF' stroke-width='.75' d='M16.8075762,10.9097054 L21.119532,14.6460363 L13.0730631,23.2133559 L9.38862666,23.8592613 C9.02061417,23.9220923 8.67630709,23.7937251 8.44046,23.5578795 C8.23387707,23.3512979 8.11025348,23.0623685 8.12610763,22.7471873 L8.14160649,22.6106659 L8.78311611,18.9341134 L16.8075762,10.9097054 Z M10.3290377,19.888866 L10.0859707,21.276275 L10.7214427,21.9117429 L12.1088652,21.6686767 L12.1088652,21.2951719 L10.7025501,21.2951719 L10.3290377,19.888866 Z M16.912308,13.6293731 L12.4003804,18.1412714 L12.3922785,18.1528739 L12.3922785,18.1528739 L12.389361,18.1661561 C12.389361,18.1753081 12.3934679,18.1841284 12.4003804,18.1910408 C12.4072938,18.1979542 12.4161155,18.2020611 12.4252687,18.2020611 C12.4344219,18.2020611 12.4432436,18.1979542 12.450157,18.1910408 L12.450157,18.1910408 L16.9620846,13.6791425 L16.9701864,13.66754 L16.9701864,13.66754 L16.973104,13.6542578 C16.973104,13.6384287 16.9537538,13.6286304 16.912308,13.6293731 L16.912308,13.6293731 Z M20.3302976,8.125 C20.7859086,8.125 21.2419828,8.29834457 21.5912354,8.64573912 L21.5912354,8.64573912 L23.3513511,10.4058452 C23.7004504,10.7530854 23.875,11.2089541 23.875,11.6652871 C23.875,12.1211084 23.7008005,12.577481 23.3520591,12.9262201 L23.3520591,12.9262201 L21.7544376,14.5238313 L17.4797801,10.8169258 L19.0500461,8.66761683 C19.3996549,8.30599451 19.8646885,8.125 20.3302976,8.125 Z'/>\n </g>\n </svg>`)}") 6 22, crosshair`)(t))}),[t,l]),s.a.createElement(R.b,{ref:l,className:d()(e,"ba-DrawingCreator"),"data-testid":"ba-DrawingCreator",onDrawStart:(e,t)=>{const[n,r]=v(e,t);u(R.a.dragging),c.current=[{x:n,y:r}],f.current=!0},onDrawStop:w,onDrawUpdate:S,status:a},a!==R.a.init&&s.a.createElement(k,{ref:h,className:"ba-DrawingCreator-current"},s.a.createElement(C,{rootEl:h.current,stroke:g},s.a.createElement(y,{ref:p}))))}var U=n(78);const H=["children","onMount"];function z(e,t){const{children:n,onMount:r=E.a}=e,o=m()(e,H),a=Object(U.a)(r);return s.a.createElement("g",i()({ref:t,"data-ba-reference-id":a},o),n)}var K=s.a.forwardRef(z),V=n(58),q=n(236),G=n(62);function W(){return W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(this,arguments)}var $=e=>a.createElement(G.a,W({width:16,height:16,viewBox:"0 0 16 16"},e),a.createElement("path",{fill:p.c,d:"M8 0a8 8 0 110 16A8 8 0 018 0zm0 1a7 7 0 100 14A7 7 0 008 1zm1.313 2.743c.162 0 .301.054.417.178l2.057 2.088a.685.685 0 01.21.487c0 .178-.078.34-.21.472l-2.064 2.11a.59.59 0 01-1.005-.433c0-.146.053-.309.177-.41l.92-.858.449-.324-.828.038H7.147c-1.09 0-1.902.78-1.902 1.909 0 1.16.908 1.8 2.022 1.8h1.082c.372 0 .647.217.647.604 0 .386-.268.596-.654.596H7.267C5.442 12 4 10.856 4 9s1.33-3.084 3.147-3.084h2.29l.827.039-.58-.449-.781-.75a.543.543 0 01-.186-.418.59.59 0 01.596-.595z"}));function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(this,arguments)}var X=e=>a.createElement(G.a,Y({width:16,height:16,viewBox:"0 0 16 16"},e),a.createElement("path",{fill:p.b,fillRule:"evenodd",d:"M14 2l-1.8 11c-.1.6-.7 1-1.2 1H5c-.6 0-1.1-.5-1.2-1L2 2h12zm-1.2 1H3.2l1.6 9.9s.1.1.2.1h6c.06 0 .12-.036.158-.065l.042-.035L12.8 3zm-2.3 1c.3 0 .5.2.5.5s-.2.5-.5.5h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5z"}));function Z(){return Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z.apply(this,arguments)}var Q=e=>a.createElement(G.a,Z({width:16,height:16,viewBox:"0 0 16 16"},e),a.createElement("path",{fill:p.c,d:"M8 0a8 8 0 110 16A8 8 0 018 0zm0 1a7 7 0 100 14A7 7 0 008 1zM6.683 3.743a.59.59 0 01.596.595c0 .17-.07.317-.186.418l-.78.75-.58.449.827-.04h2.289c1.817 0 3.147 1.229 3.147 3.085 0 1.856-1.442 3-3.267 3H7.654C7.268 12 7 11.79 7 11.404c0-.387.276-.604.647-.604h1.082c1.114 0 2.022-.64 2.022-1.8 0-1.129-.812-1.909-1.902-1.909h-2.29l-.827-.038.449.324.92.859c.124.1.178.263.178.41a.59.59 0 01-1.005.433L4.209 6.968A.664.664 0 014 6.496c0-.186.077-.356.209-.487L6.266 3.92a.545.545 0 01.417-.178z"})),J=n(21),ee=n(43);n(517);const te={modifiers:[{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:({popper:e})=>[-e.width/2,8]}},{name:"preventOverflow",options:{altAxis:!0,padding:50}}],placement:"top"},ne=(e,t)=>{const{canComment:n,canRedo:r,canUndo:o,className:i,onDelete:a,onRedo:u,onReply:c,onUndo:l,reference:f}=e,p=Object(V.a)();return s.a.createElement(ee.a,{ref:t,className:d()(i,"ba-PopupDrawingToolbar"),"data-resin-component":"popupDrawingToolbar",options:te,reference:f},s.a.createElement("div",{className:"ba-PopupDrawingToolbar-group"},s.a.createElement("button",{className:"ba-PopupDrawingToolbar-undo","data-testid":"ba-PopupDrawingToolbar-undo",disabled:!o,onClick:()=>l(),title:p.formatMessage(J.a.drawingButtonUndo),type:"button"},s.a.createElement(Q,null)),s.a.createElement("button",{className:"ba-PopupDrawingToolbar-redo","data-testid":"ba-PopupDrawingToolbar-redo",disabled:!r,onClick:()=>u(),title:p.formatMessage(J.a.drawingButtonRedo),type:"button"},s.a.createElement($,null)),s.a.createElement("button",{className:"ba-PopupDrawingToolbar-delete","data-testid":"ba-PopupDrawingToolbar-delete",onClick:()=>a(),title:p.formatMessage(J.a.drawingButtonDelete),type:"button"},s.a.createElement(X,null))),s.a.createElement("div",{className:"ba-PopupDrawingToolbar-group"},s.a.createElement("button",{className:"ba-PopupDrawingToolbar-comment","data-testid":"ba-PopupDrawingToolbar-comment",disabled:!n,onClick:()=>c(),type:"button"},s.a.createElement(q.a,J.a.drawingButtonAddComment))))};var re=s.a.forwardRef(ne),oe=n(1);n(518);var ie=e=>{const{activeAnnotationId:t,addDrawingPathGroup:n,annotations:r,canShowPopupToolbar:o,color:i,drawnPathGroups:a,isCreating:u,location:c,redoDrawingPathGroup:l,resetDrawing:f,setActiveAnnotationId:p,setReferenceId:h,setStaged:m,setStatus:g,setupDrawing:b,stashedPathGroups:y,undoDrawingPathGroup:v}=e,[S,E]=s.a.useState(!1),[x,_]=s.a.useState(null),O=a.length>0,T=y.length>0,A=O||T,P=s.a.useRef(null),I=s.a.useRef(null),{current:j}=I;return s.a.useEffect((()=>{const{current:e}=P;e?.popper&&a.length&&e.popper.update()}),[a]),s.a.createElement(s.a.Fragment,null,s.a.createElement(N,{activeId:t,annotations:r,className:"ba-DrawingAnnotations-list",onSelect:e=>{p(e)}}),A&&s.a.createElement(k,{ref:_,className:"ba-DrawingAnnotations-target"},s.a.createElement(K,{ref:I,onMount:e=>{h(e)}},a.map((({clientId:e,paths:t,stroke:n})=>s.a.createElement(C,{key:e,rootEl:x,stroke:n},(e=>t.map((({clientId:t,points:n})=>s.a.createElement(w,{key:t,borderStrokeWidth:e,isDecorated:!0,points:n}))))))))),u&&s.a.createElement(B,{className:"ba-DrawingAnnotations-creator",color:i,onStart:()=>{b(c),g(oe.a.started),E(!0)},onStop:e=>{n(e),E(!1)}}),u&&A&&j&&o&&s.a.createElement(re,{ref:P,canComment:O,canRedo:T,canUndo:O,className:d()("ba-DrawingAnnotations-toolbar",{"ba-is-drawing":S}),onDelete:()=>{f()},onRedo:()=>{l()},onReply:()=>{m({location:c,pathGroups:a}),g(oe.a.staged)},onUndo:()=>{v()},reference:j}))},ae=n(55),se=n(46),ue=n(113);const ce={addDrawingPathGroup:se.a,redoDrawingPathGroup:se.e,resetDrawing:se.f,setActiveAnnotationId:oe.B,setReferenceId:oe.I,setStaged:oe.M,setStatus:oe.N,setupDrawing:ue.b,undoDrawingPathGroup:se.h};var le=Object(l.b)(((e,{location:t})=>{const n=Object(oe.p)(e);return{activeAnnotationId:Object(oe.f)(e),annotations:Object(oe.i)(e,t).filter(r.g),color:Object(oe.k)(e),canShowPopupToolbar:n===oe.a.started,drawnPathGroups:Object(se.c)(e,t),isCreating:Object(oe.h)(e)===oe.b.DRAWING&&n!==oe.a.pending,stashedPathGroups:Object(se.d)(e,t)}}),ce)(Object(ae.a)(ie));class fe extends c.a{decorate(){this.reactEl.classList.add("ba-Layer--drawing"),this.reactEl.dataset.testid="ba-Layer--drawing"}render(e){this.root||(this.root=u.createRoot(this.reactEl)),this.root.render(a.createElement(le,i()({location:this.location},e)))}}},function(e,t,n){var r=n(72),o=n(261),i=n(262),a=r?r.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)}},function(e,t,n){var r=n(269),o=n(272);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";var r=n(36),o=n(10),i=n(88),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),d=c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),p=function(e){function t(n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e}(n)))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.findStyleRanges=function(e,t){i(this.getCharacterList(),h,e,t)},t.prototype.findEntityRanges=function(e,t){i(this.getCharacterList(),m,e,t)},t}(d);function h(e,t){return e.getStyle()===t.getStyle()}function m(e,t){return e.getEntity()===t.getEntity()}e.exports=p},function(e,t,n){"use strict";var r=n(11),o=55296,i=57343,a=/[\uD800-\uDFFF]/;function s(e){return o<=e&&e<=i}function u(e){return a.test(e)}function c(e,t){return 1+s(e.charCodeAt(t))}function l(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!u(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=c(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=c(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=c(e,i);return e.substring(o,i)}var f={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=c(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:c,hasSurrogateUnit:u,isCodeUnitInSurrogateRange:s,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||r(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),a=e.charCodeAt(t+1);return o<=n&&n<=56319&&56320<=a&&a<=i},strlen:function(e){if(!u(e))return e.length;for(var t=0,n=0;n<e.length;n+=c(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return l(e,t=t<n?t:n,r)},substr:l};e.exports=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(5);const o=Object(r.b)("SET_COLOR"),i=Object(r.b)("TOGGLE_ANNOTATION_MODE")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u}));var r,o=n(2);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var i=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Object(o.b)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,o,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),r.INVALID_VALUE,i)||this}return Object(o.b)(t,e),t}(i),s=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,o)||this}return Object(o.b)(t,e),t}(i),u=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return Object(o.b)(t,e),t}(i)},,function(e,t,n){var r=n(47).Symbol;e.exports=r},function(e,t,n){var r=n(119),o=n(126);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(178),o=n(122);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=i?i(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?o(n,c,l):r(n,c,l)}return n}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}(),e.exports=n(347)},function(e,t,n){"use strict";var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},t.prototype.getAnchorKey=function(){return this.get("anchorKey")},t.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},t.prototype.getFocusKey=function(){return this.get("focusKey")},t.prototype.getFocusOffset=function(){return this.get("focusOffset")},t.prototype.getIsBackward=function(){return this.get("isBackward")},t.prototype.getHasFocus=function(){return this.get("hasFocus")},t.prototype.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset();return t<=this.getEndOffset()&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&n>=a},t.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}((0,n(10).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n.n(r),i=n(155);function a(e){const t=o.a.useRef(i.a());return o.a.useEffect((()=>{e(t.current)}),[e]),t.current}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(17),o=n(1);function i(){const e=r.d(o.p),t=r.d(o.t);return e===o.a.init&&!t}},function(e,t,n){e.exports=n(311)},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(94);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(299),o=n(52),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){var r=n(47),o=n(300),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u}).call(this,n(123)(e))},function(e,t,n){var r=n(179),o=n(195),i=n(73);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(374),o=n(120),i=n(375),a=n(206),s=n(376),u=n(65),c=n(159),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),g=c(o),b=c(i),y=c(a),v=c(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=d||s&&w(new s)!=p)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return l;case b:return f;case y:return d;case v:return p}return t}),e.exports=w},function(e,t,n){"use strict";var r=n(10).OrderedMap,o={createFromArray:function(e){return r(e.map((function(e){return[e.getKey(),e]})))}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i})),n(e.last())&&r(o,e.count())}}},function(e,t,n){"use strict";e.exports=function(e){return"handled"===e||!0===e}},function(e,t,n){"use strict";var r=n(32);e.exports=function(e,t,n){var o=e.getSelection(),i=e.getCurrentContent(),a=o;if(o.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i}else if(e.isSelectionAtStartOfContent())return i;if((a=t(e))===o)return i}return r.removeRange(i,a,n)}},function(e,t,n){var r=n(48),o=n(478),i=n(194),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,c,l,f,d,p,h=0,m=!1,g=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=c;return u=c=void 0,h=t,f=e.apply(r,n)}function v(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=l}function w(){var e=o();if(v(e))return S(e);d=setTimeout(w,function(e){var n=t-(e-p);return g?s(n,l-(e-h)):n}(e))}function S(e){return d=void 0,b&&u?y(e):(u=c=void 0,f)}function E(){var e=o(),n=v(e);if(u=arguments,c=this,p=e,n){if(void 0===d)return function(e){return h=e,d=setTimeout(w,t),m?y(e):f}(p);if(g)return clearTimeout(d),d=setTimeout(w,t),y(p)}return void 0===d&&(d=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,b="trailing"in n?!!n.trailing:b),E.cancel=function(){void 0!==d&&clearTimeout(d),h=0,u=p=c=d=void 0},E.flush=function(){return void 0===d?f:S(o())},E}},function(e,t,n){"use strict";n.d(t,"a",(function(){return we})),n.d(t,"b",(function(){return Se}));var r=n(3),o=n.n(r),i=n(29),a=n.n(i),s=n(1),u=n(110),c=n.n(u),l=n(4);function f(e){return"".concat(l.M).concat(e)}var d=n(7),p=n.n(d),h=n(80),m=n.n(h),g=n(149),b=n.n(g),y=n(243),v=n.n(y);const w=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class S{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(l.N)&&!e.startsWith(l.M))throw w;if(!t||"string"==typeof t)return t;const n=await t(e);if(!n||"string"==typeof n||"object"==typeof n&&(n.read||n.write))return n;throw w}static async getReadToken(e,t){const n=await S.getToken(e,t);return n&&"object"==typeof n?n.read:n}static async getReadTokens(e,t){const n=Array.isArray(e)?e:[e],r=n.map((e=>S.getReadToken(e,t))),o=await Promise.all(r),i={};return o.forEach(((e,t)=>{i[n[t]]=e})),Promise.resolve(i)}static async getWriteToken(e,t){const n=await S.getToken(e,t);return n&&"object"==typeof n?n.write||n.read:n}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every((e=>e.startsWith(l.N)||e.startsWith(l.M))))throw w;return"function"==typeof t&&await t(e),Promise.resolve()}}var E=S;function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const O=12e4,k=[l.x,l.z,l.y].map(v.a);var C=class{constructor(){let{id:e,clientName:t,language:n,token:r,version:o,sharedLink:i,sharedLinkPassword:s,responseInterceptor:u,requestInterceptor:c,retryableStatusCodes:f=[l.E],shouldRetry:d=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(this,"retryCount",0),_(this,"errorInterceptor",(e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise(((n,r)=>{this.retryTimeout=setTimeout((()=>{this.axios(e.config).then(n,r)}),t)}))}const t=a()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)})),this.clientName=t,this.id=e,this.language=n,this.responseInterceptor=u||this.defaultResponseInterceptor,this.retryableStatusCodes=f,this.sharedLink=i,this.sharedLinkPassword=s,this.shouldRetry=d,this.token=r,this.version=o,this.axios=m.a.create(),this.axiosSource=m.a.CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof c&&this.axios.interceptors.request.use(c)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=3)return!1;const{response:t,request:n,config:r}=e,o=a()(t,"status"),i=a()(r,"method"),s=n&&!t,u=o===l.E,c=b()(this.retryableStatusCodes,o)&&b()(k,i);return s||u||c}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace("".concat(t.origin,"/2.0"),""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({Accept:"application/json",[l.v]:"application/json"},t);this.language&&!n[l.s]&&(n[l.s]=this.language),this.sharedLink&&(n.BoxApi="shared_link=".concat(this.sharedLink),this.sharedLinkPassword&&(n.BoxApi="".concat(n.BoxApi,"&shared_link_password=").concat(this.sharedLinkPassword))),this.clientName&&(n[l.t]=this.clientName),this.version&&(n[l.u]=this.version);const r=e||this.id||"",o=await E.getWriteToken(r,this.token);return o&&(n.Authorization="Bearer ".concat(o)),n}get(e){let{url:t,id:n,params:r={},headers:o={}}=e;return this.getHeaders(n,o).then((e=>this.axios.get(t,{cancelToken:this.axiosSource.token,params:r,headers:e,parsedUrl:this.getParsedUrl(t)})))}post(e){let{url:t,id:n,data:r,params:o,headers:i={},method:a=l.A}=e;return this.getHeaders(n,i).then((e=>this.axios({url:t,data:r,params:o,method:a,parsedUrl:this.getParsedUrl(t),headers:e})))}put(e){let{url:t,id:n,data:r,params:o,headers:i={}}=e;return this.post({id:n,url:t,data:r,params:o,headers:i,method:l.B})}delete(e){let{url:t,id:n,data:r={},headers:o={}}=e;return this.post({id:n,url:t,data:r,headers:o,method:l.w})}options(e){let{id:t,url:n,data:r,headers:o={},successHandler:i,errorHandler:a}=e;return this.getHeaders(t,o).then((e=>this.axios({url:n,data:r,method:l.z,headers:e}).then(i).catch(a))).catch(a)}uploadFile(e){let{id:t,url:n,data:r,headers:o={},method:i=l.A,successHandler:a,errorHandler:s,progressHandler:u,withIdleTimeout:c=!1,idleTimeoutDuration:f=O,idleTimeoutHandler:d}=e;return this.getHeaders(t,o).then((e=>{let t,p=u;if(c){const e=()=>{this.abort(),d&&d()};t=setTimeout(e,f),p=n=>{clearTimeout(t),t=setTimeout(e,f),u(n)}}this.axios({url:n,data:r,transformRequest:(e,t)=>{if(delete t[l.r],delete t[l.v],o[l.v]&&(t[l.v]=o[l.v]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach((n=>{t.append(n,e[n])})),t}return e},method:i,headers:e,onUploadProgress:p,cancelToken:this.axiosSource.token}).then((e=>{clearTimeout(t),a(e)})).catch((e=>{clearTimeout(t),s(e)}))})).catch(s)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=m.a.CancelToken.source())}};var T=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error("Key ".concat(e," not in cache!"));this.set(e,c()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach((t=>{t.startsWith(e)&&delete this.cache[t]}))}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}};var A=class{constructor(){this.memoryStore=new T;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return"".concat("localStore","/").concat("0","/").concat(e)}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}};const P="bcu-uploads-reachability-cached-results";var I=class{constructor(){this.localStore=new A,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(P)}saveCachedResultsToLocalStore(){this.localStore.setItem(P,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach((t=>{const n=e[t];this.isCachedHostValid(n)&&(this.cachedResults[t]=n)}))}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach((t=>{const n=this.cachedResults[t];this.isCachedHostValid(n)&&!n.isReachable&&e.push(t)})),e):e}async isReachable(e){if(e==="".concat(l.b,"/")||e==="".concat(l.c,"/"))return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const n=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,n),n}async makeReachabilityRequest(e){const t="".concat(e,"html5?reachability_test=run"),n={[l.v]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await m.a.post(t,"reachability_file=test_file_data",{headers:n})}catch(e){return!1}return!0}};function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=class{constructor(e){D(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})),D(this,"errorHandler",(e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}})),this.cache=e.cache||new T,this.apiHost=e.apiHost||l.a,this.uploadHost=e.uploadHost||l.b,this.options=L({},e,{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new C(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||p.a,this.consoleError=e.consoleError&&window.console&&window.console.error||p.a,this.uploadsReachability=new I}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,n){if(!n||!t)throw new Error("Bad box item!");if(!t[e])throw new Error("Insufficient Permissions!")}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return"".concat(this.apiHost).concat(e)}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return"".concat(this.uploadHost).concat(e)}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get(e){let{id:t,successCallback:n,errorCallback:r,requestData:o,url:i}=e;const a=i||this.getUrl(t);return this.makeRequest(l.x,t,a,n,r,o)}post(e){let{id:t,url:n,data:r,successCallback:o,errorCallback:i}=e;return this.makeRequest(l.A,t,n,o,i,r)}put(e){let{id:t,url:n,data:r,successCallback:o,errorCallback:i}=e;return this.makeRequest(l.B,t,n,o,i,r)}delete(e){let{id:t,url:n,data:r,successCallback:o,errorCallback:i}=e;return this.makeRequest(l.w,t,n,o,i,r)}async makeRequest(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.isDestroyed())return;this.successCallback=r,this.errorCallback=o;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(L({id:f(t),url:n},i));this.successHandler(e)}catch(e){this.errorHandler(e)}}};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=class extends M{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this.isDestroyed())try{const i=this.getUrl(e),a=R({},o,{marker:t,limit:n}),{data:s}=await this.xhr.get({url:i,id:f(e),params:a}),u=this.data?this.data.entries:[];this.data=R({},s,{entries:u.concat(s.entries)});const c=s.next_marker;if(r&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,n,r,o);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet(e){let{id:t,successCallback:n,errorCallback:r,marker:o="",limit:i=1e3,requestData:a,shouldFetchAll:s=!0}=e;return this.successCallback=n,this.errorCallback=r,this.markerGetRequest(t,o,i,s,a)}};function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const z=e=>{const t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(z)),t};function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class G extends B{constructor(){super(...arguments),q(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(z(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(z);return void this.successCallback(V({},e,{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(V({},e,{entries:t}))}))}formatReplies(e){return e.replies&&e.replies.length?V({},e,{replies:e.replies.map(z)}):e}getUrl(){return"".concat(this.getBaseApiUrl(),"/undoc/annotations")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e){return"".concat(this.getUrlForId(e),"/replies")}createAnnotation(e,t,n,r,o,i){this.errorCode=l.e;try{this.checkApiCallValidity(l.H,r,e)}catch(e){return void i(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:c()(a,n)},errorCallback:i,successCallback:o,url:this.getUrl()})}updateAnnotation(e,t,n,r,o,i){this.errorCode=l.h;const{message:a,status:s}=r;if(a)try{this.checkApiCallValidity(l.J,n,e)}catch(e){return void i(e,this.errorCode)}if(s)try{this.checkApiCallValidity(l.K,n,e)}catch(e){return void i(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:i,successCallback:o,url:this.getUrlForId(t)})}deleteAnnotation(e,t,n,r,o){this.errorCode=l.g;try{this.checkApiCallValidity(l.I,n,e)}catch(e){return void o(e,this.errorCode)}this.delete({id:e,errorCallback:o,successCallback:r,url:this.getUrlForId(t)})}getAnnotation(e,t,n,r,o,i){this.errorCode=l.i;try{this.checkApiCallValidity(l.L,n,e)}catch(e){return void o(e,this.errorCode)}const a=i?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:o,successCallback:r,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,n,r,o,i,a,s){this.errorCode=l.j;try{this.checkApiCallValidity(l.L,n,e)}catch(e){return void o(e,this.errorCode)}const u=V({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:o,limit:i,requestData:u,shouldFetchAll:a,successCallback:r})}getAnnotationReplies(e,t,n,r,o){this.errorCode=l.k;try{this.checkApiCallValidity(l.L,n,e)}catch(e){return void o(e,this.errorCode)}this.get({id:e,errorCallback:o,successCallback:r,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,n,r,o,i){this.errorCode=l.f;try{this.checkApiCallValidity(l.H,n,e)}catch(e){return void i(e,this.errorCode)}this.post({id:e,data:{data:{message:r}},errorCallback:i,successCallback:o,url:"".concat(this.getUrlWithRepliesForId(t),"?file_id=").concat(e)})}}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=class extends B{constructor(){var e;super(...arguments),e=this,$(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map((e=>{let t;return"group"===e.type?t=e:(t=e,t.email=t.login),{id:e.id,name:e.name,item:t}}));this.successCallback(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{entries:t}))})),$(this,"getCollaboratorsWithQuery",(function(t,n,r,o){let{includeGroups:i=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};o&&""!==o.trim()&&e.getFileCollaborators(t,n,r,{filter_term:o,include_groups:i,include_uploader_collabs:!1})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborators")}getFileCollaborators(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:l.d;this.markerGet({id:e,limit:o,successCallback:t,errorCallback:n,requestData:r})}};function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class Z{constructor(e){o()(this,"options",void 0),this.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({apiHost:l.a,clientName:"box-annotations"},e)}getAnnotationsAPI(){return new G(this.options)}getCollaboratorsAPI(){return new Y(this.options)}}var Q=n(0),J=n.n(Q),ee=n(33),te=n(17),ne=n(44),re=n(12);function oe(){const e=Object(te.c)();return J.a.useEffect((()=>{const t=()=>{e(Object(re.j)(null))};return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}})),null}class ie extends ne.a{decorate(){this.reactEl.classList.add("ba-Layer--deselect"),this.reactEl.dataset.testid="ba-Layer--deselect"}render({store:e}){this.root||(this.root=ee.createRoot(this.reactEl)),this.root.render(Q.createElement(te.a,{store:e},Q.createElement(oe,null)))}}var ae=n(23);class se{addListener(e,t){ae.a.addListener(e,t)}emit(e,...t){ae.a.emit(e,...t)}removeAllListeners(){ae.a.removeAllListeners()}removeListener(e,t){ae.a.removeListener(e,t)}}var ue=n(24),ce=n(147);function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const de=(e="en-US")=>e.substr(0,e.indexOf("-"));window.Intl.PluralRules||(n(352),n(355)),window.Intl.RelativeTimeFormat||(n(356),n(359));const pe=fe(fe({},{"ba.annotationsClose":"Close","ba.annotationsCreateError":"We’re sorry, the annotation could not be created.","ba.annotationsLoadError":"We’re sorry, the annotations failed to load for this file.","ba.annotationsPost":"Post","ba.annotationsSave":"Save","ba.popup.reply.comment":"Comment","ba.popup.reply.field":"Type a comment","ba.popups.cancel":"Cancel","ba.popups.drawing.addComment":"Add Comment","ba.popups.drawing.delete":"Delete","ba.popups.drawing.redo":"Redo","ba.popups.drawing.undo":"Undo","ba.popups.popupCursor.regionPrompt":"Draw a box to comment","ba.popups.popupHighlight.promoter":"Highlight and Comment","ba.popups.popupHighlight.restrictedPrompt":"Comments restricted to single page","ba.popups.popupList.prompt":"Mention someone to notify them","ba.popups.post":"Post","ba.popups.replyField.placeholder":"Type a comment..."}),{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.cancel":"Cancel","be.choose":"Choose","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignSignature":"Sign","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.docGenSidebar.docGenTags":"Doc Gen Tags","be.docGenSidebar.emptyTags":"This document has no tags","be.docGenSidebar.errorTags":"We couldn't load the tags","be.docGenSidebar.imageTags":"Image tags","be.docGenSidebar.refreshButton":"Refresh","be.docGenSidebar.refreshPrompt":"Please refresh the list.","be.docGenSidebar.textTags":"Text tags","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.errorState":"A network error has occurred while trying to load.","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folderState":"There are no items in this folder.","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.columnSize":"Column size","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.in":"In","be.interactedDate":"Last accessed on {date}","be.itemCreated":"Created","be.itemInteracted":"Last Accessed","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loadingState":"Please wait while the items load...","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataState":"There are no items in this folder.","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"We’re sorry, the preview didn’t load. Please refresh the page.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.recentsState":"There are no recent items yet.","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchPlaceholder":"Search files and folders","be.searchState":"Sorry, we couldn’t find what you’re looking for.","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.selectedState":"You haven’t selected any items yet.","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarDocGenTitle":"Doc Gen Tags","be.sidebarDocGenTooltip":"Box Doc Gen","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestored":"{name} restored v{version_number}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.ask":"Ask","boxui.contentAnswers.askDisabledTooltip":"You can submit another question once Box AI has finished responding","boxui.contentAnswers.askQuestionPlaceholder":"Ask anything about this document","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.hasQuestionsTooltip":"Return to Box AI","boxui.contentAnswers.inlineErrorText":"The Box AI service was unavailable.","boxui.contentAnswers.intelligenceUnavailableDescription":"The Box AI service is not responding.","boxui.contentAnswers.intelligenceUnavailableHeading":"Box AI is unavailable","boxui.contentAnswers.intelligenceUnavailableTryAgain":"Please try again later.","boxui.contentAnswers.maxCharactersReachedError":"Maximum of {characterLimit} characters reached","boxui.contentAnswers.retryResponse":"Retry","boxui.contentAnswers.welcomeAskQuestionText":"Ask questions about {name}","boxui.contentAnswers.welcomeClearChatText":"This chat will be cleared when you close this document","boxui.contentAnswers.welcomeMessageTitle":"Welcome to Box AI","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for “{itemName}”","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInCompanyCanAccessHub":"Anyone in your company with the link or people invited to this hub can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInItemCanAccessHub":"Only invited people can access this hub","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessHub":"Anyone at {company} with the link or people invited to this hub can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithLinkSignedInRequiredDescription":"Publicly accessible, sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"}),he=Object(ue.c)();var me=({language:e,locale:t,messages:n=pe}={})=>Object(ce.a)({messages:n,locale:t||de(e)},he),ge=n(37),be=Object(ge.a)({annotationsClose:{id:"ba.annotationsClose",defaultMessage:"Close"},annotationsSave:{id:"ba.annotationsSave",defaultMessage:"Save"},annotationsPost:{id:"ba.annotationsPost",defaultMessage:"Post"},annotationsCreateError:{id:"ba.annotationsCreateError",defaultMessage:"We’re sorry, the annotation could not be created."},annotationsLoadError:{id:"ba.annotationsLoadError",defaultMessage:"We’re sorry, the annotations failed to load for this file."}}),ye=n(8);n(361);const ve="ba-annotations-loaded",we={[s.b.HIGHLIGHT]:"ba-is-create--highlight",[s.b.REGION]:"ba-is-create--region"};class Se extends se{constructor({apiHost:e,container:t,features:n={},file:r,fileOptions:i,initialColor:a,initialMode:u,intl:c,token:l}){super(),o()(this,"annotatedEl",void 0),o()(this,"containerEl",void 0),o()(this,"container",void 0),o()(this,"deselectManager",null),o()(this,"features",void 0),o()(this,"intl",void 0),o()(this,"store",void 0),o()(this,"removeAnnotation",(e=>{this.store.dispatch(s.z(e))})),o()(this,"handleRemove",(e=>{this.removeAnnotation(e)})),o()(this,"handleScale",(({rotationAngle:e,scale:t})=>{this.init(t,e)})),o()(this,"handleSetActive",(e=>{this.setActiveId(e)})),o()(this,"handleSetVisible",(e=>{this.setVisibility(e)})),o()(this,"handleSetColor",(e=>{this.setColor(e)})),o()(this,"removeAnnotationClasses",(()=>{if(!this.annotatedEl)return;const e=this.annotatedEl;Object.values(we).forEach((t=>{t&&e.classList.remove(t)}))}));const f=i?.[r.id],d=f?.currentFileVersionId,p=f?.fileVersionId,h=r.file_version.id,m={annotations:{activeId:f?.annotations?.activeId??null},common:{color:a,mode:u},options:{features:n,fileId:r.id,fileVersionId:p??h,isCurrentFileVersion:!p||p===d,permissions:r.permissions}};this.container=t,this.features=n,this.intl=me(c),this.store=s.c(m,{api:new Z({apiHost:e,token:l})}),this.addListener(ye.LegacyEvent.SCALE,this.handleScale),this.addListener(ye.Event.ACTIVE_SET,this.handleSetActive),this.addListener(ye.Event.ANNOTATION_REMOVE,this.handleRemove),this.addListener(ye.Event.COLOR_SET,this.handleSetColor),this.addListener(ye.Event.VISIBLE_SET,this.handleSetVisible),this.hydrate()}destroy(){this.containerEl&&this.containerEl.classList.remove("ba"),this.annotatedEl&&this.annotatedEl.classList.remove(ve),this.deselectManager&&this.deselectManager.destroy(),this.removeAnnotationClasses(),this.removeListener(ye.LegacyEvent.SCALE,this.handleScale),this.removeListener(ye.Event.ACTIVE_SET,this.handleSetActive),this.removeListener(ye.Event.ANNOTATION_REMOVE,this.handleRemove),this.removeListener(ye.Event.COLOR_SET,this.handleSetColor),this.removeListener(ye.Event.VISIBLE_SET,this.handleSetVisible)}init(e=1,t=0){this.containerEl=this.getElement(this.container),this.annotatedEl=this.getAnnotatedElement(),this.annotatedEl&&this.containerEl?(this.annotatedEl.classList.add(ve),this.containerEl.classList.add("ba"),this.render(),this.store.dispatch(s.J(t)),this.store.dispatch(s.K(e)),this.store.dispatch(s.E())):this.emit(ye.LegacyEvent.ERROR,this.intl.formatMessage(be.annotationsLoadError))}isFeatureEnabled(e=""){return a()(this.features,e,!1)}scrollToAnnotation(e){}setActiveId(e){this.store.dispatch(s.B(e))}setColor(e){this.store.dispatch(s.C(e))}setVisibility(e){this.containerEl&&(e?this.containerEl.classList.remove("is-hidden"):this.containerEl.classList.add("is-hidden"))}toggleAnnotationMode(e){this.store.dispatch(s.O(e))}getAnnotatedElement(){}getElement(e){return"string"==typeof e?document.querySelector(e):e}hydrate(){this.store.dispatch(s.d())}render(){}postRender(){this.annotatedEl&&(this.deselectManager&&this.deselectManager.destroy(),this.deselectManager=new ie({referenceEl:this.annotatedEl}),this.deselectManager.render({store:this.store}))}}},function(e,t,n){var r=n(34),o=n(117),i=n(263),a=n(99);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(65),o=n(52);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(66)(Object,"create");e.exports=r},function(e,t,n){var r=n(277),o=n(278),i=n(279),a=n(280),s=n(281);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(81);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(283);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(287);e.exports=function(e){return null==e?"":r(e)}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(96),o=n(290),i=n(291),a=n(292),s=n(293),u=n(294);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(301),o=n(127),i=n(128),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(179),o=n(304),i=n(73);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){"use strict";(function(t){var r=n(35),o=n(316),i=n(187),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(u=n(188)),u),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c}).call(this,n(186))},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";var r=n(210),o=n(211);e.exports=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=o(e,t).getBlockMap(),c=u.keySeq(),l=c.indexOf(n),f=c.indexOf(a)+1;return r(u.slice(l,f).map((function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):e})))}},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(215),i=n(10),a=n(11),s=(0,i.Map)(),u=0;var c={getLastCreatedEntityKey:function(){return c.__getLastCreatedEntityKey()},create:function(e,t,n){return c.__create(e,t,n)},add:function(e){return c.__add(e)},get:function(e){return c.__get(e)},mergeData:function(e,t){return c.__mergeData(e,t)},replaceData:function(e,t){return c.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return""+u},__create:function(e,t,n){return c.__add(new o({type:e,mutability:t,data:n||{}}))},__add:function(e){var t=""+ ++u;return s=s.set(t,e),t},__get:function(e){var t=s.get(e);return t||a(!1),t},__mergeData:function(e,t){var n=c.__get(e),o=r({},n.getData(),t),i=n.set("data",o);return s=s.set(e,i),i},__replaceData:function(e,t){var n=c.__get(e).set("data",t);return s=s.set(e,n),n}};e.exports=c},function(e,t,n){"use strict";var r={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-"),n=t[0],r=t[1],o=t[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(o,10)}}};e.exports=r},function(e,t,n){var r=n(166),o=n(180)((function(e,t,n){r(e,t,n)}));e.exports=o},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(31))},function(e,t,n){"use strict";(function(e){var r=n(22),o=n(247),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.a.Buffer:void 0,u=(s?s.isBuffer:void 0)||o.a;t.a=u}).call(this,n(100)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u}));var r=n(1),o=n(12),i=n(18),a=n(46);const s=e=>(t,n)=>{const{location:r,message:a,pathGroups:s}=e,u=n(),c={description:{message:a,type:"reply"},file_version:{id:Object(i.b)(u)},target:{location:{type:"page",value:r},path_groups:s,type:"drawing"}};return t(Object(o.b)(c))},u=e=>(t,n)=>{const o=n();return Object(r.p)(o)===r.a.staged&&t(Object(a.f)()),t(Object(a.g)(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const r={x:0,y:0};function o(e,t,n={}){const{offsets:o=r}=n,{x:i,y:a}=o,{left:s,top:u}=e.getBoundingClientRect(),{height:c,left:l,top:f,width:d}=t.getBoundingClientRect(),p=Math.round(e.clientWidth/2),h=Math.round(e.clientHeight/2),m=l-s-p+Math.round(d*(i/100)),g=f-u-h+Math.round(c*(a/100)),b=Math.max(0,Math.min(e.scrollLeft+m,e.scrollWidth)),y=Math.max(0,Math.min(e.scrollTop+g,e.scrollHeight));e.scrollLeft=b,e.scrollTop=y}},function(e,t,n){"use strict";n.d(t,"a",(function(){return $o}));var r=n(6),o=n.n(r),i=n(0),a=n.n(i),s=n(33),u=n(44),c=n(17),l=n(3),f=n.n(l),d=n(7),p=n.n(d),h=n(16),m=n.n(h),g=n(58),b=n(152),y=n.n(b),v=n(9),w=n.n(v);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function E(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class _ extends i.Component{constructor(){super(...arguments),x(this,"focusFirstElement",(()=>{if(!this.el)return;const e=y()(this.el);e.length>3?e[1].focus():this.trapEl&&this.trapEl.focus()})),x(this,"focusLastElement",(()=>{if(!this.el)return;const e=y()(this.el);e.length>3?e[e.length-3].focus():this.trapEl&&this.trapEl.focus()})),x(this,"handleElKeyDown",(e=>{const{handleOverlayKeyDown:t}=this.props;this.el===document.activeElement&&"Tab"===e.key&&(this.focusFirstElement(),e.stopPropagation(),e.preventDefault()),t&&t(e)})),x(this,"handleTrapElKeyDown",(e=>{"Tab"===e.key&&(e.stopPropagation(),e.preventDefault())}))}componentDidMount(){this.props.shouldDefaultFocus?setTimeout((()=>{this.previousFocusEl=document.activeElement,this.focusFirstElement()}),0):setTimeout((()=>{this.el&&this.el.focus()}),0)}componentWillUnmount(){setTimeout((()=>{this.previousFocusEl&&this.previousFocusEl.focus()}),0)}render(){const e=this.props,{children:t,className:n,getRef:r,handleOverlayKeyDown:o,shouldDefaultFocus:a,shouldOutlineFocus:s}=e,u=E(e,["children","className","getRef","handleOverlayKeyDown","shouldDefaultFocus","shouldOutlineFocus"]);return i.createElement("div",S({ref:e=>{this.el=e,r&&r(e)},className:w()(n,{"should-outline-focus":s}),onKeyDown:this.handleElKeyDown},u),i.createElement("i",{"aria-hidden":!0,onFocus:this.focusLastElement,tabIndex:"0"}),t,i.createElement("i",{"aria-hidden":!0,onFocus:this.focusFirstElement,tabIndex:"0"}),i.createElement("i",{ref:e=>{this.trapEl=e},"aria-hidden":!0,onKeyDown:this.handleTrapElKeyDown,tabIndex:"0"}))}}var O=_,k=n(21),C=n(43),T=n(27);var A=e=>{let{contentState:t,entityKey:n,children:r}=e,o="";return n&&(o=t.getEntity(n).getData().id),i.createElement("a",{href:"/profile/".concat(o)},r)};var P=new T.CompositeDecorator([{strategy:(e,t,n)=>{e.findEntityRanges((e=>{const t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()}),t)},component:A}]);const I=e=>{const t=/([@@﹫])\[([0-9]+):([^\]]+)]/gi.exec(e);if(!t)return null;const[n,r,o,i]=t,a=t.index;return{start:a,end:a+n.length,data:{id:o,name:i,content:"".concat(r).concat(i)}}};var j=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=T.ContentState.createFromText(e),n=t.getFirstBlock();for(;null!=n;){const e=n.getText(),r=e?I(e):null;if(null==r)n=t.getBlockAfter(n.getKey());else{const{data:e,start:o,end:i}=r;t.createEntity("MENTION","IMMUTABLE",e);const a=t.getLastCreatedEntityKey(),s=T.SelectionState.createEmpty(n.getKey()).merge({anchorOffset:o,focusOffset:i});t=T.Modifier.replaceText(t,s,e.content,null,a),n=t.getBlockForKey(n.getKey())}}return T.EditorState.createWithContent(t,P)};const L=["@","@","﹫"].reduce(((e,t)=>"".concat(e,"\\").concat(t)),""),D=new RegExp("([".concat(L,"])([^").concat(L,"]*)$"));function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;const n=e.getCurrentContent(),r=e.getSelection(),o=r.getStartKey(),i=n.getBlockForKey(o),a=r.getStartOffset();let s=null;return i.findEntityRanges((e=>null===e.getEntity()),((e,n)=>{if(e<=a&&a<=n){const n=i.getText().substr(e,a-e).match(t);n&&(s={blockID:o,mentionString:n[2],mentionTrigger:n[1],start:e+n.index,end:a})}return null})),s}function N(e){const t=e.getCurrentContent(),n=t.getBlockMap(),r=[];let o=!1;return n.forEach((e=>{const n=e.getText(),i=[];e.findEntityRanges((()=>!0),((r,a)=>{const s=e.getEntityAt(r);if(s){const e=t.getEntity(s),u="@[".concat(e.getData().id,":").concat(n.substring(r+1,a),"]");i.push(u),o=!0}else i.push(n.substring(r,a))})),r.push(i.join(""))})),{text:r.join("\n"),hasMention:o}}var R=n(60),F=n.n(R),B=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===U}(e)}(e)};var U="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function H(e,t){return!1!==t.clone&&t.isMergeableObject(e)?K((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function z(e,t,n){return e.concat(t).map((function(e){return H(e,n)}))}function K(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||z,n.isMergeableObject=n.isMergeableObject||B;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=H(e[t],n)})),Object.keys(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=K(e[o],t[o],n):r[o]=H(t[o],n)})),r}(e,t,n):H(t,n)}K.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return K(e,n,t)}),{})};var V=K,q=n(22),G=q.a.Symbol,W=Object.prototype,$=W.hasOwnProperty,Y=W.toString,X=G?G.toStringTag:void 0;var Z=function(e){var t=$.call(e,X),n=e[X];try{e[X]=void 0;var r=!0}catch(e){}var o=Y.call(e);return r&&(t?e[X]=n:delete e[X]),o},Q=Object.prototype.toString;var J=function(e){return Q.call(e)},ee=G?G.toStringTag:void 0;var te=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ee&&ee in Object(e)?Z(e):J(e)};var ne=function(e,t){return function(n){return e(t(n))}},re=ne(Object.getPrototypeOf,Object);var oe=function(e){return null!=e&&"object"==typeof e},ie=Function.prototype,ae=Object.prototype,se=ie.toString,ue=ae.hasOwnProperty,ce=se.call(Object);var le=function(e){if(!oe(e)||"[object Object]"!=te(e))return!1;var t=re(e);if(null===t)return!0;var n=ue.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&se.call(n)==ce};var fe=function(){this.__data__=[],this.size=0};var de=function(e,t){return e===t||e!=e&&t!=t};var pe=function(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1},he=Array.prototype.splice;var me=function(e){var t=this.__data__,n=pe(t,e);return!(n<0)&&(n==t.length-1?t.pop():he.call(t,n,1),--this.size,!0)};var ge=function(e){var t=this.__data__,n=pe(t,e);return n<0?void 0:t[n][1]};var be=function(e){return pe(this.__data__,e)>-1};var ye=function(e,t){var n=this.__data__,r=pe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ve.prototype.clear=fe,ve.prototype.delete=me,ve.prototype.get=ge,ve.prototype.has=be,ve.prototype.set=ye;var we=ve;var Se=function(){this.__data__=new we,this.size=0};var Ee=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var xe=function(e){return this.__data__.get(e)};var _e=function(e){return this.__data__.has(e)};var Oe=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var ke,Ce=function(e){if(!Oe(e))return!1;var t=te(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Te=q.a["__core-js_shared__"],Ae=(ke=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||""))?"Symbol(src)_1."+ke:"";var Pe=function(e){return!!Ae&&Ae in e},Ie=Function.prototype.toString;var je=function(e){if(null!=e){try{return Ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Le=/^\[object .+?Constructor\]$/,De=Function.prototype,Me=Object.prototype,Ne=De.toString,Re=Me.hasOwnProperty,Fe=RegExp("^"+Ne.call(Re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Be=function(e){return!(!Oe(e)||Pe(e))&&(Ce(e)?Fe:Le).test(je(e))};var Ue=function(e,t){return null==e?void 0:e[t]};var He=function(e,t){var n=Ue(e,t);return Be(n)?n:void 0},ze=He(q.a,"Map"),Ke=He(Object,"create");var Ve=function(){this.__data__=Ke?Ke(null):{},this.size=0};var qe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ge=Object.prototype.hasOwnProperty;var We=function(e){var t=this.__data__;if(Ke){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ge.call(t,e)?t[e]:void 0},$e=Object.prototype.hasOwnProperty;var Ye=function(e){var t=this.__data__;return Ke?void 0!==t[e]:$e.call(t,e)};var Xe=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ke&&void 0===t?"__lodash_hash_undefined__":t,this};function Ze(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ze.prototype.clear=Ve,Ze.prototype.delete=qe,Ze.prototype.get=We,Ze.prototype.has=Ye,Ze.prototype.set=Xe;var Qe=Ze;var Je=function(){this.size=0,this.__data__={hash:new Qe,map:new(ze||we),string:new Qe}};var et=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var tt=function(e,t){var n=e.__data__;return et(t)?n["string"==typeof t?"string":"hash"]:n.map};var nt=function(e){var t=tt(this,e).delete(e);return this.size-=t?1:0,t};var rt=function(e){return tt(this,e).get(e)};var ot=function(e){return tt(this,e).has(e)};var it=function(e,t){var n=tt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function at(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}at.prototype.clear=Je,at.prototype.delete=nt,at.prototype.get=rt,at.prototype.has=ot,at.prototype.set=it;var st=at;var ut=function(e,t){var n=this.__data__;if(n instanceof we){var r=n.__data__;if(!ze||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new st(r)}return n.set(e,t),this.size=n.size,this};function ct(e){var t=this.__data__=new we(e);this.size=t.size}ct.prototype.clear=Se,ct.prototype.delete=Ee,ct.prototype.get=xe,ct.prototype.has=_e,ct.prototype.set=ut;var lt=ct;var ft=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},dt=function(){try{var e=He(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var pt=function(e,t,n){"__proto__"==t&&dt?dt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},ht=Object.prototype.hasOwnProperty;var mt=function(e,t,n){var r=e[t];ht.call(e,t)&&de(r,n)&&(void 0!==n||t in e)||pt(e,t,n)};var gt=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?pt(n,s,u):mt(n,s,u)}return n};var bt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var yt=function(e){return oe(e)&&"[object Arguments]"==te(e)},vt=Object.prototype,wt=vt.hasOwnProperty,St=vt.propertyIsEnumerable,Et=yt(function(){return arguments}())?yt:function(e){return oe(e)&&wt.call(e,"callee")&&!St.call(e,"callee")},xt=Et,_t=Array.isArray,Ot=n(112),kt=/^(?:0|[1-9]\d*)$/;var Ct=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&kt.test(e))&&e>-1&&e%1==0&&e<t};var Tt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},At={};At["[object Float32Array]"]=At["[object Float64Array]"]=At["[object Int8Array]"]=At["[object Int16Array]"]=At["[object Int32Array]"]=At["[object Uint8Array]"]=At["[object Uint8ClampedArray]"]=At["[object Uint16Array]"]=At["[object Uint32Array]"]=!0,At["[object Arguments]"]=At["[object Array]"]=At["[object ArrayBuffer]"]=At["[object Boolean]"]=At["[object DataView]"]=At["[object Date]"]=At["[object Error]"]=At["[object Function]"]=At["[object Map]"]=At["[object Number]"]=At["[object Object]"]=At["[object RegExp]"]=At["[object Set]"]=At["[object String]"]=At["[object WeakMap]"]=!1;var Pt=function(e){return oe(e)&&Tt(e.length)&&!!At[te(e)]};var It=function(e){return function(t){return e(t)}},jt=n(59),Lt=jt.a&&jt.a.isTypedArray,Dt=Lt?It(Lt):Pt,Mt=Object.prototype.hasOwnProperty;var Nt=function(e,t){var n=_t(e),r=!n&&xt(e),o=!n&&!r&&Object(Ot.a)(e),i=!n&&!r&&!o&&Dt(e),a=n||r||o||i,s=a?bt(e.length,String):[],u=s.length;for(var c in e)!t&&!Mt.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ct(c,u))||s.push(c);return s},Rt=Object.prototype;var Ft=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Rt)},Bt=ne(Object.keys,Object),Ut=Object.prototype.hasOwnProperty;var Ht=function(e){if(!Ft(e))return Bt(e);var t=[];for(var n in Object(e))Ut.call(e,n)&&"constructor"!=n&&t.push(n);return t};var zt=function(e){return null!=e&&Tt(e.length)&&!Ce(e)};var Kt=function(e){return zt(e)?Nt(e):Ht(e)};var Vt=function(e,t){return e&&gt(t,Kt(t),e)};var qt=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Gt=Object.prototype.hasOwnProperty;var Wt=function(e){if(!Oe(e))return qt(e);var t=Ft(e),n=[];for(var r in e)("constructor"!=r||!t&&Gt.call(e,r))&&n.push(r);return n};var $t=function(e){return zt(e)?Nt(e,!0):Wt(e)};var Yt=function(e,t){return e&&gt(t,$t(t),e)},Xt=n(248);var Zt=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var Qt=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var Jt=function(){return[]},en=Object.prototype.propertyIsEnumerable,tn=Object.getOwnPropertySymbols,nn=tn?function(e){return null==e?[]:(e=Object(e),Qt(tn(e),(function(t){return en.call(e,t)})))}:Jt;var rn=function(e,t){return gt(e,nn(e),t)};var on=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},an=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)on(t,nn(e)),e=re(e);return t}:Jt;var sn=function(e,t){return gt(e,an(e),t)};var un=function(e,t,n){var r=t(e);return _t(e)?r:on(r,n(e))};var cn=function(e){return un(e,Kt,nn)};var ln=function(e){return un(e,$t,an)},fn=He(q.a,"DataView"),dn=He(q.a,"Promise"),pn=He(q.a,"Set"),hn=He(q.a,"WeakMap"),mn="[object Map]",gn="[object Promise]",bn="[object Set]",yn="[object WeakMap]",vn="[object DataView]",wn=je(fn),Sn=je(ze),En=je(dn),xn=je(pn),_n=je(hn),On=te;(fn&&On(new fn(new ArrayBuffer(1)))!=vn||ze&&On(new ze)!=mn||dn&&On(dn.resolve())!=gn||pn&&On(new pn)!=bn||hn&&On(new hn)!=yn)&&(On=function(e){var t=te(e),n="[object Object]"==t?e.constructor:void 0,r=n?je(n):"";if(r)switch(r){case wn:return vn;case Sn:return mn;case En:return gn;case xn:return bn;case _n:return yn}return t});var kn=On,Cn=Object.prototype.hasOwnProperty;var Tn=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Cn.call(e,"index")&&(n.index=e.index,n.input=e.input),n},An=q.a.Uint8Array;var Pn=function(e){var t=new e.constructor(e.byteLength);return new An(t).set(new An(e)),t};var In=function(e,t){var n=t?Pn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},jn=/\w*$/;var Ln=function(e){var t=new e.constructor(e.source,jn.exec(e));return t.lastIndex=e.lastIndex,t},Dn=G?G.prototype:void 0,Mn=Dn?Dn.valueOf:void 0;var Nn=function(e){return Mn?Object(Mn.call(e)):{}};var Rn=function(e,t){var n=t?Pn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Fn=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Pn(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return In(e,n);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 Rn(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return Ln(e);case"[object Symbol]":return Nn(e)}},Bn=Object.create,Un=function(){function e(){}return function(t){if(!Oe(t))return{};if(Bn)return Bn(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Hn=function(e){return"function"!=typeof e.constructor||Ft(e)?{}:Un(re(e))};var zn=function(e){return oe(e)&&"[object Map]"==kn(e)},Kn=jt.a&&jt.a.isMap,Vn=Kn?It(Kn):zn;var qn=function(e){return oe(e)&&"[object Set]"==kn(e)},Gn=jt.a&&jt.a.isSet,Wn=Gn?It(Gn):qn,$n="[object Arguments]",Yn="[object Function]",Xn="[object Object]",Zn={};Zn[$n]=Zn["[object Array]"]=Zn["[object ArrayBuffer]"]=Zn["[object DataView]"]=Zn["[object Boolean]"]=Zn["[object Date]"]=Zn["[object Float32Array]"]=Zn["[object Float64Array]"]=Zn["[object Int8Array]"]=Zn["[object Int16Array]"]=Zn["[object Int32Array]"]=Zn["[object Map]"]=Zn["[object Number]"]=Zn[Xn]=Zn["[object RegExp]"]=Zn["[object Set]"]=Zn["[object String]"]=Zn["[object Symbol]"]=Zn["[object Uint8Array]"]=Zn["[object Uint8ClampedArray]"]=Zn["[object Uint16Array]"]=Zn["[object Uint32Array]"]=!0,Zn["[object Error]"]=Zn[Yn]=Zn["[object WeakMap]"]=!1;var Qn=function e(t,n,r,o,i,a){var s,u=1&n,c=2&n,l=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!Oe(t))return t;var f=_t(t);if(f){if(s=Tn(t),!u)return Zt(t,s)}else{var d=kn(t),p=d==Yn||"[object GeneratorFunction]"==d;if(Object(Ot.a)(t))return Object(Xt.a)(t,u);if(d==Xn||d==$n||p&&!i){if(s=c||p?{}:Hn(t),!u)return c?sn(t,Yt(s,t)):rn(t,Vt(s,t))}else{if(!Zn[d])return i?t:{};s=Fn(t,d,u)}}a||(a=new lt);var h=a.get(t);if(h)return h;a.set(t,s),Wn(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):Vn(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var m=l?c?ln:cn:c?keysIn:Kt,g=f?void 0:m(t);return ft(g||t,(function(o,i){g&&(o=t[i=o]),mt(s,i,e(o,n,r,i,t,a))})),s};var Jn=function(e){return Qn(e,4)};var er=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var tr=function(e){return"symbol"==typeof e||oe(e)&&"[object Symbol]"==te(e)};function nr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(nr.Cache||st),n}nr.Cache=st;var rr=nr;var or=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ir=/\\(\\)?/g,ar=function(e){var t=rr(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(or,(function(e,n,r,o){t.push(r?o.replace(ir,"$1"):n||e)})),t}));var sr=function(e){if("string"==typeof e||tr(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},ur=G?G.prototype:void 0,cr=ur?ur.toString:void 0;var lr=function e(t){if("string"==typeof t)return t;if(_t(t))return er(t,e)+"";if(tr(t))return cr?cr.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};var fr=function(e){return null==e?"":lr(e)};var dr=function(e){return _t(e)?er(e,sr):tr(e)?[e]:Zt(ar(fr(e)))};var pr=function(e,t){},hr=n(153),mr=n(154),gr=n.n(mr);var br=function(e){return Qn(e,5)};function yr(){return yr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yr.apply(this,arguments)}function vr(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function wr(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Sr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Er=function(e){return Array.isArray(e)&&0===e.length},xr=function(e){return"function"==typeof e},_r=function(e){return null!==e&&"object"==typeof e},Or=function(e){return String(Math.floor(Number(e)))===e},kr=function(e){return"[object String]"===Object.prototype.toString.call(e)},Cr=function(e){return 0===i.Children.count(e)},Tr=function(e){return _r(e)&&xr(e.then)};function Ar(e,t,n,r){void 0===r&&(r=0);for(var o=dr(t);e&&r<o.length;)e=e[o[r++]];return void 0===e?n:e}function Pr(e,t,n){for(var r=Jn(e),o=r,i=0,a=dr(t);i<a.length-1;i++){var s=a[i],u=Ar(e,a.slice(0,i+1));if(u&&(_r(u)||Array.isArray(u)))o=o[s]=Jn(u);else{var c=a[i+1];o=o[s]=Or(c)&&Number(c)>=0?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function Ir(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];_r(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},Ir(s,t,n,r[a])):r[a]=t}return r}var jr=Object(i.createContext)(void 0),Lr=jr.Provider,Dr=jr.Consumer;function Mr(){var e=Object(i.useContext)(jr);return e||pr(!1),e}function Nr(e,t){switch(t.type){case"SET_VALUES":return yr({},e,{values:t.payload});case"SET_TOUCHED":return yr({},e,{touched:t.payload});case"SET_ERRORS":return F()(e.errors,t.payload)?e:yr({},e,{errors:t.payload});case"SET_STATUS":return yr({},e,{status:t.payload});case"SET_ISSUBMITTING":return yr({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return yr({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return yr({},e,{values:Pr(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return yr({},e,{touched:Pr(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return yr({},e,{errors:Pr(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return yr({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return yr({},e,{touched:Ir(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return yr({},e,{isSubmitting:!1});default:return e}}var Rr={},Fr={};function Br(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,o=void 0===r||r,a=e.validateOnMount,s=void 0!==a&&a,u=e.isInitialValid,c=e.enableReinitialize,l=void 0!==c&&c,f=e.onSubmit,d=wr(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=yr({validateOnChange:n,validateOnBlur:o,validateOnMount:s,onSubmit:f},d),h=Object(i.useRef)(p.initialValues),m=Object(i.useRef)(p.initialErrors||Rr),g=Object(i.useRef)(p.initialTouched||Fr),b=Object(i.useRef)(p.initialStatus),y=Object(i.useRef)(!1),v=Object(i.useRef)({});Object(i.useEffect)((function(){0}),[]),Object(i.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var w=Object(i.useReducer)(Nr,{values:p.initialValues,errors:p.initialErrors||Rr,touched:p.initialTouched||Fr,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),S=w[0],E=w[1],x=Object(i.useCallback)((function(e,t){return new Promise((function(n,r){var o=p.validate(e,t);null==o?n(Rr):Tr(o)?o.then((function(e){n(e||Rr)}),(function(e){r(e)})):n(o)}))}),[p.validate]),_=Object(i.useCallback)((function(e,t){var n=p.validationSchema,r=xr(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var o=Hr(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){o.then((function(){e(Rr)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Pr(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;Ar(t,a.path)||(t=Pr(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[p.validationSchema]),O=Object(i.useCallback)((function(e,t){return new Promise((function(n){return n(v.current[e].validate(t))}))}),[]),k=Object(i.useCallback)((function(e){var t=Object.keys(v.current).filter((function(e){return xr(v.current[e].validate)})),n=t.length>0?t.map((function(t){return O(t,Ar(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Pr(e,t[r],n)),e}),{})}))}),[O]),C=Object(i.useCallback)((function(e){return Promise.all([k(e),p.validationSchema?_(e):{},p.validate?x(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return V.all([t,n,r],{arrayMerge:zr})}))}),[p.validate,p.validationSchema,k,x,_]),T=Vr((function(e){return void 0===e&&(e=S.values),Object(hr.unstable_runWithPriority)(hr.LowPriority,(function(){return C(e).then((function(e){return y.current&&E({type:"SET_ERRORS",payload:e}),e})).catch((function(e){0}))}))})),A=Vr((function(e){return void 0===e&&(e=S.values),E({type:"SET_ISVALIDATING",payload:!0}),C(e).then((function(e){return y.current&&(E({type:"SET_ISVALIDATING",payload:!1}),F()(S.errors,e)||E({type:"SET_ERRORS",payload:e})),e}))}));Object(i.useEffect)((function(){s&&!0===y.current&&T(h.current)}),[s,T]);var P=Object(i.useCallback)((function(e){var t=e&&e.values?e.values:h.current,n=e&&e.errors?e.errors:m.current?m.current:p.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:p.initialTouched||{},o=e&&e.status?e.status:b.current?b.current:p.initialStatus;h.current=t,m.current=n,g.current=r,b.current=o;var i=function(){E({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(p.onReset){var a=p.onReset(S.values,Z);Tr(a)?a.then(i):i()}else i()}),[p.initialErrors,p.initialStatus,p.initialTouched]);Object(i.useEffect)((function(){l||(h.current=p.initialValues)}),[l,p.initialValues]),Object(i.useEffect)((function(){l&&!0===y.current&&!F()(h.current,p.initialValues)&&(h.current=p.initialValues,P())}),[l,p.initialValues,P]),Object(i.useEffect)((function(){l&&!0===y.current&&!F()(m.current,p.initialErrors)&&(m.current=p.initialErrors||Rr,E({type:"SET_ERRORS",payload:p.initialErrors||Rr}))}),[l,p.initialErrors]),Object(i.useEffect)((function(){l&&!0===y.current&&!F()(g.current,p.initialTouched)&&(g.current=p.initialTouched||Fr,E({type:"SET_TOUCHED",payload:p.initialTouched||Fr}))}),[l,p.initialTouched]),Object(i.useEffect)((function(){l&&!0===y.current&&!F()(b.current,p.initialStatus)&&(b.current=p.initialStatus,E({type:"SET_STATUS",payload:p.initialStatus}))}),[l,p.initialStatus,p.initialTouched]);var I=Vr((function(e){if(xr(v.current[e].validate)){var t=Ar(S.values,e),n=v.current[e].validate(t);return Tr(n)?(E({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){E({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),E({type:"SET_ISVALIDATING",payload:!1})}))):(E({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return p.validationSchema?(E({type:"SET_ISVALIDATING",payload:!0}),_(S.values,e).then((function(e){return e})).then((function(t){E({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),E({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),j=Object(i.useCallback)((function(e,t){var n=t.validate;v.current[e]={validate:n}}),[]),L=Object(i.useCallback)((function(e){delete v.current[e]}),[]),D=Vr((function(e,t){return E({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?T(S.values):Promise.resolve()})),M=Object(i.useCallback)((function(e){E({type:"SET_ERRORS",payload:e})}),[]),N=Vr((function(e,t){return E({type:"SET_VALUES",payload:e}),(void 0===t?n:t)?T(e):Promise.resolve()})),R=Object(i.useCallback)((function(e,t){E({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),B=Vr((function(e,t,r){return E({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?T(Pr(S.values,e,t)):Promise.resolve()})),U=Object(i.useCallback)((function(e,t){var n,r=t,o=e;if(!kr(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,a=i.type,s=i.name,u=i.id,c=i.value,l=i.checked,f=(i.outerHTML,i.options),d=i.multiple;r=t||(s||u),o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))r=e,o=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!o)return r.concat(n);if(!o)return r;return r.slice(0,i).concat(r.slice(i+1))}(Ar(S.values,r),l,c):d?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):c}r&&B(r,o)}),[B,S.values]),H=Vr((function(e){if(kr(e))return function(t){return U(t,e)};U(e)})),z=Vr((function(e,t,n){return void 0===t&&(t=!0),E({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?o:n)?T(S.values):Promise.resolve()})),K=Object(i.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id,i=(n.outerHTML,t||(r||o));z(i,!0)}),[z]),q=Vr((function(e){if(kr(e))return function(t){return K(t,e)};K(e)})),G=Object(i.useCallback)((function(e){xr(e)?E({type:"SET_FORMIK_STATE",payload:e}):E({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=Object(i.useCallback)((function(e){E({type:"SET_STATUS",payload:e})}),[]),$=Object(i.useCallback)((function(e){E({type:"SET_ISSUBMITTING",payload:e})}),[]),Y=Vr((function(){return E({type:"SUBMIT_ATTEMPT"}),A().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Q()))return}catch(e){throw e}return Promise.resolve(n).then((function(){y.current&&E({type:"SUBMIT_SUCCESS"})})).catch((function(e){if(y.current)throw E({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(E({type:"SUBMIT_FAILURE"}),t))throw e}))})),X=Vr((function(e){e&&e.preventDefault&&xr(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&xr(e.stopPropagation)&&e.stopPropagation(),Y().catch((function(e){}))})),Z={resetForm:P,validateForm:A,validateField:I,setErrors:M,setFieldError:R,setFieldTouched:z,setFieldValue:B,setStatus:W,setSubmitting:$,setTouched:D,setValues:N,setFormikState:G,submitForm:Y},Q=Vr((function(){return f(S.values,Z)})),J=Vr((function(e){e&&e.preventDefault&&xr(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&xr(e.stopPropagation)&&e.stopPropagation(),P()})),ee=Object(i.useCallback)((function(e){return{value:Ar(S.values,e),error:Ar(S.errors,e),touched:!!Ar(S.touched,e),initialValue:Ar(h.current,e),initialTouched:!!Ar(g.current,e),initialError:Ar(m.current,e)}}),[S.errors,S.touched,S.values]),te=Object(i.useCallback)((function(e){return{setValue:function(t){return B(e,t)},setTouched:function(t){return z(e,t)},setError:function(t){return R(e,t)}}}),[B,z,R]),ne=Object(i.useCallback)((function(e){var t=_r(e),n=t?e.name:e,r=Ar(S.values,n),o={name:n,value:r,onChange:H,onBlur:q};if(t){var i=e.type,a=e.value,s=e.as,u=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===s&&u&&(o.value=o.value||[],o.multiple=!0)}return o}),[q,H,S.values]),re=Object(i.useMemo)((function(){return!F()(h.current,S.values)}),[h.current,S.values]),oe=Object(i.useMemo)((function(){return void 0!==u?re?S.errors&&0===Object.keys(S.errors).length:!1!==u&&xr(u)?u(p):u:S.errors&&0===Object.keys(S.errors).length}),[u,re,S.errors,p]);return yr({},S,{initialValues:h.current,initialErrors:m.current,initialTouched:g.current,initialStatus:b.current,handleBlur:q,handleChange:H,handleReset:J,handleSubmit:X,resetForm:P,setErrors:M,setFormikState:G,setFieldTouched:z,setFieldValue:B,setFieldError:R,setStatus:W,setSubmitting:$,setTouched:D,setValues:N,submitForm:Y,validateForm:A,validateField:I,isValid:oe,dirty:re,unregisterField:L,registerField:j,getFieldProps:ne,getFieldMeta:ee,getFieldHelpers:te,validateOnBlur:o,validateOnChange:n,validateOnMount:s})}function Ur(e){var t=Br(e),n=e.component,r=e.children,o=e.render,a=e.innerRef;return Object(i.useImperativeHandle)(a,(function(){return t})),Object(i.useEffect)((function(){0}),[]),Object(i.createElement)(Lr,{value:t},n?Object(i.createElement)(n,t):o?o(t):r?xr(r)?r(t):Cr(r)?null:i.Children.only(r):null)}function Hr(e){var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||le(e)?Hr(e):""!==e?e:void 0})):le(e[r])?t[r]=Hr(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function zr(e,t,n){var r=e.slice();return t.forEach((function(t,o){if(void 0===r[o]){var i=!1!==n.clone&&n.isMergeableObject(t);r[o]=i?V(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[o]=V(e[o],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Kr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function Vr(e){var t=Object(i.useRef)(e);return Kr((function(){t.current=e})),Object(i.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}var qr=Object(i.forwardRef)((function(e,t){var n=e.action,r=wr(e,["action"]),o=n||"#",a=Mr(),s=a.handleReset,u=a.handleSubmit;return Object(i.createElement)("form",Object.assign({onSubmit:u,ref:t,onReset:s,action:o},r))}));function Gr(e){var t=function(t){return Object(i.createElement)(Dr,null,(function(n){return n||pr(!1),Object(i.createElement)(e,Object.assign({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",gr()(t,e)}qr.displayName="Form";var Wr=function(e,t,n){var r=$r(e);return r.splice(t,0,n),r},$r=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(yr({},e,{length:t+1}))}return[]},Yr=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o="function"==typeof r?r:e,a="function"==typeof t?t:e,s=Pr(n.values,i,e(Ar(n.values,i))),u=r?o(Ar(n.errors,i)):void 0,c=t?a(Ar(n.touched,i)):void 0;return Er(u)&&(u=void 0),Er(c)&&(c=void 0),yr({},n,{values:s,errors:r?Pr(n.errors,i,u):n.errors,touched:t?Pr(n.touched,i,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat($r(t),[br(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=$r(e),o=r[t];return r[t]=r[n],r[n]=o,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=$r(e),o=r[t];return r.splice(t,1),r.splice(n,0,o),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return Wr(n,e,t)}),(function(t){return Wr(t,e,null)}),(function(t){return Wr(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=$r(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Sr(n)),n.pop=n.pop.bind(Sr(n)),n}vr(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){!F()(Ar(e.formik.values,e.name),Ar(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?$r(n):[];return t||(t=r[e]),xr(r.splice)&&r.splice(e,1),r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,o=t.children,a=t.name,s=yr({},e,{form:wr(t.formik,["validate","validationSchema"]),name:a});return n?Object(i.createElement)(n,s):r?r(s):o?"function"==typeof o?o(s):Cr(o)?null:i.Children.only(o):null},t}(i.Component);Yr.defaultProps={validateOnChange:!0};i.Component,i.Component;var Xr=n(4),Zr=n(236);const Qr=["children","isDisabled","isPrimary","onClick"];function Jr(e){let{children:t,isDisabled:n,isPrimary:r,onClick:i=p.a}=e,s=m()(e,Qr);return a.a.createElement("button",o()({"aria-disabled":!!n||void 0,className:w()("btn",{"btn-primary":r,"is-disabled":n}),onClick:e=>{if(n)return e.preventDefault(),void e.stopPropagation();i(e)},type:"button"},s),t)}var eo=n(1),to=n(91),no=n.n(to),ro=n(249),oo=n.n(ro);function io(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function ao(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function so(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return ao(n.overflowY,t)||ao(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function uo(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var co=function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,i=t.boundary,a=t.skipOverflowHiddenElements,s="function"==typeof i?i:function(e){return e!==i};if(!io(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],l=e;io(l)&&s(l);){if((l=l.parentNode)===u){c.push(l);break}l===document.body&&so(l)&&!so(document.documentElement)||so(l,a)&&c.push(l)}for(var f=window.visualViewport?visualViewport.width:innerWidth,d=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),g=m.height,b=m.width,y=m.top,v=m.right,w=m.bottom,S=m.left,E="start"===r||"nearest"===r?y:"end"===r?w:y+g/2,x="center"===o?S+b/2:"end"===o?v:S,_=[],O=0;O<c.length;O++){var k=c[O],C=k.getBoundingClientRect(),T=C.height,A=C.width,P=C.top,I=C.right,j=C.bottom,L=C.left;if("if-needed"===n&&y>=0&&S>=0&&w<=d&&v<=f&&y>=P&&w<=j&&S>=L&&v<=I)return _;var D=getComputedStyle(k),M=parseInt(D.borderLeftWidth,10),N=parseInt(D.borderTopWidth,10),R=parseInt(D.borderRightWidth,10),F=parseInt(D.borderBottomWidth,10),B=0,U=0,H="offsetWidth"in k?k.offsetWidth-k.clientWidth-M-R:0,z="offsetHeight"in k?k.offsetHeight-k.clientHeight-N-F:0;if(u===k)B="start"===r?E:"end"===r?E-d:"nearest"===r?uo(h,h+d,d,N,F,h+E,h+E+g,g):E-d/2,U="start"===o?x:"center"===o?x-f/2:"end"===o?x-f:uo(p,p+f,f,M,R,p+x,p+x+b,b),B=Math.max(0,B+h),U=Math.max(0,U+p);else{B="start"===r?E-P-N:"end"===r?E-j+F+z:"nearest"===r?uo(P,j,T,N,F+z,E,E+g,g):E-(P+T/2)+z/2,U="start"===o?x-L-M:"center"===o?x-(L+A/2)+H/2:"end"===o?x-I+R+H:uo(L,I,A,M,R+H,x,x+b,b);var K=k.scrollLeft,V=k.scrollTop;E+=V-(B=Math.max(0,Math.min(V+B,k.scrollHeight-T+z))),x+=K-(U=Math.max(0,Math.min(K+U,k.scrollWidth-A+H)))}_.push({el:k,top:B,left:U})}return _};function lo(e){return e===Object(e)&&0!==Object.keys(e).length}var fo=function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(lo(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:co(e,t));if(!n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:lo(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}(co(e,r),r.behavior)}};n(479);const po=(e,t)=>{const{className:n,isActive:r,item:o,onClick:a,onMouseDown:s,onMouseEnter:u}=e;if(!o||!o.item||!o.item.name)return null;const{item:c}=o;return i.createElement("li",{ref:t,"aria-selected":r,className:w()(n,"ba-ItemRow",{"is-active":r}),"data-resin-target":"atMention","data-testid":"ba-ItemRow",onClick:a,onMouseDown:s,onMouseEnter:u,role:"option"},i.createElement("div",{className:"ba-ItemRow-name","data-testid":"ba-ItemRow-name"},c.name),"user"===c.type&&c.email&&i.createElement("div",{className:"ba-ItemRow-email","data-testid":"ba-ItemRow-email"},c.email))};var ho=i.forwardRef(po);n(480);const mo=["activeItemIndex","autoScroll","itemRowAs","items","onActivate","onSelect"];var go=e=>{let{activeItemIndex:t=0,autoScroll:n=!1,itemRowAs:r=ho,items:i,onActivate:s=p.a,onSelect:u}=e,c=m()(e,mo);const l=a.a.useCallback((e=>{n&&e&&fo(e,{scrollMode:"if-needed",block:"nearest"})}),[n]);return a.a.createElement("ul",o()({className:"ba-ItemList","data-testid":"ba-ItemList",role:"listbox"},c),i.map(((e,n)=>a.a.createElement(r,{key:e.id,ref:n===t?l:null,className:"ba-ItemList-row",isActive:n===t,item:e,onClick:e=>{u(n,e)},onMouseDown:e=>{e.preventDefault()},onMouseEnter:()=>{s(n)}}))))};n(481);const bo=["items","reference"],yo={modifiers:[{name:"offset",options:{offset:[0,3]}},{name:"eventListeners",options:{scroll:!1}}],placement:"bottom-start"};var vo=e=>{let{items:t,reference:n}=e,r=m()(e,bo);return a.a.createElement(C.a,{className:"ba-PopupList",options:yo,reference:n},oo()(t)?a.a.createElement("div",{className:"ba-PopupList-prompt"},a.a.createElement(Zr.a,k.a.popupListPrompt)):a.a.createElement(go,o()({items:t},r)))};n(482);const wo=["className","collaborators","intl","editorState","isDisabled","placeholder"];class So extends i.Component{constructor(...e){super(...e),f()(this,"state",{activeItemIndex:0,popupAutoScroll:!1,popupReference:null}),f()(this,"fetchCollaborators",no()((e=>{const{fetchCollaborators:t}=this.props,n=M(e),r=n?.mentionString.trim();r&&t(r)}),500)),f()(this,"handleResize",no()((()=>this.updatePopupReference()),100)),f()(this,"getVirtualElement",(e=>{const t=window.getSelection();if(!t?.focusNode)return null;const n=t.getRangeAt(0),r=n.endContainer,o=n.endOffset,{mentionString:i,mentionTrigger:a}=e,s=i.length+a.length,u=Math.max(0,o-s);n.setStart(r,u),n.setEnd(r,u);const c=n.getBoundingClientRect();return n.setStart(r,o),n.setEnd(r,o),{getBoundingClientRect:()=>c}})),f()(this,"updatePopupReference",(()=>{const{editorState:e}=this.props,t=M(e);this.setState({popupReference:t?this.getVirtualElement(t):null})})),f()(this,"saveCursorPosition",(()=>{const{editorState:e,setCursorPosition:t}=this.props;t(e.getSelection().getFocusOffset())})),f()(this,"stopDefaultEvent",(e=>{e.preventDefault(),e.stopPropagation()})),f()(this,"setPopupListActiveItem",((e,t=!1)=>this.setState({activeItemIndex:e,popupAutoScroll:t}))),f()(this,"handleChange",(e=>{const{onChange:t}=this.props;this.fetchCollaborators(e),t(e)})),f()(this,"handleSelect",(e=>{const{collaborators:t,editorState:n}=this.props,r=function(e,t,n){const{start:r,end:o}=t||{},{id:i,name:a}=n,s=e.getCurrentContent(),u=e.getSelection().merge({anchorOffset:r,focusOffset:o}),c="@".concat(a),l=s.createEntity("MENTION","IMMUTABLE",{id:i}).getLastCreatedEntityKey(),f=T.Modifier.replaceText(s,u,c,null,l),d=u.getStartOffset()+c.length,p=u.merge({anchorOffset:d,focusOffset:d}),h=T.Modifier.insertText(f,p," ");return T.EditorState.push(e,h,"change-block-type")}(n,M(n),t[e]);this.handleChange(r),this.setPopupListActiveItem(0)})),f()(this,"handleReturn",(e=>{const{activeItemIndex:t,popupReference:n}=this.state;return n?(this.stopDefaultEvent(e),this.handleSelect(t),"handled"):"not-handled"})),f()(this,"handleArrow",(e=>{const{collaborators:t}=this.props,{popupReference:n}=this.state,{length:r}=t;return n&&r?(this.stopDefaultEvent(e),r):0})),f()(this,"handleUpArrow",(e=>{const{activeItemIndex:t}=this.state,n=this.handleArrow(e);n&&this.setPopupListActiveItem(0===t?n-1:t-1,!0)})),f()(this,"handleDownArrow",(e=>{const{activeItemIndex:t}=this.state,n=this.handleArrow(e);n&&this.setPopupListActiveItem(t===n-1?0:t+1,!0)})),f()(this,"handleMouseDown",(e=>e.preventDefault()))}componentDidMount(){window.addEventListener("resize",this.handleResize)}componentDidUpdate({editorState:e}){const{editorState:t}=this.props;e!==t&&this.updatePopupReference()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize),this.saveCursorPosition()}render(){const e=this.props,{className:t,collaborators:n,intl:r,editorState:a,isDisabled:s,placeholder:u}=e,c=m()(e,wo),{activeItemIndex:l,popupAutoScroll:f,popupReference:d}=this.state;return i.createElement("div",{className:w()(t,"ba-ReplyField")},i.createElement(T.Editor,o()({},c,{ariaLabel:r.formatMessage(k.a.ariaLabelReplyField),ariaMultiline:!0,editorState:a,handleReturn:this.handleReturn,onChange:this.handleChange,onDownArrow:this.handleDownArrow,onUpArrow:this.handleUpArrow,placeholder:u,readOnly:s,stripPastedStyles:!0,tabIndex:0,webDriverTestID:"ba-ReplyField-editor"})),d&&i.createElement(vo,{activeItemIndex:l,autoScroll:f,items:n,onActivate:this.setPopupListActiveItem,onMouseDown:this.handleMouseDown,onSelect:this.handleSelect,reference:d}))}}f()(So,"defaultProps",{isDisabled:!1});const Eo={fetchCollaborators:eo.e,setCursorPosition:eo.D};var xo=Object(c.b)((e=>({collaborators:Object(eo.j)(e),cursorPosition:Object(eo.l)(e)})),Eo)(So);n(483);var _o=e=>{const{errors:t,isPending:n,onCancel:r,onChange:o,setFieldValue:i,values:s}=e,u=a.a.useRef(null),c=Object(g.a)(),l=Object.keys(t).length>0,{editorState:f}=s,d=()=>{r(N(f).text)},p=e=>{e.key===Xr.G.escape&&(e.preventDefault(),e.stopPropagation(),d())};return a.a.useEffect((()=>{const{current:e}=u;return e&&e.addEventListener("keydown",p),()=>{e&&e.removeEventListener("keydown",p)}}),[u]),a.a.createElement(qr,{ref:u,className:"ba-ReplyForm","data-testid":"ba-ReplyForm",onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0,placeholder:void 0},a.a.createElement("div",{className:"ba-Popup-main"},a.a.createElement(xo,{className:"ba-Popup-field","data-testid":"ba-Popup-field",editorState:f,intl:c,isDisabled:n,onChange:e=>{o(N(e).text),i("editorState",e)},placeholder:c.formatMessage(k.a.fieldPlaceholder)})),a.a.createElement("div",{className:"ba-Popup-footer"},a.a.createElement(Jr,{"data-resin-target":"cancel","data-testid":"ba-Popup-cancel",isDisabled:n,onClick:d,type:"button"},a.a.createElement(Zr.a,k.a.buttonCancel)),a.a.createElement(Jr,{"data-resin-target":"post","data-testid":"ba-Popup-submit",isDisabled:l||n,isPrimary:!0,type:"submit"},a.a.createElement(Zr.a,k.a.buttonPost))))};n(484);var Oo=({contentState:e,entityKey:t,children:n})=>{const{id:r}=e.getEntity(t).getData();return r?i.createElement("a",{className:"ba-MentionItem-link","data-testid":"ba-MentionItem-link",href:`/profile/${r}`},n):i.createElement("span",{className:"ba-MentionItem-link","data-testid":"ba-MentionItem-text"},n)};const ko=(e,t,n)=>{e.findEntityRanges((e=>{const t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()}),t)};const Co=Object(c.b)((e=>({cursorPosition:Object(eo.l)(e)})))((Ao=(To={handleSubmit:({editorState:e},{props:{onSubmit:t}})=>t(N(e).text),mapPropsToErrors:()=>({editorState:"initial"}),mapPropsToValues:({cursorPosition:e,value:t=""})=>{const n=function(e){const t=new T.CompositeDecorator([{strategy:ko,component:Oo}]);return T.EditorState.set(e,{decorator:t})}(j(t)),r=t?e:0;return{editorState:T.EditorState.forceSelection(n,n.getSelection().merge({anchorOffset:r,focusOffset:r,hasFocus:!0}))}},validate:({editorState:e})=>{const t={};if(e){const{text:n}=N(e);n&&0!==n.trim().length?n.length>1e4&&(t.editorState="maxlength"):t.editorState="required"}return t},validateOnMount:!0}).mapPropsToValues,Po=void 0===Ao?function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&"function"!=typeof e[n]&&(t[n]=e[n]);return t}:Ao,Io=wr(To,["mapPropsToValues"]),function(e){var t=e.displayName||e.name||e.constructor&&e.constructor.name||"Component",n=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).validate=function(e){return Io.validate(e,n.props)},n.validationSchema=function(){return xr(Io.validationSchema)?Io.validationSchema(n.props):Io.validationSchema},n.handleSubmit=function(e,t){return Io.handleSubmit(e,yr({},t,{props:n.props}))},n.renderFormComponent=function(t){return Object(i.createElement)(e,Object.assign({},n.props,t))},n}return vr(n,t),n.prototype.render=function(){var e=wr(this.props,["children"]);return Object(i.createElement)(Ur,Object.assign({},e,Io,{validate:Io.validate&&this.validate,validationSchema:Io.validationSchema&&this.validationSchema,initialValues:Po(this.props),initialStatus:Io.mapPropsToStatus&&Io.mapPropsToStatus(this.props),initialErrors:Io.mapPropsToErrors&&Io.mapPropsToErrors(this.props),initialTouched:Io.mapPropsToTouched&&Io.mapPropsToTouched(this.props),onSubmit:this.handleSubmit,children:this.renderFormComponent}))},n}(i.Component);return n.displayName="WithFormik("+t+")",gr()(n,e)})(_o));var To,Ao,Po,Io,jo=Co,Lo=n(18);n(485);const Do=["isPending","onCancel","onChange","onSubmit","value"],Mo=()=>{const{userAgent:e}=navigator;return e.indexOf("Trident/")>0},No={modifiers:[{name:"arrow",options:{element:".ba-Popup-arrow",padding:10}},{name:"flip",options:{altAxis:!1,fallbackPlacements:["bottom","top","left","right"]}},{name:"offset",options:{offset:[0,15]}},{name:"preventOverflow",options:{padding:5}}]};function Ro(e){let{isPending:t,onCancel:n,onChange:r,onSubmit:i,value:s=""}=e,u=m()(e,Do);const l=Object(g.a)(),f=a.a.useRef(null),d=a.a.useRef((()=>{const{modifiers:e}=No,t=Mo()?"top":"bottom";return{modifiers:Mo()?[...e,{name:"eventListeners",options:{scroll:!1}}]:e,placement:t}})()),p=Object(c.d)(Lo.e),h=Object(c.d)(Lo.f);return a.a.useEffect((()=>{const{current:e}=f;e?.popper&&e.popper.update()}),[f,p,h]),a.a.createElement(O,null,a.a.createElement(C.a,o()({ref:f,"aria-label":l.formatMessage(k.a.ariaLabelComment),"data-resin-component":"popupReply",options:d.current,role:"dialog"},u),a.a.createElement(jo,{isPending:t,onCancel:n,onChange:r,onSubmit:i,value:s})))}n(486);function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach((function(t){f()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Uo={[eo.b.DRAWING]:eo.w,[eo.b.HIGHLIGHT]:eo.x,[eo.b.REGION]:eo.y};var Ho=e=>{const{createDrawing:t=p.a,createHighlight:n=p.a,createRegion:r=p.a,isPromoting:o=!1,message:a,mode:s,referenceId:u,resetCreator:c,setMessage:l,staged:f,status:d}=e,[h,m]=i.useState(null),g=(Uo[s]?.(f??null)??!1)||o,b=d!==eo.a.started&&d!==eo.a.init,y=d===eo.a.pending;return i.useEffect((()=>{m(u?document.querySelector(`[data-ba-reference-id="${u}"]`):null)}),[u]),i.createElement(i.Fragment,null,g&&b&&h&&f&&i.createElement("div",{className:"ba-PopupLayer-popup"},i.createElement(Ro,{isPending:y,onCancel:()=>{c()},onChange:(e="")=>{l(e)},onSubmit:()=>{f&&(Object(eo.x)(f)?n(Bo(Bo({},f),{},{message:a})):Object(eo.y)(f)?r(Bo(Bo({},f),{},{message:a})):Object(eo.w)(f)&&t(Bo(Bo({},f),{},{message:a})))},reference:h,value:a})))},zo=n(55),Ko=n(113),Vo=n(12);var qo=n(45);const Go={createDrawing:Ko.a,createHighlight:e=>(t,n)=>{const{location:r,message:o,shapes:i}=e,a=n(),s={description:{message:o,type:"reply"},file_version:{id:Object(Lo.b)(a)},target:{location:{type:"page",value:r},shapes:i,type:"highlight"}};return t(Object(Vo.b)(s))},createRegion:qo.d,resetCreator:eo.A,setMessage:eo.H};var Wo=Object(c.b)(((e,{location:t})=>({isPromoting:Object(eo.s)(e),message:Object(eo.m)(e),mode:Object(eo.h)(e),referenceId:Object(eo.n)(e),staged:Object(eo.o)(e,t),status:Object(eo.p)(e)})),Go)(Object(zo.a)(Ho));class $o extends u.a{decorate(){this.reactEl.classList.add("ba-Layer--popup"),this.reactEl.dataset.testid="ba-Layer--popup"}render(e){this.root||(this.root=s.createRoot(this.reactEl)),this.root.render(i.createElement(Wo,o()({location:this.location},e)))}}},function(e,t,n){var r=n(93),o=n(82);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(34),o=n(94),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(266),o=n(282),i=n(284),a=n(285),s=n(286);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(65),o=n(48);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r=n(66)(n(47),"Map");e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(168);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(171);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(174)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(158),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(123)(e))},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(373),o=n(205),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=n(87),o=n(36),i=n(67),a=n(41),s=n(108),u=n(61),c=n(10),l=n(76),f=n(56),d=n(136),p=c.List,h=c.Record,m=c.Repeat,g=u.draft_tree_data_support?a:i,b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getEntityMap=function(){return s},t.prototype.getBlockMap=function(){return this.get("blockMap")},t.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},t.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},t.prototype.getBlockForKey=function(e){return this.getBlockMap().get(e)},t.prototype.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},t.prototype.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},t.prototype.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},t.prototype.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},t.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},t.prototype.getFirstBlock=function(){return this.getBlockMap().first()},t.prototype.getLastBlock=function(){return this.getBlockMap().last()},t.prototype.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},t.prototype.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},t.prototype.hasText=function(){var e=this.getBlockMap();return e.size>1||e.first().getLength()>0},t.prototype.createEntity=function(e,t,n){return s.__create(e,t,n),this},t.prototype.mergeEntityData=function(e,t){return s.__mergeData(e,t),this},t.prototype.replaceEntityData=function(e,t){return s.__replaceData(e,t),this},t.prototype.addEntity=function(e){return s.__add(e),this},t.prototype.getEntity=function(e){return s.__get(e)},t.createFromBlockArray=function(e,n){var o=Array.isArray(e)?e:e.contentBlocks,i=r.createFromArray(o),a=i.isEmpty()?new l:l.createEmpty(i.first().getKey());return new t({blockMap:i,entityMap:n||s,selectionBefore:a,selectionAfter:a})},t.createFromText=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(n).map((function(e){return e=d(e),new g({key:f(),text:e,type:"unstyled",characterList:p(m(o.EMPTY,e.length))})}));return t.createFromBlockArray(r)},t}(h({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}));e.exports=b},function(e,t,n){"use strict";var r=new RegExp("\r","g");e.exports=function(e){return e.replace(r,"")}},function(e,t,n){"use strict";var r=n(11),o="LTR",i="RTL",a=null;function s(e){return e===o||e===i}function u(e){return s(e)||r(!1),e===o?"ltr":"rtl"}function c(e){a=e}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:u,getHTMLDirIfDifferent:function(e,t){return s(e)||r(!1),s(t)||r(!1),e===t?null:u(e)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};e.exports=l},function(e,t,n){"use strict";var r=n(10).Map,o=n(0),i=n(77),a=r({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:o.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:o.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:o.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=a},function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(e,t,n){"use strict";function r(e,t){return t&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var o=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(o).getEntityAt(i-1))!==e.getBlockForKey(o).getEntityAt(i)?null:r(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),u=e.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),r(e.getEntityMap(),n)}},function(e,t,n){"use strict";var r=n(420);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(422),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},function(e,t,n){"use strict";var r=n(427),o=n(428);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},function(e,t,n){"use strict";var r=n(223);e.exports=function(e){for(var t=e;t&&t!==document.documentElement;){var n=r(t);if(null!=n)return n;t=t.parentNode}return null}},function(e,t,n){"use strict";var r=n(53).isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return r&&e.altKey},hasCommandModifier:function(e){return r?!!e.metaKey&&!e.altKey:o.isCtrlKeyCommand(e)}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var u=r.getKeyBefore(o);if(null==u)a=o;else a=u,s=r.getBlockForKey(u).getText().length}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return K}));var r=n(2),o=n(0),i=n(57),a=n(38),s=n(529),u=n(528),c=n(14),l=n(30);function f(e,t){return Object.keys(e).reduce((function(n,o){return n[o]=Object(r.a)({timeZone:t},e[o]),n}),{})}function d(e,t){return Object.keys(Object(r.a)(Object(r.a)({},e),t)).reduce((function(n,o){return n[o]=Object(r.a)(Object(r.a)({},e[o]||{}),t[o]||{}),n}),{})}function p(e,t){if(!t)return e;var n=u.a.formats;return Object(r.a)(Object(r.a)(Object(r.a)({},n),e),{date:d(f(n.date,t),f(e.date||{},t)),time:d(f(n.time,t),f(e.time||{},t))})}var h=function(e,t,n,o,i){var a=e.locale,u=e.formats,f=e.messages,d=e.defaultLocale,h=e.defaultFormats,m=e.fallbackOnEmptyString,g=e.onError,b=e.timeZone,y=e.defaultRichTextElements;void 0===n&&(n={id:""});var v=n.id,w=n.defaultMessage;Object(s.a)(!!v,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var S=String(v),E=f&&Object.prototype.hasOwnProperty.call(f,S)&&f[S];if(Array.isArray(E)&&1===E.length&&E[0].type===l.a.literal)return E[0].value;if(!o&&E&&"string"==typeof E&&!y)return E.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=Object(r.a)(Object(r.a)({},y),o||{}),u=p(u,b),h=p(h,b),!E){if(!1===m&&""===E)return E;if((!w||a&&a.toLowerCase()!==d.toLowerCase())&&g(new c.e(n,a)),w)try{return t.getMessageFormat(w,d,h,i).format(o)}catch(e){return g(new c.c('Error formatting default message for: "'.concat(S,'", rendering default message verbatim'),a,n,e)),"string"==typeof w?w:S}return S}try{return t.getMessageFormat(E,a,u,Object(r.a)({formatters:t},i||{})).format(o)}catch(e){g(new c.c('Error formatting message: "'.concat(S,'", using ').concat(w?"default message":"id"," as fallback."),a,n,e))}if(w)try{return t.getMessageFormat(w,d,h,i).format(o)}catch(e){g(new c.c('Error formatting the default message for: "'.concat(S,'", rendering message verbatim'),a,n,e))}return"string"==typeof E?E:"string"==typeof w?w:S},m=n(24),g=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function b(e,t,n){var r=e.locale,o=e.formats,i=e.onError;void 0===n&&(n={});var a=n.format,s=a&&Object(m.e)(o,"number",a,i)||{};return t(r,Object(m.d)(n,g,s))}function y(e,t,n,r){void 0===r&&(r={});try{return b(e,t,r).format(n)}catch(t){e.onError(new c.a("Error formatting number.",e.locale,t))}return String(n)}function v(e,t,n,r){void 0===r&&(r={});try{return b(e,t,r).formatToParts(n)}catch(t){e.onError(new c.a("Error formatting number.",e.locale,t))}return[]}var w=n(70),S=["numeric","style"];function E(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new w.b('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',w.a.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,o=e.formats,i=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&Object(m.e)(o,"relative",a,i)||{};return t(r,Object(m.d)(n,S,s))}(e,t,o).format(n,r)}catch(t){e.onError(new c.a("Error formatting relative time.",e.locale,t))}return String(n)}var x=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function _(e,t,n,o){var i=e.locale,a=e.formats,s=e.onError,u=e.timeZone;void 0===o&&(o={});var c=o.format,l=Object(r.a)(Object(r.a)({},u&&{timeZone:u}),c&&Object(m.e)(a,t,c,s)),f=Object(m.d)(o,x,l);return"time"!==t||f.hour||f.minute||f.second||f.timeStyle||f.dateStyle||(f=Object(r.a)(Object(r.a)({},f),{hour:"numeric",minute:"numeric"})),n(i,f)}function O(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return _(e,"date",t,a).format(s)}catch(t){e.onError(new c.a("Error formatting date.",e.locale,t))}return String(s)}function k(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return _(e,"time",t,a).format(s)}catch(t){e.onError(new c.a("Error formatting time.",e.locale,t))}return String(s)}function C(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=n[2],s=void 0===a?{}:a,u=e.timeZone,l=e.locale,f=e.onError,d=Object(m.d)(s,x,u?{timeZone:u}:{});try{return t(l,d).formatRange(o,i)}catch(t){f(new c.a("Error formatting date time range.",e.locale,t))}return String(o)}function T(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return _(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new c.a("Error formatting date.",e.locale,t))}return[]}function A(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return _(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new c.a("Error formatting time.",e.locale,t))}return[]}var P=["type"];function I(e,t,n,r){var o=e.locale,i=e.onError;void 0===r&&(r={}),Intl.PluralRules||i(new w.b('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',w.a.MISSING_INTL_API));var a=Object(m.d)(r,P);try{return t(o,a).select(n)}catch(e){i(new c.a("Error formatting plural.",o,e))}return"other"}var j=["type","style"],L=Date.now();function D(e,t,n,r){void 0===r&&(r={});var o=M(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===o.length?o[0]:0===o.length?"":o}function M(e,t,n,o){var i=e.locale,a=e.onError;void 0===o&&(o={}),Intl.ListFormat||a(new w.b('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',w.a.MISSING_INTL_API));var s=Object(m.d)(o,j);try{var u={},l=n.map((function(e,t){if("object"==typeof e){var n=function(e){return"".concat(L,"_").concat(e,"_").concat(L)}(t);return u[n]=e,n}return String(e)}));return t(i,s).formatToParts(l).map((function(e){return"literal"===e.type?e:Object(r.a)(Object(r.a)({},e),{value:u[e.value]||e.value})}))}catch(e){a(new c.a("Error formatting list.",i,e))}return n}var N=["style","type","fallback","languageDisplay"];function R(e,t,n,r){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new w.b('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',w.a.MISSING_INTL_API));var a=Object(m.d)(r,N);try{return t(o,a).of(n)}catch(e){i(new c.a("Error formatting display name.",o,e))}}function F(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}var B=n(150);function U(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function H(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t[n]=Object(B.c)(r)?Object(a.b)(r):r,t}),{}):e}var z=function(e,t,n,i){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];var u=H(i),c=h.apply(void 0,Object(r.d)([e,t,n,u],a,!1));return Array.isArray(c)?o.Children.toArray(c):c},K=function(e,t){var n=e.defaultRichTextElements,o=Object(r.c)(e,["defaultRichTextElements"]),i=H(n),s=function(e,t){var n=Object(m.b)(t),o=Object(r.a)(Object(r.a)({},m.a),e),i=o.locale,a=o.defaultLocale,s=o.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&s?s(new c.d('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&s&&s(new c.d('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(s&&s(new c.b('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),o.locale=o.defaultLocale||"en"),F(o),Object(r.a)(Object(r.a)({},o),{formatters:n,formatNumber:y.bind(null,o,n.getNumberFormat),formatNumberToParts:v.bind(null,o,n.getNumberFormat),formatRelativeTime:E.bind(null,o,n.getRelativeTimeFormat),formatDate:O.bind(null,o,n.getDateTimeFormat),formatDateToParts:T.bind(null,o,n.getDateTimeFormat),formatTime:k.bind(null,o,n.getDateTimeFormat),formatDateTimeRange:C.bind(null,o,n.getDateTimeFormat),formatTimeToParts:A.bind(null,o,n.getDateTimeFormat),formatPlural:I.bind(null,o,n.getPluralRules),formatMessage:h.bind(null,o,n),$t:h.bind(null,o,n),formatList:D.bind(null,o,n.getListFormat),formatListToParts:M.bind(null,o,n.getListFormat),formatDisplayName:R.bind(null,o,n.getDisplayNames)})}(Object(r.a)(Object(r.a)(Object(r.a)({},a.a),o),{defaultRichTextElements:i}),t),u={locale:s.locale,timeZone:s.timeZone,fallbackOnEmptyString:s.fallbackOnEmptyString,formats:s.formats,defaultLocale:s.defaultLocale,defaultFormats:s.defaultFormats,messages:s.messages,onError:s.onError,defaultRichTextElements:i};return Object(r.a)(Object(r.a)({},s),{formatMessage:z.bind(null,u,s.formatters),$t:z.bind(null,u,s.formatters)})};!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=Object(m.c)(),t.state={cache:t.cache,intl:K(U(t.props),t.cache),prevConfig:U(t.props)},t}Object(r.b)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=U(e);return Object(a.d)(n,o)?null:{intl:K(o,r),prevConfig:o}},t.prototype.render=function(){return Object(a.c)(this.state.intl),o.createElement(i.b,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=a.a}(o.PureComponent)},function(e,t,n){"use strict";(function(e,r){var o,i=n(240);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(31),n(100)(e))},function(e,t,n){var r=n(193),o=n(73),i=n(331),a=n(332),s=n(334),u=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var l=e.length;return n<0&&(n=u(l+n,0)),i(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&r(e,t,n)>-1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s}));var r,o=n(30),i=n(70);function a(e){return"function"==typeof e}function s(e,t,n,u,c,l,f){if(1===e.length&&Object(o.e)(e[0]))return[{type:r.literal,value:e[0].value}];for(var d=[],p=0,h=e;p<h.length;p++){var m=h[p];if(Object(o.e)(m))d.push({type:r.literal,value:m.value});else if(Object(o.i)(m))"number"==typeof l&&d.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var g=m.value;if(!c||!(g in c))throw new i.e(g,f);var b=c[g];if(Object(o.b)(m))b&&"string"!=typeof b&&"number"!=typeof b||(b="string"==typeof b||"number"==typeof b?String(b):""),d.push({type:"string"==typeof b?r.literal:r.object,value:b});else if(Object(o.c)(m)){var y="string"==typeof m.style?u.date[m.style]:Object(o.d)(m.style)?m.style.parsedOptions:void 0;d.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(b)})}else if(Object(o.l)(m)){y="string"==typeof m.style?u.time[m.style]:Object(o.d)(m.style)?m.style.parsedOptions:u.time.medium;d.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(b)})}else if(Object(o.f)(m)){(y="string"==typeof m.style?u.number[m.style]:Object(o.g)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(b*=y.scale||1),d.push({type:r.literal,value:n.getNumberFormat(t,y).format(b)})}else{if(Object(o.k)(m)){var v=m.children,w=m.value,S=c[w];if(!a(S))throw new i.d(w,"function",f);var E=S(s(v,t,n,u,c,l).map((function(e){return e.value})));Array.isArray(E)||(E=[E]),d.push.apply(d,E.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if(Object(o.j)(m)){if(!(x=m.options[b]||m.options.other))throw new i.c(m.value,b,Object.keys(m.options),f);d.push.apply(d,s(x.value,t,n,u,c))}else if(Object(o.h)(m)){var x;if(!(x=m.options["=".concat(b)])){if(!Intl.PluralRules)throw new i.b('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',i.a.MISSING_INTL_API,f);var _=n.getPluralRules(t,{type:m.pluralType}).select(b-(m.offset||0));x=m.options[_]||m.options.other}if(!x)throw new i.c(m.value,b,Object.keys(m.options),f);d.push.apply(d,s(x.value,t,n,u,c,b-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(d)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},function(e,t,n){"use strict";var r=n(197),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var b=a[g];if(!(i[b]||r&&r[b]||m&&m[b]||s&&s[b])){var y=d(n,b);try{c(t,b,y)}catch(e){}}}}return t}},function(e,t){e.exports=function(e,t){t=t||{};var n,r,o,i=e.ownerDocument||e,a=[],s=[],u=function(e){var t=[];function n(r,o){if(r===e.documentElement)return!1;for(var i=0,a=t.length;i<a;i++)if(t[i][0]===r)return t[i][1];var s=!1;return"none"===(o=o||e.defaultView.getComputedStyle(r)).display?s=!0:r.parentNode&&(s=n(r.parentNode)),t.push([r,s]),s}return function(t){if(t===e.documentElement)return!1;var r=e.defaultView.getComputedStyle(t);return!!n(t,r)||"hidden"===r.visibility}}(i),c=["input","select","a[href]","textarea","button","[tabindex]"],l=e.querySelectorAll(c.join(","));if(t.includeContainer){var f=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;c.some((function(t){return f.call(e,t)}))&&(l=Array.prototype.slice.apply(l)).unshift(e)}for(var d=0,p=l.length;d<p;d++)n=l[d],r=parseInt(n.getAttribute("tabindex"),10),(o=isNaN(r)?n.tabIndex:r)<0||"INPUT"===n.tagName&&"hidden"===n.type||n.disabled||u(n,i)||(0===o?a.push(n):s.push({index:d,tabIndex:o,node:n}));var h=s.sort((function(e,t){return e.tabIndex===t.tabIndex?e.index-t.index:e.tabIndex-t.tabIndex})).map((function(e){return e.node}));return Array.prototype.push.apply(h,a),h}},function(e,t,n){"use strict";e.exports=n(477)},function(e,t,n){"use strict";var r=n(197),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var b=a[g];if(!(i[b]||r&&r[b]||m&&m[b]||s&&s[b])){var y=d(n,b);try{c(t,b,y)}catch(e){}}}}return t}},function(e,t,n){"use strict";var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),o=new Uint8Array(16);function i(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"==typeof e&&a.test(e)},u=[],c=0;c<256;++c)u.push((c+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return l(r)}},,,function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(31))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let r=function(e){return e.CAN_CREATE_ANNOTATIONS="can_create_annotations",e.CAN_VIEW_ANNOTATIONS="can_view_annotations",e}({})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r=function(e){return e.ACTIVE_CHANGE="annotations_active_change",e.ACTIVE_SET="annotations_active_set",e.CREATOR_STAGED_CHANGE="creator_staged_change",e.CREATOR_STATUS_CHANGE="creator_status_change",e.ANNOTATION_CREATE="annotations_create",e.ANNOTATION_FETCH_ERROR="annotations_fetch_error",e.ANNOTATION_REMOVE="annotations_remove",e.ANNOTATIONS_INITIALIZED="annotations_initialized",e.ANNOTATIONS_MODE_CHANGE="annotations_mode_change",e.COLOR_SET="annotations_color_set",e.VISIBLE_SET="annotations_visible_set",e}(r||{}),o=function(e){return e.ANNOTATOR="annotatorevent",e.ERROR="annotationerror",e.SCALE="scaleannotations",e}(o||{})},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let r=function(e){return e.highlight="highlight",e.region="region",e}({})},function(e,t,n){},function(e,t){},function(e,t,n){var r=n(101),o=n(167),i=n(295),a=n(297),s=n(48),u=n(104),c=n(177);e.exports=function e(t,n,l,f,d){t!==n&&i(n,(function(i,u){if(d||(d=new r),s(i))a(t,n,u,l,e,f,d);else{var p=f?f(c(t,u),i,u+"",t,n,d):void 0;void 0===p&&(p=i),o(t,u,p)}}),u)}},function(e,t,n){var r=n(122),o=n(81);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},function(e,t,n){var r=n(66),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){(function(e){var r=n(47),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(123)(e))},function(e,t,n){var r=n(124);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(47).Uint8Array;e.exports=r},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(298),o=n(125),i=n(102);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(73),o=n(52);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){var r=n(65),o=n(125),i=n(52),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,n){var r=n(122),o=n(81),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(303),o=n(83),i=n(34),a=n(84),s=n(129),u=n(103),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&u(e),p=n||l||f||d,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},function(e,t,n){var r=n(181),o=n(310);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t}))}},function(e,t,n){var r=n(130),o=n(182),i=n(183);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(306),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a<s;)u[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(u),r(e,this,c)}}},function(e,t,n){var r=n(307),o=n(309)(r);e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(35);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},function(e,t,n){"use strict";var r=n(35),o=n(317),i=n(318),a=n(185),s=n(319),u=n(322),c=n(323),l=n(189),f=n(105),d=n(106);e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,m=e.headers,g=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(v+":"+w)}var S=s(e.baseURL,e.url);function E(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),b()}),(function(e){n(e),b()}),i),y=null}}if(y.open(e.method.toUpperCase(),a(S,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(n(l("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||c(S))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(m[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&r.forEach(m,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),g&&"json"!==g&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},function(e,t,n){"use strict";var r=n(187);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";var r=n(35);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function u(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);r.isUndefined(o)&&t!==u||(n[e]=o)})),n}},function(e,t){e.exports={version:"0.24.0"}},function(e,t,n){var r=n(328),o=n(329),i=n(330);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t,n){var r=n(48),o=n(94),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(102),o=n(336),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,s,u=1,c={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return c[u]=o,r(u),u++},d.clearImmediate=p}function p(e){delete c[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=c[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{p(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(31),n(186))},function(e,t,n){"use strict";e.exports=n(360)},function(e,t,n){var r=n(131),o=n(362);e.exports=function e(t,n,i,a,s){var u=-1,c=t.length;for(i||(i=o),s||(s=[]);++u<c;){var l=t[u];n>0&&i(l)?n>1?e(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},function(e,t,n){var r=n(366),o=n(52);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(201),o=n(369),i=n(202);e.exports=function(e,t,n,a,s,u){var c=1&n,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var d=u.get(e);if(d&&u.get(t))return d==t;var p=-1,h=!0,m=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<l;){var g=e[p],b=t[p];if(a)var y=c?a(b,g,p,t,e,u):a(g,b,p,e,t,u);if(void 0!==y){if(y)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(g===e||s(g,e,n,a,u)))return m.push(t)}))){h=!1;break}}else if(g!==b&&!s(g,b,n,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},function(e,t,n){var r=n(118),o=n(367),i=n(368);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(204),o=n(133),i=n(85);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(131),o=n(34);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(66)(n(47),"Set");e.exports=r},function(e,t,n){var r=n(48);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){"use strict";var r=n(41),o=n(10),i=n(56),a=o.OrderedMap;e.exports=function(e){return e.first()instanceof r?function(e){var t={},n=void 0;return a(e.withMutations((function(e){e.forEach((function(r,o){var a=r.getKey(),s=r.getNextSiblingKey(),u=r.getPrevSiblingKey(),c=r.getChildKeys(),l=r.getParentKey(),f=i();if(t[a]=f,s&&(e.get(s)?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null)),u&&(e.get(u)?e.setIn([u,"nextSibling"],f):e.setIn([a,"prevSibling"],null)),l&&e.get(l)){var d=e.get(l).getChildKeys();e.setIn([l,"children"],d.set(d.indexOf(r.getKey()),f))}else e.setIn([a,"parent"],null),n&&(e.setIn([n.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],t[n.getKey()])),n=e.get(a);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([a,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[t[e.getKey()],e.set("key",t[e.getKey()])]})))}(e):function(e){return a(e.toArray().map((function(e){var t=i();return[t,e.set("key",t)]})))}(e)}},function(e,t,n){"use strict";var r=n(36),o=n(88),i=n(11);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,u=n<a.count()?a.get(n):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==e.__get(l).getMutability()){for(var f,d=function(e,t,n){var r;return o(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&i(!1),r}(a,l,n),p=d.start,h=d.end;p<h;)f=a.get(p),a=a.set(p,r.applyEntity(f,null)),p++;return t.set("characterList",a)}return t}e.exports=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),s=t.getStartOffset(),u=n.get(i),c=a(r,u,s);c!==u&&(o[i]=c);var l=t.getEndKey(),f=t.getEndOffset(),d=n.get(l);i===l&&(d=c);var p=a(r,d,f);return p!==d&&(o[l]=p),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}},function(e,t,n){"use strict";e.exports=function(e,t,n){if(n===e.count())t.forEach((function(t){e=e.push(t)}));else if(0===n)t.reverse().forEach((function(t){e=e.unshift(t)}));else{var r=e.slice(0,n),o=e.slice(n);e=r.concat(t,o).toList()}return e}},function(e,t,n){"use strict";var r=n(41);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var o=e.getParentKey();if(!o)return null;for(var i=t.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?t.get(a):null}return i?i.getNextSiblingKey():null}},function(e,t,n){"use strict";var r=n(10),o=n(134),i=n(88),a=r.List,s=r.Repeat,u=r.Record,c=o.thatReturnsTrue,l=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null}),d={generate:function(e,t,n){var r=t.getLength();if(!r)return a.of(new f({start:0,end:0,decoratorKey:null,leaves:a.of(new l({start:0,end:0}))}));var o=[],u=n?n.getDecorations(t,e):a(s(null,r)),d=t.getCharacterList();return i(u,h,c,(function(e,t){o.push(new f({start:e,end:t,decoratorKey:u.get(e),leaves:p(d.slice(e,t).toList(),e)}))})),a(o)},getFingerprint:function(e){return e.map((function(e){var t=e.get("decoratorKey");return(null!==t?t+"."+(e.get("end")-e.get("start")):"")+"."+e.get("leaves").size})).join("-")}};function p(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return i(r,h,c,(function(e,r){n.push(new l({start:e+t,end:r+t}))})),a(n)}function h(e,t){return e===t}e.exports=d},function(e,t,n){"use strict";var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getType=function(){return this.get("type")},t.prototype.getMutability=function(){return this.get("mutability")},t.prototype.getData=function(){return this.get("data")},t}((0,n(10).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));e.exports=r},function(e,t,n){"use strict";var r=n(137),o=n(11),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),u=new RegExp("["+i+a+"]");function c(e){var t=s.exec(e);return null==t?null:t[0]}function l(e){var t=c(e);return null==t?r.NEUTRAL:u.exec(t)?r.RTL:r.LTR}function f(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=l(e);return n===r.NEUTRAL?t:n}function d(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||o(!1),f(e,t)}var p={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:d,isDirectionLTR:function(e,t){return d(e,t)===r.LTR},isDirectionRTL:function(e,t){return d(e,t)===r.RTL}};e.exports=p},function(e,t,n){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some((function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(i=!0,!0)}))})),i}},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o=n(411),i=n(109),a=n(0),s=n(75),u=n(221),c=n(142),l=n(216),f=n(137),d=n(77),p=n(425),h=n(143),m=n(429),g=n(11),b=n(49),y=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},v=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||y(e.selection,e.block.getKey())&&e.forceSelection},t.prototype.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=s.findDOMNode(this),r=c.getScrollParent(n),o=h(r),i=void 0;if(r===window){var a=p(n);(i=a.y+a.height-m().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{n instanceof HTMLElement||g(!1),(i=n.offsetHeight+n.offsetTop-(r.offsetHeight+o.y))>0&&u.setTop(r,u.getTop(r)+i+10)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),s=t.getText(),u=this.props.tree.size-1,c=y(this.props.selection,n);return this.props.tree.map((function(d,p){var h=d.get("leaves"),m=h.size-1,g=h.map((function(r,l){var f=i.encode(n,p,l),d=r.get("start"),h=r.get("end");return a.createElement(o,{key:f,offsetKey:f,block:t,start:d,selection:c?e.props.selection:null,forceSelection:e.props.forceSelection,text:s.slice(d,h),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:p===u&&l===m})})).toArray(),y=d.get("decoratorKey");if(null==y)return g;if(!e.props.decorator)return g;var v=b(e.props.decorator),w=v.getComponentForKey(y);if(!w)return g;var S=v.getPropsForKey(y),E=i.encode(n,p,0),x=s.slice(h.first().get("start"),h.last().get("end")),_=f.getHTMLDirIfDifferent(l.getDirection(x),e.props.direction);return a.createElement(w,r({},S,{contentState:e.props.contentState,decoratedText:x,dir:_,key:E,entityKey:t.getEntityAt(d.get("start")),offsetKey:E}),g)})).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=d({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return a.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(a.Component);e.exports=v},function(e,t,n){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},function(e,t,n){"use strict";function r(e,t){return!!t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},function(e,t,n){"use strict";var r=n(432),o=n(433),i=n(134),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.types=t.types?o(t.types):[]}return e.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return s[e]}))},e.prototype.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},e.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.prototype.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},e.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.prototype.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var o=t[n].type;if(!r.isImage(o))return!1}return!0},e.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.prototype.hasFiles=function(){return this.getFiles().length>0},e}();e.exports=c},function(e,t,n){"use strict";e.exports=function e(t){if(t instanceof Element){var n=t.getAttribute("data-offset-key");if(n)return n;for(var r=0;r<t.childNodes.length;r++){var o=e(t.childNodes[r]);if(o)return o}}return null}},function(e,t,n){"use strict";(function(t){var r=n(11),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};e.exports=function(e,n){var a=0,s=[];e.forEach((function(u){!function(e,n){if(!t.FileReader||e.type&&!(e.type in i))return void n("");if(""===e.type){var a="";return o.test(e.name)&&(a=e.name.replace(o,"")),void n(a)}var s=new FileReader;s.onload=function(){var e=s.result;"string"!=typeof e&&r(!1),n(e)},s.onerror=function(){n("")},s.readAsText(e)}(u,(function(t){a++,t&&s.push(t.slice(0,5e3)),a==e.length&&n(s.join("\r"))}))}))}}).call(this,n(31))},function(e,t,n){"use strict";var r=n(109),o=n(49);e.exports=function(e,t,n,i,a){var s=o(e.getSelection()),u=r.decode(t),c=u.blockKey,l=e.getBlockTree(c).getIn([u.decoratorKey,"leaves",u.leafKey]),f=r.decode(i),d=f.blockKey,p=e.getBlockTree(d).getIn([f.decoratorKey,"leaves",f.leafKey]),h=l.get("start"),m=p.get("start"),g=l?h+n:null,b=p?m+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===g&&s.getFocusKey()===d&&s.getFocusOffset()===b)return s;var y=!1;if(c===d){var v=l.get("end"),w=p.get("end");y=m===h&&w===v?a<n:m<h}else{y=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===c||e===d})).first()===d}return s.merge({anchorKey:c,anchorOffset:g,focusKey:d,focusOffset:b,isBackward:y})}},function(e,t,n){"use strict";var r=n(107);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},function(e,t,n){"use strict";var r=n(53),o=n(11);var i=r.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,s=Array.from(t.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(r)}o(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=i},function(e,t,n){"use strict";var r=n(144),o=n(223),i=n(225),a=n(11),s=n(49);function u(e,t,n){var i=t,u=r(i);if(null!=u||e&&(e===i||e.firstChild===i)||a(!1),e===i&&((i=i.firstChild)instanceof Element&&"true"===i.getAttribute("data-contents")||a(!1),n>0&&(n=i.childNodes.length)),0===n){var l=null;if(null!=u)l=u;else{var f=function(e){for(;e.firstChild&&(e.firstChild instanceof Element&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);l=s(o(f))}return{key:l,offset:0}}var d=i.childNodes[n-1],p=null,h=null;if(o(d)){var m=function(e){for(;e.lastChild&&(e.lastChild instanceof Element&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(d);p=s(o(m)),h=c(m)}else p=s(u),h=c(d);return{key:p,offset:h}}function c(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,c){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:i(e,s(r(n)),o,s(r(a)),c),needsRecovery:!1};var d=null,p=null,h=!0;return l?(d={key:s(r(n)),offset:o},p=u(t,a,c)):f?(p={key:s(r(a)),offset:c},d=u(t,n,o)):(d=u(t,n,o),p=u(t,a,c),n===a&&o===c&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,d.key,d.offset,p.key,p.offset),needsRecovery:h}}},function(e,t,n){"use strict";var r="['‘’]",o="\\s|(?![_])"+n(450).getPunctuation(),i=new RegExp("^(?:"+o+")*(?:"+r+"|(?!"+o+").)*(?:(?!"+o+").)"),a=new RegExp("(?:(?!"+o+").)(?:"+r+"|(?!"+o+").)*(?:"+o+")*$");function s(e,t){var n=t?a.exec(e):i.exec(e);return n?n[0]:e}var u={getBackward:function(e){return s(e,!0)},getForward:function(e){return s(e,!1)}};e.exports=u},function(e,t,n){"use strict";e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},function(e,t,n){"use strict";var r,o=i||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(40);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(36),u=n(67),c=n(41),l=n(138),f=n(108),d=n(61),p=n(10),h=n(10).Set,m=n(461),g=n(77),b=n(56),y=n(232),v=n(11),w=n(136),S=d.draft_tree_data_support,E=p.List,x=p.OrderedSet,_=" ",O=new RegExp("\r","g"),k=new RegExp("\n","g"),C=new RegExp("&nbsp;","g"),T=new RegExp("&#13;?","g"),A=new RegExp("&#8203;?","g"),P=["bold","bolder","500","600","700","800","900"],I=["light","lighter","100","200","300","400"],j={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},L=(a(r={},g("public/DraftStyleDefault/depth0"),0),a(r,g("public/DraftStyleDefault/depth1"),1),a(r,g("public/DraftStyleDefault/depth2"),2),a(r,g("public/DraftStyleDefault/depth3"),3),a(r,g("public/DraftStyleDefault/depth4"),4),r),D=["className","href","rel","target","title"],M=["alt","className","height","src","width"],N=void 0,R={text:"",inlines:[],entities:[],blocks:[]},F={children:E(),depth:0,key:"",type:""},B=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null},U=function(e,t,n){var r=n.filter((function(t){return t.element===e||t.wrapper===e||t.aliasedElements&&t.aliasedElements.some((function(t){return t===e}))})).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r](e,t);if(o)return o}return null}(e,t,[B])||"unstyled"}},H=function(e,t,n){var r=e.text.slice(-1),o=t.text.slice(0,1);if("\r"!==r||"\r"!==o||n||(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===r){if(t.text===_||"\n"===t.text)return e;o!==_&&"\n"!==o||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},z=function(e){e instanceof HTMLAnchorElement||v(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t},K=function(e){var t=new Array(1);return e&&(t[0]=e),o({},R,{text:_,inlines:[x()],entities:t})},V=function(){return o({},R,{text:"\n",inlines:[x()],entities:new Array(1)})},q=function(){return o({},F,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},G=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[x()],entities:new Array(1),blocks:[q({parent:n,key:b(),type:e,depth:Math.max(0,Math.min(4,t))})]}},W=function e(t,n,r,i,a,s,u,c,l,d){var p=N,h=n.nodeName.toLowerCase(),g=t,b="unstyled",y=!1,v=a&&U(a,i,c),w=o({},R),E=void 0;if("#text"===h){var x=n.textContent,O=x.trim();if(i&&""===O&&n.parentElement){var C=n.parentElement.nodeName.toLowerCase();if("ol"===C||"ul"===C)return{chunk:o({},R),entityMap:t}}return""===O&&"pre"!==a?{chunk:K(l),entityMap:t}:("pre"!==a&&(x=x.replace(k,_)),N=h,{chunk:{text:x,inlines:Array(x.length).fill(r),entities:Array(x.length).fill(l),blocks:[]},entityMap:t})}if(N=h,"br"===h)return"br"!==p||a&&"unstyled"!==v?{chunk:V(),entityMap:t}:{chunk:G("unstyled",u,d),entityMap:t};if("img"===h&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var T=n,A={};M.forEach((function(e){var t=T.getAttribute(e);t&&(A[e]=t)})),n.textContent="📷",l=f.__create("IMAGE","MUTABLE",A||{})}r=function(e,t,n){var r=j[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations((function(e){var t=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;P.indexOf(t)>=0?e.add("BOLD"):I.indexOf(t)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))})).toOrderedSet()}return n}(h,n,r),"ul"!==h&&"ol"!==h||(i&&(u+=1),i=h),!S&&"li"===h&&n instanceof HTMLElement&&(u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some((function(n){e.classList.contains(n)&&(t=L[n])})),t}(n,u));var F=U(h,i,c),B=i&&"li"===a&&"li"===h,q=(!a||S)&&-1!==s.indexOf(h);(B||q)&&(E=(w=G(F,u,d)).blocks[0].key,a=h,y=!S),B&&(b="ul"===i?"unordered-list-item":"ordered-list-item");var W=n.firstChild;null!=W&&(h=W.nodeName.toLowerCase());for(var $=null;W;){W instanceof HTMLAnchorElement&&W.href&&z(W)?function(){var e=W,t={};D.forEach((function(n){var r=e.getAttribute(n);r&&(t[n]=r)})),t.url=new m(e.href).toString(),$=f.__create("LINK","MUTABLE",t||{})}():$=void 0;var Y=e(g,W,r,i,a,s,u,c,$||l,S?E:null),X=Y.chunk;g=Y.entityMap,w=H(w,X,S);var Z=W.nextSibling;!d&&Z&&s.indexOf(h)>=0&&a&&(w=H(w,V())),Z&&(h=Z.nodeName.toLowerCase()),W=Z}return y&&(w=H(w,G(b,u,d))),{chunk:w,entityMap:g}},$=function(e,t,n,r){e=e.trim().replace(O,"").replace(C,_).replace(T,"").replace(A,"");var i=function(e){var t=e.get("unstyled").element,n=h([]);return e.forEach((function(e){e.aliasedElements&&e.aliasedElements.forEach((function(e){n=n.add(e)})),n=n.add(e.element)})),n.filter((function(e){return e&&e!==t})).toArray().sort()}(n),a=t(e);if(!a)return null;N=null;var s=function(e,t){return t.some((function(t){return-1!==e.indexOf("<"+t)}))}(e,i)?i:["div"],u=W(r,a,x(),"ul",null,s,-1,n),c=u.chunk,l=u.entityMap;return 0===c.text.indexOf("\r")&&(c={text:c.text.slice(1),inlines:c.inlines.slice(1),entities:c.entities.slice(1),blocks:c.blocks}),"\r"===c.text.slice(-1)&&(c.text=c.text.slice(0,-1),c.inlines=c.inlines.slice(0,-1),c.entities=c.entities.slice(0,-1),c.blocks.pop()),0===c.blocks.length&&c.blocks.push(o({},R,{type:"unstyled",depth:0})),c.text.split("\r").length===c.blocks.length+1&&c.blocks.unshift({type:"unstyled",depth:0}),{chunk:c,entityMap:l}};e.exports=function(e){var t=$(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,f);if(null==t)return null;var n=t.chunk,r=t.entityMap,o=function(e){if(!e||!e.text||!Array.isArray(e.blocks))return null;var t=0,n=e.blocks,r=e.inlines,o=e.entities,i=S?c:u;return e.text.split("\r").reduce((function(e,a,u){a=w(a);var l=n[u],f=t+a.length,d=r.slice(t,f),p=o.slice(t,f),h=E(d.map((function(e,t){var n={style:e,entity:null};return p[t]&&(n.entity=p[t]),s.create(n)})));t=f+1;var m=l.depth,g=l.type,y=l.parent,v=l.key||b(),S=null;if(y){var x=e.cacheRef[y],_=e.contentBlocks[x];if(_.getChildKeys().isEmpty()&&_.getText()){var O=_.getCharacterList(),k=_.getText();S=b();var C=new c({key:S,text:k,characterList:O,parent:y,nextSibling:v});e.contentBlocks.push(C),_=_.withMutations((function(e){e.set("characterList",E()).set("text","").set("children",_.children.push(C.getKey()))}))}e.contentBlocks[x]=_.set("children",_.children.push(v))}var T=new i({key:v,parent:y,type:g,depth:m,text:a,characterList:h,prevSibling:S||(0===u||n[u-1].parent!==y?null:n[u-1].key),nextSibling:u===n.length-1||n[u+1].parent!==y?null:n[u+1].key});return e.contentBlocks.push(T),e.cacheRef[T.key]=u,e}),{cacheRef:{},contentBlocks:[]}).contentBlocks}(n);return{contentBlocks:o,entityMap:r}}},function(e,t,n){"use strict";var r=n(53),o=n(11),i=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},function(e,t,n){"use strict";var r=n(32),o=n(15),i=(n(76),n(462)),a=n(49),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),u=n.merge({blockMap:a,selectionAfter:t});if(u!==n)return o.push(e,u,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?o.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var u=t.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=r.removeRange(n,u,"forward");return c!==n?o.push(e,c,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return t;var s=t.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return t;e.preventDefault();var l=s.getBlockBefore(a);if(!l)return t;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return t;var d=u.getDepth();if(!e.shiftKey&&d===n)return t;n=Math.min(l.getDepth()+1,n);var p=i(s,r,e.shiftKey?-1:1,n);return o.push(t,p,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),s=n.getEndKey(),u=e.getCurrentContent(),c=n;if(i!==s&&0===n.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==s})).some((function(e){return"atomic"===e.getType()})))return e;var f=u.getBlockForKey(i).getType()===t?"unstyled":t;return o.push(e,r.setBlockType(u,c,f),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var a,s=e.getCurrentContent();return a=i.has(t)?r.removeInlineStyle(s,n,t):r.applyInlineStyle(s,n,t),o.push(e,a,"change-inline-style")},toggleLink:function(e,t,n){var i=r.applyEntity(e.getCurrentContent(),t,n);return o.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var o=t.getAnchorKey(),i=e.getCurrentContent(),a=i.getBlockForKey(o),s=i.getFirstBlock();if(a.getLength()>0&&a!==s)return null;var u=a.getType(),c=i.getBlockBefore(o);if("code-block"===u&&c&&"code-block"===c.getType()&&0!==c.getLength())return null;if("unstyled"!==u)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},function(e,t,n){"use strict";var r=n(145),o=n(139),i=n(53),a=i.isPlatform("Mac OS X"),s=i.isPlatform("Windows"),u=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,l=r.isCtrlKeyCommand;function f(e){return a&&e.altKey||l(e)}e.exports=function(e){switch(e.keyCode){case 66:return c(e)?"bold":null;case 68:return l(e)?"delete":null;case 72:return l(e)?"backspace":null;case 73:return c(e)?"italic":null;case 74:return c(e)?"code":null;case 75:return!s&&l(e)?"secondary-cut":null;case 77:case 79:return l(e)?"split-block":null;case 84:return a&&l(e)?"transpose-characters":null;case 85:return c(e)?"underline":null;case 87:return a&&l(e)?"backspace-word":null;case 89:return l(e)?s?"redo":"secondary-paste":null;case 90:return function(e){return c(e)?e.shiftKey?"redo":"undo":null}(e)||null;case o.RETURN:return"split-block";case o.DELETE:return function(e){return s&&e.shiftKey?null:f(e)?"delete-word":"delete"}(e);case o.BACKSPACE:return function(e){return c(e)&&a?"backspace-to-start-of-line":f(e)?"backspace-word":"backspace"}(e);case o.LEFT:return u&&c(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return u&&c(e)?"move-selection-to-end-of-block":null;default:return null}}},function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(58),a=n(38);function s(e,t){var n=e.values,o=Object(r.c)(e,["values"]),i=t.values,s=Object(r.c)(t,["values"]);return Object(a.d)(i,n)&&Object(a.d)(o,s)}function u(e){var t=Object(i.a)(),n=t.formatMessage,r=t.textComponent,a=void 0===r?o.Fragment:r,s=e.id,u=e.description,c=e.defaultMessage,l=e.values,f=e.children,d=e.tagName,p=void 0===d?a:d,h=n({id:s,description:u,defaultMessage:c},l,{ignoreTag:e.ignoreTag});return"function"==typeof f?f(Array.isArray(h)?h:[h]):p?o.createElement(p,null,o.Children.toArray(h)):o.createElement(o.Fragment,null,h)}u.displayName="FormattedMessage";var c=o.memo(u,s);c.displayName="MemoizedFormattedMessage",t.a=c},function(e,t,n){var r=n(131),o=n(125),i=n(133),a=n(205),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(204),o=n(237),i=n(104);e.exports=function(e){return r(e,i,o)}},function(e,t,n){"use strict";n.r(t),n.d(t,"selectUnit",(function(){return c})),n.d(t,"defaultNumberOption",(function(){return b})),n.d(t,"getAliasesByLang",(function(){return v})),n.d(t,"getInternalSlot",(function(){return x})),n.d(t,"getMultiInternalSlots",(function(){return _})),n.d(t,"getNumberOption",(function(){return y})),n.d(t,"getOption",(function(){return g})),n.d(t,"getParentLocalesByLang",(function(){return w})),n.d(t,"isLiteralPart",(function(){return O})),n.d(t,"partitionPattern",(function(){return k})),n.d(t,"setInternalSlot",(function(){return S})),n.d(t,"setMultiInternalSlots",(function(){return E})),n.d(t,"setNumberFormatDigitOptions",(function(){return C})),n.d(t,"toObject",(function(){return h})),n.d(t,"objectIs",(function(){return T})),n.d(t,"isWellFormedCurrencyCode",(function(){return P})),n.d(t,"toString",(function(){return m})),n.d(t,"createResolveLocale",(function(){return M})),n.d(t,"getLocaleHierarchy",(function(){return B})),n.d(t,"supportedLocales",(function(){return H})),n.d(t,"unpackData",(function(){return V})),n.d(t,"isMissingLocaleDataError",(function(){return K})),n.d(t,"SANCTIONED_UNITS",(function(){return G})),n.d(t,"removeUnitNamespace",(function(){return W})),n.d(t,"InternalSlotToken",(function(){return q})),n.d(t,"getCanonicalLocales",(function(){return I})),n.d(t,"invariant",(function(){return p}));var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=1e3,i=60,a=60*i,s=24*a,u=7*s;function c(e,t,n){void 0===t&&(t=Date.now()),void 0===n&&(n={});var c=r(r({},l),n||{}),f=(+e-+t)/o;if(Math.abs(f)<c.second)return{value:Math.round(f),unit:"second"};var d=f/i;if(Math.abs(d)<c.minute)return{value:Math.round(d),unit:"minute"};var p=f/a;if(Math.abs(p)<c.hour)return{value:Math.round(p),unit:"hour"};var h=f/s;if(Math.abs(h)<c.day)return{value:Math.round(h),unit:"day"};var m=new Date(e),g=new Date(t),b=m.getFullYear()-g.getFullYear();if(Math.round(Math.abs(b))>0)return{value:Math.round(b),unit:"year"};var y=12*b+m.getMonth()-g.getMonth();if(Math.round(Math.abs(y))>0)return{value:Math.round(y),unit:"month"};var v=f/u;return{value:Math.round(v),unit:"week"}}var l={second:45,minute:45,hour:22,day:5},f={"aa-SAAHO":"ssy",aam:"aas",aar:"aa",abk:"ab",adp:"dz",afr:"af",aju:"jrb",aka:"ak",alb:"sq",als:"sq",amh:"am",ara:"ar",arb:"ar",arg:"an",arm:"hy","art-lojban":"jbo",asd:"snz",asm:"as",aue:"ktz",ava:"av",ave:"ae",aym:"ay",ayr:"ay",ayx:"nun","az-AZ":"az-Latn-AZ",aze:"az",azj:"az",bak:"ba",bam:"bm",baq:"eu",bcc:"bal",bcl:"bik",bel:"be",ben:"bn",bgm:"bcg",bh:"bho",bih:"bho",bis:"bi",bjd:"drl",bod:"bo",bos:"bs",bre:"br","bs-BA":"bs-Latn-BA",bul:"bg",bur:"my",bxk:"luy",bxr:"bua",cat:"ca",ccq:"rki","cel-gaulish":"xtg-x-cel-gaulish",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cjr:"mom",cka:"cmr",cld:"syr",cmk:"xch",cmn:"zh",cnr:"sr-ME",cor:"kw",cos:"co",coy:"pij",cqu:"quh",cre:"cr",cwd:"cr",cym:"cy",cze:"cs",dan:"da",deu:"de",dgo:"doi",dhd:"mwr",dik:"din",diq:"zza",dit:"dif",div:"dv",drh:"mn",drw:"fa-af",dut:"nl",dzo:"dz",ekk:"et",ell:"el",emk:"man",eng:"en",epo:"eo",esk:"ik",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fat:"ak",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",fuc:"ff",ful:"ff",gav:"dev",gaz:"om",gbo:"grb",geo:"ka",ger:"de",gfx:"vaj",ggn:"gvr",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gno:"gon",gre:"el",grn:"gn",gti:"nyc",gug:"gn",guj:"gu",guv:"duz",gya:"gba","ha-Latn-GH":"ha-GH","ha-Latn-NE":"ha-NE","ha-Latn-NG":"ha-NG",hat:"ht",hau:"ha",hbs:"sr-Latn",hdn:"hai",hea:"hmn",heb:"he",her:"hz",him:"srx",hin:"hi",hmo:"ho",hrr:"jal",hrv:"hr",hun:"hu",hye:"hy","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","i-default":"en-x-i-default","i-enochian":"und-x-i-enochian","i-mingo":"see-x-i-mingo",ibi:"opa",ibo:"ig",ice:"is",ido:"io",iii:"ii",ike:"iu",iku:"iu",ile:"ie",ilw:"gal",in:"id",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",iw:"he",jav:"jv",jeg:"oyb",ji:"yi",jpn:"ja",jw:"jv",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",kgc:"tdf",kgh:"kml",khk:"mn",khm:"km",kik:"ki",kin:"rw",kir:"ky","kk-Cyrl-KZ":"kk-KZ",kmr:"ku",knc:"kr",kng:"kg",knn:"kok",koj:"kwv",kom:"kv",kon:"kg",kor:"ko",kpv:"kv",krm:"bmf","ks-Arab-IN":"ks-IN",ktr:"dtp",kua:"kj",kur:"ku",kvs:"gdj",kwq:"yam",kxe:"tvd","ky-Cyrl-KG":"ky-KG",kzj:"dtp",kzt:"dtp",lao:"lo",lat:"la",lav:"lv",lbk:"bnc",lii:"raq",lim:"li",lin:"ln",lit:"lt",llo:"ngt",lmm:"rmx",ltz:"lb",lub:"lu",lug:"lg",lvs:"lv",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",meg:"cir",mhr:"chm",mkd:"mk",mlg:"mg",mlt:"mt","mn-Cyrl-MN":"mn-MN",mnk:"man",mo:"ro",mol:"ro",mon:"mn",mri:"mi","ms-Latn-BN":"ms-BN","ms-Latn-MY":"ms-MY","ms-Latn-SG":"ms-SG",msa:"ms",mst:"mry",mup:"raj",mwj:"vaj",mya:"my",myd:"aog",myt:"mry",nad:"xny",nau:"na",nav:"nv",nbl:"nr",ncp:"kdz",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nns:"nbr",nnx:"ngv",no:"nb","no-bok":"nb","no-BOKMAL":"nb","no-nyn":"nn","no-NYNORSK":"nn",nob:"nb",nor:"nb",npi:"ne",nts:"pij",nya:"ny",oci:"oc",ojg:"oj",oji:"oj",ori:"or",orm:"om",ory:"or",oss:"os",oun:"vaj","pa-IN":"pa-Guru-IN","pa-PK":"pa-Arab-PK",pan:"pa",pbu:"ps",pcr:"adx",per:"fa",pes:"fa",pli:"pi",plt:"mg",pmc:"huw",pmu:"phr",pnb:"lah",pol:"pl",por:"pt",ppa:"bfy",ppr:"lcq",prs:"fa-AF",pry:"prt",pus:"ps",puz:"pub",que:"qu",quz:"qu",rmy:"rom",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sca:"hle",scc:"sr",scr:"hr","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg",sh:"sr-Latn","shi-MA":"shi-Tfng-MA",sin:"si",skk:"oyb",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",spy:"kln",sqi:"sq","sr-BA":"sr-Cyrl-BA","sr-ME":"sr-Latn-ME","sr-RS":"sr-Cyrl-RS","sr-XK":"sr-Cyrl-XK",src:"sc",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swc:"sw-CD",swe:"sv",swh:"sw",tah:"ty",tam:"ta",tat:"tt",tdu:"dtp",tel:"te",tgk:"tg",tgl:"fil",tha:"th",thc:"tpo",thx:"oyb",tib:"bo",tie:"ras",tir:"ti",tkk:"twm",tl:"fil",tlw:"weo",tmp:"tyj",tne:"kak",tnf:"fa-af",ton:"to",tsf:"taj",tsn:"tn",tso:"ts",ttq:"tmh",tuk:"tk",tur:"tr",tw:"ak",twi:"ak","tzm-Latn-MA":"tzm-MA","ug-Arab-CN":"ug-CN",uig:"ug",ukr:"uk",umu:"del",uok:"ema",urd:"ur","uz-AF":"uz-Arab-AF","uz-UZ":"uz-Latn-UZ",uzb:"uz",uzn:"uz","vai-LR":"vai-Vaii-LR",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wln:"wa",wol:"wo",xba:"cax",xho:"xh",xia:"acn",xkh:"waw",xpe:"kpe",xsj:"suj",xsl:"den",ybd:"rki",ydd:"yi",yid:"yi",yma:"lrr",ymt:"mtm",yor:"yo",yos:"zom","yue-CN":"yue-Hans-CN","yue-HK":"yue-Hant-HK",yuu:"yug",zai:"zap","zh-CN":"zh-Hans-CN","zh-guoyu":"zh","zh-hakka":"hak","zh-HK":"zh-Hant-HK","zh-min-nan":"nan","zh-MO":"zh-Hant-MO","zh-SG":"zh-Hans-SG","zh-TW":"zh-Hant-TW","zh-xiang":"hsn","zh-min":"nan-x-zh-min",zha:"za",zho:"zh",zsm:"ms",zul:"zu",zyb:"za"},d={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","zh-Hant-MO":"zh-Hant-HK"};function p(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function h(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function m(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function g(e,t,n,r,o){var i=e[t];if(void 0!==i){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(i=Boolean(i)),"string"===n&&(i=m(i)),void 0!==r&&!r.filter((function(e){return e==i})).length)throw new RangeError(i+" is not within "+r.join(", "));return i}return o}function b(e,t,n,r){if(void 0!==e){if(e=Number(e),isNaN(e)||e<t||e>n)throw new RangeError(e+" is outside of range ["+t+", "+n+"]");return Math.floor(e)}return r}function y(e,t,n,r,o){return b(e[t],n,r,o)}function v(e){return Object.keys(f).reduce((function(t,n){return n.split("-")[0]===e&&(t[n]=f[n]),t}),{})}function w(e){return Object.keys(d).reduce((function(t,n){return n.split("-")[0]===e&&(t[n]=d[n]),t}),{})}function S(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function E(e,t,n){for(var r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];S(e,t,i,n[i])}}function x(e,t,n){return _(e,t,n)[n]}function _(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=e.get(t);if(!o)throw new TypeError(t+" InternalSlot has not been initialized");return n.reduce((function(e,t){return e[t]=o[t],e}),Object.create(null))}function O(e){return"literal"===e.type}function k(e){for(var t=[],n=e.indexOf("{"),r=0,o=0,i=e.length;n<e.length&&n>-1;)p((r=e.indexOf("}",n))>n,"Invalid pattern "+e),n>o&&t.push({type:"literal",value:e.substring(o,n)}),t.push({type:e.substring(n+1,r),value:void 0}),o=r+1,n=e.indexOf("{",o);return o<i&&t.push({type:"literal",value:e.substring(o,i)}),t}function C(e,t,n,r,o){var i=y(n,"minimumIntegerDigits",1,21,1),a=n.minimumFractionDigits,s=n.maximumFractionDigits,u=n.minimumSignificantDigits,c=n.maximumSignificantDigits;if(S(e,t,"minimumIntegerDigits",i),void 0!==u||void 0!==c)S(e,t,"roundingType","significantDigits"),u=b(u,1,21,1),c=b(c,u,21,21),S(e,t,"minimumSignificantDigits",u),S(e,t,"maximumSignificantDigits",c);else if(void 0!==a||void 0!==s){S(e,t,"roundingType","fractionDigits"),a=b(a,0,20,r),s=b(s,a,20,Math.max(a,o)),S(e,t,"minimumFractionDigits",a),S(e,t,"maximumFractionDigits",s)}else"compact"===x(e,t,"notation")?S(e,t,"roundingType","compactRounding"):(S(e,t,"roundingType","fractionDigits"),S(e,t,"minimumFractionDigits",r),S(e,t,"maximumFractionDigits",o))}function T(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}var A=/[^A-Z]/;function P(e){return 3===(e=e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))).length&&!A.test(e)}function I(e){var t=Intl.getCanonicalLocales;return"function"==typeof t?t(e):Intl.DateTimeFormat.supportedLocalesOf(e||"")}var j,L=(j=function(e,t){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},j(e,t)},function(e,t){function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),D=function(){return D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},D.apply(this,arguments)};function M(e){var t=function(e){return function(t,n){for(var r={locale:""},o=0,i=n;o<i.length;o++){var a=i[o],s=a.replace(R,""),u=F(t,s);if(u)return r.locale=u,a!==s&&(r.extension=a.slice(s.length+1,a.length)),r}return r.locale=e(),r}}(e),n=function(e){return function(t,n){for(var r={locale:""},o=0,i=n;o<i.length;o++){var a=i[o],s=a.replace(R,""),u=F(t,s);if(u)return r.locale=u,a!==s&&(r.extension=a.slice(s.length+1,a.length)),r}return r.locale=e(),r}}(e);return function(e,r,o,i,a){for(var s,u=(s="lookup"===o.localeMatcher?t(e,r):n(e,r)).locale,c={locale:"",dataLocale:u},l="-u",f=0,d=i;f<d.length;f++){var h=d[f],m=a[u];p("object"==typeof m&&null!==m,"locale data "+h+" must be an object");var g=m[h];p(Array.isArray(g),"keyLocaleData for "+h+" must be an array");var b=g[0];p("string"==typeof b||null===b,"value must be string or null");var y="";if(s.extension){var v=N(s.extension,h);void 0!==v&&(""!==v?~g.indexOf(v)&&(y="-"+h+"-"+(b=v)):~v.indexOf("true")&&(b="true",y="-"+h))}if(h in o){var w=o[h];p("string"==typeof w||null==w,"optionsValue must be String, Undefined or Null"),~g.indexOf(w)&&w!==b&&(b=w,y="")}c[h]=b,l+=y}if(l.length>2){var S=u.indexOf("-x-");if(-1===S)u+=l;else{var E=u.slice(0,S),x=u.slice(S,u.length);u=E+l+x}u=I(u)[0]}return c.locale=u,c}}function N(e,t){p(2===t.length,"key must have 2 elements");var n=e.length,r="-"+t+"-",o=e.indexOf(r);if(-1!==o){for(var i=o+4,a=i,s=i,u=!1;!u;){var c=e.indexOf("-",s);2===(-1===c?n-s:c-s)?u=!0:-1===c?(a=n,u=!0):(a=c,s=c+1)}return e.slice(i,a)}if(r="-"+t,-1!==(o=e.indexOf(r))&&o+3===n)return""}var R=/-u(?:-[0-9a-z]{2,8})+/gi;function F(e,t){for(var n=t;;){if(~e.indexOf(n))return n;var r=n.lastIndexOf("-");if(!~r)return;r>=2&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}function B(e,t,n){var r=[e];t[e]&&(e=t[e],r.push(e));var o=n[e];o&&r.push(o);for(var i=e.split("-"),a=i.length;a>1;a--)r.push(i.slice(0,a-1).join("-"));return r}function U(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=F(e,o[r].replace(R,""));i&&n.push(i)}return n}function H(e,t,n){return void 0!==n&&g(n=h(n),"localeMatcher","string",["lookup","best fit"],"best fit"),U(e,t)}var z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}return L(t,e),t}(Error);function K(e){return"MISSING_LOCALE_DATA"===e.type}function V(e,t,n){void 0===n&&(n=function(e,t){return D(D({},e),t)});var r=B(e,t.aliases,t.parentLocales),o=r.map((function(e){return t.data[e]})).filter(Boolean);if(!o.length)throw new z('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce(n,{})}var q,G=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function W(e){return e.replace(/^(.*?)-/,"")}!function(e){e.compactName="compactName",e.compactSymbol="compactSymbol",e.currencyCode="currencyCode",e.currencyName="currencyName",e.currencyNarrowSymbol="currencyNarrowSymbol",e.currencySymbol="currencySymbol",e.minusSign="minusSign",e.number="number",e.percentSign="percentSign",e.plusSign="plusSign",e.scientificExponent="scientificExponent",e.scientificSeparator="scientificSeparator",e.unitName="unitName",e.unitNarrowSymbol="unitNarrowSymbol",e.unitSymbol="unitSymbol"}(q||(q={}))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,console&&console.warn}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=d.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):g(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)i(u,this,t);else{var c=u.length,l=g(u,c);for(n=0;n<c;++n)i(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";(function(e){let n;class r{static getUserAgent(){return e.navigator.userAgent}static isMobile(){const e=r.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(r.getUserAgent())}static isFirefox(){const e=r.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=r.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return r.isMobile()&&r.isSafari()&&!r.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=r.getUserAgent();return r.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canDownload(){return!r.isMobile()||!window.externalHost&&"download"in document.createElement("a")}static canPlayDash(){if(void 0===n||arguments.length>0&&void 0!==arguments[0]&&arguments[0]){const t=e.MediaSource;n=!!t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return n}static canWriteToClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.readText)}}t.a=r}).call(this,n(31))},function(e,t,n){var r=n(337)((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}));e.exports=r},function(e,t,n){"use strict";e.exports=n(351)},function(e,t,n){var r=n(166),o=n(180)((function(e,t,n,o){r(e,t,n,o)}));e.exports=o},function(e,t,n){var r=n(198),o=n(363),i=n(181),a=n(385),s=n(175),u=n(209),c=i((function(e){var t=u(e);return s(t)&&(t=void 0),a(r(e,1,s,!0),o(t,2))}));e.exports=c},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var r=n(22),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(100)(e))},function(e,t,n){var r=n(195),o=n(86),i=n(83),a=n(34),s=n(73),u=n(84),c=n(102),l=n(103),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){var r=n(121),o=n(496),i=n(511),a=n(93),s=n(74),u=n(514),c=n(515),l=n(238),f=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,l(e),n),c&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},function(e,t,n){var r=n(99),o=0;e.exports=function(e){var t=++o;return r(e)+t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return he}));var r=n(3),o=n.n(r),i=n(92),a=n(115),s=n(64),u=n(54),c=n(6),l=n.n(c),f=n(1),d=n(50);class p{constructor({getSelection:e,referenceEl:t,selectionChangeDelay:n=0,store:r}){o()(this,"referenceEl",void 0),o()(this,"getSelection",void 0),o()(this,"selectionChangeDelay",void 0),o()(this,"selectionChangeTimer",void 0),o()(this,"store",void 0),o()(this,"handleMouseDown",(({buttons:e})=>{e===d.a&&(clearTimeout(this.selectionChangeTimer),this.store.dispatch(Object(f.G)(!0)),this.store.dispatch(Object(f.L)(null)))})),o()(this,"handleMouseUp",(()=>{Object(f.t)(this.store.getState())&&(this.selectionChangeTimer=window.setTimeout((()=>{this.store.dispatch(Object(f.L)(this.getSelection())),this.store.dispatch(Object(f.G)(!1))}),this.selectionChangeDelay))})),this.getSelection=e,this.referenceEl=t,this.selectionChangeDelay=n,this.store=r}exists(e){return e.contains(this.referenceEl)}render(){this.store.dispatch(Object(f.L)(null)),this.referenceEl.addEventListener("mousedown",this.handleMouseDown),this.referenceEl.addEventListener("mouseup",this.handleMouseUp)}style(e){return l()(this.referenceEl.style,e)}destroy(){clearTimeout(this.selectionChangeTimer),this.referenceEl.removeEventListener("mousedown",this.handleMouseDown),this.referenceEl.removeEventListener("mouseup",this.handleMouseUp)}}var h=n(91),m=n.n(h);class g{constructor({getSelection:e,store:t}){o()(this,"getSelection",void 0),o()(this,"store",void 0),o()(this,"handleSelectionChange",(()=>{Object(f.t)(this.store.getState())||this.store.dispatch(Object(f.L)(this.getSelection()))})),o()(this,"debounceHandleSelectionChange",m()(this.handleSelectionChange,500)),this.getSelection=e,this.store=t,document.addEventListener("selectionchange",this.debounceHandleSelectionChange)}destroy(){document.removeEventListener("selectionchange",this.debounceHandleSelectionChange)}}var b=n(0),y=n.n(b),v=n(33),w=n(44),S=n(17),E=n(28);n(520);class x extends b.PureComponent{constructor(...e){super(...e),o()(this,"canvasRef",b.createRef())}componentDidMount(){this.scaleCanvas(),this.renderRects()}componentDidUpdate(){this.clearCanvas(),this.renderRects()}getContext(){const{current:e}=this.canvasRef;return e?.getContext("2d")??null}scaleCanvas(){const{current:e}=this.canvasRef;e&&(e.width=e.offsetWidth,e.height=e.offsetHeight)}clearCanvas(){const{current:e}=this.canvasRef,t=e&&e.getContext("2d");e&&t&&t.clearRect(0,0,e.width,e.height)}renderRects(){const{shapes:e}=this.props,{current:t}=this.canvasRef,n=t&&t.getContext("2d"),r=t?.height??0,o=t?.width??0,i=Array.isArray(e)?e:[e];n&&i.forEach((e=>{const{height:t,isActive:i,isHover:a,width:s,x:u,y:c}=e;if(0===s||0===t)return;const l=t/100*r,f=s/100*o,d=u/100*o,p=c/100*r;if(n.save(),n.fillStyle=E.d,n.globalAlpha=i||a?.66:.33,n.fillRect(d,p,f,l),n.restore(),n.save(),n.strokeStyle=E.f,n.lineWidth=1,n.strokeRect(d,p,f,l),i){const e=n.getImageData(d,p,f,l);n.save(),n.shadowColor=E.e,n.shadowBlur=10,n.strokeRect(d,p,f,l),n.putImageData(e,d,p),n.restore()}n.restore()}))}render(){return b.createElement("canvas",{ref:this.canvasRef,className:"ba-HighlightCanvas"})}}o()(x,"defaultProps",{shapes:[]});var _=n(9),O=n.n(_);n(521);const k=({children:e,className:t},n)=>y.a.createElement("svg",{ref:n,className:O()("ba-HighlightSvg",t)},e);var C=y.a.forwardRef(k),T=n(7),A=n.n(T),P=n(78);n(522);const I=(e,t)=>{const{annotationId:n,className:r,isActive:o,onHover:i=A.a,onMount:a=A.a,onSelect:s=A.a,shapes:u}=e,c=Object(P.a)(a),l=()=>{s(n)};return y.a.createElement("a",{ref:t,className:O()("ba-HighlightTarget",r,{"is-active":o}),"data-ba-reference-id":c,"data-resin-itemid":n,"data-resin-target":"highlightText","data-testid":`ba-AnnotationTarget-${n}`,href:"#",onClick:e=>{e.preventDefault(),e.stopPropagation()},onFocus:l,onMouseDown:e=>{if(e.buttons!==d.a)return;const t=document.activeElement;e.preventDefault(),e.stopPropagation(),t&&t!==e.currentTarget&&t.blur&&t.blur(),e.currentTarget.focus?e.currentTarget.focus():l()},onMouseEnter:()=>{i(n)},onMouseLeave:()=>{i(null)},role:"button",tabIndex:0},u.map((e=>{const{height:t,width:r,x:o,y:i}=e;return y.a.createElement("rect",{key:`${n}-${o}-${i}-${r}-${t}`,className:"ba-HighlightTarget-rect",fill:"none",height:`${t}%`,width:`${r}%`,x:`${o}%`,y:`${i}%`})})))};var j=y.a.forwardRef(I),L=n(79),D=n(39);n(523);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R({target:e}){const{shapes:t=[]}=e;return t.every((({height:e,width:t,x:n,y:r})=>Object(D.a)(e)&&Object(D.a)(t)&&Object(D.a)(n)&&Object(D.a)(r)))}function F(e){return e.reduce(((e,{height:t,width:n})=>e+t*n),0)}function B({target:e},{target:t}){const{shapes:n}=e,{shapes:r}=t;return F(n)>F(r)?-1:1}function U({activeId:e=null,annotations:t,className:n,onSelect:r}){const[o,i]=y.a.useState(null),a=y.a.createRef(),s=Object(L.a)(),u=t.filter(R).sort(B),c=function(e,t,n){return e.reduce(((e,r)=>{const{id:o,target:{shapes:i}}=r;return e.concat(i.map((e=>N(N({},e),{},{isActive:t===o,isHover:n===o}))))}),[])}(u,e,o),l=e=>{i(e)};return y.a.createElement("div",{className:O()("ba-HighlightList",n),"data-resin-component":"highlightList"},y.a.createElement(x,{shapes:c}),y.a.createElement(C,{ref:a,className:O()({"is-listening":s})},u.map((({id:t,target:n})=>y.a.createElement(j,{key:t,annotationId:t,isActive:e===t,onHover:l,onSelect:r,shapes:n.shapes})))))}var H=y.a.memo(U),z=n(62);function K(){return K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K.apply(this,arguments)}var V=e=>b.createElement(z.a,K({width:16,height:16,viewBox:"0 0 16 16"},e),b.createElement("path",{d:"M5.75 1a.25.25 0 01.25.25v.5a.25.25 0 01-.25.25H4v12h1.75a.25.25 0 01.25.25v.5a.25.25 0 01-.25.25h-4.5a.25.25 0 01-.25-.25v-.5a.25.25 0 01.25-.25H3V2H1.25A.25.25 0 011 1.75v-.5A.25.25 0 011.25 1h4.5zM13 4a2 2 0 012 2v4a2 2 0 01-2 2H5.75a1 1 0 01-1-1V5a1 1 0 011-1H13zm-2.78 1.5a2.83 2.83 0 00-1.991.763l.206.372a.53.53 0 00.136.148.33.33 0 00.206.064.5.5 0 00.255-.066l.255-.148c.093-.055.202-.104.325-.148s.278-.066.465-.066c.26 0 .456.078.593.233s.206.395.206.72v.283c-.548.013-1.006.066-1.374.16s-.662.213-.883.356-.38.303-.474.48S8 9.008 8 9.2c0 .217.034.407.103.57a1.11 1.11 0 00.29.41 1.23 1.23 0 00.444.247c.17.055.358.082.56.082.17 0 .328-.014.47-.042a1.83 1.83 0 00.4-.127 2.87 2.87 0 00.36-.2 4.18 4.18 0 00.355-.29l.103.344c.034.1.08.167.14.2s.143.05.252.05H12V7.37a2.29 2.29 0 00-.119-.754 1.64 1.64 0 00-.348-.59 1.59 1.59 0 00-.561-.386 1.93 1.93 0 00-.752-.139zm.654 2.86v.815a1.812 1.812 0 01-.507.393 1.36 1.36 0 01-.614.13c-.193 0-.35-.044-.47-.132s-.18-.234-.18-.438c0-.104.03-.2.09-.287a.72.72 0 01.294-.231c.137-.066.32-.12.544-.163a6.27 6.27 0 01.843-.087z",fill:E.c,fillRule:"evenodd"})),q=n(236),G=n(21),W=n(43);function $(e,t,n){b.useEffect((()=>{function r(e){const r=t instanceof Element?t:t?.current,o=!!r?.contains(e.target);n&&!o&&n(e)}return document.addEventListener(e,r),()=>{document.removeEventListener(e,r)}}),[n,t,e])}var Y=n(63);n(524);const X={modifiers:[{name:"arrow",options:{element:".ba-Popup-arrow"}},{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:5}}],placement:"bottom"};function Z({onCancel:e=A.a,onSubmit:t=A.a,shape:n}){const r=y.a.useRef(null),{height:o,width:i,x:a,y:s}=n,u={getBoundingClientRect:()=>Object(Y.a)(o,i,a,s)};return $("keydown",r,(e=>{e instanceof KeyboardEvent&&"Enter"===e.key&&!e.ctrlKey&&!e.metaKey&&(e.preventDefault(),e.stopPropagation(),t())})),$("mousedown",r,e),y.a.createElement(W.a,{"aria-live":"polite",className:"ba-PopupHighlight",options:X,reference:u,role:"dialog"},y.a.createElement("button",{ref:r,"aria-haspopup":"dialog",className:"ba-PopupHighlight-button","data-testid":"ba-PopupHighlight-button",onClick:t,type:"button"},y.a.createElement(V,{className:"ba-PopupHighlight-icon"}),y.a.createElement(q.a,G.a.popupHighlightPromoter)))}n(525);const Q={modifiers:[{name:"arrow",options:{element:".ba-Popup-arrow"}},{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:5}}],placement:"bottom"};function J({onCancel:e=A.a,shape:t}){const n=y.a.useRef(null),{height:r,width:o,x:i,y:a}=t,s={getBoundingClientRect:()=>Object(Y.a)(r,o,i,a)};return $("mousedown",n.current?.popupRef,e),y.a.createElement(W.a,{ref:n,className:"ba-PopupHighlightError","data-testid":"ba-PopupHighlightError",options:Q,reference:s},y.a.createElement(q.a,G.a.popupHighlightRestrictedPrompt))}n(526);function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=e=>{const{activeAnnotationId:t,annotations:n=[],isCreating:r=!1,isPending:o=!1,isPromoting:i=!1,isSelecting:a=!1,selection:s,setActiveAnnotationId:c,setIsPromoting:l,setReferenceId:d,setSelection:p,setStaged:h,setStatus:m,staged:g}=e,y=r||i,v=b.useCallback((()=>{if(!s)return;const{containerRect:e,location:t,rects:n}=s;h({location:t,shapes:n.map((t=>te(te({},Object(u.d)(t,e)),{},{type:"rect"})))}),m(f.a.staged)}),[s,h,m]),w=()=>{p(null)};return b.useEffect((()=>{a&&!o&&(h(null),m(f.a.init))}),[a,o,h,m]),b.useEffect((()=>{r&&s&&!s.hasError&&!o&&v()}),[r,o,s,v]),b.createElement(b.Fragment,null,b.createElement(H,{activeId:t,annotations:n,onSelect:e=>{c(e)}}),y&&g&&b.createElement("div",{className:"ba-HighlightAnnotations-target"},b.createElement(x,{shapes:g.shapes}),b.createElement(C,null,b.createElement(j,{annotationId:"staged",isActive:!0,onMount:e=>{d(e)},shapes:g.shapes}))),!r&&s&&!s.hasError&&b.createElement("div",{className:"ba-HighlightAnnotations-popup"},b.createElement(Z,{onCancel:w,onSubmit:()=>{v(),l(!0)},shape:Object(u.c)(s.rects)})),s&&s.hasError&&b.createElement("div",{className:"ba-HighlightAnnotations-popup"},b.createElement(J,{onCancel:w,shape:Object(u.c)(s.rects)})))},re=n(55);const oe={setActiveAnnotationId:f.B,setIsPromoting:f.F,setReferenceId:f.I,setSelection:f.L,setStaged:f.M,setStatus:f.N};var ie=Object(S.b)(((e,{location:t})=>{const n=Object(f.o)(e,t);return{activeAnnotationId:Object(f.f)(e),annotations:Object(f.i)(e,t).filter(u.e),isCreating:Object(f.h)(e)===f.b.HIGHLIGHT,isPending:Object(f.p)(e)===f.a.pending,isPromoting:Object(f.s)(e),isSelecting:Object(f.t)(e),selection:Object(f.v)(e,t),staged:Object(f.x)(n)?n:null}}),oe)(Object(re.a)(ne));class ae extends w.a{decorate(){this.reactEl.classList.add("ba-Layer--highlight"),this.reactEl.dataset.testid="ba-Layer--highlight"}render(e){this.root||(this.root=v.createRoot(this.reactEl)),this.root.render(b.createElement(ie,l()({location:this.location},e)))}}var se=n(45),ue=n(8),ce=n(12);function le(e,t){for(let n=e;n&&n!==document.body;n=n.parentNode)if(n.classList&&n.classList.contains(t))return n;return null}function fe(e){const t=le(e,"page"),n=t&&t.getAttribute("data-page-number");return n?parseInt(n,10):void 0}function de(){const e=window.getSelection();if(!e||e.isCollapsed||!e.rangeCount||!e.focusNode)return null;let t=e.getRangeAt(e.rangeCount-1);const n=e.getRangeAt(0);t.setStart(n.startContainer,n.startOffset);const r=le(t.endContainer,"textLayer"),o=fe(t.startContainer),i=fe(t.endContainer);if(!r||!o||!i)return null;const a=o!==i;let s=i;return a&&(t=document.createRange(),t.setEnd(e.focusNode,e.focusOffset),t.collapse(!1),s=fe(e.focusNode)??i),{containerRect:r.getBoundingClientRect(),hasError:a,location:s,range:t}}var pe=n(114);n(527);class he extends i.b{constructor(e){super(e),o()(this,"annotatedEl",void 0),o()(this,"highlightListener",void 0),o()(this,"managers",new Map),o()(this,"handleChangeMode",(({mode:e})=>{if(!this.annotatedEl)return;this.removeAnnotationClasses();const t=this.annotatedEl,n=i.a[e];n&&t.classList.add(n)})),this.highlightListener=new g({getSelection:de,store:this.store}),this.addListener(ue.Event.ANNOTATIONS_MODE_CHANGE,this.handleChangeMode)}destroy(){this.removeListener(ue.Event.ANNOTATIONS_MODE_CHANGE,this.handleChangeMode),this.highlightListener&&this.highlightListener.destroy(),this.managers&&this.managers.forEach((e=>e.forEach((e=>e.destroy())))),super.destroy()}getAnnotatedElement(){return this.containerEl?.querySelector(".bp-doc")}getPageManagers(e){const t=Object(f.q)(this.store.getState()),n=Object(f.r)(this.store.getState()),r=this.getPageNumber(e),o=this.getPageReference(e),i=this.managers.get(r)||new Set,u={fileid:t,iscurrent:n};let c=!1;if(i.forEach((t=>{t.exists(e)||(c=!0)})),c&&(i.forEach((e=>{e.destroy()})),i.clear()),0===i.size){i.add(new a.a({location:r,referenceEl:o,resinTags:u})),i.add(new s.a({location:r,referenceEl:o,resinTags:u}));const t=e.querySelector(".textLayer");t&&i.add(new p({getSelection:de,referenceEl:t,selectionChangeDelay:300,store:this.store})),i.add(new ae({location:r,referenceEl:o,resinTags:u})),i.add(new se.b({location:r,referenceEl:o,resinTags:u}));const n=e.querySelector(".canvasWrapper");i.add(new se.a({location:r,referenceEl:n||o,resinTags:u}))}return i}getPageNumber(e){return parseInt(e.dataset.pageNumber||"",10)||1}getPageReference(e){const t=e.querySelector(".annotationLayer"),n=e.querySelector(".canvasWrapper"),r=e.querySelector(".textLayer");return t||r||n}getPage(e){return this.getPages().find((t=>e===this.getPageNumber(t)))}getPages(){return this.annotatedEl?Array.from(this.annotatedEl.querySelectorAll(".page")):[]}render(){this.getPages().filter((({dataset:e})=>e.loaded&&e.pageNumber)).forEach((e=>this.renderPage(e))),this.postRender()}renderPage(e){const t=this.getPageManagers(e),n=this.getPageNumber(e);t.forEach((e=>e.render({intl:this.intl,store:this.store}))),this.managers.set(n,t)}scrollToAnnotation(e){if(!e)return;const t=Object(ce.e)(this.store.getState(),e),n=t?.target.location.value??1,r=this.getPage(n);if(!(t&&n&&r&&this.annotatedEl))return;let o=null;Object(se.e)(t)?o=Object(se.c)(t.target.shape):Object(u.e)(t)?o=Object(u.a)(t.target.shapes):Object(s.c)(t)&&(o=Object(s.b)(t.target.path_groups)),o&&Object(pe.a)(this.annotatedEl,r,{offsets:o})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(3),o=n.n(r),i=n(92),a=n(115),s=n(64),u=n(45),c=n(13),l=n(1);const f=-90,d=-180,p=-270,h={height:100,width:100},m=({x:e,y:t},n)=>({x:e,y:n>0?n-t:t}),g=({x:e,y:t},n)=>{const r=n*Math.PI/180,o=Math.cos(r),i=Math.sin(r);return{x:e*o-t*i,y:e*i+t*o}},b=e=>{const{height:t,width:n,x:r,y:o}=e;return[{x:r,y:o},{x:r+n,y:o},{x:r+n,y:o+t},{x:r,y:o+t}]},y=({x:e,y:t},{dx:n=0,dy:r=0})=>({x:e+n,y:t+r});function v(e,t){const{height:n,width:r}=e,{height:o,width:i}=h,a=t%180==0,s=t%360==0,u=function(e,t){const{height:n,width:r}=e;switch(t){case f:return{dx:n};case d:return{dx:r,dy:n};case p:return{dy:r}}return{dx:0,dy:0}}(h,t),c=function(e,t){const[n,r,o,i]=b(e);switch(t){case f:return r;case d:return o;case p:return i;default:return n}}(e,t);if(s)return e;const l=m(c,o),v=g(l,-t),w=y(v,u),{x:S,y:E}=m(w,a?o:i);return{height:a?n:r,width:a?r:n,x:S,y:E}}function w({x:e,y:t},n){const{x:r,y:o}=v({height:0,width:0,x:e,y:t},n);return{x:r,y:o}}var S=n(114);n(519);const E="ba-is-drawing";class x extends i.b{constructor(e){super(e),o()(this,"annotatedEl",void 0),o()(this,"managers",new Set),o()(this,"storeHandler",void 0),o()(this,"handleStore",(()=>{const e=this.getReference();e&&(Object(c.h)(this.store.getState())===c.a.started?e.classList.add(E):e.classList.remove(E))})),this.storeHandler=this.store.subscribe(this.handleStore)}destroy(){this.storeHandler&&this.storeHandler(),this.managers&&this.managers.forEach((e=>e.destroy())),super.destroy()}getAnnotatedElement(){return this.containerEl?.querySelector(".bp-image")}getManagers(e,t){const n={fileid:Object(l.q)(this.store.getState()),iscurrent:Object(l.r)(this.store.getState())};return this.managers.forEach((t=>{t.exists(e)||(t.destroy(),this.managers.delete(t))})),0===this.managers.size&&(this.managers.add(new a.a({referenceEl:t,resinTags:n})),this.managers.add(new s.a({referenceEl:t,resinTags:n})),this.managers.add(new u.b({referenceEl:t,resinTags:n})),this.managers.add(new u.a({referenceEl:t,resinTags:n}))),this.managers}getReference(){return this.annotatedEl?.querySelector("img")}render(){const e=this.getReference(),t=Object(l.u)(this.store.getState())||0;this.annotatedEl&&e&&(this.getManagers(this.annotatedEl,e).forEach((n=>{n.style({height:`${e.offsetHeight}px`,left:`${e.offsetLeft}px`,top:`${e.offsetTop}px`,transform:`rotate(${t}deg)`,width:`${e.offsetWidth}px`}),n.render({intl:this.intl,store:this.store})})),this.postRender())}scrollToAnnotation(e){if(!e)return;const t=Object(l.g)(this.store.getState(),e),n=t?.target.location.value??1,r=this.getReference(),o=Object(l.u)(this.store.getState())||0;if(!(t&&n&&r&&this.annotatedEl))return;let i=null;Object(u.e)(t)?i=Object(u.c)(t.target.shape):Object(s.c)(t)&&(i=Object(s.b)(t.target.path_groups)),i&&Object(S.a)(this.annotatedEl,r,{offsets:w(i,o)})}}},,,,,function(e,t,n){e.exports=n(259)},function(e,t,n){"use strict";n.r(t),function(e){var r=n(3),o=n.n(r),i=(n(260),n(29)),a=n.n(i),s=n(253),u=n(252),c=n(8);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=[{CONSTRUCTOR:u.a,NAME:"Document",TYPES:[c.Type.highlight,c.Type.region],VIEWERS:["AutoCAD","Document","Presentation"]},{CONSTRUCTOR:s.a,NAME:"Image",TYPES:[c.Type.region],VIEWERS:["Image"]}];class p{constructor(e,t){o()(this,"annotators",void 0),o()(this,"annotationsOptions",void 0),o()(this,"viewerOptions",void 0),this.annotators=d,this.annotationsOptions=t,this.viewerOptions=e}canLoad(e){return!!e&&(!!e[c.PERMISSIONS.CAN_CREATE_ANNOTATIONS]||!!e[c.PERMISSIONS.CAN_VIEW_ANNOTATIONS])}getAnnotators(){return Array.isArray(this.annotators)?this.annotators:[]}getAnnotatorsForViewer(e=""){return this.getAnnotators().find((t=>t.VIEWERS.includes(e)))}determineAnnotator(e,t={}){const n=this.getAnnotatorsForViewer(a()(e,"viewer.NAME")),r=this.canLoad(a()(e,"file.permissions"));if(!n||!r||!1===t.enabled)return null;const o=a()(this.viewerOptions,[n.NAME,"enabledTypes"]),i=a()(t,"enabledTypes"),s=(o||i||n.TYPES||[]).filter((e=>n.TYPES.some((t=>t===e))));return f(f({},n),{},{TYPES:s})}getOptions(){return this.annotationsOptions}}e.BoxAnnotations=p,t.default=p}.call(this,n(31))},function(e,t){SVGElement.prototype.contains||Object.defineProperty(SVGElement.prototype,"contains",{configurable:!0,enumerable:!1,writable:!0,value:function(e){let t=e;do{if(this===t)return!0;t=t&&t.parentNode}while(t);return!1}})},function(e,t,n){var r=n(72),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(264),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var r=n(265);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(118);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(267),o=n(96),i=n(120);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(268),o=n(273),i=n(274),a=n(275),s=n(276);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(95);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(119),o=n(270),i=n(48),a=n(159),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},function(e,t,n){var r,o=n(271),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(47)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(95),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(95),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(95);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(97),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(97);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(97);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(97);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(98);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(98);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(98);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(98);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(72),o=n(121),i=n(34),a=n(94),s=r?r.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 n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t){},function(e,t,n){var r=n(96);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(96),o=n(120),i=n(118);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(296)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(167),o=n(169),i=n(170),a=n(172),s=n(173),u=n(83),c=n(34),l=n(175),f=n(84),d=n(119),p=n(48),h=n(176),m=n(103),g=n(177),b=n(302);e.exports=function(e,t,n,y,v,w,S){var E=g(e,n),x=g(t,n),_=S.get(x);if(_)r(e,n,_);else{var O=w?w(E,x,n+"",e,t,S):void 0,k=void 0===O;if(k){var C=c(x),T=!C&&f(x),A=!C&&!T&&m(x);O=x,C||T||A?c(E)?O=E:l(E)?O=a(E):T?(k=!1,O=o(x,!0)):A?(k=!1,O=i(x,!0)):O=[]:h(x)||u(x)?(O=E,u(E)?O=b(E):p(E)&&!d(E)||(O=s(x))):k=!1}k&&(S.set(x,O),v(O,x,y,w,S),S.delete(x)),r(e,n,O)}}},function(e,t,n){var r=n(48),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(65),o=n(52);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(65),o=n(126),i=n(52),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[r(e)]}},function(e,t,n){var r=n(74),o=n(104);e.exports=function(e){return r(e,o(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(48),o=n(102),i=n(305),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(308),o=n(168),i=n(130),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(81),o=n(73),i=n(129),a=n(48);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";var r=n(35),o=n(184),i=n(312),a=n(191);var s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(105));s.Axios=i,s.Cancel=n(106),s.CancelToken=n(325),s.isCancel=n(190),s.VERSION=n(192).version,s.all=function(e){return Promise.all(e)},s.spread=n(326),s.isAxiosError=n(327),e.exports=s,e.exports.default=s},function(e,t,n){"use strict";var r=n(35),o=n(185),i=n(313),a=n(314),s=n(191),u=n(324),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var r=n(35);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(35),o=n(315),i=n(190),a=n(105),s=n(106);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(35),o=n(105);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},function(e,t,n){"use strict";var r=n(35);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(189);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";var r=n(35);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(320),o=n(321);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(35),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(35);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(192).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){return function(o,a,s){if(!1===e)throw new Error(function(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(a," has been removed"+(t?" in "+t:"")));return t&&!i[a]&&(i[a]=!0),!e||e(o,a,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],u=void 0===s||a(s,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(e,t,n){"use strict";var r=n(106);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(65),o=n(34),i=n(52);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},function(e,t,n){var r=n(333);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(194),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(335),o=n(85);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(121);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(174)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(338),o=n(339),i=n(342),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},function(e,t,n){var r=n(340),o=n(99),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){var r=n(341)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(343),o=n(344),i=n(99),a=n(345);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\ud800-\\udfff",r="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="["+a+"]",u="\\d+",c="["+r+"]",l="["+o+"]",f="[^"+n+a+u+r+o+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+i+"]",m="(?:"+l+"|"+f+")",g="(?:"+h+"|"+f+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",y="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",S=w+v+("(?:\\u200d(?:"+["[^"+n+"]",d,p].join("|")+")"+w+v+")*"),E="(?:"+[c,d,p].join("|")+")"+S,x=RegExp([h+"?"+l+"+"+b+"(?="+[s,h,"$"].join("|")+")",g+"+"+y+"(?="+[s,h+m,"$"].join("|")+")",h+"?"+m+"+"+b,h+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",u,E].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},function(e,t,n){"use strict";var r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function y(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||m}function v(){}function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var S=w.prototype=new v;S.constructor=w,g(S,y.prototype),S.isPureReactComponent=!0;var E=Array.isArray,x=Object.prototype.hasOwnProperty,_={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,o)&&!O.hasOwnProperty(o)&&(i[o]=t[o]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===i[o]&&(i[o]=u[o]);return{$$typeof:r,type:e,key:a,ref:s,props:i,_owner:_.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var T=/\/+/g;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,n,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case r:case o:u=!0}}if(u)return a=a(u=e),e=""===i?"."+A(u,0):i,E(a)?(n="",null!=e&&(n=e.replace(T,"$&/")+"/"),P(a,t,n,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+e)),t.push(a)),1;if(u=0,i=""===i?".":i+":",E(e))for(var c=0;c<e.length;c++){var l=i+A(s=e[c],c);u+=P(s,t,n,l,a)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),c=0;!(s=e.next()).done;)u+=P(s=s.value,t,n,l=i+A(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function I(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},D={transition:null},M={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:D,ReactCurrentOwner:_};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,n){I(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=s,t.PureComponent=w,t.StrictMode=a,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.act=N,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=_.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)x.call(t,c)&&!O.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}return{$$typeof:r,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.3.1"},function(e,t,n){"use strict";var r=n(0),o=n(348);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),j=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=D&&e[D]||e["@@iterator"])?e:null}var N,R=Object.assign;function F(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var B=!1;function U(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var u="\n"+o[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function H(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function z(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case E:return"Portal";case O:return"Profiler";case _:return"StrictMode";case A:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case j:t=e._payload,e=e._init;try{return z(e(t))}catch(e){}}return null}function K(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Q(e,t){Z(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function ie(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,le,fe=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var be=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ee=null,xe=null,_e=null;function Oe(e){if(e=wo(e)){if("function"!=typeof Ee)throw Error(i(280));var t=e.stateNode;t&&(t=Eo(t),Ee(e.stateNode,e.type,t))}}function ke(e){xe?_e?_e.push(e):_e=[e]:xe=e}function Ce(){if(xe){var e=xe,t=_e;if(_e=xe=null,Oe(e),t)for(e=0;e<t.length;e++)Oe(t[e])}}function Te(e,t){return e(t)}function Ae(){}var Pe=!1;function Ie(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Te(e,t,n)}finally{Pe=!1,(null!==xe||null!==_e)&&(Ae(),Ce())}}function je(e,t){var n=e.stateNode;if(null===n)return null;var r=Eo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(l)try{var De={};Object.defineProperty(De,"passive",{get:function(){Le=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(le){Le=!1}function Me(e,t,n,r,o,i,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Ne=!1,Re=null,Fe=!1,Be=null,Ue={onError:function(e){Ne=!0,Re=e}};function He(e,t,n,r,o,i,a,s,u){Ne=!1,Re=null,Me.apply(Ue,arguments)}function ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(ze(e)!==e)throw Error(i(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ve(o),e;if(a===r)return Ve(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var We=o.unstable_scheduleCallback,$e=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Ze=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var ct=64,lt=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=ft(s):0!==(i&=a)&&(r=ft(i))}else 0!==(a=n&~o)?r=ft(a):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var St,Et,xt,_t,Ot,kt=!1,Ct=[],Tt=null,At=null,Pt=null,It=new Map,jt=new Map,Lt=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":It.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jt.delete(t.pointerId)}}function Nt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&Et(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Rt(e){var t=vo(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void Ot(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Et(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Bt(e,t,n){Ft(e)&&n.delete(t)}function Ut(){kt=!1,null!==Tt&&Ft(Tt)&&(Tt=null),null!==At&&Ft(At)&&(At=null),null!==Pt&&Ft(Pt)&&(Pt=null),It.forEach(Bt),jt.forEach(Bt)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function zt(e){function t(t){return Ht(t,e)}if(0<Ct.length){Ht(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ht(Tt,e),null!==At&&Ht(At,e),null!==Pt&&Ht(Pt,e),It.forEach(t),jt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Rt(n),null===n.blockedOn&&Lt.shift()}var Kt=w.ReactCurrentBatchConfig,Vt=!0;function qt(e,t,n,r){var o=vt,i=Kt.transition;Kt.transition=null;try{vt=1,Wt(e,t,n,r)}finally{vt=o,Kt.transition=i}}function Gt(e,t,n,r){var o=vt,i=Kt.transition;Kt.transition=null;try{vt=4,Wt(e,t,n,r)}finally{vt=o,Kt.transition=i}}function Wt(e,t,n,r){if(Vt){var o=Yt(e,t,n,r);if(null===o)Vr(e,t,r,$t,n),Mt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Nt(Tt,e,t,n,r,o),!0;case"dragenter":return At=Nt(At,e,t,n,r,o),!0;case"mouseover":return Pt=Nt(Pt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return It.set(i,Nt(It.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,jt.set(i,Nt(jt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&St(i),null===(i=Yt(e,t,n,r))&&Vr(e,t,r,$t,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var $t=null;function Yt(e,t,n,r){if($t=null,null!==(e=vo(e=Se(r))))if(null===(t=ze(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ke(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=on(cn),fn=R({},cn,{view:0,detail:0}),dn=on(fn),pn=R({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(R({},pn,{dataTransfer:0})),gn=on(R({},fn,{relatedTarget:0})),bn=on(R({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=R({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=on(yn),wn=on(R({},cn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function On(){return _n}var kn=R({},fn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=on(kn),Tn=on(R({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(R({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),Pn=on(R({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=R({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jn=on(In),Ln=[9,13,27,32],Dn=l&&"CompositionEvent"in window,Mn=null;l&&"documentMode"in document&&(Mn=document.documentMode);var Nn=l&&"TextEvent"in window&&!Mn,Rn=l&&(!Dn||Mn&&8<Mn&&11>=Mn),Fn=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Kn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Kn[e.type]:"textarea"===t}function qn(e,t,n,r){ke(r),0<(t=Gr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Wn=null;function $n(e){Fr(e,0)}function Yn(e){if(W(So(e)))return e}function Xn(e,t){if("change"===e)return t}var Zn=!1;if(l){var Qn;if(l){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Zn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),Wn=Gn=null)}function nr(e){if("value"===e.propertyName&&Yn(Wn)){var t=[];qn(t,Wn,e,Se(e)),Ie($n,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Wn)}function ir(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=lr(n,i);var a=lr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=l&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,yr=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==$(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Gr(br,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Er={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},xr={},_r={};function Or(e){if(xr[e])return xr[e];if(!Er[e])return e;var t,n=Er[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return xr[e]=n[t];return e}l&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);var kr=Or("animationend"),Cr=Or("animationiteration"),Tr=Or("animationstart"),Ar=Or("transitionend"),Pr=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jr(e,t){Pr.set(e,t),u(t,[e])}for(var Lr=0;Lr<Ir.length;Lr++){var Dr=Ir[Lr];jr(Dr.toLowerCase(),"on"+(Dr[0].toUpperCase()+Dr.slice(1)))}jr(kr,"onAnimationEnd"),jr(Cr,"onAnimationIteration"),jr(Tr,"onAnimationStart"),jr("dblclick","onDoubleClick"),jr("focusin","onFocus"),jr("focusout","onBlur"),jr(Ar,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,u,c){if(He.apply(this,arguments),Ne){if(!Ne)throw Error(i(198));var l=Re;Ne=!1,Re=null,Fe||(Fe=!0,Be=l)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==i&&o.isPropagationStopped())break e;Rr(o,s,c),i=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,c=s.currentTarget,s=s.listener,u!==i&&o.isPropagationStopped())break e;Rr(o,s,c),i=u}}}if(Fe)throw e=Be,Fe=!1,Be=null,e}function Br(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Kr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Kr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Hr]){e[Hr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Nr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Ur("selectionchange",!1,t))}}function Kr(e,t,n,r){switch(Xt(t)){case 1:var o=qt;break;case 4:o=Gt;break;default:o=Wt}n=o.bind(null,t,n,e),o=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=vo(s)))return;if(5===(u=a.tag)||6===u){r=i=a;continue e}s=s.parentNode}}r=r.return}Ie((function(){var r=i,o=Se(n),a=[];e:{var s=Pr.get(e);if(void 0!==s){var u=ln,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Cn;break;case"focusin":c="focus",u=gn;break;case"focusout":c="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=An;break;case kr:case Cr:case Tr:u=bn;break;case Ar:u=Pn;break;case"scroll":u=dn;break;case"wheel":u=jn;break;case"copy":case"cut":case"paste":u=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tn}var l=!!(4&t),f=!l&&"scroll"===e,d=l?null!==s?s+"Capture":null:s;l=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=je(h,d))&&l.push(qr(h,m,p)))),f)break;h=h.return}0<l.length&&(s=new u(s,c,null,n,o),a.push({event:s,listeners:l}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!vo(c)&&!c[mo])&&(u||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?vo(c):null)&&(c!==(f=ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(l=hn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(l=Tn,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?s:So(u),p=null==c?s:So(c),(s=new l(m,h+"leave",u,n,o)).target=f,s.relatedTarget=p,m=null,vo(o)===r&&((l=new l(d,h+"enter",c,n,o)).target=p,l.relatedTarget=f,m=l),f=m,u&&c)e:{for(d=c,h=0,p=l=u;p;p=Wr(p))h++;for(p=0,m=d;m;m=Wr(m))p++;for(;0<h-p;)l=Wr(l),h--;for(;0<p-h;)d=Wr(d),p--;for(;h--;){if(l===d||null!==d&&l===d.alternate)break e;l=Wr(l),d=Wr(d)}l=null}else l=null;null!==u&&$r(a,s,u,l,!1),null!==c&&null!==f&&$r(a,f,c,l,!0)}if("select"===(u=(s=r?So(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var g=Xn;else if(Vn(s))if(Zn)g=ar;else{g=or;var b=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?qn(a,g,n,o):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?So(r):window,e){case"focusin":(Vn(b)||"true"===b.contentEditable)&&(gr=b,br=r,yr=null);break;case"focusout":yr=br=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(Dn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else zn?Un(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Rn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==v?"onCompositionEnd"===v&&zn&&(y=en()):(Qt="value"in(Zt=o)?Zt.value:Zt.textContent,zn=!0)),0<(b=Gr(r,v)).length&&(v=new wn(v,e,null,n,o),a.push({event:v,listeners:b}),y?v.data=y:null!==(y=Hn(n))&&(v.data=y))),(y=Nn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Dn&&Un(e,t)?(e=en(),Jt=Qt=Zt=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Fr(a,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=je(e,n))&&r.unshift(qr(e,i,o)),null!=(i=je(e,t))&&r.push(qr(e,i,o))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,c=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(u=je(n,i))&&a.unshift(qr(n,u,s)):o||null!=(u=je(n,i))&&a.push(qr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Xr,"")}function Qr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);zt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function lo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,bo="__reactListeners$"+fo,yo="__reactHandles$"+fo;function vo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lo(e);null!==e;){if(n=e[po])return n;e=lo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function So(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Eo(e){return e[ho]||null}var xo=[],_o=-1;function Oo(e){return{current:e}}function ko(e){0>_o||(e.current=xo[_o],xo[_o]=null,_o--)}function Co(e,t){_o++,xo[_o]=e.current,e.current=t}var To={},Ao=Oo(To),Po=Oo(!1),Io=To;function jo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!=(e=e.childContextTypes)}function Do(){ko(Po),ko(Ao)}function Mo(e,t,n){if(Ao.current!==To)throw Error(i(168));Co(Ao,t),Co(Po,n)}function No(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,K(e)||"Unknown",o));return R({},n,r)}function Ro(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Io=Ao.current,Co(Ao,e),Co(Po,Po.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=No(e,t,Io),r.__reactInternalMemoizedMergedChildContext=e,ko(Po),ko(Ao),Co(Ao,e)):ko(Po),Co(Po,n)}var Bo=null,Uo=!1,Ho=!1;function zo(e){null===Bo?Bo=[e]:Bo.push(e)}function Ko(){if(!Ho&&null!==Bo){Ho=!0;var e=0,t=vt;try{var n=Bo;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,Uo=!1}catch(t){throw null!==Bo&&(Bo=Bo.slice(e+1)),We(Je,Ko),t}finally{vt=t,Ho=!1}}return null}var Vo=[],qo=0,Go=null,Wo=0,$o=[],Yo=0,Xo=null,Zo=1,Qo="";function Jo(e,t){Vo[qo++]=Wo,Vo[qo++]=Go,Go=e,Wo=t}function ei(e,t,n){$o[Yo++]=Zo,$o[Yo++]=Qo,$o[Yo++]=Xo,Xo=e;var r=Zo;e=Qo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Zo=1<<32-at(t)+o|n<<o|r,Qo=i+e}else Zo=1<<i|n<<o|r,Qo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Go;)Go=Vo[--qo],Vo[qo]=null,Wo=Vo[--qo],Vo[qo]=null;for(;e===Xo;)Xo=$o[--Yo],$o[Yo]=null,Qo=$o[--Yo],$o[Yo]=null,Zo=$o[--Yo],$o[Yo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Pc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Zo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return!(!(1&e.mode)||128&e.flags)}function li(e){if(ii){var t=oi;if(t){var n=t;if(!ui(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&ui(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!ii)return fi(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=w.ReactCurrentBatchConfig;function bi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=jc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Nc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===x?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===j&&vi(i)===t.type)?((r=o(t,n.props)).ref=bi(e,t,n),r.return=e,r):((r=Lc(n.type,n.key,n.props,null,e.mode,r)).ref=bi(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Rc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Dc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Lc(t.type,t.key,t.props,null,e.mode,n)).ref=bi(e,null,t),n.return=e,n;case E:return(t=Rc(t,e.mode,n)).return=e,t;case j:return d(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Dc(t,e.mode,n,null)).return=e,t;yi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===o?c(e,t,n,r):null;case E:return n.key===o?l(e,t,n,r):null;case j:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||M(n))return null!==o?null:f(e,t,n,r,null);yi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case j:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||M(r))return f(t,e=e.get(n)||null,r,o,null);yi(t,r)}return null}function m(o,i,s,u){for(var c=null,l=null,f=i,m=i=0,g=null;null!==f&&m<s.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var b=p(o,f,s[m],u);if(null===b){null===f&&(f=g);break}e&&f&&null===b.alternate&&t(o,f),i=a(b,i,m),null===l?c=b:l.sibling=b,l=b,f=g}if(m===s.length)return n(o,f),ii&&Jo(o,m),c;if(null===f){for(;m<s.length;m++)null!==(f=d(o,s[m],u))&&(i=a(f,i,m),null===l?c=f:l.sibling=f,l=f);return ii&&Jo(o,m),c}for(f=r(o,f);m<s.length;m++)null!==(g=h(f,o,m,s[m],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),i=a(g,i,m),null===l?c=g:l.sibling=g,l=g);return e&&f.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}function g(o,s,u,c){var l=M(u);if("function"!=typeof l)throw Error(i(150));if(null==(u=l.call(u)))throw Error(i(151));for(var f=l=null,m=s,g=s=0,b=null,y=u.next();null!==m&&!y.done;g++,y=u.next()){m.index>g?(b=m,m=null):b=m.sibling;var v=p(o,m,y.value,c);if(null===v){null===m&&(m=b);break}e&&m&&null===v.alternate&&t(o,m),s=a(v,s,g),null===f?l=v:f.sibling=v,f=v,m=b}if(y.done)return n(o,m),ii&&Jo(o,g),l;if(null===m){for(;!y.done;g++,y=u.next())null!==(y=d(o,y.value,c))&&(s=a(y,s,g),null===f?l=y:f.sibling=y,f=y);return ii&&Jo(o,g),l}for(m=r(o,m);!y.done;g++,y=u.next())null!==(y=h(m,o,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===f?l=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),l}return function e(r,i,a,u){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case S:e:{for(var c=a.key,l=i;null!==l;){if(l.key===c){if((c=a.type)===x){if(7===l.tag){n(r,l.sibling),(i=o(l,a.props.children)).return=r,r=i;break e}}else if(l.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===j&&vi(c)===l.type){n(r,l.sibling),(i=o(l,a.props)).ref=bi(r,l,a),i.return=r,r=i;break e}n(r,l);break}t(r,l),l=l.sibling}a.type===x?((i=Dc(a.props.children,r.mode,u,a.key)).return=r,r=i):((u=Lc(a.type,a.key,a.props,null,r.mode,u)).ref=bi(r,i,a),u.return=r,r=u)}return s(r);case E:e:{for(l=a.key;null!==i;){if(i.key===l){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Rc(a,r.mode,u)).return=r,r=i}return s(r);case j:return e(r,i,(l=a._init)(a._payload),u)}if(te(a))return m(r,i,a,u);if(M(a))return g(r,i,a,u);yi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Nc(a,r.mode,u)).return=r,r=i),s(r)):n(r,i)}}var Si=wi(!0),Ei=wi(!1),xi=Oo(null),_i=null,Oi=null,ki=null;function Ci(){ki=Oi=_i=null}function Ti(e){var t=xi.current;ko(xi),e._currentValue=t}function Ai(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pi(e,t){_i=e,ki=Oi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(ys=!0),e.firstContext=null)}function Ii(e){var t=e._currentValue;if(ki!==e)if(e={context:e,memoizedValue:t,next:null},null===Oi){if(null===_i)throw Error(i(308));Oi=e,_i.dependencies={lanes:0,firstContext:e}}else Oi=Oi.next=e;return t}var ji=null;function Li(e){null===ji?ji=[e]:ji.push(e)}function Di(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Li(t)):(n.next=o.next,o.next=n),t.interleaved=n,Mi(e,r)}function Mi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ni=!1;function Ri(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ui(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Cu){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Mi(e,n)}return null===(o=r.interleaved)?(t.next=t,Li(r)):(t.next=o.next,o.next=t),r.interleaved=t,Mi(e,n)}function Hi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function zi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ki(e,t,n,r){var o=e.updateQueue;Ni=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var u=s,c=u.next;u.next=null,null===a?i=c:a.next=c,a=u;var l=e.alternate;null!==l&&((s=(l=l.updateQueue).lastBaseUpdate)!==a&&(null===s?l.firstBaseUpdate=c:s.next=c,l.lastBaseUpdate=u))}if(null!==i){var f=o.baseState;for(a=0,l=c=u=null,s=i;;){var d=s.lane,p=s.eventTime;if((r&d)===d){null!==l&&(l=l.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(p,f,d):h))break e;f=R({},f,d);break e;case 2:Ni=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[s]:d.push(s))}else p={eventTime:p,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(c=l=p,u=f):l=l.next=p,a|=d;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(d=s).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===l&&(u=f),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=l,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Mu|=a,e.lanes=a,e.memoizedState=f}}function Vi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var qi={},Gi=Oo(qi),Wi=Oo(qi),$i=Oo(qi);function Yi(e){if(e===qi)throw Error(i(174));return e}function Xi(e,t){switch(Co($i,t),Co(Wi,e),Co(Gi,qi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ko(Gi),Co(Gi,t)}function Zi(){ko(Gi),ko(Wi),ko($i)}function Qi(e){Yi($i.current);var t=Yi(Gi.current),n=ue(t,e.type);t!==n&&(Co(Wi,e),Co(Gi,n))}function Ji(e){Wi.current===e&&(ko(Gi),ko(Wi))}var ea=Oo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=w.ReactCurrentDispatcher,ia=w.ReactCurrentBatchConfig,aa=0,sa=null,ua=null,ca=null,la=!1,fa=!1,da=0,pa=0;function ha(){throw Error(i(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Ja:es,e=n(r,o),fa){a=0;do{if(fa=!1,da=0,25<=a)throw Error(i(301));a+=1,ca=ua=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(fa)}if(oa.current=Qa,t=null!==ua&&null!==ua.next,aa=0,ca=ua=sa=null,la=!1,t)throw Error(i(300));return e}function ba(){var e=0!==da;return da=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function va(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,ua=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"==typeof t?t(e):t}function Sa(e){var t=va(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ua,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var u=s=null,c=null,l=a;do{var f=l.lane;if((aa&f)===f)null!==c&&(c=c.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var d={lane:f,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===c?(u=c=d,s=r):c=c.next=d,sa.lanes|=f,Mu|=f}l=l.next}while(null!==l&&l!==a);null===c?s=r:c.next=u,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Mu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ea(e){var t=va(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function xa(){}function _a(e,t){var n=sa,r=va(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ys=!0),r=r.queue,Na(Ca.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ia(9,ka.bind(null,n,r,o,t),void 0,null),null===Tu)throw Error(i(349));30&aa||Oa(n,t,o)}return o}function Oa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ka(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Aa(e)}function Ca(e,t,n){return n((function(){Ta(t)&&Aa(e)}))}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Aa(e){var t=Mi(e,1);null!==t&&tc(t,e,1,-1)}function Pa(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=$a.bind(null,sa,e),[t.memoizedState,e]}function Ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ja(){return va().memoizedState}function La(e,t,n,r){var o=ya();sa.flags|=e,o.memoizedState=Ia(1|t,n,void 0,void 0===r?null:r)}function Da(e,t,n,r){var o=va();r=void 0===r?null:r;var i=void 0;if(null!==ua){var a=ua.memoizedState;if(i=a.destroy,null!==r&&ma(r,a.deps))return void(o.memoizedState=Ia(t,n,i,r))}sa.flags|=e,o.memoizedState=Ia(1|t,n,i,r)}function Ma(e,t){return La(8390656,8,e,t)}function Na(e,t){return Da(2048,8,e,t)}function Ra(e,t){return Da(4,2,e,t)}function Fa(e,t){return Da(4,4,e,t)}function Ba(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ua(e,t,n){return n=null!=n?n.concat([e]):null,Da(4,4,Ba.bind(null,t,e),n)}function Ha(){}function za(e,t){var n=va();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ka(e,t){var n=va();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Va(e,t,n){return 21&aa?(sr(n,t)||(n=mt(),sa.lanes|=n,Mu|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n)}function qa(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{vt=n,ia.transition=r}}function Ga(){return va().memoizedState}function Wa(e,t,n){var r=ec(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ya(e))Xa(t,n);else if(null!==(n=Di(e,t,n,r))){tc(n,e,r,Ju()),Za(n,t,r)}}function $a(e,t,n){var r=ec(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ya(e))Xa(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(o.next=o,Li(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Di(e,t,o,r))&&(tc(n,e,r,o=Ju()),Za(n,t,r))}}function Ya(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Xa(e,t){fa=la=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Za(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Qa={readContext:Ii,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Ja={readContext:Ii,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Ii,useEffect:Ma,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,La(4194308,4,Ba.bind(null,t,e),n)},useLayoutEffect:function(e,t){return La(4194308,4,e,t)},useInsertionEffect:function(e,t){return La(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Wa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Pa,useDebugValue:Ha,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Pa(!1),t=e[0];return e=qa.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=ya();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Tu)throw Error(i(349));30&aa||Oa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ma(Ca.bind(null,r,a,e),[e]),r.flags|=2048,Ia(9,ka.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=Tu.identifierPrefix;if(ii){var n=Qo;t=":"+t+"R"+(n=(Zo&~(1<<32-at(Zo)-1)).toString(32)+n),0<(n=da++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ii,useCallback:za,useContext:Ii,useEffect:Na,useImperativeHandle:Ua,useInsertionEffect:Ra,useLayoutEffect:Fa,useMemo:Ka,useReducer:Sa,useRef:ja,useState:function(){return Sa(wa)},useDebugValue:Ha,useDeferredValue:function(e){return Va(va(),ua.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],va().memoizedState]},useMutableSource:xa,useSyncExternalStore:_a,useId:Ga,unstable_isNewReconciler:!1},ts={readContext:Ii,useCallback:za,useContext:Ii,useEffect:Na,useImperativeHandle:Ua,useInsertionEffect:Ra,useLayoutEffect:Fa,useMemo:Ka,useReducer:Ea,useRef:ja,useState:function(){return Ea(wa)},useDebugValue:Ha,useDeferredValue:function(e){var t=va();return null===ua?t.memoizedState=e:Va(t,ua.memoizedState,e)},useTransition:function(){return[Ea(wa)[0],va().memoizedState]},useMutableSource:xa,useSyncExternalStore:_a,useId:Ga,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ju(),o=ec(e),i=Bi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(tc(t,e,o,r),Hi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ju(),o=ec(e),i=Bi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(tc(t,e,o,r),Hi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ju(),r=ec(e),o=Bi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ui(e,o,r))&&(tc(t,e,r,n),Hi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,i))}function as(e,t,n){var r=!1,o=To,i=t.contextType;return"object"==typeof i&&null!==i?i=Ii(i):(o=Lo(t)?Io:Ao.current,i=(r=null!=(r=t.contextTypes))?jo(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function us(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Ri(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ii(i):(i=Lo(t)?Io:Ao.current,o.context=jo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Ki(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ls(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}var fs="function"==typeof WeakMap?WeakMap:Map;function ds(e,t,n){(n=Bi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ku||(Ku=!0,Vu=r)},n}function ps(e,t,n){(n=Bi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===qu?qu=new Set([this]):qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Bi(-1,1)).tag=2,Ui(n,t,1))),n.lanes|=1),e)}var bs=w.ReactCurrentOwner,ys=!1;function vs(e,t,n,r){t.child=null===e?Ei(t,null,n,r):Si(t,e.child,n,r)}function ws(e,t,n,r,o){n=n.render;var i=t.ref;return Pi(t,o),r=ga(e,t,n,r,i,o),n=ba(),null===e||ys?(ii&&n&&ti(t),t.flags|=1,vs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ks(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Ic(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Es(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return Ks(e,t,o)}return t.flags|=1,(e=jc(i,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Ks(e,t,o);131072&e.flags&&(ys=!0)}}return Os(e,t,n,r,o)}function xs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(ju,Iu),Iu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Co(ju,Iu),Iu|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(ju,Iu),Iu|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Co(ju,Iu),Iu|=r;return vs(e,t,o,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,o){var i=Lo(n)?Io:Ao.current;return i=jo(t,i),Pi(t,o),n=ga(e,t,n,r,i,o),r=ba(),null===e||ys?(ii&&r&&ti(t),t.flags|=1,vs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ks(e,t,o))}function ks(e,t,n,r,o){if(Lo(n)){var i=!0;Ro(t)}else i=!1;if(Pi(t,o),null===t.stateNode)zs(e,t),as(t,n,r),us(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=Ii(c):c=jo(t,c=Lo(n)?Io:Ao.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&ss(t,a,r,c),Ni=!1;var d=t.memoizedState;a.state=d,Ki(t,r,a,o),u=t.memoizedState,s!==r||d!==u||Po.current||Ni?("function"==typeof l&&(rs(t,n,l,r),u=t.memoizedState),(s=Ni||is(t,n,s,r,d,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Fi(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,f=t.pendingProps,d=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=Ii(u):u=jo(t,u=Lo(n)?Io:Ao.current);var p=n.getDerivedStateFromProps;(l="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==u)&&ss(t,a,r,u),Ni=!1,d=t.memoizedState,a.state=d,Ki(t,r,a,o);var h=t.memoizedState;s!==f||d!==h||Po.current||Ni?("function"==typeof p&&(rs(t,n,p,r),h=t.memoizedState),(c=Ni||is(t,n,c,r,d,h,u)||!1)?(l||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Cs(e,t,n,r,i,o)}function Cs(e,t,n,r,o,i){_s(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),Ks(e,t,i);r=t.stateNode,bs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):vs(e,t,s,i),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),Xi(e,t.containerInfo)}function As(e,t,n,r,o){return hi(),mi(o),t.flags|=256,vs(e,t,n,r),t.child}var Ps,Is,js,Ls,Ds={dehydrated:null,treeContext:null,retryLane:0};function Ms(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,u=!!(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Co(ea,1&a),null===e)return li(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=o.children,e=o.fallback,s?(o=t.mode,s=t.child,u={mode:"hidden",children:u},1&o||null===s?s=Mc(u,o,0,null):(s.childLanes=0,s.pendingProps=u),e=Dc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ms(n),t.memoizedState=Ds,e):Rs(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,r=ls(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Mc({mode:"visible",children:r.children},o,0,null),(a=Dc(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&Si(t,e.child,null,s),t.child.memoizedState=Ms(s),t.memoizedState=Ds,a);if(!(1&t.mode))return Fs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Fs(e,t,s,r=ls(a=Error(i(419)),r,void 0))}if(u=!!(s&e.childLanes),ys||u){if(null!==(r=Tu)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|s)?0:o)&&o!==a.retryLane&&(a.retryLane=o,Mi(e,o),tc(r,e,o,-1))}return hc(),Fs(e,t,s,r=ls(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=kc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&($o[Yo++]=Zo,$o[Yo++]=Qo,$o[Yo++]=Xo,Zo=e.id,Qo=e.overflow,Xo=t),t=Rs(t,r.children),t.flags|=4096,t)}(e,t,u,o,r,a,n);if(s){s=o.fallback,u=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&u||t.child===a?(o=jc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==r?s=jc(r,s):(s=Dc(s,u,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,u=null===(u=e.child.memoizedState)?Ms(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,o}return e=(s=e.child).sibling,o=jc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Rs(e,t){return(t=Mc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){return null!==r&&mi(r),Si(t,e.child,null,n),(e=Rs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ai(e.return,t,n)}function Us(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(vs(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,n,t);else if(19===e.tag)Bs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Co(ea,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Us(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Us(t,!0,n,null,i);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function zs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ks(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Mu|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=jc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=jc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Lo(t.type)&&Do(),qs(t),null;case 3:return r=t.stateNode,Zi(),ko(Po),ko(Ao),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(ic(ai),ai=null))),Is(e,t),qs(t),null;case 5:Ji(t);var o=Yi($i.current);if(n=t.type,null!==e&&null!=t.stateNode)js(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),null}if(e=Yi(Gi.current),di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=!!(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Mr.length;o++)Br(Mr[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":X(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":oe(r,a),Br("invalid",r)}for(var u in ye(n,a),o=null,a)if(a.hasOwnProperty(u)){var c=a[u];"children"===u?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(u)&&null!=c&&"onScroll"===u&&Br("scroll",r)}switch(n){case"input":G(r),J(r,a,!0);break;case"textarea":G(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[po]=t,e[ho]=r,Ps(e,t,!1,!1),t.stateNode=e;e:{switch(u=ve(n,r),n){case"dialog":Br("cancel",e),Br("close",e),o=r;break;case"iframe":case"object":case"embed":Br("load",e),o=r;break;case"video":case"audio":for(o=0;o<Mr.length;o++)Br(Mr[o],e);o=r;break;case"source":Br("error",e),o=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),o=r;break;case"details":Br("toggle",e),o=r;break;case"input":X(e,r),o=Y(e,r),Br("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=R({},r,{value:void 0}),Br("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Br("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?ge(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&fe(e,l):"children"===a?"string"==typeof l?("textarea"!==n||""!==l)&&de(e,l):"number"==typeof l&&de(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=l&&"onScroll"===a&&Br("scroll",e):null!=l&&v(e,a,l,u))}switch(n){case"input":G(e),J(e,r,!1);break;case"textarea":G(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Ls(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=Yi($i.current),Yi(Gi.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Qr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return qs(t),null;case 13:if(ko(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),a=!1}else null!==ai&&(ic(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Lu&&(Lu=3):hc())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return Zi(),Is(e,t),null===e&&zr(t.stateNode.containerInfo),qs(t),null;case 10:return Ti(t.type._context),qs(t),null;case 19:if(ko(ea),null===(a=t.memoizedState))return qs(t),null;if(r=!!(128&t.flags),null===(u=a.rendering))if(r)Vs(a,!1);else{if(0!==Lu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(u=ta(e))){for(t.flags|=128,Vs(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Co(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Hu&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!ii)return qs(t),null}else 2*Ze()-a.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=ea.current,Co(ea,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return lc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Iu)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ws(e,t){switch(ni(t),t.tag){case 1:return Lo(t.type)&&Do(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zi(),ko(Po),ko(Ao),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(ko(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ko(ea),null;case 4:return Zi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return lc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Is=function(){},js=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Yi(Gi.current);var i,a=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),a=[];break;case"select":o=R({},o,{value:void 0}),r=R({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(l in ye(n,r),n=null,o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&null!=o[l])if("style"===l){var u=o[l];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=o?o[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(i in u)!u.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&u[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(a=a||[]).push(l,c)):"children"===l?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Br("scroll",e),a||u===c||(a=[])):(a=a||[]).push(l,c))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var $s=!1,Ys=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Zs=null;function Qs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){xc(e,t,n)}else n.current=null}function Js(e,t,n){try{n()}catch(n){xc(e,t,n)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Js(t,n,i)}o=o.next}while(o!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[bo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var cu=null,lu=!1;function fu(e,t,n){for(n=n.child;null!==n;)du(e,t,n),n=n.sibling}function du(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ys||Qs(n,t);case 6:var r=cu,o=lu;cu=null,fu(e,t,n),lu=o,null!==(cu=r)&&(lu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(lu?(e=cu,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),zt(e)):uo(cu,n.stateNode));break;case 4:r=cu,o=lu,cu=n.stateNode.containerInfo,lu=!0,fu(e,t,n),cu=r,lu=o;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&Js(n,t,a),o=o.next}while(o!==r)}fu(e,t,n);break;case 1:if(!Ys&&(Qs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){xc(n,t,e)}fu(e,t,n);break;case 21:fu(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,fu(e,t,n),Ys=r):fu(e,t,n);break;default:fu(e,t,n)}}function pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Cc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,lu=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,lu=!0;break e}u=u.return}if(null===cu)throw Error(i(160));du(a,s,o),cu=null,lu=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){xc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)mu(t,e),t=t.sibling}function mu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hu(t,e),gu(e),4&r){try{tu(3,e,e.return),nu(3,e)}catch(t){xc(e,e.return,t)}try{tu(5,e,e.return)}catch(t){xc(e,e.return,t)}}break;case 1:hu(t,e),gu(e),512&r&&null!==n&&Qs(n,n.return);break;case 5:if(hu(t,e),gu(e),512&r&&null!==n&&Qs(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(t){xc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===u&&"radio"===a.type&&null!=a.name&&Z(o,a),ve(u,s);var l=ve(u,a);for(s=0;s<c.length;s+=2){var f=c[s],d=c[s+1];"style"===f?ge(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):v(o,f,d,l)}switch(u){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){xc(e,e.return,t)}}break;case 6:if(hu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){xc(e,e.return,t)}}break;case 3:if(hu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(t){xc(e,e.return,t)}break;case 4:default:hu(t,e),gu(e);break;case 13:hu(t,e),gu(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Uu=Ze())),4&r&&pu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(l=Ys)||f,hu(t,e),Ys=l):hu(t,e),gu(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!f&&1&e.mode)for(Zs=e,f=e.child;null!==f;){for(d=Zs=f;null!==Zs;){switch(h=(p=Zs).child,p.tag){case 0:case 11:case 14:case 15:tu(4,p,p.return);break;case 1:Qs(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){xc(r,n,e)}}break;case 5:Qs(p,p.return);break;case 22:if(null!==p.memoizedState){wu(d);continue}}null!==h?(h.return=p,Zs=h):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{o=d.stateNode,l?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=d.stateNode,s=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,u.style.display=me("display",s))}catch(t){xc(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(t){xc(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:hu(t,e),gu(e),4&r&&pu(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iu(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),uu(e,au(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;su(e,au(e),a);break;default:throw Error(i(161))}}catch(t){xc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){Zs=e,yu(e,t,n)}function yu(e,t,n){for(var r=!!(1&e.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||$s;if(!a){var s=o.alternate,u=null!==s&&null!==s.memoizedState||Ys;s=$s;var c=Ys;if($s=a,(Ys=u)&&!c)for(Zs=o;null!==Zs;)u=(a=Zs).child,22===a.tag&&null!==a.memoizedState?Su(o):null!==u?(u.return=a,Zs=u):Su(o);for(;null!==i;)Zs=i,yu(i,t,n),i=i.sibling;Zs=o,$s=s,Ys=c}vu(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Zs=i):vu(e)}}function vu(e){for(;null!==Zs;){var t=Zs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ys||nu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Vi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Vi(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var l=t.alternate;if(null!==l){var f=l.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&zt(d)}}}break;default:throw Error(i(163))}Ys||512&t.flags&&ru(t)}catch(e){xc(t,t.return,e)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function wu(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Su(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nu(4,t)}catch(e){xc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){xc(t,o,e)}}var i=t.return;try{ru(t)}catch(e){xc(t,i,e)}break;case 5:var a=t.return;try{ru(t)}catch(e){xc(t,a,e)}}}catch(e){xc(t,t.return,e)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Eu,xu=Math.ceil,_u=w.ReactCurrentDispatcher,Ou=w.ReactCurrentOwner,ku=w.ReactCurrentBatchConfig,Cu=0,Tu=null,Au=null,Pu=0,Iu=0,ju=Oo(0),Lu=0,Du=null,Mu=0,Nu=0,Ru=0,Fu=null,Bu=null,Uu=0,Hu=1/0,zu=null,Ku=!1,Vu=null,qu=null,Gu=!1,Wu=null,$u=0,Yu=0,Xu=null,Zu=-1,Qu=0;function Ju(){return 6&Cu?Ze():-1!==Zu?Zu:Zu=Ze()}function ec(e){return 1&e.mode?2&Cu&&0!==Pu?Pu&-Pu:null!==gi.transition?(0===Qu&&(Qu=mt()),Qu):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Xt(e.type):1}function tc(e,t,n,r){if(50<Yu)throw Yu=0,Xu=null,Error(i(185));bt(e,n,r),2&Cu&&e===Tu||(e===Tu&&(!(2&Cu)&&(Nu|=n),4===Lu&&ac(e,Pu)),nc(e,r),1===n&&0===Cu&&!(1&t.mode)&&(Hu=Ze()+500,Uo&&Ko()))}function nc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,u=o[a];-1===u?s&n&&!(s&r)||(o[a]=pt(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=dt(e,e===Tu?Pu:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){Uo=!0,zo(e)}(sc.bind(null,e)):zo(sc.bind(null,e)),ao((function(){!(6&Cu)&&Ko()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tc(n,rc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rc(e,t){if(Zu=-1,Qu=0,6&Cu)throw Error(i(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=dt(e,e===Tu?Pu:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=mc(e,r);else{t=r;var o=Cu;Cu|=2;var a=pc();for(Tu===e&&Pu===t||(zu=null,Hu=Ze()+500,fc(e,t));;)try{bc();break}catch(t){dc(e,t)}Ci(),_u.current=a,Cu=o,null!==Au?t=0:(Tu=null,Pu=0,t=Lu)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=oc(e,o))),1===t)throw n=Du,fc(e,0),ac(e,r),nc(e,Ze()),n;if(6===t)ac(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=mc(e,r),2===t&&(a=ht(e),0!==a&&(r=a,t=oc(e,a))),1!==t)))throw n=Du,fc(e,0),ac(e,r),nc(e,Ze()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wc(e,Bu,zu);break;case 3:if(ac(e,r),(130023424&r)===r&&10<(t=Uu+500-Ze())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Ju(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wc.bind(null,e,Bu,zu),t);break}wc(e,Bu,zu);break;case 4:if(ac(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xu(r/1960))-r)){e.timeoutHandle=ro(wc.bind(null,e,Bu,zu),r);break}wc(e,Bu,zu);break;default:throw Error(i(329))}}}return nc(e,Ze()),e.callbackNode===n?rc.bind(null,e):null}function oc(e,t){var n=Fu;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Bu,Bu=n,null!==t&&ic(t)),e}function ic(e){null===Bu?Bu=e:Bu.push.apply(Bu,e)}function ac(e,t){for(t&=~Ru,t&=~Nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function sc(e){if(6&Cu)throw Error(i(327));Sc();var t=dt(e,0);if(!(1&t))return nc(e,Ze()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=Du,fc(e,0),ac(e,t),nc(e,Ze()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Bu,zu),nc(e,Ze()),null}function uc(e,t){var n=Cu;Cu|=1;try{return e(t)}finally{0===(Cu=n)&&(Hu=Ze()+500,Uo&&Ko())}}function cc(e){null!==Wu&&0===Wu.tag&&!(6&Cu)&&Sc();var t=Cu;Cu|=1;var n=ku.transition,r=vt;try{if(ku.transition=null,vt=1,e)return e()}finally{vt=r,ku.transition=n,!(6&(Cu=t))&&Ko()}}function lc(){Iu=ju.current,ko(ju)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Au)for(n=Au.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Do();break;case 3:Zi(),ko(Po),ko(Ao),ra();break;case 5:Ji(r);break;case 4:Zi();break;case 13:case 19:ko(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:lc()}n=n.return}if(Tu=e,Au=e=jc(e.current,null),Pu=Iu=t,Lu=0,Du=null,Ru=Nu=Mu=0,Bu=Fu=null,null!==ji){for(t=0;t<ji.length;t++)if(null!==(r=(n=ji[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}ji=null}return e}function dc(e,t){for(;;){var n=Au;try{if(Ci(),oa.current=Qa,la){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}la=!1}if(aa=0,ca=ua=sa=null,fa=!1,da=0,Ou.current=null,null===n||null===n.return){Lu=1,Du=t,Au=null;break}e:{var a=e,s=n.return,u=n,c=t;if(t=Pu,u.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var l=c,f=u,d=f.tag;if(!(1&f.mode||0!==d&&11!==d&&15!==d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=ms(s);if(null!==h){h.flags&=-257,gs(h,s,u,0,t),1&h.mode&&hs(a,l,t),c=l;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){hs(a,l,t),hc();break e}c=Error(i(426))}else if(ii&&1&u.mode){var b=ms(s);if(null!==b){!(65536&b.flags)&&(b.flags|=256),gs(b,s,u,0,t),mi(cs(c,u));break e}}a=c=cs(c,u),4!==Lu&&(Lu=2),null===Fu?Fu=[a]:Fu.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,zi(a,ds(0,c,t));break e;case 1:u=c;var y=a.type,v=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==qu&&qu.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t,zi(a,ps(a,u,t));break e}}a=a.return}while(null!==a)}vc(n)}catch(e){t=e,Au===n&&null!==n&&(Au=n=n.return);continue}break}}function pc(){var e=_u.current;return _u.current=Qa,null===e?Qa:e}function hc(){0!==Lu&&3!==Lu&&2!==Lu||(Lu=4),null===Tu||!(268435455&Mu)&&!(268435455&Nu)||ac(Tu,Pu)}function mc(e,t){var n=Cu;Cu|=2;var r=pc();for(Tu===e&&Pu===t||(zu=null,fc(e,t));;)try{gc();break}catch(t){dc(e,t)}if(Ci(),Cu=n,_u.current=r,null!==Au)throw Error(i(261));return Tu=null,Pu=0,Lu}function gc(){for(;null!==Au;)yc(Au)}function bc(){for(;null!==Au&&!Ye();)yc(Au)}function yc(e){var t=Eu(e.alternate,e,Iu);e.memoizedProps=e.pendingProps,null===t?vc(e):Au=t,Ou.current=null}function vc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ws(n,t)))return n.flags&=32767,void(Au=n);if(null===e)return Lu=6,void(Au=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gs(n,t,Iu)))return void(Au=n);if(null!==(t=t.sibling))return void(Au=t);Au=t=e}while(null!==t);0===Lu&&(Lu=5)}function wc(e,t,n){var r=vt,o=ku.transition;try{ku.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Wu);if(6&Cu)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Tu&&(Au=Tu=null,Pu=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gu||(Gu=!0,Tc(tt,(function(){return Sc(),null}))),a=!!(15990&n.flags),!!(15990&n.subtreeFlags)||a){a=ku.transition,ku.transition=null;var s=vt;vt=1;var u=Cu;Cu|=4,Ou.current=null,function(e,t){if(eo=Vt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,l=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(u=s+o),d!==a||0!==r&&3!==d.nodeType||(c=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++l===o&&(u=s),p===a&&++f===r&&(c=s),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Vt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,b=m.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){xc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}m=eu,eu=!1}(e,n),mu(n,e),hr(to),Vt=!!eo,to=eo=null,e.current=n,bu(n,e,o),Xe(),Cu=u,vt=s,ku.transition=a}else e.current=n;if(Gu&&(Gu=!1,Wu=e,$u=o),a=e.pendingLanes,0===a&&(qu=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),nc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ku)throw Ku=!1,e=Vu,Vu=null,e;!!(1&$u)&&0!==e.tag&&Sc(),a=e.pendingLanes,1&a?e===Xu?Yu++:(Yu=0,Xu=e):Yu=0,Ko()}(e,t,n,r)}finally{ku.transition=o,vt=r}return null}function Sc(){if(null!==Wu){var e=wt($u),t=ku.transition,n=vt;try{if(ku.transition=null,vt=16>e?16:e,null===Wu)var r=!1;else{if(e=Wu,Wu=null,$u=0,6&Cu)throw Error(i(331));var o=Cu;for(Cu|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(16&Zs.flags){var u=a.deletions;if(null!==u){for(var c=0;c<u.length;c++){var l=u[c];for(Zs=l;null!==Zs;){var f=Zs;switch(f.tag){case 0:case 11:case 15:tu(8,f,a)}var d=f.child;if(null!==d)d.return=f,Zs=d;else for(;null!==Zs;){var p=(f=Zs).sibling,h=f.return;if(ou(f),f===l){Zs=null;break}if(null!==p){p.return=h,Zs=p;break}Zs=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Zs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(2048&(a=Zs).flags)switch(a.tag){case 0:case 11:case 15:tu(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Zs=y;break e}Zs=a.return}}var v=e.current;for(Zs=v;null!==Zs;){var w=(s=Zs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Zs=w;else e:for(s=v;null!==Zs;){if(2048&(u=Zs).flags)try{switch(u.tag){case 0:case 11:case 15:nu(9,u)}}catch(e){xc(u,u.return,e)}if(u===s){Zs=null;break e}var S=u.sibling;if(null!==S){S.return=u.return,Zs=S;break e}Zs=u.return}}if(Cu=o,Ko(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{vt=n,ku.transition=t}}return!1}function Ec(e,t,n){e=Ui(e,t=ds(0,t=cs(n,t),1),1),t=Ju(),null!==e&&(bt(e,1,t),nc(e,t))}function xc(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qu||!qu.has(r))){t=Ui(t,e=ps(t,e=cs(n,e),1),1),e=Ju(),null!==t&&(bt(t,1,e),nc(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Ju(),e.pingedLanes|=e.suspendedLanes&n,Tu===e&&(Pu&n)===n&&(4===Lu||3===Lu&&(130023424&Pu)===Pu&&500>Ze()-Uu?fc(e,0):Ru|=n),nc(e,t)}function Oc(e,t){0===t&&(1&e.mode?(t=lt,!(130023424&(lt<<=1))&&(lt=4194304)):t=1);var n=Ju();null!==(e=Mi(e,t))&&(bt(e,t,n),nc(e,n))}function kc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Oc(e,n)}function Cc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Oc(e,n)}function Tc(e,t){return We(e,t)}function Ac(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pc(e,t,n,r){return new Ac(e,t,n,r)}function Ic(e){return!(!(e=e.prototype)||!e.isReactComponent)}function jc(e,t){var n=e.alternate;return null===n?((n=Pc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lc(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)Ic(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Dc(n.children,o,a,t);case _:s=8,o|=8;break;case O:return(e=Pc(12,n,t,2|o)).elementType=O,e.lanes=a,e;case A:return(e=Pc(13,n,t,o)).elementType=A,e.lanes=a,e;case P:return(e=Pc(19,n,t,o)).elementType=P,e.lanes=a,e;case L:return Mc(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case C:s=9;break e;case T:s=11;break e;case I:s=14;break e;case j:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Pc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Dc(e,t,n,r){return(e=Pc(7,e,r,t)).lanes=n,e}function Mc(e,t,n,r){return(e=Pc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Nc(e,t,n){return(e=Pc(6,e,null,t)).lanes=n,e}function Rc(e,t,n){return(t=Pc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bc(e,t,n,r,o,i,a,s,u){return e=new Fc(e,t,n,s,u),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Pc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ri(i),e}function Uc(e){if(!e)return To;e:{if(ze(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Lo(n))return No(e,n,t)}return t}function Hc(e,t,n,r,o,i,a,s,u){return(e=Bc(n,r,!0,e,0,i,0,s,u)).context=Uc(null),n=e.current,(i=Bi(r=Ju(),o=ec(n))).callback=null!=t?t:null,Ui(n,i,o),e.current.lanes=o,bt(e,o,r),nc(e,r),e}function zc(e,t,n,r){var o=t.current,i=Ju(),a=ec(o);return n=Uc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Bi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ui(o,t,a))&&(tc(e,o,a,i),Hi(e,o,a)),a}function Kc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)ys=!0;else{if(!(e.lanes&n||128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),hi();break;case 5:Qi(t);break;case 1:Lo(t.type)&&Ro(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Co(xi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Co(ea,1&ea.current),t.flags|=128,null):n&t.child.childLanes?Ns(e,t,n):(Co(ea,1&ea.current),null!==(e=Ks(e,t,n))?e.sibling:null);Co(ea,1&ea.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,xs(e,t,n)}return Ks(e,t,n)}(e,t,n);ys=!!(131072&e.flags)}else ys=!1,ii&&1048576&t.flags&&ei(t,Wo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;zs(e,t),e=t.pendingProps;var o=jo(t,Ao.current);Pi(t,n),o=ga(null,t,r,e,o,n);var a=ba();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(a=!0,Ro(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ri(t),o.updater=os,t.stateNode=o,o._reactInternals=t,us(t,r,e,n),t=Cs(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),vs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(zs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Ic(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===I)return 14}return 2}(r),e=ns(r,e),o){case 0:t=Os(null,t,r,e,n);break e;case 1:t=ks(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Os(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,ks(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(Ts(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Fi(e,t),Ki(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=As(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=As(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ei(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Ks(e,t,n);break e}vs(e,t,r,n)}t=t.child}return t;case 5:return Qi(t),null===e&&li(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),_s(e,t),vs(e,t,s,n),t.child;case 6:return null===e&&li(t),null;case 13:return Ns(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):vs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ws(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return vs(e,t,t.pendingProps,n),t.child;case 8:case 12:return vs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Co(xi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Po.current){t=Ks(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var c=u.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Bi(-1,n&-n)).tag=2;var l=a.updateQueue;if(null!==l){var f=(l=l.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),l.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Ai(a.return,n,t),u.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),Ai(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}vs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Pi(t,n),r=r(o=Ii(o)),t.flags|=1,vs(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),Ss(e,t,r,o=ns(r.type,o),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),zs(e,t),t.tag=1,Lo(r)?(e=!0,Ro(t)):e=!1,Pi(t,n),as(t,r,o),us(t,r,o,n),Cs(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return xs(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){};function Wc(e){this._internalRoot=e}function $c(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zc(){}function Qc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=Kc(a);s.call(e)}}zc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Kc(a);i.call(e)}}var a=Hc(t,r,e,0,null,!1,0,"",Zc);return e._reactRootContainer=a,e[mo]=a.current,zr(8===e.nodeType?e.parentNode:e),cc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Kc(u);s.call(e)}}var u=Bc(e,0,!1,null,0,!1,0,"",Zc);return e._reactRootContainer=u,e[mo]=u.current,zr(8===e.nodeType?e.parentNode:e),cc((function(){zc(t,u,n,r)})),u}(n,t,e,o,r);return Kc(a)}$c.prototype.render=Wc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));zc(e,t,null,null)},$c.prototype.unmount=Wc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cc((function(){zc(null,e,null,null)})),t[mo]=null}},$c.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Rt(e)}},St=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),nc(t,Ze()),!(6&Cu)&&(Hu=Ze()+500,Ko()))}break;case 13:cc((function(){var t=Mi(e,1);if(null!==t){var n=Ju();tc(t,e,1,n)}})),qc(e,1)}},Et=function(e){if(13===e.tag){var t=Mi(e,134217728);if(null!==t)tc(t,e,134217728,Ju());qc(e,134217728)}},xt=function(e){if(13===e.tag){var t=ec(e),n=Mi(e,t);if(null!==n)tc(n,e,t,Ju());qc(e,t)}},_t=function(){return vt},Ot=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},Ee=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Eo(r);if(!o)throw Error(i(90));W(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=uc,Ae=cc;var Jc={usingClientEntryPoint:!1,Events:[wo,So,Eo,ke,Ce,uc]},el={findFiberByHostInstance:vo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tl={bundleType:el.bundleType,version:el.version,rendererPackageName:el.rendererPackageName,rendererConfig:el.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:el.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nl.isDisabled&&nl.supportsFiber)try{ot=nl.inject(tl),it=nl}catch(le){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,zr(8===e.nodeType?e.parentNode:e),new Wc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return cc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(i(200));return Qc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,zr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new $c(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(i(200));return Qc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(i(40));return!!e._reactRootContainer&&(cc((function(){Qc(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Qc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},function(e,t,n){"use strict";e.exports=n(349)},function(e,t,n){"use strict";(function(e){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,u=e[s],c=s+1,l=e[c];if(0>i(u,n))c<o&&0>i(l,u)?(e[r]=l,e[c]=n,r=c):(e[r]=u,e[s]=n,r=s);else{if(!(c<o&&0>i(l,n)))break e;e[r]=l,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],l=[],f=1,d=null,p=3,h=!1,m=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v=void 0!==e?e:null;function w(e){for(var t=r(l);null!==t;){if(null===t.callback)o(l);else{if(!(t.startTime<=e))break;o(l),t.sortIndex=t.expirationTime,n(c,t)}t=r(l)}}function S(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,L(E);else{var t=r(l);null!==t&&D(S,t.startTime-e)}}function E(e,n){m=!1,g&&(g=!1,y(k),k=-1),h=!0;var i=p;try{for(w(n),d=r(c);null!==d&&(!(d.expirationTime>n)||e&&!A());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?d.callback=s:d===r(c)&&o(c),w(n)}else o(c);d=r(c)}if(null!==d)var u=!0;else{var f=r(l);null!==f&&D(S,f.startTime-n),u=!1}return u}finally{d=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,_=!1,O=null,k=-1,C=5,T=-1;function A(){return!(t.unstable_now()-T<C)}function P(){if(null!==O){var e=t.unstable_now();T=e;var n=!0;try{n=O(!0,e)}finally{n?x():(_=!1,O=null)}}else _=!1}if("function"==typeof v)x=function(){v(P)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,j=I.port2;I.port1.onmessage=P,x=function(){j.postMessage(null)}}else x=function(){b(P,0)};function L(e){O=e,_||(_=!0,x())}function D(e,n){k=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,L(E))},t.unstable_forceFrameRate=function(e){0>e||125<e||(C=0<e?Math.floor(1e3/e):5)},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(l,e),null===r(c)&&e===r(l)&&(g?(y(k),k=-1):g=!0,D(S,i-a))):(e.sortIndex=s,n(c,e),m||h||(m=!0,L(E))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}).call(this,n(350).setImmediate)},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(196),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(31))},function(e,t,n){"use strict";var r=n(0);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=r.useRef,s=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var f=a(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=u((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==l&&d.hasValue){var t=d.value;if(l(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==l&&l(t,n)?t:(i=e,a=n)}var i,a,s=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,l]);var p=i(e,f[0],f[1]);return s((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},function(e,t,n){n(353)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);(void 0===Intl.PluralRules||!Intl.PluralRules.polyfilled&&"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1))&&Object.defineProperty(Intl,"PluralRules",{value:r.PluralRules,writable:!0,enumerable:!1,configurable:!0})},function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r};Object.defineProperty(t,"__esModule",{value:!0});var o=n(239);function i(e,t){if(!(e instanceof a))throw new TypeError("Method Intl.PluralRules.prototype."+t+" called on incompatible receiver "+String(e))}var a=function(){function e(t,n){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.PluralRules must be called with 'new'");var r=o.getCanonicalLocales(t),i=Object.create(null),a=void 0===n?Object.create(null):o.toObject(n);o.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedPluralRules",!0);var s=o.getOption(a,"localeMatcher","string",["best fit","lookup"],"best fit");i.localeMatcher=s,o.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type",o.getOption(a,"type","string",["cardinal","ordinal"],"cardinal")),o.setNumberFormatDigitOptions(e.__INTERNAL_SLOT_MAP__,this,a,0,3);var u=o.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,i,e.relevantExtensionKeys,e.localeData);o.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",u.locale)}return e.prototype.resolvedOptions=function(){var t=this;i(this,"resolvedOptions");var n=Object.create(null);return n.locale=o.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),n.type=o.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type"),["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach((function(r){var i=o.getInternalSlot(e.__INTERNAL_SLOT_MAP__,t,r);void 0!==i&&(n[r]=i)})),n.pluralCategories=r(e.localeData[n.locale].categories[n.type]),n},e.prototype.select=function(t){i(this,"select");var n,r,a,s,u,c=o.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),l=o.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type");return e.localeData[c].fn((n=e.__INTERNAL_SLOT_MAP__,r=this,a=Math.abs(Number(t)),s=o.getInternalSlot(n,r,"minimumSignificantDigits"),u=o.getInternalSlot(n,r,"maximumSignificantDigits"),void 0!==s&&void 0!==u?function(e,t,n){var r=e.toPrecision(n);if(~r.indexOf(".")&&n>t){for(var o=n-t;o>0&&"0"===r[r.length-1];)r=r.slice(0,r.length-1),o--;if("."===r[r.length-1])return r.slice(0,r.length-1)}return r}(a,s,u):function(e,t,n,r){for(var o=r-n,i=e.toFixed(r);o>0&&"0"===i[i.length-1];)i=i.slice(0,i.length-1),o--;"."===i[i.length-1]&&(i=i.slice(0,i.length-1));var a=i.split(".")[0].length;if(a<t){for(var s="";s.length<t-a;s+="0");i=s+i}return i}(a,o.getInternalSlot(n,r,"minimumIntegerDigits"),o.getInternalSlot(n,r,"minimumFractionDigits"),o.getInternalSlot(n,r,"maximumFractionDigits"))),"ordinal"==l)},e.prototype.toString=function(){return"[object Intl.PluralRules]"},e.supportedLocalesOf=function(t,n){return o.supportedLocales(e.availableLocales,o.getCanonicalLocales(t),n)},e.__addLocaleData=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i=function(t){Object.keys(r(t.availableLocales,Object.keys(t.aliases),Object.keys(t.parentLocales)).reduce((function(e,t){return e[t]=!0,e}),{})).forEach((function(n){try{e.localeData[n]=o.unpackData(n,t)}catch(e){if(o.isMissingLocaleDataError(e))return;throw e}}))},a=0,s=t;a<s.length;a++){i(s[a])}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=[],e.polyfilled=!0,e.__INTERNAL_SLOT_MAP__=new WeakMap,e}();t.PluralRules=a;try{Object.defineProperty(a,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}},function(e,t){Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{en:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&r?"one":"other"}}},aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"},availableLocales:["en"]})},function(e,t,n){n(357)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(358);"RelativeTimeFormat"in Intl||Object.defineProperty(Intl,"RelativeTimeFormat",{value:r.default,writable:!0,enumerable:!1,configurable:!0})},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(239);var u=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function c(e){return e+""}function l(e,t,n,r){if(s.invariant("number"==typeof n,"value must be number, instead got "+typeof n,TypeError),s.invariant("string"==typeof r,"unit must be number, instead got "+typeof n,TypeError),isNaN(n)||n===1/0||n===-1/0)throw new RangeError("Invalid value "+n);var i=function(e){if(s.invariant("string"==typeof e,"unit must be a string, instead got "+typeof e,TypeError),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("Invalid unit "+e);return e}(r),a=s.getInternalSlot(e,t,"fields"),u=s.getInternalSlot(e,t,"style"),l=i;"short"===u?l=r+"-short":"narrow"===u&&(l=r+"-narrow"),l in a||(l=r);var f=a[l];if("auto"===s.getInternalSlot(e,t,"numeric")&&c(n)in f)return[{type:"literal",value:f[c(n)]}];var d,p,h="future";d=n,p=-0,((Object.is?Object.is(d,p):d===p?0!==d||1/d==1/p:d!=d&&p!=p)||n<0)&&(h="past");var m=f[h],g=s.getInternalSlot(e,t,"pluralRules"),b=s.getInternalSlot(e,t,"numberFormat"),y="function"==typeof b.formatToParts?b.formatToParts(Math.abs(n)):[{type:"literal",value:b.format(Math.abs(n)),unit:r}];return function(e,t,n){var r,i,a,u,c=s.partitionPattern(e),l=[];try{for(var f=o(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(s.isLiteralPart(p))l.push({type:"literal",value:p.value});else{s.invariant("0"===p.type,"Malformed pattern "+e);try{for(var h=(a=void 0,o(n)),m=h.next();!m.done;m=h.next()){var g=m.value;l.push({type:g.type,value:g.value,unit:t})}}catch(e){a={error:e}}finally{try{m&&!m.done&&(u=h.return)&&u.call(h)}finally{if(a)throw a.error}}}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}return l}(m[g.select(n)],i,y)}var f=function(){function e(t,n){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat",!0);var r=s.getCanonicalLocales(t),o=Object.create(null),i=void 0===n?Object.create(null):s.toObject(n),a=s.getOption(i,"localeMatcher","string",["best fit","lookup"],"best fit");o.localeMatcher=a;var c=s.getOption(i,"numberingSystem","string",void 0,void 0);if(void 0!==c&&!u.test(c))throw new RangeError("Invalid numbering system "+c);o.nu=c;var l=s.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,o,e.relevantExtensionKeys,e.localeData),f=l.locale,d=l.nu;s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",f),s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style",s.getOption(i,"style","string",["long","narrow","short"],"long")),s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric",s.getOption(i,"numeric","string",["always","auto"],"always")),s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"fields",e.localeData[f]),s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberFormat",new Intl.NumberFormat(t)),s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"pluralRules",new Intl.PluralRules(t)),s.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem",d)}return e.prototype.format=function(t,n){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("format was called on a invalid context");return l(e.__INTERNAL_SLOT_MAP__,this,Number(t),c(n)).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(t,n){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("formatToParts was called on a invalid context");return l(e.__INTERNAL_SLOT_MAP__,this,Number(t),c(n))},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");if(!s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("resolvedOptions was called on a invalid context");return{locale:s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),style:s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style"),numeric:s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric"),numberingSystem:s.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem")}},e.supportedLocalesOf=function(t,n){return s.supportedLocales(e.availableLocales,s.getCanonicalLocales(t),n)},e.__addLocaleData=function(){for(var t,n,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=function(t){Object.keys(a(t.availableLocales,Object.keys(t.aliases),Object.keys(t.parentLocales)).reduce((function(e,t){return e[t]=!0,e}),{})).forEach((function(n){try{e.localeData[n]=function(e,t){var n=s.getLocaleHierarchy(e,t.aliases,t.parentLocales),o=n.map((function(e){return t.data[e]})).filter(Boolean);if(!o.length)throw new Error('Missing locale data for "'+e+'", lookup hierarchy: '+n.join(", "));return o.reverse(),o.reduce((function(e,t){return r(r({},e),t)}),{nu:[]})}(n,t)}catch(e){}}))};try{for(var l=o(i),f=l.next();!f.done;f=l.next()){c(f.value)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e.__INTERNAL_SLOT_MAP__=new WeakMap,e}();t.default=f;try{"undefined"!=typeof Symbol&&Object.defineProperty(f.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(f.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}},function(e,t){Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{"en-001":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-150":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-AU":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"in {0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}}},"en-CA":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}}},"en-SG":{"quarter-short":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr"},"quarter-narrow":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr"},"month-short":{0:"this mth",1:"next mth",future:{one:"in {0} mth",other:"in {0} mth"},past:{one:"{0} mth ago",other:"{0} mth ago"},"-1":"last mth"}},en:{nu:["latn"],year:{0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"},"-1":"last year"},"year-short":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},"year-narrow":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},quarter:{0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},month:{0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"},"-1":"last month"},"month-short":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},"month-narrow":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},week:{0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"},"-1":"last week"},"week-short":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},"week-narrow":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},day:{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-short":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-narrow":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}},availableLocales:["en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-US-POSIX","en-US","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","en"],aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case g:case c:return e;default:return t}}case i:return t}}}function E(e){return S(e)===d}t.typeOf=S,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=g,t.Portal=i,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===u||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||S(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===b},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===h}},function(e,t,n){},function(e,t,n){var r=n(72),o=n(83),i=n(34),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(364),o=n(378),i=n(130),a=n(34),s=n(382);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(365),o=n(377),i=n(208);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(101),o=n(199);e.exports=function(e,t,n,i){var a=n.length,s=a,u=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=n[a])[0],f=e[l],d=c[1];if(u&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(i)var h=i(f,d,l,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},function(e,t,n){var r=n(101),o=n(200),i=n(370),a=n(372),s=n(86),u=n(34),c=n(84),l=n(103),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,b){var y=u(e),v=u(t),w=y?d:s(e),S=v?d:s(t),E=(w=w==f?p:w)==p,x=(S=S==f?p:S)==p,_=w==S;if(_&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(_&&!E)return b||(b=new r),y||l(e)?o(e,t,n,m,g,b):i(e,t,w,n,m,g,b);if(!(1&n)){var O=E&&h.call(e,"__wrapped__"),k=x&&h.call(t,"__wrapped__");if(O||k){var C=O?e.value():e,T=k?t.value():t;return b||(b=new r),g(C,T,n,m,b)}}return!!_&&(b||(b=new r),a(e,t,n,m,g,b))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var r=n(72),o=n(171),i=n(81),a=n(200),s=n(371),u=n(132),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));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 p=s;case"[object Set]":var h=1&r;if(p||(p=u),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var g=a(p(e),p(t),r,c,f,d);return d.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t,n){var r=n(203),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var u=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var d=c[f];if(!(u?d in t:o.call(t,d)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var h=!0;s.set(e,t),s.set(t,e);for(var m=u;++f<l;){var g=e[d=c[f]],b=t[d];if(i)var y=u?i(b,g,d,t,e,s):i(g,b,d,e,t,s);if(!(void 0===y?g===b||a(g,b,n,i,s):y)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(h=!1)}return s.delete(e),s.delete(t),h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){var r=n(66)(n(47),"DataView");e.exports=r},function(e,t,n){var r=n(66)(n(47),"Promise");e.exports=r},function(e,t,n){var r=n(66)(n(47),"WeakMap");e.exports=r},function(e,t,n){var r=n(207),o=n(85);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(199),o=n(29),i=n(379),a=n(117),s=n(207),u=n(208),c=n(82);e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},function(e,t,n){var r=n(380),o=n(381);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(93),o=n(83),i=n(34),a=n(129),s=n(126),u=n(82);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var d=u(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(d,l)&&(i(e)||o(e))}},function(e,t,n){var r=n(383),o=n(384),i=n(117),a=n(82);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(116);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(201),o=n(386),i=n(387),a=n(202),s=n(388),u=n(132);e.exports=function(e,t,n){var c=-1,l=o,f=e.length,d=!0,p=[],h=p;if(n)d=!1,l=i;else if(f>=200){var m=t?null:s(e);if(m)return u(m);d=!1,l=a,h=new r}else h=t?[]:p;e:for(;++c<f;){var g=e[c],b=t?t(g):g;if(g=n||0!==g?g:0,d&&b==b){for(var y=h.length;y--;)if(h[y]===b)continue e;t&&h.push(b),p.push(g)}else l(h,b,n)||(h!==p&&h.push(b),p.push(g))}return p}},function(e,t,n){var r=n(193);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(206),o=n(7),i=n(132),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(87),i=n(36),a=n(67),s=n(41),u=n(61),c=n(32),l=n(15),f=n(10),d=(n(76),n(56)),p=n(405),h=u.draft_tree_data_support,m=h?s:a,g=f.List,b=f.Repeat,y={insertAtomicBlock:function(e,t,n){var a=e.getCurrentContent(),s=e.getSelection(),u=c.removeRange(a,s,"backward"),f=u.getSelectionAfter(),p=c.splitBlock(u,f),y=p.getSelectionAfter(),v=c.setBlockType(p,y,"atomic"),w=i.create({entity:t}),S={key:d(),type:"atomic",text:n,characterList:g(b(w,n.length))},E={key:d(),type:"unstyled"};h&&(S=r({},S,{nextSibling:E.key}),E=r({},E,{prevSibling:S.key}));var x=[new m(S),new m(E)],_=o.createFromArray(x),O=c.replaceWithFragment(v,y,_),k=O.merge({selectionBefore:s,selectionAfter:O.getSelectionAfter().set("hasFocus",!0)});return l.push(e,k,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o=e.getCurrentContent(),i=e.getSelection(),a=void 0;if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());a=p(o,t,s,r)}else{var u=c.removeRange(o,n,"backward"),f=u.getSelectionAfter(),d=u.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())a=p(u,t,d,"before");else if(f.getEndOffset()===d.getLength())a=p(u,t,d,"after");else{var h=c.splitBlock(u,f),m=h.getSelectionAfter(),g=h.getBlockForKey(m.getFocusKey());a=p(h,t,g,"before")}}var b=a.merge({selectionBefore:i,selectionAfter:a.getSelectionAfter().set("hasFocus",!0)});return l.push(e,b,"move-block")}};e.exports=y},function(e,t,n){"use strict";e.exports={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1}},function(e,t,n){"use strict";var r=n(36),o=n(10).Map,i={add:function(e,t,n){return a(e,t,n,!0)},remove:function(e,t,n){return a(e,t,n,!1)}};function a(e,t,n,i){var a=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),c=t.getEndKey(),l=t.getEndOffset(),f=a.skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===c})).concat(o([[c,a.get(c)]])).map((function(e,t){var o,a;s===c?(o=u,a=l):(o=t===s?u:0,a=t===c?l:e.getLength());for(var f,d=e.getCharacterList();o<a;)f=d.get(o),d=d.set(o,i?r.applyStyle(f,n):r.removeStyle(f,n)),o++;return e.set("characterList",d)}));return e.merge({blockMap:a.merge(f),selectionBefore:t,selectionAfter:t})}e.exports=i},function(e,t,n){"use strict";var r=n(10),o=n(394);e.exports=function(e,t,n){var i=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===u})).toOrderedMap().merge(r.OrderedMap([[u,i.get(u)]])).map((function(e,t){var r=t===a?s:0,i=t===u?c:e.getLength();return o(e,r,i,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=n(36);e.exports=function(e,t,n,o){for(var i=e.getCharacterList();t<n;)i=i.set(t,r.applyEntity(i.get(t),o)),t++;return e.set("characterList",i)}},function(e,t,n){"use strict";var r=n(396),o=n(397),i=n(11);function a(e,t,n,a,s,u,c){var l=n.getStartOffset(),f=n.getEndOffset(),d=e.__get(s).getMutability(),p=c?l:f;if("MUTABLE"===d)return n;var h=o(t,s).filter((function(e){return p<=e.end&&p>=e.start}));1!=h.length&&i(!1);var m=h[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1});u||(c?f=m.end:l=m.start);var g=r.getRemovalRange(l,f,t.getText().slice(m.start,m.end),m.start,a);return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),u=t.getEntityAt(i),c=n.getEntityAt(s-1);if(!u&&!c)return r;var l=r;if(u&&u===c)l=a(e,t,l,o,u,!0,!0);else if(u&&c){var f=a(e,t,l,o,u,!1,!0),d=a(e,n,l,o,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(u){var p=a(e,t,l,o,u,!1,!0);l=l.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(c){var h=a(e,n,l,o,c,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},function(e,t,n){"use strict";e.exports={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e}));for(var a,s=r,u=null,c=null,l=0;l<i.length;l++){if(e<(a=s+i[l].length)&&s<t)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var f=r+n.length,d=u===r,p=c===f;return(!d&&p||d&&!p)&&("forward"===o?c!==f&&c++:u!==r&&u--),{start:u,end:c}}}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||r(!1),n}},function(e,t,n){"use strict";var r=n(87),o=n(41),i=n(10),a=n(212),s=n(11),u=n(210),c=i.List,l=function(e,t,n,i,a,s){var u=n.first()instanceof o,l=[],f=i.size,d=n.get(a),p=i.first(),h=i.last(),m=h.getLength(),g=h.getKey(),b=u&&(!d.getChildKeys().isEmpty()||!p.getChildKeys().isEmpty());n.forEach((function(e,t){t===a?(b?l.push(e):l.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,s,i)),i.slice(b?0:1,f-1).forEach((function(e){return l.push(e)})),l.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,s,i))):l.push(e)}));var y=r.createFromArray(l);return u&&(y=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),l=u[u.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([l,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],l),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var f=e.get(s).getChildKeys(),d=f.indexOf(o)+1,p=f.toArray();p.splice.apply(p,[d,0].concat(u)),t.setIn([s,"children"],c(p))}}))}(y,0,d,p)),e.merge({blockMap:y,selectionBefore:t,selectionAfter:t.merge({anchorKey:g,anchorOffset:m,focusKey:g,focusOffset:m,isBackward:!1})})};e.exports=function(e,t,n){t.isCollapsed()||s(!1);var r=e.getBlockMap(),i=u(n),c=t.getStartKey(),f=t.getStartOffset(),d=r.get(c);return d instanceof o&&(d.getChildKeys().isEmpty()||s(!1)),1===i.size?function(e,t,n,r,o,i){var s=n.get(o),u=s.getText(),c=s.getCharacterList(),l=o,f=i+r.getText().length,d=s.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(c,r.getCharacterList(),i),data:r.getData()});return e.merge({blockMap:n.set(o,d),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})}(e,t,r,i.first(),c,f):l(e,t,r,i,c,f)}},function(e,t,n){"use strict";var r=n(10),o=n(212),i=n(11),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||i(!1);var s=n.length;if(!s)return e;var u=e.getBlockMap(),c=t.getStartKey(),l=t.getStartOffset(),f=u.get(c),d=f.getText(),p=f.merge({text:d.slice(0,l)+n+d.slice(l,f.getLength()),characterList:o(f.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return e.merge({blockMap:u.set(c,p),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},function(e,t,n){"use strict";var r=n(10).Map;e.exports=function(e,t,n){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat(r([[i,a.get(i)]])).map(n);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=n(41),o=n(10),i=n(213),a=(o.List,o.Map),s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},c=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},f=function(e,t,n,r){return e.withMutations((function(e){s(t.getKey(),e,(function(n){return n.merge({nextSibling:c(t,e,r),prevSibling:l(t,e,r)})})),s(n.getKey(),e,(function(t){return t.merge({nextSibling:c(n,e,r),prevSibling:l(n,e,r)})})),u(t.getKey(),r).forEach((function(t){return s(t,e,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return e.get(t)})),nextSibling:c(t,e,r),prevSibling:l(t,e,r)})}))})),s(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s(t.getPrevSiblingKey(),e,(function(n){return n.merge({nextSibling:c(t,e,r)})})),s(n.getNextSiblingKey(),e,(function(t){return t.merge({prevSibling:l(n,e,r)})})),s(n.getPrevSiblingKey(),e,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),u(n.getKey(),r).forEach((function(t){s(t,e,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return e.get(t)})),nextSibling:c(t,e,r),prevSibling:l(t,e,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=i(e,t);r&&t.get(r);){var o=t.get(r);n.push(r),r=o.getParentKey()?i(o,t):null}return n}(n,r).forEach((function(t){return s(t,e,(function(t){return t.merge({nextSibling:c(t,e,r),prevSibling:l(t,e,r)})}))}))}))},d=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),c=t.getEndKey(),l=t.getEndOffset(),p=n.get(o),h=n.get(c),m=p instanceof r,g=[];if(m){var b=h.getChildKeys(),y=u(c,n);h.getNextSiblingKey()&&(g=g.concat(y)),b.isEmpty()||(g=g.concat(y.concat([c]))),g=g.concat(u(i(h,n),n))}var v=void 0;v=p===h?d(p.getCharacterList(),s,l):p.getCharacterList().slice(0,s).concat(h.getCharacterList().slice(l));var w=p.merge({text:p.getText().slice(0,s)+h.getText().slice(l),characterList:v}),S=n.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===c})).filter((function(e,t){return-1===g.indexOf(t)})).concat(a([[c,null]])).map((function(e,t){return t===o?w:null})),E=n.merge(S).filter((function(e){return!!e}));return m&&(E=f(E,p,h,n)),e.merge({blockMap:E,selectionBefore:t,selectionAfter:t.merge({anchorKey:o,anchorOffset:s,focusKey:o,focusOffset:s,isBackward:!1})})}},function(e,t,n){"use strict";var r=n(41),o=n(10),i=n(56),a=n(11),s=o.List,u=o.Map,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),o=t.getAnchorOffset(),l=e.getBlockMap(),f=l.get(n),d=f.getText(),p=f.getCharacterList(),h=i(),m=f instanceof r,g=f.merge({text:d.slice(0,o),characterList:p.slice(0,o)}),b=g.merge({key:h,text:d.slice(o),characterList:p.slice(o),data:u()}),y=l.toSeq().takeUntil((function(e){return e===f})),v=l.toSeq().skipUntil((function(e){return e===f})).rest(),w=y.concat([[n,g],[h,b]],v).toOrderedMap();return m&&(f.getChildKeys().isEmpty()||a(!1),w=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();c(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:s(i)})})),c(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),c(r,e,(function(e){return e.merge({nextSibling:o})})),c(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(w,g,b)),e.merge({blockMap:w,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:0,focusKey:h,focusOffset:0,isBackward:!1})})}},function(e,t,n){"use strict";var r,o=n(10),i=n(404),a=n(49),s=o.OrderedMap,u={getDirectionMap:function(e,t){r?r.reset():r=new i;var n=e.getBlockMap(),u=n.valueSeq().map((function(e){return a(r).getDirection(e.getText())})),c=s(n.keySeq().zip(u));return null!=t&&o.is(t,c)?t:c}};e.exports=u},function(e,t,n){"use strict";var r=n(216),o=n(137),i=n(11),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t?o.isStrong(t)||i(!1):t=o.getGlobalDir(),this._defaultDir=t,this.reset()}return e.prototype.reset=function(){this._lastDir=this._defaultDir},e.prototype.getDirection=function(e){return this._lastDir=r.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=a},function(e,t,n){"use strict";var r=n(41),o=n(10),i=n(213),a=n(11),s=o.OrderedMap,u=o.List,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},l=function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),f=t.getNextSiblingKey(),d=t.getPrevSiblingKey(),p=n.getParentKey(),h=i?n.getNextSiblingKey():s,m=i?s:n.getPrevSiblingKey();return e.withMutations((function(e){c(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),c(d,e,(function(e){return e.merge({nextSibling:f})})),c(f,e,(function(e){return e.merge({prevSibling:d})})),c(h,e,(function(e){return e.merge({prevSibling:a})})),c(m,e,(function(e){return e.merge({nextSibling:a})})),c(p,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:u(o)})})),c(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:m,parent:p})}))}))};e.exports=function(e,t,n,o){"replace"===o&&a(!1);var u=n.getKey(),c=t.getKey();c===u&&a(!1);var f=e.getBlockMap(),d=t instanceof r,p=[t],h=f.delete(c);d&&(p=[],h=f.withMutations((function(e){var n=t.getNextSiblingKey(),r=i(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===c})).takeWhile((function(e){var t=e.getKey(),o=t===c,i=n&&t!==n,a=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||i||a)})).forEach((function(t){p.push(t),e.delete(t.getKey())}))})));var m=h.toSeq().takeUntil((function(e){return e===n})),g=h.toSeq().skipUntil((function(e){return e===n})).skip(1),b=p.map((function(e){return[e.getKey(),e]})),y=s();if("before"===o){var v=e.getBlockBefore(u);v&&v.getKey()===t.getKey()&&a(!1),y=m.concat([].concat(b,[[u,n]]),g).toOrderedMap()}else if("after"===o){var w=e.getBlockAfter(u);w&&w.getKey()===c&&a(!1),y=m.concat([[u,n]].concat(b),g).toOrderedMap()}return e.merge({blockMap:l(y,t,n,o,d),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},function(e,t,n){"use strict";var r=n(10).List,o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._decorators=t.slice()}return e.prototype.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(n,e,t,o+"."+i),i++)}),t)})),r(n)},e.prototype.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},e.prototype.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();e.exports=o},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o=n(138),i=n(217),a=n(408),s=n(409),u=n(431),c=n(434),l=n(466),f=n(15),d=n(0),p=n(75),h=n(221),m=n(142),g=n(53),b=n(77),y=n(134),v=n(56),w=n(234),S=n(143),E=n(11),x=n(49),_=g.isBrowser("IE"),O=!_,k={edit:c,composite:a,drag:u,cut:null,render:null},C=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.focus=function(e){var t=r.props.editorState,n=t.getSelection().getHasFocus(),o=p.findDOMNode(r.editor);if(o){var i=m.getScrollParent(o),a=e||S(i),s=a.x,u=a.y;o instanceof HTMLElement||E(!1),o.focus(),i===window?window.scrollTo(s,u):h.setTop(i,u),n||r.update(f.forceSelection(t,t.getSelection()))}},r.blur=function(){var e=p.findDOMNode(r.editor);e instanceof HTMLElement||E(!1),e.blur()},r.setMode=function(e){r._handler=k[e]},r.exitCurrentMode=function(){r.setMode("edit")},r.restoreEditorDOM=function(e){r.setState({contentsKey:r.state.contentsKey+1},(function(){r.focus(e)}))},r.setClipboard=function(e){r._clipboard=e},r.getClipboard=function(){return r._clipboard},r.update=function(e){r._latestEditorState=e,r.props.onChange(e)},r.onDragEnter=function(){r._dragCount++},r.onDragLeave=function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()},r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=n.editorKey||v(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=n.editorState,r._latestCommittedEditorState=n.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&r(t,n)}}},t.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},t.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:x(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return d.createElement(l,e)}return null},t.prototype.render=function(){var e=this,t=this.props,n=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,u=t.customStyleFn,c=t.customStyleMap,l=t.editorState,f=t.readOnly,p=t.textAlignment,h=t.textDirectionality,m=b({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===p,"DraftEditor/alignRight":"right"===p,"DraftEditor/alignCenter":"center"===p}),g=this.props.role||"textbox",y="combobox"===g?!!this.props.ariaExpanded:null,v={blockRenderMap:n,blockRendererFn:o,blockStyleFn:a,customStyleMap:r({},i,c),customStyleFn:u,editorKey:this._editorKey,editorState:l,key:"contents"+this.state.contentsKey,textDirectionality:h};return d.createElement("div",{className:m},this._renderPlaceholder(),d.createElement("div",{className:b("DraftEditor/editorContainer"),ref:function(t){return e.editorContainer=t}},d.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":f?null:y,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:b({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:function(t){return e.editor=t},role:f?null:g,spellCheck:O&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},d.createElement(s,v))))},t.prototype.componentDidMount=function(){this.setMode("edit"),_&&document.execCommand("AutoUrlDetect",!1,!1)},t.prototype.componentWillUpdate=function(e){this._blockSelectEvents=!0,this._latestEditorState=e.editorState},t.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},t}(d.Component);C.defaultProps={blockRenderMap:o,blockRendererFn:y.thatReturnsNull,blockStyleFn:y.thatReturns(""),keyBindingFn:w,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},e.exports=C},function(e,t,n){"use strict";var r=n(61),o=n(32),i=n(15),a=n(139),s=n(140),u=n(89),c=n(218),l=!1,f=!1,d="",p={onBeforeInput:function(e,t){d=(d||"")+t.data},onCompositionStart:function(e){f=!0},onCompositionEnd:function(e){l=!1,f=!1,setTimeout((function(){l||p.resolveComposition(e)}),20)},onKeyDown:function(e,t){if(!f)return p.resolveComposition(e),void e._onKeyDown(t);t.which!==a.RIGHT&&t.which!==a.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===a.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!f){l=!0;var t=d;d="";var n=i.set(e._latestEditorState,{inCompositionMode:!1}),a=n.getCurrentInlineStyle(),p=s(n.getCurrentContent(),n.getSelection()),h=!t||c(n)||a.size>0||null!==p;if(h&&e.restoreEditorDOM(),e.exitCurrentMode(),t){if(r.draft_handlebeforeinput_composed_text&&e.props.handleBeforeInput&&u(e.props.handleBeforeInput(t,n)))return;var m=o.replaceText(n.getCurrentContent(),n.getSelection(),t,a,p);e.update(i.push(n,m,"insert-characters"))}else h&&e.update(i.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};e.exports=p},function(e,t,n){"use strict";var r=n(410);e.exports=r},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o=n(219),i=n(109),a=(n(15),n(0)),s=n(77),u=n(430),c=n(49),l=function(e,t,n,r){return s({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":4===t,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||u!==c||n.mustForceSelection()},t.prototype.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,s=e.blockStyleFn,f=e.customStyleMap,d=e.customStyleFn,p=e.editorState,h=e.editorKey,m=e.textDirectionality,g=p.getCurrentContent(),b=p.getSelection(),y=p.mustForceSelection(),v=p.getDecorator(),w=c(p.getDirectionMap()),S=g.getBlocksAsArray(),E=[],x=null,_=null,O=0;O<S.length;O++){var k=S[O],C=k.getKey(),T=k.getType(),A=n(k),P=void 0,I=void 0,j=void 0;A&&(P=A.component,I=A.props,j=A.editable);var L=m||w.get(C),D=i.encode(C,0,0),M={contentState:g,block:k,blockProps:I,blockStyleFn:s,customStyleMap:f,customStyleFn:d,decorator:v,direction:L,forceSelection:y,key:C,offsetKey:D,selection:b,tree:p.getBlockTree(C)},N=t.get(T)||t.get("unstyled"),R=N.wrapper,F=N.element||t.get("unstyled").element,B=k.getDepth(),U="";if(s&&(U=s(k)),"li"===F)U=u(U,l(T,B,_!==R||null===x||B>x,L));var H=P||o,z={className:U,"data-block":!0,"data-editor":h,"data-offset-key":D,key:C};void 0!==j&&(z=r({},z,{contentEditable:j,suppressContentEditableWarning:!0}));var K=a.createElement(F,z,a.createElement(H,M));E.push({block:K,wrapperTemplate:R,key:C,offsetKey:D}),x=R?k.getDepth():null,_=R}for(var V=[],q=0;q<E.length;){var G=E[q];if(G.wrapperTemplate){var W=[];do{W.push(E[q].block),q++}while(q<E.length&&E[q].wrapperTemplate===G.wrapperTemplate);var $=a.cloneElement(G.wrapperTemplate,{key:G.key+"-wrap","data-offset-key":G.offsetKey},W);V.push($)}else V.push(G.block),q++}return a.createElement("div",{"data-contents":"true"},V)},t}(a.Component);e.exports=f},function(e,t,n){"use strict";var r=n(40);var o=n(412),i=n(0),a=n(75),s=n(11),u=n(418),c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),c=r+o.length;if(e.hasEdgeWithin(i,r,c)){var l=a.findDOMNode(this);l||s(!1);var f=l.firstChild;f||s(!1);var d=void 0;f.nodeType===Node.TEXT_NODE?d=f:"BR"===f.tagName?d=l:(d=f.firstChild)||s(!1),u(e,d,i,r,c)}}},t.prototype.shouldComponentUpdate=function(e){var t=a.findDOMNode(this.leaf);return t||s(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},t.prototype.componentDidUpdate=function(){this._setSelection()},t.prototype.componentDidMount=function(){this._setSelection()},t.prototype.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,u=a.customStyleFn,c=a.offsetKey,l=a.styleSet,f=l.reduce((function(e,t){var n={},o=s[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(n.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),r(e,o,n)}),{});if(u){var d=u(l,t);f=r(f,d)}return i.createElement("span",{"data-offset-key":c,ref:function(t){return e.leaf=t},style:f},i.createElement(o,null,n))},t}(i.Component);e.exports=c},function(e,t,n){"use strict";var r=n(0),o=n(75),i=n(53),a=n(11),s=i.isBrowser("IE <= 11");var u=s?r.createElement("span",{key:"A","data-text":"true"},"\n"):r.createElement("br",{key:"A","data-text":"true"}),c=s?r.createElement("span",{key:"B","data-text":"true"},"\n"):r.createElement("br",{key:"B","data-text":"true"}),l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r._forceFlag=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){var t=o.findDOMNode(this),n=""===e.children;return t instanceof Element||a(!1),n?!function(e){return s?"\n"===e.textContent:"BR"===e.tagName}(t):t.textContent!==e.children},t.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},t.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},t.prototype.render=function(){return""===this.props.children?this._forceFlag?u:c:r.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},t}(r.Component);e.exports=l},function(e,t,n){"use strict";var r=n(414),o="Unknown",i={"Mac OS":"Mac OS X"};var a,s=(new r).getResult(),u=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(s.browser.version),c={browserArchitecture:s.cpu.architecture||o,browserFullVersion:s.browser.version||o,browserMinorVersion:u.minor||o,browserName:s.browser.name||o,browserVersion:s.browser.major||o,deviceName:s.device.model||o,engineName:s.engine.name||o,engineVersion:s.engine.version||o,platformArchitecture:s.cpu.architecture||o,platformName:(a=s.os.name,i[a]||a||o),platformVersion:s.os.version||o,platformFullVersion:s.os.version||o};e.exports=c},function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",u="object",c="model",l="name",f="type",d="vendor",p="version",h="architecture",m="console",g="mobile",b="tablet",y="smarttv",v="wearable",w={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},S={rgx:function(e,t){for(var n,r,o,s,c,l,f=0;f<t.length&&!c;){var d=t[f],p=t[f+1];for(n=r=0;n<d.length&&!c;)if(c=d[n++].exec(e))for(o=0;o<p.length;o++)l=c[++r],typeof(s=p[o])===u&&s.length>0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4==s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;f+=2}},str:function(e,t){for(var n in t)if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(w.has(t[n][r],e))return"?"===n?i:n}else if(w.has(t[n],e))return"?"===n?i:n;return e}},E={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},x={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[l,p],[/(opios)[\/\s]+([\w\.]+)/i],[[l,"Opera Mini"],p],[/\s(opr)\/([\w\.]+)/i],[[l,"Opera"],p],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[l,p],[/(konqueror)\/([\w\.]+)/i],[[l,"Konqueror"],p],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[l,"IE"],p],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[l,"Edge"],p],[/(yabrowser)\/([\w\.]+)/i],[[l,"Yandex"],p],[/(Avast)\/([\w\.]+)/i],[[l,"Avast Secure Browser"],p],[/(AVG)\/([\w\.]+)/i],[[l,"AVG Secure Browser"],p],[/(puffin)\/([\w\.]+)/i],[[l,"Puffin"],p],[/(focus)\/([\w\.]+)/i],[[l,"Firefox Focus"],p],[/(opt)\/([\w\.]+)/i],[[l,"Opera Touch"],p],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[l,"UCBrowser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],p],[/(windowswechat qbcore)\/([\w\.]+)/i],[[l,"WeChat(Win) Desktop"],p],[/(micromessenger)\/([\w\.]+)/i],[[l,"WeChat"],p],[/(brave)\/([\w\.]+)/i],[[l,"Brave"],p],[/(qqbrowserlite)\/([\w\.]+)/i],[l,p],[/(QQ)\/([\d\.]+)/i],[l,p],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[l,p],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[l,p],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[l,p],[/(MetaSr)[\/\s]?([\w\.]+)/i],[l],[/(LBBROWSER)/i],[l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[p,[l,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[p,[l,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[l,p],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[p,[l,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[l,/(.+)/,"$1 WebView"],p],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[l,/(.+(?:g|us))(.+)/,"$1 $2"],p],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[p,[l,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[l,"Sailfish Browser"],p],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[l,p],[/(dolfin)\/([\w\.]+)/i],[[l,"Dolphin"],p],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[l,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[l,"Chrome"],p],[/(coast)\/([\w\.]+)/i],[[l,"Opera Coast"],p],[/fxios\/([\w\.-]+)/i],[p,[l,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[p,[l,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[p,l],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[l,"GSA"],p],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[l,[p,S.str,E.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[l,p],[/(navigator|netscape)\/([\w\.-]+)/i],[[l,"Netscape"],p],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[l,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[h,/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[h,w.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[c,d,[f,b]],[/applecoremedia\/[\w\.]+ \((ipad)/],[c,[d,"Apple"],[f,b]],[/(apple\s{0,1}tv)/i],[[c,"Apple TV"],[d,"Apple"],[f,y]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[d,c,[f,b]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[c,[d,"Amazon"],[f,b]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[c,S.str,E.device.amazon.model],[d,"Amazon"],[f,g]],[/android.+aft([bms])\sbuild/i],[c,[d,"Amazon"],[f,y]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[c,d,[f,g]],[/\((ip[honed|\s\w*]+);/i],[c,[d,"Apple"],[f,g]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[d,c,[f,g]],[/\(bb10;\s(\w+)/i],[c,[d,"BlackBerry"],[f,g]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[c,[d,"Asus"],[f,b]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[d,"Sony"],[c,"Xperia Tablet"],[f,b]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,"Sony"],[f,g]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[d,c,[f,m]],[/android.+;\s(shield)\sbuild/i],[c,[d,"Nvidia"],[f,m]],[/(playstation\s[34portablevi]+)/i],[c,[d,"Sony"],[f,m]],[/(sprint\s(\w+))/i],[[d,S.str,E.device.sprint.vendor],[c,S.str,E.device.sprint.model],[f,g]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[d,[c,/_/g," "],[f,g]],[/(nexus\s9)/i],[c,[d,"HTC"],[f,b]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],[c,[d,"Huawei"],[f,g]],[/android.+(bah2?-a?[lw]\d{2})/i],[c,[d,"Huawei"],[f,b]],[/(microsoft);\s(lumia[\s\w]+)/i],[d,c,[f,g]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[c,[d,"Microsoft"],[f,m]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,"Microsoft"],[f,g]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[c,[d,"Motorola"],[f,g]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[c,[d,"Motorola"],[f,b]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[d,w.trim],[c,w.trim],[f,y]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,"Samsung"],[f,y]],[/\(dtv[\);].+(aquos)/i],[c,[d,"Sharp"],[f,y]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[d,"Samsung"],c,[f,b]],[/smart-tv.+(samsung)/i],[d,[f,y],c],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[d,"Samsung"],c,[f,g]],[/sie-(\w*)/i],[c,[d,"Siemens"],[f,g]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[d,"Nokia"],c,[f,g]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[c,[d,"Acer"],[f,b]],[/android.+([vl]k\-?\d{3})\s+build/i],[c,[d,"LG"],[f,b]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[d,"LG"],c,[f,b]],[/(lg) netcast\.tv/i],[d,c,[f,y]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[c,[d,"LG"],[f,g]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[d,c,[f,b]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[c,[d,"Lenovo"],[f,b]],[/(lenovo)[_\s-]?([\w-]+)/i],[d,c,[f,g]],[/linux;.+((jolla));/i],[d,c,[f,g]],[/((pebble))app\/[\d\.]+\s/i],[d,c,[f,v]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[d,c,[f,g]],[/crkey/i],[[c,"Chromecast"],[d,"Google"],[f,y]],[/android.+;\s(glass)\s\d/i],[c,[d,"Google"],[f,v]],[/android.+;\s(pixel c)[\s)]/i],[c,[d,"Google"],[f,b]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[c,[d,"Google"],[f,g]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[c,/_/g," "],[d,"Xiaomi"],[f,g]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[c,/_/g," "],[d,"Xiaomi"],[f,b]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[c,[d,"Meizu"],[f,g]],[/(mz)-([\w-]{2,})/i],[[d,"Meizu"],c,[f,g]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[c,[d,"OnePlus"],[f,g]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[c,[d,"RCA"],[f,b]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[c,[d,"Dell"],[f,b]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[c,[d,"Verizon"],[f,b]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[d,"Barnes & Noble"],c,[f,b]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[c,[d,"NuVision"],[f,b]],[/android.+;\s(k88)\sbuild/i],[c,[d,"ZTE"],[f,b]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[c,[d,"Swiss"],[f,g]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[c,[d,"Swiss"],[f,b]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[c,[d,"Zeki"],[f,b]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[d,"Dragon Touch"],c,[f,b]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[c,[d,"Insignia"],[f,b]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[c,[d,"NextBook"],[f,b]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[d,"Voice"],c,[f,g]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[d,"LvTel"],c,[f,g]],[/android.+;\s(PH-1)\s/i],[c,[d,"Essential"],[f,g]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[c,[d,"Envizen"],[f,b]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[d,c,[f,b]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[c,[d,"MachSpeed"],[f,b]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[d,c,[f,b]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[c,[d,"Rotor"],[f,b]],[/android.+(KS(.+))\s+build/i],[c,[d,"Amazon"],[f,b]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[d,c,[f,b]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[f,w.lowerize],d,c],[/[\s\/\(](smart-?tv)[;\)]/i],[[f,y]],[/(android[\w\.\s\-]{0,9});.+build/i],[c,[d,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[p,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[l,p],[/rv\:([\w\.]{1,9}).+(gecko)/i],[p,l]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[l,p],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[l,[p,S.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[l,"Windows"],[p,S.str,E.os.windows.version]],[/\((bb)(10);/i],[[l,"BlackBerry"],p],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[l,p],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[l,"Symbian"],p],[/\((series40);/i],[l],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[l,"Firefox OS"],p],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[l,p],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[l,"Chromium OS"],p],[/(sunos)\s?([\w\.\d]*)/i],[[l,"Solaris"],p],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[l,p],[/(haiku)\s(\w+)/i],[l,p],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[p,/_/g,"."],[l,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[l,"Mac OS"],[p,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[l,p]]},_=function(e,t){if("object"==typeof e&&(t=e,e=i),!(this instanceof _))return new _(e,t).getResult();var n=e||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?w.extend(x,t):x;return this.getBrowser=function(){var e={name:i,version:i};return S.rgx.call(e,n,r.browser),e.major=w.major(e.version),e},this.getCPU=function(){var e={architecture:i};return S.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:i,model:i,type:i};return S.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:i,version:i};return S.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:i,version:i};return S.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};_.VERSION="0.7.21",_.BROWSER={NAME:l,MAJOR:"major",VERSION:p},_.CPU={ARCHITECTURE:h},_.DEVICE={MODEL:c,VENDOR:d,TYPE:f,CONSOLE:m,MOBILE:g,SMARTTV:y,TABLET:b,WEARABLE:v,EMBEDDED:"embedded"},_.ENGINE={NAME:l,VERSION:p},_.OS={NAME:l,VERSION:p},typeof t!==s?(typeof e!==s&&e.exports&&(t=e.exports=_),t.UAParser=_):(r=function(){return _}.call(t,n,t,e))===i||(e.exports=r);var O=o&&(o.jQuery||o.Zepto);if(O&&!O.ua){var k=new _;O.ua=k.getResult(),O.ua.get=function(){return k.getUA()},O.ua.set=function(e){k.setUA(e);var t=k.getResult();for(var n in t)O.ua[n]=t[n]}}}("object"==typeof window?window:this)},function(e,t,n){"use strict";var r=n(11),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function c(e,t){var n=e.split(i);return n.length>1?n.some((function(e){return w.contains(e,t)})):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return l(n[0],t);var o=n[0],i=n[1];return m(o)&&m(i)||r(!1),l(">="+o,t)&&l("<="+i,t)}(e=n[0].trim(),t)}function l(e,t){if(""===(e=e.trim()))return!0;var n,r=t.split(o),i=p(e),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return f(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return d(r,s);case">":return function(e,t){return 1===v(e,t)}(r,s);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);h(i)&&(r[o]=i+1+"");return d(e,n)&&f(e,r)}(r,s);default:return function(e,t){return 0===v(e,t)}(r,s)}}function f(e,t){return-1===v(e,t)}function d(e,t){var n=v(e,t);return 1===n||0===n}function p(e){var t=e.split(o),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function h(e){return!isNaN(e)&&isFinite(e)}function m(e){return!p(e).modifier}function g(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function b(e,t){var n=e.match(u)[1],r=t.match(u)[1],o=parseInt(n,10),i=parseInt(r,10);return h(o)&&h(i)&&o!==i?y(o,i):y(e,t)}function y(e,t){return typeof e!=typeof t&&r(!1),e>t?1:e<t?-1:0}function v(e,t){for(var n=function(e,t){g(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return g(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=b(r[i],o[i]);if(a)return a}return 0}var w={contains:function(e,t){return c(e.trim(),t.trim())}};e.exports=w},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!e)return null;var o={};for(var i in e)r.call(e,i)&&(o[i]=t.call(n,e[i],i,e));return o}},function(e,t,n){"use strict";e.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},function(e,t,n){"use strict";(function(t){var r=n(419),o=n(141),i=n(220),a=n(11);function s(e,t){if(!e)return"[empty]";var n=u(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||a(!1),n.outerHTML)}function u(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return document.createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;a<i.length;a++)o.appendChild(u(i[a],t));return o}function c(e,t){for(var n=e;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return s(n,t);n=n.parentNode}return"Could not find contentEditable parent of node"}function l(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function f(e,t,n,a){var s=i();if(e.extend&&o(s,t)){n>l(t)&&r.logSelectionStateFailure({anonymizedDom:c(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())});var u=t===e.focusNode;try{e.extend(t,n)}catch(o){throw r.logSelectionStateFailure({anonymizedDom:c(t,(function(t){var n=[];return t===s&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:s?s.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:u,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),o}}else{var f=e.getRangeAt(0);f.setEnd(t,n),e.addRange(f.cloneRange())}}function d(e,t,n,o){var i=document.createRange();n>l(t)&&r.logSelectionStateFailure({anonymizedDom:c(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(o.toJS())}),i.setStart(t,n),e.addRange(i)}e.exports=function(e,n,r,i,a){if(o(document.documentElement,n)){var s=t.getSelection(),u=e.getAnchorKey(),c=e.getAnchorOffset(),l=e.getFocusKey(),p=e.getFocusOffset(),h=e.getIsBackward();if(!s.extend&&h){var m=u,g=c;u=l,c=p,l=m,p=g,h=!1}var b=u===r&&i<=c&&a>=c,y=l===r&&i<=p&&a>=p;if(b&&y)return s.removeAllRanges(),d(s,n,c-i,e),void f(s,n,p-i,e);if(h){if(y&&(s.removeAllRanges(),d(s,n,p-i,e)),b){var v=s.focusNode,w=s.focusOffset;s.removeAllRanges(),d(s,n,c-i,e),f(s,v,w,e)}}else b&&(s.removeAllRanges(),d(s,n,c-i,e)),y&&f(s,n,p-i,e)}}}).call(this,n(31))},function(e,t,n){"use strict";e.exports={logSelectionStateFailure:function(){return null}}},function(e,t,n){"use strict";var r=n(421);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(423),o=n(424);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?i("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},function(e,t,n){"use strict";var r=/-(.)/g;e.exports=function(e){return e.replace(r,(function(e,t){return t.toUpperCase()}))}},function(e,t,n){"use strict";var r=/([A-Z])/g;e.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},function(e,t,n){"use strict";var r=n(426);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},function(e,t,n){"use strict";var r=n(141);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!r(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},function(e,t,n){"use strict";var r="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:r||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},function(e,t,n){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},function(e,t,n){"use strict";function r(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){e||(e="");var t=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)(t=arguments[r])&&(e=(e?e+" ":"")+t);return e}},function(e,t,n){"use strict";var r=n(222),o=n(32),i=n(15),a=n(144),s=n(224),u=n(225),c=n(89),l=n(49);var f={onDragEnd:function(e){e.exitCurrentMode()},onDrop:function(e,t){var n=new r(t.nativeEvent.dataTransfer),f=e._latestEditorState,p=function(e,t){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=l(n),r=l(r);var i=l(a(n));return u(t,i,r,i,r)}(t.nativeEvent,f);if(t.preventDefault(),e.exitCurrentMode(),null!=p){var h=n.getFiles();if(h.length>0){if(e.props.handleDroppedFiles&&c(e.props.handleDroppedFiles(p,h)))return;s(h,(function(t){t&&e.update(d(f,p,t))}))}else{var m=e._internalDrag?"internal":"external";e.props.handleDrop&&c(e.props.handleDrop(p,n,m))||(e._internalDrag?e.update(function(e,t){var n=o.moveText(e.getCurrentContent(),e.getSelection(),t);return i.push(e,n,"insert-fragment")}(f,p)):e.update(d(f,p,n.getText())))}}}};function d(e,t,n){var r=o.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return i.push(e,r,"insert-fragment")}e.exports=f},function(e,t,n){"use strict";var r={isImage:function(e){return"image"===o(e)[0]},isJpeg:function(e){var t=o(e);return r.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function o(e){return e.split("/")}e.exports=r},function(e,t,n){"use strict";var r=n(11);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),o=0;o<t;o++)n[o]=e[o];return n}(e):[e]}},function(e,t,n){"use strict";var r={onBeforeInput:n(435),onBlur:n(437),onCompositionStart:n(438),onCopy:n(439),onCut:n(440),onDragOver:n(441),onDragStart:n(442),onFocus:n(443),onInput:n(444),onKeyDown:n(445),onPaste:n(459),onSelect:n(464)};e.exports=r},function(e,t,n){"use strict";(function(t){var r=n(214),o=n(32),i=n(15),a=n(53),s=n(140),u=n(89),c=n(218),l=n(49),f=n(436),d="'",p="/",h=a.isBrowser("Firefox");function m(e,t,n,r){var a=o.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return i.push(e,a,"insert-characters")}e.exports=function(e,n){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var o=e._latestEditorState,a=n.data;if(a)if(e.props.handleBeforeInput&&u(e.props.handleBeforeInput(a,o)))n.preventDefault();else{var g=o.getSelection(),b=g.getStartOffset(),y=g.getEndOffset(),v=g.getAnchorKey();if(!g.isCollapsed())return n.preventDefault(),void(a===o.getCurrentContent().getPlainText().slice(b,y)?e.update(i.forceSelection(o,g.merge({focusOffset:y}))):e.update(m(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection()))));var w,S=m(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection())),E=!1;if(E||(E=c(e._latestCommittedEditorState)),!E){var x=t.getSelection();if(x.anchorNode&&x.anchorNode.nodeType===Node.TEXT_NODE){var _=x.anchorNode.parentNode;E="SPAN"===_.nodeName&&_.firstChild.nodeType===Node.TEXT_NODE&&-1!==_.firstChild.nodeValue.indexOf("\t")}}if(!E)E=r.getFingerprint(o.getBlockTree(v))!==r.getFingerprint(S.getBlockTree(v));if(E||(w=a,E=h&&(w==d||w==p)),E||(E=l(S.getDirectionMap()).get(v)!==l(o.getDirectionMap()).get(v)),E)return n.preventDefault(),void e.update(S);S=i.set(S,{nativelyRenderedContent:S.getCurrentContent()}),e._pendingStateFromBeforeInput=S,f((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}}}).call(this,n(31))},function(e,t,n){"use strict";(function(t){n(196),e.exports=t.setImmediate}).call(this,n(31))},function(e,t,n){"use strict";(function(t){var r=n(15),o=n(141),i=n(220);e.exports=function(e,n){if(i()===document.body){var a=t.getSelection(),s=e.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var u=e._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(n),e.update(r.acceptSelection(u,l))}}}).call(this,n(31))},function(e,t,n){"use strict";var r=n(15);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},function(e,t,n){"use strict";var r=n(226);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},function(e,t,n){"use strict";var r=n(32),o=n(15),i=n(142),a=n(226),s=n(143);e.exports=function(e,t){var n=e._latestEditorState,u=n.getSelection(),c=t.target,l=void 0;if(u.isCollapsed())t.preventDefault();else{c instanceof Node&&(l=s(i.getScrollParent(c)));var f=a(n);e.setClipboard(f),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(l),e.exitCurrentMode(),e.update(function(e){var t=r.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return o.push(e,t,"remove-range")}(n))}),0)}}},function(e,t,n){"use strict";e.exports=function(e,t){e._internalDrag=!1,e.setMode("drag"),t.preventDefault()}},function(e,t,n){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},function(e,t,n){"use strict";var r=n(15),o=n(53);e.exports=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),o.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},function(e,t,n){"use strict";(function(t){var r=n(61),o=n(32),i=n(109),a=n(15),s=n(53),u=n(144),c=n(49),l=s.isEngine("Gecko");e.exports=function(e){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=t.getSelection(),s=n.anchorNode,f=n.isCollapsed,d=s.nodeType!==Node.TEXT_NODE,p=s.nodeType!==Node.TEXT_NODE&&s.nodeType!==Node.ELEMENT_NODE;if(r.draft_killswitch_allow_nontextnodes){if(d)return}else if(p)return;if(s.nodeType===Node.TEXT_NODE&&(null!==s.previousSibling||null!==s.nextSibling)){var h=s.parentNode;s.nodeValue=h.textContent;for(var m=h.firstChild;null!==m;m=m.nextSibling)m!==s&&h.removeChild(m)}var g=s.textContent,b=e._latestEditorState,y=c(u(s)),v=i.decode(y),w=v.blockKey,S=v.decoratorKey,E=v.leafKey,x=b.getBlockTree(w).getIn([S,"leaves",E]),_=x.start,O=x.end,k=b.getCurrentContent(),C=k.getBlockForKey(w),T=C.getText().slice(_,O);if(g.endsWith("\n\n")&&(g=g.slice(0,-1)),g!==T){var A,P,I,j,L=b.getSelection(),D=L.merge({anchorOffset:_,focusOffset:O,isBackward:!1}),M=C.getEntityAt(_),N=M&&k.getEntity(M),R="MUTABLE"===(N&&N.getMutability()),F=R?"spellcheck-change":"apply-entity",B=o.replaceText(k,D,g,C.getInlineStyleAt(_),R?C.getEntityAt(_):null);if(l)A=n.anchorOffset,P=n.focusOffset,j=(I=_+Math.min(A,P))+Math.abs(A-P),A=I,P=j;else{var U=g.length-T.length;I=L.getStartOffset(),j=L.getEndOffset(),A=f?j+U:I,P=j+U}var H=B.merge({selectionBefore:k.getSelectionAfter(),selectionAfter:L.merge({anchorOffset:A,focusOffset:P})});e.update(a.push(b,H,F))}}}).call(this,n(31))},function(e,t,n){"use strict";var r=n(32),o=n(15),i=n(145),a=n(139),s=n(446),u=n(53),c=n(89),l=n(447),f=n(449),d=n(451),p=n(452),h=n(453),m=n(454),g=n(455),b=n(456),y=n(457),v=n(458),w=i.isOptionKeyCommand,S=u.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,i=e._latestEditorState;switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&c(e.props.handleReturn(t,i)))return;break;case a.ESC:return t.preventDefault(),void(e.props.onEscape&&e.props.onEscape(t));case a.TAB:return void(e.props.onTab&&e.props.onTab(t));case a.UP:return void(e.props.onUpArrow&&e.props.onUpArrow(t));case a.RIGHT:return void(e.props.onRightArrow&&e.props.onRightArrow(t));case a.DOWN:return void(e.props.onDownArrow&&e.props.onDownArrow(t));case a.LEFT:return void(e.props.onLeftArrow&&e.props.onLeftArrow(t));case a.SPACE:if(S&&w(t)){t.preventDefault();var u=r.replaceText(i.getCurrentContent(),i.getSelection()," ");return void e.update(o.push(i,u,"insert-characters"))}}var E=e.props.keyBindingFn(t);if(E)if("undo"!==E){if(t.preventDefault(),!e.props.handleKeyCommand||!c(e.props.handleKeyCommand(E,i))){var x=function(e,t){switch(e){case"redo":return o.redo(t);case"delete":return b(t);case"delete-word":return d(t);case"backspace":return g(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return l(t);case"split-block":return p(t);case"transpose-characters":return y(t);case"move-selection-to-start-of-block":return m(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(E,i);x!==i&&e.update(x)}}else v(t,i,e.update)}},function(e,t,n){"use strict";var r=n(32),o=n(15),i=n(107),a=n(49),s=null,u={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),u=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=t.getBlockForKey(c).getLength();if(l===n.getAnchorOffset())return e;u=n.set("focusOffset",l)}else u=n;u=a(u),s=i(t,u);var f=r.removeRange(t,u,"forward");return f===t?e:o.push(e,f,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return o.push(e,t,"insert-fragment")}};e.exports=u},function(e,t,n){"use strict";(function(t){var r=n(15),o=n(448),i=n(228),a=n(146),s=n(90);e.exports=function(e){var n=s(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(e,1);var r=t.getSelection().getRangeAt(0);return r=o(r),i(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:r.push(e,n,"remove-range")}}).call(this,n(31))},function(e,t,n){"use strict";var r=n(68),o=n(227),i=n(11);function a(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function s(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}e.exports=function(e){e.collapsed||i(!1);var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=document.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||i(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}(t),u=e.endContainer,c=e.endOffset;for(e.setStart(e.startContainer,0);a(o(e),n)&&(u=e.startContainer,c=e.startOffset,u.parentNode||i(!1),e.setStartBefore(u),1!==u.nodeType||"inline"===getComputedStyle(u).display););for(var l=u,f=c-1;;){for(var d=l.nodeValue,p=f;p>=0;p--)if(!(null!=d&&p>0&&r.isSurrogatePair(d,p-1))){if(e.setStart(l,p),!a(o(e),n))break;u=l,c=p}if(-1===p||0===l.childNodes.length)break;f=s(l=l.childNodes[p])}return e.setStart(u,c),e}},function(e,t,n){"use strict";var r=n(229),o=n(15),i=n(146),a=n(90);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return i(e,1);var o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(e,s.length||1)}),"backward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(e,t,n){"use strict";var r=n(229),o=n(15),i=n(230),a=n(90);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(e,s.length||1)}),"forward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},function(e,t,n){"use strict";var r=n(32),o=n(15);e.exports=function(e){var t=r.splitBlock(e.getCurrentContent(),e.getSelection());return o.push(e,t,"split-block")}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e){var t=e.getSelection(),n=t.getEndKey(),o=e.getCurrentContent().getBlockForKey(n).getLength();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e){var t=e.getSelection(),n=t.getStartKey();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},function(e,t,n){"use strict";var r=n(15),o=n(68),i=n(146),a=n(90);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(e,s?o.getUTF16Length(s,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},function(e,t,n){"use strict";var r=n(15),o=n(68),i=n(230),a=n(90);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(e,s?o.getUTF16Length(s,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},function(e,t,n){"use strict";var r=n(32),o=n(15),i=n(107);e.exports=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var a,s,u=t.getAnchorKey(),c=e.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return e;n===l?(a=t.set("anchorOffset",n-1),s=t):s=(a=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=i(c,a),d=r.removeRange(c,a,"backward"),p=d.getSelectionAfter(),h=p.getAnchorOffset()-1,m=p.merge({anchorOffset:h,focusOffset:h}),g=r.replaceWithFragment(d,m,f),b=o.push(e,g,"insert-fragment");return o.acceptSelection(b,s)}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e,t,n){var o=r.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(r.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},function(e,t,n){"use strict";var r=n(87),o=n(36),i=n(222),a=n(32),s=n(460),u=n(15),c=n(233),l=n(140),f=n(224),d=n(89),p=n(463);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return u.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new i(t.clipboardData);if(!n.isRichText()){var m=n.getFiles(),g=n.getText();if(m.length>0){if(e.props.handlePastedFiles&&d(e.props.handlePastedFiles(m)))return;return void f(m,(function(t){if(t=t||g){var n=e._latestEditorState,i=p(t),f=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),d=c.getCurrentBlockType(n),h=s.processText(i,f,d),m=r.createFromArray(h),b=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),m);e.update(u.push(n,b,"insert-fragment"))}}))}}var b=[],y=n.getText(),v=n.getHTML(),w=e._latestEditorState;if(!e.props.handlePastedText||!d(e.props.handlePastedText(y,v,w))){if(y&&(b=p(y)),!e.props.stripPastedStyles){var S=e.getClipboard();if(n.isRichText()&&S){if(-1!==v.indexOf(e.getEditorKey())||1===b.length&&1===S.size&&S.first().getText()===y)return void e.update(h(e._latestEditorState,S))}else if(S&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(b,S))return void e.update(h(e._latestEditorState,S));if(v){var E=s.processHTML(v,e.props.blockRenderMap);if(E){var x=E.contentBlocks,_=E.entityMap;if(x){var O=r.createFromArray(x);return void e.update(h(e._latestEditorState,O,_))}}}e.setClipboard(null)}if(b.length){var k=o.create({style:w.getCurrentInlineStyle(),entity:l(w.getCurrentContent(),w.getSelection())}),C=c.getCurrentBlockType(w),T=s.processText(b,k,C),A=r.createFromArray(T);e.update(h(e._latestEditorState,A))}}}},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(n(36),n(67)),i=n(41),a=n(61),s=n(10),u=n(231),c=n(56),l=n(232),f=n(136),d=s.List,p=s.Repeat,h=a.draft_tree_data_support,m=h?i:o,g={processHTML:function(e,t){return u(e,l,t)},processText:function(e,t,n){return e.reduce((function(e,o,i){o=f(o);var a=c(),s={key:a,type:n,text:o,characterList:d(p(t,o.length))};if(h&&0!==i){var u=i-1,l=e[u]=e[u].merge({nextSibling:a});s=r({},s,{prevSibling:l.getKey()})}return e.push(new m(s)),e}),[])}};e.exports=g},function(e,t,n){"use strict";var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._uri=t}return e.prototype.toString=function(){return this._uri},e}();e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=/\r\n?|\n/g;e.exports=function(e){return e.split(r)}},function(e,t,n){"use strict";var r=n(15),o=n(75),i=n(465),a=n(11);e.exports=function(e){if(!e._blockSelectEvents&&e._latestEditorState===e.props.editorState){var t=e.props.editorState,n=o.findDOMNode(e.editorContainer);n||a(!1),n.firstChild instanceof HTMLElement||a(!1);var s=i(t,n.firstChild),u=s.selectionState;u!==t.getSelection()&&(t=s.needsRecovery?r.forceSelection(t,u):r.acceptSelection(t,u),e.update(t))}}},function(e,t,n){"use strict";(function(t){var r=n(228);e.exports=function(e,n){var o=t.getSelection();return 0===o.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,n,o.anchorNode,o.anchorOffset,o.focusNode,o.focusOffset)}}).call(this,n(31))},function(e,t,n){"use strict";var r=n(0),o=n(77),i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return r.createElement("div",{className:t},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},t}(r.Component);e.exports=i},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(67),i=n(41),a=n(235),s=n(468),u=n(469),c=n(11),l=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:u(e),entityRanges:s(e,t),data:e.getData().toObject()}},f=function(e,t){var n=t.entityMap,s=[],u={},f={},d=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),o=a.stringify(r);f[o]||(f[o]=r,n[o]=""+d,d++)})),function(e,t,n,a){if(e instanceof o)n.push(l(e,t));else{e instanceof i||c(!1);var s=e.getParentKey(),u=a[e.getKey()]=r({},l(e,t),{children:[]});s?a[s].children.push(u):n.push(u)}}(e,n,s,u)})),{blocks:s,entityMap:n}};e.exports=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(a.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(e,t=f(e,t)),t}},function(e,t,n){"use strict";var r=n(235),o=n(68).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,a){var s=e.getText(),u=e.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[r.stringify(u)])})})),n}},function(e,t,n){"use strict";var r=n(68),o=n(88),i=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var s=[],u=t.map((function(e){return e.has(n)})).toList();return o(u,i,a,(function(t,o){var i=e.getText();s.push({offset:r.strlen(i.slice(0,t)),length:r.strlen(i.slice(t,o)),style:n})})),s}(e,t,n)}));return Array.prototype.concat.apply(s,n.toJS())}},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(67),i=n(41),a=n(135),s=n(108),u=n(61),c=n(471),l=n(10),f=n(76),d=n(472),p=n(473),h=n(474),m=n(56),g=n(11),b=u.draft_tree_data_support,y=l.List,v=l.Map,w=l.OrderedMap,S=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||m(),data:v(o),characterList:E(e,t)}},E=function(e,t){var n=e.text,o=e.entityRanges,i=e.inlineStyleRanges,a=o||[];return d(h(n,i||[]),p(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return r({},e,{key:t[e.key]})}))))},x=function(e){return r({},e,{key:e.key||m()})},_=function(e,t,n){var o=t.map((function(e){return r({},e,{parentRef:n})}));return e.concat(o.reverse())},O=function(e,t){var n=Array.isArray(e.blocks[0].children),a=b&&!n?c.fromRawStateToRawTreeState(e).blocks:e.blocks;return b?function(e,t){return e.map(x).reduce((function(n,o,a){Array.isArray(o.children)||g(!1);var s=o.children.map(x),u=new i(r({},S(o,t),{prevSibling:0===a?null:e[a-1].key,nextSibling:a===e.length-1?null:e[a+1].key,children:y(s.map((function(e){return e.key})))}));n=n.set(u.getKey(),u);for(var c=_([],s,u);c.length>0;){var l=c.pop(),f=l.parentRef,d=f.getChildKeys(),p=d.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||g(!1);break}var m=l.children.map(x),b=new i(r({},S(l,t),{parent:f.getKey(),children:y(m.map((function(e){return e.key}))),prevSibling:0===p?null:d.get(p-1),nextSibling:p===d.size-1?null:d.get(p+1)}));n=n.set(b.getKey(),b),c=_(c,m,b)}return n}),w())}(a,t):function(e,t){return w(e.map((function(e){var n=new o(S(e,t));return[n.getKey(),n]})))}(n?c.fromRawTreeStateToRawState(e).blocks:a,t)};e.exports=function(e){Array.isArray(e.blocks)||g(!1);var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=s.__create(o,i,a||{})})),n}(e),n=O(e,t),r=n.isEmpty()?new f:f.createEmpty(n.first().getKey());return new a({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},function(e,t,n){"use strict";var r=n(40)||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(11),i=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},a={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||o(!1),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||o(!1),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=r({},e);i(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?r({},t,{depth:(e.depth||0)+1}):t})))}(e)),delete t.children,n.push(t)})),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t={},n=[];return e.blocks.forEach((function(e){var a=i(e),s=e.depth||0,u=r({},e,{children:[]});if(!a)return t={},void n.push(u);if(t[s]=u,s>0){var c=t[s-1];return c||o(!1),void c.children.push(u)}n.push(u)})),r({},e,{blocks:n})}};e.exports=a},function(e,t,n){"use strict";var r=n(36),o=n(10).List;e.exports=function(e,t){var n=e.map((function(e,n){var o=t[n];return r.create({style:e,entity:o})}));return o(n)}},function(e,t,n){"use strict";var r=n(68).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var o=r(e,0,t.offset).length,i=o+r(e,t.offset,t.length).length,a=o;a<i;a++)n[a]=t.key})),n}},function(e,t,n){"use strict";var r=n(10).OrderedSet,o=n(68).substr,i=r();e.exports=function(e,t){var n=Array(e.length).fill(i);return t&&t.forEach((function(t){for(var r=o(e,0,t.offset).length,i=r+o(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n}},function(e,t,n){"use strict";var r=n(476);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,u=o.left;return 0===i&&0===a&&0===s&&0===u?null:o}},function(e,t,n){"use strict";var r=n(227);e.exports=function(e){var t=r(e),n=0,o=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var u=t[0];n=u.top,o=u.right,i=u.bottom,a=u.left}for(var c=1;c<t.length;c++){var l=t[c];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},function(e,t,n){"use strict";var r,o,i,a,s;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){window.cancelAnimationFrame;window.requestAnimationFrame}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var b=!1,y=null,v=-1,w=5,S=0;a=function(){return t.unstable_now()>=S},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e||(w=0<e?Math.floor(1e3/e):5)};var E=new MessageChannel,x=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();S=e+w;try{y(!0,e)?x.postMessage(null):(b=!1,y=null)}catch(e){throw x.postMessage(null),e}}else b=!1},r=function(e){y=e,b||(b=!0,x.postMessage(null))},o=function(e,n){v=h((function(){e(t.unstable_now())}),n)},i=function(){m(v),v=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function O(e){return void 0===(e=e[0])?null:e}function k(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,u=e[s];if(void 0!==a&&0>C(a,n))void 0!==u&&0>C(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],A=[],P=1,I=null,j=3,L=!1,D=!1,M=!1;function N(e){for(var t=O(A);null!==t;){if(null===t.callback)k(A);else{if(!(t.startTime<=e))break;k(A),t.sortIndex=t.expirationTime,_(T,t)}t=O(A)}}function R(e){if(M=!1,N(e),!D)if(null!==O(T))D=!0,r(F);else{var t=O(A);null!==t&&o(R,t.startTime-e)}}function F(e,n){D=!1,M&&(M=!1,i()),L=!0;var r=j;try{for(N(n),I=O(T);null!==I&&(!(I.expirationTime>n)||e&&!a());){var s=I.callback;if(null!==s){I.callback=null,j=I.priorityLevel;var u=s(I.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?I.callback=u:I===O(T)&&k(T),N(n)}else k(T);I=O(T)}if(null!==I)var c=!0;else{var l=O(A);null!==l&&o(R,l.startTime-n),c=!1}return c}finally{I=null,j=r,L=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=s;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:B(e)}else a=B(e),u=s;return e={id:P++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,_(A,e),null===O(T)&&e===O(A)&&(M?i():M=!0,o(R,u-s))):(e.sortIndex=a,_(T,e),D||L||(D=!0,r(F))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_shouldYield=function(){var e=t.unstable_now();N(e);var n=O(T);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<I.expirationTime||a()},t.unstable_requestPaint=U,t.unstable_continueExecution=function(){D||L||(D=!0,r(F))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return O(T)},t.unstable_Profiling=null},function(e,t,n){var r=n(47);e.exports=function(){return r.Date.now()}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(101),o=n(497),i=n(178),a=n(498),s=n(499),u=n(169),c=n(172),l=n(500),f=n(501),d=n(203),p=n(238),h=n(86),m=n(502),g=n(503),b=n(173),y=n(34),v=n(84),w=n(507),S=n(48),E=n(509),x=n(85),_="[object Arguments]",O="[object Function]",k="[object Object]",C={};C[_]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[k]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[O]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,T,A,P,I){var j,L=1&n,D=2&n,M=4&n;if(T&&(j=P?T(t,A,P,I):T(t)),void 0!==j)return j;if(!S(t))return t;var N=y(t);if(N){if(j=m(t),!L)return c(t,j)}else{var R=h(t),F=R==O||"[object GeneratorFunction]"==R;if(v(t))return u(t,L);if(R==k||R==_||F&&!P){if(j=D||F?{}:b(t),!L)return D?f(t,s(j,t)):l(t,a(j,t))}else{if(!C[R])return P?t:{};j=g(t,R,L)}}I||(I=new r);var B=I.get(t);if(B)return B;I.set(t,j),E(t)?t.forEach((function(r){j.add(e(r,n,T,r,t,I))})):w(t)&&t.forEach((function(r,o){j.set(o,e(r,n,T,o,t,I))}));var U=M?D?p:d:D?keysIn:x,H=N?void 0:U(t);return o(H||t,(function(r,o){H&&(r=t[o=r]),i(j,o,e(r,n,T,o,t,I))})),j}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(74),o=n(85);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(74),o=n(104);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(74),o=n(133);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(74),o=n(237);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(124),o=n(504),i=n(505),a=n(506),s=n(170);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);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 s(e,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},function(e,t,n){var r=n(124);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(72),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(508),o=n(127),i=n(128),a=i&&i.isMap,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(86),o=n(52);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(510),o=n(127),i=n(128),a=i&&i.isSet,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(86),o=n(52);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(93),o=n(209),i=n(512),a=n(82);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t,n){var r=n(116),o=n(513);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},function(e,t,n){var r=n(176);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(516),o=n(182),i=n(183);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(198);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(2),o=n(30),i=n(20),a=n(150);function s(e,t){return t?Object.keys(e).reduce((function(n,o){var i,a;return n[o]=(i=e[o],(a=t[o])?Object(r.a)(Object(r.a)(Object(r.a)({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=Object(r.a)(Object(r.a)({},i[t]),a[t]||{}),e}),{})):i),n}),Object(r.a)({},e)):e}function u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var c=function(){function e(t,n,o,c){void 0===n&&(n=e.defaultLocale);var l,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=f.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===a.a.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Object(a.b)(f.ast,f.locales,f.formatters,f.formats,e,void 0,f.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=f.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var d=c||{},p=(d.formatters,Object(r.c)(d,["formatters"]));this.ast=e.__parse(t,Object(r.a)(Object(r.a)({},p),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s(e.formats,o),this.formatters=c&&c.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(i.a)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))}),{cache:u(l.number),strategy:i.b.variadic}),getDateTimeFormat:Object(i.a)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))}),{cache:u(l.dateTime),strategy:i.b.variadic}),getPluralRules:Object(i.a)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(r.d)([void 0],t,!1)))}),{cache:u(l.pluralRules),strategy:i.b.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=o.m,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}}]);