var Common;!function(t){!function(t){"use strict";class r{constructor(){this._stateStack=[]}pushState(t){this._stateStack.push(t)}pushStates(...t){for(;t.length;)this.pushState(t.pop())}popState(){return this._stateStack.pop()}run(){for(;this.runOne(););}runUntil(t){for(var r;r=this._stateStack.pop();){r.call(this);if(r===t)return!0}return!1}runOne(){var t;if(t=this._stateStack.pop()){t.call(this);return!0}return!1}stop(){this._stateStack.length=0}}t.StateMachine=r}(t.FormatService||(t.FormatService={}))}(Common||(Common={}));
