sprof 0.0.248 → 0.0.249

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.
package/dist/sprof.js CHANGED
@@ -12751,7 +12751,8 @@ const s0 = { class: "background-container" }, r0 = { class: "dialog-footer" }, o
12751
12751
  }, u = T(), l = async () => {
12752
12752
  const c = u.value.getResult();
12753
12753
  c && c.canvas.toBlob((d) => {
12754
- n("crop", d), n("update:ratio", r.value.coordinates.width / r.value.coordinates.height);
12754
+ var h;
12755
+ d.src = (h = c.canvas) == null ? void 0 : h.toDataURL(), n("crop", d), n("update:ratio", r.value.coordinates.width / r.value.coordinates.height);
12755
12756
  });
12756
12757
  };
12757
12758
  return (c, d) => (m(), y("div", s0, [
@@ -12813,7 +12814,7 @@ const s0 = { class: "background-container" }, r0 = { class: "dialog-footer" }, o
12813
12814
  ])
12814
12815
  ]));
12815
12816
  }
12816
- }), a0 = /* @__PURE__ */ $(o0, [["__scopeId", "data-v-f6679fb3"]]), l0 = /* @__PURE__ */ R({
12817
+ }), a0 = /* @__PURE__ */ $(o0, [["__scopeId", "data-v-7b1e3fd4"]]), l0 = /* @__PURE__ */ R({
12817
12818
  __name: "IconUploaderChange",
12818
12819
  props: {
12819
12820
  size: { type: String, default: "" },
@@ -39,4 +39,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39
39
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
40
40
  PERFORMANCE OF THIS SOFTWARE.
41
41
  ***************************************************************************** */function aa(t,e){var n,r;return t&&e?(n=""+t+e[0].toUpperCase()+e.slice(1),r=t+"-"+e):(n=t||e,r=t||e),{name:n,classname:r}}function la(t){return/^blob:/.test(t)}function ca(t){return la(t)||function(e){return/^data:/.test(e)}(t)}function Et(t){return!!(t&&t.constructor&&t.call&&t.apply)}function oe(t){return t===void 0}function Fn(t){return typeof t=="object"&&t!==null}function _i(t,e,n){var r={};return Fn(t)?(Object.keys(e).forEach(function(s){oe(t[s])?r[s]=e[s]:Fn(e[s])?Fn(t[s])?r[s]=_i(t[s],e[s],n[s]):r[s]=t[s]?e[s]:n[s]:e[s]===!0||e[s]===!1?r[s]=!!t[s]:r[s]=t[s]}),r):t?e:n}function On(t){var e=Number(t);return Number.isNaN(e)?t:e}function da(t){return typeof(t=="number"||function(e){return typeof e=="object"&&e!==null}(t)&&toString.call(t)=="[object Number]")&&!ua(t)}function ua(t){return t!=t}function ha(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}var jt=function(t,e){t===void 0&&(t={}),e===void 0&&(e={}),this.type="manipulateImage",this.move=t,this.scale=e},jm=function(t,e){e===void 0&&(e={}),this.type="resize",this.directions=t,this.params=e},Gi=function(t){this.type="move",this.directions=t},Wm=function(){function t(e,n,r,s,o){this.type="drag",this.nativeEvent=e,this.position=r,this.previousPosition=s,this.element=n,this.anchor=o}return t.prototype.shift=function(){var e=this,n=e.element,r=e.anchor,s=e.position;if(n){var o=n.getBoundingClientRect(),a=o.left,d=o.top;return{left:s.left-a-r.left,top:s.top-d-r.top}}return{left:0,top:0}},t}(),Zi={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(t){t.cancelable&&!this.disabled&&t.touches.length===1&&(this.touches=ft(t.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),t.touches.length&&this.initAnchor(this.touches.reduce(function(e,n){return{clientX:e.clientX+n.clientX/t.touches.length,clientY:e.clientY+n.clientY/t.touches.length}},{clientX:0,clientY:0})),t.preventDefault&&t.preventDefault(),t.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(t){this.touches.length&&(this.processMove(t,t.touches),t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation())},onMouseDown:function(t){if(!this.disabled){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.draggable.getBoundingClientRect(),n=e.left,r=e.right,s=e.bottom,o=e.top;this.anchor={left:t.clientX-n,top:t.clientY-o,bottom:s-t.clientY,right:r-t.clientX}},processMove:function(t,e){var n=ft(e);if(this.touches.length){if(this.touches.length===1&&n.length===1){var r=this.$refs.draggable;this.$emit("drag",new Wm(t,r,{left:n[0].clientX,top:n[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=n}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}},emits:["drag","drag-end","leave","enter"]};Zi.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"draggable",class:n.classname,onTouchstart:e[1]||(e[1]=function(){return o.onTouchStart&&o.onTouchStart.apply(o,arguments)}),onMousedown:e[2]||(e[2]=function(){return o.onMouseDown&&o.onMouseDown.apply(o,arguments)}),onMouseover:e[3]||(e[3]=function(){return o.onMouseOver&&o.onMouseOver.apply(o,arguments)}),onMouseleave:e[4]||(e[4]=function(){return o.onMouseLeave&&o.onMouseLeave.apply(o,arguments)})},[i.renderSlot(t.$slots,"default")],34)};var Xi=Ne("vue-handler-wrapper"),fa={name:"HandlerWrapper",components:{DraggableElement:Zi},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var t;if(this.horizontalPosition||this.verticalPosition){var e,n=aa(this.horizontalPosition,this.verticalPosition);t=Xi((xe(e={},n.classname,!0),xe(e,"disabled",this.disabled),e))}else t=Xi({disabled:this.disabled});return{root:t,draggable:Xi("draggable")}}},emits:["leave","enter","drag","drag-end"]};fa.render=function(t,e,n,r,s,o){var a=i.resolveComponent("DraggableElement");return i.openBlock(),i.createBlock("div",{class:o.classes.root},[i.createVNode(a,{class:o.classes.draggable,onDrag:e[1]||(e[1]=function(d){return t.$emit("drag",d)}),onDragEnd:e[2]||(e[2]=function(d){return t.$emit("drag-end")}),onLeave:e[3]||(e[3]=function(d){return t.$emit("leave")}),onEnter:e[4]||(e[4]=function(d){return t.$emit("enter")})},{default:i.withCtx(function(){return[i.renderSlot(t.$slots,"default")]}),_:3},8,["class"])],2)};var _m=Ne("vue-line-wrapper"),ma={name:"LineWrapper",components:{DraggableElement:Zi},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var t;return _m((xe(t={},this.position,!0),xe(t,"disabled",this.disabled),t))}},emits:["leave","enter","drag","drag-end"]};ma.render=function(t,e,n,r,s,o){var a=i.resolveComponent("DraggableElement");return i.openBlock(),i.createBlock(a,{class:o.classname,onDrag:e[1]||(e[1]=function(d){return t.$emit("drag",d)}),onDragEnd:e[2]||(e[2]=function(d){return t.$emit("drag-end")}),onLeave:e[3]||(e[3]=function(d){return t.$emit("leave")}),onEnter:e[4]||(e[4]=function(d){return t.$emit("enter")})},{default:i.withCtx(function(){return[i.renderSlot(t.$slots,"default")]}),_:3},8,["class"])};var Fe=["left","right","top","bottom"],Gm=["left","right"],Zm=["top","bottom"],Xm=["left","top"],Ym=["fill-area","fit-area","stencil","none"],pa={left:0,top:0,width:0,height:0};function ga(t,e,n){return!(n=n||["width","height","left","top"]).some(function(r){return t[r]!==e[r]})}function Oe(t){return{left:t.left,top:t.top,right:t.left+t.width,bottom:t.top+t.height}}function xt(t,e){return{left:t.left-e.left,top:t.top-e.top}}function ue(t){return{left:t.left+t.width/2,top:t.top+t.height/2}}function Wt(t,e){var n={left:0,top:0,right:0,bottom:0};return Fe.forEach(function(r){var s=e[r],o=Oe(t)[r];n[r]=s!==void 0&&o!==void 0?r==="left"||r==="top"?Math.max(0,s-o):Math.max(0,o-s):0}),n}function De(t,e){return{left:t.left-e.left,top:t.top-e.top,width:t.width+e.left+e.right,height:t.height+e.top+e.bottom}}function Dn(t){return{left:-t.left,top:-t.top}}function be(t,e){return z(z({},t),{left:t.left+e.left,top:t.top+e.top})}function Me(t,e,n,r){if(e!==1){if(n){var s=ue(t);return{width:t.width*e,height:t.height*e,left:t.left+t.width*(1-e)/2+(n.left-s.left)*(1-e),top:t.top+t.height*(1-e)/2+(n.top-s.top)*(1-e)}}return{width:t.width*e,height:t.height*e,left:t.left+t.width*(1-e)/2,top:t.top+t.height*(1-e)/2}}return t}function G(t){return t.width/t.height}function Mt(t,e){return Math.min(e.right!==void 0&&e.left!==void 0?(e.right-e.left)/t.width:1/0,e.bottom!==void 0&&e.top!==void 0?(e.bottom-e.top)/t.height:1/0)}function Bt(t,e){var n={left:0,top:0},r=Wt(t,e);return r.left&&r.left>0?n.left=r.left:r.right&&r.right>0&&(n.left=-r.right),r.top&&r.top>0?n.top=r.top:r.bottom&&r.bottom>0&&(n.top=-r.bottom),n}function Yi(t,e){var n;return e.minimum&&t<e.minimum?n=e.minimum:e.maximum&&t>e.maximum&&(n=e.maximum),n}function ya(t,e){var n=G(t),r=G(e);return e.width<1/0&&e.height<1/0?n>r?{width:e.width,height:e.width/n}:{width:e.height*n,height:e.height}:e.width<1/0?{width:e.width,height:e.width/n}:e.height<1/0?{width:e.height*n,height:e.height}:t}function wa(t,e){var n=e*Math.PI/180;return{width:Math.abs(t.width*Math.cos(n))+Math.abs(t.height*Math.sin(n)),height:Math.abs(t.width*Math.sin(n))+Math.abs(t.height*Math.cos(n))}}function Ke(t,e){var n=e*Math.PI/180;return{left:t.left*Math.cos(n)-t.top*Math.sin(n),top:t.left*Math.sin(n)+t.top*Math.cos(n)}}function Ln(t,e){var n=Wt(he(t,e),e);return n.left+n.right+n.top+n.bottom?n.left+n.right>n.top+n.bottom?Math.min((t.width+n.left+n.right)/t.width,Mt(t,e)):Math.min((t.height+n.top+n.bottom)/t.height,Mt(t,e)):1}function he(t,e,n){n===void 0&&(n=!1);var r=Bt(t,e);return be(t,n?Dn(r):r)}function Ji(t){return{width:t.right!==void 0&&t.left!==void 0?t.right-t.left:1/0,height:t.bottom!==void 0&&t.top!==void 0?t.bottom-t.top:1/0}}function Jm(t,e){return z(z({},t),{minWidth:Math.min(e.width,t.minWidth),minHeight:Math.min(e.height,t.minHeight),maxWidth:Math.min(e.width,t.maxWidth),maxHeight:Math.min(e.height,t.maxHeight)})}function ba(t,e,n){n===void 0&&(n=!0);var r={};return Fe.forEach(function(s){var o=t[s],a=e[s];o!==void 0&&a!==void 0?r[s]=s==="left"||s==="top"?n?Math.max(o,a):Math.min(o,a):n?Math.min(o,a):Math.max(o,a):a!==void 0?r[s]=a:o!==void 0&&(r[s]=o)}),r}function Hn(t,e){return ba(t,e,!0)}function Ca(t){var e=t.size,n=t.aspectRatio,r=t.ignoreMinimum,s=t.sizeRestrictions;return!!((e.correctRatio||G(e)>=n.minimum&&G(e)<=n.maximum)&&e.height<=s.maxHeight&&e.width<=s.maxWidth&&e.width&&e.height&&(r||e.height>=s.minHeight&&e.width>=s.minWidth))}function Sa(t,e){return Math.pow(t.width-e.width,2)+Math.pow(t.height-e.height,2)}function Ge(t){var e=t.width,n=t.height,r=t.sizeRestrictions,s={minimum:t.aspectRatio&&t.aspectRatio.minimum||0,maximum:t.aspectRatio&&t.aspectRatio.maximum||1/0},o={width:Math.max(r.minWidth,Math.min(r.maxWidth,e)),height:Math.max(r.minHeight,Math.min(r.maxHeight,n))};function a(u,h){return h===void 0&&(h=!1),u.reduce(function(f,m){return Ca({size:m,aspectRatio:s,sizeRestrictions:r,ignoreMinimum:h})&&(!f||Sa(m,{width:e,height:n})<Sa(f,{width:e,height:n}))?m:f},null)}var d=[];[s.minimum,s.maximum].forEach(function(u){u&&d.push({width:o.width,height:o.width/u,correctRatio:!0},{width:o.height*u,height:o.height,correctRatio:!0})}),Ca({size:o,aspectRatio:s,sizeRestrictions:r})&&d.push(o);var c=a(d)||a(d,!0);return c&&{width:c.width,height:c.height}}function Qi(t){var e=t.event,n=t.coordinates,r=t.positionRestrictions,s=r===void 0?{}:r,o=be(n,e.directions);return be(o,Bt(o,s))}function Qm(t){var e=t.coordinates,n=t.transform,r=t.imageSize,s=t.sizeRestrictions,o=t.positionRestrictions,a=t.aspectRatio,d=t.visibleArea,c=function(h,f){return Qi({coordinates:h,positionRestrictions:o,event:new Gi({left:f.left-h.left,top:f.top-h.top})})},u=z({},e);return(Array.isArray(n)?n:[n]).forEach(function(h){var f={};oe((f=typeof h=="function"?h({coordinates:u,imageSize:r,visibleArea:d}):h).width)&&oe(f.height)||(u=function(m,g){var C=z(z(z({},m),Ge({width:g.width,height:g.height,sizeRestrictions:s,aspectRatio:a})),{left:0,top:0});return c(C,{left:m.left,top:m.top})}(u,z(z({},u),f))),oe(f.left)&&oe(f.top)||(u=c(u,z(z({},u),f)))}),u}function Km(t){t.event;var e=t.getAreaRestrictions,n=t.boundaries,r=t.coordinates,s=t.visibleArea;t.aspectRatio;var o=t.stencilSize,a=t.sizeRestrictions,d=t.positionRestrictions;t.stencilReference;var c,u,h,f=z({},r),m=z({},s),g=z({},o);c=G(g),u=G(f),h===void 0&&(h=.001),(c===0||u===0?Math.abs(u-c)<h:Math.abs(u/c)<1+h&&Math.abs(u/c)>1-h)||(f=z(z({},f),Ge({sizeRestrictions:a,width:f.width,height:f.height,aspectRatio:{minimum:G(g),maximum:G(g)}})));var C=Ln(m=Me(m,f.width*n.width/(m.width*g.width)),e({visibleArea:m,type:"resize"}));return C!==1&&(m=Me(m,C),f=Me(f,C)),m=he(m=be(m,xt(ue(f),ue(m))),e({visibleArea:m,type:"move"})),{coordinates:f=he(f,Hn(Oe(m),d)),visibleArea:m}}function ep(t){var e=t.event,n=t.getAreaRestrictions,r=t.boundaries,s=t.coordinates,o=t.visibleArea;t.aspectRatio,t.stencilSize,t.sizeRestrictions;var a=t.positionRestrictions;t.stencilReference;var d=z({},s),c=z({},o);if(s&&o&&e.type!=="manipulateImage"){var u={width:0,height:0};c.width,r.width,G(r)>G(d)?(u.height=.8*r.height,u.width=u.height*G(d)):(u.width=.8*r.width,u.height=u.width*G(d));var h=Ln(c=Me(c,d.width*r.width/(c.width*u.width)),n({visibleArea:c,type:"resize"}));c=Me(c,h),h!==1&&(u.height/=h,u.width/=h),c=he(c=be(c,xt(ue(d),ue(c))),n({visibleArea:c,type:"move"})),d=he(d,Hn(Oe(c),a))}return{coordinates:d,visibleArea:c}}function tp(t){var e=t.event,n=t.coordinates,r=t.visibleArea,s=t.getAreaRestrictions,o=z({},r),a=z({},n);if(e.type==="setCoordinates"){var d=Math.max(0,a.width-o.width),c=Math.max(0,a.height-o.height);d>c?o=Me(o,Math.min(a.width/o.width,Mt(o,s({visibleArea:o,type:"resize"})))):c>d&&(o=Me(o,Math.min(a.height/o.height,Mt(o,s({visibleArea:o,type:"resize"}))))),o=he(o=be(o,Dn(Bt(a,Oe(o)))),s({visibleArea:o,type:"move"}))}return{visibleArea:o,coordinates:a}}function np(t){var e=t.imageSize,n=t.visibleArea,r=t.coordinates,s=n||e;return{left:(n?n.left:0)+s.width/2-r.width/2,top:(n?n.top:0)+s.height/2-r.height/2}}function ip(t){var e=t.imageSize,n=t.visibleArea,r=t.aspectRatio,s=t.sizeRestrictions,o=n||e,a=Math.min(r.maximum||1/0,Math.max(r.minimum||0,G(o))),d=o.width<o.height?{width:.8*o.width,height:.8*o.width/a}:{height:.8*o.height,width:.8*o.height*a};return Ge(z(z({},d),{aspectRatio:r,sizeRestrictions:s}))}function rp(t){var e,n,r=t.imageSize,s=t.visibleArea,o=t.boundaries,a=t.aspectRatio,d=t.sizeRestrictions,c=t.stencilSize,u=s||r;return G(u)>G(o)?n=(e=c.height*u.height/o.height)*G(c):e=(n=c.width*u.width/o.width)/G(c),Ge({width:n,height:e,aspectRatio:a,sizeRestrictions:d})}function sp(t){var e=t.getAreaRestrictions,n=t.coordinates,r=t.imageSize,s=G(t.boundaries);if(n){var o={height:Math.max(n.height,r.height),width:Math.max(n.width,r.width)},a=ya({width:G(o)>s?o.width:o.height*s,height:G(o)>s?o.width/s:o.height},Ji(e())),d={left:n.left+n.width/2-a.width/2,top:n.top+n.height/2-a.height/2,width:a.width,height:a.height},c=Wt(n,Oe(z({left:0,top:0},r))),u={};return!c.left&&!c.right&&d.width<=r.width&&(u.left=0,u.right=r.width),!c.top&&!c.bottom&&d.height<=r.height&&(u.top=0,u.bottom=r.height),he(d,u)}var h=G(r);return a={height:h>s?r.height:r.width/s,width:h>s?r.height*s:r.width},{left:r.width/2-a.width/2,top:r.height/2-a.height/2,width:a.width,height:a.height}}function qn(t,e){return ba(t,Oe(e))}function op(t){var e=t.event,n=t.coordinates,r=t.visibleArea,s=t.sizeRestrictions,o=t.getAreaRestrictions,a=t.positionRestrictions,d=t.adjustStencil,c=e.scale,u=e.move,h=z({},r),f=z({},n),m=1,g=1,C=c.factor&&Math.abs(c.factor-1)>.001;h=be(h,{left:u.left||0,top:u.top||0});var b={stencil:{minimum:Math.max(s.minWidth?s.minWidth/f.width:0,s.minHeight?s.minHeight/f.height:0),maximum:Math.min(s.maxWidth?s.maxWidth/f.width:1/0,s.maxHeight?s.maxHeight/f.height:1/0,Mt(f,a))},area:{maximum:Mt(h,o({visibleArea:h,type:"resize"}))}};c.factor&&C&&(c.factor<1?(g=Math.max(c.factor,b.stencil.minimum))>1&&(g=1):c.factor>1&&(g=Math.min(c.factor,Math.min(b.area.maximum,b.stencil.maximum)))<1&&(g=1)),g&&(h=Me(h,g,c.center));var S=n.left-r.left,I=r.width+r.left-(n.width+n.left),L=n.top-r.top,V=r.height+r.top-(n.height+n.top);return h=he(h=be(h,Bt(h,{left:a.left!==void 0?a.left-S*g:void 0,top:a.top!==void 0?a.top-L*g:void 0,bottom:a.bottom!==void 0?a.bottom+V*g:void 0,right:a.right!==void 0?a.right+I*g:void 0})),o({visibleArea:h,type:"move"})),f.width=f.width*g,f.height=f.height*g,f.left=h.left+S*g,f.top=h.top+L*g,f=he(f,Hn(Oe(h),a)),c.factor&&C&&d&&(c.factor>1?m=Math.min(b.area.maximum,c.factor)/g:c.factor<1&&(m=Math.max(f.height/h.height,f.width/h.width,c.factor/g)),m!==1&&(h=be(h=he(h=Me(h,m,c.factor>1?c.center:ue(f)),o({visibleArea:h,type:"move"})),Dn(Bt(f,Oe(h)))))),{coordinates:f,visibleArea:h}}function ap(t){var e=t.aspectRatio,n=t.getAreaRestrictions,r=t.coordinates,s=t.visibleArea,o=t.sizeRestrictions,a=t.positionRestrictions,d=t.imageSize,c=t.previousImageSize,u=t.angle,h=z({},r),f=z({},s),m=Ke(ue(z({left:0,top:0},c)),u);return(h=z(z({},Ge({sizeRestrictions:o,aspectRatio:e,width:h.width,height:h.height})),Ke(ue(h),u))).left-=m.left-d.width/2+h.width/2,h.top-=m.top-d.height/2+h.height/2,f=Me(f,Ln(f,n({visibleArea:f,type:"resize"}))),{coordinates:h=he(h,a),visibleArea:f=he(f=be(f,xt(ue(h),ue(r))),n({visibleArea:f,type:"move"}))}}function lp(t){var e=t.flip,n=t.previousFlip,r=t.rotate,s=t.getAreaRestrictions,o=t.coordinates,a=t.visibleArea,d=t.imageSize,c=z({},o),u=z({},a),h=n.horizontal!==e.horizontal,f=n.vertical!==e.vertical;if(h||f){var m=Ke({left:d.width/2,top:d.height/2},-r),g=Ke(ue(c),-r),C=Ke({left:h?m.left-(g.left-m.left):g.left,top:f?m.top-(g.top-m.top):g.top},r);c=be(c,xt(C,ue(c))),g=Ke(ue(u),-r),u=he(u=be(u,xt(C=Ke({left:h?m.left-(g.left-m.left):g.left,top:f?m.top-(g.top-m.top):g.top},r),ue(u))),s({visibleArea:u,type:"move"}))}return{coordinates:c,visibleArea:u}}function ka(t){var e=t.directions,n=t.coordinates,r=t.positionRestrictions,s=r===void 0?{}:r,o=t.sizeRestrictions,a=t.preserveRatio,d=t.compensate,c=z({},e),u=De(n,c).width,h=De(n,c).height;u<0&&(c.left<0&&c.right<0?(c.left=-(n.width-o.minWidth)/(c.left/c.right),c.right=-(n.width-o.minWidth)/(c.right/c.left)):c.left<0?c.left=-(n.width-o.minWidth):c.right<0&&(c.right=-(n.width-o.minWidth))),h<0&&(c.top<0&&c.bottom<0?(c.top=-(n.height-o.minHeight)/(c.top/c.bottom),c.bottom=-(n.height-o.minHeight)/(c.bottom/c.top)):c.top<0?c.top=-(n.height-o.minHeight):c.bottom<0&&(c.bottom=-(n.height-o.minHeight)));var f=Wt(De(n,c),s);d&&(f.left&&f.left>0&&f.right===0?(c.right+=f.left,c.left-=f.left):f.right&&f.right>0&&f.left===0&&(c.left+=f.right,c.right-=f.right),f.top&&f.top>0&&f.bottom===0?(c.bottom+=f.top,c.top-=f.top):f.bottom&&f.bottom>0&&f.top===0&&(c.top+=f.bottom,c.bottom-=f.bottom),f=Wt(De(n,c),s));var m={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(Fe.forEach(function(b){var S=f[b];S&&c[b]&&(m[b]=Math.max(0,1-S/c[b]))}),a){var g=Math.min.apply(null,Fe.map(function(b){return m[b]}));g!==1/0&&Fe.forEach(function(b){c[b]*=g})}else Fe.forEach(function(b){m[b]!==1/0&&(c[b]*=m[b])});if(u=De(n,c).width,h=De(n,c).height,c.right+c.left&&(u>o.maxWidth?m.width=(o.maxWidth-n.width)/(c.right+c.left):u<o.minWidth&&(m.width=(o.minWidth-n.width)/(c.right+c.left))),c.bottom+c.top&&(h>o.maxHeight?m.height=(o.maxHeight-n.height)/(c.bottom+c.top):h<o.minHeight&&(m.height=(o.minHeight-n.height)/(c.bottom+c.top))),a){var C=Math.min(m.width,m.height);C!==1/0&&Fe.forEach(function(b){c[b]*=C})}else m.width!==1/0&&Gm.forEach(function(b){c[b]*=m.width}),m.height!==1/0&&Zm.forEach(function(b){c[b]*=m.height});return c}function Un(t,e,n){return e==0&&n==0?t/2:e==0?0:n==0?t:t*Math.abs(e/(e+n))}var cp=Ne("vue-simple-handler"),dp=Ne("vue-simple-handler-wrapper"),Ki={name:"SimpleHandler",components:{HandlerWrapper:fa},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var t,e=(xe(t={},this.horizontalPosition,!!this.horizontalPosition),xe(t,this.verticalPosition,!!this.verticalPosition),xe(t,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),!!(this.verticalPosition&&this.horizontalPosition)),xe(t,"hover",this.hover),t);return{default:te(cp(e),this.defaultClass,this.hover&&this.hoverClass),wrapper:te(dp(e),this.wrapperClass)}}},methods:{onDrag:function(t){this.$emit("drag",t)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"]};Ki.render=function(t,e,n,r,s,o){var a=i.resolveComponent("HandlerWrapper");return i.openBlock(),i.createBlock(a,{class:o.classes.wrapper,"vertical-position":n.verticalPosition,"horizontal-position":n.horizontalPosition,disabled:n.disabled,onDrag:o.onDrag,onDragEnd:o.onDragEnd,onEnter:o.onEnter,onLeave:o.onLeave},{default:i.withCtx(function(){return[i.createVNode("div",{class:o.classes.default},null,2)]}),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])};var up=Ne("vue-simple-line"),hp=Ne("vue-simple-line-wrapper"),er={name:"SimpleLine",components:{LineWrapper:ma},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:te(up(xe({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:te(hp(xe({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(t){this.$emit("drag",t)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"]};er.render=function(t,e,n,r,s,o){var a=i.resolveComponent("LineWrapper");return i.openBlock(),i.createBlock(a,{class:o.classes.wrapper,position:n.position,disabled:n.disabled,onDrag:o.onDrag,onDragEnd:o.onDragEnd,onEnter:o.onEnter,onLeave:o.onLeave},{default:i.withCtx(function(){return[i.createVNode("div",{class:o.classes.root},null,2)]}),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])};var tr=Ne("vue-bounding-box"),fp=["east","west",null],mp=["south","north",null],Ea={name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return Ki}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return er}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var t=[];return fp.forEach(function(e){mp.forEach(function(n){if(e!==n){var r=aa(e,n),s=r.name,o=r.classname;t.push({name:s,classname:o,verticalDirection:n,horizontalDirection:e})}})}),{points:t}},computed:{style:function(){var t={};return this.width&&this.height&&(t.width="".concat(this.width,"px"),t.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),t},classes:function(){var t=this.handlersClasses,e=this.handlersWrappersClasses,n=this.linesClasses,r=this.linesWrappersClasses;return{root:tr(),handlers:t,handlersWrappers:e,lines:n,linesWrappers:r}},lineNodes:function(){var t=this,e=[];return this.points.forEach(function(n){n.horizontalDirection&&n.verticalDirection||!t.lines[n.name]||e.push({name:n.name,component:t.linesComponent,class:te(t.classes.lines.default,t.classes.lines[n.name],!t.resizable&&t.classes.lines.disabled),wrapperClass:te(t.classes.linesWrappers.default,t.classes.linesWrappers[n.name],!t.resizable&&t.classes.linesWrappers.disabled),hoverClass:t.classes.lines.hover,verticalDirection:n.verticalDirection,horizontalDirection:n.horizontalDirection,disabled:!t.resizable})}),e},handlerNodes:function(){var t=this,e=[],n=this.width,r=this.height;return this.points.forEach(function(s){if(t.handlers[s.name]){var o={name:s.name,component:t.handlersComponent,class:te(t.classes.handlers.default,t.classes.handlers[s.name]),wrapperClass:te(t.classes.handlersWrappers.default,t.classes.handlersWrappers[s.name]),hoverClass:t.classes.handlers.hover,verticalDirection:s.verticalDirection,horizontalDirection:s.horizontalDirection,disabled:!t.resizable};if(n&&r){var a=s.horizontalDirection,d=s.verticalDirection,c=a==="east"?n:a==="west"?0:n/2,u=d==="south"?r:d==="north"?0:r/2;o.wrapperClass=tr("handler"),o.wrapperStyle={transform:"translate(".concat(c,"px, ").concat(u,"px)")},t.transitions&&t.transitions.enabled&&(o.wrapperStyle.transition="".concat(t.transitions.time,"ms ").concat(t.transitions.timingFunction))}else o.wrapperClass=tr("handler",xe({},s.classname,!0));e.push(o)}}),e}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(t,e,n){var r,s=t.shift(),o=s.left,a=s.top,d={left:0,right:0,top:0,bottom:0};e==="west"?d.left-=o:e==="east"&&(d.right+=o),n==="north"?d.top-=a:n==="south"&&(d.bottom+=a),!n&&e?r="width":n&&!e&&(r="height"),this.resizable&&this.$emit("resize",new jm(d,{allowedDirections:{left:e==="west"||!e,right:e==="east"||!e,bottom:n==="south"||!n,top:n==="north"||!n},preserveAspectRatio:t.nativeEvent&&t.nativeEvent.shiftKey,respectDirection:r}))}},emits:["resize","resize-end"]};Ea.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"box",class:o.classes.root,style:o.style},[i.renderSlot(t.$slots,"default"),i.createVNode("div",null,[(i.openBlock(!0),i.createBlock(i.Fragment,null,i.renderList(o.lineNodes,function(a){return i.openBlock(),i.createBlock(i.resolveDynamicComponent(a.component),{key:a.name,"default-class":a.class,"hover-class":a.hoverClass,"wrapper-class":a.wrapperClass,position:a.name,disabled:a.disabled,onDrag:function(d){return o.onHandlerDrag(d,a.horizontalDirection,a.verticalDirection)},onDragEnd:e[1]||(e[1]=function(d){return o.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])}),128))]),(i.openBlock(!0),i.createBlock(i.Fragment,null,i.renderList(o.handlerNodes,function(a){return i.openBlock(),i.createBlock("div",{key:a.name,style:a.wrapperStyle,class:a.wrapperClass},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(a.component),{"default-class":a.class,"hover-class":a.hoverClass,"wrapper-class":a.wrapperClass,"horizontal-position":a.horizontalDirection,"vertical-position":a.verticalDirection,disabled:a.disabled,onDrag:function(d){return o.onHandlerDrag(d,a.horizontalDirection,a.verticalDirection)},onDragEnd:e[2]||(e[2]=function(d){return o.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)}),128))],6)};var pp=Ne("vue-draggable-area"),xa={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:pp()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(t){if(t.cancelable){var e=this.movable&&t.touches.length===1;e&&(this.touches=ft(t.touches)),(this.touchStarted||e)&&(t.preventDefault(),t.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(t){this.touches.length>=1&&(this.touchStarted?(this.processMove(t,t.touches),t.preventDefault(),t.stopPropagation()):ha({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:t.touches[0].clientX,y:t.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(t){if(this.movable&&t.button===0){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.cancelable&&t.preventDefault(),t.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.container.getBoundingClientRect(),n=e.left,r=e.top;this.anchor={x:t.clientX-n,y:t.clientY-r}},processMove:function(t,e){var n=ft(e);if(this.touches.length){var r=this.$refs.container.getBoundingClientRect(),s=r.left,o=r.top;this.touches.length===1&&n.length===1&&this.$emit("move",new Gi({left:n[0].clientX-(s+this.anchor.x),top:n[0].clientY-(o+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};xa.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return o.onTouchStart&&o.onTouchStart.apply(o,arguments)}),onMousedown:e[2]||(e[2]=function(){return o.onMouseDown&&o.onMouseDown.apply(o,arguments)})},[i.renderSlot(t.$slots,"default")],544)};function nr(t){var e,n;return{rotate:t.rotate||0,flip:{horizontal:((e=t==null?void 0:t.flip)===null||e===void 0?void 0:e.horizontal)||!1,vertical:((n=t==null?void 0:t.flip)===null||n===void 0?void 0:n.vertical)||!1}}}function gp(t){return new Promise(function(e,n){try{if(t)if(/^data:/i.test(t))e(function(c){c=c.replace(/^data:([^;]+);base64,/gim,"");for(var u=atob(c),h=u.length,f=new ArrayBuffer(h),m=new Uint8Array(f),g=0;g<h;g++)m[g]=u.charCodeAt(g);return f}(t));else if(/^blob:/i.test(t)){var r=new FileReader;r.onload=function(c){e(c.target.result)},o=t,a=function(c){r.readAsArrayBuffer(c)},(d=new XMLHttpRequest).open("GET",o,!0),d.responseType="blob",d.onload=function(){this.status!=200&&this.status!==0||a(this.response)},d.send()}else{var s=new XMLHttpRequest;s.onreadystatechange=function(){s.readyState===4&&(s.status===200||s.status===0?e(s.response):n("Warning: could not load an image to parse its orientation"),s=null)},s.onprogress=function(){s.getResponseHeader("content-type")!=="image/jpeg"&&s.abort()},s.withCredentials=!1,s.open("GET",t,!0),s.responseType="arraybuffer",s.send(null)}else n("Error: the image is empty")}catch(c){n(c)}var o,a,d})}function Ma(t){var e=t.rotate,n=t.flip,r=t.scaleX,s=t.scaleY,o="";return o+=" rotate("+e+"deg) ",o+=" scaleX("+r*(n.horizontal?-1:1)+") ",o+=" scaleY("+s*(n.vertical?-1:1)+") "}function yp(t){try{var e,n=new DataView(t),r=void 0,s=void 0,o=void 0,a=void 0;if(n.getUint8(0)===255&&n.getUint8(1)===216)for(var d=n.byteLength,c=2;c+1<d;){if(n.getUint8(c)===255&&n.getUint8(c+1)===225){o=c;break}c++}if(o&&(r=o+10,function(g,C,b){var S,I="";for(S=C,b+=C;S<b;S++)I+=String.fromCharCode(g.getUint8(S));return I}(n,o+4,4)==="Exif")){var u=n.getUint16(r);if(((s=u===18761)||u===19789)&&n.getUint16(r+2,s)===42){var h=n.getUint32(r+4,s);h>=8&&(a=r+h)}}if(a){for(var f=n.getUint16(a,s),m=0;m<f;m++)if(c=a+12*m+2,n.getUint16(c,s)===274){c+=8,e=n.getUint16(c,s),n.setUint16(c,1,s);break}}return e}catch{return null}}function Ba(t,e){var n=e.getBoundingClientRect(),r=n.left,s=n.top,o={left:0,top:0},a=0;return t.forEach(function(d){o.left+=(d.clientX-r)/t.length,o.top+=(d.clientY-s)/t.length}),t.forEach(function(d){a+=ha({x:o.left,y:o.top},{x:d.clientX-r,y:d.clientY-s})}),{centerMass:o,spread:a,count:t.length}}var $a={props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=Wi(this.processEnd),this.touches=[]},methods:{processMove:function(t,e){if(this.touches.length){if(this.touches.length===1&&e.length===1)this.$emit("move",new jt({left:this.touches[0].clientX-e[0].clientX,top:this.touches[0].clientY-e[0].clientY}));else if(this.touches.length>1&&this.touchResize){var n=Ba(e,this.$refs.container),r=this.oldGeometricProperties;r.count===n.count&&r.count>1&&this.$emit("resize",new jt({left:r.centerMass.left-n.centerMass.left,top:r.centerMass.top-n.centerMass.top},{factor:r.spread/n.spread,center:n.centerMass})),this.oldGeometricProperties=n}this.touches=e}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(t){return this.eventsFilter?this.eventsFilter(t,this.transforming)!==!1:(t.preventDefault(),t.stopPropagation(),!0)},onTouchStart:function(t){if(t.cancelable&&(this.touchMove||this.touchResize&&t.touches.length>1)&&this.processEvent(t)){var e=this.$refs.container,n=e.getBoundingClientRect(),r=n.left,s=n.top,o=n.bottom,a=n.right;this.touches=ft(t.touches).filter(function(d){return d.clientX>r&&d.clientX<a&&d.clientY>s&&d.clientY<o}),this.oldGeometricProperties=Ba(this.touches,e)}},onTouchEnd:function(t){t.touches.length===0&&(this.touches=[],this.processEnd())},onTouchMove:function(t){var e=this;if(this.touches.length){var n=ft(t.touches).filter(function(r){return!r.identifier||e.touches.find(function(s){return s.identifier===r.identifier})});this.processEvent(t)&&(this.processMove(t,n),this.processStart())}},onMouseDown:function(t){if(this.mouseMove&&"buttons"in t&&t.buttons===1&&this.processEvent(t)){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.processStart()}},onMouseMove:function(t){this.touches.length&&this.processEvent(t)&&this.processMove(t,[{clientX:t.clientX,clientY:t.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(t){if(this.wheelResize&&this.processEvent(t)){var e=this.$refs.container.getBoundingClientRect(),n=e.left,r=e.top,s=1+this.wheelResize.ratio*(a=t.deltaY||t.detail||t.wheelDelta,(d=+a)==0||ua(d)?d:d>0?1:-1),o={left:t.clientX-n,top:t.clientY-r};this.$emit("resize",new jt({},{factor:s,center:o})),this.touches.length||this.debouncedProcessEnd()}var a,d}},emits:["resize","move","transform-end"]};$a.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return o.onTouchStart&&o.onTouchStart.apply(o,arguments)}),onMousedown:e[2]||(e[2]=function(){return o.onMouseDown&&o.onMouseDown.apply(o,arguments)}),onWheel:e[3]||(e[3]=function(){return o.onWheel&&o.onWheel.apply(o,arguments)})},[i.renderSlot(t.$slots,"default")],544)};var ir={components:{TransformableImage:$a},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};ir.render=function(t,e,n,r,s,o){var a=i.resolveComponent("transformable-image");return i.openBlock(),i.createBlock(a,{"touch-move":n.touchMove,"touch-resize":n.touchResize,"mouse-move":n.mouseMove,"wheel-resize":n.wheelResize,onMove:e[1]||(e[1]=function(d){return t.$emit("move",d)}),onResize:e[2]||(e[2]=function(d){return t.$emit("resize",d)})},{default:i.withCtx(function(){return[i.renderSlot(t.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var jn=Ne("vue-preview"),Ia={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:jn({fill:this.fill}),wrapper:jn("wrapper"),imageWrapper:jn("image-wrapper"),image:te(jn("image"),this.imageClass)}},style:function(){if(this.fill)return{};var t={};return this.width&&(t.width="".concat(this.size.width,"px")),this.height&&(t.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},wrapperStyle:function(){var t={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){if(this.coordinates&&this.image){var t=this.coordinates.width/this.size.width,e=_(_({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/t,scaleY:1/t}),n=this.imageSize.width,r=this.imageSize.height,s=wa({width:n,height:r},e.rotate),o={width:"".concat(n,"px"),height:"".concat(r,"px"),left:"0px",top:"0px"},a={rotate:{left:(n-s.width)*e.scaleX/2,top:(r-s.height)*e.scaleY/2},scale:{left:(1-e.scaleX)*n/2,top:(1-e.scaleY)*r/2}};return o.transform=`translate(
42
- `.concat(-this.coordinates.left/t-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/t-a.rotate.top-a.scale.top,"px) ")+Ma(e),this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){t.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}};Ia.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"root",class:o.classes.root,style:o.style},[i.createVNode("div",{ref:"wrapper",class:o.classes.wrapper,style:o.wrapperStyle},[i.withDirectives(i.createVNode("img",{ref:"image",src:n.image&&n.image.src,class:o.classes.image,style:o.imageStyle},null,14,["src"]),[[i.vShow,n.image&&n.image.src]])],6)],6)};var Ra={components:{Preview:Ia},inheritAttrs:!1};Ra.render=function(t,e,n,r,s,o){var a=i.resolveComponent("preview");return i.openBlock(),i.createBlock(a,i.mergeProps(t.$attrs,{fill:!0}),null,16)};var rr=Ne("vue-rectangle-stencil"),va={name:"RectangleStencil",components:{StencilPreview:Ra,BoundingBox:Ea,DraggableArea:xa},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return Ki}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return er}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:te(rr({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:te(rr("preview"),this.previewClass),boundingBox:te(rr("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,n=t.width,r=t.left,s=t.top,o={width:"".concat(n,"px"),height:"".concat(e,"px"),transform:"translate(".concat(r,"px, ").concat(s,"px)")};return this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};va.render=function(t,e,n,r,s,o){var a=i.resolveComponent("stencil-preview"),d=i.resolveComponent("draggable-area"),c=i.resolveComponent("bounding-box");return i.openBlock(),i.createBlock("div",{class:o.classes.stencil,style:o.style},[i.createVNode(c,{width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,transitions:n.transitions,class:o.classes.boundingBox,handlers:n.handlers,"handlers-component":n.handlersComponent,"handlers-classes":n.handlersClasses,"handlers-wrappers-classes":n.handlersWrappersClasses,lines:n.lines,"lines-component":n.linesComponent,"lines-classes":n.linesClasses,"lines-wrappers-classes":n.linesWrappersClasses,resizable:n.resizable,onResize:o.onResize,onResizeEnd:o.onResizeEnd},{default:i.withCtx(function(){return[i.createVNode(d,{movable:n.movable,onMove:o.onMove,onMoveEnd:o.onMoveEnd},{default:i.withCtx(function(){return[i.createVNode(a,{image:n.image,coordinates:n.coordinates,width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,class:o.classes.preview,transitions:n.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var wp=["transitions"],Ze=Ne("vue-advanced-cropper"),Na={name:"Cropper",components:{BackgroundWrapper:ir},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return va}},backgroundWrapperComponent:{type:[Object,String],default:function(){return ir}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return Ym.indexOf(t)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!(typeof t=="string"&&t!=="fill"&&t!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,n=t.coordinates,r=t.aspectRatio,s=t.positionRestrictions,o=t.sizeRestrictions,a=z(z({},n),{right:n.left+n.width,bottom:n.top+n.height}),d=e.params||{},c=z({},e.directions),u=d.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};o.widthFrozen&&(c.left=0,c.right=0),o.heightFrozen&&(c.top=0,c.bottom=0),Fe.forEach(function(v){u[v]||(c[v]=0)});var h=De(a,c=ka({coordinates:a,directions:c,sizeRestrictions:o,positionRestrictions:s})).width,f=De(a,c).height,m=d.preserveRatio?G(a):Yi(h/f,r);if(m){var g=d.respectDirection;if(g||(g=a.width>=a.height||m===1?"width":"height"),g==="width"){var C=h/m-a.height;if(u.top&&u.bottom){var b=c.top,S=c.bottom;c.bottom=Un(C,S,b),c.top=Un(C,b,S)}else u.bottom?c.bottom=C:u.top?c.top=C:u.right?c.right=0:u.left&&(c.left=0)}else if(g==="height"){var I=a.width-f*m;if(u.left&&u.right){var L=c.left,V=c.right;c.left=-Un(I,L,V),c.right=-Un(I,V,L)}else u.left?c.left=-I:u.right?c.right=-I:u.top?c.top=0:u.bottom&&(c.bottom=0)}c=ka({directions:c,coordinates:a,sizeRestrictions:o,positionRestrictions:s,preserveRatio:!0,compensate:d.compensate})}return h=De(a,c).width,f=De(a,c).height,(m=d.preserveRatio?G(a):Yi(h/f,r))&&Math.abs(m-h/f)>.001&&Fe.forEach(function(v){u[v]||(c[v]=0)}),Qi({event:new Gi({left:-c.left,top:-c.top}),coordinates:{width:n.width+c.right+c.left,height:n.height+c.top+c.bottom,left:n.left,top:n.top},positionRestrictions:s})}},moveAlgorithm:{type:Function,default:Qi},initStretcher:{type:Function,default:function(t){var e=t.stretcher,n=t.imageSize,r=G(n);e.style.width=n.width+"px",e.style.height=e.clientWidth/r+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,n=t.coordinates,r=t.aspectRatio,s=t.sizeRestrictions,o=t.positionRestrictions,a=z(z({},n),Ge({width:n.width,height:n.height,aspectRatio:r,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,s.minHeight),minWidth:Math.min(e.width,s.minWidth)}}));return a=he(a=be(a,xt(ue(n),ue(a))),Hn(Oe(e),o))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,n=t.boundaries,r=t.getAreaRestrictions,s=t.coordinates,o=z({},e);o.height=o.width/G(n),o.top+=(e.height-o.height)/2,(s.height-o.height>0||s.width-o.width>0)&&(o=Me(o,Math.max(s.height/o.height,s.width/o.width)));var a=Dn(Bt(s,Oe(o=Me(o,Ln(o,r({visibleArea:o,type:"resize"}))))));return o.width<s.width&&(a.left=0),o.height<s.height&&(a.top=0),o=he(o=be(o,a),r({visibleArea:o,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.visibleArea,n=t.boundaries,r=t.imageSize,s=t.imageRestriction,o=t.type,a={};return s==="fill-area"?a={left:0,top:0,right:r.width,bottom:r.height}:s==="fit-area"&&(G(n)>G(r)?(a={top:0,bottom:r.height},e&&o==="move"&&(e.width>r.width?(a.left=-(e.width-r.width)/2,a.right=r.width-a.left):(a.left=0,a.right=r.width))):(a={left:0,right:r.width},e&&o==="move"&&(e.height>r.height?(a.top=-(e.height-r.height)/2,a.bottom=r.height-a.top):(a.top=0,a.bottom=r.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,n={};return t.imageRestriction!=="none"&&(n={left:0,top:0,right:e.width,bottom:e.height}),n}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:_({},pa)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var t=_i(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:_i(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:oe(this.minWidth)?0:On(this.minWidth),minHeight:oe(this.minHeight)?0:On(this.minHeight),maxWidth:oe(this.maxWidth)?1/0:On(this.maxWidth),maxHeight:oe(this.maxHeight)?1/0:On(this.maxHeight)});if(t=function(r){var s=r.areaRestrictions,o=r.sizeRestrictions,a=r.boundaries,d=r.positionRestrictions,c=z(z({},o),{minWidth:o.minWidth!==void 0?o.minWidth:0,minHeight:o.minHeight!==void 0?o.minHeight:0,maxWidth:o.maxWidth!==void 0?o.maxWidth:1/0,maxHeight:o.maxHeight!==void 0?o.maxHeight:1/0});d.left!==void 0&&d.right!==void 0&&(c.maxWidth=Math.min(c.maxWidth,d.right-d.left)),d.bottom!==void 0&&d.top!==void 0&&(c.maxHeight=Math.min(c.maxHeight,d.bottom-d.top));var u=Ji(s),h=ya(a,u);return u.width<1/0&&(!c.maxWidth||c.maxWidth>h.width)&&(c.maxWidth=Math.min(c.maxWidth,h.width)),u.height<1/0&&(!c.maxHeight||c.maxHeight>h.height)&&(c.maxHeight=Math.min(c.maxHeight,h.height)),c.minWidth>c.maxWidth&&(c.minWidth=c.maxWidth,c.widthFrozen=!0),c.minHeight>c.maxHeight&&(c.minHeight=c.maxHeight,c.heightFrozen=!0),c}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),n=Ji(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,n.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,n.height*e.height/this.boundaries.height),t.maxWidth<t.minWidth&&(t.minWidth=t.maxWidth),t.maxHeight<t.minHeight&&(t.minHeight=t.maxHeight)}return t}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:Ze(),image:te(Ze("image"),this.imageClass),stencil:Ze("stencil"),boundaries:te(Ze("boundaries"),this.boundariesClass),stretcher:te(Ze("stretcher")),background:te(Ze("background"),this.backgroundClass),foreground:te(Ze("foreground"),this.foregroundClass),imageWrapper:te(Ze("image-wrapper")),cropperWrapper:te(Ze("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var t=this.coordinates,e=t.width,n=t.height,r=t.left,s=t.top;return{width:e/this.coefficient,height:n/this.coefficient,left:(r-this.visibleArea.left)/this.coefficient,top:(s-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var t={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(t.opacity="0"),t},imageStyle:function(){var t=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e={left:(t.width-this.imageSize.width)/(2*this.coefficient),top:(t.height-this.imageSize.height)/(2*this.coefficient)},n={left:(1-1/this.coefficient)*t.width/2,top:(1-1/this.coefficient)*t.height/2},r=_(_({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),s={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e.left-n.left-this.imageTransforms.translateX,"px, ").concat(-e.top-n.top-this.imageTransforms.translateY,"px)")+Ma(r)};return this.transitionsOptions.enabled&&(s.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),s}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick(function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(n){return t[n]!==e[n]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Wi(this.update,this.debounce),this.debouncedDisableTransitions=Wi(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(_({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:_({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var n=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?_({},this.visibleArea):null,imageTransforms:e,get canvas(){return n.canvas?n.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?_({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.transitions,s=r===void 0||r;this.onManipulateImage(new jt({},{factor:1/t,center:e}),{normalize:!1,transitions:s})},move:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.transitions,s=r===void 0||r;this.onManipulateImage(new jt({left:t||0,top:e||0}),{normalize:!1,transitions:s})},setCoordinates:function(t){var e=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.autoZoom,s=r===void 0||r,o=n.transitions,a=o===void 0||o;this.$nextTick(function(){e.imageLoaded?(e.transitionsActive||(a&&e.enableTransitions(),e.coordinates=e.applyTransform(t),s&&e.runAutoZoom("setCoordinates"),a&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t})},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then(function(){t.onChange()}):this.resetVisibleArea().then(function(){t.onChange()})},reset:function(){var t=this;return this.resetVisibleArea().then(function(){t.onChange(!1)})},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){t(),e.awaiting=!1}))},prepareResult:function(t){return this.roundResult?function(e){var n=e.coordinates,r=e.sizeRestrictions,s=e.positionRestrictions,o={width:Math.round(n.width),height:Math.round(n.height),left:Math.round(n.left),top:Math.round(n.top)};return o.width>r.maxWidth?o.width=Math.floor(n.width):o.width<r.minWidth&&(o.width=Math.ceil(n.width)),o.height>r.maxHeight?o.height=Math.floor(n.height):o.height<r.minHeight&&(o.height=Math.ceil(n.height)),he(o,s)}(_(_({},this.getPublicProperties()),{},{positionRestrictions:qn(this.positionRestrictions,this.visibleArea),coordinates:t})):t},processAutoZoom:function(t,e,n,r){var s=this.autoZoomAlgorithm;s||(s=this.stencilSize?Km:this.autoZoom?ep:tp);var o=s({event:{type:t,params:r},visibleArea:e,coordinates:n,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return _(_({},o),{},{changed:!ga(o.visibleArea,e)||!ga(o.coordinates,n)})},runAutoZoom:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.transitions,r=n!==void 0&&n,s=qm(e,wp),o=this.processAutoZoom(t,this.visibleArea,this.coordinates,s),a=o.visibleArea,d=o.coordinates,c=o.changed;r&&c&&this.enableTransitions(),this.visibleArea=a,this.coordinates=d,r&&c&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(e){var n=e.event,r=e.visibleArea,s=e.coefficient;if(n.type==="manipulateImage")return z(z({},n),{move:{left:n.move&&n.move.left?s*n.move.left:0,top:n.move&&n.move.top?s*n.move.top:0},scale:{factor:n.scale&&n.scale.factor?n.scale.factor:1,center:n.scale&&n.scale.center?{left:n.scale.center.left*s+r.left,top:n.scale.center.top*s+r.top}:null}});if(n.type==="resize"){var o=z(z({},n),{directions:z({},n.directions)});return Fe.forEach(function(d){o.directions[d]*=s}),o}if(n.type==="move"){var a=z(z({},n),{directions:z({},n.directions)});return Xm.forEach(function(d){a.directions[d]*=s}),a}return n}(_(_({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,n=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(d,c,u){var h=u.rotate,f=u.flip,m={width:c.naturalWidth,height:c.naturalHeight},g=wa(m,h),C=d.getContext("2d");d.height=g.height,d.width=g.width,C.save();var b=Ke(ue(z({left:0,top:0},m)),h);return C.translate(-(b.left-g.width/2),-(b.top-g.height/2)),C.rotate(h*Math.PI/180),C.translate(f.horizontal?m.width:0,f.vertical?m.height:0),C.scale(f.horizontal?-1:1,f.vertical?-1:1),C.drawImage(c,0,0,m.width,m.height),C.restore(),d}(this.$refs.sourceCanvas,e,this.imageTransforms):e,r=_({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),s=function(d){return d.find(function(c){return u=c,!Number.isNaN(parseFloat(u))&&isFinite(u);var u})},o=Ge({sizeRestrictions:{minWidth:s([r.width,r.minWidth])||0,minHeight:s([r.height,r.minHeight])||0,maxWidth:s([r.width,r.maxWidth])||1/0,maxHeight:s([r.height,r.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(r.maxArea&&o.width*o.height>r.maxArea){var a=Math.sqrt(r.maxArea/(o.width*o.height));o={width:Math.round(a*o.width),height:Math.round(a*o.height)}}return function(d,c,u,h,f){d.width=h?h.width:u.width,d.height=h?h.height:u.height;var m=d.getContext("2d");m.clearRect(0,0,d.width,d.height),f&&(f.imageSmoothingEnabled&&(m.imageSmoothingEnabled=f.imageSmoothingEnabled),f.imageSmoothingQuality&&(m.imageSmoothingQuality=f.imageSmoothingQuality),f.fillColor&&(m.fillStyle=f.fillColor,m.fillRect(0,0,d.width,d.height),m.save()));var g=u.left<0?-u.left:0,C=u.top<0?-u.top:0;m.drawImage(c,u.left+g,u.top+C,u.width,u.height,g*(d.width/u.width),C*(d.height/u.height),d.width,d.height)}(t,n,this.coordinates,o,r),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=this.visibleArea&&e?Jm(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,r=this.visibleArea&&e?qn(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return Qm({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:n,positionRestrictions:r,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?rp:ip);var n=this.sizeRestrictions;n.minWidth,n.minHeight,n.maxWidth,n.maxHeight;var r=Et(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,s=this.defaultPosition||np,o=[r,function(a){var d=a.coordinates;return _({},Et(s)?s({coordinates:d,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&o.push.apply(o,ft(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(o,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout(function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,n=this.$refs.cropper;return this.initStretcher({cropper:n,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then(function(){var r={cropper:n,imageSize:t.imageSize};if(Et(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(r):t.defaultBoundaries==="fit"?t.boundaries=function(s){var o=s.cropper,a=s.imageSize,d=o.clientHeight,c=o.clientWidth,u=d,h=a.width*d/a.height;return h>c&&(h=c,u=a.height*c/a.width),{width:h,height:u}}(r):t.boundaries=function(s){var o=s.cropper;return{width:o.clientWidth,height:o.clientHeight}}(r),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=_(_({},this.defaultImageTransforms),{},{flip:_({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){t.priority!=="visible-area"&&(t.visibleArea=null,t.resetCoordinates());var e,n,r,s,o,a,d=t.defaultVisibleArea||sp;t.visibleArea=Et(d)?d({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:t.priority!=="visible-area"?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions},n=e.visibleArea,r=e.boundaries,s=e.getAreaRestrictions,o=z({},n),a=G(r),o.width/o.height!==a&&(o.height=o.width/a),he(o,s({visibleArea:o,type:"move"}))),t.priority==="visible-area"?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")}).catch(function(){t.visibleArea=null})},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then(function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")}).catch(function(){t.visibleArea=null})},onChange:function(){var t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];t&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(s){if(ca(s))return!1;var o=window.location,a=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(s)||[],d={protocol:a[1]||"",host:a[2]||"",port:a[3]||""},c=function(u){return u.port||((u.protocol||o.protocol)==="http"?80:433)};return!(!d.protocol&&!d.host&&!d.port||d.protocol&&d.protocol==o.protocol&&d.host&&d.host==o.host&&d.host&&c(d)==c(o))}(this.src)){var n=oe(this.crossOrigin)?this.canvas:this.crossOrigin;n===!0&&(n="anonymous"),this.imageAttributes.crossOrigin=n||null}if(this.checkOrientation){var r=(t=this.src,new Promise(function(s){gp(t).then(function(o){var a=yp(o);s(o?{source:t,arrayBuffer:o,orientation:a}:{source:t,arrayBuffer:null,orientation:null})}).catch(function(o){console.warn(o),s({source:t,arrayBuffer:null,orientation:null})})}));setTimeout(function(){r.then(e.onParseImage)},this.transitionTime)}else setTimeout(function(){e.onParseImage({source:e.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){t.$emit("ready"),t.onChange(!1)}))},onParseImage:function(t){var e=this,n=t.source,r=t.arrayBuffer,s=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,r&&s&&s>1?la(n)||!ca(n)?(this.imageAttributes.src=URL.createObjectURL(new Blob([r])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(o){for(var a=[],d=new Uint8Array(o);d.length>0;){var c=d.subarray(0,8192);a.push(String.fromCharCode.apply(null,Array.from?Array.from(c):c.slice())),d=d.subarray(8192)}return"data:image/jpeg;base64,"+btoa(a.join(""))}(r):this.imageAttributes.src=n,Et(this.defaultTransforms)?this.appliedImageTransforms=nr(this.defaultTransforms()):Fn(this.defaultTransforms)?this.appliedImageTransforms=nr(this.defaultTransforms):this.appliedImageTransforms=function(o){var a=nr({});if(o)switch(o){case 2:a.flip.horizontal=!0;break;case 3:a.rotate=-180;break;case 4:a.flip.vertical=!0;break;case 5:a.rotate=90,a.flip.vertical=!0;break;case 6:a.rotate=90;break;case 7:a.rotate=90,a.flip.horizontal=!0;break;case 8:a.rotate=-90}return a}(s),this.defaultImageTransforms=_(_({},this.appliedImageTransforms),{},{flip:_({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var o=e.$refs.image;o&&o.complete&&(function(a){return!!a.naturalWidth}(o)?e.onSuccessLoadImage():e.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender(function(){e.coordinates=e.moveAlgorithm(_(_({},e.getPublicProperties()),{},{positionRestrictions:qn(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()})},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var n=e.sizeRestrictions,r=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(_(_({},e.getPublicProperties()),{},{positionRestrictions:qn(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(n.maxWidth,e.visibleArea.width),maxHeight:Math.min(n.maxHeight,e.visibleArea.height),minWidth:Math.max(n.minWidth,r),minHeight:Math.max(n.minHeight,r)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1})},onManipulateImage:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var n=e.transitions,r=n!==void 0&&n,s=e.normalize,o=s===void 0||s;r&&this.enableTransitions();var a=op(_(_({},this.getPublicProperties()),{},{event:o?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),d=a.visibleArea,c=a.coordinates;this.visibleArea=d,this.coordinates=c,this.runAutoZoom("manipulateImage"),this.onChange(),r&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.visibleArea,n=t.type,r=n===void 0?"move":n;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:r})},getAspectRatio:function(t){var e,n,r=this.stencilProps,s=r.aspectRatio,o=r.minAspectRatio,a=r.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var d=this.$refs.stencil.aspectRatios();e=d.minimum,n=d.maximum}if(oe(e)&&(e=oe(s)?o:s),oe(n)&&(n=oe(s)?a:s),!t&&(oe(e)||oe(n))){var c=this.getStencilSize(),u=c?G(c):null;oe(e)&&(e=da(u)?u:void 0),oe(n)&&(n=da(u)?u:void 0)}return{minimum:e,maximum:n}},getStencilSize:function(){if(this.stencilSize)return t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},e=t.boundaries,n=t.stencilSize,r=t.aspectRatio,Yi(G(s=Et(n)?n({boundaries:e,aspectRatio:r}):n),r)&&(s=Ge({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:s.width,height:s.height,aspectRatio:{minimum:r.minimum,maximum:r.maximum}})),(s.width>e.width||s.height>e.height)&&(s=Ge({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:s.width,height:s.height,aspectRatio:{minimum:G(s),maximum:G(s)}})),s;var t,e,n,r,s},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return _({},pa)},flip:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.transitions,s=r===void 0||r;if(!this.transitionsActive){s&&this.enableTransitions();var o=_({},this.imageTransforms.flip),a=lp({flip:{horizontal:t?!o.horizontal:o.horizontal,vertical:e?!o.vertical:o.vertical},previousFlip:o,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),d=a.visibleArea,c=a.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=d,this.coordinates=c,this.onChange(),s&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.transitions,r=n===void 0||n;if(!this.transitionsActive){r&&this.enableTransitions();var s=_({},this.imageSize);this.appliedImageTransforms.rotate+=t;var o=ap({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:s,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),a=o.visibleArea,d=o.coordinates,c=this.processAutoZoom("rotateImage",a,d);a=c.visibleArea,d=c.coordinates,this.visibleArea=a,this.coordinates=d,this.onChange(),r&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},bp={key:0,ref:"canvas",style:{display:"none"}},Cp={key:1,ref:"sourceCanvas",style:{display:"none"}};Na.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"cropper",class:o.classes.cropper},[i.createVNode("div",{ref:"stretcher",class:o.classes.stretcher},null,2),i.createVNode("div",{class:o.classes.boundaries,style:o.boundariesStyle},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.backgroundWrapperComponent),{class:o.classes.cropperWrapper,"wheel-resize":o.settings.resizeImage.wheel,"touch-resize":o.settings.resizeImage.touch,"touch-move":o.settings.moveImage.touch,"mouse-move":o.settings.moveImage.mouse,onMove:o.onManipulateImage,onResize:o.onManipulateImage},{default:i.withCtx(function(){return[i.createVNode("div",{class:o.classes.background,style:o.boundariesStyle},null,6),i.createVNode("div",{class:o.classes.imageWrapper},[i.createVNode("img",{ref:"image",crossorigin:s.imageAttributes.crossOrigin,src:s.imageAttributes.src,class:o.classes.image,style:o.imageStyle,onMousedown:e[1]||(e[1]=i.withModifiers(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),i.createVNode("div",{class:o.classes.foreground,style:o.boundariesStyle},null,6),i.withDirectives((i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.stencilComponent),i.mergeProps({ref:"stencil",image:o.image,coordinates:s.coordinates,"stencil-coordinates":o.stencilCoordinates,transitions:o.transitionsOptions},n.stencilProps,{onResize:o.onResize,onResizeEnd:o.onResizeEnd,onMove:o.onMove,onMoveEnd:o.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[i.vShow,s.imageLoaded]]),n.canvas?(i.openBlock(),i.createBlock("canvas",bp,null,512)):i.createCommentVNode("",!0),n.canvas?(i.openBlock(),i.createBlock("canvas",Cp,null,512)):i.createCommentVNode("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Sp={width:0,height:0,left:0,top:0};class sr{constructor(){l(this,"id");l(this,"ratio",0);l(this,"src","");l(this,"coordinates",Sp)}setCoordinates(e){this.coordinates=e}getCoordinates(){return this.coordinates}static Create(e,n=0,r){const s=new sr;return s.src=e,s.ratio=n,s.id=r,s}setRatio(e){this.ratio=e}getRatio(){return this.ratio}setSrc(e){this.src=e}getSrc(){return this.src}}const kp={class:"background-container"},Ep={class:"dialog-footer"},xp=E(i.defineComponent({__name:"ImageCropper",props:{src:{type:String,required:!0},ratio:{type:Number,required:!1,default:1}},emits:["crop","close","update:ratio"],setup(t,{emit:e}){const n=t,r=e,s=i.ref(n.ratio),o=i.ref(sr.Create(n.src,n.ratio));o.value.setRatio(s.value);const a=()=>{o.value.setRatio(s.value)},d=i.ref(),c=async()=>{const u=d.value.getResult();u&&u.canvas.toBlob(h=>{r("crop",h),r("update:ratio",o.value.coordinates.width/o.value.coordinates.height)})};return(u,h)=>(i.openBlock(),i.createElementBlock("div",kp,[i.createVNode(Ti,{modelValue:i.unref(s),"onUpdate:modelValue":h[0]||(h[0]=f=>i.isRef(s)?s.value=f:null),label:"Задайте пропорции фото",width:"100%",margin:"0 0 20px 0",onChange:a},{default:i.withCtx(()=>h[2]||(h[2]=[i.createElementVNode("option",{label:"2:3 (формат A4)",value:2/3},null,-1),i.createElementVNode("option",{label:"4:3 (для карточек новостей)",value:4/3},null,-1),i.createElementVNode("option",{label:"1:1 (для фото сотрудников)",value:1},null,-1),i.createElementVNode("option",{label:"3:2",value:3/2},null,-1),i.createElementVNode("option",{label:"16:9",value:16/9},null,-1),i.createElementVNode("option",{label:"3:4 (вертикальное изображение)",value:3/4},null,-1),i.createElementVNode("option",{label:"Задать пропорции вручную",value:0},null,-1)])),_:1},8,["modelValue"]),i.createVNode(i.unref(Na),{ref_key:"cropperRef",ref:d,src:i.unref(o).src,"stencil-props":{aspectRatio:i.unref(o).ratio},style:{"max-height":"50vh","min-height":"50vh"},onChange:h[1]||(h[1]=f=>i.unref(o).setCoordinates(f.coordinates))},null,8,["src","stencil-props"]),i.createElementVNode("div",Ep,[i.createVNode(Nn,{skin:"text",type:"primary",text:"Сохранить",onClick:c})])]))}}),[["__scopeId","data-v-f6679fb3"]]),Mp=E(i.defineComponent({__name:"IconUploaderChange",props:{size:{type:String,default:""},margin:{type:String,default:"0"},iconClass:{type:String,required:!1,default:""}},setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["icon",t.iconClass]),style:i.normalizeStyle({margin:t.margin,width:t.size,height:t.size})},n[0]||(n[0]=[i.createElementVNode("use",{"xlink:href":"#uploader-change"},null,-1)]),6)),n[1]||(n[1]=i.createElementVNode("svg",{width:"0",height:"0",class:"hidden"},[i.createElementVNode("symbol",{id:"uploader-change",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[i.createElementVNode("path",{d:"M12.825 15.783C12.175 15.787 11.5393 15.7173 10.918 15.574C10.2967 15.4307 9.762 15.1347 9.314 14.686C8.95467 14.3273 8.678 13.9173 8.484 13.456C8.28933 12.9947 8.192 12.5113 8.192 12.006C8.192 11.788 8.207 11.5807 8.237 11.384C8.26633 11.1867 8.31867 10.9873 8.394 10.786C8.43533 10.6633 8.43133 10.5437 8.382 10.427C8.33267 10.3103 8.25467 10.2293 8.148 10.184C8.038 10.1393 7.92567 10.1427 7.811 10.194C7.69633 10.2453 7.61833 10.3327 7.577 10.456C7.49367 10.706 7.428 10.9593 7.38 11.216C7.332 11.472 7.308 11.7333 7.308 12C7.308 12.628 7.42733 13.227 7.666 13.797C7.90533 14.367 8.24533 14.8723 8.686 15.313C9.20067 15.8437 9.81667 16.202 10.534 16.388C11.2513 16.5747 11.9797 16.6697 12.719 16.673L11.756 17.637C11.67 17.723 11.6237 17.8243 11.617 17.941C11.6103 18.0577 11.6567 18.1653 11.756 18.264C11.8553 18.3627 11.9597 18.412 12.069 18.412C12.1783 18.412 12.283 18.3627 12.383 18.264L13.906 16.741C14.0673 16.579 14.148 16.3903 14.148 16.175C14.148 15.9597 14.0673 15.7713 13.906 15.61L12.383 14.087C12.2963 14.0003 12.195 13.954 12.079 13.948C11.9623 13.9413 11.8547 13.9877 11.756 14.087C11.6573 14.1863 11.608 14.2907 11.608 14.4C11.608 14.5093 11.6573 14.614 11.756 14.714L12.825 15.783ZM11.189 8.212C11.839 8.212 12.4753 8.28333 13.098 8.426C13.7213 8.56867 14.2573 8.86433 14.706 9.313C15.0647 9.67233 15.3413 10.0827 15.536 10.544C15.7307 11.0053 15.8277 11.4887 15.827 11.994C15.827 12.212 15.8123 12.4193 15.783 12.616C15.7537 12.8127 15.701 13.0117 15.625 13.213C15.5843 13.3363 15.5887 13.4573 15.638 13.576C15.6873 13.6947 15.765 13.7763 15.871 13.821C15.9817 13.8657 16.0943 13.8657 16.209 13.821C16.3237 13.7763 16.4013 13.6923 16.442 13.569C16.5253 13.319 16.5913 13.0617 16.64 12.797C16.688 12.5323 16.712 12.2667 16.712 12C16.712 11.372 16.5943 10.773 16.359 10.203C16.1237 9.633 15.7837 9.12567 15.339 8.681C14.8203 8.14967 14.2023 7.79233 13.485 7.609C12.7683 7.425 12.04 7.333 11.3 7.333L12.27 6.363C12.3513 6.277 12.3953 6.17567 12.402 6.059C12.4087 5.94233 12.3627 5.83467 12.264 5.736C12.1653 5.63733 12.0607 5.58833 11.95 5.589C11.8393 5.58967 11.735 5.63867 11.637 5.736L10.114 7.26C9.952 7.422 9.871 7.61067 9.871 7.826C9.871 8.04133 9.952 8.22967 10.114 8.391L11.637 9.914C11.723 10.0007 11.8243 10.047 11.941 10.053C12.0577 10.059 12.1653 10.013 12.264 9.915C12.3627 9.817 12.412 9.71233 12.412 9.601C12.412 9.48967 12.3627 9.38533 12.264 9.288L11.189 8.212ZM12 21C10.7573 21 9.58867 20.7633 8.494 20.29C7.39933 19.816 6.447 19.174 5.637 18.364C4.82633 17.5533 4.18433 16.6007 3.711 15.506C3.237 14.4113 3 13.2427 3 12C3 10.7573 3.23667 9.58867 3.71 8.494C4.18333 7.39933 4.82567 6.447 5.637 5.637C6.44833 4.827 7.40067 4.18467 8.494 3.71C9.58933 3.23667 10.758 3 12 3C13.242 3 14.4107 3.23667 15.506 3.71C16.6007 4.184 17.553 4.82633 18.363 5.637C19.1737 6.447 19.8157 7.39933 20.289 8.494C20.763 9.58933 21 10.758 21 12C21 13.242 20.7633 14.4107 20.29 15.506C19.816 16.6007 19.174 17.553 18.364 18.363C17.5533 19.1737 16.6007 19.8157 15.506 20.289C14.4113 20.763 13.2427 21 12 21ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"currentColor"})])],-1))],64))}}),[["__scopeId","data-v-24be7852"]]),Bp=E(i.defineComponent({__name:"IconUploaderDel",props:{size:{type:String,default:""},margin:{type:String,default:"0"},iconClass:{type:String,required:!1,default:""}},setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["icon",t.iconClass]),style:i.normalizeStyle({margin:t.margin,width:t.size,height:t.size})},n[0]||(n[0]=[i.createElementVNode("use",{"xlink:href":"#uploader-del"},null,-1)]),6)),n[1]||(n[1]=i.createElementVNode("svg",{width:"0",height:"0",class:"hidden"},[i.createElementVNode("symbol",{id:"uploader-del",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[i.createElementVNode("path",{d:"M7.616 20.0005C7.168 20.0005 6.78667 19.8431 6.472 19.5285C6.15733 19.2138 6 18.8328 6 18.3855V6.00047H5V5.00047H9V4.23047H15V5.00047H19V6.00047H18V18.3855C18 18.8455 17.846 19.2298 17.538 19.5385C17.23 19.8471 16.8453 20.0011 16.384 20.0005H7.616ZM17 6.00047H7V18.3855C7 18.5648 7.05767 18.7121 7.173 18.8275C7.28833 18.9428 7.436 19.0005 7.616 19.0005H16.385C16.5383 19.0005 16.6793 18.9365 16.808 18.8085C16.9367 18.6805 17.0007 18.5391 17 18.3845V6.00047ZM9.808 17.0005H10.808V8.00047H9.808V17.0005ZM13.192 17.0005H14.192V8.00047H13.192V17.0005Z",fill:"currentColor"})])],-1))],64))}}),[["__scopeId","data-v-dd770f25"]]),$p=E(i.defineComponent({__name:"IconUploaderPlus",props:{size:{type:String,default:""},margin:{type:String,default:"0"},iconClass:{type:String,required:!1,default:""}},setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["icon",t.iconClass]),style:i.normalizeStyle({margin:t.margin,width:t.size,height:t.size})},n[0]||(n[0]=[i.createElementVNode("use",{"xlink:href":"#uploader-plus"},null,-1)]),6)),n[1]||(n[1]=i.createElementVNode("svg",{width:"0",height:"0",class:"hidden"},[i.createElementVNode("symbol",{id:"uploader-plus",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},[i.createElementVNode("path",{d:"M8 12H12V8H13V12H17V13H13V17H12V13H8V12ZM12.5 3C15.0196 3 17.4359 4.00089 19.2175 5.78249C20.9991 7.56408 22 9.98044 22 12.5C22 15.0196 20.9991 17.4359 19.2175 19.2175C17.4359 20.9991 15.0196 22 12.5 22C9.98044 22 7.56408 20.9991 5.78249 19.2175C4.00089 17.4359 3 15.0196 3 12.5C3 9.98044 4.00089 7.56408 5.78249 5.78249C7.56408 4.00089 9.98044 3 12.5 3ZM12.5 4C10.2457 4 8.08365 4.89553 6.48959 6.48959C4.89553 8.08365 4 10.2457 4 12.5C4 14.7543 4.89553 16.9163 6.48959 18.5104C8.08365 20.1045 10.2457 21 12.5 21C13.6162 21 14.7215 20.7801 15.7528 20.353C16.7841 19.9258 17.7211 19.2997 18.5104 18.5104C19.2997 17.7211 19.9258 16.7841 20.353 15.7528C20.7801 14.7215 21 13.6162 21 12.5C21 10.2457 20.1045 8.08365 18.5104 6.48959C16.9163 4.89553 14.7543 4 12.5 4Z",fill:"currentColor"})])],-1))],64))}}),[["__scopeId","data-v-92c28425"]]),Ip={key:0},Rp=["src"],vp={class:"tools-button"},Np={key:1},Ap=["id"],zp=i.defineComponent({__name:"PUploaderImage",props:{withCrop:{type:Boolean,default:!0},fileInfo:{type:fe,required:!0,default:new fe},height:{type:Number,default:150},emitCrop:{type:Boolean,default:!1},ratio:{type:Number,required:!1,default:1}},emits:["crop","removeFile","update:ratio"],setup(t,{emit:e}){const n=i.computed(()=>({width:o.height*f.value+"px",height:o.height+"px"})),r=i.computed(()=>({width:f.value<.66?o.height*.66+"px":o.height*f.value+"px",height:o.height+"px"})),s=i.computed(()=>({width:f.value<.66?o.height*.66+"px":o.height*f.value+"px",height:o.height+"px"})),o=t,a=e,d=i.ref(void 0),c=ee.GUID(),u=i.ref(!1),h=i.ref(),f=i.ref(o.ratio),m=i.ref(""),g=()=>{d.value=void 0,f.value=1,a("update:ratio",1),a("removeFile"),b=document.getElementById(c),b.value=""},C=V=>{o.fileInfo.setFile(V),o.fileInfo.fileSystemPath&&(d.value=o.fileInfo),u.value=!1,a("crop")};i.watch(()=>[o.fileInfo.description,o.fileInfo.order,o.fileInfo.fileSystemPath],()=>{o.fileInfo.fileSystemPath&&(d.value=o.fileInfo,d.value.url=o.fileInfo.getFileUrl())}),i.onBeforeMount(()=>{o.fileInfo.fileSystemPath&&(d.value=o.fileInfo,d.value.url=o.fileInfo.getFileUrl())});let b=null;i.onMounted(()=>{document.getElementById("drop-area")&&(b=document.getElementById(c))});const S=()=>{b&&b.click()},I=V=>{m.value=V.url,u.value=!0},L=()=>{if(!b||!b.files||!b.files.length)return;const V=b.files[0];V.url=URL.createObjectURL(V),d.value=V,o.fileInfo.setFile(V),o.withCrop&&I(d.value)};return i.watch(f,V=>{a("update:ratio",V)}),(V,v)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{id:"drop-area",class:"img-container",style:i.normalizeStyle(i.unref(n))},[i.unref(d)?(i.openBlock(),i.createElementBlock("div",Ip,[i.createElementVNode("div",{class:"img-block",style:i.normalizeStyle(i.unref(r))},[i.createElementVNode("img",{src:i.unref(d).url,alt:"upload-image"},null,8,Rp)],4),i.createElementVNode("div",vp,[i.createElementVNode("div",{class:"ins",style:i.normalizeStyle(i.unref(s))},[i.createElementVNode("div",{class:"change",onClick:v[0]||(v[0]=H=>I(i.unref(d)))},[i.createVNode(Mp,{margin:"0 10px 0 0",size:"40px"})]),i.createElementVNode("div",{claSS:"del",onClick:v[1]||(v[1]=H=>g())},[i.createVNode(Bp,{size:"40px"})])],4)])])):(i.openBlock(),i.createElementBlock("div",Np,[i.createElementVNode("div",{class:"add-button",style:i.normalizeStyle({width:t.height*i.unref(f)-2+"px",height:t.height-2+"px"}),onClick:S},[i.createVNode($p,{size:"40px"})],4)]))],4),i.createElementVNode("input",{id:i.unref(c),ref_key:"uploader",ref:h,hidden:"",type:"file",onChange:L},null,40,Ap),i.createVNode(Vn,{show:i.unref(u),title:"Настройка изображения","max-height":"90vh",top:"5vh"},{default:i.withCtx(()=>[i.createVNode(xp,{ratio:i.unref(f),"onUpdate:ratio":v[2]||(v[2]=H=>i.isRef(f)?f.value=H:null),src:i.unref(m),onCrop:C,onClose:v[3]||(v[3]=H=>u.value=!1)},null,8,["ratio","src"])]),_:1},8,["show"])],64))}}),Aa=E(zp,[["__scopeId","data-v-2c8f03ca"]]);function za(t){t.component("PTabs",ia),t.component("PUploaderFile",ra),t.component("PUploaderImage",Aa),t.component("PAuthForm",qi),t.component("PAuthModal",ta),t.component("PNameEdit",na)}const Pp=Object.freeze(Object.defineProperty({__proto__:null,PAuthForm:qi,PAuthModal:ta,PNameEdit:na,PTabs:ia,PUploaderFile:ra,PUploaderImage:Aa,default:za},Symbol.toStringTag,{value:"Module"})),Vp={install:function(t){eo(t),ea(t),Wo(t),za(t),Ao(t)}},Tp=["PF","PFM"];j.Auth=re,j.AuthButtonLogin=Xn,j.AuthButtonRefresh=ur,j.AuthButtonRegister=Yn,j.AuthButtonRestore=Yt,j.AuthChunks=le,j.AuthFieldsIds=qe,j.AuthFormSettings=pr,j.AuthMethods=mt,j.EmailField=Qt,j.LoginField=Bh,j.PF=A,j.PFM=Mh,j.PasswordField=Kt,j.PasswordRepeatField=mr,j.atoms=gf,j.components=ym,j.icons=wm,j.molecules=Nm,j.organisms=Pp,j.pfName=Tp,j.servicesComponents=Vp,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
42
+ `.concat(-this.coordinates.left/t-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/t-a.rotate.top-a.scale.top,"px) ")+Ma(e),this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){t.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}};Ia.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"root",class:o.classes.root,style:o.style},[i.createVNode("div",{ref:"wrapper",class:o.classes.wrapper,style:o.wrapperStyle},[i.withDirectives(i.createVNode("img",{ref:"image",src:n.image&&n.image.src,class:o.classes.image,style:o.imageStyle},null,14,["src"]),[[i.vShow,n.image&&n.image.src]])],6)],6)};var Ra={components:{Preview:Ia},inheritAttrs:!1};Ra.render=function(t,e,n,r,s,o){var a=i.resolveComponent("preview");return i.openBlock(),i.createBlock(a,i.mergeProps(t.$attrs,{fill:!0}),null,16)};var rr=Ne("vue-rectangle-stencil"),va={name:"RectangleStencil",components:{StencilPreview:Ra,BoundingBox:Ea,DraggableArea:xa},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return Ki}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return er}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:te(rr({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:te(rr("preview"),this.previewClass),boundingBox:te(rr("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,n=t.width,r=t.left,s=t.top,o={width:"".concat(n,"px"),height:"".concat(e,"px"),transform:"translate(".concat(r,"px, ").concat(s,"px)")};return this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};va.render=function(t,e,n,r,s,o){var a=i.resolveComponent("stencil-preview"),d=i.resolveComponent("draggable-area"),c=i.resolveComponent("bounding-box");return i.openBlock(),i.createBlock("div",{class:o.classes.stencil,style:o.style},[i.createVNode(c,{width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,transitions:n.transitions,class:o.classes.boundingBox,handlers:n.handlers,"handlers-component":n.handlersComponent,"handlers-classes":n.handlersClasses,"handlers-wrappers-classes":n.handlersWrappersClasses,lines:n.lines,"lines-component":n.linesComponent,"lines-classes":n.linesClasses,"lines-wrappers-classes":n.linesWrappersClasses,resizable:n.resizable,onResize:o.onResize,onResizeEnd:o.onResizeEnd},{default:i.withCtx(function(){return[i.createVNode(d,{movable:n.movable,onMove:o.onMove,onMoveEnd:o.onMoveEnd},{default:i.withCtx(function(){return[i.createVNode(a,{image:n.image,coordinates:n.coordinates,width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,class:o.classes.preview,transitions:n.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var wp=["transitions"],Ze=Ne("vue-advanced-cropper"),Na={name:"Cropper",components:{BackgroundWrapper:ir},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return va}},backgroundWrapperComponent:{type:[Object,String],default:function(){return ir}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return Ym.indexOf(t)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!(typeof t=="string"&&t!=="fill"&&t!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,n=t.coordinates,r=t.aspectRatio,s=t.positionRestrictions,o=t.sizeRestrictions,a=z(z({},n),{right:n.left+n.width,bottom:n.top+n.height}),d=e.params||{},c=z({},e.directions),u=d.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};o.widthFrozen&&(c.left=0,c.right=0),o.heightFrozen&&(c.top=0,c.bottom=0),Fe.forEach(function(v){u[v]||(c[v]=0)});var h=De(a,c=ka({coordinates:a,directions:c,sizeRestrictions:o,positionRestrictions:s})).width,f=De(a,c).height,m=d.preserveRatio?G(a):Yi(h/f,r);if(m){var g=d.respectDirection;if(g||(g=a.width>=a.height||m===1?"width":"height"),g==="width"){var C=h/m-a.height;if(u.top&&u.bottom){var b=c.top,S=c.bottom;c.bottom=Un(C,S,b),c.top=Un(C,b,S)}else u.bottom?c.bottom=C:u.top?c.top=C:u.right?c.right=0:u.left&&(c.left=0)}else if(g==="height"){var I=a.width-f*m;if(u.left&&u.right){var L=c.left,V=c.right;c.left=-Un(I,L,V),c.right=-Un(I,V,L)}else u.left?c.left=-I:u.right?c.right=-I:u.top?c.top=0:u.bottom&&(c.bottom=0)}c=ka({directions:c,coordinates:a,sizeRestrictions:o,positionRestrictions:s,preserveRatio:!0,compensate:d.compensate})}return h=De(a,c).width,f=De(a,c).height,(m=d.preserveRatio?G(a):Yi(h/f,r))&&Math.abs(m-h/f)>.001&&Fe.forEach(function(v){u[v]||(c[v]=0)}),Qi({event:new Gi({left:-c.left,top:-c.top}),coordinates:{width:n.width+c.right+c.left,height:n.height+c.top+c.bottom,left:n.left,top:n.top},positionRestrictions:s})}},moveAlgorithm:{type:Function,default:Qi},initStretcher:{type:Function,default:function(t){var e=t.stretcher,n=t.imageSize,r=G(n);e.style.width=n.width+"px",e.style.height=e.clientWidth/r+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,n=t.coordinates,r=t.aspectRatio,s=t.sizeRestrictions,o=t.positionRestrictions,a=z(z({},n),Ge({width:n.width,height:n.height,aspectRatio:r,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,s.minHeight),minWidth:Math.min(e.width,s.minWidth)}}));return a=he(a=be(a,xt(ue(n),ue(a))),Hn(Oe(e),o))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,n=t.boundaries,r=t.getAreaRestrictions,s=t.coordinates,o=z({},e);o.height=o.width/G(n),o.top+=(e.height-o.height)/2,(s.height-o.height>0||s.width-o.width>0)&&(o=Me(o,Math.max(s.height/o.height,s.width/o.width)));var a=Dn(Bt(s,Oe(o=Me(o,Ln(o,r({visibleArea:o,type:"resize"}))))));return o.width<s.width&&(a.left=0),o.height<s.height&&(a.top=0),o=he(o=be(o,a),r({visibleArea:o,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.visibleArea,n=t.boundaries,r=t.imageSize,s=t.imageRestriction,o=t.type,a={};return s==="fill-area"?a={left:0,top:0,right:r.width,bottom:r.height}:s==="fit-area"&&(G(n)>G(r)?(a={top:0,bottom:r.height},e&&o==="move"&&(e.width>r.width?(a.left=-(e.width-r.width)/2,a.right=r.width-a.left):(a.left=0,a.right=r.width))):(a={left:0,right:r.width},e&&o==="move"&&(e.height>r.height?(a.top=-(e.height-r.height)/2,a.bottom=r.height-a.top):(a.top=0,a.bottom=r.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,n={};return t.imageRestriction!=="none"&&(n={left:0,top:0,right:e.width,bottom:e.height}),n}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:_({},pa)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var t=_i(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:_i(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:oe(this.minWidth)?0:On(this.minWidth),minHeight:oe(this.minHeight)?0:On(this.minHeight),maxWidth:oe(this.maxWidth)?1/0:On(this.maxWidth),maxHeight:oe(this.maxHeight)?1/0:On(this.maxHeight)});if(t=function(r){var s=r.areaRestrictions,o=r.sizeRestrictions,a=r.boundaries,d=r.positionRestrictions,c=z(z({},o),{minWidth:o.minWidth!==void 0?o.minWidth:0,minHeight:o.minHeight!==void 0?o.minHeight:0,maxWidth:o.maxWidth!==void 0?o.maxWidth:1/0,maxHeight:o.maxHeight!==void 0?o.maxHeight:1/0});d.left!==void 0&&d.right!==void 0&&(c.maxWidth=Math.min(c.maxWidth,d.right-d.left)),d.bottom!==void 0&&d.top!==void 0&&(c.maxHeight=Math.min(c.maxHeight,d.bottom-d.top));var u=Ji(s),h=ya(a,u);return u.width<1/0&&(!c.maxWidth||c.maxWidth>h.width)&&(c.maxWidth=Math.min(c.maxWidth,h.width)),u.height<1/0&&(!c.maxHeight||c.maxHeight>h.height)&&(c.maxHeight=Math.min(c.maxHeight,h.height)),c.minWidth>c.maxWidth&&(c.minWidth=c.maxWidth,c.widthFrozen=!0),c.minHeight>c.maxHeight&&(c.minHeight=c.maxHeight,c.heightFrozen=!0),c}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),n=Ji(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,n.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,n.height*e.height/this.boundaries.height),t.maxWidth<t.minWidth&&(t.minWidth=t.maxWidth),t.maxHeight<t.minHeight&&(t.minHeight=t.maxHeight)}return t}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:Ze(),image:te(Ze("image"),this.imageClass),stencil:Ze("stencil"),boundaries:te(Ze("boundaries"),this.boundariesClass),stretcher:te(Ze("stretcher")),background:te(Ze("background"),this.backgroundClass),foreground:te(Ze("foreground"),this.foregroundClass),imageWrapper:te(Ze("image-wrapper")),cropperWrapper:te(Ze("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var t=this.coordinates,e=t.width,n=t.height,r=t.left,s=t.top;return{width:e/this.coefficient,height:n/this.coefficient,left:(r-this.visibleArea.left)/this.coefficient,top:(s-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var t={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(t.opacity="0"),t},imageStyle:function(){var t=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e={left:(t.width-this.imageSize.width)/(2*this.coefficient),top:(t.height-this.imageSize.height)/(2*this.coefficient)},n={left:(1-1/this.coefficient)*t.width/2,top:(1-1/this.coefficient)*t.height/2},r=_(_({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),s={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e.left-n.left-this.imageTransforms.translateX,"px, ").concat(-e.top-n.top-this.imageTransforms.translateY,"px)")+Ma(r)};return this.transitionsOptions.enabled&&(s.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),s}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick(function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(n){return t[n]!==e[n]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Wi(this.update,this.debounce),this.debouncedDisableTransitions=Wi(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(_({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:_({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var n=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?_({},this.visibleArea):null,imageTransforms:e,get canvas(){return n.canvas?n.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?_({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.transitions,s=r===void 0||r;this.onManipulateImage(new jt({},{factor:1/t,center:e}),{normalize:!1,transitions:s})},move:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.transitions,s=r===void 0||r;this.onManipulateImage(new jt({left:t||0,top:e||0}),{normalize:!1,transitions:s})},setCoordinates:function(t){var e=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.autoZoom,s=r===void 0||r,o=n.transitions,a=o===void 0||o;this.$nextTick(function(){e.imageLoaded?(e.transitionsActive||(a&&e.enableTransitions(),e.coordinates=e.applyTransform(t),s&&e.runAutoZoom("setCoordinates"),a&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t})},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then(function(){t.onChange()}):this.resetVisibleArea().then(function(){t.onChange()})},reset:function(){var t=this;return this.resetVisibleArea().then(function(){t.onChange(!1)})},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){t(),e.awaiting=!1}))},prepareResult:function(t){return this.roundResult?function(e){var n=e.coordinates,r=e.sizeRestrictions,s=e.positionRestrictions,o={width:Math.round(n.width),height:Math.round(n.height),left:Math.round(n.left),top:Math.round(n.top)};return o.width>r.maxWidth?o.width=Math.floor(n.width):o.width<r.minWidth&&(o.width=Math.ceil(n.width)),o.height>r.maxHeight?o.height=Math.floor(n.height):o.height<r.minHeight&&(o.height=Math.ceil(n.height)),he(o,s)}(_(_({},this.getPublicProperties()),{},{positionRestrictions:qn(this.positionRestrictions,this.visibleArea),coordinates:t})):t},processAutoZoom:function(t,e,n,r){var s=this.autoZoomAlgorithm;s||(s=this.stencilSize?Km:this.autoZoom?ep:tp);var o=s({event:{type:t,params:r},visibleArea:e,coordinates:n,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return _(_({},o),{},{changed:!ga(o.visibleArea,e)||!ga(o.coordinates,n)})},runAutoZoom:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.transitions,r=n!==void 0&&n,s=qm(e,wp),o=this.processAutoZoom(t,this.visibleArea,this.coordinates,s),a=o.visibleArea,d=o.coordinates,c=o.changed;r&&c&&this.enableTransitions(),this.visibleArea=a,this.coordinates=d,r&&c&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(e){var n=e.event,r=e.visibleArea,s=e.coefficient;if(n.type==="manipulateImage")return z(z({},n),{move:{left:n.move&&n.move.left?s*n.move.left:0,top:n.move&&n.move.top?s*n.move.top:0},scale:{factor:n.scale&&n.scale.factor?n.scale.factor:1,center:n.scale&&n.scale.center?{left:n.scale.center.left*s+r.left,top:n.scale.center.top*s+r.top}:null}});if(n.type==="resize"){var o=z(z({},n),{directions:z({},n.directions)});return Fe.forEach(function(d){o.directions[d]*=s}),o}if(n.type==="move"){var a=z(z({},n),{directions:z({},n.directions)});return Xm.forEach(function(d){a.directions[d]*=s}),a}return n}(_(_({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,n=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(d,c,u){var h=u.rotate,f=u.flip,m={width:c.naturalWidth,height:c.naturalHeight},g=wa(m,h),C=d.getContext("2d");d.height=g.height,d.width=g.width,C.save();var b=Ke(ue(z({left:0,top:0},m)),h);return C.translate(-(b.left-g.width/2),-(b.top-g.height/2)),C.rotate(h*Math.PI/180),C.translate(f.horizontal?m.width:0,f.vertical?m.height:0),C.scale(f.horizontal?-1:1,f.vertical?-1:1),C.drawImage(c,0,0,m.width,m.height),C.restore(),d}(this.$refs.sourceCanvas,e,this.imageTransforms):e,r=_({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),s=function(d){return d.find(function(c){return u=c,!Number.isNaN(parseFloat(u))&&isFinite(u);var u})},o=Ge({sizeRestrictions:{minWidth:s([r.width,r.minWidth])||0,minHeight:s([r.height,r.minHeight])||0,maxWidth:s([r.width,r.maxWidth])||1/0,maxHeight:s([r.height,r.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(r.maxArea&&o.width*o.height>r.maxArea){var a=Math.sqrt(r.maxArea/(o.width*o.height));o={width:Math.round(a*o.width),height:Math.round(a*o.height)}}return function(d,c,u,h,f){d.width=h?h.width:u.width,d.height=h?h.height:u.height;var m=d.getContext("2d");m.clearRect(0,0,d.width,d.height),f&&(f.imageSmoothingEnabled&&(m.imageSmoothingEnabled=f.imageSmoothingEnabled),f.imageSmoothingQuality&&(m.imageSmoothingQuality=f.imageSmoothingQuality),f.fillColor&&(m.fillStyle=f.fillColor,m.fillRect(0,0,d.width,d.height),m.save()));var g=u.left<0?-u.left:0,C=u.top<0?-u.top:0;m.drawImage(c,u.left+g,u.top+C,u.width,u.height,g*(d.width/u.width),C*(d.height/u.height),d.width,d.height)}(t,n,this.coordinates,o,r),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=this.visibleArea&&e?Jm(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,r=this.visibleArea&&e?qn(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return Qm({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:n,positionRestrictions:r,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?rp:ip);var n=this.sizeRestrictions;n.minWidth,n.minHeight,n.maxWidth,n.maxHeight;var r=Et(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,s=this.defaultPosition||np,o=[r,function(a){var d=a.coordinates;return _({},Et(s)?s({coordinates:d,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&o.push.apply(o,ft(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(o,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout(function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,n=this.$refs.cropper;return this.initStretcher({cropper:n,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then(function(){var r={cropper:n,imageSize:t.imageSize};if(Et(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(r):t.defaultBoundaries==="fit"?t.boundaries=function(s){var o=s.cropper,a=s.imageSize,d=o.clientHeight,c=o.clientWidth,u=d,h=a.width*d/a.height;return h>c&&(h=c,u=a.height*c/a.width),{width:h,height:u}}(r):t.boundaries=function(s){var o=s.cropper;return{width:o.clientWidth,height:o.clientHeight}}(r),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=_(_({},this.defaultImageTransforms),{},{flip:_({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){t.priority!=="visible-area"&&(t.visibleArea=null,t.resetCoordinates());var e,n,r,s,o,a,d=t.defaultVisibleArea||sp;t.visibleArea=Et(d)?d({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:t.priority!=="visible-area"?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions},n=e.visibleArea,r=e.boundaries,s=e.getAreaRestrictions,o=z({},n),a=G(r),o.width/o.height!==a&&(o.height=o.width/a),he(o,s({visibleArea:o,type:"move"}))),t.priority==="visible-area"?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")}).catch(function(){t.visibleArea=null})},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then(function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")}).catch(function(){t.visibleArea=null})},onChange:function(){var t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];t&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(s){if(ca(s))return!1;var o=window.location,a=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(s)||[],d={protocol:a[1]||"",host:a[2]||"",port:a[3]||""},c=function(u){return u.port||((u.protocol||o.protocol)==="http"?80:433)};return!(!d.protocol&&!d.host&&!d.port||d.protocol&&d.protocol==o.protocol&&d.host&&d.host==o.host&&d.host&&c(d)==c(o))}(this.src)){var n=oe(this.crossOrigin)?this.canvas:this.crossOrigin;n===!0&&(n="anonymous"),this.imageAttributes.crossOrigin=n||null}if(this.checkOrientation){var r=(t=this.src,new Promise(function(s){gp(t).then(function(o){var a=yp(o);s(o?{source:t,arrayBuffer:o,orientation:a}:{source:t,arrayBuffer:null,orientation:null})}).catch(function(o){console.warn(o),s({source:t,arrayBuffer:null,orientation:null})})}));setTimeout(function(){r.then(e.onParseImage)},this.transitionTime)}else setTimeout(function(){e.onParseImage({source:e.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){t.$emit("ready"),t.onChange(!1)}))},onParseImage:function(t){var e=this,n=t.source,r=t.arrayBuffer,s=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,r&&s&&s>1?la(n)||!ca(n)?(this.imageAttributes.src=URL.createObjectURL(new Blob([r])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(o){for(var a=[],d=new Uint8Array(o);d.length>0;){var c=d.subarray(0,8192);a.push(String.fromCharCode.apply(null,Array.from?Array.from(c):c.slice())),d=d.subarray(8192)}return"data:image/jpeg;base64,"+btoa(a.join(""))}(r):this.imageAttributes.src=n,Et(this.defaultTransforms)?this.appliedImageTransforms=nr(this.defaultTransforms()):Fn(this.defaultTransforms)?this.appliedImageTransforms=nr(this.defaultTransforms):this.appliedImageTransforms=function(o){var a=nr({});if(o)switch(o){case 2:a.flip.horizontal=!0;break;case 3:a.rotate=-180;break;case 4:a.flip.vertical=!0;break;case 5:a.rotate=90,a.flip.vertical=!0;break;case 6:a.rotate=90;break;case 7:a.rotate=90,a.flip.horizontal=!0;break;case 8:a.rotate=-90}return a}(s),this.defaultImageTransforms=_(_({},this.appliedImageTransforms),{},{flip:_({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var o=e.$refs.image;o&&o.complete&&(function(a){return!!a.naturalWidth}(o)?e.onSuccessLoadImage():e.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender(function(){e.coordinates=e.moveAlgorithm(_(_({},e.getPublicProperties()),{},{positionRestrictions:qn(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()})},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var n=e.sizeRestrictions,r=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(_(_({},e.getPublicProperties()),{},{positionRestrictions:qn(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(n.maxWidth,e.visibleArea.width),maxHeight:Math.min(n.maxHeight,e.visibleArea.height),minWidth:Math.max(n.minWidth,r),minHeight:Math.max(n.minHeight,r)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1})},onManipulateImage:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var n=e.transitions,r=n!==void 0&&n,s=e.normalize,o=s===void 0||s;r&&this.enableTransitions();var a=op(_(_({},this.getPublicProperties()),{},{event:o?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),d=a.visibleArea,c=a.coordinates;this.visibleArea=d,this.coordinates=c,this.runAutoZoom("manipulateImage"),this.onChange(),r&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.visibleArea,n=t.type,r=n===void 0?"move":n;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:r})},getAspectRatio:function(t){var e,n,r=this.stencilProps,s=r.aspectRatio,o=r.minAspectRatio,a=r.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var d=this.$refs.stencil.aspectRatios();e=d.minimum,n=d.maximum}if(oe(e)&&(e=oe(s)?o:s),oe(n)&&(n=oe(s)?a:s),!t&&(oe(e)||oe(n))){var c=this.getStencilSize(),u=c?G(c):null;oe(e)&&(e=da(u)?u:void 0),oe(n)&&(n=da(u)?u:void 0)}return{minimum:e,maximum:n}},getStencilSize:function(){if(this.stencilSize)return t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},e=t.boundaries,n=t.stencilSize,r=t.aspectRatio,Yi(G(s=Et(n)?n({boundaries:e,aspectRatio:r}):n),r)&&(s=Ge({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:s.width,height:s.height,aspectRatio:{minimum:r.minimum,maximum:r.maximum}})),(s.width>e.width||s.height>e.height)&&(s=Ge({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:s.width,height:s.height,aspectRatio:{minimum:G(s),maximum:G(s)}})),s;var t,e,n,r,s},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return _({},pa)},flip:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.transitions,s=r===void 0||r;if(!this.transitionsActive){s&&this.enableTransitions();var o=_({},this.imageTransforms.flip),a=lp({flip:{horizontal:t?!o.horizontal:o.horizontal,vertical:e?!o.vertical:o.vertical},previousFlip:o,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),d=a.visibleArea,c=a.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=d,this.coordinates=c,this.onChange(),s&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.transitions,r=n===void 0||n;if(!this.transitionsActive){r&&this.enableTransitions();var s=_({},this.imageSize);this.appliedImageTransforms.rotate+=t;var o=ap({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:s,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),a=o.visibleArea,d=o.coordinates,c=this.processAutoZoom("rotateImage",a,d);a=c.visibleArea,d=c.coordinates,this.visibleArea=a,this.coordinates=d,this.onChange(),r&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},bp={key:0,ref:"canvas",style:{display:"none"}},Cp={key:1,ref:"sourceCanvas",style:{display:"none"}};Na.render=function(t,e,n,r,s,o){return i.openBlock(),i.createBlock("div",{ref:"cropper",class:o.classes.cropper},[i.createVNode("div",{ref:"stretcher",class:o.classes.stretcher},null,2),i.createVNode("div",{class:o.classes.boundaries,style:o.boundariesStyle},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.backgroundWrapperComponent),{class:o.classes.cropperWrapper,"wheel-resize":o.settings.resizeImage.wheel,"touch-resize":o.settings.resizeImage.touch,"touch-move":o.settings.moveImage.touch,"mouse-move":o.settings.moveImage.mouse,onMove:o.onManipulateImage,onResize:o.onManipulateImage},{default:i.withCtx(function(){return[i.createVNode("div",{class:o.classes.background,style:o.boundariesStyle},null,6),i.createVNode("div",{class:o.classes.imageWrapper},[i.createVNode("img",{ref:"image",crossorigin:s.imageAttributes.crossOrigin,src:s.imageAttributes.src,class:o.classes.image,style:o.imageStyle,onMousedown:e[1]||(e[1]=i.withModifiers(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),i.createVNode("div",{class:o.classes.foreground,style:o.boundariesStyle},null,6),i.withDirectives((i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.stencilComponent),i.mergeProps({ref:"stencil",image:o.image,coordinates:s.coordinates,"stencil-coordinates":o.stencilCoordinates,transitions:o.transitionsOptions},n.stencilProps,{onResize:o.onResize,onResizeEnd:o.onResizeEnd,onMove:o.onMove,onMoveEnd:o.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[i.vShow,s.imageLoaded]]),n.canvas?(i.openBlock(),i.createBlock("canvas",bp,null,512)):i.createCommentVNode("",!0),n.canvas?(i.openBlock(),i.createBlock("canvas",Cp,null,512)):i.createCommentVNode("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Sp={width:0,height:0,left:0,top:0};class sr{constructor(){l(this,"id");l(this,"ratio",0);l(this,"src","");l(this,"coordinates",Sp)}setCoordinates(e){this.coordinates=e}getCoordinates(){return this.coordinates}static Create(e,n=0,r){const s=new sr;return s.src=e,s.ratio=n,s.id=r,s}setRatio(e){this.ratio=e}getRatio(){return this.ratio}setSrc(e){this.src=e}getSrc(){return this.src}}const kp={class:"background-container"},Ep={class:"dialog-footer"},xp=E(i.defineComponent({__name:"ImageCropper",props:{src:{type:String,required:!0},ratio:{type:Number,required:!1,default:1}},emits:["crop","close","update:ratio"],setup(t,{emit:e}){const n=t,r=e,s=i.ref(n.ratio),o=i.ref(sr.Create(n.src,n.ratio));o.value.setRatio(s.value);const a=()=>{o.value.setRatio(s.value)},d=i.ref(),c=async()=>{const u=d.value.getResult();u&&u.canvas.toBlob(h=>{var f;h.src=(f=u.canvas)==null?void 0:f.toDataURL(),r("crop",h),r("update:ratio",o.value.coordinates.width/o.value.coordinates.height)})};return(u,h)=>(i.openBlock(),i.createElementBlock("div",kp,[i.createVNode(Ti,{modelValue:i.unref(s),"onUpdate:modelValue":h[0]||(h[0]=f=>i.isRef(s)?s.value=f:null),label:"Задайте пропорции фото",width:"100%",margin:"0 0 20px 0",onChange:a},{default:i.withCtx(()=>h[2]||(h[2]=[i.createElementVNode("option",{label:"2:3 (формат A4)",value:2/3},null,-1),i.createElementVNode("option",{label:"4:3 (для карточек новостей)",value:4/3},null,-1),i.createElementVNode("option",{label:"1:1 (для фото сотрудников)",value:1},null,-1),i.createElementVNode("option",{label:"3:2",value:3/2},null,-1),i.createElementVNode("option",{label:"16:9",value:16/9},null,-1),i.createElementVNode("option",{label:"3:4 (вертикальное изображение)",value:3/4},null,-1),i.createElementVNode("option",{label:"Задать пропорции вручную",value:0},null,-1)])),_:1},8,["modelValue"]),i.createVNode(i.unref(Na),{ref_key:"cropperRef",ref:d,src:i.unref(o).src,"stencil-props":{aspectRatio:i.unref(o).ratio},style:{"max-height":"50vh","min-height":"50vh"},onChange:h[1]||(h[1]=f=>i.unref(o).setCoordinates(f.coordinates))},null,8,["src","stencil-props"]),i.createElementVNode("div",Ep,[i.createVNode(Nn,{skin:"text",type:"primary",text:"Сохранить",onClick:c})])]))}}),[["__scopeId","data-v-7b1e3fd4"]]),Mp=E(i.defineComponent({__name:"IconUploaderChange",props:{size:{type:String,default:""},margin:{type:String,default:"0"},iconClass:{type:String,required:!1,default:""}},setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["icon",t.iconClass]),style:i.normalizeStyle({margin:t.margin,width:t.size,height:t.size})},n[0]||(n[0]=[i.createElementVNode("use",{"xlink:href":"#uploader-change"},null,-1)]),6)),n[1]||(n[1]=i.createElementVNode("svg",{width:"0",height:"0",class:"hidden"},[i.createElementVNode("symbol",{id:"uploader-change",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[i.createElementVNode("path",{d:"M12.825 15.783C12.175 15.787 11.5393 15.7173 10.918 15.574C10.2967 15.4307 9.762 15.1347 9.314 14.686C8.95467 14.3273 8.678 13.9173 8.484 13.456C8.28933 12.9947 8.192 12.5113 8.192 12.006C8.192 11.788 8.207 11.5807 8.237 11.384C8.26633 11.1867 8.31867 10.9873 8.394 10.786C8.43533 10.6633 8.43133 10.5437 8.382 10.427C8.33267 10.3103 8.25467 10.2293 8.148 10.184C8.038 10.1393 7.92567 10.1427 7.811 10.194C7.69633 10.2453 7.61833 10.3327 7.577 10.456C7.49367 10.706 7.428 10.9593 7.38 11.216C7.332 11.472 7.308 11.7333 7.308 12C7.308 12.628 7.42733 13.227 7.666 13.797C7.90533 14.367 8.24533 14.8723 8.686 15.313C9.20067 15.8437 9.81667 16.202 10.534 16.388C11.2513 16.5747 11.9797 16.6697 12.719 16.673L11.756 17.637C11.67 17.723 11.6237 17.8243 11.617 17.941C11.6103 18.0577 11.6567 18.1653 11.756 18.264C11.8553 18.3627 11.9597 18.412 12.069 18.412C12.1783 18.412 12.283 18.3627 12.383 18.264L13.906 16.741C14.0673 16.579 14.148 16.3903 14.148 16.175C14.148 15.9597 14.0673 15.7713 13.906 15.61L12.383 14.087C12.2963 14.0003 12.195 13.954 12.079 13.948C11.9623 13.9413 11.8547 13.9877 11.756 14.087C11.6573 14.1863 11.608 14.2907 11.608 14.4C11.608 14.5093 11.6573 14.614 11.756 14.714L12.825 15.783ZM11.189 8.212C11.839 8.212 12.4753 8.28333 13.098 8.426C13.7213 8.56867 14.2573 8.86433 14.706 9.313C15.0647 9.67233 15.3413 10.0827 15.536 10.544C15.7307 11.0053 15.8277 11.4887 15.827 11.994C15.827 12.212 15.8123 12.4193 15.783 12.616C15.7537 12.8127 15.701 13.0117 15.625 13.213C15.5843 13.3363 15.5887 13.4573 15.638 13.576C15.6873 13.6947 15.765 13.7763 15.871 13.821C15.9817 13.8657 16.0943 13.8657 16.209 13.821C16.3237 13.7763 16.4013 13.6923 16.442 13.569C16.5253 13.319 16.5913 13.0617 16.64 12.797C16.688 12.5323 16.712 12.2667 16.712 12C16.712 11.372 16.5943 10.773 16.359 10.203C16.1237 9.633 15.7837 9.12567 15.339 8.681C14.8203 8.14967 14.2023 7.79233 13.485 7.609C12.7683 7.425 12.04 7.333 11.3 7.333L12.27 6.363C12.3513 6.277 12.3953 6.17567 12.402 6.059C12.4087 5.94233 12.3627 5.83467 12.264 5.736C12.1653 5.63733 12.0607 5.58833 11.95 5.589C11.8393 5.58967 11.735 5.63867 11.637 5.736L10.114 7.26C9.952 7.422 9.871 7.61067 9.871 7.826C9.871 8.04133 9.952 8.22967 10.114 8.391L11.637 9.914C11.723 10.0007 11.8243 10.047 11.941 10.053C12.0577 10.059 12.1653 10.013 12.264 9.915C12.3627 9.817 12.412 9.71233 12.412 9.601C12.412 9.48967 12.3627 9.38533 12.264 9.288L11.189 8.212ZM12 21C10.7573 21 9.58867 20.7633 8.494 20.29C7.39933 19.816 6.447 19.174 5.637 18.364C4.82633 17.5533 4.18433 16.6007 3.711 15.506C3.237 14.4113 3 13.2427 3 12C3 10.7573 3.23667 9.58867 3.71 8.494C4.18333 7.39933 4.82567 6.447 5.637 5.637C6.44833 4.827 7.40067 4.18467 8.494 3.71C9.58933 3.23667 10.758 3 12 3C13.242 3 14.4107 3.23667 15.506 3.71C16.6007 4.184 17.553 4.82633 18.363 5.637C19.1737 6.447 19.8157 7.39933 20.289 8.494C20.763 9.58933 21 10.758 21 12C21 13.242 20.7633 14.4107 20.29 15.506C19.816 16.6007 19.174 17.553 18.364 18.363C17.5533 19.1737 16.6007 19.8157 15.506 20.289C14.4113 20.763 13.2427 21 12 21ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"currentColor"})])],-1))],64))}}),[["__scopeId","data-v-24be7852"]]),Bp=E(i.defineComponent({__name:"IconUploaderDel",props:{size:{type:String,default:""},margin:{type:String,default:"0"},iconClass:{type:String,required:!1,default:""}},setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["icon",t.iconClass]),style:i.normalizeStyle({margin:t.margin,width:t.size,height:t.size})},n[0]||(n[0]=[i.createElementVNode("use",{"xlink:href":"#uploader-del"},null,-1)]),6)),n[1]||(n[1]=i.createElementVNode("svg",{width:"0",height:"0",class:"hidden"},[i.createElementVNode("symbol",{id:"uploader-del",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[i.createElementVNode("path",{d:"M7.616 20.0005C7.168 20.0005 6.78667 19.8431 6.472 19.5285C6.15733 19.2138 6 18.8328 6 18.3855V6.00047H5V5.00047H9V4.23047H15V5.00047H19V6.00047H18V18.3855C18 18.8455 17.846 19.2298 17.538 19.5385C17.23 19.8471 16.8453 20.0011 16.384 20.0005H7.616ZM17 6.00047H7V18.3855C7 18.5648 7.05767 18.7121 7.173 18.8275C7.28833 18.9428 7.436 19.0005 7.616 19.0005H16.385C16.5383 19.0005 16.6793 18.9365 16.808 18.8085C16.9367 18.6805 17.0007 18.5391 17 18.3845V6.00047ZM9.808 17.0005H10.808V8.00047H9.808V17.0005ZM13.192 17.0005H14.192V8.00047H13.192V17.0005Z",fill:"currentColor"})])],-1))],64))}}),[["__scopeId","data-v-dd770f25"]]),$p=E(i.defineComponent({__name:"IconUploaderPlus",props:{size:{type:String,default:""},margin:{type:String,default:"0"},iconClass:{type:String,required:!1,default:""}},setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["icon",t.iconClass]),style:i.normalizeStyle({margin:t.margin,width:t.size,height:t.size})},n[0]||(n[0]=[i.createElementVNode("use",{"xlink:href":"#uploader-plus"},null,-1)]),6)),n[1]||(n[1]=i.createElementVNode("svg",{width:"0",height:"0",class:"hidden"},[i.createElementVNode("symbol",{id:"uploader-plus",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},[i.createElementVNode("path",{d:"M8 12H12V8H13V12H17V13H13V17H12V13H8V12ZM12.5 3C15.0196 3 17.4359 4.00089 19.2175 5.78249C20.9991 7.56408 22 9.98044 22 12.5C22 15.0196 20.9991 17.4359 19.2175 19.2175C17.4359 20.9991 15.0196 22 12.5 22C9.98044 22 7.56408 20.9991 5.78249 19.2175C4.00089 17.4359 3 15.0196 3 12.5C3 9.98044 4.00089 7.56408 5.78249 5.78249C7.56408 4.00089 9.98044 3 12.5 3ZM12.5 4C10.2457 4 8.08365 4.89553 6.48959 6.48959C4.89553 8.08365 4 10.2457 4 12.5C4 14.7543 4.89553 16.9163 6.48959 18.5104C8.08365 20.1045 10.2457 21 12.5 21C13.6162 21 14.7215 20.7801 15.7528 20.353C16.7841 19.9258 17.7211 19.2997 18.5104 18.5104C19.2997 17.7211 19.9258 16.7841 20.353 15.7528C20.7801 14.7215 21 13.6162 21 12.5C21 10.2457 20.1045 8.08365 18.5104 6.48959C16.9163 4.89553 14.7543 4 12.5 4Z",fill:"currentColor"})])],-1))],64))}}),[["__scopeId","data-v-92c28425"]]),Ip={key:0},Rp=["src"],vp={class:"tools-button"},Np={key:1},Ap=["id"],zp=i.defineComponent({__name:"PUploaderImage",props:{withCrop:{type:Boolean,default:!0},fileInfo:{type:fe,required:!0,default:new fe},height:{type:Number,default:150},emitCrop:{type:Boolean,default:!1},ratio:{type:Number,required:!1,default:1}},emits:["crop","removeFile","update:ratio"],setup(t,{emit:e}){const n=i.computed(()=>({width:o.height*f.value+"px",height:o.height+"px"})),r=i.computed(()=>({width:f.value<.66?o.height*.66+"px":o.height*f.value+"px",height:o.height+"px"})),s=i.computed(()=>({width:f.value<.66?o.height*.66+"px":o.height*f.value+"px",height:o.height+"px"})),o=t,a=e,d=i.ref(void 0),c=ee.GUID(),u=i.ref(!1),h=i.ref(),f=i.ref(o.ratio),m=i.ref(""),g=()=>{d.value=void 0,f.value=1,a("update:ratio",1),a("removeFile"),b=document.getElementById(c),b.value=""},C=V=>{o.fileInfo.setFile(V),o.fileInfo.fileSystemPath&&(d.value=o.fileInfo),u.value=!1,a("crop")};i.watch(()=>[o.fileInfo.description,o.fileInfo.order,o.fileInfo.fileSystemPath],()=>{o.fileInfo.fileSystemPath&&(d.value=o.fileInfo,d.value.url=o.fileInfo.getFileUrl())}),i.onBeforeMount(()=>{o.fileInfo.fileSystemPath&&(d.value=o.fileInfo,d.value.url=o.fileInfo.getFileUrl())});let b=null;i.onMounted(()=>{document.getElementById("drop-area")&&(b=document.getElementById(c))});const S=()=>{b&&b.click()},I=V=>{m.value=V.url,u.value=!0},L=()=>{if(!b||!b.files||!b.files.length)return;const V=b.files[0];V.url=URL.createObjectURL(V),d.value=V,o.fileInfo.setFile(V),o.withCrop&&I(d.value)};return i.watch(f,V=>{a("update:ratio",V)}),(V,v)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{id:"drop-area",class:"img-container",style:i.normalizeStyle(i.unref(n))},[i.unref(d)?(i.openBlock(),i.createElementBlock("div",Ip,[i.createElementVNode("div",{class:"img-block",style:i.normalizeStyle(i.unref(r))},[i.createElementVNode("img",{src:i.unref(d).url,alt:"upload-image"},null,8,Rp)],4),i.createElementVNode("div",vp,[i.createElementVNode("div",{class:"ins",style:i.normalizeStyle(i.unref(s))},[i.createElementVNode("div",{class:"change",onClick:v[0]||(v[0]=H=>I(i.unref(d)))},[i.createVNode(Mp,{margin:"0 10px 0 0",size:"40px"})]),i.createElementVNode("div",{claSS:"del",onClick:v[1]||(v[1]=H=>g())},[i.createVNode(Bp,{size:"40px"})])],4)])])):(i.openBlock(),i.createElementBlock("div",Np,[i.createElementVNode("div",{class:"add-button",style:i.normalizeStyle({width:t.height*i.unref(f)-2+"px",height:t.height-2+"px"}),onClick:S},[i.createVNode($p,{size:"40px"})],4)]))],4),i.createElementVNode("input",{id:i.unref(c),ref_key:"uploader",ref:h,hidden:"",type:"file",onChange:L},null,40,Ap),i.createVNode(Vn,{show:i.unref(u),title:"Настройка изображения","max-height":"90vh",top:"5vh"},{default:i.withCtx(()=>[i.createVNode(xp,{ratio:i.unref(f),"onUpdate:ratio":v[2]||(v[2]=H=>i.isRef(f)?f.value=H:null),src:i.unref(m),onCrop:C,onClose:v[3]||(v[3]=H=>u.value=!1)},null,8,["ratio","src"])]),_:1},8,["show"])],64))}}),Aa=E(zp,[["__scopeId","data-v-2c8f03ca"]]);function za(t){t.component("PTabs",ia),t.component("PUploaderFile",ra),t.component("PUploaderImage",Aa),t.component("PAuthForm",qi),t.component("PAuthModal",ta),t.component("PNameEdit",na)}const Pp=Object.freeze(Object.defineProperty({__proto__:null,PAuthForm:qi,PAuthModal:ta,PNameEdit:na,PTabs:ia,PUploaderFile:ra,PUploaderImage:Aa,default:za},Symbol.toStringTag,{value:"Module"})),Vp={install:function(t){eo(t),ea(t),Wo(t),za(t),Ao(t)}},Tp=["PF","PFM"];j.Auth=re,j.AuthButtonLogin=Xn,j.AuthButtonRefresh=ur,j.AuthButtonRegister=Yn,j.AuthButtonRestore=Yt,j.AuthChunks=le,j.AuthFieldsIds=qe,j.AuthFormSettings=pr,j.AuthMethods=mt,j.EmailField=Qt,j.LoginField=Bh,j.PF=A,j.PFM=Mh,j.PasswordField=Kt,j.PasswordRepeatField=mr,j.atoms=gf,j.components=ym,j.icons=wm,j.molecules=Nm,j.organisms=Pp,j.pfName=Tp,j.servicesComponents=Vp,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .p-button_base[data-v-814c9b41]{box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;margin:0;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:var(--button-primary-medium-borderRadius-default);width:100%;max-width:300px;min-width:40px;font-size:var(--button-font-size-default);font-family:var(--base-font);-webkit-user-select:none;-ms-user-select:none;user-select:none;box-shadow:var(--button-box-shadow)}.p-button_base_info[data-v-814c9b41]{border:1px solid var(--button-info-background);background:var(--button-info-background);color:var(--button-info-font-color)}.p-button_base_info[data-v-814c9b41]:hover{background:var(--button-info-background-hovered);border:1px solid var(--button-info-background-hovered)}.p-button_base_primary[data-v-814c9b41]{border:1px solid var(--button-primary-background);background:var(--button-primary-background);color:var(--button-primary-font-color)}.p-button_base_primary[data-v-814c9b41]:hover{background:var(--button-primary-background-hovered);border:1px solid var(--button-primary-background-hovered)}.p-button_base_additional[data-v-814c9b41]{border:1px solid var(--button-additional-background);background:var(--button-additional-background);color:var(--button-additional-font-color)}.p-button_base_additional[data-v-814c9b41]:hover{background:var(--button-additional-background-hovered);border:1px solid var(--button-additional-background-hovered)}.p-button_base_success[data-v-814c9b41]{border:1px solid var(--button-success-background);background:var(--button-success-background);color:var(--button-success-font-color)}.p-button_base_success[data-v-814c9b41]:hover{background:var(--button-success-background-hovered);border:1px solid var(--button-success-background-hovered)}.p-button_base_warning[data-v-814c9b41]{border:1px solid var(--button-warning-background);background:var(--button-warning-background);color:var(--button-warning-font-color)}.p-button_base_warning[data-v-814c9b41]:hover{background:var(--button-warning-background-hovered);border:1px solid var(--button-warning-background-hovered)}.p-button_base_danger[data-v-814c9b41]{border:1px solid var(--button-error-background);background:var(--button-error-background);color:var(--button-error-font-color)}.p-button_base_danger[data-v-814c9b41]:hover{background:var(--button-error-background-hovered);border:1px solid var(--button-error-background-hovered)}.p-button_base_neutral[data-v-814c9b41]{border:1px solid var(--button-neutral-background);background:var(--button-neutral-background);color:var(--button-neutral-font-color)}.p-button_base_neutral[data-v-814c9b41]:hover{background:var(--button-neutral-background-hovered);border:1px solid var(--button-neutral-background-hovered)}.p-button_base_disabled[data-v-814c9b41]{border:1px solid var(--button-neutral-background);background:var(--button-neutral-background);color:var(--button-neutral-font-color-disabled);cursor:auto}.p-button_base_disabled[data-v-814c9b41]:hover{background:var(--button-neutral-background);border:1px solid var(--button-neutral-font-color)}.p-button_base_xs[data-v-814c9b41]{min-height:12px;max-height:12px}.p-button_base_x[data-v-814c9b41]{min-height:24px;max-height:24px}.p-button_base_m[data-v-814c9b41]{min-height:32px;max-height:32px}.p-button_base_l[data-v-814c9b41]{min-height:40px;max-height:40px}.p-button_text[data-v-814c9b41]{border:none;margin:var(--button-primary-medium-whiteSpace-gap);box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:none;height:auto;width:auto;background:none;font-family:var(--base-font);font-size:var(--button-font-size-default);-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-button_text_icon[data-v-814c9b41]{color:var(--font-color);margin:0;padding:0}.p-button_text_icon[data-v-814c9b41]:hover{color:var(--font-color-focus)}.p-button_text_info[data-v-814c9b41]{color:var(--button-info-background)}.p-button_text_info[data-v-814c9b41]:hover{color:var(--button-info-background-hovered)}.p-button_text_primary[data-v-814c9b41]{color:var(--button-primary-background)}.p-button_text_primary[data-v-814c9b41]:hover{color:var(--button-primary-background-hovered)}.p-button_text_additional[data-v-814c9b41]{color:var(--button-additional-background)}.p-button_text_additional[data-v-814c9b41]:hover{color:var(--button-additional-background-hovered)}.p-button_text_success[data-v-814c9b41]{color:var(--button-success-background)}.p-button_text_success[data-v-814c9b41]:hover{color:var(--button-success-background-hovered)}.p-button_text_warning[data-v-814c9b41]{color:var(--button-warning-background)}.p-button_text_warning[data-v-814c9b41]:hover{color:var(--button-warning-background-hovered)}.p-button_text_danger[data-v-814c9b41]{color:var(--button-error-background)}.p-button_text_danger[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_text_neutral[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_neutral[data-v-814c9b41]:hover{color:var(--button-neutral-background-hovered)}.p-button_text_del[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_del[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_pag[data-v-814c9b41]{display:flex;justify-content:center;align-items:center;border:none;transition:var(--transition-default);cursor:pointer;min-width:32px;max-width:32px;min-height:32px;max-height:32px;border-radius:3px;margin:0 4px;font-family:var(--base-font);font-size:var(--button-font-size-default);overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-button_pag_neutral[data-v-814c9b41]{background:var(--button-pagination-background);color:var(--button-pagination-font-color)}.p-button_pag_neutral[data-v-814c9b41]:hover{background:var(--button-pagination-background);color:var(--button-pagination-font-color-hovered)}.p-button_pag_active[data-v-814c9b41]{background:var(--button-pagination-background-pressed);color:var(--button-pagination-font-color-pressed)}.p-button_pag_not-active[data-v-814c9b41]{background:var(--button-pagination-background);color:var(--button-pagination-font-color-disabled);cursor:not-allowed}.p-button_text_ano[data-v-814c9b41]{border:none;margin:var(--button-primary-medium-whiteSpace-gap);box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:none;height:auto;width:auto;background:none;font-family:var(--base-font);font-size:var(--button-font-size-default);-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-button_text_ano_info[data-v-814c9b41]{color:var(--button-info-background)}.p-button_text_ano_info[data-v-814c9b41]:hover{color:var(--button-info-background-hovered)}.p-button_text_ano_primary[data-v-814c9b41]{color:var(--font-color)}.p-button_text_ano_primary[data-v-814c9b41]:hover{color:var(--font-color-focus)}.p-button_text_ano_additional[data-v-814c9b41]{color:var(--button-additional-background)}.p-button_text_ano_additional[data-v-814c9b41]:hover{color:var(--button-additional-background-hovered)}.p-button_text_ano_success[data-v-814c9b41]{color:var(--button-success-background)}.p-button_text_ano_success[data-v-814c9b41]:hover{color:var(--button-success-background-hovered)}.p-button_text_ano_warning[data-v-814c9b41]{color:var(--button-warning-background)}.p-button_text_ano_warning[data-v-814c9b41]:hover{color:var(--button-warning-background-hovered)}.p-button_text_ano_danger[data-v-814c9b41]{color:var(--button-error-background)}.p-button_text_ano_danger[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_text_ano_neutral[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_ano_neutral[data-v-814c9b41]:hover{color:var(--button-neutral-background-hovered)}.p-button_text_ano_del[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_ano_del[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_invert[data-v-814c9b41]{box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;margin:0;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:200px;width:auto;max-width:300px;min-width:40px;font-size:var(--button-font-size-default);font-family:var(--base-font);-webkit-user-select:none;-ms-user-select:none;user-select:none;box-shadow:var(--button-box-shadow)}.p-button_invert_primary[data-v-814c9b41]{border:1px solid var(--palette-primary-base);background:var(--palette-primary-base-5);color:var(--palette-primary-base)}.p-button_invert_primary[data-v-814c9b41]:hover{border:1px solid var(--palette-primary-base);background:var(--palette-primary-base-4);color:var(--palette-primary-base)}.p-button_invert_primary[data-v-814c9b41]:active{border:1px solid var(--palette-primary-base);background:var(--palette-primary-base);color:var(--palette-white)}.p-button_invert_primary2[data-v-814c9b41]{border:1px solid var(--palette-primary2-base);background:var(--palette-primary2-base-5);color:var(--palette-primary2-base)}.p-button_invert_primary2[data-v-814c9b41]:hover{border:1px solid var(--palette-primary2-base);background:var(--palette-primary2-base-4);color:var(--palette-primary2-base)}.p-button_invert_primary2[data-v-814c9b41]:active{border:1px solid var(--palette-primary2-base);background:var(--palette-primary2-base);color:var(--palette-white)}.p-button_invert_primary3[data-v-814c9b41]{border:1px solid var(--palette-primary3-base);background:var(--palette-primary3-base-5);color:var(--palette-primary3-base)}.p-button_invert_primary3[data-v-814c9b41]:hover{border:1px solid var(--palette-primary3-base);background:var(--palette-primary3-base-4);color:var(--palette-primary3-base)}.p-button_invert_primary3[data-v-814c9b41]:active{border:1px solid var(--palette-primary3-base);background:var(--palette-primary3-base);color:var(--palette-white)}.p-button_invert_primary4[data-v-814c9b41]{border:1px solid var(--palette-primary4-base);background:var(--palette-primary4-base-5);color:var(--palette-primary4-base)}.p-button_invert_primary4[data-v-814c9b41]:hover{border:1px solid var(--palette-primary4-base);background:var(--palette-primary4-base-4);color:var(--palette-primary4-base)}.p-button_invert_primary4[data-v-814c9b41]:active{border:1px solid var(--palette-primary4-base);background:var(--palette-primary4-base);color:var(--palette-white)}.p-button_invert_success[data-v-814c9b41]{border:1px solid var(--palette-success);background:var(--palette-success-5);color:var(--palette-success)}.p-button_invert_success[data-v-814c9b41]:hover{border:1px solid var(--palette-success);background:var(--palette-success-4);color:var(--palette-success)}.p-button_invert_success[data-v-814c9b41]:active{border:1px solid var(--palette-success);background:var(--palette-success);color:var(--palette-white)}.p-button_invert_warning[data-v-814c9b41]{border:1px solid var(--palette-warning);background:var(--palette-warning-5);color:var(--palette-warning)}.p-button_invert_warning[data-v-814c9b41]:hover{border:1px solid var(--palette-warning);background:var(--palette-warning-4);color:var(--palette-warning)}.p-button_invert_warning[data-v-814c9b41]:active{border:1px solid var(--palette-warning);background:var(--palette-warning);color:var(--palette-white)}.p-button_invert_danger[data-v-814c9b41]{border:1px solid var(--palette-error);background:var(--palette-error-5);color:var(--palette-error)}.p-button_invert_danger[data-v-814c9b41]:hover{border:1px solid var(--palette-error);background:var(--palette-error-4);color:var(--palette-error)}.p-button_invert_danger[data-v-814c9b41]:active{border:1px solid var(--palette-error);background:var(--palette-error);color:var(--palette-white)}.p-button_invert_neutral[data-v-814c9b41]{border:1px solid var(--palette-grey-6);background:var(--palette-grey-1);color:var(--palette-grey-6)}.p-button_invert_neutral[data-v-814c9b41]:hover{border:1px solid var(--palette-grey-6);background:var(--palette-grey-3);color:var(--palette-grey-6)}.p-button_invert_neutral[data-v-814c9b41]:active{border:1px solid var(--palette-grey-6);background:var(--palette-grey-6);color:var(--palette-white)}.p-button_invert_disabled[data-v-814c9b41]{border:1px solid var(--button-neutral-background);background:var(--button-neutral-background);color:var(--button-neutral-font-color-disabled);cursor:auto}.p-button_invert_disabled[data-v-814c9b41]:hover,.p-button_invert_disabled[data-v-814c9b41]:active{background:var(--button-neutral-background);border:1px solid var(--button-neutral-font-color)}.p-button_invert_xs[data-v-814c9b41]{min-height:12px;max-height:12px}.p-button_invert_x[data-v-814c9b41]{min-height:24px;max-height:24px}.p-button_invert_m[data-v-814c9b41]{min-height:32px;max-height:32px}.p-button_invert_l[data-v-814c9b41]{min-height:40px;max-height:40px}.hidden[data-v-48c8e6e2]{display:none}.icon[data-v-48c8e6e2]{box-sizing:border-box;padding:0}.check-line[data-v-85407c13]{align-items:center;display:flex;justify-content:left;margin:0 auto;box-sizing:border-box;padding:10px 0}.box[data-v-85407c13]{position:relative;border:1px solid;border-color:var(--checkbox-border-color);border-radius:var(--checkbox-border-radius-default);box-sizing:border-box;margin-right:10px}.check-icon[data-v-85407c13]{box-sizing:border-box;position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0}.check-field__label[data-v-85407c13]{box-sizing:border-box;display:flex;justify-content:left;align-items:center;font-family:var(--base-font);color:var(--checkbox-label-color);-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.check-field__label[data-v-85407c13]:hover{color:var(--checkbox-border-color-hovered)}.check-field__label:hover>.box[data-v-85407c13]{border-color:var(--checkbox-border-color-hovered);color:var(--checkbox-border-color-hovered)}.check-field__input[data-v-85407c13]{display:none}[data-v-60c7417a],[data-v-60c7417a]:before,[data-v-60c7417a]:after{box-sizing:border-box}.field[data-v-60c7417a]{position:relative;display:flex;justify-content:left;align-items:center;overflow:hidden}.right-field[data-v-60c7417a]{display:flex;justify-content:right;align-items:center;width:auto}.left-field[data-v-60c7417a]{display:flex;justify-content:center;align-items:center;height:100%;width:auto}.text-field__label[data-v-60c7417a]{display:flex;justify-content:left;align-items:center;width:100%}.text-field__input[data-v-60c7417a]{width:100%}.text-field__input[data-v-60c7417a]:focus{outline:0}.text-field__input[data-v-60c7417a]:disabled,.text-field__input[readonly][data-v-60c7417a]{opacity:1}.flex-line[data-v-d9fdfe7d]{position:relative;box-sizing:border-box;display:flex;justify-content:left;align-items:center;background:inherit;color:inherit}[data-v-b4bcb814],[data-v-b4bcb814]:before,[data-v-b4bcb814]:after{box-sizing:border-box}.field[data-v-b4bcb814]{box-sizing:border-box;position:relative;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:var(--input-field-borderRadius-default);border:1px solid;padding:var(--input-padding-default);margin:var(--input-margin-default);overflow:hidden}.right-field[data-v-b4bcb814]{display:flex;justify-content:right;align-items:center;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default)}.left-field[data-v-b4bcb814]{display:flex;justify-content:center;align-items:center;height:100%;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default)}.text-field[data-v-b4bcb814]{width:var(--input-width-default)}.text-field__label[data-v-b4bcb814]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-b4bcb814]{width:100%;font-size:var(--inpur-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:var(--input-height, 30px);border:none;display:flex;align-items:center}.text-field__input[data-v-b4bcb814]::placeholder{font-family:var(--base-font);font-size:var(--inpur-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-b4bcb814]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-b4bcb814]:disabled,.text-field__input[readonly][data-v-b4bcb814]{background-color:var(--input-readonly-background);opacity:1}input[data-v-b4bcb814]:-webkit-autofill{box-shadow:0 0 0 1000px var(--background-color, #000000) inset!important;-webkit-text-fill-color:var(--font-color, #ffffff)!important}.hidden[data-v-1f1f064c],.hidden[data-v-582bd65a]{display:none}.text-field[data-v-b75e0cb2]{width:var(--input-width-default)}.text-field__label[data-v-b75e0cb2]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);margin:var(--input-label-margin)}.number-minus[data-v-b75e0cb2]{position:absolute;top:1px;left:1px;bottom:1px;width:40px;padding:0;display:flex;justify-content:center;align-items:center;border:none;border-right:1px solid #ddd;background:#f5f7fa;cursor:pointer;overflow:hidden}.number-minus:hover>.icon-minus[data-v-b75e0cb2]{transform:scale(1.2);opacity:1;transition:0s}.number-minus:active>.icon-minus[data-v-b75e0cb2]{transform:scale(1.2);opacity:.8}.icon-minus[data-v-b75e0cb2],.icon-minus-disabled[data-v-b75e0cb2]{color:#828587;cursor:pointer;transition:.3s;opacity:.8;display:flex;justify-content:center;align-items:center}.input-field[data-v-b75e0cb2]{cursor:text!important;font-size:var(--inpur-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:var(--input-height, 30px)}.input-field[data-v-b75e0cb2]:disabled,.input-field[readonly][data-v-b75e0cb2]{background-color:var(--input-readonly-background);opacity:1}.number-plus[data-v-b75e0cb2]{position:absolute;top:1px;right:1px;bottom:1px;width:40px;padding:0;display:flex;justify-content:center;align-items:center;border:none;border-left:1px solid #ddd;background:#f5f7fa;cursor:pointer;overflow:hidden}.number-plus:hover>.icon-plus[data-v-b75e0cb2]{transform:scale(1.2);opacity:1;transition:0s}.number-plus:active>.icon-plus[data-v-b75e0cb2]{transform:scale(1.2);opacity:.8}.icon-plus[data-v-b75e0cb2],.icon-plus-disabled[data-v-b75e0cb2]{color:#828587;cursor:pointer;transition:.3s;opacity:.8;display:flex;justify-content:center;align-items:center}.number[data-v-b75e0cb2]{display:inline-block;position:relative;width:190px;background:#fff;margin:10px 0;border-radius:3px}.number input[type=number][data-v-b75e0cb2]{display:block;height:40px;line-height:40px;width:100%;padding:0;margin:0;box-sizing:border-box;text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;background:#fff;cursor:pointer}.number input[type=number][data-v-b75e0cb2]::-webkit-outer-spin-button,.number input[type=number][data-v-b75e0cb2]::-webkit-inner-spin-button{display:none}input[type=number][data-v-b75e0cb2]{background:#fff;vertical-align:top;outline:none;padding:0;height:40px;line-height:40px;display:inline-block;width:100%;box-sizing:border-box;border:1px solid #ddd;font-size:14px;border-radius:3px}input[type=number][data-v-b75e0cb2]:focus{outline:0px solid #ffffff}.LS-body[data-v-d68a122a]{top:0;left:0;min-height:inherit;display:flex;height:100%;overflow-y:auto;overflow-x:hidden;padding:0;z-index:999;font-family:var(--base-font);font-size:var(--font-size-default);transition:var(--transition-default, 0);-webkit-user-select:none;-ms-user-select:none;user-select:none}.click-line[data-v-d68a122a]{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:100%;writing-mode:vertical-lr;border-left:1px solid;border-right:1px solid;cursor:pointer;border-color:var(--left-slider-click-line-border-color);background:var(--left-slider-click-line-background);color:var(--left-slider-click-line-font-color);font-family:var(--base-font);font-size:var(--font-size-default);padding:0 2px 0 0}.click-line[data-v-d68a122a]:hover{background:var(--left-slider-click-line-background-hovered);color:var(--left-slider-click-line-font-color-hovered)}.LS-content[data-v-d68a122a]{position:relative;box-sizing:border-box;width:100%;height:100%;background:var(--background-color)}[data-v-eaa10a96],[data-v-eaa10a96]:before,[data-v-eaa10a96]:after{box-sizing:border-box}[data-v-77d1fac6],[data-v-77d1fac6]:before,[data-v-77d1fac6]:after{box-sizing:border-box}li[data-v-77d1fac6]{padding:8px 16px;list-style-type:none;cursor:pointer;color:var(--list-font-color);border-color:var(--divider-color, #eeeeee);box-sizing:border-box}li[data-v-77d1fac6]:last-of-type{border-bottom:none}li[data-v-77d1fac6]:hover{background:var(--list-background-color-hovered, #eeeeee)}li[data-v-77d1fac6]:active{color:var(--list-font-color-pressed, #eeeeee)}.radio-line[data-v-25033aee]{align-items:center;display:flex;justify-content:left;margin:0 auto;box-sizing:border-box;padding:10px 0}.box[data-v-25033aee]{position:relative;border:1px solid;border-color:var(--checkbox-border-color);border-radius:100px;box-sizing:border-box;margin-right:10px}.radio-dot[data-v-25033aee]{box-sizing:border-box;position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0;background:var(--checkbox-border-color);border-radius:100px}.radio-field__label[data-v-25033aee]{box-sizing:border-box;display:flex;justify-content:left;align-items:center;font-family:var(--base-font);color:var(--checkbox-label-color);-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.radio-field__label[data-v-25033aee]:hover{color:var(--checkbox-border-color-hovered)}.radio-field__label:hover>.box[data-v-25033aee]{border-color:var(--checkbox-border-color-hovered);color:var(--checkbox-border-color-hovered)}.radio-field__input[data-v-25033aee]{display:none}.wrapper[data-v-45d26c84]{position:relative;display:flex}.content[data-v-45d26c84]{box-sizing:border-box;width:100%;overflow-y:auto}.RS-body[data-v-45d26c84]{box-sizing:border-box;right:0;min-height:inherit;display:flex;height:100%;padding:0;z-index:999;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--base-font);font-size:var(--font-size-default);transition:var(--transition-default, 0)}.click-line[data-v-45d26c84]{display:flex;align-items:center;justify-content:center;height:100%;writing-mode:vertical-lr;border-right:1px solid;border-left:1px solid;cursor:pointer;border-color:var(--right-slider-click-line-border-color);background:var(--right-slider-click-line-background);color:var(--right-slider-click-line-font-color);font-family:var(--base-font);font-size:var(--font-size-default);padding:0 2px 0 0}.click-line[data-v-45d26c84]:hover{background:var(--right-slider-click-line-background-hovered);color:var(--right-slider-click-line-font-color-hovered)}.RS-content[data-v-45d26c84]{box-sizing:border-box;height:auto;overflow-y:auto;overflow-x:hidden}.hidden[data-v-cbcad2a0],.hidden[data-v-4d8b581f]{display:none}[data-v-0a8feca7],[data-v-0a8feca7]:before,[data-v-0a8feca7]:after{box-sizing:border-box}option[data-v-0a8feca7]{padding:0}.field[data-v-0a8feca7]{box-sizing:border-box;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:100px;border:1px solid;border-radius:var(--input-field-borderRadius-default);border-color:var(--input-border-color);padding:var(--input-padding-default);margin:var(--input-margin-default);overflow:hidden}.sl[data-v-0a8feca7]{width:100%;position:relative}.right-field[data-v-0a8feca7]{display:flex;justify-content:right;align-items:center;width:auto}.left-field[data-v-0a8feca7]{display:flex;justify-content:center;align-items:center;height:100%;width:auto}.text-field[data-v-0a8feca7]{width:var(--input-width-default);box-sizing:border-box}.text-field__label[data-v-0a8feca7]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--button-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-0a8feca7]{width:100%;font-size:var(--button-font-size-default);font-family:var(--base-font);background:var(--input-background);color:var(--input-font-color);margin:0;padding:9px 30px 6px 0;border:none;cursor:pointer}.text-field__input[data-v-0a8feca7]::placeholder{font-family:var(--base-font);font-size:var(--button-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-0a8feca7]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-0a8feca7]:disabled,.text-field__input[readonly][data-v-0a8feca7]{background-color:var(--input-readonly-background);opacity:1}.clear[data-v-0a8feca7]{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:10;display:flex;justify-content:center;align-items:center;background:var(--input-background);color:var(--input-font-color);transition:0;cursor:pointer}.arrow[data-v-0a8feca7]{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:9;display:flex;justify-content:center;align-items:center;background:var(--input-background);color:var(--input-font-color);transition:0;cursor:pointer}select[data-v-0a8feca7]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none}.sticky-block[data-v-832b5223]{box-sizing:border-box;position:sticky;top:0;left:0;font-family:var(--base-font);font-size:var(--font-size-default)}.string[data-v-98febd87]{box-sizing:border-box;max-width:100%;display:flex;align-items:center;background:inherit;font-family:var(--base-font);font-size:var(--font-size-default, 16px);-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-table{border:1px solid var(--table-border-color);border-collapse:collapse}.p-table th{font-weight:var(--table-th-font-weight);padding:var(--table-th-padding);background:var(--table-th-background);border:1px solid var(--table-border-color);color:var(--table-th-font-color);position:sticky;top:0}.p-table td{border:1px solid var(--table-border-color);padding:var(--table-td-padding);color:var(--table-td-font-color)}.p-table tbody tr:nth-child(odd){background:var(--table-th-background-odd);cursor:pointer}.p-table tbody tr:nth-child(2n){background:var(--table-th-background-even);cursor:pointer}.p-table tbody tr:hover{background:var(--table-th-background-hover)}[data-v-093d0d21],[data-v-093d0d21]:before,[data-v-093d0d21]:after{box-sizing:border-box}.field[data-v-093d0d21]{box-sizing:border-box;position:relative;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:var(--input-field-borderRadius-default);border:1px solid;padding:var(--input-padding-default);padding-right:var(--textarea-padding-default);margin:var(--input-margin-default);overflow:hidden}.right-field[data-v-093d0d21]{display:flex;justify-content:right;align-items:center;width:auto}.left-field[data-v-093d0d21]{display:flex;justify-content:center;align-items:center;height:100%;width:auto}.text-field[data-v-093d0d21]{width:var(--input-width-default)}.text-field__label[data-v-093d0d21]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--button-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-093d0d21]{width:100%;font-size:var(--button-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:auto;border:none}.text-field__input[data-v-093d0d21]::placeholder{font-family:var(--base-font);font-size:var(--button-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-093d0d21]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-093d0d21]:disabled,.text-field__input[readonly][data-v-093d0d21]{background-color:var(--input-readonly-background);opacity:1}[data-v-863b4aff]{box-sizing:border-box}.blur[data-v-863b4aff]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:3;background:#000;opacity:.3}.top-slider[data-v-863b4aff]{position:absolute;top:0;left:50%;transform:translate(-50%);background:#f5f5f5;z-index:4;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden;box-shadow:#00000059 0 5px 5px;transition:.3s;width:calc(100% - 300px);max-width:800px}.top-slider-content[data-v-863b4aff]{max-width:800px;display:flex;justify-content:center;align-items:center;height:calc(100% - 53px);margin:auto;padding:20px}.center[data-v-863b4aff]{width:100%}.click-line[data-v-863b4aff]{width:100%;position:absolute;bottom:0;right:0;height:55px;display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;min-height:40px;color:#343e5c;font-size:12px;text-transform:uppercase;cursor:pointer;padding:0 10px}@media screen and (max-width: 1024px){.click-line[data-v-863b4aff]{font-size:12px}}@media screen and (max-width: 768px){.click-line[data-v-863b4aff]{font-size:11px}.top-slider[data-v-863b4aff]{width:calc(100% - 100px)}.top-slider-content[data-v-863b4aff]{padding:10px}}@media screen and (max-width: 450px){.click-line[data-v-863b4aff]{line-height:12px}}@media screen and (max-width: 370px){.click-line[data-v-863b4aff]{font-size:10px;line-height:10px}.top-slider-content[data-v-863b4aff]{padding:8px}}.mainblock[data-v-52b3d807]{display:flex;justify-content:space-between;width:100%;height:auto}.mainblock-left[data-v-52b3d807]{position:relative;display:flex;justify-content:left;margin-right:30px;height:100%;left:0;z-index:10}.left-menu[data-v-52b3d807]{position:absolute;top:0;left:0;z-index:1;max-height:70vh;transition:.3s;overflow:hidden;overflow-y:auto;background:#fff}.mainblock-right[data-v-52b3d807]{position:relative;width:100%;max-height:100%}.title[data-v-52b3d807]{position:relative;display:flex;align-items:center;justify-content:center;width:100%}.icon[data-v-52b3d807]{position:absolute;top:50%;transform:translateY(-50%);left:16px;justify-content:center;align-items:center}.body[data-v-52b3d807]{width:100%}@media screen and (max-width: 768px){.title[data-v-52b3d807]{font-size:20px}}@media screen and (max-width: 500px){.title[data-v-52b3d807]{font-size:16px}}.mainblock[data-v-a7d519dd]{display:flex;justify-content:space-between;width:100%;height:auto}.mainblock-left[data-v-a7d519dd]{position:sticky;display:flex;justify-content:left;margin-right:30px;height:100%;left:0;z-index:10}.left-menu[data-v-a7d519dd]{position:relative;top:0;left:0;z-index:1;max-height:80vh;transition:.3s}.mainblock-right[data-v-a7d519dd]{position:relative;width:100%;max-height:100%}.title[data-v-a7d519dd]{display:flex;align-items:center;justify-content:center;width:100%}.icon[data-v-a7d519dd]{position:absolute;top:50%;transform:translateY(-50%);left:16px;justify-content:center;align-items:center}.body[data-v-a7d519dd]{width:100%}@media screen and (max-width: 768px){.title[data-v-a7d519dd]{font-size:20px}}@media screen and (max-width: 500px){.title[data-v-a7d519dd]{font-size:16px}}.grid-block[data-v-a3c4743c]{box-sizing:border-box;display:grid;margin-left:auto;margin-right:auto;justify-content:center;max-width:var(--d143e9f0);width:var(--b9d56180);background:var(--52bd0ff4);grid-gap:var(--1795aeac);grid-template-columns:var(--0cfa7c52);grid-template-rows:var(--0c6d2a1f);margin:var(--a3ccd918)}.event-name[data-v-c5b846b9]{height:auto}.event-name[data-v-c5b846b9]:hover{cursor:pointer;color:gray}.icon-close[data-v-c5b846b9]{position:absolute;top:0;right:0;width:20px;height:20px;fill:#343e5c;cursor:pointer;transition:.3s;padding:20px}.icon-close[data-v-c5b846b9]:hover{fill:#205bb8}.modal[data-v-c5b846b9]{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3}.modal-box[data-v-c5b846b9]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);align-items:center;justify-content:space-between;background:#fff;max-width:1344px;width:calc(100% - 40px);padding:20px;z-index:4;border-radius:10px}@keyframes movenext-c5b846b9{0%{margin-left:0;margin-top:0}48%{margin-left:-200%;margin-top:0}49%{margin-left:-200%;margin-top:-200%}50%{margin-left:200%;margin-top:-200%}51%{margin-left:200%;margin-top:0}to{margin-left:0;margin-top:0}}@keyframes moveprev-c5b846b9{0%{margin-right:0;margin-top:0}48%{margin-right:-200%;margin-top:0}49%{margin-right:-200%;margin-top:-200%}50%{margin-right:200%;margin-top:-200%}51%{margin-right:200%;margin-top:0}to{margin-right:0;margin-top:0}}.container[data-v-c5b846b9]{width:100%;height:calc(100% - 50px);display:flex;justify-content:space-between;align-items:center;box-sizing:border-box}.icon-arrow[data-v-c5b846b9]{width:30px;height:30px;border-radius:25px;padding:10px;background:#fff;cursor:pointer;transition:.1s}.icon-arrow[data-v-c5b846b9]:hover{background:#e3e3e3}.icon-arrow[data-v-c5b846b9]:active{background:#9d9d9d}.slide-box[data-v-c5b846b9]{position:relative;display:flex;justify-content:center;align-items:center;width:calc(100% - 60px);height:100%;z-index:2;overflow:hidden;box-sizing:border-box}.animationnext[data-v-c5b846b9]{position:absolute;animation:movenext-c5b846b9 var(--582c9d05) infinite;animation-timing-function:linear;animation-iteration-count:1;z-index:1}.animationprev[data-v-c5b846b9]{position:absolute;animation:moveprev-c5b846b9 var(--582c9d05) infinite;animation-timing-function:linear;animation-iteration-count:1;z-index:1}.image[data-v-c5b846b9]{height:auto;display:flex;justify-content:center;align-items:center;overflow:hidden}img[data-v-c5b846b9]{width:auto;-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:10px;cursor:pointer}.link-number[data-v-c5b846b9]{width:100%;display:flex;justify-content:center;align-items:center;transition:1s}.number[data-v-c5b846b9]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin:5px;border-radius:20px;color:#fff;transform:.5s;background:#e3e3e3;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.number[data-v-c5b846b9]:hover{background:#c3c3c3}.hidden[data-v-c5b846b9]{display:none}.label[data-v-c5b846b9]{max-width:100%;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;color:#9d9d9d}@media screen and (max-width: 1024px){.event-name[data-v-c5b846b9]{font-size:30px}}@media screen and (max-width: 768px){.label[data-v-c5b846b9]{font-size:12px}.icon-arrow[data-v-c5b846b9]{padding:0}.event-name[data-v-c5b846b9]{font-size:24px}}@media screen and (max-width: 480px){.label[data-v-c5b846b9]{height:40px;font-size:9px}.slide-box[data-v-c5b846b9]{position:relative;display:flex;justify-content:center;align-items:center;width:calc(100% - 20px);height:80%;z-index:2;overflow:hidden;box-sizing:border-box}.event-name[data-v-c5b846b9]{font-size:18px}}.context-window{position:fixed;border:1px solid #343e5c;border-radius:5px;background:#fff;z-index:10;width:300px;box-shadow:#00000059 0 5px 15px}.date-range[data-v-b93b6d46]{display:flex;justify-content:space-between;max-width:100%}.date-range[data-v-d28c6f33]{display:flex;max-width:300px;justify-content:left}.drop-item-name[data-v-97057f9c]{display:flex;justify-content:left;align-items:center;transition:var(--base-transition, 0s);color:var(--menu-font-color);cursor:pointer;background:var(--menu-background)}.drop-item-name[data-v-97057f9c]:hover{color:var(--menu-font-color-hovered);background:var(--menu-background-hovered)}.drop-item-list[data-v-97057f9c]{transition:.3s}[data-v-72984c94] .el-input__inner{border-radius:20px;padding-left:25px;height:34px;display:flex;font-family:Arial,Helvetica,sans-serif;font-size:15px}[data-v-72984c94] .el-input__inner::placeholder{color:#4a4a4a}[data-v-72984c94] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:15px;font-weight:700;margin-right:5px}.el-select[data-v-72984c94]{width:100%}[data-v-72984c94] .el-input__suffix{top:-2px}[data-v-72984c94] .el-form-item{padding:0 10px;margin:0}.el-form[data-v-72984c94]{width:100%}.filter-button[data-v-586481ea]{width:auto;height:23px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px;padding:10px}.anticon[data-v-586481ea]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-586481ea]:hover,.set[data-v-586481ea]{color:#5cb6ff}[data-v-586481ea] .el-input__inner{border-radius:20px;padding-left:25px;height:34px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-586481ea] .el-input__inner::placeholder{color:#4a4a4a}[data-v-586481ea] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-586481ea]{width:100%}[data-v-586481ea] .el-form-item{margin-bottom:0}.filter-button[data-v-ae66df57]{width:auto;height:23px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px;padding:10px}.anticon[data-v-ae66df57]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-ae66df57]:hover,.set[data-v-ae66df57]{color:#5cb6ff}[data-v-ae66df57] .el-input__inner{border-radius:20px;padding-left:25px;height:34px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-ae66df57] .el-input__inner::placeholder{color:#4a4a4a}[data-v-ae66df57] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-ae66df57]{width:100%}[data-v-ae66df57] .el-form-item{margin-bottom:0}.admin-add2[data-v-e280d85b]{border:none;background:inherit;color:#00b5a4;transition:.3s;cursor:pointer;margin-left:-6px}.admin-del[data-v-e280d85b]{border:none;background:inherit;color:#a3a9be;transition:.3s;cursor:pointer;margin-left:-6px}.filter-field[data-v-e280d85b]{width:100%;box-sizing:border-box;padding:0 0 0 10px;height:calc(100% - 110px);overflow-y:scroll;overflow-x:hidden}.tools-field[data-v-e280d85b]{display:block;box-sizing:border-box;width:100%;padding:0 8px 10px 10px}.button[data-v-e280d85b]{width:auto;height:34px;border-radius:5px;color:#006bb4;font-size:12px}[data-v-e280d85b] .button-register{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px}[data-v-e280d85b] .name-item{margin:0;width:auto;border-color:#fff;padding:0}.grid[data-v-e280d85b]{max-width:auto;grid-gap:10px;margin:0;grid-template-columns:repeat(auto-fit,minmax(99px,1fr))}.plus-button[data-v-e280d85b]{width:100%;height:34px;border-radius:5px;color:#00bea5;background:#c1efeb}.save-picker-button[data-v-e280d85b]{width:100%;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8}.gender-button[data-v-e280d85b]{width:42px;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:18px}.save-button[data-v-e280d85b]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}[data-v-e280d85b] .edit-button{min-width:40px;max-width:40px;height:40px;border-radius:5px;color:#006bb4;background:#dff2f8}[data-v-e280d85b] .files-buttons{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8;font-size:12px}[data-v-e280d85b] .files-buttons:hover{background:#dff2f8}.edv[data-v-e280d85b]{font-size:14px;padding:0;margin:0 5px 0 0}.edev-active[data-v-e280d85b]{color:#b0a4c0}.patient-name[data-v-e280d85b]{color:#006bb4;font-size:17px;min-width:150px;width:100%;padding:0}.hidden[data-v-e280d85b]{display:none}.scroll-block[data-v-e280d85b]{height:75vh;overflow:hidden;overflow-y:scroll;margin-left:8px}.registers-tooltip[data-v-e280d85b]:hover{cursor:pointer}.patient-link[data-v-e280d85b]:hover{cursor:pointer;text-decoration:underline}.tag-link[data-v-e280d85b]:hover{background-color:darken(white,10%);cursor:pointer}.flex-block[data-v-e280d85b]{width:100%;display:flex;justify-content:space-between;align-items:center}[data-v-e280d85b] .edit-icon{width:28px;height:28px;color:#006bb4}.item-flex[data-v-e280d85b]{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0 10px 0 0}.item-flex[data-v-e280d85b]:last-child{margin:10px 0}.line-item-left[data-v-e280d85b]{display:flex;justify-content:space-between;align-items:center;width:auto;padding:0}.line-item-right[data-v-e280d85b]{display:flex;justify-content:right;align-items:center;width:auto;padding:0}[data-v-e280d85b] .icon-plus{fill:#00b5a4;width:24px;height:24px;cursor:pointer}.icon-filter[data-v-e280d85b]{width:24px;height:24px;cursor:pointer;stroke:#006bb4;fill:none}.icon-del[data-v-e280d85b]{width:10px;height:10px;cursor:pointer}.patient-count[data-v-e280d85b]{margin-top:10px;font-size:14px}[data-v-e280d85b] .el-form-item{margin:8px 0 0}@media (max-width: 1915px){.flex-block[data-v-e280d85b]{width:100%;display:block;justify-content:space-between;align-items:center}.line-item[data-v-e280d85b]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}.item-flex[data-v-e280d85b]{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:10px}.item-flex[data-v-e280d85b]:last-child{margin-top:10px;margin-bottom:10px}}@media (max-width: 560px){.line-item-left[data-v-e280d85b]{margin:10px 0}.line-item-right[data-v-e280d85b]{margin:10px 0;justify-content:space-between}.item-flex[data-v-e280d85b]:first-child{display:block;width:100%;margin:0 0 10px}}.hidden[data-v-1056443d]{display:none}.general-block-item[data-v-1056443d]{position:relative;width:auto;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:.3s;text-align:center;overflow:hidden}.green[data-v-1056443d]{position:absolute;background:#c7ecea;top:0;left:0;width:80%;height:100%}.general-block-item-title[data-v-1056443d]{font-size:12px;color:#343e5c;display:flex;justify-content:center;align-items:center;text-align:center;z-index:1}.icon-del[data-v-1056443d]{width:32px;height:32px;cursor:pointer;fill:#343e5c}.icon-del[data-v-1056443d]:hover{fill:#1979cf}.tools-icon[data-v-1056443d]{display:flex;justify-content:right;align-items:center;position:absolute;top:50%;transform:translateY(-50%);right:10px}.inside-class[data-v-e8e8f1a1]{font-weight:400;padding:0 10px;width:100%;max-width:100%;min-width:50px;margin:0;height:40px}.hidden[data-v-e8e8f1a1]{display:none}.base-box[data-v-e8e8f1a1]{position:relative;box-sizing:border-box}.body[data-v-e8e8f1a1]{position:relative;display:flex;justify-content:left;transition:.15s;box-sizing:border-box}.top-title[data-v-e8e8f1a1]{position:absolute;z-index:1;top:-7px;right:5px;background:#fff;display:flex;justify-content:left;align-items:center;padding:0 3px}.close-window[data-v-e8e8f1a1]{display:flex;justify-content:left;align-items:center;width:100%;line-height:16px;font-size:14px}.open-window[data-v-e8e8f1a1]{justify-content:center;flex-direction:column;overflow:hidden;max-height:auto;padding:7px;width:calc(100% - 14px);margin-top:5px}.blur[data-v-e8e8f1a1]{position:fixed;top:0;width:100%;height:100%;z-index:1}[data-v-e8e8f1a1] .el-input__inner{border-color:#b0a4c0}[data-v-e8e8f1a1] .el-input__inner{height:37px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:14px;padding-left:0;padding-right:0;border:none;width:100%}.save-button[data-v-973addd1]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}.mainblock[data-v-42fa7104]{box-sizing:border-box;display:flex;justify-content:left;width:auto;height:auto;padding:10px}.mainline[data-v-42fa7104]{display:flex;justify-content:left;width:100%;height:auto}.mainblock-left[data-v-42fa7104]{position:relative;flex-direction:column;justify-content:center;align-items:flex-start;box-sizing:border-box}.mainblock-right[data-v-42fa7104]{display:flex;flex-direction:column;align-items:flex-start;justify-content:right;width:calc(100% - 10px);padding-left:10px;box-sizing:border-box}@media screen and (max-width: 600px){.mainblock[data-v-42fa7104]{padding:10px 0}.mainline[data-v-42fa7104]{display:block}.mainblock-right[data-v-42fa7104]{margin-top:20px;padding-left:0}}.message-title[data-v-4e49e31b],.message-text[data-v-4e49e31b]{display:flex;justify-content:center;align-items:center;height:auto;margin:auto}.fade-enter-active[data-v-4e49e31b],.fade-leave-active[data-v-4e49e31b]{transition:opacity .5s ease}.fade-enter-from[data-v-4e49e31b],.fade-leave-to[data-v-4e49e31b]{opacity:0}.hidden[data-v-64e76eb7]{display:none}.container[data-v-d02c66ef]{box-sizing:border-box;position:relative;margin:auto}.result[data-v-d02c66ef]{position:absolute;top:50px;left:10px;z-index:10000;width:calc(100% - 20px);max-height:200px;background:var(--background-color);border-radius:5px;overflow:hidden;overflow-y:auto}.search-list[data-v-d02c66ef]{list-style-type:none;cursor:pointer;height:100%;max-height:100%;margin:0;border:none;overflow:hidden}.search-list li[data-v-d02c66ef]{margin:10px 0}.message[data-v-aa85ea7a]{position:fixed;top:0;left:50%;z-index:9999;transform:translate(-50%);width:300px;margin:100px auto 0;border-radius:5px;box-sizing:border-box;min-height:50px;max-width:300px;transition:.3s;justify-content:center;align-items:center;padding:20px}.message-title[data-v-aa85ea7a],.message-text[data-v-aa85ea7a]{display:flex;justify-content:center;align-items:center;height:auto;margin:auto}.fade-enter-active[data-v-aa85ea7a],.fade-leave-active[data-v-aa85ea7a]{transition:opacity .5s ease}.fade-enter-from[data-v-aa85ea7a],.fade-leave-to[data-v-aa85ea7a]{opacity:0}.admin-add[data-v-51bf3f08]{border:none;background:inherit;color:#00b5a4;transition:.3s;cursor:pointer}.admin-del[data-v-51bf3f08]{position:absolute;top:23px;right:36px;border:none;background:inherit;color:#a3a9be;transition:.3s;cursor:pointer}.bottom-buttons[data-v-51bf3f08]{display:flex;justify-content:space-between;align-items:center;padding-right:15px}.contact-container[data-v-51bf3f08]{width:calc(100% - 62px);position:relative;padding:0 10px;border:1px solid #c3c3c3;border-radius:5px;margin:0 20px 20px;background:#dff2f8}.contact-container-item[data-v-51bf3f08]{position:relative;width:calc(100% - 42px);margin:0 10px 20px;border:1px solid #c3c3c3;border-radius:5px;padding:12px 10px;background:#f9fafb}.list-number[data-v-51bf3f08]{position:absolute;top:20px;right:10px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:#fff;background:#1979cf;border-radius:20px}.title[data-v-51bf3f08]{font-family:Open Sans,sans-serif;font-size:14px;color:#c4c4c4;margin:10px}[data-v-51bf3f08] .el-form-item__content{width:100%}[data-v-51bf3f08] .el-input__inner{border-radius:40px;padding-left:25px;height:32px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-51bf3f08] .el-input__inner::placeholder{color:#4a4a4a}[data-v-51bf3f08] .el-select .el-input .el-select__caret{color:#343e5c;font-size:15px;font-weight:700;margin-right:5px}.el-select[data-v-51bf3f08]{width:100%}[data-v-51bf3f08] .el-input__prefix{left:230px;top:-3px}[data-v-51bf3f08] .el-date-editor.el-input{width:100%}[data-v-51bf3f08] .el-input__icon{color:#343e5c}[data-v-51bf3f08] .el-input__suffix{top:-3px}[data-v-51bf3f08] .el-form-item__label{font-size:12px;color:#a3a9be;padding:0!important;text-transform:uppercase;margin-left:5px;height:30px}[data-v-51bf3f08] .el-input__prefix{left:auto;right:10px}[data-v-51bf3f08] .el-form-item{margin-bottom:10px}@media screen and (max-width: 400px){.contact-container[data-v-51bf3f08]{width:calc(100% - 42px);margin:0 10px 20px}.contact-container-item[data-v-51bf3f08]{width:calc(100% - 22px);margin:0 0 20px}.admin-del[data-v-51bf3f08]{padding:1px 0}.bottom-buttons[data-v-51bf3f08]{display:flex;justify-content:space-between;align-items:center;padding-right:5px}}.blur[data-v-0f1f2f84]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;opacity:.3;z-index:1002}.loader-container[data-v-0f1f2f84]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1003}.loader[data-v-0f1f2f84]{--b: 10px;--n: 10;--g: 10deg;--c: #ffffff;width:30px;aspect-ratio:1;border-radius:50%;padding:1px;background:conic-gradient(#0000,var(--c)) content-box;--_m: repeating-conic-gradient( #0000 0deg, #000 1deg calc(360deg / var(--n) - var(--g) - 1deg), #0000 calc(360deg / var(--n) - var(--g)) calc(360deg / var(--n)) ), radial-gradient(farthest-side, #0000 calc(98% - var(--b)), #000 calc(100% - var(--b)));-webkit-mask:var(--_m);mask:var(--_m);-webkit-mask-composite:destination-in;mask-composite:intersect;animation:load-0f1f2f84 1s infinite steps(var(--n))}@keyframes load-0f1f2f84{to{transform:rotate(1turn)}}.pag-container[data-v-416e9080]{display:flex;align-items:center;height:50px;width:100%}.pag-number[data-v-416e9080]{display:flex;justify-content:center;align-items:center;width:auto;max-width:300px;max-height:32px}.pag-ul[data-v-416e9080]{display:flex;justify-content:center;list-style-type:none;margin:0;padding:0}.registers-tooltip[data-v-416e9080]:hover{cursor:pointer}.flex-column[data-v-acf1a4c6]{width:100%;display:flex;flex-direction:column}.flex-row-between[data-v-acf1a4c6]{display:flex;justify-content:space-between;align-items:center}.flex-row-end[data-v-acf1a4c6]{display:flex;align-items:center;justify-content:flex-end}[data-v-acf1a4c6] .el-input__inner{padding-left:10px;height:34px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px;border-radius:5px;border:1px solid #c4c4c4}[data-v-acf1a4c6] .el-input__suffix{top:-2px}[data-v-acf1a4c6] .el-form-item{margin:0}.el-form[data-v-acf1a4c6]{width:100%}.el-icon-search[data-v-acf1a4c6]{margin-right:5px}.mainblock[data-v-367c3367]{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:auto}.mainblock-header[data-v-367c3367]{position:sticky;top:0;left:0;width:100%;height:auto;z-index:3}.mainblock-body[data-v-367c3367]{width:100%;padding-bottom:70px}.mainblock-footer[data-v-367c3367]{width:100%;height:auto}[data-v-262b1c53]{box-sizing:border-box}.right-slider[data-v-262b1c53]{position:fixed;display:flex;top:165px;right:0;background:#f5f5f5;z-index:3;height:75vh;border:$dark-border;border-top-left-radius:5px;border-bottom-left-radius:5px;overflow:hidden;box-shadow:#00000059 0 5px 5px;transition:.3s}.click-line[data-v-262b1c53]{display:flex;align-items:center;justify-content:center;width:35px;height:100%;writing-mode:vertical-lr;background:#c1efeb;background:#f5f5f5;cursor:pointer}.right-slider-content[data-v-262b1c53]{width:100%;height:calc(100% - 90px)}.right-slider-content-header[data-v-262b1c53]{display:flex;justify-content:center;align-items:center;width:100%;height:62px;margin-left:-1px;background:#f5f5f5}.right-slider-content-box[data-v-262b1c53]{width:100%;height:calc(100% - 33px);overflow:hidden;overflow-y:auto;padding:0 3px 10px 7px;box-shadow:inset 0 0 6px #0000004d;background:#f5f5f5}.right-slider-button[data-v-262b1c53]{position:absolute;bottom:0;right:0;height:62px;width:calc(100% - 30px);display:flex;justify-content:center;align-items:center;margin-left:-1px;background:#f5f5f5}@media (max-width: 1690px){.right-slider[data-v-262b1c53]{height:65vh;top:205px}}@media (max-width: 1436px){.right-slider[data-v-262b1c53]{top:205px}}@media (max-width: 1050px){.right-slider[data-v-262b1c53]{top:245px}}@media (max-width: 992px){.right-slider[data-v-262b1c53]{top:205px}}@media screen and (max-width: 822px){.right-slider[data-v-262b1c53]{top:245px}}.mainblock[data-v-0cfd77ce]{position:relative;display:flex;justify-content:left;width:auto;height:100%;padding:0;overflow:hidden}.slider-block[data-v-0cfd77ce]{position:absolute;top:8px;right:0;display:flex;justify-content:left;cursor:pointer;transition:.3s;z-index:10}.slider-icon[data-v-0cfd77ce]{min-width:91px;height:91px;margin-right:10px;box-shadow:#00000059 0 5px 5px;display:flex;justify-content:center;align-items:center}.icon-block[data-v-0cfd77ce]{display:flex;justify-content:center;align-items:center;transition:.3s}.tab-block[data-v-0cfd77ce]{width:110px;display:flex;flex-direction:column;overflow:hidden;margin-top:109px}.body-block[data-v-0cfd77ce]{position:relative;width:calc(100% - 110px);height:calc(100% - 10px);overflow:hidden;overflow-y:auto}@media screen and (max-width: 768px){.slider-icon[data-v-0cfd77ce]{min-width:42px;height:42px;margin-right:8px;box-shadow:#00000059 0 5px 5px;display:flex;justify-content:center;align-items:center}.tab-block[data-v-0cfd77ce]{width:50px;display:flex;flex-direction:column;overflow:hidden;margin-top:55px;cursor:pointer}.body-block[data-v-0cfd77ce]{position:relative;width:calc(100% - 55px);height:100%}}.red[data-v-36a59e2b]{background:red}[data-v-982338b4] .el-select__wrapper{min-height:38px;margin-top:7px}.anticon[data-v-982338b4]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-982338b4]:hover,.set[data-v-982338b4]{color:#5cb6ff}[data-v-982338b4] .el-input__inner{border-radius:5px;padding-left:10px;height:40px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-982338b4] .el-input__inner::placeholder{color:#4a4a4a}[data-v-982338b4] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-982338b4]{width:100%}[data-v-80f413ec] .el-select__wrapper{min-height:38px;margin-top:7px}.anticon[data-v-80f413ec]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-80f413ec]:hover,.set[data-v-80f413ec]{color:#5cb6ff}[data-v-80f413ec] .el-input__inner{border-radius:5px;padding-left:10px;height:40px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-80f413ec] .el-input__inner::placeholder{color:#4a4a4a}[data-v-80f413ec] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-80f413ec]{width:100%}.active[data-v-ecff678c]{background:inherit;border:1px solid #c4c4c4}.switch-container[data-v-ecff678c]{width:calc(100% - 2px);height:74px}.line[data-v-ecff678c]{position:relative;width:calc(100% - 20px);display:flex;justify-content:space-between;align-items:center;padding:10px}.line[data-v-ecff678c]:last-child{margin-top:5px}.switch-axis[data-v-ecff678c]{position:absolute;top:50%;left:50%;transform:translateY(-50%);transform:translate(-50%);width:calc(100% - 30px);height:1px;background:#b0a4c0}.switch-axis-dash1[data-v-ecff678c]{position:absolute;top:6px;left:14px;width:1px;height:9px;background:#b0a4c0}.switch-axis-dash2[data-v-ecff678c]{position:absolute;top:6px;left:50%;width:.5px;height:9px;background:#b0a4c0}.switch-axis-dash3[data-v-ecff678c]{position:absolute;top:6px;right:14px;width:1px;height:9px;background:#b0a4c0}.switch-knob1[data-v-ecff678c]{position:absolute;left:6px;width:16px;height:32px;background:#dff2f8;border-radius:2px;border:1px solid #006bb4;z-index:1;transition:.1s}.switch-knob2[data-v-ecff678c]{position:absolute;left:calc(50% - 9px);width:16px;height:32px;background:#dff2f8;border-radius:2px;border:1px solid #006bb4;z-index:1;transition:.1s}.switch-knob3[data-v-ecff678c]{position:absolute;right:6px;width:16px;height:32px;background:#dff2f8;border-radius:2px;border:1px solid #006bb4;z-index:1;transition:.1s}.flex[data-v-5023d414]{width:100%;box-sizing:border-box;display:flex;justify-content:left;align-items:center;padding:40px}.button[data-v-0794596f]{width:auto;height:34px;border-radius:5px;color:#006bb4;font-size:12px}.button-filter[data-v-0794596f]{background:#fff}.button-download[data-v-0794596f]{background:#dff2f8}[data-v-0794596f] .button-register{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px}[data-v-0794596f] .name-item{margin:0;width:auto;border-color:#fff;padding:0}.grid[data-v-0794596f]{max-width:auto;grid-gap:10px;margin:0;grid-template-columns:repeat(auto-fit,minmax(100%,1fr))}.plus-button[data-v-0794596f]{width:100%;height:34px;border-radius:5px;color:#00bea5;background:#c1efeb}.save-picker-button[data-v-0794596f]{width:100%;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8}.gender-button[data-v-0794596f]{width:42px;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:18px}.save-button[data-v-0794596f]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}[data-v-0794596f] .edit-button{min-width:40px;max-width:40px;height:40px;border-radius:5px;color:#006bb4;background:#dff2f8}[data-v-0794596f] .files-buttons{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8;font-size:12px}[data-v-0794596f] .files-buttons:hover{background:#dff2f8}.edv[data-v-0794596f]{font-size:14px;padding:0;margin:0 5px 0 0}.edv-active[data-v-0794596f]{color:#b0a4c0}.patient-name[data-v-0794596f]{color:#006bb4;font-size:17px;min-width:150px;width:100%;padding:0}.hidden[data-v-0794596f]{display:none}.scroll-block[data-v-0794596f]{height:75vh;overflow:hidden;overflow-y:scroll;margin-left:8px}.registers-tooltip[data-v-0794596f]:hover{cursor:pointer}.patient-link[data-v-0794596f]:hover{cursor:pointer;text-decoration:underline}.tag-link[data-v-0794596f]:hover{background-color:darken(white,10%);cursor:pointer}.flex-block[data-v-0794596f]{width:100%;display:flex;justify-content:space-between;align-items:center}[data-v-0794596f] .edit-icon{width:28px;height:28px;color:#006bb4}.item-flex[data-v-0794596f]{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0 10px 0 0}.item-flex[data-v-0794596f]:last-child{margin:10px 0}.line-item-left[data-v-0794596f]{display:flex;justify-content:space-between;align-items:center;width:auto;padding:0}.line-item-right[data-v-0794596f]{display:flex;justify-content:right;align-items:center;width:auto;padding:0}[data-v-0794596f] .icon-plus{fill:#00b5a4;width:24px;height:24px;cursor:pointer}.icon-filter[data-v-0794596f]{width:24px;height:24px;cursor:pointer;stroke:#006bb4;fill:none}.icon-del[data-v-0794596f]{width:10px;height:10px;cursor:pointer}.patient-count[data-v-0794596f]{margin-top:10px;font-size:14px}[data-v-0794596f] .el-form-item{margin:8px 0 0}@media (max-width: 1915px){.flex-block[data-v-0794596f]{width:100%;display:block;justify-content:space-between;align-items:center}.line-item[data-v-0794596f]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}.item-flex[data-v-0794596f]{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:10px}.item-flex[data-v-0794596f]:last-child{margin-top:10px;margin-bottom:10px}}@media (max-width: 560px){.line-item-left[data-v-0794596f]{margin:10px 0}.line-item-right[data-v-0794596f]{margin:10px 0;justify-content:space-between}.item-flex[data-v-0794596f]:first-child{display:block;width:100%;margin:0 0 10px}}[data-v-683131f5]{box-sizing:border-box}.blur[data-v-683131f5]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:3;background:#000;opacity:.3}.top-slider[data-v-683131f5]{position:absolute;top:0;left:50%;transform:translate(-50%);background:#f5f5f5;z-index:4;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden;box-shadow:#00000059 0 5px 5px;transition:.3s;width:calc(100% - 300px);max-width:800px}.top-slider-content[data-v-683131f5]{max-width:800px;display:flex;justify-content:center;align-items:center;height:calc(100% - 53px);margin:auto;padding:20px}.center[data-v-683131f5]{width:100%}.click-line[data-v-683131f5]{width:100%;position:absolute;bottom:0;right:0;height:55px;display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;min-height:40px;color:#343e5c;font-size:12px;text-transform:uppercase;cursor:pointer;padding:0 10px}@media screen and (max-width: 1024px){.click-line[data-v-683131f5]{font-size:12px}}@media screen and (max-width: 768px){.click-line[data-v-683131f5]{font-size:11px}.top-slider[data-v-683131f5]{width:calc(100% - 100px)}.top-slider-content[data-v-683131f5]{padding:10px}}@media screen and (max-width: 450px){.click-line[data-v-683131f5]{line-height:12px}}@media screen and (max-width: 370px){.click-line[data-v-683131f5]{font-size:10px;line-height:10px}.top-slider-content[data-v-683131f5]{padding:8px}}.hidden[data-v-94c18208],.hidden[data-v-d11e6069],.hidden[data-v-ca16a90c],.hidden[data-v-55ea5a5c],.hidden[data-v-99358e0a],.hidden[data-v-05547f14]{display:none}@keyframes ripple-05547f14{0%{transform:scale(1)}50%{transform:scale(1.15)}}.icon[data-v-05547f14]{animation-name:ripple-05547f14;animation-duration:1s;animation-iteration-count:infinite}.hidden[data-v-131f6ba1],.hidden[data-v-ec3439ce],.hidden[data-v-cd0d3c21],.hidden[data-v-98099ad2],.hidden[data-v-053c9917],.hidden[data-v-1798f31d],.hidden[data-v-c2e31ebb]{display:none}.tab[data-v-c2e31ebb]{position:relative;width:calc(100% - 10px);border:1px solid;border-color:var(--border-color-default);background:#fff;margin:10px 8px 2px 2px;cursor:pointer;transition:.15s}.tab-name[data-v-c2e31ebb]{position:relative;display:flex;min-height:60px;height:auto;align-items:center;font-weight:700;cursor:pointer}.tab input[data-v-c2e31ebb]{position:absolute;opacity:0;z-index:-1}.tab-content-down[data-v-c2e31ebb]{max-height:0;overflow:hidden;background:#fff;-webkit-transition:max-height .03s;-o-transition:max-height .03s;transition:max-height .03s;color:#343e5c;padding:0 5px}.tab-content-up[data-v-c2e31ebb]{max-height:500vh;overflow-y:scroll;overflow:hidden;background:#fff;-webkit-transition:max-height .5s;-o-transition:max-height .5s;transition:max-height .5s;color:#343e5c;padding-right:5px}.tab input:checked~.icon-arrow[data-v-c2e31ebb]{transform:rotate(180deg)}.tab input:checked~.tab-content-down[data-v-c2e31ebb]{max-height:100vh}.tab input:checked~.tab-content-up[data-v-c2e31ebb]{max-height:0}.tab label[data-v-c2e31ebb]:after{position:absolute;right:0;top:0;display:block;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s}.tab-window[data-v-c2e31ebb]{width:100%}.hidden[data-v-c2e31ebb]{display:none}.icon-arrow[data-v-c2e31ebb]{position:absolute;right:20px;top:20px;width:28px;height:28px;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;z-index:2}[data-v-c2e31ebb] .el-carousel__item{display:flex;align-items:flex-start;justify-content:space-evenly;flex-wrap:wrap}[data-v-c2e31ebb] .el-carousel__container{max-height:auto}[data-v-c2e31ebb] .el-form-item__label{width:100%;text-align:left}[data-v-c2e31ebb] .el-form-item{display:block}[data-v-c2e31ebb] .el-input__inner{height:40px}.hidden-part[data-v-c2e31ebb]{visibility:hidden;opacity:0}.tools-bar[data-v-c2e31ebb]{display:flex;position:absolute;top:20px;right:60px;justify-content:space-between;align-items:center}.inside-icon[data-v-c2e31ebb]{display:flex;position:absolute;top:20px;left:0;align-items:center;padding-left:4px}.tab-name:active>.tools-bar[data-v-c2e31ebb]{visibility:visible;opacity:1}.tab-name:hover>.tools-bar[data-v-c2e31ebb]{visibility:visible;opacity:1}.tab[data-v-c2e31ebb]:hover{box-shadow:0 0 1px 2px var(--collaps-item-shadow-color)}.title-in[data-v-c2e31ebb]{display:flex;font-family:Open Sans,sans-serif;font-size:16px;color:#303133;height:auto;align-items:center;font-weight:400;border-radius:5px}.tab[data-v-4ccaade5]{display:flex;height:100%;position:relative}.left[data-v-4ccaade5]{display:flex;justify-content:space-between;width:50%;height:100%;background:#fff;margin-right:6px;border-top-right-radius:5px;border-bottom-right-radius:5px}.left-content[data-v-4ccaade5]{overflow:hidden;border-top-right-radius:5px;border-bottom-right-radius:5px}.right[data-v-4ccaade5]{width:50%}.arrow-bar[data-v-4ccaade5]{display:flex;justify-content:center;width:20px;background:#00b5a4;color:#fff;position:relative;cursor:pointer;border-top-right-radius:5px;border-bottom-right-radius:5px}.arrow-bar[data-v-4ccaade5]:hover{background:#009f90}.rotate[data-v-4ccaade5]{padding-top:5px;writing-mode:vertical-rl}.icon-arrow[data-v-4ccaade5]{position:absolute;top:calc(50% - 10px);width:20px;height:20px;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;fill:#fff}.add-block[data-v-338720bc]{position:relative;box-sizing:border-box;border:1px solid;border-color:var(--border-color-default);min-height:10px}.add-block_body[data-v-338720bc]{position:relative;box-sizing:border-box;width:100%;overflow:hidden;overflow-y:auto}.add-block[data-v-b2b43a38]{position:relative;box-sizing:border-box;border:1px solid;border-color:var(--border-color);min-height:10px;background:#fff}.add-block_body[data-v-b2b43a38],.add-block_body[data-v-9464e4a8]{position:relative;box-sizing:border-box;width:100%;overflow:hidden;overflow-y:auto;background:#fff}.del-block[data-v-58d048aa]{position:relative;box-sizing:border-box;border-radius:5px;border:1px solid;border-color:var(--border-color-default);min-height:10px}.del-block_title[data-v-58d048aa]{width:100%}.del-block_body[data-v-58d048aa]{position:relative;width:100%;overflow:hidden;overflow-y:auto}.del-block[data-v-58d048aa]:hover{cursor:pointer;box-shadow:0 0 1px 2px var(--border-color-default, grey)}.blur[data-v-ece06e7d]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--modal-blur-background, #000000);opacity:var(--modal-blur-opacity, .3);z-index:1000}.icon-box[data-v-ece06e7d]{position:fixed;top:10px;color:var(--font-color);right:10px}.icon-box[data-v-ece06e7d]:hover{color:var(--font-color-focus);cursor:pointer}.modal-w[data-v-ece06e7d]{box-sizing:border-box;position:absolute;left:50%;transform:translate(-50%);z-index:1002;border-radius:5px;min-height:40px;background:var(--modal-window-background-color);color:var(--base-font-color);overflow:hidden;overflow-y:auto}.message[data-v-3714a37b]{position:fixed;top:6px;left:50%;z-index:9999;transform:translate(-50%);min-width:280px;max-width:600px;margin:100px auto 0;border-radius:5px;box-sizing:border-box;border:1px solid;min-height:50px;transition:.3s;display:flex;justify-content:center;align-items:center;box-shadow:#00000059 0 5px 5px;padding:20px;font-size:var(--notification-font-size);font-family:var(--base-font)}.info[data-v-3714a37b]{background:var(--notification-message-primary-background-color);border-color:var(--notification-message-primary-border-color);color:var(--notification-message-primary-font-color)}.success[data-v-3714a37b]{background:var(--notification-message-success-background-color);border-color:var(--notification-message-success-border-color);color:var(--notification-message-success-font-color)}.warning[data-v-3714a37b]{background:var(--notification-message-warning-background-color);border-color:var(--notification-message-warning-border-color);color:var(--notification-message-warning-font-color)}.error[data-v-3714a37b]{background:var(--notification-message-error-background-color);border-color:var(--notification-message-error-border-color);color:var(--notification-message-error-font-color)}.fade-enter-active[data-v-3714a37b],.fade-leave-active[data-v-3714a37b]{transition:opacity .5s ease}.fade-enter-from[data-v-3714a37b],.fade-leave-to[data-v-3714a37b]{opacity:0}.auth-card[data-v-b315f2c4]{box-sizing:border-box;margin:0 auto;color:var(--font-color);border-radius:8px;min-width:var(--auth-form-min-width, 280px)}.btn-group[data-v-b315f2c4]{box-sizing:border-box;display:block;margin:40px 0 0}.field[data-v-4f7966cb]{width:100%}.button[data-v-4f7966cb]{width:auto;height:34px;border-radius:5px;color:#006bb4;font-size:12px}.button-filter[data-v-4f7966cb]{background:#fff}.button-download[data-v-4f7966cb]{background:#dff2f8}[data-v-4f7966cb] .button-register{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px}[data-v-4f7966cb] .name-item{margin:0;width:auto;border-color:#fff;padding:0}.grid[data-v-4f7966cb]{max-width:auto;grid-gap:10px;margin:0;grid-template-columns:repeat(auto-fit,minmax(100%,1fr))}.plus-button[data-v-4f7966cb]{width:100%;height:34px;border-radius:5px;color:#00bea5;background:#c1efeb}.save-picker-button[data-v-4f7966cb]{width:100%;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8}.gender-button[data-v-4f7966cb]{width:42px;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:18px}.save-button[data-v-4f7966cb]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}[data-v-4f7966cb] .edit-button{min-width:40px;max-width:40px;height:40px;border-radius:5px;color:#006bb4;background:#dff2f8}[data-v-4f7966cb] .files-buttons{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8;font-size:12px}[data-v-4f7966cb] .files-buttons:hover{background:#dff2f8}.edv[data-v-4f7966cb]{font-size:14px;padding:0;margin:0 5px 0 0}.edv-active[data-v-4f7966cb]{color:#b0a4c0}.patient-name[data-v-4f7966cb]{color:#006bb4;font-size:17px;min-width:150px;width:100%;padding:0}.hidden[data-v-4f7966cb]{display:none}.scroll-block[data-v-4f7966cb]{height:75vh;overflow:hidden;overflow-y:scroll;margin-left:8px}.registers-tooltip[data-v-4f7966cb]:hover{cursor:pointer}.patient-link[data-v-4f7966cb]:hover{cursor:pointer;text-decoration:underline}.tag-link[data-v-4f7966cb]:hover{background-color:darken(white,10%);cursor:pointer}.flex-block[data-v-4f7966cb]{width:100%;display:flex;justify-content:space-between;align-items:center}[data-v-4f7966cb] .edit-icon{width:28px;height:28px;color:#006bb4}.item-flex[data-v-4f7966cb]{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0 10px 0 0}.item-flex[data-v-4f7966cb]:last-child{margin:10px 0}.line-item-left[data-v-4f7966cb]{display:flex;justify-content:space-between;align-items:center;width:auto;padding:0}.line-item-right[data-v-4f7966cb]{display:flex;justify-content:right;align-items:center;width:auto;padding:0}[data-v-4f7966cb] .icon-plus{fill:#00b5a4;width:24px;height:24px;cursor:pointer}.icon-filter[data-v-4f7966cb]{width:24px;height:24px;cursor:pointer;stroke:#006bb4;fill:none}.icon-del[data-v-4f7966cb]{width:10px;height:10px;cursor:pointer}.patient-count[data-v-4f7966cb]{margin-top:10px;font-size:14px}[data-v-4f7966cb] .el-form-item{margin:8px 0 0}@media (max-width: 1915px){.flex-block[data-v-4f7966cb]{width:100%;display:block;justify-content:space-between;align-items:center}.line-item[data-v-4f7966cb]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}.item-flex[data-v-4f7966cb]{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:10px}.item-flex[data-v-4f7966cb]:last-child{margin-top:10px;margin-bottom:10px}}@media (max-width: 560px){.line-item-left[data-v-4f7966cb]{margin:10px 0}.line-item-right[data-v-4f7966cb]{margin:10px 0;justify-content:space-between}.item-flex[data-v-4f7966cb]:first-child{display:block;width:100%;margin:0 0 10px}}.save-button[data-v-4f7966cb]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:10px 0 0;font-size:14px}[data-v-4f7966cb] .el-date-editor.el-input{width:100%}[data-v-4f7966cb] .el-form-item{display:block;margin-bottom:16px}[data-v-4f7966cb] .el-input__inner{height:40px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-4f7966cb] .el-form-item__label{padding:0!important;text-transform:uppercase;margin-left:5px;font-size:14px;margin-bottom:6px}[data-v-4f7966cb] .el-input-number__increase,[data-v-4f7966cb] .el-input-number__decrease{border-radius:0}[data-v-4f7966cb] .el-textarea__inner{font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}.mainblock[data-v-caa5b5d8]{box-sizing:border-box;display:block;border-radius:10px;border:1px solid;border-color:var(--tabs-border-color);overflow:hidden}.top-menu[data-v-caa5b5d8]{position:relative;margin:-1px;display:grid;grid-gap:0;grid-template-rows:repeat(0 0px);z-index:6}.top-menu>div[data-v-caa5b5d8]{object-fit:cover}.body-container[data-v-caa5b5d8]{margin-top:1px;border-top:.5px solid;border-color:var(--tabs-border-color);box-sizing:border-box;overflow:scroll;overflow:hidden;overflow-y:auto}.tab[data-v-caa5b5d8]{font-size:var(--font-size-default);text-transform:uppercase;color:var(--tabs-font-color);border:1px solid;border-bottom:none;border-color:var(--tabs-border-color);display:flex;justify-content:center;align-items:center;cursor:pointer;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;background:var(--tabs-background);margin:-.5px;font-family:var(--base-font)}.tab[data-v-caa5b5d8]:hover{background:var(--tabs-hover-background-color)}.selected-tab[data-v-caa5b5d8]{font-size:var(--font-size-default);text-transform:uppercase;color:var(--tabs-selected-font-color);border:1px solid;border-bottom:none;border-color:var(--tabs-border-color);position:relative;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;background:var(--tabs-background-selected);margin:-.5px;z-index:1;font-family:var(--base-font)}.selected-tab[data-v-caa5b5d8]:hover{background:var(--tabs-background-selected)}[data-v-f75088a4],[data-v-f75088a4]:before,[data-v-f75088a4]:after{box-sizing:border-box}.field[data-v-f75088a4]{box-sizing:border-box;position:relative;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:var(--input-field-borderRadius-default);border:1px solid;padding:var(--input-padding-default);margin:var(--input-margin-default);overflow:hidden;width:100%}.right-field[data-v-f75088a4]{display:flex;justify-content:right;align-items:center;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);white-space:nowrap}.left-field[data-v-f75088a4]{display:flex;justify-content:center;align-items:center;height:100%;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);white-space:nowrap}.text-field[data-v-f75088a4]{width:var(--input-width-default)}.text-field__label[data-v-f75088a4]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-f75088a4]{width:100%;font-size:var(--inpur-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:var(--input-height, 30px);border:none;display:flex;align-items:center}.text-field__input[data-v-f75088a4]::placeholder{font-family:var(--base-font);font-size:var(--inpur-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-f75088a4]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-f75088a4]:disabled,.text-field__input[readonly][data-v-f75088a4]{background-color:var(--input-readonly-background);opacity:1}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.dialog-footer[data-v-f6679fb3]{margin-top:20px;display:flex;justify-content:flex-end}.background-container[data-v-f6679fb3]{width:auto;padding:10px;margin:0 20px;background:var(--uploader-background);border-radius:5px}@media only screen and (max-width: 480px){.background-container[data-v-f6679fb3]{width:auto;padding:10px;margin:0 10px 10px}}.hidden[data-v-24be7852],.hidden[data-v-dd770f25],.hidden[data-v-92c28425]{display:none}.ins[data-v-2c8f03ca]{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.change[data-v-2c8f03ca]{color:var(--uploader-image-change-color)}.change[data-v-2c8f03ca]:hover{color:var(--uploader-image-change-color-hovered)}.del[data-v-2c8f03ca]{color:var(--uploader-image-del-color)}.del[data-v-2c8f03ca]:hover{color:var(--uploader-image-del-color-hovered)}.img-container[data-v-2c8f03ca]{position:relative;box-sizing:border-box;overflow:hidden;min-width:95px;min-height:120px;margin:20px auto;text-align:center;border:1px dashed;border-color:var(--uploader-image-border-color);cursor:pointer;border-radius:5px;opacity:1}.img-container[data-v-2c8f03ca]:hover{border-color:var(--uploader-image-border-color-hovered)}.add-button[data-v-2c8f03ca]{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;box-sizing:border-box;color:var(--uploader-image-add-color)}.add-button[data-v-2c8f03ca]:hover{color:var(--uploader-image-add-color-hovered)}.tools-button[data-v-2c8f03ca]{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;box-sizing:border-box;font-size:20px;opacity:0}.tools-button[data-v-2c8f03ca]:hover{background:#000;opacity:.8}.img-block[data-v-2c8f03ca]{box-sizing:border-box;display:flex;justify-content:center;width:auto}
1
+ .p-button_base[data-v-814c9b41]{box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;margin:0;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:var(--button-primary-medium-borderRadius-default);width:100%;max-width:300px;min-width:40px;font-size:var(--button-font-size-default);font-family:var(--base-font);-webkit-user-select:none;-ms-user-select:none;user-select:none;box-shadow:var(--button-box-shadow)}.p-button_base_info[data-v-814c9b41]{border:1px solid var(--button-info-background);background:var(--button-info-background);color:var(--button-info-font-color)}.p-button_base_info[data-v-814c9b41]:hover{background:var(--button-info-background-hovered);border:1px solid var(--button-info-background-hovered)}.p-button_base_primary[data-v-814c9b41]{border:1px solid var(--button-primary-background);background:var(--button-primary-background);color:var(--button-primary-font-color)}.p-button_base_primary[data-v-814c9b41]:hover{background:var(--button-primary-background-hovered);border:1px solid var(--button-primary-background-hovered)}.p-button_base_additional[data-v-814c9b41]{border:1px solid var(--button-additional-background);background:var(--button-additional-background);color:var(--button-additional-font-color)}.p-button_base_additional[data-v-814c9b41]:hover{background:var(--button-additional-background-hovered);border:1px solid var(--button-additional-background-hovered)}.p-button_base_success[data-v-814c9b41]{border:1px solid var(--button-success-background);background:var(--button-success-background);color:var(--button-success-font-color)}.p-button_base_success[data-v-814c9b41]:hover{background:var(--button-success-background-hovered);border:1px solid var(--button-success-background-hovered)}.p-button_base_warning[data-v-814c9b41]{border:1px solid var(--button-warning-background);background:var(--button-warning-background);color:var(--button-warning-font-color)}.p-button_base_warning[data-v-814c9b41]:hover{background:var(--button-warning-background-hovered);border:1px solid var(--button-warning-background-hovered)}.p-button_base_danger[data-v-814c9b41]{border:1px solid var(--button-error-background);background:var(--button-error-background);color:var(--button-error-font-color)}.p-button_base_danger[data-v-814c9b41]:hover{background:var(--button-error-background-hovered);border:1px solid var(--button-error-background-hovered)}.p-button_base_neutral[data-v-814c9b41]{border:1px solid var(--button-neutral-background);background:var(--button-neutral-background);color:var(--button-neutral-font-color)}.p-button_base_neutral[data-v-814c9b41]:hover{background:var(--button-neutral-background-hovered);border:1px solid var(--button-neutral-background-hovered)}.p-button_base_disabled[data-v-814c9b41]{border:1px solid var(--button-neutral-background);background:var(--button-neutral-background);color:var(--button-neutral-font-color-disabled);cursor:auto}.p-button_base_disabled[data-v-814c9b41]:hover{background:var(--button-neutral-background);border:1px solid var(--button-neutral-font-color)}.p-button_base_xs[data-v-814c9b41]{min-height:12px;max-height:12px}.p-button_base_x[data-v-814c9b41]{min-height:24px;max-height:24px}.p-button_base_m[data-v-814c9b41]{min-height:32px;max-height:32px}.p-button_base_l[data-v-814c9b41]{min-height:40px;max-height:40px}.p-button_text[data-v-814c9b41]{border:none;margin:var(--button-primary-medium-whiteSpace-gap);box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:none;height:auto;width:auto;background:none;font-family:var(--base-font);font-size:var(--button-font-size-default);-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-button_text_icon[data-v-814c9b41]{color:var(--font-color);margin:0;padding:0}.p-button_text_icon[data-v-814c9b41]:hover{color:var(--font-color-focus)}.p-button_text_info[data-v-814c9b41]{color:var(--button-info-background)}.p-button_text_info[data-v-814c9b41]:hover{color:var(--button-info-background-hovered)}.p-button_text_primary[data-v-814c9b41]{color:var(--button-primary-background)}.p-button_text_primary[data-v-814c9b41]:hover{color:var(--button-primary-background-hovered)}.p-button_text_additional[data-v-814c9b41]{color:var(--button-additional-background)}.p-button_text_additional[data-v-814c9b41]:hover{color:var(--button-additional-background-hovered)}.p-button_text_success[data-v-814c9b41]{color:var(--button-success-background)}.p-button_text_success[data-v-814c9b41]:hover{color:var(--button-success-background-hovered)}.p-button_text_warning[data-v-814c9b41]{color:var(--button-warning-background)}.p-button_text_warning[data-v-814c9b41]:hover{color:var(--button-warning-background-hovered)}.p-button_text_danger[data-v-814c9b41]{color:var(--button-error-background)}.p-button_text_danger[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_text_neutral[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_neutral[data-v-814c9b41]:hover{color:var(--button-neutral-background-hovered)}.p-button_text_del[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_del[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_pag[data-v-814c9b41]{display:flex;justify-content:center;align-items:center;border:none;transition:var(--transition-default);cursor:pointer;min-width:32px;max-width:32px;min-height:32px;max-height:32px;border-radius:3px;margin:0 4px;font-family:var(--base-font);font-size:var(--button-font-size-default);overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-button_pag_neutral[data-v-814c9b41]{background:var(--button-pagination-background);color:var(--button-pagination-font-color)}.p-button_pag_neutral[data-v-814c9b41]:hover{background:var(--button-pagination-background);color:var(--button-pagination-font-color-hovered)}.p-button_pag_active[data-v-814c9b41]{background:var(--button-pagination-background-pressed);color:var(--button-pagination-font-color-pressed)}.p-button_pag_not-active[data-v-814c9b41]{background:var(--button-pagination-background);color:var(--button-pagination-font-color-disabled);cursor:not-allowed}.p-button_text_ano[data-v-814c9b41]{border:none;margin:var(--button-primary-medium-whiteSpace-gap);box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:none;height:auto;width:auto;background:none;font-family:var(--base-font);font-size:var(--button-font-size-default);-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-button_text_ano_info[data-v-814c9b41]{color:var(--button-info-background)}.p-button_text_ano_info[data-v-814c9b41]:hover{color:var(--button-info-background-hovered)}.p-button_text_ano_primary[data-v-814c9b41]{color:var(--font-color)}.p-button_text_ano_primary[data-v-814c9b41]:hover{color:var(--font-color-focus)}.p-button_text_ano_additional[data-v-814c9b41]{color:var(--button-additional-background)}.p-button_text_ano_additional[data-v-814c9b41]:hover{color:var(--button-additional-background-hovered)}.p-button_text_ano_success[data-v-814c9b41]{color:var(--button-success-background)}.p-button_text_ano_success[data-v-814c9b41]:hover{color:var(--button-success-background-hovered)}.p-button_text_ano_warning[data-v-814c9b41]{color:var(--button-warning-background)}.p-button_text_ano_warning[data-v-814c9b41]:hover{color:var(--button-warning-background-hovered)}.p-button_text_ano_danger[data-v-814c9b41]{color:var(--button-error-background)}.p-button_text_ano_danger[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_text_ano_neutral[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_ano_neutral[data-v-814c9b41]:hover{color:var(--button-neutral-background-hovered)}.p-button_text_ano_del[data-v-814c9b41]{color:var(--button-neutral-background)}.p-button_text_ano_del[data-v-814c9b41]:hover{color:var(--button-error-background-hovered)}.p-button_invert[data-v-814c9b41]{box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden;margin:0;padding:var(--button-primary-medium-whiteSpace-padding-vertical),var(--button-primary-medium-whiteSpace-padding-horizontal);border-radius:200px;width:auto;max-width:300px;min-width:40px;font-size:var(--button-font-size-default);font-family:var(--base-font);-webkit-user-select:none;-ms-user-select:none;user-select:none;box-shadow:var(--button-box-shadow)}.p-button_invert_primary[data-v-814c9b41]{border:1px solid var(--palette-primary-base);background:var(--palette-primary-base-5);color:var(--palette-primary-base)}.p-button_invert_primary[data-v-814c9b41]:hover{border:1px solid var(--palette-primary-base);background:var(--palette-primary-base-4);color:var(--palette-primary-base)}.p-button_invert_primary[data-v-814c9b41]:active{border:1px solid var(--palette-primary-base);background:var(--palette-primary-base);color:var(--palette-white)}.p-button_invert_primary2[data-v-814c9b41]{border:1px solid var(--palette-primary2-base);background:var(--palette-primary2-base-5);color:var(--palette-primary2-base)}.p-button_invert_primary2[data-v-814c9b41]:hover{border:1px solid var(--palette-primary2-base);background:var(--palette-primary2-base-4);color:var(--palette-primary2-base)}.p-button_invert_primary2[data-v-814c9b41]:active{border:1px solid var(--palette-primary2-base);background:var(--palette-primary2-base);color:var(--palette-white)}.p-button_invert_primary3[data-v-814c9b41]{border:1px solid var(--palette-primary3-base);background:var(--palette-primary3-base-5);color:var(--palette-primary3-base)}.p-button_invert_primary3[data-v-814c9b41]:hover{border:1px solid var(--palette-primary3-base);background:var(--palette-primary3-base-4);color:var(--palette-primary3-base)}.p-button_invert_primary3[data-v-814c9b41]:active{border:1px solid var(--palette-primary3-base);background:var(--palette-primary3-base);color:var(--palette-white)}.p-button_invert_primary4[data-v-814c9b41]{border:1px solid var(--palette-primary4-base);background:var(--palette-primary4-base-5);color:var(--palette-primary4-base)}.p-button_invert_primary4[data-v-814c9b41]:hover{border:1px solid var(--palette-primary4-base);background:var(--palette-primary4-base-4);color:var(--palette-primary4-base)}.p-button_invert_primary4[data-v-814c9b41]:active{border:1px solid var(--palette-primary4-base);background:var(--palette-primary4-base);color:var(--palette-white)}.p-button_invert_success[data-v-814c9b41]{border:1px solid var(--palette-success);background:var(--palette-success-5);color:var(--palette-success)}.p-button_invert_success[data-v-814c9b41]:hover{border:1px solid var(--palette-success);background:var(--palette-success-4);color:var(--palette-success)}.p-button_invert_success[data-v-814c9b41]:active{border:1px solid var(--palette-success);background:var(--palette-success);color:var(--palette-white)}.p-button_invert_warning[data-v-814c9b41]{border:1px solid var(--palette-warning);background:var(--palette-warning-5);color:var(--palette-warning)}.p-button_invert_warning[data-v-814c9b41]:hover{border:1px solid var(--palette-warning);background:var(--palette-warning-4);color:var(--palette-warning)}.p-button_invert_warning[data-v-814c9b41]:active{border:1px solid var(--palette-warning);background:var(--palette-warning);color:var(--palette-white)}.p-button_invert_danger[data-v-814c9b41]{border:1px solid var(--palette-error);background:var(--palette-error-5);color:var(--palette-error)}.p-button_invert_danger[data-v-814c9b41]:hover{border:1px solid var(--palette-error);background:var(--palette-error-4);color:var(--palette-error)}.p-button_invert_danger[data-v-814c9b41]:active{border:1px solid var(--palette-error);background:var(--palette-error);color:var(--palette-white)}.p-button_invert_neutral[data-v-814c9b41]{border:1px solid var(--palette-grey-6);background:var(--palette-grey-1);color:var(--palette-grey-6)}.p-button_invert_neutral[data-v-814c9b41]:hover{border:1px solid var(--palette-grey-6);background:var(--palette-grey-3);color:var(--palette-grey-6)}.p-button_invert_neutral[data-v-814c9b41]:active{border:1px solid var(--palette-grey-6);background:var(--palette-grey-6);color:var(--palette-white)}.p-button_invert_disabled[data-v-814c9b41]{border:1px solid var(--button-neutral-background);background:var(--button-neutral-background);color:var(--button-neutral-font-color-disabled);cursor:auto}.p-button_invert_disabled[data-v-814c9b41]:hover,.p-button_invert_disabled[data-v-814c9b41]:active{background:var(--button-neutral-background);border:1px solid var(--button-neutral-font-color)}.p-button_invert_xs[data-v-814c9b41]{min-height:12px;max-height:12px}.p-button_invert_x[data-v-814c9b41]{min-height:24px;max-height:24px}.p-button_invert_m[data-v-814c9b41]{min-height:32px;max-height:32px}.p-button_invert_l[data-v-814c9b41]{min-height:40px;max-height:40px}.hidden[data-v-48c8e6e2]{display:none}.icon[data-v-48c8e6e2]{box-sizing:border-box;padding:0}.check-line[data-v-85407c13]{align-items:center;display:flex;justify-content:left;margin:0 auto;box-sizing:border-box;padding:10px 0}.box[data-v-85407c13]{position:relative;border:1px solid;border-color:var(--checkbox-border-color);border-radius:var(--checkbox-border-radius-default);box-sizing:border-box;margin-right:10px}.check-icon[data-v-85407c13]{box-sizing:border-box;position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0}.check-field__label[data-v-85407c13]{box-sizing:border-box;display:flex;justify-content:left;align-items:center;font-family:var(--base-font);color:var(--checkbox-label-color);-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.check-field__label[data-v-85407c13]:hover{color:var(--checkbox-border-color-hovered)}.check-field__label:hover>.box[data-v-85407c13]{border-color:var(--checkbox-border-color-hovered);color:var(--checkbox-border-color-hovered)}.check-field__input[data-v-85407c13]{display:none}[data-v-60c7417a],[data-v-60c7417a]:before,[data-v-60c7417a]:after{box-sizing:border-box}.field[data-v-60c7417a]{position:relative;display:flex;justify-content:left;align-items:center;overflow:hidden}.right-field[data-v-60c7417a]{display:flex;justify-content:right;align-items:center;width:auto}.left-field[data-v-60c7417a]{display:flex;justify-content:center;align-items:center;height:100%;width:auto}.text-field__label[data-v-60c7417a]{display:flex;justify-content:left;align-items:center;width:100%}.text-field__input[data-v-60c7417a]{width:100%}.text-field__input[data-v-60c7417a]:focus{outline:0}.text-field__input[data-v-60c7417a]:disabled,.text-field__input[readonly][data-v-60c7417a]{opacity:1}.flex-line[data-v-d9fdfe7d]{position:relative;box-sizing:border-box;display:flex;justify-content:left;align-items:center;background:inherit;color:inherit}[data-v-b4bcb814],[data-v-b4bcb814]:before,[data-v-b4bcb814]:after{box-sizing:border-box}.field[data-v-b4bcb814]{box-sizing:border-box;position:relative;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:var(--input-field-borderRadius-default);border:1px solid;padding:var(--input-padding-default);margin:var(--input-margin-default);overflow:hidden}.right-field[data-v-b4bcb814]{display:flex;justify-content:right;align-items:center;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default)}.left-field[data-v-b4bcb814]{display:flex;justify-content:center;align-items:center;height:100%;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default)}.text-field[data-v-b4bcb814]{width:var(--input-width-default)}.text-field__label[data-v-b4bcb814]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-b4bcb814]{width:100%;font-size:var(--inpur-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:var(--input-height, 30px);border:none;display:flex;align-items:center}.text-field__input[data-v-b4bcb814]::placeholder{font-family:var(--base-font);font-size:var(--inpur-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-b4bcb814]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-b4bcb814]:disabled,.text-field__input[readonly][data-v-b4bcb814]{background-color:var(--input-readonly-background);opacity:1}input[data-v-b4bcb814]:-webkit-autofill{box-shadow:0 0 0 1000px var(--background-color, #000000) inset!important;-webkit-text-fill-color:var(--font-color, #ffffff)!important}.hidden[data-v-1f1f064c],.hidden[data-v-582bd65a]{display:none}.text-field[data-v-b75e0cb2]{width:var(--input-width-default)}.text-field__label[data-v-b75e0cb2]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);margin:var(--input-label-margin)}.number-minus[data-v-b75e0cb2]{position:absolute;top:1px;left:1px;bottom:1px;width:40px;padding:0;display:flex;justify-content:center;align-items:center;border:none;border-right:1px solid #ddd;background:#f5f7fa;cursor:pointer;overflow:hidden}.number-minus:hover>.icon-minus[data-v-b75e0cb2]{transform:scale(1.2);opacity:1;transition:0s}.number-minus:active>.icon-minus[data-v-b75e0cb2]{transform:scale(1.2);opacity:.8}.icon-minus[data-v-b75e0cb2],.icon-minus-disabled[data-v-b75e0cb2]{color:#828587;cursor:pointer;transition:.3s;opacity:.8;display:flex;justify-content:center;align-items:center}.input-field[data-v-b75e0cb2]{cursor:text!important;font-size:var(--inpur-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:var(--input-height, 30px)}.input-field[data-v-b75e0cb2]:disabled,.input-field[readonly][data-v-b75e0cb2]{background-color:var(--input-readonly-background);opacity:1}.number-plus[data-v-b75e0cb2]{position:absolute;top:1px;right:1px;bottom:1px;width:40px;padding:0;display:flex;justify-content:center;align-items:center;border:none;border-left:1px solid #ddd;background:#f5f7fa;cursor:pointer;overflow:hidden}.number-plus:hover>.icon-plus[data-v-b75e0cb2]{transform:scale(1.2);opacity:1;transition:0s}.number-plus:active>.icon-plus[data-v-b75e0cb2]{transform:scale(1.2);opacity:.8}.icon-plus[data-v-b75e0cb2],.icon-plus-disabled[data-v-b75e0cb2]{color:#828587;cursor:pointer;transition:.3s;opacity:.8;display:flex;justify-content:center;align-items:center}.number[data-v-b75e0cb2]{display:inline-block;position:relative;width:190px;background:#fff;margin:10px 0;border-radius:3px}.number input[type=number][data-v-b75e0cb2]{display:block;height:40px;line-height:40px;width:100%;padding:0;margin:0;box-sizing:border-box;text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;background:#fff;cursor:pointer}.number input[type=number][data-v-b75e0cb2]::-webkit-outer-spin-button,.number input[type=number][data-v-b75e0cb2]::-webkit-inner-spin-button{display:none}input[type=number][data-v-b75e0cb2]{background:#fff;vertical-align:top;outline:none;padding:0;height:40px;line-height:40px;display:inline-block;width:100%;box-sizing:border-box;border:1px solid #ddd;font-size:14px;border-radius:3px}input[type=number][data-v-b75e0cb2]:focus{outline:0px solid #ffffff}.LS-body[data-v-d68a122a]{top:0;left:0;min-height:inherit;display:flex;height:100%;overflow-y:auto;overflow-x:hidden;padding:0;z-index:999;font-family:var(--base-font);font-size:var(--font-size-default);transition:var(--transition-default, 0);-webkit-user-select:none;-ms-user-select:none;user-select:none}.click-line[data-v-d68a122a]{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:100%;writing-mode:vertical-lr;border-left:1px solid;border-right:1px solid;cursor:pointer;border-color:var(--left-slider-click-line-border-color);background:var(--left-slider-click-line-background);color:var(--left-slider-click-line-font-color);font-family:var(--base-font);font-size:var(--font-size-default);padding:0 2px 0 0}.click-line[data-v-d68a122a]:hover{background:var(--left-slider-click-line-background-hovered);color:var(--left-slider-click-line-font-color-hovered)}.LS-content[data-v-d68a122a]{position:relative;box-sizing:border-box;width:100%;height:100%;background:var(--background-color)}[data-v-eaa10a96],[data-v-eaa10a96]:before,[data-v-eaa10a96]:after{box-sizing:border-box}[data-v-77d1fac6],[data-v-77d1fac6]:before,[data-v-77d1fac6]:after{box-sizing:border-box}li[data-v-77d1fac6]{padding:8px 16px;list-style-type:none;cursor:pointer;color:var(--list-font-color);border-color:var(--divider-color, #eeeeee);box-sizing:border-box}li[data-v-77d1fac6]:last-of-type{border-bottom:none}li[data-v-77d1fac6]:hover{background:var(--list-background-color-hovered, #eeeeee)}li[data-v-77d1fac6]:active{color:var(--list-font-color-pressed, #eeeeee)}.radio-line[data-v-25033aee]{align-items:center;display:flex;justify-content:left;margin:0 auto;box-sizing:border-box;padding:10px 0}.box[data-v-25033aee]{position:relative;border:1px solid;border-color:var(--checkbox-border-color);border-radius:100px;box-sizing:border-box;margin-right:10px}.radio-dot[data-v-25033aee]{box-sizing:border-box;position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0;background:var(--checkbox-border-color);border-radius:100px}.radio-field__label[data-v-25033aee]{box-sizing:border-box;display:flex;justify-content:left;align-items:center;font-family:var(--base-font);color:var(--checkbox-label-color);-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.radio-field__label[data-v-25033aee]:hover{color:var(--checkbox-border-color-hovered)}.radio-field__label:hover>.box[data-v-25033aee]{border-color:var(--checkbox-border-color-hovered);color:var(--checkbox-border-color-hovered)}.radio-field__input[data-v-25033aee]{display:none}.wrapper[data-v-45d26c84]{position:relative;display:flex}.content[data-v-45d26c84]{box-sizing:border-box;width:100%;overflow-y:auto}.RS-body[data-v-45d26c84]{box-sizing:border-box;right:0;min-height:inherit;display:flex;height:100%;padding:0;z-index:999;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--base-font);font-size:var(--font-size-default);transition:var(--transition-default, 0)}.click-line[data-v-45d26c84]{display:flex;align-items:center;justify-content:center;height:100%;writing-mode:vertical-lr;border-right:1px solid;border-left:1px solid;cursor:pointer;border-color:var(--right-slider-click-line-border-color);background:var(--right-slider-click-line-background);color:var(--right-slider-click-line-font-color);font-family:var(--base-font);font-size:var(--font-size-default);padding:0 2px 0 0}.click-line[data-v-45d26c84]:hover{background:var(--right-slider-click-line-background-hovered);color:var(--right-slider-click-line-font-color-hovered)}.RS-content[data-v-45d26c84]{box-sizing:border-box;height:auto;overflow-y:auto;overflow-x:hidden}.hidden[data-v-cbcad2a0],.hidden[data-v-4d8b581f]{display:none}[data-v-0a8feca7],[data-v-0a8feca7]:before,[data-v-0a8feca7]:after{box-sizing:border-box}option[data-v-0a8feca7]{padding:0}.field[data-v-0a8feca7]{box-sizing:border-box;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:100px;border:1px solid;border-radius:var(--input-field-borderRadius-default);border-color:var(--input-border-color);padding:var(--input-padding-default);margin:var(--input-margin-default);overflow:hidden}.sl[data-v-0a8feca7]{width:100%;position:relative}.right-field[data-v-0a8feca7]{display:flex;justify-content:right;align-items:center;width:auto}.left-field[data-v-0a8feca7]{display:flex;justify-content:center;align-items:center;height:100%;width:auto}.text-field[data-v-0a8feca7]{width:var(--input-width-default);box-sizing:border-box}.text-field__label[data-v-0a8feca7]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--button-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-0a8feca7]{width:100%;font-size:var(--button-font-size-default);font-family:var(--base-font);background:var(--input-background);color:var(--input-font-color);margin:0;padding:9px 30px 6px 0;border:none;cursor:pointer}.text-field__input[data-v-0a8feca7]::placeholder{font-family:var(--base-font);font-size:var(--button-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-0a8feca7]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-0a8feca7]:disabled,.text-field__input[readonly][data-v-0a8feca7]{background-color:var(--input-readonly-background);opacity:1}.clear[data-v-0a8feca7]{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:10;display:flex;justify-content:center;align-items:center;background:var(--input-background);color:var(--input-font-color);transition:0;cursor:pointer}.arrow[data-v-0a8feca7]{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:9;display:flex;justify-content:center;align-items:center;background:var(--input-background);color:var(--input-font-color);transition:0;cursor:pointer}select[data-v-0a8feca7]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none}.sticky-block[data-v-832b5223]{box-sizing:border-box;position:sticky;top:0;left:0;font-family:var(--base-font);font-size:var(--font-size-default)}.string[data-v-98febd87]{box-sizing:border-box;max-width:100%;display:flex;align-items:center;background:inherit;font-family:var(--base-font);font-size:var(--font-size-default, 16px);-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-table{border:1px solid var(--table-border-color);border-collapse:collapse}.p-table th{font-weight:var(--table-th-font-weight);padding:var(--table-th-padding);background:var(--table-th-background);border:1px solid var(--table-border-color);color:var(--table-th-font-color);position:sticky;top:0}.p-table td{border:1px solid var(--table-border-color);padding:var(--table-td-padding);color:var(--table-td-font-color)}.p-table tbody tr:nth-child(odd){background:var(--table-th-background-odd);cursor:pointer}.p-table tbody tr:nth-child(2n){background:var(--table-th-background-even);cursor:pointer}.p-table tbody tr:hover{background:var(--table-th-background-hover)}[data-v-093d0d21],[data-v-093d0d21]:before,[data-v-093d0d21]:after{box-sizing:border-box}.field[data-v-093d0d21]{box-sizing:border-box;position:relative;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:var(--input-field-borderRadius-default);border:1px solid;padding:var(--input-padding-default);padding-right:var(--textarea-padding-default);margin:var(--input-margin-default);overflow:hidden}.right-field[data-v-093d0d21]{display:flex;justify-content:right;align-items:center;width:auto}.left-field[data-v-093d0d21]{display:flex;justify-content:center;align-items:center;height:100%;width:auto}.text-field[data-v-093d0d21]{width:var(--input-width-default)}.text-field__label[data-v-093d0d21]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--button-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-093d0d21]{width:100%;font-size:var(--button-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:auto;border:none}.text-field__input[data-v-093d0d21]::placeholder{font-family:var(--base-font);font-size:var(--button-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-093d0d21]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-093d0d21]:disabled,.text-field__input[readonly][data-v-093d0d21]{background-color:var(--input-readonly-background);opacity:1}[data-v-863b4aff]{box-sizing:border-box}.blur[data-v-863b4aff]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:3;background:#000;opacity:.3}.top-slider[data-v-863b4aff]{position:absolute;top:0;left:50%;transform:translate(-50%);background:#f5f5f5;z-index:4;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden;box-shadow:#00000059 0 5px 5px;transition:.3s;width:calc(100% - 300px);max-width:800px}.top-slider-content[data-v-863b4aff]{max-width:800px;display:flex;justify-content:center;align-items:center;height:calc(100% - 53px);margin:auto;padding:20px}.center[data-v-863b4aff]{width:100%}.click-line[data-v-863b4aff]{width:100%;position:absolute;bottom:0;right:0;height:55px;display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;min-height:40px;color:#343e5c;font-size:12px;text-transform:uppercase;cursor:pointer;padding:0 10px}@media screen and (max-width: 1024px){.click-line[data-v-863b4aff]{font-size:12px}}@media screen and (max-width: 768px){.click-line[data-v-863b4aff]{font-size:11px}.top-slider[data-v-863b4aff]{width:calc(100% - 100px)}.top-slider-content[data-v-863b4aff]{padding:10px}}@media screen and (max-width: 450px){.click-line[data-v-863b4aff]{line-height:12px}}@media screen and (max-width: 370px){.click-line[data-v-863b4aff]{font-size:10px;line-height:10px}.top-slider-content[data-v-863b4aff]{padding:8px}}.mainblock[data-v-52b3d807]{display:flex;justify-content:space-between;width:100%;height:auto}.mainblock-left[data-v-52b3d807]{position:relative;display:flex;justify-content:left;margin-right:30px;height:100%;left:0;z-index:10}.left-menu[data-v-52b3d807]{position:absolute;top:0;left:0;z-index:1;max-height:70vh;transition:.3s;overflow:hidden;overflow-y:auto;background:#fff}.mainblock-right[data-v-52b3d807]{position:relative;width:100%;max-height:100%}.title[data-v-52b3d807]{position:relative;display:flex;align-items:center;justify-content:center;width:100%}.icon[data-v-52b3d807]{position:absolute;top:50%;transform:translateY(-50%);left:16px;justify-content:center;align-items:center}.body[data-v-52b3d807]{width:100%}@media screen and (max-width: 768px){.title[data-v-52b3d807]{font-size:20px}}@media screen and (max-width: 500px){.title[data-v-52b3d807]{font-size:16px}}.mainblock[data-v-a7d519dd]{display:flex;justify-content:space-between;width:100%;height:auto}.mainblock-left[data-v-a7d519dd]{position:sticky;display:flex;justify-content:left;margin-right:30px;height:100%;left:0;z-index:10}.left-menu[data-v-a7d519dd]{position:relative;top:0;left:0;z-index:1;max-height:80vh;transition:.3s}.mainblock-right[data-v-a7d519dd]{position:relative;width:100%;max-height:100%}.title[data-v-a7d519dd]{display:flex;align-items:center;justify-content:center;width:100%}.icon[data-v-a7d519dd]{position:absolute;top:50%;transform:translateY(-50%);left:16px;justify-content:center;align-items:center}.body[data-v-a7d519dd]{width:100%}@media screen and (max-width: 768px){.title[data-v-a7d519dd]{font-size:20px}}@media screen and (max-width: 500px){.title[data-v-a7d519dd]{font-size:16px}}.grid-block[data-v-a3c4743c]{box-sizing:border-box;display:grid;margin-left:auto;margin-right:auto;justify-content:center;max-width:var(--d143e9f0);width:var(--b9d56180);background:var(--52bd0ff4);grid-gap:var(--1795aeac);grid-template-columns:var(--0cfa7c52);grid-template-rows:var(--0c6d2a1f);margin:var(--a3ccd918)}.event-name[data-v-c5b846b9]{height:auto}.event-name[data-v-c5b846b9]:hover{cursor:pointer;color:gray}.icon-close[data-v-c5b846b9]{position:absolute;top:0;right:0;width:20px;height:20px;fill:#343e5c;cursor:pointer;transition:.3s;padding:20px}.icon-close[data-v-c5b846b9]:hover{fill:#205bb8}.modal[data-v-c5b846b9]{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3}.modal-box[data-v-c5b846b9]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);align-items:center;justify-content:space-between;background:#fff;max-width:1344px;width:calc(100% - 40px);padding:20px;z-index:4;border-radius:10px}@keyframes movenext-c5b846b9{0%{margin-left:0;margin-top:0}48%{margin-left:-200%;margin-top:0}49%{margin-left:-200%;margin-top:-200%}50%{margin-left:200%;margin-top:-200%}51%{margin-left:200%;margin-top:0}to{margin-left:0;margin-top:0}}@keyframes moveprev-c5b846b9{0%{margin-right:0;margin-top:0}48%{margin-right:-200%;margin-top:0}49%{margin-right:-200%;margin-top:-200%}50%{margin-right:200%;margin-top:-200%}51%{margin-right:200%;margin-top:0}to{margin-right:0;margin-top:0}}.container[data-v-c5b846b9]{width:100%;height:calc(100% - 50px);display:flex;justify-content:space-between;align-items:center;box-sizing:border-box}.icon-arrow[data-v-c5b846b9]{width:30px;height:30px;border-radius:25px;padding:10px;background:#fff;cursor:pointer;transition:.1s}.icon-arrow[data-v-c5b846b9]:hover{background:#e3e3e3}.icon-arrow[data-v-c5b846b9]:active{background:#9d9d9d}.slide-box[data-v-c5b846b9]{position:relative;display:flex;justify-content:center;align-items:center;width:calc(100% - 60px);height:100%;z-index:2;overflow:hidden;box-sizing:border-box}.animationnext[data-v-c5b846b9]{position:absolute;animation:movenext-c5b846b9 var(--582c9d05) infinite;animation-timing-function:linear;animation-iteration-count:1;z-index:1}.animationprev[data-v-c5b846b9]{position:absolute;animation:moveprev-c5b846b9 var(--582c9d05) infinite;animation-timing-function:linear;animation-iteration-count:1;z-index:1}.image[data-v-c5b846b9]{height:auto;display:flex;justify-content:center;align-items:center;overflow:hidden}img[data-v-c5b846b9]{width:auto;-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:10px;cursor:pointer}.link-number[data-v-c5b846b9]{width:100%;display:flex;justify-content:center;align-items:center;transition:1s}.number[data-v-c5b846b9]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin:5px;border-radius:20px;color:#fff;transform:.5s;background:#e3e3e3;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.number[data-v-c5b846b9]:hover{background:#c3c3c3}.hidden[data-v-c5b846b9]{display:none}.label[data-v-c5b846b9]{max-width:100%;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;color:#9d9d9d}@media screen and (max-width: 1024px){.event-name[data-v-c5b846b9]{font-size:30px}}@media screen and (max-width: 768px){.label[data-v-c5b846b9]{font-size:12px}.icon-arrow[data-v-c5b846b9]{padding:0}.event-name[data-v-c5b846b9]{font-size:24px}}@media screen and (max-width: 480px){.label[data-v-c5b846b9]{height:40px;font-size:9px}.slide-box[data-v-c5b846b9]{position:relative;display:flex;justify-content:center;align-items:center;width:calc(100% - 20px);height:80%;z-index:2;overflow:hidden;box-sizing:border-box}.event-name[data-v-c5b846b9]{font-size:18px}}.context-window{position:fixed;border:1px solid #343e5c;border-radius:5px;background:#fff;z-index:10;width:300px;box-shadow:#00000059 0 5px 15px}.date-range[data-v-b93b6d46]{display:flex;justify-content:space-between;max-width:100%}.date-range[data-v-d28c6f33]{display:flex;max-width:300px;justify-content:left}.drop-item-name[data-v-97057f9c]{display:flex;justify-content:left;align-items:center;transition:var(--base-transition, 0s);color:var(--menu-font-color);cursor:pointer;background:var(--menu-background)}.drop-item-name[data-v-97057f9c]:hover{color:var(--menu-font-color-hovered);background:var(--menu-background-hovered)}.drop-item-list[data-v-97057f9c]{transition:.3s}[data-v-72984c94] .el-input__inner{border-radius:20px;padding-left:25px;height:34px;display:flex;font-family:Arial,Helvetica,sans-serif;font-size:15px}[data-v-72984c94] .el-input__inner::placeholder{color:#4a4a4a}[data-v-72984c94] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:15px;font-weight:700;margin-right:5px}.el-select[data-v-72984c94]{width:100%}[data-v-72984c94] .el-input__suffix{top:-2px}[data-v-72984c94] .el-form-item{padding:0 10px;margin:0}.el-form[data-v-72984c94]{width:100%}.filter-button[data-v-586481ea]{width:auto;height:23px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px;padding:10px}.anticon[data-v-586481ea]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-586481ea]:hover,.set[data-v-586481ea]{color:#5cb6ff}[data-v-586481ea] .el-input__inner{border-radius:20px;padding-left:25px;height:34px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-586481ea] .el-input__inner::placeholder{color:#4a4a4a}[data-v-586481ea] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-586481ea]{width:100%}[data-v-586481ea] .el-form-item{margin-bottom:0}.filter-button[data-v-ae66df57]{width:auto;height:23px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px;padding:10px}.anticon[data-v-ae66df57]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-ae66df57]:hover,.set[data-v-ae66df57]{color:#5cb6ff}[data-v-ae66df57] .el-input__inner{border-radius:20px;padding-left:25px;height:34px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-ae66df57] .el-input__inner::placeholder{color:#4a4a4a}[data-v-ae66df57] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-ae66df57]{width:100%}[data-v-ae66df57] .el-form-item{margin-bottom:0}.admin-add2[data-v-e280d85b]{border:none;background:inherit;color:#00b5a4;transition:.3s;cursor:pointer;margin-left:-6px}.admin-del[data-v-e280d85b]{border:none;background:inherit;color:#a3a9be;transition:.3s;cursor:pointer;margin-left:-6px}.filter-field[data-v-e280d85b]{width:100%;box-sizing:border-box;padding:0 0 0 10px;height:calc(100% - 110px);overflow-y:scroll;overflow-x:hidden}.tools-field[data-v-e280d85b]{display:block;box-sizing:border-box;width:100%;padding:0 8px 10px 10px}.button[data-v-e280d85b]{width:auto;height:34px;border-radius:5px;color:#006bb4;font-size:12px}[data-v-e280d85b] .button-register{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px}[data-v-e280d85b] .name-item{margin:0;width:auto;border-color:#fff;padding:0}.grid[data-v-e280d85b]{max-width:auto;grid-gap:10px;margin:0;grid-template-columns:repeat(auto-fit,minmax(99px,1fr))}.plus-button[data-v-e280d85b]{width:100%;height:34px;border-radius:5px;color:#00bea5;background:#c1efeb}.save-picker-button[data-v-e280d85b]{width:100%;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8}.gender-button[data-v-e280d85b]{width:42px;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:18px}.save-button[data-v-e280d85b]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}[data-v-e280d85b] .edit-button{min-width:40px;max-width:40px;height:40px;border-radius:5px;color:#006bb4;background:#dff2f8}[data-v-e280d85b] .files-buttons{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8;font-size:12px}[data-v-e280d85b] .files-buttons:hover{background:#dff2f8}.edv[data-v-e280d85b]{font-size:14px;padding:0;margin:0 5px 0 0}.edev-active[data-v-e280d85b]{color:#b0a4c0}.patient-name[data-v-e280d85b]{color:#006bb4;font-size:17px;min-width:150px;width:100%;padding:0}.hidden[data-v-e280d85b]{display:none}.scroll-block[data-v-e280d85b]{height:75vh;overflow:hidden;overflow-y:scroll;margin-left:8px}.registers-tooltip[data-v-e280d85b]:hover{cursor:pointer}.patient-link[data-v-e280d85b]:hover{cursor:pointer;text-decoration:underline}.tag-link[data-v-e280d85b]:hover{background-color:darken(white,10%);cursor:pointer}.flex-block[data-v-e280d85b]{width:100%;display:flex;justify-content:space-between;align-items:center}[data-v-e280d85b] .edit-icon{width:28px;height:28px;color:#006bb4}.item-flex[data-v-e280d85b]{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0 10px 0 0}.item-flex[data-v-e280d85b]:last-child{margin:10px 0}.line-item-left[data-v-e280d85b]{display:flex;justify-content:space-between;align-items:center;width:auto;padding:0}.line-item-right[data-v-e280d85b]{display:flex;justify-content:right;align-items:center;width:auto;padding:0}[data-v-e280d85b] .icon-plus{fill:#00b5a4;width:24px;height:24px;cursor:pointer}.icon-filter[data-v-e280d85b]{width:24px;height:24px;cursor:pointer;stroke:#006bb4;fill:none}.icon-del[data-v-e280d85b]{width:10px;height:10px;cursor:pointer}.patient-count[data-v-e280d85b]{margin-top:10px;font-size:14px}[data-v-e280d85b] .el-form-item{margin:8px 0 0}@media (max-width: 1915px){.flex-block[data-v-e280d85b]{width:100%;display:block;justify-content:space-between;align-items:center}.line-item[data-v-e280d85b]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}.item-flex[data-v-e280d85b]{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:10px}.item-flex[data-v-e280d85b]:last-child{margin-top:10px;margin-bottom:10px}}@media (max-width: 560px){.line-item-left[data-v-e280d85b]{margin:10px 0}.line-item-right[data-v-e280d85b]{margin:10px 0;justify-content:space-between}.item-flex[data-v-e280d85b]:first-child{display:block;width:100%;margin:0 0 10px}}.hidden[data-v-1056443d]{display:none}.general-block-item[data-v-1056443d]{position:relative;width:auto;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:.3s;text-align:center;overflow:hidden}.green[data-v-1056443d]{position:absolute;background:#c7ecea;top:0;left:0;width:80%;height:100%}.general-block-item-title[data-v-1056443d]{font-size:12px;color:#343e5c;display:flex;justify-content:center;align-items:center;text-align:center;z-index:1}.icon-del[data-v-1056443d]{width:32px;height:32px;cursor:pointer;fill:#343e5c}.icon-del[data-v-1056443d]:hover{fill:#1979cf}.tools-icon[data-v-1056443d]{display:flex;justify-content:right;align-items:center;position:absolute;top:50%;transform:translateY(-50%);right:10px}.inside-class[data-v-e8e8f1a1]{font-weight:400;padding:0 10px;width:100%;max-width:100%;min-width:50px;margin:0;height:40px}.hidden[data-v-e8e8f1a1]{display:none}.base-box[data-v-e8e8f1a1]{position:relative;box-sizing:border-box}.body[data-v-e8e8f1a1]{position:relative;display:flex;justify-content:left;transition:.15s;box-sizing:border-box}.top-title[data-v-e8e8f1a1]{position:absolute;z-index:1;top:-7px;right:5px;background:#fff;display:flex;justify-content:left;align-items:center;padding:0 3px}.close-window[data-v-e8e8f1a1]{display:flex;justify-content:left;align-items:center;width:100%;line-height:16px;font-size:14px}.open-window[data-v-e8e8f1a1]{justify-content:center;flex-direction:column;overflow:hidden;max-height:auto;padding:7px;width:calc(100% - 14px);margin-top:5px}.blur[data-v-e8e8f1a1]{position:fixed;top:0;width:100%;height:100%;z-index:1}[data-v-e8e8f1a1] .el-input__inner{border-color:#b0a4c0}[data-v-e8e8f1a1] .el-input__inner{height:37px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:14px;padding-left:0;padding-right:0;border:none;width:100%}.save-button[data-v-973addd1]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}.mainblock[data-v-42fa7104]{box-sizing:border-box;display:flex;justify-content:left;width:auto;height:auto;padding:10px}.mainline[data-v-42fa7104]{display:flex;justify-content:left;width:100%;height:auto}.mainblock-left[data-v-42fa7104]{position:relative;flex-direction:column;justify-content:center;align-items:flex-start;box-sizing:border-box}.mainblock-right[data-v-42fa7104]{display:flex;flex-direction:column;align-items:flex-start;justify-content:right;width:calc(100% - 10px);padding-left:10px;box-sizing:border-box}@media screen and (max-width: 600px){.mainblock[data-v-42fa7104]{padding:10px 0}.mainline[data-v-42fa7104]{display:block}.mainblock-right[data-v-42fa7104]{margin-top:20px;padding-left:0}}.message-title[data-v-4e49e31b],.message-text[data-v-4e49e31b]{display:flex;justify-content:center;align-items:center;height:auto;margin:auto}.fade-enter-active[data-v-4e49e31b],.fade-leave-active[data-v-4e49e31b]{transition:opacity .5s ease}.fade-enter-from[data-v-4e49e31b],.fade-leave-to[data-v-4e49e31b]{opacity:0}.hidden[data-v-64e76eb7]{display:none}.container[data-v-d02c66ef]{box-sizing:border-box;position:relative;margin:auto}.result[data-v-d02c66ef]{position:absolute;top:50px;left:10px;z-index:10000;width:calc(100% - 20px);max-height:200px;background:var(--background-color);border-radius:5px;overflow:hidden;overflow-y:auto}.search-list[data-v-d02c66ef]{list-style-type:none;cursor:pointer;height:100%;max-height:100%;margin:0;border:none;overflow:hidden}.search-list li[data-v-d02c66ef]{margin:10px 0}.message[data-v-aa85ea7a]{position:fixed;top:0;left:50%;z-index:9999;transform:translate(-50%);width:300px;margin:100px auto 0;border-radius:5px;box-sizing:border-box;min-height:50px;max-width:300px;transition:.3s;justify-content:center;align-items:center;padding:20px}.message-title[data-v-aa85ea7a],.message-text[data-v-aa85ea7a]{display:flex;justify-content:center;align-items:center;height:auto;margin:auto}.fade-enter-active[data-v-aa85ea7a],.fade-leave-active[data-v-aa85ea7a]{transition:opacity .5s ease}.fade-enter-from[data-v-aa85ea7a],.fade-leave-to[data-v-aa85ea7a]{opacity:0}.admin-add[data-v-51bf3f08]{border:none;background:inherit;color:#00b5a4;transition:.3s;cursor:pointer}.admin-del[data-v-51bf3f08]{position:absolute;top:23px;right:36px;border:none;background:inherit;color:#a3a9be;transition:.3s;cursor:pointer}.bottom-buttons[data-v-51bf3f08]{display:flex;justify-content:space-between;align-items:center;padding-right:15px}.contact-container[data-v-51bf3f08]{width:calc(100% - 62px);position:relative;padding:0 10px;border:1px solid #c3c3c3;border-radius:5px;margin:0 20px 20px;background:#dff2f8}.contact-container-item[data-v-51bf3f08]{position:relative;width:calc(100% - 42px);margin:0 10px 20px;border:1px solid #c3c3c3;border-radius:5px;padding:12px 10px;background:#f9fafb}.list-number[data-v-51bf3f08]{position:absolute;top:20px;right:10px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:#fff;background:#1979cf;border-radius:20px}.title[data-v-51bf3f08]{font-family:Open Sans,sans-serif;font-size:14px;color:#c4c4c4;margin:10px}[data-v-51bf3f08] .el-form-item__content{width:100%}[data-v-51bf3f08] .el-input__inner{border-radius:40px;padding-left:25px;height:32px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-51bf3f08] .el-input__inner::placeholder{color:#4a4a4a}[data-v-51bf3f08] .el-select .el-input .el-select__caret{color:#343e5c;font-size:15px;font-weight:700;margin-right:5px}.el-select[data-v-51bf3f08]{width:100%}[data-v-51bf3f08] .el-input__prefix{left:230px;top:-3px}[data-v-51bf3f08] .el-date-editor.el-input{width:100%}[data-v-51bf3f08] .el-input__icon{color:#343e5c}[data-v-51bf3f08] .el-input__suffix{top:-3px}[data-v-51bf3f08] .el-form-item__label{font-size:12px;color:#a3a9be;padding:0!important;text-transform:uppercase;margin-left:5px;height:30px}[data-v-51bf3f08] .el-input__prefix{left:auto;right:10px}[data-v-51bf3f08] .el-form-item{margin-bottom:10px}@media screen and (max-width: 400px){.contact-container[data-v-51bf3f08]{width:calc(100% - 42px);margin:0 10px 20px}.contact-container-item[data-v-51bf3f08]{width:calc(100% - 22px);margin:0 0 20px}.admin-del[data-v-51bf3f08]{padding:1px 0}.bottom-buttons[data-v-51bf3f08]{display:flex;justify-content:space-between;align-items:center;padding-right:5px}}.blur[data-v-0f1f2f84]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;opacity:.3;z-index:1002}.loader-container[data-v-0f1f2f84]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1003}.loader[data-v-0f1f2f84]{--b: 10px;--n: 10;--g: 10deg;--c: #ffffff;width:30px;aspect-ratio:1;border-radius:50%;padding:1px;background:conic-gradient(#0000,var(--c)) content-box;--_m: repeating-conic-gradient( #0000 0deg, #000 1deg calc(360deg / var(--n) - var(--g) - 1deg), #0000 calc(360deg / var(--n) - var(--g)) calc(360deg / var(--n)) ), radial-gradient(farthest-side, #0000 calc(98% - var(--b)), #000 calc(100% - var(--b)));-webkit-mask:var(--_m);mask:var(--_m);-webkit-mask-composite:destination-in;mask-composite:intersect;animation:load-0f1f2f84 1s infinite steps(var(--n))}@keyframes load-0f1f2f84{to{transform:rotate(1turn)}}.pag-container[data-v-416e9080]{display:flex;align-items:center;height:50px;width:100%}.pag-number[data-v-416e9080]{display:flex;justify-content:center;align-items:center;width:auto;max-width:300px;max-height:32px}.pag-ul[data-v-416e9080]{display:flex;justify-content:center;list-style-type:none;margin:0;padding:0}.registers-tooltip[data-v-416e9080]:hover{cursor:pointer}.flex-column[data-v-acf1a4c6]{width:100%;display:flex;flex-direction:column}.flex-row-between[data-v-acf1a4c6]{display:flex;justify-content:space-between;align-items:center}.flex-row-end[data-v-acf1a4c6]{display:flex;align-items:center;justify-content:flex-end}[data-v-acf1a4c6] .el-input__inner{padding-left:10px;height:34px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px;border-radius:5px;border:1px solid #c4c4c4}[data-v-acf1a4c6] .el-input__suffix{top:-2px}[data-v-acf1a4c6] .el-form-item{margin:0}.el-form[data-v-acf1a4c6]{width:100%}.el-icon-search[data-v-acf1a4c6]{margin-right:5px}.mainblock[data-v-367c3367]{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:auto}.mainblock-header[data-v-367c3367]{position:sticky;top:0;left:0;width:100%;height:auto;z-index:3}.mainblock-body[data-v-367c3367]{width:100%;padding-bottom:70px}.mainblock-footer[data-v-367c3367]{width:100%;height:auto}[data-v-262b1c53]{box-sizing:border-box}.right-slider[data-v-262b1c53]{position:fixed;display:flex;top:165px;right:0;background:#f5f5f5;z-index:3;height:75vh;border:$dark-border;border-top-left-radius:5px;border-bottom-left-radius:5px;overflow:hidden;box-shadow:#00000059 0 5px 5px;transition:.3s}.click-line[data-v-262b1c53]{display:flex;align-items:center;justify-content:center;width:35px;height:100%;writing-mode:vertical-lr;background:#c1efeb;background:#f5f5f5;cursor:pointer}.right-slider-content[data-v-262b1c53]{width:100%;height:calc(100% - 90px)}.right-slider-content-header[data-v-262b1c53]{display:flex;justify-content:center;align-items:center;width:100%;height:62px;margin-left:-1px;background:#f5f5f5}.right-slider-content-box[data-v-262b1c53]{width:100%;height:calc(100% - 33px);overflow:hidden;overflow-y:auto;padding:0 3px 10px 7px;box-shadow:inset 0 0 6px #0000004d;background:#f5f5f5}.right-slider-button[data-v-262b1c53]{position:absolute;bottom:0;right:0;height:62px;width:calc(100% - 30px);display:flex;justify-content:center;align-items:center;margin-left:-1px;background:#f5f5f5}@media (max-width: 1690px){.right-slider[data-v-262b1c53]{height:65vh;top:205px}}@media (max-width: 1436px){.right-slider[data-v-262b1c53]{top:205px}}@media (max-width: 1050px){.right-slider[data-v-262b1c53]{top:245px}}@media (max-width: 992px){.right-slider[data-v-262b1c53]{top:205px}}@media screen and (max-width: 822px){.right-slider[data-v-262b1c53]{top:245px}}.mainblock[data-v-0cfd77ce]{position:relative;display:flex;justify-content:left;width:auto;height:100%;padding:0;overflow:hidden}.slider-block[data-v-0cfd77ce]{position:absolute;top:8px;right:0;display:flex;justify-content:left;cursor:pointer;transition:.3s;z-index:10}.slider-icon[data-v-0cfd77ce]{min-width:91px;height:91px;margin-right:10px;box-shadow:#00000059 0 5px 5px;display:flex;justify-content:center;align-items:center}.icon-block[data-v-0cfd77ce]{display:flex;justify-content:center;align-items:center;transition:.3s}.tab-block[data-v-0cfd77ce]{width:110px;display:flex;flex-direction:column;overflow:hidden;margin-top:109px}.body-block[data-v-0cfd77ce]{position:relative;width:calc(100% - 110px);height:calc(100% - 10px);overflow:hidden;overflow-y:auto}@media screen and (max-width: 768px){.slider-icon[data-v-0cfd77ce]{min-width:42px;height:42px;margin-right:8px;box-shadow:#00000059 0 5px 5px;display:flex;justify-content:center;align-items:center}.tab-block[data-v-0cfd77ce]{width:50px;display:flex;flex-direction:column;overflow:hidden;margin-top:55px;cursor:pointer}.body-block[data-v-0cfd77ce]{position:relative;width:calc(100% - 55px);height:100%}}.red[data-v-36a59e2b]{background:red}[data-v-982338b4] .el-select__wrapper{min-height:38px;margin-top:7px}.anticon[data-v-982338b4]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-982338b4]:hover,.set[data-v-982338b4]{color:#5cb6ff}[data-v-982338b4] .el-input__inner{border-radius:5px;padding-left:10px;height:40px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-982338b4] .el-input__inner::placeholder{color:#4a4a4a}[data-v-982338b4] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-982338b4]{width:100%}[data-v-80f413ec] .el-select__wrapper{min-height:38px;margin-top:7px}.anticon[data-v-80f413ec]{margin:4px 4px 2px;font-size:13px}.anticon[data-v-80f413ec]:hover,.set[data-v-80f413ec]{color:#5cb6ff}[data-v-80f413ec] .el-input__inner{border-radius:5px;padding-left:10px;height:40px;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-80f413ec] .el-input__inner::placeholder{color:#4a4a4a}[data-v-80f413ec] .el-select .el-input .el-select__caret{color:#4a4a4a;font-size:16px;font-weight:700;margin-right:5px}.el-select[data-v-80f413ec]{width:100%}.active[data-v-ecff678c]{background:inherit;border:1px solid #c4c4c4}.switch-container[data-v-ecff678c]{width:calc(100% - 2px);height:74px}.line[data-v-ecff678c]{position:relative;width:calc(100% - 20px);display:flex;justify-content:space-between;align-items:center;padding:10px}.line[data-v-ecff678c]:last-child{margin-top:5px}.switch-axis[data-v-ecff678c]{position:absolute;top:50%;left:50%;transform:translateY(-50%);transform:translate(-50%);width:calc(100% - 30px);height:1px;background:#b0a4c0}.switch-axis-dash1[data-v-ecff678c]{position:absolute;top:6px;left:14px;width:1px;height:9px;background:#b0a4c0}.switch-axis-dash2[data-v-ecff678c]{position:absolute;top:6px;left:50%;width:.5px;height:9px;background:#b0a4c0}.switch-axis-dash3[data-v-ecff678c]{position:absolute;top:6px;right:14px;width:1px;height:9px;background:#b0a4c0}.switch-knob1[data-v-ecff678c]{position:absolute;left:6px;width:16px;height:32px;background:#dff2f8;border-radius:2px;border:1px solid #006bb4;z-index:1;transition:.1s}.switch-knob2[data-v-ecff678c]{position:absolute;left:calc(50% - 9px);width:16px;height:32px;background:#dff2f8;border-radius:2px;border:1px solid #006bb4;z-index:1;transition:.1s}.switch-knob3[data-v-ecff678c]{position:absolute;right:6px;width:16px;height:32px;background:#dff2f8;border-radius:2px;border:1px solid #006bb4;z-index:1;transition:.1s}.flex[data-v-5023d414]{width:100%;box-sizing:border-box;display:flex;justify-content:left;align-items:center;padding:40px}.button[data-v-0794596f]{width:auto;height:34px;border-radius:5px;color:#006bb4;font-size:12px}.button-filter[data-v-0794596f]{background:#fff}.button-download[data-v-0794596f]{background:#dff2f8}[data-v-0794596f] .button-register{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px}[data-v-0794596f] .name-item{margin:0;width:auto;border-color:#fff;padding:0}.grid[data-v-0794596f]{max-width:auto;grid-gap:10px;margin:0;grid-template-columns:repeat(auto-fit,minmax(100%,1fr))}.plus-button[data-v-0794596f]{width:100%;height:34px;border-radius:5px;color:#00bea5;background:#c1efeb}.save-picker-button[data-v-0794596f]{width:100%;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8}.gender-button[data-v-0794596f]{width:42px;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:18px}.save-button[data-v-0794596f]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}[data-v-0794596f] .edit-button{min-width:40px;max-width:40px;height:40px;border-radius:5px;color:#006bb4;background:#dff2f8}[data-v-0794596f] .files-buttons{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8;font-size:12px}[data-v-0794596f] .files-buttons:hover{background:#dff2f8}.edv[data-v-0794596f]{font-size:14px;padding:0;margin:0 5px 0 0}.edv-active[data-v-0794596f]{color:#b0a4c0}.patient-name[data-v-0794596f]{color:#006bb4;font-size:17px;min-width:150px;width:100%;padding:0}.hidden[data-v-0794596f]{display:none}.scroll-block[data-v-0794596f]{height:75vh;overflow:hidden;overflow-y:scroll;margin-left:8px}.registers-tooltip[data-v-0794596f]:hover{cursor:pointer}.patient-link[data-v-0794596f]:hover{cursor:pointer;text-decoration:underline}.tag-link[data-v-0794596f]:hover{background-color:darken(white,10%);cursor:pointer}.flex-block[data-v-0794596f]{width:100%;display:flex;justify-content:space-between;align-items:center}[data-v-0794596f] .edit-icon{width:28px;height:28px;color:#006bb4}.item-flex[data-v-0794596f]{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0 10px 0 0}.item-flex[data-v-0794596f]:last-child{margin:10px 0}.line-item-left[data-v-0794596f]{display:flex;justify-content:space-between;align-items:center;width:auto;padding:0}.line-item-right[data-v-0794596f]{display:flex;justify-content:right;align-items:center;width:auto;padding:0}[data-v-0794596f] .icon-plus{fill:#00b5a4;width:24px;height:24px;cursor:pointer}.icon-filter[data-v-0794596f]{width:24px;height:24px;cursor:pointer;stroke:#006bb4;fill:none}.icon-del[data-v-0794596f]{width:10px;height:10px;cursor:pointer}.patient-count[data-v-0794596f]{margin-top:10px;font-size:14px}[data-v-0794596f] .el-form-item{margin:8px 0 0}@media (max-width: 1915px){.flex-block[data-v-0794596f]{width:100%;display:block;justify-content:space-between;align-items:center}.line-item[data-v-0794596f]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}.item-flex[data-v-0794596f]{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:10px}.item-flex[data-v-0794596f]:last-child{margin-top:10px;margin-bottom:10px}}@media (max-width: 560px){.line-item-left[data-v-0794596f]{margin:10px 0}.line-item-right[data-v-0794596f]{margin:10px 0;justify-content:space-between}.item-flex[data-v-0794596f]:first-child{display:block;width:100%;margin:0 0 10px}}[data-v-683131f5]{box-sizing:border-box}.blur[data-v-683131f5]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:3;background:#000;opacity:.3}.top-slider[data-v-683131f5]{position:absolute;top:0;left:50%;transform:translate(-50%);background:#f5f5f5;z-index:4;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden;box-shadow:#00000059 0 5px 5px;transition:.3s;width:calc(100% - 300px);max-width:800px}.top-slider-content[data-v-683131f5]{max-width:800px;display:flex;justify-content:center;align-items:center;height:calc(100% - 53px);margin:auto;padding:20px}.center[data-v-683131f5]{width:100%}.click-line[data-v-683131f5]{width:100%;position:absolute;bottom:0;right:0;height:55px;display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;min-height:40px;color:#343e5c;font-size:12px;text-transform:uppercase;cursor:pointer;padding:0 10px}@media screen and (max-width: 1024px){.click-line[data-v-683131f5]{font-size:12px}}@media screen and (max-width: 768px){.click-line[data-v-683131f5]{font-size:11px}.top-slider[data-v-683131f5]{width:calc(100% - 100px)}.top-slider-content[data-v-683131f5]{padding:10px}}@media screen and (max-width: 450px){.click-line[data-v-683131f5]{line-height:12px}}@media screen and (max-width: 370px){.click-line[data-v-683131f5]{font-size:10px;line-height:10px}.top-slider-content[data-v-683131f5]{padding:8px}}.hidden[data-v-94c18208],.hidden[data-v-d11e6069],.hidden[data-v-ca16a90c],.hidden[data-v-55ea5a5c],.hidden[data-v-99358e0a],.hidden[data-v-05547f14]{display:none}@keyframes ripple-05547f14{0%{transform:scale(1)}50%{transform:scale(1.15)}}.icon[data-v-05547f14]{animation-name:ripple-05547f14;animation-duration:1s;animation-iteration-count:infinite}.hidden[data-v-131f6ba1],.hidden[data-v-ec3439ce],.hidden[data-v-cd0d3c21],.hidden[data-v-98099ad2],.hidden[data-v-053c9917],.hidden[data-v-1798f31d],.hidden[data-v-c2e31ebb]{display:none}.tab[data-v-c2e31ebb]{position:relative;width:calc(100% - 10px);border:1px solid;border-color:var(--border-color-default);background:#fff;margin:10px 8px 2px 2px;cursor:pointer;transition:.15s}.tab-name[data-v-c2e31ebb]{position:relative;display:flex;min-height:60px;height:auto;align-items:center;font-weight:700;cursor:pointer}.tab input[data-v-c2e31ebb]{position:absolute;opacity:0;z-index:-1}.tab-content-down[data-v-c2e31ebb]{max-height:0;overflow:hidden;background:#fff;-webkit-transition:max-height .03s;-o-transition:max-height .03s;transition:max-height .03s;color:#343e5c;padding:0 5px}.tab-content-up[data-v-c2e31ebb]{max-height:500vh;overflow-y:scroll;overflow:hidden;background:#fff;-webkit-transition:max-height .5s;-o-transition:max-height .5s;transition:max-height .5s;color:#343e5c;padding-right:5px}.tab input:checked~.icon-arrow[data-v-c2e31ebb]{transform:rotate(180deg)}.tab input:checked~.tab-content-down[data-v-c2e31ebb]{max-height:100vh}.tab input:checked~.tab-content-up[data-v-c2e31ebb]{max-height:0}.tab label[data-v-c2e31ebb]:after{position:absolute;right:0;top:0;display:block;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s}.tab-window[data-v-c2e31ebb]{width:100%}.hidden[data-v-c2e31ebb]{display:none}.icon-arrow[data-v-c2e31ebb]{position:absolute;right:20px;top:20px;width:28px;height:28px;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;z-index:2}[data-v-c2e31ebb] .el-carousel__item{display:flex;align-items:flex-start;justify-content:space-evenly;flex-wrap:wrap}[data-v-c2e31ebb] .el-carousel__container{max-height:auto}[data-v-c2e31ebb] .el-form-item__label{width:100%;text-align:left}[data-v-c2e31ebb] .el-form-item{display:block}[data-v-c2e31ebb] .el-input__inner{height:40px}.hidden-part[data-v-c2e31ebb]{visibility:hidden;opacity:0}.tools-bar[data-v-c2e31ebb]{display:flex;position:absolute;top:20px;right:60px;justify-content:space-between;align-items:center}.inside-icon[data-v-c2e31ebb]{display:flex;position:absolute;top:20px;left:0;align-items:center;padding-left:4px}.tab-name:active>.tools-bar[data-v-c2e31ebb]{visibility:visible;opacity:1}.tab-name:hover>.tools-bar[data-v-c2e31ebb]{visibility:visible;opacity:1}.tab[data-v-c2e31ebb]:hover{box-shadow:0 0 1px 2px var(--collaps-item-shadow-color)}.title-in[data-v-c2e31ebb]{display:flex;font-family:Open Sans,sans-serif;font-size:16px;color:#303133;height:auto;align-items:center;font-weight:400;border-radius:5px}.tab[data-v-4ccaade5]{display:flex;height:100%;position:relative}.left[data-v-4ccaade5]{display:flex;justify-content:space-between;width:50%;height:100%;background:#fff;margin-right:6px;border-top-right-radius:5px;border-bottom-right-radius:5px}.left-content[data-v-4ccaade5]{overflow:hidden;border-top-right-radius:5px;border-bottom-right-radius:5px}.right[data-v-4ccaade5]{width:50%}.arrow-bar[data-v-4ccaade5]{display:flex;justify-content:center;width:20px;background:#00b5a4;color:#fff;position:relative;cursor:pointer;border-top-right-radius:5px;border-bottom-right-radius:5px}.arrow-bar[data-v-4ccaade5]:hover{background:#009f90}.rotate[data-v-4ccaade5]{padding-top:5px;writing-mode:vertical-rl}.icon-arrow[data-v-4ccaade5]{position:absolute;top:calc(50% - 10px);width:20px;height:20px;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;fill:#fff}.add-block[data-v-338720bc]{position:relative;box-sizing:border-box;border:1px solid;border-color:var(--border-color-default);min-height:10px}.add-block_body[data-v-338720bc]{position:relative;box-sizing:border-box;width:100%;overflow:hidden;overflow-y:auto}.add-block[data-v-b2b43a38]{position:relative;box-sizing:border-box;border:1px solid;border-color:var(--border-color);min-height:10px;background:#fff}.add-block_body[data-v-b2b43a38],.add-block_body[data-v-9464e4a8]{position:relative;box-sizing:border-box;width:100%;overflow:hidden;overflow-y:auto;background:#fff}.del-block[data-v-58d048aa]{position:relative;box-sizing:border-box;border-radius:5px;border:1px solid;border-color:var(--border-color-default);min-height:10px}.del-block_title[data-v-58d048aa]{width:100%}.del-block_body[data-v-58d048aa]{position:relative;width:100%;overflow:hidden;overflow-y:auto}.del-block[data-v-58d048aa]:hover{cursor:pointer;box-shadow:0 0 1px 2px var(--border-color-default, grey)}.blur[data-v-ece06e7d]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--modal-blur-background, #000000);opacity:var(--modal-blur-opacity, .3);z-index:1000}.icon-box[data-v-ece06e7d]{position:fixed;top:10px;color:var(--font-color);right:10px}.icon-box[data-v-ece06e7d]:hover{color:var(--font-color-focus);cursor:pointer}.modal-w[data-v-ece06e7d]{box-sizing:border-box;position:absolute;left:50%;transform:translate(-50%);z-index:1002;border-radius:5px;min-height:40px;background:var(--modal-window-background-color);color:var(--base-font-color);overflow:hidden;overflow-y:auto}.message[data-v-3714a37b]{position:fixed;top:6px;left:50%;z-index:9999;transform:translate(-50%);min-width:280px;max-width:600px;margin:100px auto 0;border-radius:5px;box-sizing:border-box;border:1px solid;min-height:50px;transition:.3s;display:flex;justify-content:center;align-items:center;box-shadow:#00000059 0 5px 5px;padding:20px;font-size:var(--notification-font-size);font-family:var(--base-font)}.info[data-v-3714a37b]{background:var(--notification-message-primary-background-color);border-color:var(--notification-message-primary-border-color);color:var(--notification-message-primary-font-color)}.success[data-v-3714a37b]{background:var(--notification-message-success-background-color);border-color:var(--notification-message-success-border-color);color:var(--notification-message-success-font-color)}.warning[data-v-3714a37b]{background:var(--notification-message-warning-background-color);border-color:var(--notification-message-warning-border-color);color:var(--notification-message-warning-font-color)}.error[data-v-3714a37b]{background:var(--notification-message-error-background-color);border-color:var(--notification-message-error-border-color);color:var(--notification-message-error-font-color)}.fade-enter-active[data-v-3714a37b],.fade-leave-active[data-v-3714a37b]{transition:opacity .5s ease}.fade-enter-from[data-v-3714a37b],.fade-leave-to[data-v-3714a37b]{opacity:0}.auth-card[data-v-b315f2c4]{box-sizing:border-box;margin:0 auto;color:var(--font-color);border-radius:8px;min-width:var(--auth-form-min-width, 280px)}.btn-group[data-v-b315f2c4]{box-sizing:border-box;display:block;margin:40px 0 0}.field[data-v-4f7966cb]{width:100%}.button[data-v-4f7966cb]{width:auto;height:34px;border-radius:5px;color:#006bb4;font-size:12px}.button-filter[data-v-4f7966cb]{background:#fff}.button-download[data-v-4f7966cb]{background:#dff2f8}[data-v-4f7966cb] .button-register{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#fff;font-size:12px}[data-v-4f7966cb] .name-item{margin:0;width:auto;border-color:#fff;padding:0}.grid[data-v-4f7966cb]{max-width:auto;grid-gap:10px;margin:0;grid-template-columns:repeat(auto-fit,minmax(100%,1fr))}.plus-button[data-v-4f7966cb]{width:100%;height:34px;border-radius:5px;color:#00bea5;background:#c1efeb}.save-picker-button[data-v-4f7966cb]{width:100%;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8}.gender-button[data-v-4f7966cb]{width:42px;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:18px}.save-button[data-v-4f7966cb]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:2px 10px 0 0;font-size:14px}[data-v-4f7966cb] .edit-button{min-width:40px;max-width:40px;height:40px;border-radius:5px;color:#006bb4;background:#dff2f8}[data-v-4f7966cb] .files-buttons{width:auto;height:34px;border-radius:5px;color:#006bb4;background:#dff2f8;font-size:12px}[data-v-4f7966cb] .files-buttons:hover{background:#dff2f8}.edv[data-v-4f7966cb]{font-size:14px;padding:0;margin:0 5px 0 0}.edv-active[data-v-4f7966cb]{color:#b0a4c0}.patient-name[data-v-4f7966cb]{color:#006bb4;font-size:17px;min-width:150px;width:100%;padding:0}.hidden[data-v-4f7966cb]{display:none}.scroll-block[data-v-4f7966cb]{height:75vh;overflow:hidden;overflow-y:scroll;margin-left:8px}.registers-tooltip[data-v-4f7966cb]:hover{cursor:pointer}.patient-link[data-v-4f7966cb]:hover{cursor:pointer;text-decoration:underline}.tag-link[data-v-4f7966cb]:hover{background-color:darken(white,10%);cursor:pointer}.flex-block[data-v-4f7966cb]{width:100%;display:flex;justify-content:space-between;align-items:center}[data-v-4f7966cb] .edit-icon{width:28px;height:28px;color:#006bb4}.item-flex[data-v-4f7966cb]{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0 10px 0 0}.item-flex[data-v-4f7966cb]:last-child{margin:10px 0}.line-item-left[data-v-4f7966cb]{display:flex;justify-content:space-between;align-items:center;width:auto;padding:0}.line-item-right[data-v-4f7966cb]{display:flex;justify-content:right;align-items:center;width:auto;padding:0}[data-v-4f7966cb] .icon-plus{fill:#00b5a4;width:24px;height:24px;cursor:pointer}.icon-filter[data-v-4f7966cb]{width:24px;height:24px;cursor:pointer;stroke:#006bb4;fill:none}.icon-del[data-v-4f7966cb]{width:10px;height:10px;cursor:pointer}.patient-count[data-v-4f7966cb]{margin-top:10px;font-size:14px}[data-v-4f7966cb] .el-form-item{margin:8px 0 0}@media (max-width: 1915px){.flex-block[data-v-4f7966cb]{width:100%;display:block;justify-content:space-between;align-items:center}.line-item[data-v-4f7966cb]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}.item-flex[data-v-4f7966cb]{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:10px}.item-flex[data-v-4f7966cb]:last-child{margin-top:10px;margin-bottom:10px}}@media (max-width: 560px){.line-item-left[data-v-4f7966cb]{margin:10px 0}.line-item-right[data-v-4f7966cb]{margin:10px 0;justify-content:space-between}.item-flex[data-v-4f7966cb]:first-child{display:block;width:100%;margin:0 0 10px}}.save-button[data-v-4f7966cb]{width:100%;border-radius:5px;height:42px;color:#006bb4;background:#dff2f8;margin:10px 0 0;font-size:14px}[data-v-4f7966cb] .el-date-editor.el-input{width:100%}[data-v-4f7966cb] .el-form-item{display:block;margin-bottom:16px}[data-v-4f7966cb] .el-input__inner{height:40px;width:100%;display:flex;font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}[data-v-4f7966cb] .el-form-item__label{padding:0!important;text-transform:uppercase;margin-left:5px;font-size:14px;margin-bottom:6px}[data-v-4f7966cb] .el-input-number__increase,[data-v-4f7966cb] .el-input-number__decrease{border-radius:0}[data-v-4f7966cb] .el-textarea__inner{font-family:Comfortaa,Arial,Helvetica,sans-serif;font-size:15px}.mainblock[data-v-caa5b5d8]{box-sizing:border-box;display:block;border-radius:10px;border:1px solid;border-color:var(--tabs-border-color);overflow:hidden}.top-menu[data-v-caa5b5d8]{position:relative;margin:-1px;display:grid;grid-gap:0;grid-template-rows:repeat(0 0px);z-index:6}.top-menu>div[data-v-caa5b5d8]{object-fit:cover}.body-container[data-v-caa5b5d8]{margin-top:1px;border-top:.5px solid;border-color:var(--tabs-border-color);box-sizing:border-box;overflow:scroll;overflow:hidden;overflow-y:auto}.tab[data-v-caa5b5d8]{font-size:var(--font-size-default);text-transform:uppercase;color:var(--tabs-font-color);border:1px solid;border-bottom:none;border-color:var(--tabs-border-color);display:flex;justify-content:center;align-items:center;cursor:pointer;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;background:var(--tabs-background);margin:-.5px;font-family:var(--base-font)}.tab[data-v-caa5b5d8]:hover{background:var(--tabs-hover-background-color)}.selected-tab[data-v-caa5b5d8]{font-size:var(--font-size-default);text-transform:uppercase;color:var(--tabs-selected-font-color);border:1px solid;border-bottom:none;border-color:var(--tabs-border-color);position:relative;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;background:var(--tabs-background-selected);margin:-.5px;z-index:1;font-family:var(--base-font)}.selected-tab[data-v-caa5b5d8]:hover{background:var(--tabs-background-selected)}[data-v-f75088a4],[data-v-f75088a4]:before,[data-v-f75088a4]:after{box-sizing:border-box}.field[data-v-f75088a4]{box-sizing:border-box;position:relative;display:flex;justify-content:left;align-items:center;background:var(--input-background);border-radius:var(--input-field-borderRadius-default);border:1px solid;padding:var(--input-padding-default);margin:var(--input-margin-default);overflow:hidden;width:100%}.right-field[data-v-f75088a4]{display:flex;justify-content:right;align-items:center;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);white-space:nowrap}.left-field[data-v-f75088a4]{display:flex;justify-content:center;align-items:center;height:100%;width:auto;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);white-space:nowrap}.text-field[data-v-f75088a4]{width:var(--input-width-default)}.text-field__label[data-v-f75088a4]{display:flex;justify-content:left;align-items:center;width:100%;font-family:var(--base-font);color:var(--input-label-color);font-size:var(--inpur-font-size-default);margin:var(--input-label-margin)}.text-field__input[data-v-f75088a4]{width:100%;font-size:var(--inpur-font-size-default);font-family:var(--base-font);background:var(--input-background);margin:0;height:var(--input-height, 30px);border:none;display:flex;align-items:center}.text-field__input[data-v-f75088a4]::placeholder{font-family:var(--base-font);font-size:var(--inpur-font-size-default);color:var(--input-placeholder-color)}.text-field__input[data-v-f75088a4]:focus{color:var(--input-focus-color);outline:0}.text-field__input[data-v-f75088a4]:disabled,.text-field__input[readonly][data-v-f75088a4]{background-color:var(--input-readonly-background);opacity:1}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.dialog-footer[data-v-7b1e3fd4]{margin-top:20px;display:flex;justify-content:flex-end}.background-container[data-v-7b1e3fd4]{width:auto;padding:10px;margin:0 20px;background:var(--uploader-background);border-radius:5px}@media only screen and (max-width: 480px){.background-container[data-v-7b1e3fd4]{width:auto;padding:10px;margin:0 10px 10px}}.hidden[data-v-24be7852],.hidden[data-v-dd770f25],.hidden[data-v-92c28425]{display:none}.ins[data-v-2c8f03ca]{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.change[data-v-2c8f03ca]{color:var(--uploader-image-change-color)}.change[data-v-2c8f03ca]:hover{color:var(--uploader-image-change-color-hovered)}.del[data-v-2c8f03ca]{color:var(--uploader-image-del-color)}.del[data-v-2c8f03ca]:hover{color:var(--uploader-image-del-color-hovered)}.img-container[data-v-2c8f03ca]{position:relative;box-sizing:border-box;overflow:hidden;min-width:95px;min-height:120px;margin:20px auto;text-align:center;border:1px dashed;border-color:var(--uploader-image-border-color);cursor:pointer;border-radius:5px;opacity:1}.img-container[data-v-2c8f03ca]:hover{border-color:var(--uploader-image-border-color-hovered)}.add-button[data-v-2c8f03ca]{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;box-sizing:border-box;color:var(--uploader-image-add-color)}.add-button[data-v-2c8f03ca]:hover{color:var(--uploader-image-add-color-hovered)}.tools-button[data-v-2c8f03ca]{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;box-sizing:border-box;font-size:20px;opacity:0}.tools-button[data-v-2c8f03ca]:hover{background:#000;opacity:.8}.img-block[data-v-2c8f03ca]{box-sizing:border-box;display:flex;justify-content:center;width:auto}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sprof",
3
3
  "description": "components for the designer and uikit",
4
4
  "author": "Stanislav Lushnikov, Daniil Gaivoronskiy",
5
- "version": "0.0.248",
5
+ "version": "0.0.249",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "./dist/sprof.umd.cjs",