"use strict";(this.webpackChunk_gorgias_chat_client=this.webpackChunk_gorgias_chat_client||[]).push([[549],{40637:(t,n,o)=>{o.d(n,{B6:()=>U,Ix:()=>v,W6:()=>J,dO:()=>W,qh:()=>L,rd:()=>x,zy:()=>N});var e=o(90911),r=o(21253),i=o(76745),a=o(42244),u=o(38533),c=o(77161),s=o(61205),p=o.n(s),l=(o(77315),o(22936)),h=(o(66543),function(t){var n=(0,a.A)();return n.displayName=t,n}),f=h("Router-History"),m=function(t){var n=(0,a.A)();return n.displayName=t,n},d=m("Router"),v=function(t){function n(n){var o;return(o=t.call(this,n)||this).state={location:n.history.location},o._isMounted=!1,o._pendingLocation=null,n.staticContext||(o.unlisten=n.history.listen(function(t){o._isMounted?o.setState({location:t}):o._pendingLocation=t})),o}(0,e.A)(n,t),n.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var o=n.prototype;return o.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},o.componentWillUnmount=function(){this.unlisten&&this.unlisten()},o.render=function(){return r.createElement(d.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},r.createElement(f.Provider,{children:this.props.children||null,value:this.props.history}))},n}(r.Component);r.Component;var y=function(t){function n(){return t.apply(this,arguments)||this}(0,e.A)(n,t);var o=n.prototype;return o.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},o.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},o.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},o.render=function(){return null},n}(r.Component);var A={},C=1e4,g=0;function M(t,n){return void 0===t&&(t="/"),void 0===n&&(n={}),"/"===t?t:function(t){if(A[t])return A[t];var n=p().compile(t);return g