var a=function(){var o=function(r,t){o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))n[i]=e[i]};return o(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();import{UpdateCommand as u}from"../AbstractCommand";var c=function(o){a(r,o);function r(t){var n=o.call(this)||this;if(Array.isArray(t)){n.val=t}else{n.val=[t]}return n}Object.defineProperty(r.prototype,"operator",{get:function(){return"$push"},enumerable:false,configurable:true});r.prototype.stringify=function(){var t={$each:this.val};t.$position=0;return t};return r}(u);export{c as UnShiftCommand};