tsv2-library 1.0.61-beta.71 → 1.0.61-beta.72
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/tsv2-library.es.js
CHANGED
|
@@ -78074,25 +78074,28 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
78074
78074
|
});
|
|
78075
78075
|
const setValidatorMessage = async (value) => {
|
|
78076
78076
|
await nextTick();
|
|
78077
|
+
let result = true;
|
|
78077
78078
|
if (props.validatorMessage && typeof props.validatorMessage === "string" && props.invalid) {
|
|
78078
|
-
|
|
78079
|
+
result = props.validatorMessage;
|
|
78079
78080
|
} else if (!value && props.mandatory) {
|
|
78080
|
-
|
|
78081
|
+
result = `${props.label} must not be empty`;
|
|
78081
78082
|
} else if ((value == null ? void 0 : value.length) > props.maxLength && (props.type === "text" || props.type === "email")) {
|
|
78082
|
-
|
|
78083
|
+
result = "Max. " + props.maxLength + " characters";
|
|
78083
78084
|
} else if (value && props.type === "email") {
|
|
78084
78085
|
const emailRegexp = /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/;
|
|
78085
|
-
|
|
78086
|
+
result = emailRegexp.test(value) ? true : "Email format is incorrect";
|
|
78086
78087
|
} else if (value && props.type === "url") {
|
|
78087
78088
|
const urlRegExp = new RegExp(
|
|
78088
78089
|
"^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:@!$&'()*+,;=]*)*(\\?[;&a-z\\d%_.~+=:@!$&'()*+,;=-]*)?(\\#[-a-z\\d_:@!$&'()*+,;=]*)?$",
|
|
78089
78090
|
// Fragment (Allowing special characters)
|
|
78090
78091
|
"i"
|
|
78091
78092
|
);
|
|
78092
|
-
|
|
78093
|
+
result = urlRegExp.test(value) ? true : "URL format is incorrect";
|
|
78093
78094
|
} else if (!props.allowSpecialCharacters) {
|
|
78094
|
-
|
|
78095
|
+
result = /[^A-Za-z0-9 ]/.test(value) ? "Cannot include any special characters" : true;
|
|
78095
78096
|
}
|
|
78097
|
+
if (result !== true)
|
|
78098
|
+
return result;
|
|
78096
78099
|
if (props.checkAvailability)
|
|
78097
78100
|
return handleAvailabilityValidation();
|
|
78098
78101
|
return true;
|
package/dist/tsv2-library.umd.js
CHANGED
|
@@ -45,4 +45,4 @@ function Gn(e){return"function"==typeof e}function Hn(e){return null==e}const Pn
|
|
|
45
45
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
46
46
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
47
47
|
PERFORMANCE OF THIS SOFTWARE.
|
|
48
|
-
***************************************************************************** */function jv(e,t){var i,o;return e&&t?(i=""+e+t[0].toUpperCase()+t.slice(1),o=e+"-"+t):(i=e||t,o=e||t),{name:i,classname:o}}function Tv(e){return/^blob:/.test(e)}function wv(e){return Tv(e)||/^data:/.test(e)}function Dv(e){return!!(e&&e.constructor&&e.call&&e.apply)}function mv(e){return void 0===e}function xv(e){return"object"==typeof e&&null!==e}function Bv(e,t,i){var o={};return xv(e)?(Object.keys(t).forEach((function(r){mv(e[r])?o[r]=t[r]:xv(t[r])?xv(e[r])?o[r]=Bv(e[r],t[r],i[r]):o[r]=e[r]?t[r]:i[r]:!0===t[r]||!1===t[r]?o[r]=Boolean(e[r]):o[r]=e[r]})),o):e?t:i}function Lv(e){var t=Number(e);return Number.isNaN(t)?e:t}function fv(e){return typeof("number"==e||(t=e,"object"==typeof t&&null!==t&&"[object Number]"==toString.call(e)))&&!zv(e);var t}function zv(e){return e!=e}function Cv(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var Qv=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},vv=function(e,t){void 0===t&&(t={}),this.type="resize",this.directions=e,this.params=t},kv=function(e){this.type="move",this.directions=e},bv=function(){function e(e,t,i,o,r){this.type="drag",this.nativeEvent=e,this.position=i,this.previousPosition=o,this.element=t,this.anchor=r}return e.prototype.shift=function(){var e=this,t=e.element,i=e.anchor,o=e.position;if(t){var r=t.getBoundingClientRect(),n=r.left,a=r.top;return{left:o.left-n-i.left,top:o.top-a-i.top}}return{left:0,top:0}},e}(),Sv={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(e){e.cancelable&&!this.disabled&&1===e.touches.length&&(this.touches=uv(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce((function(t,i){return{clientX:t.clientX+i.clientX/e.touches.length,clientY:t.clientY+i.clientY/e.touches.length}}),{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),i=t.left,o=t.right,r=t.bottom,n=t.top;this.anchor={left:e.clientX-i,top:e.clientY-n,bottom:r-e.clientY,right:o-e.clientX}},processMove:function(e,t){var i=uv(t);if(this.touches.length){if(1===this.touches.length&&1===i.length){var o=this.$refs.draggable;this.$emit("drag",new bv(e,o,{left:i[0].clientX,top:i[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=i}},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"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"draggable",class:o.classname,onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onMouseover:i[3]||(i[3]=function(){return a.onMouseOver&&a.onMouseOver.apply(a,arguments)}),onMouseleave:i[4]||(i[4]=function(){return a.onMouseLeave&&a.onMouseLeave.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],34)}},Ov=pv("vue-handler-wrapper"),Yv={name:"HandlerWrapper",components:{DraggableElement:Sv},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,i=jv(this.horizontalPosition,this.verticalPosition);e=Ov((Mv(t={},i.classname,!0),Mv(t,"disabled",this.disabled),t))}else e=Ov({disabled:this.disabled});return{root:e,draggable:Ov("draggable")}}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock("div",{class:a.classes.root},[t.createVNode(l,{class:a.classes.draggable,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])],2)}},Uv=pv("vue-line-wrapper"),Fv={name:"LineWrapper",components:{DraggableElement:Sv},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return Uv((Mv(e={},this.position,!0),Mv(e,"disabled",this.disabled),e))}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock(l,{class:a.classname,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])}},Rv=["left","right","top","bottom"],Gv=["left","right"],Hv=["top","bottom"],Pv=["left","top"],Vv=["fill-area","fit-area","stencil","none"],Jv={left:0,top:0,width:0,height:0};function Wv(e,t,i){return!(i=i||["width","height","left","top"]).some((function(i){return e[i]!==t[i]}))}function Kv(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function Xv(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Zv(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function _v(e,t){var i={left:0,top:0,right:0,bottom:0};return Rv.forEach((function(o){var r=t[o],n=Kv(e)[o];i[o]=void 0!==r&&void 0!==n?"left"===o||"top"===o?Math.max(0,r-n):Math.max(0,n-r):0})),i}function qv(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function $v(e){return{left:-e.left,top:-e.top}}function ek(e,t){return hv(hv({},e),{left:e.left+t.left,top:e.top+t.top})}function tk(e,t,i,o){if(1!==t){if(i){var r=Zv(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(i.left-r.left)*(o||1-t),top:e.top+e.height*(1-t)/2+(i.top-r.top)*(o||1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function ik(e){return e.width/e.height}function ok(e,t){return Math.min(void 0!==t.right&&void 0!==t.left?(t.right-t.left)/e.width:1/0,void 0!==t.bottom&&void 0!==t.top?(t.bottom-t.top)/e.height:1/0)}function rk(e,t){var i={left:0,top:0},o=_v(e,t);return o.left&&o.left>0?i.left=o.left:o.right&&o.right>0&&(i.left=-o.right),o.top&&o.top>0?i.top=o.top:o.bottom&&o.bottom>0&&(i.top=-o.bottom),i}function nk(e,t){var i;return t.minimum&&e<t.minimum?i=t.minimum:t.maximum&&e>t.maximum&&(i=t.maximum),i}function ak(e,t){var i=ik(e),o=ik(t);return t.width<1/0&&t.height<1/0?i>o?{width:t.width,height:t.width/i}:{width:t.height*i,height:t.height}:t.width<1/0?{width:t.width,height:t.width/i}:t.height<1/0?{width:t.height*i,height:t.height}:e}function lk(e,t){var i=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(i))+Math.abs(e.height*Math.sin(i)),height:Math.abs(e.width*Math.sin(i))+Math.abs(e.height*Math.cos(i))}}function sk(e,t){var i=t*Math.PI/180;return{left:e.left*Math.cos(i)-e.top*Math.sin(i),top:e.left*Math.sin(i)+e.top*Math.cos(i)}}function ck(e,t){var i=_v(Ak(e,t),t);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((e.width+i.left+i.right)/e.width,ok(e,t)):Math.min((e.height+i.top+i.bottom)/e.height,ok(e,t)):1}function Ak(e,t,i){void 0===i&&(i=!1);var o=rk(e,t);return ek(e,i?$v(o):o)}function Mk(e){return{width:void 0!==e.right&&void 0!==e.left?e.right-e.left:1/0,height:void 0!==e.bottom&&void 0!==e.top?e.bottom-e.top:1/0}}function uk(e,t,i){void 0===i&&(i=!0);var o={};return Rv.forEach((function(r){var n=e[r],a=t[r];void 0!==n&&void 0!==a?o[r]="left"===r||"top"===r?i?Math.max(n,a):Math.min(n,a):i?Math.min(n,a):Math.max(n,a):void 0!==a?o[r]=a:void 0!==n&&(o[r]=n)})),o}function gk(e,t){return uk(e,t,!0)}function dk(e){var t=e.size,i=e.aspectRatio,o=e.ignoreMinimum,r=e.sizeRestrictions;return Boolean((t.correctRatio||ik(t)>=i.minimum&&ik(t)<=i.maximum)&&t.height<=r.maxHeight&&t.width<=r.maxWidth&&t.width&&t.height&&(o||t.height>=r.minHeight&&t.width>=r.minWidth))}function Nk(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function yk(e){var t=e.width,i=e.height,o=e.sizeRestrictions,r={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},n={width:Math.max(o.minWidth,Math.min(o.maxWidth,t)),height:Math.max(o.minHeight,Math.min(o.maxHeight,i))};function a(e,n){return void 0===n&&(n=!1),e.reduce((function(e,a){return dk({size:a,aspectRatio:r,sizeRestrictions:o,ignoreMinimum:n})&&(!e||Nk(a,{width:t,height:i})<Nk(e,{width:t,height:i}))?a:e}),null)}var l=[];r&&[r.minimum,r.maximum].forEach((function(e){e&&l.push({width:n.width,height:n.width/e,correctRatio:!0},{width:n.height*e,height:n.height,correctRatio:!0})})),dk({size:n,aspectRatio:r,sizeRestrictions:o})&&l.push(n);var s=a(l)||a(l,!0);return s&&{width:s.width,height:s.height}}function pk(e){var t=e.event,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=ek(i,t.directions);return ek(n,rk(n,r))}function Ek(e){e.event;var t=e.getAreaRestrictions,i=e.boundaries,o=e.coordinates,r=e.visibleArea;e.aspectRatio;var n=e.stencilSize,a=e.sizeRestrictions,l=e.positionRestrictions;e.stencilReference;var s,c,A,M=hv({},o),u=hv({},r),g=hv({},n);s=ik(g),c=ik(M),void 0===A&&(A=.001),(0===s||0===c?Math.abs(c-s)<A:Math.abs(c/s)<1+A&&Math.abs(c/s)>1-A)||(M=hv(hv({},M),yk({sizeRestrictions:a,width:M.width,height:M.height,aspectRatio:{minimum:ik(g),maximum:ik(g)}})));var d=ck(u=tk(u,M.width*i.width/(u.width*g.width)),t({visibleArea:u,type:"resize"}));return 1!==d&&(u=tk(u,d),M=tk(M,d)),u=Ak(u=ek(u,Xv(Zv(M),Zv(u))),t({visibleArea:u,type:"move"})),{coordinates:M=Ak(M,gk(Kv(u),l)),visibleArea:u}}function Ik(e){var t=e.event,i=e.getAreaRestrictions,o=e.boundaries,r=e.coordinates,n=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var a=e.positionRestrictions;e.stencilReference;var l=hv({},r),s=hv({},n);if(r&&n&&"manipulateImage"!==t.type){var c={width:0,height:0};s.width,o.width,ik(o)>ik(l)?(c.height=.8*o.height,c.width=c.height*ik(l)):(c.width=.8*o.width,c.height=c.width*ik(l));var A=ck(s=tk(s,l.width*o.width/(s.width*c.width)),i({visibleArea:s,type:"resize"}));s=tk(s,A),1!==A&&(c.height/=A,c.width/=A),s=Ak(s=ek(s,Xv(Zv(l),Zv(s))),i({visibleArea:s,type:"move"})),l=Ak(l,gk(Kv(s),a))}return{coordinates:l,visibleArea:s}}function hk(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.getAreaRestrictions,n=hv({},o),a=hv({},i);if("setCoordinates"===t.type){var l=Math.max(0,a.width-n.width),s=Math.max(0,a.height-n.height);l>s?n=tk(n,Math.min(a.width/n.width,ok(n,r({visibleArea:n,type:"resize"})))):s>l&&(n=tk(n,Math.min(a.height/n.height,ok(n,r({visibleArea:n,type:"resize"}))))),n=Ak(n=ek(n,$v(rk(a,Kv(n)))),r({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:a}}function jk(e){var t=e.imageSize,i=e.visibleArea,o=e.coordinates,r=i||t;return{left:(i?i.left:0)+r.width/2-o.width/2,top:(i?i.top:0)+r.height/2-o.height/2}}function Tk(e){var t=e.imageSize,i=e.visibleArea,o=e.aspectRatio,r=e.sizeRestrictions,n=i||t,a=Math.min(o.maximum||1/0,Math.max(o.minimum||0,ik(n))),l=n.width<n.height?{width:.8*n.width,height:.8*n.width/a}:{height:.8*n.height,width:.8*n.height*a};return yk(hv(hv({},l),{aspectRatio:o,sizeRestrictions:r}))}function wk(e){var t,i,o=e.imageSize,r=e.visibleArea,n=e.boundaries,a=e.aspectRatio,l=e.sizeRestrictions,s=e.stencilSize,c=r||o;return ik(c)>ik(n)?i=(t=s.height*c.height/n.height)*ik(s):t=(i=s.width*c.width/n.width)/ik(s),yk({width:i,height:t,aspectRatio:a,sizeRestrictions:l})}function Dk(e){var t=e.getAreaRestrictions,i=e.coordinates,o=e.imageSize,r=ik(e.boundaries);if(i){var n={height:Math.max(i.height,o.height),width:Math.max(i.width,o.width)},a=ak({width:ik(n)>r?n.width:n.height*r,height:ik(n)>r?n.width/r:n.height},Mk(t())),l={left:i.left+i.width/2-a.width/2,top:i.top+i.height/2-a.height/2,width:a.width,height:a.height},s=_v(i,Kv(hv({left:0,top:0},o))),c={};return!s.left&&!s.right&&l.width<=o.width&&(c.left=0,c.right=o.width),!s.top&&!s.bottom&&l.height<=o.height&&(c.top=0,c.bottom=o.height),Ak(l,c)}var A=ik(o);return a={height:A>r?o.height:o.width/r,width:A>r?o.height*r:o.width},{left:o.width/2-a.width/2,top:o.height/2-a.height/2,width:a.width,height:a.height}}function mk(e,t){return uk(e,Kv(t))}function xk(e){var t=e.directions,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=e.sizeRestrictions,a=e.preserveRatio,l=e.compensate,s=hv({},t),c=qv(i,s).width,A=qv(i,s).height;c<0&&(s.left<0&&s.right<0?(s.left=-(i.width-n.minWidth)/(s.left/s.right),s.right=-(i.width-n.minWidth)/(s.right/s.left)):s.left<0?s.left=-(i.width-n.minWidth):s.right<0&&(s.right=-(i.width-n.minWidth))),A<0&&(s.top<0&&s.bottom<0?(s.top=-(i.height-n.minHeight)/(s.top/s.bottom),s.bottom=-(i.height-n.minHeight)/(s.bottom/s.top)):s.top<0?s.top=-(i.height-n.minHeight):s.bottom<0&&(s.bottom=-(i.height-n.minHeight)));var M=_v(qv(i,s),r);l&&(M.left&&M.left>0&&0===M.right?(s.right+=M.left,s.left-=M.left):M.right&&M.right>0&&0===M.left&&(s.left+=M.right,s.right-=M.right),M.top&&M.top>0&&0===M.bottom?(s.bottom+=M.top,s.top-=M.top):M.bottom&&M.bottom>0&&0===M.top&&(s.top+=M.bottom,s.bottom-=M.bottom),M=_v(qv(i,s),r));var u={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(Rv.forEach((function(e){var t=M[e];t&&s[e]&&(u[e]=Math.max(0,1-t/s[e]))})),a){var g=Math.min.apply(null,Rv.map((function(e){return u[e]})));g!==1/0&&Rv.forEach((function(e){s[e]*=g}))}else Rv.forEach((function(e){u[e]!==1/0&&(s[e]*=u[e])}));if(c=qv(i,s).width,A=qv(i,s).height,s.right+s.left&&(c>n.maxWidth?u.width=(n.maxWidth-i.width)/(s.right+s.left):c<n.minWidth&&(u.width=(n.minWidth-i.width)/(s.right+s.left))),s.bottom+s.top&&(A>n.maxHeight?u.height=(n.maxHeight-i.height)/(s.bottom+s.top):A<n.minHeight&&(u.height=(n.minHeight-i.height)/(s.bottom+s.top))),a){var d=Math.min(u.width,u.height);d!==1/0&&Rv.forEach((function(e){s[e]*=d}))}else u.width!==1/0&&Gv.forEach((function(e){s[e]*=u.width})),u.height!==1/0&&Hv.forEach((function(e){s[e]*=u.height}));return s}function Bk(e,t,i){return 0==t&&0==i?e/2:0==t?0:0==i?e:e*Math.abs(t/(t+i))}var Lk=pv("vue-simple-handler"),fk=pv("vue-simple-handler-wrapper"),zk={name:"SimpleHandler",components:{HandlerWrapper:Yv},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 e,t=(Mv(e={},this.horizontalPosition,Boolean(this.horizontalPosition)),Mv(e,this.verticalPosition,Boolean(this.verticalPosition)),Mv(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),Boolean(this.verticalPosition&&this.horizontalPosition)),Mv(e,"hover",this.hover),e);return{default:yv(Lk(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:yv(fk(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("HandlerWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,"vertical-position":o.verticalPosition,"horizontal-position":o.horizontalPosition,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.default},null,2)]})),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},Ck=pv("vue-simple-line"),Qk=pv("vue-simple-line-wrapper"),vk={name:"SimpleLine",components:{LineWrapper:Fv},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:yv(Ck(Mv({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:yv(Qk(Mv({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("LineWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,position:o.position,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.root},null,2)]})),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},kk=pv("vue-bounding-box"),bk=["east","west",null],Sk=["south","north",null],Ok={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 zk}},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 vk}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];return bk.forEach((function(t){Sk.forEach((function(i){if(t!==i){var o=jv(t,i),r=o.name,n=o.classname;e.push({name:r,classname:n,verticalDirection:i,horizontalDirection:t})}}))})),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,i=this.linesClasses,o=this.linesWrappersClasses;return{root:kk(),handlers:e,handlersWrappers:t,lines:i,linesWrappers:o}},lineNodes:function(){var e=this,t=[];return this.points.forEach((function(i){i.horizontalDirection&&i.verticalDirection||!e.lines[i.name]||t.push({name:i.name,component:e.linesComponent,class:yv(e.classes.lines.default,e.classes.lines[i.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:yv(e.classes.linesWrappers.default,e.classes.linesWrappers[i.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:i.verticalDirection,horizontalDirection:i.horizontalDirection,disabled:!e.resizable})})),t},handlerNodes:function(){var e=this,t=[],i=this.width,o=this.height;return this.points.forEach((function(r){if(e.handlers[r.name]){var n={name:r.name,component:e.handlersComponent,class:yv(e.classes.handlers.default,e.classes.handlers[r.name]),wrapperClass:yv(e.classes.handlersWrappers.default,e.classes.handlersWrappers[r.name]),hoverClass:e.classes.handlers.hover,verticalDirection:r.verticalDirection,horizontalDirection:r.horizontalDirection,disabled:!e.resizable};if(i&&o){var a=r.horizontalDirection,l=r.verticalDirection,s="east"===a?i:"west"===a?0:i/2,c="south"===l?o:"north"===l?0:o/2;n.wrapperClass=kk("handler"),n.wrapperStyle={transform:"translate(".concat(s,"px, ").concat(c,"px)")},e.transitions&&e.transitions.enabled&&(n.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else n.wrapperClass=kk("handler",Mv({},r.classname,!0));t.push(n)}})),t}},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(e,t,i){var o,r=e.shift(),n=r.left,a=r.top,l={left:0,right:0,top:0,bottom:0};"west"===t?l.left-=n:"east"===t&&(l.right+=n),"north"===i?l.top-=a:"south"===i&&(l.bottom+=a),!i&&t?o="width":i&&!t&&(o="height"),this.resizable&&this.$emit("resize",new vv(l,{allowedDirections:{left:"west"===t||!t,right:"east"===t||!t,bottom:"south"===i||!i,top:"north"===i||!i},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:o}))}},emits:["resize","resize-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"box",class:a.classes.root,style:a.style},[t.renderSlot(e.$slots,"default"),t.createVNode("div",null,[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.lineNodes,(function(e){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{key:e.name,"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,position:e.name,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[1]||(i[1]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])})),128))]),(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.handlerNodes,(function(e){return t.openBlock(),t.createBlock("div",{key:e.name,style:e.wrapperStyle,class:e.wrapperClass},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,"horizontal-position":e.horizontalDirection,"vertical-position":e.verticalDirection,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[2]||(i[2]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)})),128))],6)}},Yk=pv("vue-draggable-area"),Uk={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:Yk()}}},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(e){if(e.cancelable){var t=this.movable&&1===e.touches.length;t&&(this.touches=uv(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):Cv({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&0===e.button){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top;this.anchor={x:e.clientX-i,y:e.clientY-o}},processMove:function(e,t){var i=uv(t);if(this.touches.length){var o=this.$refs.container.getBoundingClientRect(),r=o.left,n=o.top;1===this.touches.length&&1===i.length&&this.$emit("move",new kv({left:i[0].clientX-(r+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};function Fk(e){var t,i;return{rotate:e.rotate||0,flip:{horizontal:(null===(t=null==e?void 0:e.flip)||void 0===t?void 0:t.horizontal)||!1,vertical:(null===(i=null==e?void 0:e.flip)||void 0===i?void 0:i.vertical)||!1}}}function Rk(e){var t=e.rotate,i=e.flip,o=e.scaleX,r=e.scaleY,n="";return n+=" rotate("+t+"deg) ",(n+=" scaleX("+o*(i.horizontal?-1:1)+") ")+" scaleY("+r*(i.vertical?-1:1)+") "}function Gk(e,t){var i=t.getBoundingClientRect(),o=i.left,r=i.top,n={left:0,top:0},a=0;return e.forEach((function(t){n.left+=(t.clientX-o)/e.length,n.top+=(t.clientY-r)/e.length})),e.forEach((function(e){a+=Cv({x:n.left,y:n.top},{x:e.clientX-o,y:e.clientY-r})})),{centerMass:n,spread:a,count:e.length}}Uk.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)};var Hk={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=Iv(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(1===this.touches.length&&1===t.length)this.$emit("move",new Qv({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var i=Gk(t,this.$refs.container),o=this.oldGeometricProperties;o.count===i.count&&o.count>1&&this.$emit("resize",new Qv({left:o.centerMass.left-i.centerMass.left,top:o.centerMass.top-i.centerMass.top},{factor:o.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?!1!==this.eventsFilter(e,this.transforming):(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,i=t.getBoundingClientRect(),o=i.left,r=i.top,n=i.bottom,a=i.right;this.touches=uv(e.touches).filter((function(e){return e.clientX>o&&e.clientX<a&&e.clientY>r&&e.clientY<n})),this.oldGeometricProperties=Gk(this.touches,t)}},onTouchEnd:function(e){0===e.touches.length&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var i=uv(e.touches).filter((function(e){return!e.identifier||t.touches.find((function(t){return t.identifier===e.identifier}))}));this.processEvent(e)&&(this.processMove(e,i),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&1===e.buttons&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top,r=1+this.wheelResize.ratio*(0==(a=+(e.deltaY||e.detail||e.wheelDelta))||zv(a)?a:a>0?1:-1),n={left:e.clientX-i,top:e.clientY-o};this.$emit("resize",new Qv({},{factor:r,center:n})),this.touches.length||this.debouncedProcessEnd()}var a}},emits:["resize","move","transform-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onWheel:i[3]||(i[3]=function(){return a.onWheel&&a.onWheel.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)}},Pk={components:{TransformableImage:Hk},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"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("transformable-image");return t.openBlock(),t.createBlock(l,{"touch-move":o.touchMove,"touch-resize":o.touchResize,"mouse-move":o.mouseMove,"wheel-resize":o.wheelResize,onMove:i[1]||(i[1]=function(t){return e.$emit("move",t)}),onResize:i[2]||(i[2]=function(t){return e.$emit("resize",t)})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])}},Vk=pv("vue-preview"),Jk={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:Vk({fill:this.fill}),wrapper:Vk("wrapper"),imageWrapper:Vk("image-wrapper"),image:yv(Vk("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={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&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=Av(Av({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),i=this.imageSize.width,o=this.imageSize.height,r=lk({width:i,height:o},t.rotate),n={width:"".concat(i,"px"),height:"".concat(o,"px"),left:"0px",top:"0px"},a={rotate:{left:(i-r.width)*t.scaleX/2,top:(o-r.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*i/2,top:(1-t.scaleY)*o/2}};return n.transform="translate(\n\t\t\t\t".concat(-this.coordinates.left/e-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/e-a.rotate.top-a.scale.top,"px) ")+Rk(t),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}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(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",(function(){e.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 e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWidth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}},render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"root",class:a.classes.root,style:a.style},[t.createVNode("div",{ref:"wrapper",class:a.classes.wrapper,style:a.wrapperStyle},[t.withDirectives(t.createVNode("img",{ref:"image",src:o.image&&o.image.src,class:a.classes.image,style:a.imageStyle},null,14,["src"]),[[t.vShow,o.image&&o.image.src]])],6)],6)}},Wk={components:{Preview:Jk},inheritAttrs:!1,render:function(e,i,o,r,n,a){var l=t.resolveComponent("preview");return t.openBlock(),t.createBlock(l,t.mergeProps(e.$attrs,{fill:!0}),null,16)}},Kk=pv("vue-rectangle-stencil"),Xk={name:"RectangleStencil",components:{StencilPreview:Wk,BoundingBox:Ok,DraggableArea:Uk},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return zk}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return vk}},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:yv(Kk({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:yv(Kk("preview"),this.previewClass),boundingBox:yv(Kk("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,i=e.width,o=e.left,r=e.top,n={width:"".concat(i,"px"),height:"".concat(t,"px"),transform:"translate(".concat(o,"px, ").concat(r,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),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"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("stencil-preview"),s=t.resolveComponent("draggable-area"),c=t.resolveComponent("bounding-box");return t.openBlock(),t.createBlock("div",{class:a.classes.stencil,style:a.style},[t.createVNode(c,{width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,transitions:o.transitions,class:a.classes.boundingBox,handlers:o.handlers,"handlers-component":o.handlersComponent,"handlers-classes":o.handlersClasses,"handlers-wrappers-classes":o.handlersWrappersClasses,lines:o.lines,"lines-component":o.linesComponent,"lines-classes":o.linesClasses,"lines-wrappers-classes":o.linesWrappersClasses,resizable:o.resizable,onResize:a.onResize,onResizeEnd:a.onResizeEnd},{default:t.withCtx((function(){return[t.createVNode(s,{movable:o.movable,onMove:a.onMove,onMoveEnd:a.onMoveEnd},{default:t.withCtx((function(){return[t.createVNode(l,{image:o.image,coordinates:o.coordinates,width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,class:a.classes.preview,transitions:o.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)}},Zk=["transitions"],_k=pv("vue-advanced-cropper"),qk={name:"Cropper",components:{BackgroundWrapper:Pk},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Xk}},backgroundWrapperComponent:{type:[Object,String],default:function(){return Pk}},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(e){return-1!==Vv.indexOf(e)}},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(e){return!("string"==typeof e&&"fill"!==e&&"fit"!==e)}},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(e){var t=e.event,i=e.coordinates,o=e.aspectRatio,r=e.positionRestrictions,n=e.sizeRestrictions,a=hv(hv({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=t.params||{},s=hv({},t.directions),c=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(s.left=0,s.right=0),n.heightFrozen&&(s.top=0,s.bottom=0),Rv.forEach((function(e){c[e]||(s[e]=0)}));var A=qv(a,s=xk({coordinates:a,directions:s,sizeRestrictions:n,positionRestrictions:r})).width,M=qv(a,s).height,u=l.preserveRatio?ik(a):nk(A/M,o);if(u){var g=l.respectDirection;if(g||(g=a.width>=a.height||1===u?"width":"height"),"width"===g){var d=A/u-a.height;if(c.top&&c.bottom){var N=s.top,y=s.bottom;s.bottom=Bk(d,y,N),s.top=Bk(d,N,y)}else c.bottom?s.bottom=d:c.top?s.top=d:c.right?s.right=0:c.left&&(s.left=0)}else if("height"===g){var p=a.width-M*u;if(c.left&&c.right){var E=s.left,I=s.right;s.left=-Bk(p,E,I),s.right=-Bk(p,I,E)}else c.left?s.left=-p:c.right?s.right=-p:c.top?s.top=0:c.bottom&&(s.bottom=0)}s=xk({directions:s,coordinates:a,sizeRestrictions:n,positionRestrictions:r,preserveRatio:!0,compensate:l.compensate})}return A=qv(a,s).width,M=qv(a,s).height,(u=l.preserveRatio?ik(a):nk(A/M,o))&&Math.abs(u-A/M)>.001&&Rv.forEach((function(e){c[e]||(s[e]=0)})),pk({event:new kv({left:-s.left,top:-s.top}),coordinates:{width:i.width+s.right+s.left,height:i.height+s.top+s.bottom,left:i.left,top:i.top},positionRestrictions:r})}},moveAlgorithm:{type:Function,default:pk},initStretcher:{type:Function,default:function(e){var t=e.stretcher,i=e.imageSize,o=ik(i);t.style.width=i.width+"px",t.style.height=t.clientWidth/o+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,i=e.coordinates,o=e.aspectRatio,r=e.sizeRestrictions,n=e.positionRestrictions,a=hv(hv({},i),yk({width:i.width,height:i.height,aspectRatio:o,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,r.minHeight),minWidth:Math.min(t.width,r.minWidth)}}));return Ak(a=ek(a,Xv(Zv(i),Zv(a))),gk(Kv(t),n))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.getAreaRestrictions,r=e.coordinates,n=hv({},t);n.height=n.width/ik(i),n.top+=(t.height-n.height)/2,(r.height-n.height>0||r.width-n.width>0)&&(n=tk(n,Math.max(r.height/n.height,r.width/n.width)));var a=$v(rk(r,Kv(n=tk(n,ck(n,o({visibleArea:n,type:"resize"}))))));return n.width<r.width&&(a.left=0),n.height<r.height&&(a.top=0),Ak(n=ek(n,a),o({visibleArea:n,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.imageSize,r=e.imageRestriction,n=e.type,a={};return"fill-area"===r?a={left:0,top:0,right:o.width,bottom:o.height}:"fit-area"===r&&(ik(i)>ik(o)?(a={top:0,bottom:o.height},t&&"move"===n&&(t.width>o.width?(a.left=-(t.width-o.width)/2,a.right=o.width-a.left):(a.left=0,a.right=o.width))):(a={left:0,right:o.width},t&&"move"===n&&(t.height>o.height?(a.top=-(t.height-o.height)/2,a.bottom=o.height-a.top):(a.top=0,a.bottom=o.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,i={};return"none"!==e.imageRestriction&&(i={left:0,top:0,right:t.width,bottom:t.height}),i}}},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:Av({},Jv)}},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 e=this.imageTransforms.rotate*Math.PI/180;return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return Boolean(this.visibleArea&&this.imageLoaded)},settings:function(){var e=Bv(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:Bv(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},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 e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:mv(this.minWidth)?0:Lv(this.minWidth),minHeight:mv(this.minHeight)?0:Lv(this.minHeight),maxWidth:mv(this.maxWidth)?1/0:Lv(this.maxWidth),maxHeight:mv(this.maxHeight)?1/0:Lv(this.maxHeight)});if(e=function(e){var t=e.areaRestrictions,i=e.sizeRestrictions,o=e.boundaries,r=e.positionRestrictions,n=hv(hv({},i),{minWidth:void 0!==i.minWidth?i.minWidth:0,minHeight:void 0!==i.minHeight?i.minHeight:0,maxWidth:void 0!==i.maxWidth?i.maxWidth:1/0,maxHeight:void 0!==i.maxHeight?i.maxHeight:1/0});void 0!==r.left&&void 0!==r.right&&(n.maxWidth=Math.min(n.maxWidth,r.right-r.left)),void 0!==r.bottom&&void 0!==r.top&&(n.maxHeight=Math.min(n.maxHeight,r.bottom-r.top));var a=Mk(t),l=ak(o,a);return a.width<1/0&&(!n.maxWidth||n.maxWidth>l.width)&&(n.maxWidth=Math.min(n.maxWidth,l.width)),a.height<1/0&&(!n.maxHeight||n.maxHeight>l.height)&&(n.maxHeight=Math.min(n.maxHeight,l.height)),n.minWidth>n.maxWidth&&(n.minWidth=n.maxWidth,n.widthFrozen=!0),n.minHeight>n.maxHeight&&(n.minHeight=n.maxHeight,n.heightFrozen=!0),n}({sizeRestrictions:e,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 t=this.getStencilSize(),i=Mk(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,i.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,i.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:_k(),image:yv(_k("image"),this.imageClass),stencil:_k("stencil"),boundaries:yv(_k("boundaries"),this.boundariesClass),stretcher:yv(_k("stretcher")),background:yv(_k("background"),this.backgroundClass),foreground:yv(_k("foreground"),this.foregroundClass),imageWrapper:yv(_k("image-wrapper")),cropperWrapper:yv(_k("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,i=e.height,o=e.left,r=e.top;return{width:t/this.coefficient,height:i/this.coefficient,left:(o-this.visibleArea.left)/this.coefficient,top:(r-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={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||(e.opacity="0"),e},imageStyle:function(){var e=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)},t=(e.width-this.imageSize.width)/(2*this.coefficient),i=(e.height-this.imageSize.height)/(2*this.coefficient),o=(1-1/this.coefficient)*e.width/2,r=(1-1/this.coefficient)*e.height/2,n=Av(Av({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),a={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t-o-this.imageTransforms.translateX,"px, ").concat(-i-r-this.imageTransforms.translateY,"px)")+Rk(n)};return this.transitionsOptions.enabled&&(a.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),a}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick((function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()}))},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find((function(i){return e[i]!==t[i]}))&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Iv(this.update,this.debounce),this.debouncedDisableTransitions=Iv(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 e=this.initialized?this.prepareResult(Av({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:Av({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Av({},this.visibleArea):null,imageTransforms:t,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Av({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new Qv({},{factor:1/e,center:t}),{normalize:!1,transitions:o})},move:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new Qv({left:e||0,top:t||0}),{normalize:!1,transitions:o})},setCoordinates:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.autoZoom,r=void 0===o||o,n=i.transitions,a=void 0===n||n;this.$nextTick((function(){t.imageLoaded?(t.transitionsActive||(a&&t.enableTransitions(),t.coordinates=t.applyTransform(e),r&&t.runAutoZoom("setCoordinates"),a&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e}))},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then((function(){e.onChange()})):this.resetVisibleArea().then((function(){e.onChange()}))},reset:function(){var e=this;return this.resetVisibleArea().then((function(){e.onChange(!1)}))},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick((function(){e(),t.awaiting=!1})))},prepareResult:function(e){return this.roundResult?(t=Av(Av({},this.getPublicProperties()),{},{positionRestrictions:mk(this.positionRestrictions,this.visibleArea),coordinates:e}),i=t.coordinates,o=t.sizeRestrictions,r=t.positionRestrictions,(n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)}).width>o.maxWidth?n.width=Math.floor(i.width):n.width<o.minWidth&&(n.width=Math.ceil(i.width)),n.height>o.maxHeight?n.height=Math.floor(i.height):n.height<o.minHeight&&(n.height=Math.ceil(i.height)),Ak(n,r)):e;var t,i,o,r,n},processAutoZoom:function(e,t,i,o){var r=this.autoZoomAlgorithm;r||(r=this.stencilSize?Ek:this.autoZoom?Ik:hk);var n=r({event:{type:e,params:o},visibleArea:t,coordinates:i,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return Av(Av({},n),{},{changed:!Wv(n.visibleArea,t)||!Wv(n.coordinates,i)})},runAutoZoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.transitions,o=void 0!==i&&i,r=function(e,t){if(null==e)return{};var i,o,r=function(e,t){if(null==e)return{};var i,o,r={},n=Object.keys(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(t,Zk),n=this.processAutoZoom(e,this.visibleArea,this.coordinates,r),a=n.visibleArea,l=n.coordinates,s=n.changed;o&&s&&this.enableTransitions(),this.visibleArea=a,this.coordinates=l,o&&s&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(e){var t=e.event,i=e.visibleArea,o=e.coefficient;if("manipulateImage"===t.type)return hv(hv({},t),{move:{left:t.move&&t.move.left?o*t.move.left:0,top:t.move&&t.move.top?o*t.move.top:0},scale:{factor:t.scale&&t.scale.factor?t.scale.factor:1,center:t.scale&&t.scale.center?{left:t.scale.center.left*o+i.left,top:t.scale.center.top*o+i.top}:null}});if("resize"===t.type){var r=hv(hv({},t),{directions:hv({},t.directions)});return Rv.forEach((function(e){r.directions[e]*=o})),r}if("move"===t.type){var n=hv(hv({},t),{directions:hv({},t.directions)});return Pv.forEach((function(e){n.directions[e]*=o})),n}return t}(Av(Av({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,i=0!==this.imageTransforms.rotate||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(e,t,i){var o=i.rotate,r=i.flip,n={width:t.naturalWidth,height:t.naturalHeight},a=lk(n,o),l=e.getContext("2d");e.height=a.height,e.width=a.width,l.save();var s=sk(Zv(hv({left:0,top:0},n)),o);return l.translate(-(s.left-a.width/2),-(s.top-a.height/2)),l.rotate(o*Math.PI/180),l.translate(r.horizontal?n.width:0,r.vertical?n.height:0),l.scale(r.horizontal?-1:1,r.vertical?-1:1),l.drawImage(t,0,0,n.width,n.height),l.restore(),e}(this.$refs.sourceCanvas,t,this.imageTransforms):t,o=Av({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),r=function(e){return e.find((function(e){return t=e,!Number.isNaN(parseFloat(t))&&isFinite(t);var t}))},n=yk({sizeRestrictions:{minWidth:r([o.width,o.minWidth])||0,minHeight:r([o.height,o.minHeight])||0,maxWidth:r([o.width,o.maxWidth])||1/0,maxHeight:r([o.height,o.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(o.maxArea&&n.width*n.height>o.maxArea){var a=Math.sqrt(o.maxArea/(n.width*n.height));n={width:Math.round(a*n.width),height:Math.round(a*n.height)}}return function(e,t,i,o,r){e.width=o?o.width:i.width,e.height=o?o.height:i.height;var n=e.getContext("2d");n.clearRect(0,0,e.width,e.height),r&&(r.imageSmoothingEnabled&&(n.imageSmoothingEnabled=r.imageSmoothingEnabled),r.imageSmoothingQuality&&(n.imageSmoothingQuality=r.imageSmoothingQuality),r.fillColor&&(n.fillStyle=r.fillColor,n.fillRect(0,0,e.width,e.height),n.save()));var a=i.left<0?-i.left:0,l=i.top<0?-i.top:0;n.drawImage(t,i.left+a,i.top+l,i.width,i.height,a*(e.width/i.width),l*(e.height/i.height),e.width,e.height)}(e,i,this.coordinates,n,o),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.visibleArea&&t?function(e,t){return hv(hv({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,o=this.visibleArea&&t?mk(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return function(e){var t=e.coordinates,i=e.transform,o=e.imageSize,r=e.sizeRestrictions,n=e.positionRestrictions,a=e.aspectRatio,l=e.visibleArea,s=function(e,t){return pk({coordinates:e,positionRestrictions:n,event:new kv({left:t.left-e.left,top:t.top-e.top})})},c=hv({},t);return(Array.isArray(i)?i:[i]).forEach((function(e){var t,i,n,A;mv((t="function"==typeof e?e({coordinates:c,imageSize:o,visibleArea:l}):e).width)&&mv(t.height)||(i=c,n=hv(hv({},c),t),A=hv(hv(hv({},i),yk({width:n.width,height:n.height,sizeRestrictions:r,aspectRatio:a})),{left:0,top:0}),c=s(A,{left:i.left,top:i.top})),mv(t.left)&&mv(t.top)||(c=s(c,hv(hv({},c),t)))})),c}({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:o,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?wk:Tk);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var o=Dv(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,r=this.defaultPosition||jk,n=[o,function(t){var i=t.coordinates;return Av({},Dv(r)?r({coordinates:i,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,uv(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout((function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}}),this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then((function(){var t,o,r,n,a,l,s,c={cropper:i,imageSize:e.imageSize};if(Dv(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(c):"fit"===e.defaultBoundaries?e.boundaries=(r=(t=c).imageSize,n=(o=t.cropper).clientHeight,a=o.clientWidth,l=n,(s=r.width*n/r.height)>a&&(s=a,l=r.height*a/r.width),{width:s,height:l}):e.boundaries=function(e){var t=e.cropper;return{width:t.clientWidth,height:t.clientHeight}}(c),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")}))},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=Av(Av({},this.defaultImageTransforms),{},{flip:Av({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then((function(){"visible-area"!==e.priority&&(e.visibleArea=null,e.resetCoordinates());var t,i,o,r,n,a=e.defaultVisibleArea||Dk;e.visibleArea=Dv(a)?a({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:"visible-area"!==e.priority?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(i=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions}).boundaries,o=t.getAreaRestrictions,r=hv({},t.visibleArea),n=ik(i),r.width/r.height!==n&&(r.height=r.width/n),Ak(r,o({visibleArea:r,type:"move"}))),"visible-area"===e.priority?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")})).catch((function(){e.visibleArea=null}))},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then((function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")})).catch((function(){e.visibleArea=null}))},onChange:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(e){if(wv(e))return!1;var t=window.location,i=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(e)||[],o={protocol:i[1]||"",host:i[2]||"",port:i[3]||""},r=function(e){return e.port||("http"===(e.protocol||t.protocol)?80:433)};return!(!o.protocol&&!o.host&&!o.port||Boolean(o.protocol&&o.protocol==t.protocol&&o.host&&o.host==t.host&&o.host&&r(o)==r(t)))}(this.src)){var i=mv(this.crossOrigin)?this.canvas:this.crossOrigin;!0===i&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var o=(e=this.src,new Promise((function(t){(function(e){return new Promise((function(t,i){try{if(e)if(/^data:/i.test(e))t(function(e){e=e.replace(/^data:([^;]+);base64,/gim,"");for(var t=atob(e),i=t.length,o=new ArrayBuffer(i),r=new Uint8Array(o),n=0;n<i;n++)r[n]=t.charCodeAt(n);return o}(e));else if(/^blob:/i.test(e)){var o=new FileReader;o.onload=function(e){t(e.target.result)},n=e,a=function(e){o.readAsArrayBuffer(e)},(l=new XMLHttpRequest).open("GET",n,!0),l.responseType="blob",l.onload=function(){200!=this.status&&0!==this.status||a(this.response)},l.send()}else{var r=new XMLHttpRequest;r.onreadystatechange=function(){4===r.readyState&&(200===r.status||0===r.status?t(r.response):i("Warning: could not load an image to parse its orientation"),r=null)},r.onprogress=function(){"image/jpeg"!==r.getResponseHeader("content-type")&&r.abort()},r.withCredentials=!1,r.open("GET",e,!0),r.responseType="arraybuffer",r.send(null)}else i("Error: the image is empty")}catch(s){i(s)}var n,a,l}))})(e).then((function(i){var o=function(e){try{var t,i=new DataView(e),o=void 0,r=void 0,n=void 0,a=void 0;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var l=i.byteLength,s=2;s+1<l;){if(255===i.getUint8(s)&&225===i.getUint8(s+1)){n=s;break}s++}if(n&&(o=n+10,"Exif"===function(e,t,i){var o,r="";for(o=t,i+=t;o<i;o++)r+=String.fromCharCode(e.getUint8(o));return r}(i,n+4,4))){var c=i.getUint16(o);if(((r=18761===c)||19789===c)&&42===i.getUint16(o+2,r)){var A=i.getUint32(o+4,r);A>=8&&(a=o+A)}}if(a)for(var M=i.getUint16(a,r),u=0;u<M;u++)if(s=a+12*u+2,274===i.getUint16(s,r)){s+=8,t=i.getUint16(s,r),i.setUint16(s,1,r);break}return t}catch(g){return null}}(i);t(i?{source:e,arrayBuffer:i,orientation:o}:{source:e,arrayBuffer:null,orientation:null})})).catch((function(i){console.warn(i),t({source:e,arrayBuffer:null,orientation:null})}))})));setTimeout((function(){o.then(t.onParseImage)}),this.transitionTime)}else setTimeout((function(){t.onParseImage({source:t.src})}),this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then((function(){e.$emit("ready"),e.onChange(!1)})))},onParseImage:function(e){var t=this,i=e.source,o=e.arrayBuffer,r=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,o&&r&&r>1?Tv(i)||!wv(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([o])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(e){for(var t=[],i=new Uint8Array(e);i.length>0;){var o=i.subarray(0,8192);t.push(String.fromCharCode.apply(null,Array.from?Array.from(o):o.slice())),i=i.subarray(8192)}return"data:image/jpeg;base64,"+btoa(t.join(""))}(o):this.imageAttributes.src=i,Dv(this.defaultTransforms)?this.appliedImageTransforms=Fk(this.defaultTransforms()):xv(this.defaultTransforms)?this.appliedImageTransforms=Fk(this.defaultTransforms):this.appliedImageTransforms=function(e){var t=Fk({});if(e)switch(e){case 2:t.flip.horizontal=!0;break;case 3:t.rotate=-180;break;case 4:t.flip.vertical=!0;break;case 5:t.rotate=90,t.flip.vertical=!0;break;case 6:t.rotate=90;break;case 7:t.rotate=90,t.flip.horizontal=!0;break;case 8:t.rotate=-90}return t}(r),this.defaultImageTransforms=Av(Av({},this.appliedImageTransforms),{},{flip:Av({},this.appliedImageTransforms.flip)}),this.$nextTick((function(){var e=t.$refs.image;e&&e.complete&&(Boolean(e.naturalWidth)?t.onSuccessLoadImage():t.onFailLoadImage())}))},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender((function(){t.coordinates=t.moveAlgorithm(Av(Av({},t.getPublicProperties()),{},{positionRestrictions:mk(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()}))},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender((function(){var i=t.sizeRestrictions,o=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(Av(Av({},t.getPublicProperties()),{},{positionRestrictions:mk(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,t.visibleArea.width),maxHeight:Math.min(i.maxHeight,t.visibleArea.height),minWidth:Math.max(i.minWidth,o),minHeight:Math.max(i.minHeight,o)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1}))},onManipulateImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=t.transitions,o=void 0!==i&&i,r=t.normalize,n=void 0===r||r;o&&this.enableTransitions();var a=function(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.sizeRestrictions,n=e.getAreaRestrictions,a=e.positionRestrictions,l=e.adjustStencil,s=t.scale,c=t.move,A=hv({},o),M=hv({},i),u=1,g=1,d=s.factor&&Math.abs(s.factor-1)>.001;A=ek(A,{left:c.left||0,top:c.top||0});var N={stencil:{minimum:Math.max(r.minWidth?r.minWidth/M.width:0,r.minHeight?r.minHeight/M.height:0),maximum:Math.min(r.maxWidth?r.maxWidth/M.width:1/0,r.maxHeight?r.maxHeight/M.height:1/0,ok(M,a))},area:{maximum:ok(A,n({visibleArea:A,type:"resize"}))}};s.factor&&d&&(s.factor<1?(g=Math.max(s.factor,N.stencil.minimum))>1&&(g=1):s.factor>1&&(g=Math.min(s.factor,Math.min(N.area.maximum,N.stencil.maximum)))<1&&(g=1)),g&&(A=tk(A,g,s.center));var y=i.left-o.left,p=o.width+o.left-(i.width+i.left),E=i.top-o.top,I=o.height+o.top-(i.height+i.top);return A=Ak(A=ek(A,rk(A,{left:void 0!==a.left?a.left-y*g:void 0,top:void 0!==a.top?a.top-E*g:void 0,bottom:void 0!==a.bottom?a.bottom+I*g:void 0,right:void 0!==a.right?a.right+p*g:void 0})),n({visibleArea:A,type:"move"})),M.width=M.width*g,M.height=M.height*g,M.left=A.left+y*g,M.top=A.top+E*g,M=Ak(M,gk(Kv(A),a)),s.factor&&d&&l&&(s.factor>1?u=Math.min(N.area.maximum,s.factor)/g:s.factor<1&&(u=Math.max(M.height/A.height,M.width/A.width,s.factor/g)),1!==u&&(A=ek(A=Ak(A=tk(A,u,s.factor>1?s.center:Zv(M)),n({visibleArea:A,type:"move"})),$v(rk(M,Kv(A)))))),{coordinates:M,visibleArea:A}}(Av(Av({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=a.visibleArea,s=a.coordinates;this.visibleArea=l,this.coordinates=s,this.runAutoZoom("manipulateImage"),this.onChange(),o&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleArea,i=e.type,o=void 0===i?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:o})},getAspectRatio:function(e){var t,i,o=this.stencilProps,r=o.aspectRatio,n=o.minAspectRatio,a=o.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();t=l.minimum,i=l.maximum}if(mv(t)&&(t=mv(r)?n:r),mv(i)&&(i=mv(r)?a:r),!e&&(mv(t)||mv(i))){var s=this.getStencilSize(),c=s?ik(s):null;mv(t)&&(t=fv(c)?c:void 0),mv(i)&&(i=fv(c)?c:void 0)}return{minimum:t,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t=(e={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)}).boundaries,o=e.aspectRatio,nk(ik(r=Dv(i=e.stencilSize)?i({boundaries:t,aspectRatio:o}):i),o)&&(r=yk({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:o.minimum,maximum:o.maximum}})),(r.width>t.width||r.height>t.height)&&(r=yk({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:ik(r),maximum:ik(r)}})),r;var e,t,i,o,r},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 Av({},Jv)},flip:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;if(!this.transitionsActive){o&&this.enableTransitions();var r=Av({},this.imageTransforms.flip),n=function(e){var t=e.flip,i=e.previousFlip,o=e.rotate;e.aspectRatio;var r=e.getAreaRestrictions,n=e.coordinates,a=e.visibleArea,l=e.imageSize,s=hv({},n),c=hv({},a),A=i.horizontal!==t.horizontal,M=i.vertical!==t.vertical;if(A||M){var u=sk({left:l.width/2,top:l.height/2},-o),g=sk(Zv(s),-o),d=sk({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o);s=ek(s,Xv(d,Zv(s))),g=sk(Zv(c),-o),c=Ak(c=ek(c,Xv(d=sk({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o),Zv(c))),r({visibleArea:c,type:"move"}))}return{coordinates:s,visibleArea:c}}({flip:{horizontal:e?!r.horizontal:r.horizontal,vertical:t?!r.vertical:r.vertical},previousFlip:r,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()}),a=n.visibleArea,l=n.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=a,this.coordinates=l,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).transitions,i=void 0===t||t;if(!this.transitionsActive){i&&this.enableTransitions();var o=Av({},this.imageSize);this.appliedImageTransforms.rotate+=e;var r=function(e){var t=e.aspectRatio,i=e.getAreaRestrictions,o=e.coordinates,r=e.visibleArea,n=e.sizeRestrictions,a=e.positionRestrictions,l=e.imageSize,s=e.previousImageSize,c=e.angle,A=hv({},o),M=hv({},r),u=sk(Zv(hv({left:0,top:0},s)),c);return(A=hv(hv({},yk({sizeRestrictions:n,aspectRatio:t,width:A.width,height:A.height})),sk(Zv(A),c))).left-=u.left-l.width/2+A.width/2,A.top-=u.top-l.height/2+A.height/2,M=tk(M,ck(M,i({visibleArea:M,type:"resize"}))),{coordinates:A=Ak(A,a),visibleArea:M=Ak(M=ek(M,Xv(Zv(A),Zv(o))),i({visibleArea:M,type:"move"}))}}({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),n=r.visibleArea,a=r.coordinates,l=this.processAutoZoom("rotateImage",n,a);n=l.visibleArea,a=l.coordinates,this.visibleArea=n,this.coordinates=a,this.onChange(),i&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},$k={key:0,ref:"canvas",style:{display:"none"}},eb={key:1,ref:"sourceCanvas",style:{display:"none"}};qk.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"cropper",class:a.classes.cropper},[t.createVNode("div",{ref:"stretcher",class:a.classes.stretcher},null,2),t.createVNode("div",{class:a.classes.boundaries,style:a.boundariesStyle},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.backgroundWrapperComponent),{class:a.classes.cropperWrapper,"wheel-resize":a.settings.resizeImage.wheel,"touch-resize":a.settings.resizeImage.touch,"touch-move":a.settings.moveImage.touch,"mouse-move":a.settings.moveImage.mouse,onMove:a.onManipulateImage,onResize:a.onManipulateImage},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.background,style:a.boundariesStyle},null,6),t.createVNode("div",{class:a.classes.imageWrapper},[t.createVNode("img",{ref:"image",crossorigin:n.imageAttributes.crossOrigin,src:n.imageAttributes.src,class:a.classes.image,style:a.imageStyle,onMousedown:i[1]||(i[1]=t.withModifiers((function(){}),["prevent"]))},null,46,["crossorigin","src"])],2),t.createVNode("div",{class:a.classes.foreground,style:a.boundariesStyle},null,6),t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.stencilComponent),t.mergeProps({ref:"stencil",image:a.image,coordinates:n.coordinates,"stencil-coordinates":a.stencilCoordinates,transitions:a.transitionsOptions},o.stencilProps,{onResize:a.onResize,onResizeEnd:a.onResizeEnd,onMove:a.onMove,onMoveEnd:a.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[t.vShow,n.imageLoaded]]),o.canvas?(t.openBlock(),t.createBlock("canvas",$k,null,512)):t.createCommentVNode("",!0),o.canvas?(t.openBlock(),t.createBlock("canvas",eb,null,512)):t.createCommentVNode("",!0)]})),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const tb=Zs(t.defineComponent({__name:"BackgroundImageCropper",props:{touchMove:{},mouseMove:{},touchResize:{},wheelResize:{}},emits:["move","resize"],setup(e){const i=e,o=t.ref(!1),r=t.ref(),n=(e,t)=>{if("touchstart"===e.type||"touchmove"===e.type){if(1===e.touches.length&&!t)return o.value=!0,r.value="touch",a(),!1;o.value=!1}else if("wheel"===e.type){if(!t&&!e.ctrlKey)return o.value=!0,r.value="wheel",a(),!1;o.value=!1}e.preventDefault(),e.stopPropagation()},a=()=>{setTimeout((()=>{o.value=!1}),1e3)};return(e,a)=>(t.openBlock(),t.createBlock(t.unref(Hk),{"events-filter":n,"mouse-move":i.mouseMove,"touch-move":i.touchMove,"touch-resize":i.touchResize,"wheel-resize":i.wheelResize,onMove:a[0]||(a[0]=t=>e.$emit("move",t)),onResize:a[1]||(a[1]=t=>e.$emit("resize",t))},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"default",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([{"cropper-event-notification--visible":o.value},"cropper-event-notification"])},t.toDisplayString("wheel"===r.value?"Use ctrl + scroll to zoom the cropper":"Use two fingers to move the cropper"),3)])),_:3},8,["mouse-move","touch-move","touch-resize","wheel-resize"]))}}),[["__scopeId","data-v-3c428f57"]]);var ib={exports:{}};!function(e,t){(function(){function i(e,t){t=t||"";for(var i=window.atob(e),o=[],r=0,n=i.length;r<n;r+=1024){for(var a=i.slice(r,r+1024),l=new Array(a.length),s=0;s<a.length;s++)l[s]=a.charCodeAt(s);var c=new Uint8Array(l);o.push(c)}return new Blob(o,{type:t})}e.exports&&(t=e.exports=i),t.base64ToBlob=i}).call(ce)}(ib,ib.exports);const ob=Ae(ib.exports),rb={class:"flex flex-col gap-y-4"},nb={key:0,class:t.normalizeClass(["[&_li]:before:content-['•']","[&_li]:before:inline-block [&_li]:before:w-[12px] [&_li]:before:ml-[-12px] pl-3","max-w-[121px] text-body-medium text-general-800 dark:text-general-100 [&_li]:pl-0.5"]),"data-ts-section":"image-requirements-info"},ab=[t.createElementVNode("li",null,"Max. 1 MB",-1),t.createElementVNode("li",null,"Must be image format",-1)],lb=t.defineComponent({__name:"ImageInputInfo",props:{showInfo:{type:Boolean},showAddButton:{type:Boolean}},emits:["addPhoto"],setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",rb,[e.showInfo?(t.openBlock(),t.createElementBlock("ul",nb,ab)):t.createCommentVNode("",!0),e.showAddButton?(t.openBlock(),t.createBlock(Hs,{key:1,onClick:i[0]||(i[0]=t=>e.$emit("addPhoto")),icon:"add-line",label:"Add Photo",text:""})):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")]))}),sb=["draggable"],cb={key:0,class:"flex gap-0.5 justify-center","data-ts-section":"preview-buttons"},Ab={key:1,class:"flex gap-1 items-start"},Mb=["id","multiple"],ub=["for"],gb=[t.createElementVNode("span",{class:"inline-flex items-center text-body-medium rounded-bl rounded-tl bg-general-50 px-3 h-[26px] border-[0.5px] border-general-200"}," Browse ",-1),t.createElementVNode("span",{class:"inline-flex items-center text-body-medium !text-general-200 !font-light rounded-br rounded-tr px-3 h-[26px] leading-4 border-[0.5px] border-l-0 border-general-200"}," Select File ",-1)],db=t.defineComponent({__name:"ImageCompressor",props:t.mergeModels({type:{default:"normal"},multiple:{type:Boolean},defaultImage:{},disabled:{type:Boolean,default:!1},compressedBlob:{default:void 0},imagePreviewUrl:{default:void 0},imagePreviewSize:{default:"big"},rounded:{type:Boolean,default:!1},useValidator:{type:Boolean,default:!1},mandatory:{type:Boolean,default:!1},invalid:{type:Boolean},validatorMessage:{default:"Photo must be uploaded"},label:{default:void 0},fieldName:{default:"imageInput"},fieldInfo:{default:void 0},showInfo:{type:Boolean,default:!0},confirmOnDelete:{type:Boolean},showValidatorMessage:{type:Boolean,default:!0},fileType:{default:"webp"}},{defaultImage:{default:0},defaultImageModifiers:{}}),emits:t.mergeModels(["apply","update:defaultImage","update:fieldValue","delete"],["update:defaultImage"]),setup(e,{emit:i}){const o=e,r=i;t.onMounted((async()=>{j(),m(),o.imagePreviewUrl&&(d.value=o.imagePreviewUrl)})),t.onUnmounted((()=>{k(0),k(1)}));const n=t.ref([{src:null,type:null},{src:null,type:null}]),a=t.ref(),l=t.ref([]),s=t.ref(),c=t.shallowRef(0),A=t.ref(),M=t.ref(),u=t.shallowRef(),g=t.useModel(e,"defaultImage"),d=t.reactive({value:o.multiple?[]:void 0}),N=t.shallowRef(!1),y=t.shallowRef(),p=t.shallowRef(0),E=t.shallowRef(!1),I=t.ref([!1,!1]),h=t.computed((()=>`image/${o.fileType}`)),j=()=>{var e,t;(null==(e=o.imagePreviewUrl)?void 0:e.length)?l.value=Array.isArray(o.imagePreviewUrl)?o.imagePreviewUrl:[o.imagePreviewUrl]:(null==(t=o.compressedBlob)?void 0:t.length)&&(l.value=Array.isArray(o.compressedBlob)?o.compressedBlob:[o.compressedBlob])},T=(e=!1)=>{var t;o.disabled||(e&&(u.value=1),null==(t=s.value)||t.click())},w=async e=>{const{files:t}=e.target,i=Array.from(t??[]).slice(0,l.value.length?1:2);for(const[r,n]of i.entries())try{const e=u.value??r;await D(n,e)}catch(o){console.error("Error loading image:",o)}finally{u.value=void 0}},D=async(e,t)=>new Promise(((i,o)=>{if(e)if(x(t),e.type.includes("image"))if(e.size>1e6)S(t,!0),N.value=!0,y.value="File size is too big! Max. 1 MB",E.value=!1,k(t),o("File size is too big! Max. 1 MB");else{k(t);const i=URL.createObjectURL(e),o=new FileReader;o.onload=o=>{var r;n.value[t].src=i,n.value[t].type=B(null==(r=null==o?void 0:o.target)?void 0:r.result,e.type)},o.onerror=e=>{console.error("🚀 ~ returnnewPromise ~ e:",e)},o.readAsArrayBuffer(e),null==u.value&&(u.value=t),E.value||(E.value=!0),N.value=!1,y.value=void 0}else N.value=!0,y.value="File type is not image!",l.value[t]=void 0,E.value=!1,k(t),o("File type is not image!");p.value+=1,M.value=i})),m=()=>{o.useValidator&&Object.assign(d,Ya(o.fieldName,(e=>!e&&o.mandatory?(o.label??"Photo")+" must be uploaded":o.invalid&&o.validatorMessage?o.validatorMessage:!y.value||y.value)))},x=e=>{n.value[e]={src:null,type:null}},B=(e,t=null)=>{if(e){const i=new Uint8Array(e).subarray(0,4);let o="";for(const e of i)o+=e.toString(16);switch(o){case"89504e47":return"image/png";case"47494638":return"image/gif";case"ffd8ffe0":case"ffd8ffe1":case"ffd8ffe2":case"ffd8ffe3":case"ffd8ffe8":return h.value;default:return t}}return null},L=e=>{const t=ob(e.split(",")[1],h.value);return window.URL.createObjectURL(t)},f=async(e,t)=>{const i=await fetch(e).then((e=>e.blob()));return new File([i],t,{type:h.value})},z=async()=>{const e=u.value??0;try{await Q(e)}catch(t){console.error(t)}C()},C=()=>{var e;E.value=!1,null==(e=M.value)||e.call(M),M.value=void 0},Q=async e=>{if(A.value){const t=A.value.getResult();if(t.canvas){const i=t.canvas.toDataURL(h.value);await v(i,e)}}},v=async(e,t)=>{try{a.value=document.createElement("canvas");const i=a.value.getContext("2d"),n=new Image;n.src=e,await n.decode();const s=.8,c=n.width*s,A=n.height*s;a.value.setAttribute("width",c.toString()),a.value.setAttribute("height",A.toString()),i&&i.drawImage(n,0,0,c,A);const M=a.value.toDataURL(h.value,.95),u=Date.now()+`.${o.fileType}`,g={canvas:a.value,compressed:{blob:L(M),base64:M,fileName:u,file:await f(L(M),u),size:"",type:h.value},message:"File has been compressed."};g.compressed.size=Math.round(g.compressed.file.size/1e3)+"KB",l.value[t]=g.compressed.blob,o.multiple?d.value&&Array.isArray(d.value)?d.value[t]=g.compressed.file:d.value=[g.compressed.file]:d.value=g.compressed.file,r("apply",g,t)}catch(i){console.error(i)}},k=e=>{n.value[e].src&&URL.revokeObjectURL(n.value[e].src)},b=e=>{o.confirmOnDelete?I.value[e]=!0:S(e)},S=(e=0,t=!1)=>{N.value=!1,y.value=void 0,l.value=l.value.toSpliced(e,1),k(e),n.value[e]={src:null,type:null},n.value=[n.value[+!e],n.value[e]],u.value=0,g.value=0,o.confirmOnDelete&&!t||r("delete",S,e),o.multiple&&Array.isArray(d.value)?d.value=d.value.toSpliced(e,1):d.handleReset&&d.handleReset()},O=e=>{var t;const i=null==(t=l.value[e])?void 0:t.toString();u.value=e,(null==i?void 0:i.includes("blob"))?(u.value=e,E.value=!0):(x(e),T())},Y=()=>{T()},U=()=>{l.value=l.value.reverse(),d.value=d.value.reverse()},F=t.computed((()=>navigator.userAgent.includes("Firefox")));return t.watch(y,(e=>{e&&d.setErrors&&d.setErrors(e)})),t.watch(E,(e=>{e||c.value++})),t.watch((()=>d.value),(e=>{r("update:fieldValue",e)})),(e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(Vg,{class:t.normalizeClass([{"!w-max":!o.multiple,"!w-full":o.multiple}]),info:o.fieldInfo,label:o.label,mandatory:o.mandatory,"data-ts-name":"image-compressor","data-ts-section":"root"},{default:t.withCtx((()=>[t.createElementVNode("div",{class:t.normalizeClass(["w-full",{"grid gap-6 items-start grid-cols-2":e.multiple&&"normal"===e.type},{"grid gap-3 items-start grid-cols-[max-content,max-content]":e.multiple&&"inline-table"===e.type}]),"data-ts-section":"wrapper"},[l.value.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,((n,a)=>(t.openBlock(),t.createElementBlock("div",{key:a,draggable:2==l.value.length,onDragend:U,class:"flex gap-1 items-start","data-ts-section":"preview"},[t.createElementVNode("div",{class:t.normalizeClass(["flex gap-1",{"flex-col":"normal"===e.type,"items-center":"inline-table"===e.type}]),"data-ts-section":"preview-image-wrapper"},[t.createVNode(Uc,{class:t.normalizeClass({"w-[26px] h-[26px]":"inline-table"===e.type}),rounded:e.rounded,thumbnail:n,"data-ts-section":"preview-image"},null,8,["class","rounded","thumbnail"]),o.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",cb,["normal"===e.type?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(Hs,{label:"normal"===e.type?"Edit":"",onClick:e=>O(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"pencil",text:""},null,8,["label","onClick"]),t.createVNode(Hs,{label:"normal"===e.type?"Delete":"",onClick:e=>b(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"delete-bin",severity:"danger",text:""},null,8,["label","onClick"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(as,{onClick:e=>O(a),class:"text-xs p-0.5 rounded-xs mr-1",icon:"pencil",severity:"primary"},null,8,["onClick"]),t.createVNode(as,{onClick:e=>b(a),class:"text-xs p-0.5 rounded-xs",icon:"delete-bin",severity:"danger"},null,8,["onClick"])],64)),t.createVNode(Td,{visible:I.value[a],"onUpdate:visible":e=>I.value[a]=e,onConfirm:e=>r("delete",S,a),body:"Are you sure you want to delete it?","confirm-label":"Delete",header:"Delete Photo",severity:"danger"},null,8,["visible","onUpdate:visible","onConfirm"])]))],2),"normal"===e.type?(t.openBlock(),t.createBlock(lb,{key:0,"show-add-button":1===l.value.length&&o.multiple,"show-info":e.showInfo,onAddPhoto:i[1]||(i[1]=e=>T(!0))},{default:t.withCtx((()=>[2===l.value.length&&o.multiple?(t.openBlock(),t.createBlock(og,{key:0,modelValue:g.value,"onUpdate:modelValue":i[0]||(i[0]=e=>g.value=e),"label-id":"default-"+a,value:a,label:"Set as default"},null,8,["modelValue","label-id","value"])):t.createCommentVNode("",!0)])),_:2},1032,["show-add-button","show-info"])):t.createCommentVNode("",!0)],40,sb)))),128)),e.multiple&&1==l.value.length&&"inline-table"===e.type&&!o.disabled?(t.openBlock(),t.createBlock(Hs,{key:0,onClick:i[2]||(i[2]=e=>T(!0)),icon:"add-line",label:"Photo",text:""})):t.createCommentVNode("",!0)],64)):"inline-table"!=e.type?(t.openBlock(),t.createElementBlock("div",Ab,[t.createElementVNode("button",{class:t.normalizeClass(["w-[125px] h-[125px]","flex items-center justify-center","ring-inset","cursor-pointer",{"ring-1":F.value,"ring-[0.5px]":!F.value},{"rounded-full":e.rounded,"rounded-lg":!e.rounded},{"ring-general-200 dark:ring-general-200 focus-visible:ring-primary-500 focus-visible:dark:ring-primary-500":!N.value&&!d.errorMessage,"ring-danger-500 dark:ring-danger-500":N.value||d.errorMessage},{"bg-white dark:bg-grayscale-900":!o.disabled,"bg-general-50 dark:bg-grayscale-800":o.disabled}]),onClick:i[3]||(i[3]=e=>T(!1)),"data-ts-section":"input-image-trigger",type:"button"},[t.createVNode(as,{class:"w-6 h-6","data-ts-section":"trigger-icon",icon:"image-add",severity:"primary"})],2),t.createVNode(lb,{"show-info":e.showInfo},null,8,["show-info"])])):t.createCommentVNode("",!0)],2),(t.openBlock(),t.createElementBlock("input",{id:e.fieldName,key:c.value,ref_key:"inputImageFile",ref:s,multiple:o.multiple&&!l.value.length,onChange:w,accept:"image/*",class:"hidden","data-ts-section":"hidden-image-input",type:"file"},null,40,Mb)),"inline-table"!==e.type||l.value.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("label",{key:0,for:e.fieldName,class:"inline-flex items-center cursor-pointer"},gb,8,ub)),e.showValidatorMessage?(t.openBlock(),t.createBlock(Ag,{key:1,format:!1,message:d.errorMessage??y.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["class","info","label","mandatory"]),t.createVNode(XM,{visible:E.value,"onUpdate:visible":i[4]||(i[4]=e=>E.value=e),class:t.normalizeClass(["w-max max-w-[98vw] min-w-[500px] !max-h-[94vh]"]),"content-class":["overflow-hidden overflow-y-auto min-h-[100px]"],draggable:!1,"footer-class":["!gap-1"],"data-ts-section":"dialog-cropper",header:"Adjust Photo",modal:""},{footer:t.withCtx((()=>[t.createVNode(Hs,{onClick:C,label:"Cancel",plain:"",severity:"secondary",text:""}),t.createVNode(Hs,{onClick:Y,label:"Change Image",text:""}),t.createVNode(Hs,{onClick:z,label:"Apply",severity:"success",type:"button"})])),default:t.withCtx((()=>[null!=u.value?(t.openBlock(),t.createBlock(t.unref(qk),{key:0,ref_key:"vueAdvanceCropper",ref:A,"auto-zoom":!1,"background-wrapper-component":tb,src:n.value[u.value].src,class:"upload-example-cropper h-400","foreground-class":"h-400","image-class":"h-400"},null,8,["src"])):t.createCommentVNode("",!0)])),_:1},8,["visible"])],64))}}),Nb=["id","disabled","maxlength","placeholder"],yb=t.defineComponent({__name:"InputBadge",props:{type:{default:"text"},modelValue:{},initialValue:{},useValidator:{type:Boolean},mandatory:{type:Boolean},validatorMessage:{},showValidatorMessage:{type:Boolean,default:!0},invalid:{type:Boolean},fieldName:{default:"inputBadge"},placeholder:{},disabled:{type:Boolean},label:{},fieldInfo:{},fieldTooltipPos:{},preserveDeletedIndex:{type:Boolean},maxlength:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i;t.onMounted((()=>{y()}));const n=t.ref(null),a=t.ref(null),l=t.shallowRef(),s=t.reactive({value:o.initialValue??o.modelValue??[]}),c=t.ref(0),A=t.computed((()=>{var e;return(null==(e=o.label)?void 0:e.toLowerCase)+"-badge-input"})),M=t.computed((()=>o.placeholder?o.placeholder:"email"===o.type?"Enter valid email":"Enter value")),u=t.computed((()=>{var e,t;return null==(t=null==(e=s.value)?void 0:e.filter(Boolean))?void 0:t.length})),g=Ya(o.fieldName,(e=>!(!(null==e?void 0:e.length)&&o.mandatory)||(o.label??"This field")+" must not be empty")),d=t.computed((()=>{const e=s.errorMessage??o.validatorMessage;if(!e)return;if(e===(o.label??"This field")+" must not be empty"){if(!("meta"in s&&s.meta.touched))return}return e})),N=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:d.value)),y=()=>{var e,t;o.useValidator&&(Object.assign(s,g),(null==(e=o.initialValue)?void 0:e.length)?s.value=o.initialValue:(null==(t=o.modelValue)?void 0:t.length)&&(s.value=o.modelValue))},p=t.computed((()=>{var e;return o.invalid||!!d.value||!(null==(e=s.value)?void 0:e.length)&&"string"==typeof l.value&&!l.value.length})),E=e=>{var t,i;h(l.value)||("email"===o.type&&n.value&&a.value&&l.value&&(t=l.value,!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t))?a.value.toggle(e,n.value):l.value&&((null==(i=g.meta)?void 0:i.touched)&&g.setTouched(!1),s.value=[...s.value??[],l.value],l.value=void 0,r("update:modelValue",s.value)))},I=e=>{var t,i;"Backspace"!==e.key||l.value||(e.preventDefault(),"text"===o.type?l.value=null==(t=s.value)?void 0:t.pop():null==(i=s.value)||i.pop(),r("update:modelValue",s.value))},h=e=>{var t;return null==(t=s.value)?void 0:t.some((t=>t===e))},j=navigator.userAgent.includes("Firefox");return t.watch((()=>o.initialValue),(e=>{e&&(s.value=e)}),{once:!0}),t.watch((()=>o.modelValue),(e=>{e&&(s.value=e)})),o.preserveDeletedIndex&&t.watchEffect((()=>{var e,t;(null==(e=s.value)?void 0:e.length)&&(null==(t=s.value)?void 0:t.every((e=>null==e)))&&(s.value=[])})),(e,i)=>(t.openBlock(),t.createBlock(Vg,{info:e.fieldInfo,label:o.label,mandatory:o.mandatory,"tooltip-pos":e.fieldTooltipPos},{default:t.withCtx((()=>[(t.openBlock(),t.createElementBlock("div",{key:c.value,class:t.normalizeClass(["flex flex-wrap gap-x-0.5 gap-y-[5px] items-center","min-h-[26px] h-fit w-full","ring-inset rounded px-[12px] py-[2px]",{"ring-[1px]":t.unref(j),"ring-[0.5px]":!t.unref(j)},{"!ring-danger-500 !dark:ring-danger-500":p.value},{"!ring-general-200 !dark:ring-general-200":!p.value},{"pointer-events-none":e.disabled}]),"data-ts-name":"input-badge","data-ts-section":"root"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e},[e?(t.openBlock(),t.createBlock(Js,{key:0,"edit-maxlength":o.maxlength,label:e,onRemove:e=>{var t;return(e=>{var t,i;(null==(t=g.meta)?void 0:t.touched)&&g.setTouched(!1),null==(i=s.value)||i.splice(e,1,...o.preserveDeletedIndex?[null]:[]),r("update:modelValue",s.value)})(i),null==(t=n.value)?void 0:t.focus()},"onUpdate:label":e=>((e,t)=>{if(s.value&&e){if(h(e))return void c.value++;s.value[t]=e,r("update:modelValue",s.value)}})(e,i),editable:"",format:"nowrap",removable:"",severity:"dark"},null,8,["edit-maxlength","label","onRemove","onUpdate:label"])):t.createCommentVNode("",!0)],64)))),128)),t.createElementVNode("form",{onSubmit:t.withModifiers(E,["prevent"]),class:"flex-1","data-ts-section":"form-input"},[t.withDirectives(t.createElementVNode("input",{id:A.value,ref_key:"badgeInput",ref:n,"onUpdate:modelValue":i[0]||(i[0]=e=>l.value=e),class:t.normalizeClass([...t.unref(il).root({props:o,context:{disabled:e.disabled},parent:e.$parent}).class,"outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",{"placeholder:text-transparent":u.value},"focus:placeholder:text-general-200"]),disabled:e.disabled,maxlength:o.maxlength,placeholder:M.value,onBlur:E,onFocus:i[1]||(i[1]=e=>{var t;return null==(t=a.value)?void 0:t.hide()}),onInput:i[2]||(i[2]=e=>{var i;null==(i=a.value)||i.hide(),t.unref(g).setTouched(!1)}),onKeydown:I,"data-ts-section":"label-input",type:"text"},null,42,Nb),[[t.vModelText,l.value]]),t.createVNode(t.unref(kd),{ref_key:"op",ref:a,class:"px-3 py-1 text-[12px] text-general-800"},{default:t.withCtx((()=>[t.createVNode(as,{class:"mr-1 text-warning-600 text-base",icon:"error"}),t.createTextVNode(" Email format is incorrect ")])),_:1},512)],32)],2)),o.showValidatorMessage&&o.label?(t.openBlock(),t.createBlock(Ag,{key:0,message:N.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["info","label","mandatory","tooltip-pos"]))}}),pb=({isFirefoxBased:e,invalidInput:t})=>[{"ring-[1px]":e,"ring-[0.5px]":!e},{"!ring-danger-500":t},"ring-inset","ring-general-200","[&:has(:focus)]:bg-none [&:has(:focus)]:dark:bg-none","[&:has(:focus)]:ring-primary-500","bg-white dark:bg-white","z-[0] [&:has(:focus)]:z-[12]"],Eb={dialcode:e=>({class:[...pb(e),"rounded-l rounded-r-none"]}),inputnumber:e=>({class:[...pb(e),"rounded-r rounded-l-none -ml-[1px]"]})},Ib={currency:e=>({class:[...pb(e),"rounded-l rounded-r-none"],"data-ts-section":"currency"}),value:e=>({class:[...pb(e),"rounded-r rounded-l-none -ml-[1px]"],"data-ts-section":"value"})},hb={key:1,class:"bg-general-50 flex h-full items-center px-3 ring-[0.5px] ring-general-200 ring-inset rounded-l"},jb=t.defineComponent({__name:"InputCurrency",props:{modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{expose:i,emit:o}){var r,n;const a=e,l=o,s=t.reactive({value:a.modelValue}),c=Ya(a.fieldName??"currencyInput",(e=>null!=(null==e?void 0:e.value)||!a.mandatory||`${a.label} must not be empty`));t.onMounted((()=>{a.useValidator&&(Object.assign(s,c),a.modelValue&&(s.value=a.modelValue))}));const A=t.shallowRef(!1),M=t.shallowRef(null==(r=a.modelValue)?void 0:r.value),u=navigator.userAgent.includes("Firefox"),g=t.shallowRef(Rt(null==(n=a.modelValue)?void 0:n.currency)),d=t.shallowRef(Ft.filter((e=>e.currency!==Rt().currency))),N=t.computed((()=>{var e;return null==(e=g.value)?void 0:e.locale})),y=t.computed((()=>a.inputnNumberId?a.inputnNumberId:(a.label??a.fieldName??"input-number").toLowerCase().trim().replaceAll(" ","-")+"-inputnumber")),p=t.computed((()=>{const e=c.errorMessage.value??a.validatorMessage;if(!e)return;return e!==`${a.label} must not be empty`||c.meta.touched?e:void 0})),E=t.computed((()=>a.invalid||!!p.value)),I=({currency:e},t)=>{var i;(null==(i=c.meta)?void 0:i.touched)&&c.setTouched(!1);const o=null!=t?{currency:e,value:t}:void 0;l("update:modelValue",o),s.value=o};return t.watch((()=>a.modelValue),(()=>{var e,t,i;g.value=(null==(e=a.modelValue)?void 0:e.currency)?Rt(null==(t=a.modelValue)?void 0:t.currency):g.value,s.value=a.modelValue,M.value=null==(i=a.modelValue)?void 0:i.value})),i({selectedCurrency:g}),(e,i)=>(t.openBlock(),t.createBlock(Sf,t.mergeProps(a,{modelValue:M.value,"onUpdate:modelValue":[i[4]||(i[4]=e=>M.value=e),i[6]||(i[6]=e=>I(g.value,e))],"field-name":y.value,"input-id":y.value,"input-number-class":t.unref(Ib).value({isFirefoxBased:t.unref(u),invalidInput:E.value}).class,invalid:E.value,locale:N.value,"min-fraction-digits":0,"use-validator":!1,"validator-message":p.value,onInput:i[5]||(i[5]=e=>I(g.value,e)),"addon-left-class":"!p-0 !bg-transparent","input-group-class":"!ring-0",mode:"decimal","use-grouping":""}),{"addon-left":t.withCtx((()=>[a.selectable?(t.openBlock(),t.createBlock(t.unref(Cg),{key:0,modelValue:g.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>g.value=e),i[3]||(i[3]=e=>I(e,M.value))],class:t.normalizeClass(t.unref(Ib).currency({isFirefoxBased:t.unref(u),invalidInput:E.value}).class),"filter-fields":["label","currency"],options:d.value,pt:{input:{class:["py-1 pl-3 pr-2",t.unref(qa).input({props:{modelValue:g.value}}).class]}},onHide:i[1]||(i[1]=e=>(A.value=!1,void t.nextTick((()=>{const e=document.getElementById(y.value);e&&e.focus()})))),onShow:i[2]||(i[2]=e=>A.value=!0),"data-key":"currency",filter:"","filter-placeholder":"Search","option-label":"symbol"},{dropdownicon:t.withCtx((()=>[t.createVNode(as,{class:t.normalizeClass(["w-full h-full transition-transform !text-general-500",{"rotate-180":A.value}]),icon:"arrow-drop-down"},null,8,["class"])])),option:t.withCtx((({option:e})=>[t.createTextVNode(t.toDisplayString(e.label),1)])),_:1},8,["modelValue","class","options","pt"])):(t.openBlock(),t.createElementBlock("div",hb,t.toDisplayString(g.value.symbol),1))])),_:1},16,["modelValue","field-name","input-id","input-number-class","invalid","locale","validator-message"]))}}),Tb=t.defineComponent({__name:"InputCurrencyReference",props:{inputWrapperClass:{},inputClass:{},modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(),a=t.ref(!1),l=e=>{r("update:modelValue",e)},s=async()=>{a.value=!0;const e="USD";await t.nextTick(),n.value&&(n.value.selectedCurrency=Rt(e))},c=()=>{l(void 0),a.value=!1};return t.watch((()=>o.modelValue??o.value),(e=>{e&&(a.value=!0)}),{immediate:!0}),(e,i)=>a.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass([o.inputWrapperClass,"grid grid-cols-[1fr,auto] items-end gap-2.5"])},[t.createVNode(jb,t.mergeProps({ref_key:"inputCurrency",ref:n,class:o.inputClass,"onUpdate:modelValue":l},o,{selectable:""}),null,16,["class"]),t.createVNode(Hs,{onClick:c,"aria-label":"Remove currency input",icon:"delete-bin",outlined:"",severity:"danger"})],2)):(t.openBlock(),t.createBlock(Hs,{key:0,onClick:s,"aria-label":"Add currency input",icon:"add-line",outlined:""}))}}),wb={class:"grid grid-cols-1"},Db=t.defineComponent({__name:"InputCoordinate",props:{modelValue:{},disabled:{type:Boolean},useValidator:{type:Boolean},fieldName:{},label:{},mandatory:{type:Boolean},invalid:{type:Boolean},validatorMessage:{},showInput:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.reactive({value:o.modelValue});t.onMounted((()=>{o.useValidator&&(Object.assign(n,Ya(o.fieldName??"coordinate",(()=>s()))),null!==o.modelValue&&(n.value=o.modelValue))}));const a=t.shallowRef(!1),l=t.computed((()=>o.invalid||!!n.errorMessage)),s=async()=>(await t.nextTick(),!o.validatorMessage||!o.invalid||o.validatorMessage);return(e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.withDirectives(t.createVNode(Vg,{label:o.label,mandatory:o.mandatory},{default:t.withCtx((()=>[t.createVNode(Wg,{class:t.normalizeClass(["grid grid-cols-[1fr,auto] !h-auto"]),disabled:o.disabled,invalid:l.value,onClick:i[0]||(i[0]=e=>a.value=!0)},{default:t.withCtx((()=>{var e,i,r,a;return[t.createElementVNode("div",wb,[t.createVNode(t.unref(fd),{class:t.normalizeClass(["ts-inputtext border-b border-b-general-200 rounded-b-none !h-[26px]"]),invalid:l.value,"model-value":null==(i=null==(e=n.value)?void 0:e.lat)?void 0:i.toString(),disabled:"",placeholder:"Enter latitude"},null,8,["invalid","model-value"]),t.createVNode(t.unref(fd),{class:t.normalizeClass(["ts-inputtext !h-[26px]"]),invalid:l.value,"model-value":null==(a=null==(r=n.value)?void 0:r.lng)?void 0:a.toString(),disabled:"",placeholder:"Enter longitude"},null,8,["invalid","model-value"])]),t.createVNode(t.unref(Kg),{class:t.normalizeClass({"!text-general-200 !dark:text-general-200":o.disabled})},{default:t.withCtx((()=>[t.createVNode(as,{icon:"map-pin-line"})])),_:1},8,["class"])]})),_:1},8,["disabled","invalid"]),t.createVNode(Ag,{message:n.errorMessage??o.validatorMessage},null,8,["message"])])),_:1},8,["label","mandatory"]),[[t.vShow,o.showInput]]),t.createVNode(yf,{visible:a.value,"onUpdate:visible":i[1]||(i[1]=e=>a.value=e),value:n.value??void 0,"onUpdate:value":i[2]||(i[2]=e=>{return t=e,n.value=t,void r("update:modelValue",t);var t}),mode:"drag",type:"input"},null,8,["visible","value"])],64))}});var mb=XE,xb=/\s/;var Bb=function(e){for(var t=e.length;t--&&xb.test(e.charAt(t)););return t},Lb=/^\s+/;var fb=lI,zb=Qh;var Cb=function(e){return e?e.slice(0,Bb(e)+1).replace(Lb,""):e},Qb=sI,vb=function(e){return"symbol"==typeof e||zb(e)&&"[object Symbol]"==fb(e)},kb=/^[-+]0x[0-9a-f]+$/i,bb=/^0b[01]+$/i,Sb=/^0o[0-7]+$/i,Ob=parseInt;var Yb=sI,Ub=function(){return mb.Date.now()},Fb=function(e){if("number"==typeof e)return e;if(vb(e))return NaN;if(Qb(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qb(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Cb(e);var i=bb.test(e);return i||Sb.test(e)?Ob(e.slice(2),i?2:8):kb.test(e)?NaN:+e},Rb=Math.max,Gb=Math.min;var Hb=function(e,t,i){var o,r,n,a,l,s,c=0,A=!1,M=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var i=o,n=r;return o=r=void 0,c=t,a=e.apply(n,i)}function d(e){var i=e-s;return void 0===s||i>=t||i<0||M&&e-c>=n}function N(){var e=Ub();if(d(e))return y(e);l=setTimeout(N,function(e){var i=t-(e-s);return M?Gb(i,n-(e-c)):i}(e))}function y(e){return l=void 0,u&&o?g(e):(o=r=void 0,a)}function p(){var e=Ub(),i=d(e);if(o=arguments,r=this,s=e,i){if(void 0===l)return function(e){return c=e,l=setTimeout(N,t),A?g(e):a}(s);if(M)return clearTimeout(l),l=setTimeout(N,t),g(s)}return void 0===l&&(l=setTimeout(N,t)),a}return t=Fb(t)||0,Yb(i)&&(A=!!i.leading,n=(M="maxWait"in i)?Rb(Fb(i.maxWait)||0,t):n,u="trailing"in i?!!i.trailing:u),p.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=s=r=l=void 0},p.flush=function(){return void 0===l?a:y(Ub())},p};const Pb=Ae(Hb),Vb={key:0,class:"text-general-800 font-light","data-ts-section":"checking-availability"},Jb="Checking availability...",Wb=t.defineComponent({__name:"InputText",props:{modelValue:{},value:{},maxLength:{default:30},label:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},invalid:{type:Boolean},manualInvalidContainer:{type:Boolean,default:!1},validatorMessage:{},checkAvailability:{},validateOnBlur:{type:Boolean,default:!1},validatorMessageClass:{},formatValidatorMessage:{type:Boolean,default:!0},placeholder:{},type:{default:"text"},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{},labelClass:{},blurOnReachMax:{type:Boolean},allowSpecialCharacters:{type:Boolean,default:!0},trimInput:{type:Boolean,default:!1}},emits:["blur","input","update:modelValue"],setup(e,{emit:i}){var o;const r=e,n=i,a=t.ref(0),l=t.ref(),s=t.shallowRef(r.value||r.modelValue),c=t.inject("isSubmitting"),A=t.computed((()=>{var e;return"object"==typeof r.validatorMessage&&"exist"in r.validatorMessage?null==(e=r.validatorMessage)?void 0:e.exist:`${r.label} already exists`})),M=t.reactive({value:r.trimInput?null==(o=r.modelValue)?void 0:o.trim():r.modelValue});t.onMounted((()=>{var e;r.useValidator&&(Object.assign(M,d),null!=r.value&&(M.value=r.trimInput?null==(e=r.value)?void 0:e.trim():r.value))}));const u=t.computed((()=>r.invalid||!!M.errorMessage)),g=t.computed((()=>r.placeholder??`Enter ${r.label?r.label.toLowerCase():r.type??"text"}`)),d=Ya(r.fieldName??"textInput",(e=>N(r.trimInput?null==e?void 0:e.trim():e))),N=async e=>{if(await t.nextTick(),r.validatorMessage&&"string"==typeof r.validatorMessage&&r.invalid)return r.validatorMessage;if(!e&&r.mandatory)return`${r.label} must not be empty`;if((null==e?void 0:e.length)>r.maxLength&&("text"===r.type||"email"===r.type))return"Max. "+r.maxLength+" characters";if(e&&"email"===r.type){return!!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(e)||"Email format is incorrect"}if(e&&"url"===r.type){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:@!$&'()*+,;=]*)*(\\?[;&a-z\\d%_.~+=:@!$&'()*+,;=-]*)?(\\#[-a-z\\d_:@!$&'()*+,;=]*)?$","i").test(e)||"URL format is incorrect"}return r.allowSpecialCharacters?!r.checkAvailability||y():!/[^A-Za-z0-9 ]/.test(e)||"Cannot include any special characters"},y=()=>(null==c?void 0:c.value)?M.errorMessage!==A.value&&M.errorMessage!==Jb||M.errorMessage:(p(),Jb),p=Pb((async()=>{var e,t,i,o;if(M.value!=r.value&&(null==(e=M.value)?void 0:e.length)){if(!(await(null==(t=r.checkAvailability)?void 0:t.call(r,M.value))))return null==(i=M.setErrors)?void 0:i.call(M,A.value)}M.errorMessage===Jb&&(null==(o=M.setErrors)||o.call(M,""))}),300),E=e=>{var i;const o=null==(i=l.value)?void 0:i.$el;if(!o)return;const{selectionStart:n,selectionEnd:s}=o;a.value++,o.blur(),t.nextTick((()=>{var t;const i=null==(t=l.value)?void 0:t.$el;if(null==i||i.focus(),null!==n&&null!==s){const t=n===r.maxLength&&(null==e?void 0:e.length)===r.maxLength?r.maxLength:n-1;null==i||i.setSelectionRange(t,t)}}))},I=()=>{r.validateOnBlur&&(M.value=s.value),n("blur",s.value)},h=e=>{var t,i;const o=e.target.value||void 0;(null==(t=d.meta)?void 0:t.touched)&&d.setTouched(!1),n("input",o);const a="deleteContentBackward"===e.inputType,l=o&&(null==o?void 0:o.length)>=r.maxLength,c=(null==(i=M.value)?void 0:i.length)===r.maxLength;l&&r.blurOnReachMax&&!c?((e=>{s.value=String(e).slice(0,r.maxLength),E(e)})(o),n("input",o)):c&&!a&&r.blurOnReachMax?(s.value=M.value,E()):(s.value=o,n("input",o)),r.validateOnBlur||(M.value=s.value),n("update:modelValue",s.value)};return t.watch((()=>r.value),(e=>{M.value=r.trimInput?null==e?void 0:e.trim():e,s.value=M.value}),{once:!0}),t.watch((()=>r.modelValue),(e=>{M.value=r.trimInput?null==e?void 0:e.trim():e,s.value=M.value})),t.watch((()=>M.errorMessage),(e=>{var t;if(e===`${r.label} must not be empty`){"meta"in M&&M.meta.touched||null==(t=M.setErrors)||t.call(M,"")}}),{immediate:!0}),(e,i)=>(t.openBlock(),t.createBlock(Vg,{info:e.fieldInfo,label:r.label,"label-class":r.labelClass,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createVNode(Wg,{class:t.normalizeClass(r.inputContainerClass??["grid ",{"grid-cols-[max-content,1fr,max-content]":e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[1fr,max-content]":!e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[max-content,1fr]":e.$slots["addon-left"]&&!e.$slots["addon-right"]}]),disabled:r.disabled,invalid:u.value&&!r.manualInvalidContainer},{default:t.withCtx((()=>[e.$slots["addon-left"]?(t.openBlock(),t.createBlock(t.unref(Kg),{key:0,disabled:r.disabled},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-left")])),_:3},8,["disabled"])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(t.unref(fd),{key:a.value,ref_key:"input",ref:l,class:t.normalizeClass(["ts-inputtext",e.inputClass]),disabled:e.disabled,invalid:u.value,"model-value":M.value,placeholder:g.value,onBlur:I,onInput:h},null,8,["class","disabled","invalid","model-value","placeholder"])),e.$slots["addon-right"]?(t.openBlock(),t.createBlock(t.unref(Kg),{key:1,class:t.normalizeClass({"!text-general-200 !dark:text-general-200":r.disabled})},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-right")])),_:3},8,["class"])):t.createCommentVNode("",!0)])),_:3},8,["class","disabled","invalid"]),M.errorMessage==Jb?(t.openBlock(),t.createElementBlock("span",Vb," Checking availability... ")):(t.openBlock(),t.createBlock(Ag,{key:1,class:t.normalizeClass(r.validatorMessageClass),format:r.formatValidatorMessage,message:M.errorMessage},null,8,["class","format","message"]))])),_:3},8,["info","label","label-class","mandatory"]))}}),Kb=t.defineComponent({__name:"InputEmail",props:{modelValue:{},label:{},labelClass:{},fieldName:{},manualInvalidContainer:{type:Boolean},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},validatorMessageClass:{},placeholder:{},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{}},emits:["update:modelValue","blur"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(Wb,{"field-info":e.fieldInfo,"field-name":e.fieldName,"input-class":e.inputClass,"input-container-class":e.inputContainerClass,label:e.label,"label-class":e.labelClass,mandatory:e.mandatory,"manual-invalid-container":e.manualInvalidContainer,"max-length":60,"model-value":e.modelValue,placeholder:e.placeholder,"use-validator":e.useValidator,"validator-message":e.validatorMessage,"validator-message-class":e.validatorMessageClass,onBlur:i[0]||(i[0]=t=>e.$emit("blur",t)),"onUpdate:modelValue":i[1]||(i[1]=t=>e.$emit("update:modelValue",t)),type:"email","validate-on-blur":""},null,8,["field-info","field-name","input-class","input-container-class","label","label-class","mandatory","manual-invalid-container","model-value","placeholder","use-validator","validator-message","validator-message-class"]))});var Xb=Pl.extend({name:"inputotp",classes:{root:"p-inputotp p-component",input:"p-inputotp-input"}}),Zb={name:"InputOtp",extends:{name:"BaseInputOtp",extends:ws,props:{modelValue:{type:null,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},variant:{type:String,default:null},tabindex:{type:Number,default:null},length:{type:Number,default:4},mask:{type:Boolean,default:!1},integerOnly:{type:Boolean,default:!1}},style:Xb,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur"],data:function(){return{tokens:[]}},watch:{modelValue:{immediate:!0,handler:function(e){this.tokens=e?e.split(""):new Array(this.length)}}},methods:{getTemplateAttrs:function(e){return{value:this.tokens[e]}},getTemplateEvents:function(e){var t=this;return{input:function(i){return t.onInput(i,e)},keydown:function(e){return t.onKeyDown(e)},focus:function(e){return t.onFocus(e)},blur:function(e){return t.onBlur(e)},paste:function(e){return t.onPaste(e)}}},getPTOptions:function(e){return("root"===e?this.ptmi:this.ptm)(e,{context:{checked:this.checked,disabled:this.disabled}})},onInput:function(e,t){this.tokens[t]=e.target.value,this.updateModel(e),"deleteContentBackward"===e.inputType?this.moveToPrev(e):"insertText"!==e.inputType&&"deleteContentForward"!==e.inputType||this.moveToNext(e)},updateModel:function(e){var t=this.tokens.join("");this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},moveToPrev:function(e){var t=this.findPrevInput(e.target);t&&(t.focus(),t.select())},moveToNext:function(e){var t=this.findNextInput(e.target);t&&(t.focus(),t.select())},findNextInput:function(e){var t=e.nextElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findNextInput(t)},findPrevInput:function(e){var t=e.previousElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findPrevInput(t)},onFocus:function(e){e.target.select(),this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)},onKeyDown:function(e){if(!e.ctrlKey&&!e.metaKey)switch(e.code){case"ArrowLeft":this.moveToPrev(e),e.preventDefault();break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Backspace":0===e.target.value.length&&(this.moveToPrev(e),e.preventDefault());break;case"ArrowRight":this.moveToNext(e),e.preventDefault();break;default:(this.integerOnly&&!(Number(e.key)>=0&&Number(e.key)<=9)||this.tokens.join("").length>=this.length&&"Delete"!==e.code)&&e.preventDefault()}},onPaste:function(e){if(!this.readonly&&!this.disabled){var t=e.clipboardData.getData("text");if(t.length){var i=t.substring(0,this.length+1);this.integerOnly&&isNaN(i)||(this.tokens=i.split(""),this.updateModel(e))}e.preventDefault()}}},computed:{inputMode:function(){return this.integerOnly?"numeric":"text"},inputType:function(){return this.mask?"password":"text"}},components:{OtpInputText:fd}};Zb.render=function(e,i,o,r,n,a){var l=t.resolveComponent("OtpInputText");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.length,(function(o){return t.renderSlot(e.$slots,"default",{key:o,events:a.getTemplateEvents(o-1),attrs:a.getTemplateAttrs(o-1),index:o},(function(){return[t.createVNode(l,{value:n.tokens[o-1],type:a.inputType,class:t.normalizeClass(e.cx("input")),inputmode:a.inputMode,variant:e.variant,readonly:e.readonly,disabled:e.disabled,invalid:e.invalid,tabindex:e.tabindex,unstyled:e.unstyled,onInput:function(e){return a.onInput(e,o-1)},onFocus:i[0]||(i[0]=function(e){return a.onFocus(e)}),onBlur:i[1]||(i[1]=function(e){return a.onBlur(e)}),onPaste:i[2]||(i[2]=function(e){return a.onPaste(e)}),onKeydown:i[3]||(i[3]=function(e){return a.onKeyDown(e)}),pt:e.ptm("input")},null,8,["value","type","class","inputmode","variant","readonly","disabled","invalid","tabindex","unstyled","onInput","pt"])]}))})),128))],16)};const _b=t.defineComponent({__name:"InputOTP",props:{modelValue:{},disabled:{type:Boolean},invalid:{type:Boolean},length:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=e=>{const{code:t,key:i,ctrlKey:o,metaKey:r}=e;if((o||r)&&"v"===i.toLowerCase())return;t.startsWith("Digit")||t.startsWith("Numpad")&&!isNaN(Number(i))||["ArrowLeft","ArrowRight","Backspace"].includes(t)||e.preventDefault()};return t.watch(n,(e=>r("update:modelValue",e))),(e,i)=>(t.openBlock(),t.createBlock(t.unref(Zb),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value=e),disabled:e.disabled,invalid:e.invalid,length:e.length??6,onKeydown:a},null,8,["modelValue","disabled","invalid","length"]))}});var qb={name:"EyeSlashIcon",extends:zs},$b=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.62183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z",fill:"currentColor"},null,-1)];qb.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("svg",t.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),$b,16)};var eS=Pl.extend({name:"password",classes:{root:function(e){var t=e.instance,i=e.props;return["p-password p-component p-inputwrapper",{"p-inputwrapper-filled":t.filled,"p-inputwrapper-focus":t.focused,"p-icon-field p-icon-field-right":i.toggleMask}]},input:function(e){return["p-password-input",{"p-disabled":e.props.disabled}]},hideIcon:"p-input-icon",showIcon:"p-input-icon",panel:function(e){return["p-password-panel p-component",{"p-ripple-disabled":!1===e.instance.$primevue.config.ripple}]},meter:"p-password-meter",meterLabel:function(e){var t=e.instance;return"p-password-strength ".concat(t.meter?t.meter.strength:"")},info:"p-password-info"},inlineStyles:{root:function(e){return{position:"self"===e.props.appendTo?"relative":void 0}}}}),tS={name:"Password",extends:{name:"BasePassword",extends:ws,props:{modelValue:String,promptLabel:{type:String,default:null},mediumRegex:{type:[String,RegExp],default:"^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})"},strongRegex:{type:[String,RegExp],default:"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})"},weakLabel:{type:String,default:null},mediumLabel:{type:String,default:null},strongLabel:{type:String,default:null},feedback:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:"body"},toggleMask:{type:Boolean,default:!1},hideIcon:{type:String,default:void 0},showIcon:{type:String,default:void 0},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelId:{type:String,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:eS,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur","invalid"],data:function(){return{id:this.$attrs.id,overlayVisible:!1,meter:null,infoText:null,focused:!1,unmasked:!1}},watch:{"$attrs.id":function(e){this.id=e||Q()}},mediumCheckRegExp:null,strongCheckRegExp:null,resizeListener:null,scrollHandler:null,overlay:null,mounted:function(){this.id=this.id||Q(),this.infoText=this.promptText,this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex)},beforeUnmount:function(){this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(Y.clear(this.overlay),this.overlay=null)},methods:{onOverlayEnter:function(e){Y.set("overlay",e,this.$primevue.config.zIndex.overlay),M.addStyles(e,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener()},onOverlayLeave:function(){this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null},onOverlayAfterLeave:function(e){Y.clear(e)},alignOverlay:function(){"self"===this.appendTo?M.relativePosition(this.overlay,this.$refs.input.$el):(this.overlay.style.minWidth=M.getOuterWidth(this.$refs.input.$el)+"px",M.absolutePosition(this.overlay,this.$refs.input.$el))},testStrength:function(e){var t=0;return this.strongCheckRegExp.test(e)?t=3:this.mediumCheckRegExp.test(e)?t=2:e.length&&(t=1),t},onInput:function(e){this.$emit("update:modelValue",e.target.value),this.$emit("change",e)},onFocus:function(e){this.focused=!0,this.feedback&&(this.setPasswordMeter(this.modelValue),this.overlayVisible=!0),this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.$emit("blur",e)},onKeyUp:function(e){if(this.feedback){var t=e.target.value,i=this.checkPasswordStrength(t),o=i.meter,r=i.label;if(this.meter=o,this.infoText=r,"Escape"===e.code)return void(this.overlayVisible&&(this.overlayVisible=!1));this.overlayVisible||(this.overlayVisible=!0)}},setPasswordMeter:function(){if(!this.modelValue)return this.meter=null,void(this.infoText=this.promptText);var e=this.checkPasswordStrength(this.modelValue),t=e.meter,i=e.label;this.meter=t,this.infoText=i,this.overlayVisible||(this.overlayVisible=!0)},checkPasswordStrength:function(e){var t=null,i=null;switch(this.testStrength(e)){case 1:t=this.weakText,i={strength:"weak",width:"33.33%"};break;case 2:t=this.mediumText,i={strength:"medium",width:"66.66%"};break;case 3:t=this.strongText,i={strength:"strong",width:"100%"};break;default:t=this.promptText,i=null}return{label:t,meter:i}},onInvalid:function(e){this.$emit("invalid",e)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new N(this.$refs.input.$el,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!M.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},overlayRef:function(e){this.overlay=e},onMaskToggle:function(){this.unmasked=!this.unmasked},onOverlayClick:function(e){nu.emit("overlay-click",{originalEvent:e,target:this.$el})}},computed:{inputType:function(){return this.unmasked?"text":"password"},filled:function(){return null!=this.modelValue&&this.modelValue.toString().length>0},weakText:function(){return this.weakLabel||this.$primevue.config.locale.weak},mediumText:function(){return this.mediumLabel||this.$primevue.config.locale.medium},strongText:function(){return this.strongLabel||this.$primevue.config.locale.strong},promptText:function(){return this.promptLabel||this.$primevue.config.locale.passwordPrompt},panelUniqueId:function(){return this.id+"_panel"}},components:{PInputText:fd,Portal:pc,EyeSlashIcon:qb,EyeIcon:nc}};function iS(e){return(iS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oS(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function rS(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?oS(Object(i),!0).forEach((function(t){nS(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):oS(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function nS(e,t,i){var o;return o=function(e,t){if("object"!=iS(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=iS(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==iS(o)?o:String(o))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var aS=["id"];tS.render=function(e,i,o,r,n,a){var l=t.resolveComponent("PInputText"),s=t.resolveComponent("Portal");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root"),style:e.sx("root")},e.ptmi("root")),[t.createVNode(l,t.mergeProps({ref:"input",id:e.inputId,type:a.inputType,class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-controls":e.panelProps&&e.panelProps.id||e.panelId||a.panelUniqueId,"aria-expanded":n.overlayVisible,"aria-haspopup":!0,placeholder:e.placeholder,required:e.required,disabled:e.disabled,variant:e.variant,invalid:e.invalid,onInput:a.onInput,onFocus:a.onFocus,onBlur:a.onBlur,onKeyup:a.onKeyUp,onInvalid:a.onInvalid},e.inputProps,{pt:e.ptm("input"),unstyled:e.unstyled}),null,16,["id","type","class","style","value","aria-labelledby","aria-label","aria-controls","aria-expanded","placeholder","required","disabled","variant","invalid","onInput","onFocus","onBlur","onKeyup","onInvalid","pt","unstyled"]),e.toggleMask&&n.unmasked?t.renderSlot(e.$slots,"hideicon",{key:0,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.hideIcon?"i":"EyeSlashIcon"),t.mergeProps({class:[e.cx("hideIcon"),e.hideIcon],onClick:a.onMaskToggle},e.ptm("hideIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),e.toggleMask&&!n.unmasked?t.renderSlot(e.$slots,"showicon",{key:1,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.showIcon?"i":"EyeIcon"),t.mergeProps({class:[e.cx("showIcon"),e.showIcon],onClick:a.onMaskToggle},e.ptm("showIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:"p-hidden-accessible","aria-live":"polite"},e.ptm("hiddenAccesible"),{"data-p-hidden-accessible":!0}),t.toDisplayString(n.infoText),17),t.createVNode(s,{appendTo:e.appendTo},{default:t.withCtx((function(){return[t.createVNode(t.Transition,t.mergeProps({name:"p-connected-overlay",onEnter:a.onOverlayEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm("transition")),{default:t.withCtx((function(){return[n.overlayVisible?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref:a.overlayRef,id:e.panelId||a.panelUniqueId,class:[e.cx("panel"),e.panelClass],style:e.panelStyle,onClick:i[0]||(i[0]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)})},rS(rS({},e.panelProps),e.ptm("panel"))),[t.renderSlot(e.$slots,"header"),t.renderSlot(e.$slots,"content",{},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("meter")},e.ptm("meter")),[t.createElementVNode("div",t.mergeProps({class:e.cx("meterLabel"),style:{width:n.meter?n.meter.width:""}},e.ptm("meterLabel")),null,16)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("info")},e.ptm("info")),t.toDisplayString(n.infoText),17)]})),t.renderSlot(e.$slots,"footer")],16,aS)):t.createCommentVNode("",!0)]})),_:3},16,["onEnter","onLeave","onAfterLeave"])]})),_:3},8,["appendTo"])],16)};const lS=["onClick"],sS=["onClick"],cS=t.defineComponent({__name:"InputPassword",props:{modelValue:{},label:{},labelClass:{},inputContainerClass:{},mandatory:{type:Boolean},placeholder:{},feedback:{type:Boolean},fieldName:{},useValidator:{type:Boolean},invalid:{type:Boolean},validatorMessage:{},validatorMessageClass:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=t.reactive({value:void 0}),l=t.computed((()=>{const e=a.errorMessage??o.validatorMessage;if(!e)return;if(e===`${o.label} must not be empty`){if(!("meta"in a&&a.meta.touched))return}return e})),s=t.computed((()=>o.invalid||!!l.value)),c=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:l.value)),A=Ya(o.fieldName??"password",(e=>M(e)));t.onMounted((()=>{o.useValidator&&Object.assign(a,A)}));const M=e=>!e&&o.mandatory?`${o.label} must not be empty`:!o.validatorMessage||!o.invalid||o.validatorMessage,u=e=>{var t;r("update:modelValue",e),(null==(t=A.meta)?void 0:t.touched)&&A.setTouched(!1),o.useValidator&&(a.value=e)},g=e=>{const t=e.target;if(t.previousElementSibling&&"INPUT"===t.previousElementSibling.tagName){t.previousElementSibling.focus()}};return t.watch((()=>o.modelValue),(e=>{n.value=e,a.value=e})),(e,i)=>(t.openBlock(),t.createBlock(Vg,{label:o.label,"label-class":o.labelClass,mandatory:o.mandatory},{default:t.withCtx((()=>[t.createVNode(Wg,{class:t.normalizeClass(o.inputContainerClass),invalid:s.value},{default:t.withCtx((()=>[t.createVNode(t.unref(tS),{modelValue:n.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>n.value=e),u],feedback:o.feedback,invalid:s.value,placeholder:o.placeholder,"toggle-mask":""},{showicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(rl).showicon.class,"unset"]),onClick:t=>(e(),g(t))},[t.createVNode(as,{icon:"eye"})],10,lS)])),hideicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(rl).showicon.class,"unset"]),onClick:t=>(e(),g(t))},[t.createVNode(as,{icon:"eye-off"})],10,sS)])),_:1},8,["modelValue","feedback","invalid","placeholder"])])),_:1},8,["class","invalid"]),t.createVNode(Ag,{class:t.normalizeClass(o.validatorMessageClass),message:c.value},null,8,["class","message"])])),_:1},8,["label","label-class","mandatory"]))}}),AS={class:"grid grid-cols-[max-content,auto] w-full","data-ts-section":"phone-number-input-wrapper"},MS={class:"flex gap-2"},uS=["src"],gS=t.defineComponent({__name:"InputPhoneNumber",props:{modelValue:{},value:{},label:{},placeholder:{},disabled:{type:Boolean},invalid:{type:Boolean},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},fieldInfo:{}},emits:["update:modelValue","blur"],setup(e,{emit:o}){const r=e,n=o;t.onBeforeMount((async()=>{M.value=await p(),r.modelValue||r.value||(u.value=T())}));const a=Ya(r.fieldName??"numberInput",(e=>A(e)));t.onMounted((async()=>{y.value=r.modelValue,r.useValidator&&Object.assign(y,a),r.value&&j(r.value),r.modelValue&&j(r.modelValue)}));const l=t.computed((()=>{const e=y.errorMessage??r.validatorMessage;if(!e)return;if(e===(r.validatorMessage??`${r.label} must not be empty`)){if(!("meta"in y&&y.meta.touched))return}return e})),s=t.computed((()=>r.invalid||!!l.value)),c=navigator.userAgent.includes("Firefox"),A=async e=>(await t.nextTick(),!e&&r.mandatory?r.validatorMessage??`${r.label} must not be empty`:!r.invalid||!r.validatorMessage||r.validatorMessage),M=t.shallowRef(),u=t.shallowRef(),g=t.shallowRef(),d=t.shallowRef(!1),N=t.ref(0),y=t.reactive({value:null}),p=async()=>{d.value=!0;const{data:e}=await i.get("https://assets.tagsamurai.com/json/country-dial-code.json");return d.value=!1,e.filter((e=>e.dial_code))??[]},E=e=>{var t;(null==(t=a.meta)?void 0:t.touched)&&a.setTouched(!1),g.value=null==e?void 0:e.value,I()},I=()=>{y.value=g.value?`${u.value} ${g.value}`:void 0,n("update:modelValue",y.value)},h=()=>{t.nextTick((()=>{const e=document.getElementById("phone-number-input");e&&e.focus()}))},j=e=>{const t=null==e?void 0:e.split(" ");(null==t?void 0:t.length)?(u.value=t[0],g.value=parseInt(t[1]),y.value=g.value?`${u.value} ${g.value}`:void 0,d.value=!1):y.value=void 0},T=()=>{var e;if(M.value){const t="SH-AC",{region:i}=new Intl.Locale(t);return(null==(e=M.value.find((e=>e.code===i)))?void 0:e.dial_code)??"+62"}return"+62"};return t.watch((()=>r.value),(e=>{j(e)}),{once:!0}),t.watch((()=>r.modelValue),(e=>{j(e)})),t.watch(g,(e=>{var t,i;("number"==typeof(t=e)?t.toString().length:0)>15&&(i=e,g.value=parseInt(String(i).slice(0,15)),I(),N.value++)})),(e,i)=>(t.openBlock(),t.createBlock(Vg,{info:r.fieldInfo,label:r.label,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createElementVNode("div",AS,[t.createVNode(t.unref(Cg),{modelValue:u.value,"onUpdate:modelValue":i[0]||(i[0]=e=>u.value=e),class:t.normalizeClass(t.unref(Eb).dialcode({isFirefoxBased:t.unref(c),invalidInput:s.value}).class),disabled:r.disabled,"filter-fields":["dial_code","name"],loading:d.value,options:M.value,onChange:i[1]||(i[1]=e=>(I(),n("blur"))),onHide:h,"data-ts-section":"dialcode",filter:"","filter-placeholder":"Search","option-label":"dial_code","option-value":"dial_code"},{dropdownicon:t.withCtx((()=>[t.createVNode(as,{class:"w-full h-full transition-transform",icon:"arrow-drop-down"})])),option:t.withCtx((({option:e})=>[t.createElementVNode("div",MS,[t.createElementVNode("img",{src:e.image,alt:"country-img",style:{height:"16px"}},null,8,uS),t.createElementVNode("span",null,t.toDisplayString(e.name),1),t.createElementVNode("span",null,t.toDisplayString(e.dial_code),1)])])),_:1},8,["modelValue","class","disabled","loading","options"]),(t.openBlock(),t.createBlock(t.unref(ny),t.mergeProps({key:N.value},e.$props,{modelValue:g.value,"onUpdate:modelValue":i[2]||(i[2]=e=>g.value=e),class:t.unref(Eb).inputnumber({isFirefoxBased:t.unref(c),invalidInput:s.value}).class,disabled:r.disabled,"input-props":{autocomplete:"off"},"use-grouping":!1,onBlur:i[3]||(i[3]=e=>n("blur")),onInput:E,"data-ts-section":"inputnumber","input-id":"phone-number-input",placeholder:"Enter phone number"}),null,16,["modelValue","class","disabled"]))]),t.withDirectives(t.createVNode(Ag,{message:l.value},null,8,["message"]),[[t.vShow,l.value]])])),_:1},8,["info","label","mandatory"]))}}),dS=t.defineComponent({__name:"InputURL",props:{modelValue:{},label:{},fieldName:{},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},fieldInfo:{}},emits:["update:modelValue","blur"],setup(e,{emit:i}){const o=e,r=i;return(e,i)=>(t.openBlock(),t.createBlock(Wb,t.mergeProps({onBlur:i[0]||(i[0]=e=>r("blur",e)),"onUpdate:modelValue":i[1]||(i[1]=e=>r("update:modelValue",e))},o,{type:"url","validate-on-blur":""}),null,16))}}),NS={class:t.normalizeClass(["w-screen h-screen fixed top-0 left-0 z-[9999999]","bg-[#d9dbe9b3]","transition-opacity"]),"data-ts-name":"loading-overlay","data-ts-section":"overlay"},yS=["src"],pS=t.defineComponent({__name:"Loading",setup(e){const{loading:i}=ul(),o=t.shallowRef([]),r=t.shallowRef(0);return t.onMounted((async()=>{o.value=[(await Promise.resolve().then((()=>rO))).default,(await Promise.resolve().then((()=>nO))).default,(await Promise.resolve().then((()=>aO))).default,(await Promise.resolve().then((()=>lO))).default];const e=setInterval((()=>{r.value=(r.value+1)%o.value.length}),400);t.onUnmounted((()=>{clearInterval(e)}))})),(e,n)=>t.unref(i)?(t.openBlock(),t.createBlock(t.Teleport,{key:0,to:"body"},[t.createElementVNode("div",NS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,((e,i)=>(t.openBlock(),t.createElementBlock("img",{key:i,class:t.normalizeClass(["absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","opacity-0","transition-opacity duration-300 delay-[25ms] ease-in",{"opacity-100":r.value===i}]),src:e,"data-ts-section":"loading-icon"},null,10,yS)))),128))])])):t.createCommentVNode("",!0)}}),ES=["id"],IS={class:"list-none m-0 p-0 outline-none transition-shadow","data-ts-section":"menu"},hS=["aria-label","onClick"],jS={"aria-hidden":"true",class:"flex items-center justify-start gap-2 px-4 py-1.5 hover:bg-surface-50 text-xs no-underline overflow-hidden cursor-pointer select-none","data-pc-section":"action",tabindex:"-1"},TS=t.defineComponent({__name:"Menu",props:{model:{},popup:{type:Boolean},appendTo:{},autoZIndex:{type:Boolean},baseZIndex:{},exact:{type:Boolean},tabindex:{},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},emits:["focus","blur"],setup(e,{expose:i}){const o=t.shallowRef(!1),r=t.ref((+new Date).toString()),n=t.ref(null);t.onMounted((()=>{u(),d()})),t.onBeforeUnmount((()=>{g(),N()}));const a=()=>{o.value=!1,c(),g(),N()},l=e=>{const t=e.target;t.closest("button")!==n.value&&t!==n.value&&a()},s=()=>{document.addEventListener("click",l)},c=()=>{document.removeEventListener("click",l)},A=()=>{o.value&&a()},M=()=>{o.value&&a()},u=()=>{window.addEventListener("resize",A)},g=()=>{window.removeEventListener("resize",A)},d=()=>{window.addEventListener("scroll",M)},N=()=>{window.removeEventListener("scroll",M)};return i({toggle:e=>{o.value?a():(e=>{o.value=!0;const i=e.target;n.value=i.closest("button")||i,t.nextTick((()=>{const e=document.getElementById(r.value);if(e&&n.value){const{top:t,left:i}=n.value.getBoundingClientRect(),{offsetHeight:o=0,offsetWidth:r=0}=n.value??{},a=window.innerWidth-i,l=e.style;l.top=`${t+o+4}px`,l.left=`${a<e.offsetWidth+16?window.innerWidth-e.offsetWidth-a+r:i}px`,s()}}))})(e)}}),(e,i)=>(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx((()=>[o.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},e.$attrs,{id:r.value,class:[...t.unref(ol).root.class,"absolute","z-40","top-0 left-0","transition-all"],"data-ts-name":"menu","data-ts-section":"root"}),[t.createElementVNode("ul",IS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(i=>(t.openBlock(),t.createElementBlock("li",{key:i.label,"aria-label":i.label,onClick:e=>{var t;return null==(t=i.command)?void 0:t.call(i,{originalEvent:e,item:i})},class:"cursor-pointer","data-pc-section":"menuitem"},[t.renderSlot(e.$slots,"item",{item:i},(()=>[t.createElementVNode("a",jS,[i.icon?(t.openBlock(),t.createBlock(as,{key:0,icon:i.icon,severity:i.danger?"danger":void 0},null,8,["icon","severity"])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(["text-inherit",{"!text-danger-500":i.danger}]),"data-pc-section":"label"},t.toDisplayString(i.label),3)])]))],8,hS)))),128))])],16,ES)):t.createCommentVNode("",!0)])),_:3})]))}}),wS=t.defineComponent({__name:"Paginator",props:{totalRecords:{},rows:{},first:{},pageLinkSize:{},rowsPerPageOptions:{},template:{},currentPageReportTemplate:{},alwaysShow:{type:Boolean},pt:{},ptOptions:{}},emits:["update:first","update:rows","page"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(t.unref(Ly),t.mergeProps(e.$props,{onPage:i[0]||(i[0]=t=>e.$emit("page",t)),"onUpdate:first":i[1]||(i[1]=t=>e.$emit("update:first",t)),"onUpdate:rows":i[2]||(i[2]=t=>e.$emit("update:rows",t))}),null,16))}),DS={class:"flex items-center gap-2"},mS={class:"text-xs font-medium"},xS=t.defineComponent({__name:"ProgressBar",props:{value:{},maxValue:{},maxBarWidth:{default:120}},setup(e){const i=e,o=`width: ${i.maxBarWidth}px`;return(e,r)=>(t.openBlock(),t.createElementBlock("div",DS,[t.createElementVNode("div",{style:o},[t.createVNode(t.unref(GQ),{"show-value":!1,value:i.value/i.maxValue*100},null,8,["value"])]),t.createElementVNode("div",mS,t.toDisplayString(i.value)+"/"+t.toDisplayString(i.maxValue),1)]))}}),BS={class:"flex gap-3 items-center","data-ts-name":"steps","data-ts-section":"root"},LS=t.defineComponent({__name:"Steps",props:{steps:{},currentStep:{}},setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",BS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,((i,o)=>(t.openBlock(),t.createElementBlock("div",{key:i.toString(),class:t.normalizeClass(["flex gap-1 items-center text-general-300 text-xs font-semibold",{"!text-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepitem"},[t.createElementVNode("span",{class:t.normalizeClass(["flex items-center justify-center","rounded-full border-2 w-5 h-5 tracking-[0.03em]","bg-general-50","border-general-300",{"!bg-primary-50 !border-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepnumber"},t.toDisplayString(o+1),3),t.createTextVNode(" "+t.toDisplayString("string"==typeof i?i:i.label),1)],2)))),128))]))});var fS=Pl.extend({name:"tabmenu",classes:{root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(e){var t=e.instance,i=e.index,o=e.item;return["p-tabmenuitem",{"p-highlight":t.d_activeIndex===i,"p-disabled":t.disabled(o)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"}}),zS={name:"TabMenu",extends:{name:"BaseTabMenu",extends:ws,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:fS,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.updateInkBar();var e=this.findActiveItem();e&&(e.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(e,t,i){return this.ptm(e,{context:{item:t,index:i}})},onItemClick:function(e,t,i){this.disabled(t)?e.preventDefault():(t.command&&t.command({originalEvent:e,item:t}),i!==this.d_activeIndex&&(this.d_activeIndex=i,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:e,index:i}))},onKeydownItem:function(e,t,i){switch(e.code){case"ArrowRight":this.navigateToNextItem(e.target),e.preventDefault();break;case"ArrowLeft":this.navigateToPrevItem(e.target),e.preventDefault();break;case"Home":this.navigateToFirstItem(e.target),e.preventDefault();break;case"End":this.navigateToLastItem(e.target),e.preventDefault();break;case"Space":case"NumpadEnter":case"Enter":this.onItemClick(e,t,i),e.preventDefault();break;case"Tab":this.onTabKey()}},navigateToNextItem:function(e){var t=this.findNextItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToPrevItem:function(e){var t=this.findPrevItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToFirstItem:function(e){var t=this.findFirstItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToLastItem:function(e){var t=this.findLastItem(e);t&&this.setFocusToMenuitem(e,t)},findNextItem:function(e){var t=e.parentElement.nextElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findNextItem(t.children[0]):t.children[0]:null},findPrevItem:function(e){var t=e.parentElement.previousElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findPrevItem(t.children[0]):t.children[0]:null},findFirstItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e.children[0]:null},findLastItem:function(){var e=M.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e[e.length-1].children[0]:null},findActiveItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return e?e.children[0]:null},setFocusToMenuitem:function(e,t){e.tabIndex="-1",t.tabIndex="0",t.focus()},onTabKey:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),t=M.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');t!==e.children[0]&&(e&&(e.children[0].tabIndex="0"),t.tabIndex="-1")},visible:function(e){return"function"==typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"==typeof e.disabled?e.disabled():!0===e.disabled},label:function(e){return"function"==typeof e.label?e.label():e.label},updateInkBar:function(){for(var e=this.$refs.nav.children,t=!1,i=0;i<e.length;i++){var o=e[i];M.getAttribute(o,"data-p-highlight")&&(this.$refs.inkbar.style.width=M.getWidth(o)+"px",this.$refs.inkbar.style.left=M.getOffset(o).left-M.getOffset(this.$refs.nav).left+"px",t=!0)}t||(this.$refs.inkbar.style.width="0px",this.$refs.inkbar.style.left="0px")},getMenuItemProps:function(e,i){var o=this;return{action:t.mergeProps({class:this.cx("action"),tabindex:-1,onClick:function(t){return o.onItemClick(t,e,i)},onKeyDown:function(t){return o.onKeydownItem(t,e,i)}},this.getPTOptions("action",e,i)),icon:t.mergeProps({class:[this.cx("icon"),e.icon]},this.getPTOptions("icon",e,i)),label:t.mergeProps({class:this.cx("label")},this.getPTOptions("label",e,i))}}},directives:{ripple:Ss}},CS=["aria-labelledby","aria-label"],QS=["onClick","onKeydown","data-p-highlight","data-p-disabled"],vS=["href","target","aria-label","aria-disabled"];zS.render=function(e,i,o,r,n,a){var l=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[t.createElementVNode("ul",t.mergeProps({ref:"nav",class:e.cx("menu"),role:"menubar","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},e.ptm("menu")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(function(i,o){return t.openBlock(),t.createElementBlock(t.Fragment,{key:a.label(i)+"_"+o.toString()},[a.visible(i)?(t.openBlock(),t.createElementBlock("li",t.mergeProps({key:0,ref_for:!0,ref:"tab",class:[e.cx("menuitem",{item:i,index:o}),i.class],role:"presentation",onClick:function(e){return a.onItemClick(e,i,o)},onKeydown:function(e){return a.onKeydownItem(e,i,o)}},a.getPTOptions("menuitem",i,o),{"data-p-highlight":n.d_activeIndex===o,"data-p-disabled":a.disabled(i)}),[e.$slots.item?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.item),{key:1,item:i,index:o,active:o===n.d_activeIndex,label:a.label(i),props:a.getMenuItemProps(i,o)},null,8,["item","index","active","label","props"])):t.withDirectives((t.openBlock(),t.createElementBlock("a",t.mergeProps({key:0,ref_for:!0,ref:"tabLink",role:"menuitem",href:i.url,class:e.cx("action"),target:i.target,"aria-label":a.label(i),"aria-disabled":a.disabled(i),tabindex:-1},a.getPTOptions("action",i,o)),[e.$slots.itemicon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.itemicon),{key:0,item:i,class:t.normalizeClass(e.cx("icon"))},null,8,["item","class"])):i.icon?(t.openBlock(),t.createElementBlock("span",t.mergeProps({key:1,class:[e.cx("icon"),i.icon]},a.getPTOptions("icon",i,o)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:e.cx("label")},a.getPTOptions("label",i,o)),t.toDisplayString(a.label(i)),17)],16,vS)),[[l]])],16,QS)):t.createCommentVNode("",!0)],64)})),128)),t.createElementVNode("li",t.mergeProps({ref:"inkbar",role:"none",class:e.cx("inkbar")},e.ptm("inkbar")),null,16)],16,CS)],16)};const kS=["href","onClick"],bS={key:1,class:"flex flex-nowrap space-x-1 overflow-auto invisible-scrollbar"},SS=["href","onClick"],OS=["onClick"],YS=Zs(t.defineComponent({__name:"TabMenu",props:{menu:{},type:{},activeIndex:{},exact:{type:Boolean}},emits:["update:activeIndex"],setup(e,{emit:i}){const o=e,r=i;t.onBeforeMount((()=>{s()}));const n=t.computed((()=>window.location.pathname)),a=t.computed((()=>Object.hasOwn(o.menu[0],"to"))),l=t.ref(o.activeIndex??0),s=()=>{a.value&&(l.value=o.menu.map((e=>e.to)).findIndex((e=>(e&&n.value.includes(e),e?o.exact?n.value===e:n.value.includes(e):""))))};return t.watch(l,(e=>{r("update:activeIndex",e)})),(e,i)=>{const o=t.resolveComponent("router-link");return"tab"===e.type?(t.openBlock(),t.createBlock(t.unref(zS),{key:0,activeIndex:l.value,"onUpdate:activeIndex":i[0]||(i[0]=e=>l.value=e),model:e.menu},t.createSlots({_:2},[a.value?{name:"item",fn:t.withCtx((({item:e,props:i})=>[t.createVNode(o,{to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("a",t.mergeProps({href:o},i.action,{onClick:r}),[t.createElementVNode("span",t.normalizeProps(t.guardReactiveProps(i.label)),t.toDisplayString(e.label),17)],16,kS)])),_:2},1032,["to"])])),key:"0"}:void 0]),1032,["activeIndex","model"])):(t.openBlock(),t.createElementBlock("div",bS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menu,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i},[a.value?(t.openBlock(),t.createBlock(o,{key:0,to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("div",{class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),href:o,onClick:e=>{l.value=i,r(e)}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,SS)],2)])),_:2},1032,["to"])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium cursor-pointer",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),onClick:()=>{l.value=i}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,OS)],2))],64)))),128))]))}}}),[["__scopeId","data-v-844747a2"]]);var US=Pl.extend({name:"timeline",classes:{root:function(e){var t=e.props;return["p-timeline p-component","p-timeline-"+t.align,"p-timeline-"+t.layout]},event:"p-timeline-event",opposite:"p-timeline-event-opposite",separator:"p-timeline-event-separator",marker:"p-timeline-event-marker",connector:"p-timeline-event-connector",content:"p-timeline-event-content"}}),FS={name:"Timeline",extends:{name:"BaseTimeline",extends:ws,props:{value:null,align:{mode:String,default:"left"},layout:{mode:String,default:"vertical"},dataKey:null},style:US,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,methods:{getKey:function(e,t){return this.dataKey?w.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t){return this.ptm(e,{context:{index:t,count:this.value.length}})}}};FS.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value,(function(i,o){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:a.getKey(i,o),class:e.cx("event")},a.getPTOptions("event",o)),[t.createElementVNode("div",t.mergeProps({class:e.cx("opposite",{index:o})},a.getPTOptions("opposite",o)),[t.renderSlot(e.$slots,"opposite",{item:i,index:o})],16),t.createElementVNode("div",t.mergeProps({class:e.cx("separator")},a.getPTOptions("separator",o)),[t.renderSlot(e.$slots,"marker",{item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("marker")},a.getPTOptions("marker",o)),null,16)]})),o!==e.value.length-1?t.renderSlot(e.$slots,"connector",{key:0,item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("connector")},a.getPTOptions("connector",o)),null,16)]})):t.createCommentVNode("",!0)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("content")},a.getPTOptions("content",o)),[t.renderSlot(e.$slots,"content",{item:i,index:o})],16)],16)})),128))],16)};const RS={class:"w-[22px] h-[22px] flex items-center justify-center rounded-full border border-general-100 dark:border-general-500 bg-transparent"},GS={key:1,class:"w-[6px] h-[6px] rounded-full bg-general-800 dark:bg-general-100"},HS={class:"pt-[2.5px] pb-[10px] flex flex-col gap-1"},PS={id:"header",class:"flex items-center justify-between"},VS={class:"flex items-center gap-1"},JS={key:0,class:"flex items-center gap-0.5"},WS={class:"text-primary-500 dark:text-primary-300 text-xs font-medium"},KS={key:0,id:"body",class:"flex flex-col gap-1"},XS={class:"flex flex-row items-center gap-1"},ZS={class:"text-xs font-medium text-general-400 dark:text-general-200"},_S={class:"text-xs font-medium"},qS=t.defineComponent({__name:"Timeline",props:{data:{}},setup(e){const i=e;t.onMounted((()=>{var e;o.value=null==(e=i.data)?void 0:e.map((e=>{var t;return e.body&&(null==(t=Object.keys(e.body))?void 0:t.length)?{...e,bodyShow:!0}:e}))}));const o=t.ref();return(e,i)=>(t.openBlock(),t.createBlock(t.unref(FS),{value:o.value},{marker:t.withCtx((({item:e})=>{var i;return[t.createElementVNode("div",RS,[e.body&&(null==(i=Object.keys(e.body))?void 0:i.length)?(t.openBlock(),t.createBlock(as,{key:0,class:t.normalizeClass({"rotate-180":e.bodyShow}),onClick:t=>e.bodyShow=!e.bodyShow,icon:"arrow-down"},null,8,["class","onClick"])):(t.openBlock(),t.createElementBlock("div",GS))])]})),content:t.withCtx((({item:i})=>{var o;return[t.createElementVNode("div",HS,[t.createElementVNode("div",PS,[t.createElementVNode("div",VS,[t.createElementVNode("span",{class:t.normalizeClass(["text-xs font-bold",{"text-danger-500":i.danger}])},t.toDisplayString(i.title),3),i.username?(t.openBlock(),t.createElementBlock("div",JS,[t.createVNode(as,{class:"!text-general-400 dark:!text-general-200 !text-base",icon:"user"}),t.createElementVNode("span",WS,t.toDisplayString(t.unref(oe)(i.username)),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:t.normalizeClass(["text-xs font-medium",{"text-danger-500":i.danger}])},t.toDisplayString(t.unref(ft)(i.date,!0)),3)]),(null==(o=Object.keys(i.body??{}))?void 0:o.length)&&i.bodyShow?(t.openBlock(),t.createElementBlock("div",KS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(i.body),(o=>t.renderSlot(e.$slots,"body",t.mergeProps({key:o,ref_for:!0},{key:o,value:i.body[o]}),(()=>[t.createElementVNode("div",XS,[t.createElementVNode("span",ZS,t.toDisplayString(o)+": ",1),t.createElementVNode("span",_S,t.toDisplayString(i.body[o]),1)])])))),128))])):t.createCommentVNode("",!0)])]})),_:3},8,["value"]))}}),$S={name:"_blank",styles:[],timeout:1e3,autoClose:!0,windowTitle:window.document.title},eO=function(e={}){const i=__VUE_I18N_LEGACY_API__&&ni(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=!ni(e.globalInjection)||e.globalInjection,r=!__VUE_I18N_LEGACY_API__||!i||!!e.allowComposition,n=new Map,[a,l]=function(e,i){const o=t.effectScope();{const t=__VUE_I18N_LEGACY_API__&&i?o.run((()=>Pr(e))):o.run((()=>Hr(e)));if(null==t)throw Br(xr.UNEXPECTED_ERROR);return[o,t]}}(e,i),s=Vt("");{const e={get mode(){return __VUE_I18N_LEGACY_API__&&i?"legacy":"composition"},get allowComposition(){return r},async install(r,...n){if(r.__VUE_I18N_SYMBOL__=s,r.provide(r.__VUE_I18N_SYMBOL__,e),ci(n[0])){const t=n[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let a=null;!i&&o&&(a=function(e,i){const o=Object.create(null);rn.forEach((e=>{const r=Object.getOwnPropertyDescriptor(i,e);if(!r)throw Br(xr.UNEXPECTED_ERROR);const n=t.isRef(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(o,e,n)})),e.config.globalProperties.$i18n=o,nn.forEach((t=>{const o=Object.getOwnPropertyDescriptor(i,t);if(!o||!o.value)throw Br(xr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,o)}));const r=()=>{delete e.config.globalProperties.$i18n,nn.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return r}(r,e.global)),__VUE_I18N_FULL_INSTALL__&&$r(r,e,...n),__VUE_I18N_LEGACY_API__&&i&&r.mixin(function(e,i,o){return{beforeCreate(){const r=t.getCurrentInstance();if(!r)throw Br(xr.UNEXPECTED_ERROR);const n=this.$options;if(n.i18n){const t=n.i18n;if(n.__i18n&&(t.__i18n=n.__i18n),t.__root=i,this===this.$root)this.$i18n=en(e,t);else{t.__injectWithOption=!0,t.__extender=o.__vueI18nExtend,this.$i18n=Pr(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(n.__i18n)if(this===this.$root)this.$i18n=en(e,n);else{this.$i18n=Pr({__i18n:n.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:i});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;n.__i18nGlobal&&Or(i,n,n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),o.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw Br(xr.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),o.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,e));const c=r.unmount;r.unmount=()=>{a&&a(),e.dispose(),c()}},get global(){return l},dispose(){a.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return e}}({locale:"en",fallbackLocale:"en",legacy:!1}),tO={install:e=>{e.use(q,{unstyled:!0,pt:al}),e.use(eO),e.use(te),e.use(rs,$S),e.directive("tooltip",is),e.directive("focus",os),e.component("DialogDamageLog",SA),e.component("DialogMissingLog",iM),e.component("DialogTransferLog",wA),e.component("TSAnimation",oM),e.component("TSAssetInfo",TM),e.component("TSApproverInfo",kM),e.component("TSBadge",Js),e.component("TSBadgeGroup",qM),e.component("TSBreadcrumb",iu),e.component("TSButton",Hs),e.component("TSButtonAddByScan",ou),e.component("TSButtonBulkAction",Eu),e.component("TSButtonCopy",Ku),e.component("TSButtonDownload",Xu),e.component("TSButtonFilter",Iu),e.component("TSButtonLogHistory",Zu),e.component("TSButtonRadio",og),e.component("TSButtonViewLog",sx),e.component("TSButtonScan",Bd),e.component("TSButtonSearch",Qd),e.component("TSButtonSearchByScan",Fd),e.component("TSButtonSelectTree",ON),e.component("TSDialogSelectAsset",Gm),e.component("TSButtonSelectUser",tx),e.component("TSDisposalReport",CQ),e.component("TSButtonSync",ix),e.component("TSButtonToggle",lx),e.component("TSCalendar",Qm),e.component("TSCard",Ax),e.component("TSCarousel",dx),e.component("TSCheckbox",LN),e.component("TSCustomColumn",aD),e.component("TSDatePicker",px),e.component("TSDataTable",yD),e.component("TSDayPicker",hx),e.component("TSDayOfYearPicker",mx),e.component("TSDialog",XM),e.component("TSDialogApprovalList",zM),e.component("TSDialogAssetNameDetail",vx),e.component("TSDialogConfirm",Td),e.component("TSDialogCoordinate",yf),e.component("TSDialogDataLocked",If),e.component("TSDialogForm",Bf),e.component("TSDialogLinkedAsset",kf),e.component("TSDialogPrintQR",UC),e.component("TSDialogReportDamage",KC),e.component("TSDialogReportMissing",tQ),e.component("TSDialogReportTag",rQ),e.component("TSDialogSelectAssetName",yQ),e.component("TSDialogSelectTree",bN),e.component("TSDialogSelectUser",_m),e.component("TSDropdown",qg),e.component("TSFailedLoad",AD),e.component("TSFilterContainer",UD),e.component("TSAssetFilters",vm),e.component("TSFileUpload",sv),e.component("TSForm",wf),e.component("TSIcon",as),e.component("TSImage",Uc),e.component("TSImageCompressor",db),e.component("TSInlineMessage",ad),e.component("TSInputBadge",yb),e.component("TSInputCurrency",jb),e.component("TSInputCurrencyReference",Tb),e.component("TSInputCoordinate",Db),e.component("TSInputEmail",Kb),e.component("TSInputNumber",Sf),e.component("TSInputOTP",_b),e.component("TSInputPassword",cS),e.component("TSInputPhoneNumber",gS),e.component("TSInputRangeNumber",RD),e.component("TSInputSearch",AL),e.component("TSInputText",Wb),e.component("TSInputURL",dS),e.component("TSLoading",pS),e.component("TSMenu",TS),e.component("TSMultiSelect",OD),e.component("TSOverlayPanel",Od),e.component("TSPaginator",wS),e.component("TSProgressBar",xS),e.component("TSSteps",LS),e.component("TSTabMenu",YS),e.component("TSTagType",_s),e.component("TSTextarea",hQ),e.component("TSTimeline",qS),e.component("TSToast",Wu),e.component("TSTransactionRoles",$s),e.component("TSTree",CN),e.component("TSTreeSearchInput",Gd),e.component("TSUserWithIcon",mM),e.component("TSValidatorMessage",Ag)}},iO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:application/octet-stream;base64,UEsDBBQAAAAIAGghblre6w2+fgAAALUAAAANAAAAbWFuaWZlc3QuanNvbo2NMQ7CMAxF7+KZFJymiHTqBTgBYjDEgqA0QYlBQlXvjidmtv+k9/QXeHNtsWQYAWEDN85cSUpVnkKRVEQib3/LPNqE3a6z6tJL7v+JOc4ketJgPC0Qgzbsnb/YgY2jKxrXD2g8Um9wbwOjswoHTZ+JPscSWItc6kwJ1vP6BVBLAwQUAAAACABoIW5aWWWigx8DAABSGAAANAAAAGFuaW1hdGlvbnMvZTk0OWIyNWUtNG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+Y/jmYPuLrtLpv/81/+/gHUEsBAhQAFAAAAAgAaCFuWt7rDb5+AAAAtQAAAA0AAAAAAAAAAAAAAAAAAAAAAG1hbmlmZXN0Lmpzb25QSwECFAAUAAAACABoIW5aWWWigx8DAABSGAAANAAAAAAAAAAAAAAAAACpAAAAYW5pbWF0aW9ucy9lOTQ5YjI1ZS00YWMxLTQzNTEtOTFhMy0xNjJkZTE0MjkxYTguanNvblBLBQYAAAAAAgACAJ0AAAAaBAAAAAA="},Symbol.toStringTag,{value:"Module"})),oO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:application/octet-stream;base64,UEsDBBQAAAAIAJUQc1sIGu2wgQAAALUAAAANAAAAbWFuaWZlc3QuanNvbo2NQQ7CIBBF7zJrqaUilq56AU9gXEwLKIaCgdHENL27s3Lt7v/kvbwV3q7UkBMMIGEHN5dcQcqF/2gzxUwU3P63xKOOsumalll80f0/MIUFiSMVhssKwbJjJR5m66U4eSWF8hMK06pJeKP71hxn3eme1WfEzzlbx0bKZcEI23X7AlBLAwQUAAAACACVEHNbR9UNAfEOAAAEVQAANAAAAGFuaW1hdGlvbnMvZDFhM2NkZjEtN2Y0MS00ZmJhLTkwNGItZjk2ODA5NWM2MjY4Lmpzb27tXFtvG8cZ/SvCvna52ftFT70mKJAARZP2xQgKRqZixqQokLTb1NB/7znnm9mdpUhZqi1pjShAvNq5fDM7M+e7Dz9EV+voPPrTZn292S3/u9xcLc6KKI5ev34dnadx9CY6z3M8/x2dF00eR+vFfh6df4h+Rqffrzb7/XJxuVwtdl/tN5vV2+V+9svuLE2KIsmjmzhazX9dbHfR+asP0f5X0dNo86vleq6xfoehdtvoPMNjrwab6+i8wnOJJ8fHNC7nq91imNJPIMGa+e67+e5tXz3fqPgthvsQaY74hwUYPsu7OEvzpIrTH0H6PxgQs/MtfaMii/V/6hvVbISqoFWKIsxs1K/rQDjLyp54jkb4qLCbG5Xdd+PJsQhTD0owAdc8u0Hl4hKDgDK2IK9a25K0wgiLy79iRaI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z/PfHvqt0vbwVc/P/IV8FvBvLXI774PJVpXHRyzAyKBjgkeFrZOnc7zHtcGKCZ7xwAyD3mzQYAUvY/stQVV6ikfRgZUEEZiFQWKsd1GVwtAgmoVvY7YRmjDPiNQb1BPIJ9wqEZ5DejPfuHNBkQ5C+GkG8xtq4fTOC9Kg7BWyCYOMZoFPsDBf48CrnhOHYidyGuaNinFKZ+ut8tAhX+yCI9/kXwEycFbpOkDE3QOBJvVQnsNMxdehl/4qiFFMAtWHB3+3kWBkWor3UuXwAJq4xKQI2VhSgSCqx0ElGjQewnxEpEv6E1MtLjrnTxE0XTrkBi1IIKJdvACfMMXJk/m8KdbJGzCMUMn/gRrlw8M1Om6Ya5tlCpG6rlj82Ua/598z9QSwECFAAUAAAACACVEHNbCBrtsIEAAAC1AAAADQAAAAAAAAAAAAAAAAAAAAAAbWFuaWZlc3QuanNvblBLAQIUABQAAAAIAJUQc1tH1Q0B8Q4AAARVAAA0AAAAAAAAAAAAAAAAAKwAAABhbmltYXRpb25zL2QxYTNjZGYxLTdmNDEtNGZiYS05MDRiLWY5NjgwOTVjNjI2OC5qc29uUEsFBgAAAAACAAIAnQAAAO8PAAAAAA=="},Symbol.toStringTag,{value:"Module"})),rO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8IS0tIE5vIGNvbnRlbnQsIGZ1bGx5IHRyYW5zcGFyZW50IC0tPgo8L3N2Zz4="},Symbol.toStringTag,{value:"Module"})),nO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDE5MiAxOTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXR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Mi45NDkyIDEwNy44NDFMOTIuODkzMiAxMDcuOTQxWiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg=="},Symbol.toStringTag,{value:"Module"}));e.ASSET_COL_FIELDS=["assetImage","name.nameWithSequence","aliasName","assetId","group.name","category.name","brand.name","model.name","tagType","measurement.name","maintenanceStatus","auditStatus","transactions","coordinates","address","warrantyStatus","lastScannedAt","linkedAssetCount"],e.AssetBrandService=vn,e.AssetNameService=Qn,e.AssetsServices=zn,e.DataLockService=bn,e.DialogDamageLog=SA,e.DialogMissingLog=iM,e.DialogTransferLog=wA,e.DisposalAPI=Sn,e.DisposalServices=On,e.FilterMatchMode=U,e.Focus=os,e.LibConfig=q,e.Presets=al,e.RoutineAPI=Fn,e.RoutineServices=Rn,e.TSAnimation=oM,e.TSApproverInfo=kM,e.TSAssetFilters=vm,e.TSAssetInfo=TM,e.TSBadge=Js,e.TSBadgeGroup=qM,e.TSBreadcrumb=iu,e.TSButton=Hs,e.TSButtonAddByScan=ou,e.TSButtonBulkAction=Eu,e.TSButtonCopy=Ku,e.TSButtonDownload=Xu,e.TSButtonFilter=Iu,e.TSButtonLogHistory=Zu,e.TSButtonRadio=og,e.TSButtonScan=Bd,e.TSButtonSearch=Qd,e.TSButtonSearchByScan=Fd,e.TSButtonSelectTree=ON,e.TSButtonSelectUser=tx,e.TSButtonSync=ix,e.TSButtonToggle=lx,e.TSButtonViewLog=sx,e.TSCalendar=Qm,e.TSCard=Ax,e.TSCarousel=dx,e.TSCheckbox=LN,e.TSCustomColumn=aD,e.TSDataTable=yD,e.TSDatePicker=px,e.TSDayOfYearPicker=mx,e.TSDayPicker=hx,e.TSDialog=XM,e.TSDialogApprovalList=zM,e.TSDialogAssetNameDetail=vx,e.TSDialogConfirm=Td,e.TSDialogCoordinate=yf,e.TSDialogDataLocked=If,e.TSDialogForm=Bf,e.TSDialogLinkedAsset=kf,e.TSDialogPrintQR=UC,e.TSDialogReportDamage=KC,e.TSDialogReportMissing=tQ,e.TSDialogReportTag=rQ,e.TSDialogSelectAsset=Gm,e.TSDialogSelectAssetName=yQ,e.TSDialogSelectTree=bN,e.TSDialogSelectUser=_m,e.TSDisposalReport=CQ,e.TSDropdown=qg,e.TSFailedLoad=AD,e.TSFileUpload=sv,e.TSFilterContainer=UD,e.TSForm=wf,e.TSIcon=as,e.TSImage=Uc,e.TSImageCompressor=db,e.TSInlineMessage=ad,e.TSInputBadge=yb,e.TSInputCoordinate=Db,e.TSInputCurrency=jb,e.TSInputCurrencyReference=Tb,e.TSInputEmail=Kb,e.TSInputNumber=Sf,e.TSInputOTP=_b,e.TSInputPassword=cS,e.TSInputPhoneNumber=gS,e.TSInputRangeNumber=RD,e.TSInputSearch=AL,e.TSInputText=Wb,e.TSInputURL=dS,e.TSLoading=pS,e.TSMenu=TS,e.TSMultiSelect=OD,e.TSOverlayPanel=Od,e.TSPaginator=wS,e.TSProgressBar=xS,e.TSSteps=LS,e.TSTabMenu=YS,e.TSTagType=_s,e.TSTextarea=hQ,e.TSTimeline=qS,e.TSToast=Wu,e.TSToastService=te,e.TSTransactionRoles=$s,e.TSTree=CN,e.TSTreeSearchInput=Gd,e.TSUserWithIcon=mM,e.TSValidatorMessage=Ag,e.TSi18n=eO,e.Tooltip=is,e.TreeAPI=Yn,e.VueHtmlToPaper=rs,e.assetValueColumns=Rc,e.assetValueColumnsWithDefault=Gc,e.buildBodyParams=An,e.checkRouteAccess=(e,t,i)=>{if(window.__isLoggingOut__)return i();const{userType:r}=JSON.parse(localStorage.getItem("user")??"{}"),{hasAccess:n}=e.meta,a="Admin"===r,l=e.path.includes("handover-confirmation")||e.path.includes("my-profile");n&&(a||l)?i():o.navigateToUrl("/not-found")},e.clearStorage=le,e.customFieldColumns=Hc,e.default=tO,e.defaultAssetColumns=Pc,e.downloadFile=async(e,t,i=!0,o=!1)=>{const{blob:r,fileName:n}=await Qt(e);let a="";const l=/^(image|application\/pdf)/i.test(r.type),s=t??n;if(s)if(l&&o){const e=new File([r],s,{type:r.type});a=URL.createObjectURL(e),window.open(a,"_blank")}else{a=URL.createObjectURL(r);const e=document.createElement("a");e.href=a,e.download=s,document.body.appendChild(e),e.click(),e.remove()}return i&&URL.revokeObjectURL(a),a},e.eventBus=ll,e.exportToExcel=mt,e.extendEventBus=()=>ll,e.filterNodeKeys=Al,e.flattenTreeNodeChildren=sl,e.forceLogout=se,e.formatAssetValue=Kc,e.formatCurrency=Gt,e.formatDate=ft,e.formatDateReadable=(e,t)=>{const i=Math.floor(((new Date).valueOf()-new Date(e).valueOf())/1e3);if(t&&i>t)return ft(e);const o=Math.floor(i/31536e3);if(o>1)return o+" years ago";if(1===o)return o+" year ago";const r=Math.floor(i/2628e3);if(r>1)return r+" months ago";if(1===r)return r+" month ago";const n=Math.floor(i/86400);if(n>1)return n+" days ago";if(1===n)return n+" day ago";const a=Math.floor(i/3600);if(a>1)return a+" hours ago";if(1===a)return a+" hour ago";const l=Math.floor(i/60);return l>1?l+" minutes ago":1===l?l+" minute ago":"just now"},e.formatGoDate=Lt,e.formatLogResponseData=e=>{var t,i;return{data:((null==(t=e.data)?void 0:t.data)??[]).map((e=>{const t=[e.newValue,e.oldValue];return t.some(Mn)&&yn(e),t.some(dn)&&pn(e),t.some(Nn)&&(e.oldValue=En(e.oldValue),e.newValue=En(e.newValue)),e})),totalRecords:(null==(i=e.data)?void 0:i.totalRecords)??0}},e.formatUserName=oe,e.formatVowelSoundLabel=ie,e.getBaseURL=Ht,e.getCurrency=Rt,e.getHostName=e=>{if(!e)return"";return new URL(e).hostname},e.getImageURL=vt,e.getNestedProperyValue=Ln,e.getSeverityByAssetStatus=ln,e.getSystemRole=bt,e.getTransactionRole=kt,e.getUserLocale=Bt,e.getVisibleColumns=wn,e.googleMapLoader=async()=>{xn({key:"AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc",region:"ID",language:"en"}),await Bn("maps")},e.handleTokenExpiration=e=>{e.interceptors.response.use((e=>e),(e=>{var t;return 401===(null==(t=e.response)?void 0:t.status)&&se(),Promise.reject(e)}))},e.hasAccessToAssetDetail=Ut,e.hasAnyManagerRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.manager))},e.hasAnyMonitoringReportRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.monitoringReport))},e.hasApprovalRole=e=>{const{approver:t}=kt(e);return t},e.hasManagerRole=Ot,e.hasMonitoringReportRole=e=>{const{monitoringReport:t}=kt(e);return t},e.hasStaffRole=Yt,e.hasSystemRole=St,e.hasTransactionRole=e=>{const{manager:t,staff:i,monitoringReport:o}=kt(e);return t||i||o},e.isObjectEmpty=e=>{if(!e)return!0;return!Object.keys(e).length},e.isValidJSONString=cn,e.listenSidebarChanges=(e,t)=>{window.addEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.parseAssetStaticFilter=e=>{const t={};return Object.entries(e).forEach((([e,i])=>{var o;if(e in Zc){t[Zc[e]]={value:i,matchMode:U.IN}}else if("isTransactionable"!==e)if("maintenanceAuditStatus"!==e)if(e.includes("customField")||e.includes("assetValue")){const r=e.match(/\[(\w+)\]/),n=null==r?void 0:r[1];if(!n)return;if(e.includes("assetValue"))return void(t[`assetValues.${n}.value`]={value:i,matchMode:"IN_CURRENCY_RANGE"});const a=`customFields.${n}.value`,l=null==(o=Xc.value)?void 0:o.find((e=>String(e.field)===n)),s=l?_c[l.type]??U.IN:U.IN;t[a]={value:i,matchMode:s}}else t[e]={value:i,matchMode:U.IN};else t.maintenanceAuditStatus={value:i,matchMode:"ONE_OF_STRINGIFIED_ARRAY"};else t.transactionsObject={value:i,matchMode:"ASSET_IS_TRANSACTIONABLE"}})),t},e.parseNodeKeys=cl,e.reLogin=async()=>{const e=localStorage.getItem("user");e||se();try{const t=JSON.parse(e),{token:i}=t,o=await sn({jwt:i});if(null==o?void 0:o.data){const e=o.data.data;return localStorage.setItem("user",JSON.stringify(e)),!0}return se(),!1}catch(t){return t}},e.unListenSidebarChanges=(e,t)=>{window.removeEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.useAssetTableStore=Cl,e.useField=(e,t,i)=>Ya(e,t,i),e.useForm=()=>{const{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}=Pa();return{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}},e.useI18n=()=>{const{t:e}=on();return{t:(t,i,o)=>{const r=(e=>e.trim().replace(/\s+/g,"_"))(t);return i?e(r,i,o):e(r,o).replaceAll("_"," ")}}},e.useLoadingStore=ul,e.useToast=zt,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
48
|
+
***************************************************************************** */function jv(e,t){var i,o;return e&&t?(i=""+e+t[0].toUpperCase()+t.slice(1),o=e+"-"+t):(i=e||t,o=e||t),{name:i,classname:o}}function Tv(e){return/^blob:/.test(e)}function wv(e){return Tv(e)||/^data:/.test(e)}function Dv(e){return!!(e&&e.constructor&&e.call&&e.apply)}function mv(e){return void 0===e}function xv(e){return"object"==typeof e&&null!==e}function Bv(e,t,i){var o={};return xv(e)?(Object.keys(t).forEach((function(r){mv(e[r])?o[r]=t[r]:xv(t[r])?xv(e[r])?o[r]=Bv(e[r],t[r],i[r]):o[r]=e[r]?t[r]:i[r]:!0===t[r]||!1===t[r]?o[r]=Boolean(e[r]):o[r]=e[r]})),o):e?t:i}function Lv(e){var t=Number(e);return Number.isNaN(t)?e:t}function fv(e){return typeof("number"==e||(t=e,"object"==typeof t&&null!==t&&"[object Number]"==toString.call(e)))&&!zv(e);var t}function zv(e){return e!=e}function Cv(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var Qv=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},vv=function(e,t){void 0===t&&(t={}),this.type="resize",this.directions=e,this.params=t},kv=function(e){this.type="move",this.directions=e},bv=function(){function e(e,t,i,o,r){this.type="drag",this.nativeEvent=e,this.position=i,this.previousPosition=o,this.element=t,this.anchor=r}return e.prototype.shift=function(){var e=this,t=e.element,i=e.anchor,o=e.position;if(t){var r=t.getBoundingClientRect(),n=r.left,a=r.top;return{left:o.left-n-i.left,top:o.top-a-i.top}}return{left:0,top:0}},e}(),Sv={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(e){e.cancelable&&!this.disabled&&1===e.touches.length&&(this.touches=uv(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce((function(t,i){return{clientX:t.clientX+i.clientX/e.touches.length,clientY:t.clientY+i.clientY/e.touches.length}}),{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),i=t.left,o=t.right,r=t.bottom,n=t.top;this.anchor={left:e.clientX-i,top:e.clientY-n,bottom:r-e.clientY,right:o-e.clientX}},processMove:function(e,t){var i=uv(t);if(this.touches.length){if(1===this.touches.length&&1===i.length){var o=this.$refs.draggable;this.$emit("drag",new bv(e,o,{left:i[0].clientX,top:i[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=i}},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"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"draggable",class:o.classname,onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onMouseover:i[3]||(i[3]=function(){return a.onMouseOver&&a.onMouseOver.apply(a,arguments)}),onMouseleave:i[4]||(i[4]=function(){return a.onMouseLeave&&a.onMouseLeave.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],34)}},Ov=pv("vue-handler-wrapper"),Yv={name:"HandlerWrapper",components:{DraggableElement:Sv},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,i=jv(this.horizontalPosition,this.verticalPosition);e=Ov((Mv(t={},i.classname,!0),Mv(t,"disabled",this.disabled),t))}else e=Ov({disabled:this.disabled});return{root:e,draggable:Ov("draggable")}}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock("div",{class:a.classes.root},[t.createVNode(l,{class:a.classes.draggable,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])],2)}},Uv=pv("vue-line-wrapper"),Fv={name:"LineWrapper",components:{DraggableElement:Sv},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return Uv((Mv(e={},this.position,!0),Mv(e,"disabled",this.disabled),e))}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock(l,{class:a.classname,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])}},Rv=["left","right","top","bottom"],Gv=["left","right"],Hv=["top","bottom"],Pv=["left","top"],Vv=["fill-area","fit-area","stencil","none"],Jv={left:0,top:0,width:0,height:0};function Wv(e,t,i){return!(i=i||["width","height","left","top"]).some((function(i){return e[i]!==t[i]}))}function Kv(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function Xv(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Zv(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function _v(e,t){var i={left:0,top:0,right:0,bottom:0};return Rv.forEach((function(o){var r=t[o],n=Kv(e)[o];i[o]=void 0!==r&&void 0!==n?"left"===o||"top"===o?Math.max(0,r-n):Math.max(0,n-r):0})),i}function qv(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function $v(e){return{left:-e.left,top:-e.top}}function ek(e,t){return hv(hv({},e),{left:e.left+t.left,top:e.top+t.top})}function tk(e,t,i,o){if(1!==t){if(i){var r=Zv(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(i.left-r.left)*(o||1-t),top:e.top+e.height*(1-t)/2+(i.top-r.top)*(o||1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function ik(e){return e.width/e.height}function ok(e,t){return Math.min(void 0!==t.right&&void 0!==t.left?(t.right-t.left)/e.width:1/0,void 0!==t.bottom&&void 0!==t.top?(t.bottom-t.top)/e.height:1/0)}function rk(e,t){var i={left:0,top:0},o=_v(e,t);return o.left&&o.left>0?i.left=o.left:o.right&&o.right>0&&(i.left=-o.right),o.top&&o.top>0?i.top=o.top:o.bottom&&o.bottom>0&&(i.top=-o.bottom),i}function nk(e,t){var i;return t.minimum&&e<t.minimum?i=t.minimum:t.maximum&&e>t.maximum&&(i=t.maximum),i}function ak(e,t){var i=ik(e),o=ik(t);return t.width<1/0&&t.height<1/0?i>o?{width:t.width,height:t.width/i}:{width:t.height*i,height:t.height}:t.width<1/0?{width:t.width,height:t.width/i}:t.height<1/0?{width:t.height*i,height:t.height}:e}function lk(e,t){var i=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(i))+Math.abs(e.height*Math.sin(i)),height:Math.abs(e.width*Math.sin(i))+Math.abs(e.height*Math.cos(i))}}function sk(e,t){var i=t*Math.PI/180;return{left:e.left*Math.cos(i)-e.top*Math.sin(i),top:e.left*Math.sin(i)+e.top*Math.cos(i)}}function ck(e,t){var i=_v(Ak(e,t),t);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((e.width+i.left+i.right)/e.width,ok(e,t)):Math.min((e.height+i.top+i.bottom)/e.height,ok(e,t)):1}function Ak(e,t,i){void 0===i&&(i=!1);var o=rk(e,t);return ek(e,i?$v(o):o)}function Mk(e){return{width:void 0!==e.right&&void 0!==e.left?e.right-e.left:1/0,height:void 0!==e.bottom&&void 0!==e.top?e.bottom-e.top:1/0}}function uk(e,t,i){void 0===i&&(i=!0);var o={};return Rv.forEach((function(r){var n=e[r],a=t[r];void 0!==n&&void 0!==a?o[r]="left"===r||"top"===r?i?Math.max(n,a):Math.min(n,a):i?Math.min(n,a):Math.max(n,a):void 0!==a?o[r]=a:void 0!==n&&(o[r]=n)})),o}function gk(e,t){return uk(e,t,!0)}function dk(e){var t=e.size,i=e.aspectRatio,o=e.ignoreMinimum,r=e.sizeRestrictions;return Boolean((t.correctRatio||ik(t)>=i.minimum&&ik(t)<=i.maximum)&&t.height<=r.maxHeight&&t.width<=r.maxWidth&&t.width&&t.height&&(o||t.height>=r.minHeight&&t.width>=r.minWidth))}function Nk(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function yk(e){var t=e.width,i=e.height,o=e.sizeRestrictions,r={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},n={width:Math.max(o.minWidth,Math.min(o.maxWidth,t)),height:Math.max(o.minHeight,Math.min(o.maxHeight,i))};function a(e,n){return void 0===n&&(n=!1),e.reduce((function(e,a){return dk({size:a,aspectRatio:r,sizeRestrictions:o,ignoreMinimum:n})&&(!e||Nk(a,{width:t,height:i})<Nk(e,{width:t,height:i}))?a:e}),null)}var l=[];r&&[r.minimum,r.maximum].forEach((function(e){e&&l.push({width:n.width,height:n.width/e,correctRatio:!0},{width:n.height*e,height:n.height,correctRatio:!0})})),dk({size:n,aspectRatio:r,sizeRestrictions:o})&&l.push(n);var s=a(l)||a(l,!0);return s&&{width:s.width,height:s.height}}function pk(e){var t=e.event,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=ek(i,t.directions);return ek(n,rk(n,r))}function Ek(e){e.event;var t=e.getAreaRestrictions,i=e.boundaries,o=e.coordinates,r=e.visibleArea;e.aspectRatio;var n=e.stencilSize,a=e.sizeRestrictions,l=e.positionRestrictions;e.stencilReference;var s,c,A,M=hv({},o),u=hv({},r),g=hv({},n);s=ik(g),c=ik(M),void 0===A&&(A=.001),(0===s||0===c?Math.abs(c-s)<A:Math.abs(c/s)<1+A&&Math.abs(c/s)>1-A)||(M=hv(hv({},M),yk({sizeRestrictions:a,width:M.width,height:M.height,aspectRatio:{minimum:ik(g),maximum:ik(g)}})));var d=ck(u=tk(u,M.width*i.width/(u.width*g.width)),t({visibleArea:u,type:"resize"}));return 1!==d&&(u=tk(u,d),M=tk(M,d)),u=Ak(u=ek(u,Xv(Zv(M),Zv(u))),t({visibleArea:u,type:"move"})),{coordinates:M=Ak(M,gk(Kv(u),l)),visibleArea:u}}function Ik(e){var t=e.event,i=e.getAreaRestrictions,o=e.boundaries,r=e.coordinates,n=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var a=e.positionRestrictions;e.stencilReference;var l=hv({},r),s=hv({},n);if(r&&n&&"manipulateImage"!==t.type){var c={width:0,height:0};s.width,o.width,ik(o)>ik(l)?(c.height=.8*o.height,c.width=c.height*ik(l)):(c.width=.8*o.width,c.height=c.width*ik(l));var A=ck(s=tk(s,l.width*o.width/(s.width*c.width)),i({visibleArea:s,type:"resize"}));s=tk(s,A),1!==A&&(c.height/=A,c.width/=A),s=Ak(s=ek(s,Xv(Zv(l),Zv(s))),i({visibleArea:s,type:"move"})),l=Ak(l,gk(Kv(s),a))}return{coordinates:l,visibleArea:s}}function hk(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.getAreaRestrictions,n=hv({},o),a=hv({},i);if("setCoordinates"===t.type){var l=Math.max(0,a.width-n.width),s=Math.max(0,a.height-n.height);l>s?n=tk(n,Math.min(a.width/n.width,ok(n,r({visibleArea:n,type:"resize"})))):s>l&&(n=tk(n,Math.min(a.height/n.height,ok(n,r({visibleArea:n,type:"resize"}))))),n=Ak(n=ek(n,$v(rk(a,Kv(n)))),r({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:a}}function jk(e){var t=e.imageSize,i=e.visibleArea,o=e.coordinates,r=i||t;return{left:(i?i.left:0)+r.width/2-o.width/2,top:(i?i.top:0)+r.height/2-o.height/2}}function Tk(e){var t=e.imageSize,i=e.visibleArea,o=e.aspectRatio,r=e.sizeRestrictions,n=i||t,a=Math.min(o.maximum||1/0,Math.max(o.minimum||0,ik(n))),l=n.width<n.height?{width:.8*n.width,height:.8*n.width/a}:{height:.8*n.height,width:.8*n.height*a};return yk(hv(hv({},l),{aspectRatio:o,sizeRestrictions:r}))}function wk(e){var t,i,o=e.imageSize,r=e.visibleArea,n=e.boundaries,a=e.aspectRatio,l=e.sizeRestrictions,s=e.stencilSize,c=r||o;return ik(c)>ik(n)?i=(t=s.height*c.height/n.height)*ik(s):t=(i=s.width*c.width/n.width)/ik(s),yk({width:i,height:t,aspectRatio:a,sizeRestrictions:l})}function Dk(e){var t=e.getAreaRestrictions,i=e.coordinates,o=e.imageSize,r=ik(e.boundaries);if(i){var n={height:Math.max(i.height,o.height),width:Math.max(i.width,o.width)},a=ak({width:ik(n)>r?n.width:n.height*r,height:ik(n)>r?n.width/r:n.height},Mk(t())),l={left:i.left+i.width/2-a.width/2,top:i.top+i.height/2-a.height/2,width:a.width,height:a.height},s=_v(i,Kv(hv({left:0,top:0},o))),c={};return!s.left&&!s.right&&l.width<=o.width&&(c.left=0,c.right=o.width),!s.top&&!s.bottom&&l.height<=o.height&&(c.top=0,c.bottom=o.height),Ak(l,c)}var A=ik(o);return a={height:A>r?o.height:o.width/r,width:A>r?o.height*r:o.width},{left:o.width/2-a.width/2,top:o.height/2-a.height/2,width:a.width,height:a.height}}function mk(e,t){return uk(e,Kv(t))}function xk(e){var t=e.directions,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=e.sizeRestrictions,a=e.preserveRatio,l=e.compensate,s=hv({},t),c=qv(i,s).width,A=qv(i,s).height;c<0&&(s.left<0&&s.right<0?(s.left=-(i.width-n.minWidth)/(s.left/s.right),s.right=-(i.width-n.minWidth)/(s.right/s.left)):s.left<0?s.left=-(i.width-n.minWidth):s.right<0&&(s.right=-(i.width-n.minWidth))),A<0&&(s.top<0&&s.bottom<0?(s.top=-(i.height-n.minHeight)/(s.top/s.bottom),s.bottom=-(i.height-n.minHeight)/(s.bottom/s.top)):s.top<0?s.top=-(i.height-n.minHeight):s.bottom<0&&(s.bottom=-(i.height-n.minHeight)));var M=_v(qv(i,s),r);l&&(M.left&&M.left>0&&0===M.right?(s.right+=M.left,s.left-=M.left):M.right&&M.right>0&&0===M.left&&(s.left+=M.right,s.right-=M.right),M.top&&M.top>0&&0===M.bottom?(s.bottom+=M.top,s.top-=M.top):M.bottom&&M.bottom>0&&0===M.top&&(s.top+=M.bottom,s.bottom-=M.bottom),M=_v(qv(i,s),r));var u={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(Rv.forEach((function(e){var t=M[e];t&&s[e]&&(u[e]=Math.max(0,1-t/s[e]))})),a){var g=Math.min.apply(null,Rv.map((function(e){return u[e]})));g!==1/0&&Rv.forEach((function(e){s[e]*=g}))}else Rv.forEach((function(e){u[e]!==1/0&&(s[e]*=u[e])}));if(c=qv(i,s).width,A=qv(i,s).height,s.right+s.left&&(c>n.maxWidth?u.width=(n.maxWidth-i.width)/(s.right+s.left):c<n.minWidth&&(u.width=(n.minWidth-i.width)/(s.right+s.left))),s.bottom+s.top&&(A>n.maxHeight?u.height=(n.maxHeight-i.height)/(s.bottom+s.top):A<n.minHeight&&(u.height=(n.minHeight-i.height)/(s.bottom+s.top))),a){var d=Math.min(u.width,u.height);d!==1/0&&Rv.forEach((function(e){s[e]*=d}))}else u.width!==1/0&&Gv.forEach((function(e){s[e]*=u.width})),u.height!==1/0&&Hv.forEach((function(e){s[e]*=u.height}));return s}function Bk(e,t,i){return 0==t&&0==i?e/2:0==t?0:0==i?e:e*Math.abs(t/(t+i))}var Lk=pv("vue-simple-handler"),fk=pv("vue-simple-handler-wrapper"),zk={name:"SimpleHandler",components:{HandlerWrapper:Yv},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 e,t=(Mv(e={},this.horizontalPosition,Boolean(this.horizontalPosition)),Mv(e,this.verticalPosition,Boolean(this.verticalPosition)),Mv(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),Boolean(this.verticalPosition&&this.horizontalPosition)),Mv(e,"hover",this.hover),e);return{default:yv(Lk(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:yv(fk(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("HandlerWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,"vertical-position":o.verticalPosition,"horizontal-position":o.horizontalPosition,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.default},null,2)]})),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},Ck=pv("vue-simple-line"),Qk=pv("vue-simple-line-wrapper"),vk={name:"SimpleLine",components:{LineWrapper:Fv},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:yv(Ck(Mv({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:yv(Qk(Mv({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("LineWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,position:o.position,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.root},null,2)]})),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},kk=pv("vue-bounding-box"),bk=["east","west",null],Sk=["south","north",null],Ok={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 zk}},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 vk}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];return bk.forEach((function(t){Sk.forEach((function(i){if(t!==i){var o=jv(t,i),r=o.name,n=o.classname;e.push({name:r,classname:n,verticalDirection:i,horizontalDirection:t})}}))})),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,i=this.linesClasses,o=this.linesWrappersClasses;return{root:kk(),handlers:e,handlersWrappers:t,lines:i,linesWrappers:o}},lineNodes:function(){var e=this,t=[];return this.points.forEach((function(i){i.horizontalDirection&&i.verticalDirection||!e.lines[i.name]||t.push({name:i.name,component:e.linesComponent,class:yv(e.classes.lines.default,e.classes.lines[i.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:yv(e.classes.linesWrappers.default,e.classes.linesWrappers[i.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:i.verticalDirection,horizontalDirection:i.horizontalDirection,disabled:!e.resizable})})),t},handlerNodes:function(){var e=this,t=[],i=this.width,o=this.height;return this.points.forEach((function(r){if(e.handlers[r.name]){var n={name:r.name,component:e.handlersComponent,class:yv(e.classes.handlers.default,e.classes.handlers[r.name]),wrapperClass:yv(e.classes.handlersWrappers.default,e.classes.handlersWrappers[r.name]),hoverClass:e.classes.handlers.hover,verticalDirection:r.verticalDirection,horizontalDirection:r.horizontalDirection,disabled:!e.resizable};if(i&&o){var a=r.horizontalDirection,l=r.verticalDirection,s="east"===a?i:"west"===a?0:i/2,c="south"===l?o:"north"===l?0:o/2;n.wrapperClass=kk("handler"),n.wrapperStyle={transform:"translate(".concat(s,"px, ").concat(c,"px)")},e.transitions&&e.transitions.enabled&&(n.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else n.wrapperClass=kk("handler",Mv({},r.classname,!0));t.push(n)}})),t}},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(e,t,i){var o,r=e.shift(),n=r.left,a=r.top,l={left:0,right:0,top:0,bottom:0};"west"===t?l.left-=n:"east"===t&&(l.right+=n),"north"===i?l.top-=a:"south"===i&&(l.bottom+=a),!i&&t?o="width":i&&!t&&(o="height"),this.resizable&&this.$emit("resize",new vv(l,{allowedDirections:{left:"west"===t||!t,right:"east"===t||!t,bottom:"south"===i||!i,top:"north"===i||!i},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:o}))}},emits:["resize","resize-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"box",class:a.classes.root,style:a.style},[t.renderSlot(e.$slots,"default"),t.createVNode("div",null,[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.lineNodes,(function(e){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{key:e.name,"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,position:e.name,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[1]||(i[1]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])})),128))]),(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.handlerNodes,(function(e){return t.openBlock(),t.createBlock("div",{key:e.name,style:e.wrapperStyle,class:e.wrapperClass},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,"horizontal-position":e.horizontalDirection,"vertical-position":e.verticalDirection,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[2]||(i[2]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)})),128))],6)}},Yk=pv("vue-draggable-area"),Uk={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:Yk()}}},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(e){if(e.cancelable){var t=this.movable&&1===e.touches.length;t&&(this.touches=uv(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):Cv({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&0===e.button){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top;this.anchor={x:e.clientX-i,y:e.clientY-o}},processMove:function(e,t){var i=uv(t);if(this.touches.length){var o=this.$refs.container.getBoundingClientRect(),r=o.left,n=o.top;1===this.touches.length&&1===i.length&&this.$emit("move",new kv({left:i[0].clientX-(r+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};function Fk(e){var t,i;return{rotate:e.rotate||0,flip:{horizontal:(null===(t=null==e?void 0:e.flip)||void 0===t?void 0:t.horizontal)||!1,vertical:(null===(i=null==e?void 0:e.flip)||void 0===i?void 0:i.vertical)||!1}}}function Rk(e){var t=e.rotate,i=e.flip,o=e.scaleX,r=e.scaleY,n="";return n+=" rotate("+t+"deg) ",(n+=" scaleX("+o*(i.horizontal?-1:1)+") ")+" scaleY("+r*(i.vertical?-1:1)+") "}function Gk(e,t){var i=t.getBoundingClientRect(),o=i.left,r=i.top,n={left:0,top:0},a=0;return e.forEach((function(t){n.left+=(t.clientX-o)/e.length,n.top+=(t.clientY-r)/e.length})),e.forEach((function(e){a+=Cv({x:n.left,y:n.top},{x:e.clientX-o,y:e.clientY-r})})),{centerMass:n,spread:a,count:e.length}}Uk.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)};var Hk={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=Iv(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(1===this.touches.length&&1===t.length)this.$emit("move",new Qv({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var i=Gk(t,this.$refs.container),o=this.oldGeometricProperties;o.count===i.count&&o.count>1&&this.$emit("resize",new Qv({left:o.centerMass.left-i.centerMass.left,top:o.centerMass.top-i.centerMass.top},{factor:o.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?!1!==this.eventsFilter(e,this.transforming):(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,i=t.getBoundingClientRect(),o=i.left,r=i.top,n=i.bottom,a=i.right;this.touches=uv(e.touches).filter((function(e){return e.clientX>o&&e.clientX<a&&e.clientY>r&&e.clientY<n})),this.oldGeometricProperties=Gk(this.touches,t)}},onTouchEnd:function(e){0===e.touches.length&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var i=uv(e.touches).filter((function(e){return!e.identifier||t.touches.find((function(t){return t.identifier===e.identifier}))}));this.processEvent(e)&&(this.processMove(e,i),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&1===e.buttons&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top,r=1+this.wheelResize.ratio*(0==(a=+(e.deltaY||e.detail||e.wheelDelta))||zv(a)?a:a>0?1:-1),n={left:e.clientX-i,top:e.clientY-o};this.$emit("resize",new Qv({},{factor:r,center:n})),this.touches.length||this.debouncedProcessEnd()}var a}},emits:["resize","move","transform-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onWheel:i[3]||(i[3]=function(){return a.onWheel&&a.onWheel.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)}},Pk={components:{TransformableImage:Hk},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"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("transformable-image");return t.openBlock(),t.createBlock(l,{"touch-move":o.touchMove,"touch-resize":o.touchResize,"mouse-move":o.mouseMove,"wheel-resize":o.wheelResize,onMove:i[1]||(i[1]=function(t){return e.$emit("move",t)}),onResize:i[2]||(i[2]=function(t){return e.$emit("resize",t)})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])}},Vk=pv("vue-preview"),Jk={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:Vk({fill:this.fill}),wrapper:Vk("wrapper"),imageWrapper:Vk("image-wrapper"),image:yv(Vk("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={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&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=Av(Av({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),i=this.imageSize.width,o=this.imageSize.height,r=lk({width:i,height:o},t.rotate),n={width:"".concat(i,"px"),height:"".concat(o,"px"),left:"0px",top:"0px"},a={rotate:{left:(i-r.width)*t.scaleX/2,top:(o-r.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*i/2,top:(1-t.scaleY)*o/2}};return n.transform="translate(\n\t\t\t\t".concat(-this.coordinates.left/e-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/e-a.rotate.top-a.scale.top,"px) ")+Rk(t),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}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(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",(function(){e.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 e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWidth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}},render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"root",class:a.classes.root,style:a.style},[t.createVNode("div",{ref:"wrapper",class:a.classes.wrapper,style:a.wrapperStyle},[t.withDirectives(t.createVNode("img",{ref:"image",src:o.image&&o.image.src,class:a.classes.image,style:a.imageStyle},null,14,["src"]),[[t.vShow,o.image&&o.image.src]])],6)],6)}},Wk={components:{Preview:Jk},inheritAttrs:!1,render:function(e,i,o,r,n,a){var l=t.resolveComponent("preview");return t.openBlock(),t.createBlock(l,t.mergeProps(e.$attrs,{fill:!0}),null,16)}},Kk=pv("vue-rectangle-stencil"),Xk={name:"RectangleStencil",components:{StencilPreview:Wk,BoundingBox:Ok,DraggableArea:Uk},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return zk}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return vk}},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:yv(Kk({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:yv(Kk("preview"),this.previewClass),boundingBox:yv(Kk("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,i=e.width,o=e.left,r=e.top,n={width:"".concat(i,"px"),height:"".concat(t,"px"),transform:"translate(".concat(o,"px, ").concat(r,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),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"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("stencil-preview"),s=t.resolveComponent("draggable-area"),c=t.resolveComponent("bounding-box");return t.openBlock(),t.createBlock("div",{class:a.classes.stencil,style:a.style},[t.createVNode(c,{width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,transitions:o.transitions,class:a.classes.boundingBox,handlers:o.handlers,"handlers-component":o.handlersComponent,"handlers-classes":o.handlersClasses,"handlers-wrappers-classes":o.handlersWrappersClasses,lines:o.lines,"lines-component":o.linesComponent,"lines-classes":o.linesClasses,"lines-wrappers-classes":o.linesWrappersClasses,resizable:o.resizable,onResize:a.onResize,onResizeEnd:a.onResizeEnd},{default:t.withCtx((function(){return[t.createVNode(s,{movable:o.movable,onMove:a.onMove,onMoveEnd:a.onMoveEnd},{default:t.withCtx((function(){return[t.createVNode(l,{image:o.image,coordinates:o.coordinates,width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,class:a.classes.preview,transitions:o.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)}},Zk=["transitions"],_k=pv("vue-advanced-cropper"),qk={name:"Cropper",components:{BackgroundWrapper:Pk},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Xk}},backgroundWrapperComponent:{type:[Object,String],default:function(){return Pk}},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(e){return-1!==Vv.indexOf(e)}},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(e){return!("string"==typeof e&&"fill"!==e&&"fit"!==e)}},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(e){var t=e.event,i=e.coordinates,o=e.aspectRatio,r=e.positionRestrictions,n=e.sizeRestrictions,a=hv(hv({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=t.params||{},s=hv({},t.directions),c=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(s.left=0,s.right=0),n.heightFrozen&&(s.top=0,s.bottom=0),Rv.forEach((function(e){c[e]||(s[e]=0)}));var A=qv(a,s=xk({coordinates:a,directions:s,sizeRestrictions:n,positionRestrictions:r})).width,M=qv(a,s).height,u=l.preserveRatio?ik(a):nk(A/M,o);if(u){var g=l.respectDirection;if(g||(g=a.width>=a.height||1===u?"width":"height"),"width"===g){var d=A/u-a.height;if(c.top&&c.bottom){var N=s.top,y=s.bottom;s.bottom=Bk(d,y,N),s.top=Bk(d,N,y)}else c.bottom?s.bottom=d:c.top?s.top=d:c.right?s.right=0:c.left&&(s.left=0)}else if("height"===g){var p=a.width-M*u;if(c.left&&c.right){var E=s.left,I=s.right;s.left=-Bk(p,E,I),s.right=-Bk(p,I,E)}else c.left?s.left=-p:c.right?s.right=-p:c.top?s.top=0:c.bottom&&(s.bottom=0)}s=xk({directions:s,coordinates:a,sizeRestrictions:n,positionRestrictions:r,preserveRatio:!0,compensate:l.compensate})}return A=qv(a,s).width,M=qv(a,s).height,(u=l.preserveRatio?ik(a):nk(A/M,o))&&Math.abs(u-A/M)>.001&&Rv.forEach((function(e){c[e]||(s[e]=0)})),pk({event:new kv({left:-s.left,top:-s.top}),coordinates:{width:i.width+s.right+s.left,height:i.height+s.top+s.bottom,left:i.left,top:i.top},positionRestrictions:r})}},moveAlgorithm:{type:Function,default:pk},initStretcher:{type:Function,default:function(e){var t=e.stretcher,i=e.imageSize,o=ik(i);t.style.width=i.width+"px",t.style.height=t.clientWidth/o+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,i=e.coordinates,o=e.aspectRatio,r=e.sizeRestrictions,n=e.positionRestrictions,a=hv(hv({},i),yk({width:i.width,height:i.height,aspectRatio:o,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,r.minHeight),minWidth:Math.min(t.width,r.minWidth)}}));return Ak(a=ek(a,Xv(Zv(i),Zv(a))),gk(Kv(t),n))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.getAreaRestrictions,r=e.coordinates,n=hv({},t);n.height=n.width/ik(i),n.top+=(t.height-n.height)/2,(r.height-n.height>0||r.width-n.width>0)&&(n=tk(n,Math.max(r.height/n.height,r.width/n.width)));var a=$v(rk(r,Kv(n=tk(n,ck(n,o({visibleArea:n,type:"resize"}))))));return n.width<r.width&&(a.left=0),n.height<r.height&&(a.top=0),Ak(n=ek(n,a),o({visibleArea:n,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.imageSize,r=e.imageRestriction,n=e.type,a={};return"fill-area"===r?a={left:0,top:0,right:o.width,bottom:o.height}:"fit-area"===r&&(ik(i)>ik(o)?(a={top:0,bottom:o.height},t&&"move"===n&&(t.width>o.width?(a.left=-(t.width-o.width)/2,a.right=o.width-a.left):(a.left=0,a.right=o.width))):(a={left:0,right:o.width},t&&"move"===n&&(t.height>o.height?(a.top=-(t.height-o.height)/2,a.bottom=o.height-a.top):(a.top=0,a.bottom=o.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,i={};return"none"!==e.imageRestriction&&(i={left:0,top:0,right:t.width,bottom:t.height}),i}}},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:Av({},Jv)}},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 e=this.imageTransforms.rotate*Math.PI/180;return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return Boolean(this.visibleArea&&this.imageLoaded)},settings:function(){var e=Bv(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:Bv(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},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 e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:mv(this.minWidth)?0:Lv(this.minWidth),minHeight:mv(this.minHeight)?0:Lv(this.minHeight),maxWidth:mv(this.maxWidth)?1/0:Lv(this.maxWidth),maxHeight:mv(this.maxHeight)?1/0:Lv(this.maxHeight)});if(e=function(e){var t=e.areaRestrictions,i=e.sizeRestrictions,o=e.boundaries,r=e.positionRestrictions,n=hv(hv({},i),{minWidth:void 0!==i.minWidth?i.minWidth:0,minHeight:void 0!==i.minHeight?i.minHeight:0,maxWidth:void 0!==i.maxWidth?i.maxWidth:1/0,maxHeight:void 0!==i.maxHeight?i.maxHeight:1/0});void 0!==r.left&&void 0!==r.right&&(n.maxWidth=Math.min(n.maxWidth,r.right-r.left)),void 0!==r.bottom&&void 0!==r.top&&(n.maxHeight=Math.min(n.maxHeight,r.bottom-r.top));var a=Mk(t),l=ak(o,a);return a.width<1/0&&(!n.maxWidth||n.maxWidth>l.width)&&(n.maxWidth=Math.min(n.maxWidth,l.width)),a.height<1/0&&(!n.maxHeight||n.maxHeight>l.height)&&(n.maxHeight=Math.min(n.maxHeight,l.height)),n.minWidth>n.maxWidth&&(n.minWidth=n.maxWidth,n.widthFrozen=!0),n.minHeight>n.maxHeight&&(n.minHeight=n.maxHeight,n.heightFrozen=!0),n}({sizeRestrictions:e,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 t=this.getStencilSize(),i=Mk(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,i.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,i.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:_k(),image:yv(_k("image"),this.imageClass),stencil:_k("stencil"),boundaries:yv(_k("boundaries"),this.boundariesClass),stretcher:yv(_k("stretcher")),background:yv(_k("background"),this.backgroundClass),foreground:yv(_k("foreground"),this.foregroundClass),imageWrapper:yv(_k("image-wrapper")),cropperWrapper:yv(_k("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,i=e.height,o=e.left,r=e.top;return{width:t/this.coefficient,height:i/this.coefficient,left:(o-this.visibleArea.left)/this.coefficient,top:(r-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={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||(e.opacity="0"),e},imageStyle:function(){var e=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)},t=(e.width-this.imageSize.width)/(2*this.coefficient),i=(e.height-this.imageSize.height)/(2*this.coefficient),o=(1-1/this.coefficient)*e.width/2,r=(1-1/this.coefficient)*e.height/2,n=Av(Av({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),a={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t-o-this.imageTransforms.translateX,"px, ").concat(-i-r-this.imageTransforms.translateY,"px)")+Rk(n)};return this.transitionsOptions.enabled&&(a.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),a}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick((function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()}))},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find((function(i){return e[i]!==t[i]}))&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Iv(this.update,this.debounce),this.debouncedDisableTransitions=Iv(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 e=this.initialized?this.prepareResult(Av({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:Av({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Av({},this.visibleArea):null,imageTransforms:t,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Av({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new Qv({},{factor:1/e,center:t}),{normalize:!1,transitions:o})},move:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new Qv({left:e||0,top:t||0}),{normalize:!1,transitions:o})},setCoordinates:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.autoZoom,r=void 0===o||o,n=i.transitions,a=void 0===n||n;this.$nextTick((function(){t.imageLoaded?(t.transitionsActive||(a&&t.enableTransitions(),t.coordinates=t.applyTransform(e),r&&t.runAutoZoom("setCoordinates"),a&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e}))},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then((function(){e.onChange()})):this.resetVisibleArea().then((function(){e.onChange()}))},reset:function(){var e=this;return this.resetVisibleArea().then((function(){e.onChange(!1)}))},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick((function(){e(),t.awaiting=!1})))},prepareResult:function(e){return this.roundResult?(t=Av(Av({},this.getPublicProperties()),{},{positionRestrictions:mk(this.positionRestrictions,this.visibleArea),coordinates:e}),i=t.coordinates,o=t.sizeRestrictions,r=t.positionRestrictions,(n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)}).width>o.maxWidth?n.width=Math.floor(i.width):n.width<o.minWidth&&(n.width=Math.ceil(i.width)),n.height>o.maxHeight?n.height=Math.floor(i.height):n.height<o.minHeight&&(n.height=Math.ceil(i.height)),Ak(n,r)):e;var t,i,o,r,n},processAutoZoom:function(e,t,i,o){var r=this.autoZoomAlgorithm;r||(r=this.stencilSize?Ek:this.autoZoom?Ik:hk);var n=r({event:{type:e,params:o},visibleArea:t,coordinates:i,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return Av(Av({},n),{},{changed:!Wv(n.visibleArea,t)||!Wv(n.coordinates,i)})},runAutoZoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.transitions,o=void 0!==i&&i,r=function(e,t){if(null==e)return{};var i,o,r=function(e,t){if(null==e)return{};var i,o,r={},n=Object.keys(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(t,Zk),n=this.processAutoZoom(e,this.visibleArea,this.coordinates,r),a=n.visibleArea,l=n.coordinates,s=n.changed;o&&s&&this.enableTransitions(),this.visibleArea=a,this.coordinates=l,o&&s&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(e){var t=e.event,i=e.visibleArea,o=e.coefficient;if("manipulateImage"===t.type)return hv(hv({},t),{move:{left:t.move&&t.move.left?o*t.move.left:0,top:t.move&&t.move.top?o*t.move.top:0},scale:{factor:t.scale&&t.scale.factor?t.scale.factor:1,center:t.scale&&t.scale.center?{left:t.scale.center.left*o+i.left,top:t.scale.center.top*o+i.top}:null}});if("resize"===t.type){var r=hv(hv({},t),{directions:hv({},t.directions)});return Rv.forEach((function(e){r.directions[e]*=o})),r}if("move"===t.type){var n=hv(hv({},t),{directions:hv({},t.directions)});return Pv.forEach((function(e){n.directions[e]*=o})),n}return t}(Av(Av({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,i=0!==this.imageTransforms.rotate||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(e,t,i){var o=i.rotate,r=i.flip,n={width:t.naturalWidth,height:t.naturalHeight},a=lk(n,o),l=e.getContext("2d");e.height=a.height,e.width=a.width,l.save();var s=sk(Zv(hv({left:0,top:0},n)),o);return l.translate(-(s.left-a.width/2),-(s.top-a.height/2)),l.rotate(o*Math.PI/180),l.translate(r.horizontal?n.width:0,r.vertical?n.height:0),l.scale(r.horizontal?-1:1,r.vertical?-1:1),l.drawImage(t,0,0,n.width,n.height),l.restore(),e}(this.$refs.sourceCanvas,t,this.imageTransforms):t,o=Av({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),r=function(e){return e.find((function(e){return t=e,!Number.isNaN(parseFloat(t))&&isFinite(t);var t}))},n=yk({sizeRestrictions:{minWidth:r([o.width,o.minWidth])||0,minHeight:r([o.height,o.minHeight])||0,maxWidth:r([o.width,o.maxWidth])||1/0,maxHeight:r([o.height,o.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(o.maxArea&&n.width*n.height>o.maxArea){var a=Math.sqrt(o.maxArea/(n.width*n.height));n={width:Math.round(a*n.width),height:Math.round(a*n.height)}}return function(e,t,i,o,r){e.width=o?o.width:i.width,e.height=o?o.height:i.height;var n=e.getContext("2d");n.clearRect(0,0,e.width,e.height),r&&(r.imageSmoothingEnabled&&(n.imageSmoothingEnabled=r.imageSmoothingEnabled),r.imageSmoothingQuality&&(n.imageSmoothingQuality=r.imageSmoothingQuality),r.fillColor&&(n.fillStyle=r.fillColor,n.fillRect(0,0,e.width,e.height),n.save()));var a=i.left<0?-i.left:0,l=i.top<0?-i.top:0;n.drawImage(t,i.left+a,i.top+l,i.width,i.height,a*(e.width/i.width),l*(e.height/i.height),e.width,e.height)}(e,i,this.coordinates,n,o),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.visibleArea&&t?function(e,t){return hv(hv({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,o=this.visibleArea&&t?mk(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return function(e){var t=e.coordinates,i=e.transform,o=e.imageSize,r=e.sizeRestrictions,n=e.positionRestrictions,a=e.aspectRatio,l=e.visibleArea,s=function(e,t){return pk({coordinates:e,positionRestrictions:n,event:new kv({left:t.left-e.left,top:t.top-e.top})})},c=hv({},t);return(Array.isArray(i)?i:[i]).forEach((function(e){var t,i,n,A;mv((t="function"==typeof e?e({coordinates:c,imageSize:o,visibleArea:l}):e).width)&&mv(t.height)||(i=c,n=hv(hv({},c),t),A=hv(hv(hv({},i),yk({width:n.width,height:n.height,sizeRestrictions:r,aspectRatio:a})),{left:0,top:0}),c=s(A,{left:i.left,top:i.top})),mv(t.left)&&mv(t.top)||(c=s(c,hv(hv({},c),t)))})),c}({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:o,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?wk:Tk);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var o=Dv(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,r=this.defaultPosition||jk,n=[o,function(t){var i=t.coordinates;return Av({},Dv(r)?r({coordinates:i,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,uv(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout((function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}}),this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then((function(){var t,o,r,n,a,l,s,c={cropper:i,imageSize:e.imageSize};if(Dv(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(c):"fit"===e.defaultBoundaries?e.boundaries=(r=(t=c).imageSize,n=(o=t.cropper).clientHeight,a=o.clientWidth,l=n,(s=r.width*n/r.height)>a&&(s=a,l=r.height*a/r.width),{width:s,height:l}):e.boundaries=function(e){var t=e.cropper;return{width:t.clientWidth,height:t.clientHeight}}(c),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")}))},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=Av(Av({},this.defaultImageTransforms),{},{flip:Av({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then((function(){"visible-area"!==e.priority&&(e.visibleArea=null,e.resetCoordinates());var t,i,o,r,n,a=e.defaultVisibleArea||Dk;e.visibleArea=Dv(a)?a({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:"visible-area"!==e.priority?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(i=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions}).boundaries,o=t.getAreaRestrictions,r=hv({},t.visibleArea),n=ik(i),r.width/r.height!==n&&(r.height=r.width/n),Ak(r,o({visibleArea:r,type:"move"}))),"visible-area"===e.priority?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")})).catch((function(){e.visibleArea=null}))},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then((function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")})).catch((function(){e.visibleArea=null}))},onChange:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(e){if(wv(e))return!1;var t=window.location,i=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(e)||[],o={protocol:i[1]||"",host:i[2]||"",port:i[3]||""},r=function(e){return e.port||("http"===(e.protocol||t.protocol)?80:433)};return!(!o.protocol&&!o.host&&!o.port||Boolean(o.protocol&&o.protocol==t.protocol&&o.host&&o.host==t.host&&o.host&&r(o)==r(t)))}(this.src)){var i=mv(this.crossOrigin)?this.canvas:this.crossOrigin;!0===i&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var o=(e=this.src,new Promise((function(t){(function(e){return new Promise((function(t,i){try{if(e)if(/^data:/i.test(e))t(function(e){e=e.replace(/^data:([^;]+);base64,/gim,"");for(var t=atob(e),i=t.length,o=new ArrayBuffer(i),r=new Uint8Array(o),n=0;n<i;n++)r[n]=t.charCodeAt(n);return o}(e));else if(/^blob:/i.test(e)){var o=new FileReader;o.onload=function(e){t(e.target.result)},n=e,a=function(e){o.readAsArrayBuffer(e)},(l=new XMLHttpRequest).open("GET",n,!0),l.responseType="blob",l.onload=function(){200!=this.status&&0!==this.status||a(this.response)},l.send()}else{var r=new XMLHttpRequest;r.onreadystatechange=function(){4===r.readyState&&(200===r.status||0===r.status?t(r.response):i("Warning: could not load an image to parse its orientation"),r=null)},r.onprogress=function(){"image/jpeg"!==r.getResponseHeader("content-type")&&r.abort()},r.withCredentials=!1,r.open("GET",e,!0),r.responseType="arraybuffer",r.send(null)}else i("Error: the image is empty")}catch(s){i(s)}var n,a,l}))})(e).then((function(i){var o=function(e){try{var t,i=new DataView(e),o=void 0,r=void 0,n=void 0,a=void 0;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var l=i.byteLength,s=2;s+1<l;){if(255===i.getUint8(s)&&225===i.getUint8(s+1)){n=s;break}s++}if(n&&(o=n+10,"Exif"===function(e,t,i){var o,r="";for(o=t,i+=t;o<i;o++)r+=String.fromCharCode(e.getUint8(o));return r}(i,n+4,4))){var c=i.getUint16(o);if(((r=18761===c)||19789===c)&&42===i.getUint16(o+2,r)){var A=i.getUint32(o+4,r);A>=8&&(a=o+A)}}if(a)for(var M=i.getUint16(a,r),u=0;u<M;u++)if(s=a+12*u+2,274===i.getUint16(s,r)){s+=8,t=i.getUint16(s,r),i.setUint16(s,1,r);break}return t}catch(g){return null}}(i);t(i?{source:e,arrayBuffer:i,orientation:o}:{source:e,arrayBuffer:null,orientation:null})})).catch((function(i){console.warn(i),t({source:e,arrayBuffer:null,orientation:null})}))})));setTimeout((function(){o.then(t.onParseImage)}),this.transitionTime)}else setTimeout((function(){t.onParseImage({source:t.src})}),this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then((function(){e.$emit("ready"),e.onChange(!1)})))},onParseImage:function(e){var t=this,i=e.source,o=e.arrayBuffer,r=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,o&&r&&r>1?Tv(i)||!wv(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([o])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(e){for(var t=[],i=new Uint8Array(e);i.length>0;){var o=i.subarray(0,8192);t.push(String.fromCharCode.apply(null,Array.from?Array.from(o):o.slice())),i=i.subarray(8192)}return"data:image/jpeg;base64,"+btoa(t.join(""))}(o):this.imageAttributes.src=i,Dv(this.defaultTransforms)?this.appliedImageTransforms=Fk(this.defaultTransforms()):xv(this.defaultTransforms)?this.appliedImageTransforms=Fk(this.defaultTransforms):this.appliedImageTransforms=function(e){var t=Fk({});if(e)switch(e){case 2:t.flip.horizontal=!0;break;case 3:t.rotate=-180;break;case 4:t.flip.vertical=!0;break;case 5:t.rotate=90,t.flip.vertical=!0;break;case 6:t.rotate=90;break;case 7:t.rotate=90,t.flip.horizontal=!0;break;case 8:t.rotate=-90}return t}(r),this.defaultImageTransforms=Av(Av({},this.appliedImageTransforms),{},{flip:Av({},this.appliedImageTransforms.flip)}),this.$nextTick((function(){var e=t.$refs.image;e&&e.complete&&(Boolean(e.naturalWidth)?t.onSuccessLoadImage():t.onFailLoadImage())}))},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender((function(){t.coordinates=t.moveAlgorithm(Av(Av({},t.getPublicProperties()),{},{positionRestrictions:mk(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()}))},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender((function(){var i=t.sizeRestrictions,o=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(Av(Av({},t.getPublicProperties()),{},{positionRestrictions:mk(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,t.visibleArea.width),maxHeight:Math.min(i.maxHeight,t.visibleArea.height),minWidth:Math.max(i.minWidth,o),minHeight:Math.max(i.minHeight,o)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1}))},onManipulateImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=t.transitions,o=void 0!==i&&i,r=t.normalize,n=void 0===r||r;o&&this.enableTransitions();var a=function(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.sizeRestrictions,n=e.getAreaRestrictions,a=e.positionRestrictions,l=e.adjustStencil,s=t.scale,c=t.move,A=hv({},o),M=hv({},i),u=1,g=1,d=s.factor&&Math.abs(s.factor-1)>.001;A=ek(A,{left:c.left||0,top:c.top||0});var N={stencil:{minimum:Math.max(r.minWidth?r.minWidth/M.width:0,r.minHeight?r.minHeight/M.height:0),maximum:Math.min(r.maxWidth?r.maxWidth/M.width:1/0,r.maxHeight?r.maxHeight/M.height:1/0,ok(M,a))},area:{maximum:ok(A,n({visibleArea:A,type:"resize"}))}};s.factor&&d&&(s.factor<1?(g=Math.max(s.factor,N.stencil.minimum))>1&&(g=1):s.factor>1&&(g=Math.min(s.factor,Math.min(N.area.maximum,N.stencil.maximum)))<1&&(g=1)),g&&(A=tk(A,g,s.center));var y=i.left-o.left,p=o.width+o.left-(i.width+i.left),E=i.top-o.top,I=o.height+o.top-(i.height+i.top);return A=Ak(A=ek(A,rk(A,{left:void 0!==a.left?a.left-y*g:void 0,top:void 0!==a.top?a.top-E*g:void 0,bottom:void 0!==a.bottom?a.bottom+I*g:void 0,right:void 0!==a.right?a.right+p*g:void 0})),n({visibleArea:A,type:"move"})),M.width=M.width*g,M.height=M.height*g,M.left=A.left+y*g,M.top=A.top+E*g,M=Ak(M,gk(Kv(A),a)),s.factor&&d&&l&&(s.factor>1?u=Math.min(N.area.maximum,s.factor)/g:s.factor<1&&(u=Math.max(M.height/A.height,M.width/A.width,s.factor/g)),1!==u&&(A=ek(A=Ak(A=tk(A,u,s.factor>1?s.center:Zv(M)),n({visibleArea:A,type:"move"})),$v(rk(M,Kv(A)))))),{coordinates:M,visibleArea:A}}(Av(Av({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=a.visibleArea,s=a.coordinates;this.visibleArea=l,this.coordinates=s,this.runAutoZoom("manipulateImage"),this.onChange(),o&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleArea,i=e.type,o=void 0===i?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:o})},getAspectRatio:function(e){var t,i,o=this.stencilProps,r=o.aspectRatio,n=o.minAspectRatio,a=o.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();t=l.minimum,i=l.maximum}if(mv(t)&&(t=mv(r)?n:r),mv(i)&&(i=mv(r)?a:r),!e&&(mv(t)||mv(i))){var s=this.getStencilSize(),c=s?ik(s):null;mv(t)&&(t=fv(c)?c:void 0),mv(i)&&(i=fv(c)?c:void 0)}return{minimum:t,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t=(e={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)}).boundaries,o=e.aspectRatio,nk(ik(r=Dv(i=e.stencilSize)?i({boundaries:t,aspectRatio:o}):i),o)&&(r=yk({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:o.minimum,maximum:o.maximum}})),(r.width>t.width||r.height>t.height)&&(r=yk({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:ik(r),maximum:ik(r)}})),r;var e,t,i,o,r},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 Av({},Jv)},flip:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;if(!this.transitionsActive){o&&this.enableTransitions();var r=Av({},this.imageTransforms.flip),n=function(e){var t=e.flip,i=e.previousFlip,o=e.rotate;e.aspectRatio;var r=e.getAreaRestrictions,n=e.coordinates,a=e.visibleArea,l=e.imageSize,s=hv({},n),c=hv({},a),A=i.horizontal!==t.horizontal,M=i.vertical!==t.vertical;if(A||M){var u=sk({left:l.width/2,top:l.height/2},-o),g=sk(Zv(s),-o),d=sk({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o);s=ek(s,Xv(d,Zv(s))),g=sk(Zv(c),-o),c=Ak(c=ek(c,Xv(d=sk({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o),Zv(c))),r({visibleArea:c,type:"move"}))}return{coordinates:s,visibleArea:c}}({flip:{horizontal:e?!r.horizontal:r.horizontal,vertical:t?!r.vertical:r.vertical},previousFlip:r,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()}),a=n.visibleArea,l=n.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=a,this.coordinates=l,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).transitions,i=void 0===t||t;if(!this.transitionsActive){i&&this.enableTransitions();var o=Av({},this.imageSize);this.appliedImageTransforms.rotate+=e;var r=function(e){var t=e.aspectRatio,i=e.getAreaRestrictions,o=e.coordinates,r=e.visibleArea,n=e.sizeRestrictions,a=e.positionRestrictions,l=e.imageSize,s=e.previousImageSize,c=e.angle,A=hv({},o),M=hv({},r),u=sk(Zv(hv({left:0,top:0},s)),c);return(A=hv(hv({},yk({sizeRestrictions:n,aspectRatio:t,width:A.width,height:A.height})),sk(Zv(A),c))).left-=u.left-l.width/2+A.width/2,A.top-=u.top-l.height/2+A.height/2,M=tk(M,ck(M,i({visibleArea:M,type:"resize"}))),{coordinates:A=Ak(A,a),visibleArea:M=Ak(M=ek(M,Xv(Zv(A),Zv(o))),i({visibleArea:M,type:"move"}))}}({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),n=r.visibleArea,a=r.coordinates,l=this.processAutoZoom("rotateImage",n,a);n=l.visibleArea,a=l.coordinates,this.visibleArea=n,this.coordinates=a,this.onChange(),i&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},$k={key:0,ref:"canvas",style:{display:"none"}},eb={key:1,ref:"sourceCanvas",style:{display:"none"}};qk.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"cropper",class:a.classes.cropper},[t.createVNode("div",{ref:"stretcher",class:a.classes.stretcher},null,2),t.createVNode("div",{class:a.classes.boundaries,style:a.boundariesStyle},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.backgroundWrapperComponent),{class:a.classes.cropperWrapper,"wheel-resize":a.settings.resizeImage.wheel,"touch-resize":a.settings.resizeImage.touch,"touch-move":a.settings.moveImage.touch,"mouse-move":a.settings.moveImage.mouse,onMove:a.onManipulateImage,onResize:a.onManipulateImage},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.background,style:a.boundariesStyle},null,6),t.createVNode("div",{class:a.classes.imageWrapper},[t.createVNode("img",{ref:"image",crossorigin:n.imageAttributes.crossOrigin,src:n.imageAttributes.src,class:a.classes.image,style:a.imageStyle,onMousedown:i[1]||(i[1]=t.withModifiers((function(){}),["prevent"]))},null,46,["crossorigin","src"])],2),t.createVNode("div",{class:a.classes.foreground,style:a.boundariesStyle},null,6),t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.stencilComponent),t.mergeProps({ref:"stencil",image:a.image,coordinates:n.coordinates,"stencil-coordinates":a.stencilCoordinates,transitions:a.transitionsOptions},o.stencilProps,{onResize:a.onResize,onResizeEnd:a.onResizeEnd,onMove:a.onMove,onMoveEnd:a.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[t.vShow,n.imageLoaded]]),o.canvas?(t.openBlock(),t.createBlock("canvas",$k,null,512)):t.createCommentVNode("",!0),o.canvas?(t.openBlock(),t.createBlock("canvas",eb,null,512)):t.createCommentVNode("",!0)]})),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const tb=Zs(t.defineComponent({__name:"BackgroundImageCropper",props:{touchMove:{},mouseMove:{},touchResize:{},wheelResize:{}},emits:["move","resize"],setup(e){const i=e,o=t.ref(!1),r=t.ref(),n=(e,t)=>{if("touchstart"===e.type||"touchmove"===e.type){if(1===e.touches.length&&!t)return o.value=!0,r.value="touch",a(),!1;o.value=!1}else if("wheel"===e.type){if(!t&&!e.ctrlKey)return o.value=!0,r.value="wheel",a(),!1;o.value=!1}e.preventDefault(),e.stopPropagation()},a=()=>{setTimeout((()=>{o.value=!1}),1e3)};return(e,a)=>(t.openBlock(),t.createBlock(t.unref(Hk),{"events-filter":n,"mouse-move":i.mouseMove,"touch-move":i.touchMove,"touch-resize":i.touchResize,"wheel-resize":i.wheelResize,onMove:a[0]||(a[0]=t=>e.$emit("move",t)),onResize:a[1]||(a[1]=t=>e.$emit("resize",t))},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"default",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([{"cropper-event-notification--visible":o.value},"cropper-event-notification"])},t.toDisplayString("wheel"===r.value?"Use ctrl + scroll to zoom the cropper":"Use two fingers to move the cropper"),3)])),_:3},8,["mouse-move","touch-move","touch-resize","wheel-resize"]))}}),[["__scopeId","data-v-3c428f57"]]);var ib={exports:{}};!function(e,t){(function(){function i(e,t){t=t||"";for(var i=window.atob(e),o=[],r=0,n=i.length;r<n;r+=1024){for(var a=i.slice(r,r+1024),l=new Array(a.length),s=0;s<a.length;s++)l[s]=a.charCodeAt(s);var c=new Uint8Array(l);o.push(c)}return new Blob(o,{type:t})}e.exports&&(t=e.exports=i),t.base64ToBlob=i}).call(ce)}(ib,ib.exports);const ob=Ae(ib.exports),rb={class:"flex flex-col gap-y-4"},nb={key:0,class:t.normalizeClass(["[&_li]:before:content-['•']","[&_li]:before:inline-block [&_li]:before:w-[12px] [&_li]:before:ml-[-12px] pl-3","max-w-[121px] text-body-medium text-general-800 dark:text-general-100 [&_li]:pl-0.5"]),"data-ts-section":"image-requirements-info"},ab=[t.createElementVNode("li",null,"Max. 1 MB",-1),t.createElementVNode("li",null,"Must be image format",-1)],lb=t.defineComponent({__name:"ImageInputInfo",props:{showInfo:{type:Boolean},showAddButton:{type:Boolean}},emits:["addPhoto"],setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",rb,[e.showInfo?(t.openBlock(),t.createElementBlock("ul",nb,ab)):t.createCommentVNode("",!0),e.showAddButton?(t.openBlock(),t.createBlock(Hs,{key:1,onClick:i[0]||(i[0]=t=>e.$emit("addPhoto")),icon:"add-line",label:"Add Photo",text:""})):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")]))}),sb=["draggable"],cb={key:0,class:"flex gap-0.5 justify-center","data-ts-section":"preview-buttons"},Ab={key:1,class:"flex gap-1 items-start"},Mb=["id","multiple"],ub=["for"],gb=[t.createElementVNode("span",{class:"inline-flex items-center text-body-medium rounded-bl rounded-tl bg-general-50 px-3 h-[26px] border-[0.5px] border-general-200"}," Browse ",-1),t.createElementVNode("span",{class:"inline-flex items-center text-body-medium !text-general-200 !font-light rounded-br rounded-tr px-3 h-[26px] leading-4 border-[0.5px] border-l-0 border-general-200"}," Select File ",-1)],db=t.defineComponent({__name:"ImageCompressor",props:t.mergeModels({type:{default:"normal"},multiple:{type:Boolean},defaultImage:{},disabled:{type:Boolean,default:!1},compressedBlob:{default:void 0},imagePreviewUrl:{default:void 0},imagePreviewSize:{default:"big"},rounded:{type:Boolean,default:!1},useValidator:{type:Boolean,default:!1},mandatory:{type:Boolean,default:!1},invalid:{type:Boolean},validatorMessage:{default:"Photo must be uploaded"},label:{default:void 0},fieldName:{default:"imageInput"},fieldInfo:{default:void 0},showInfo:{type:Boolean,default:!0},confirmOnDelete:{type:Boolean},showValidatorMessage:{type:Boolean,default:!0},fileType:{default:"webp"}},{defaultImage:{default:0},defaultImageModifiers:{}}),emits:t.mergeModels(["apply","update:defaultImage","update:fieldValue","delete"],["update:defaultImage"]),setup(e,{emit:i}){const o=e,r=i;t.onMounted((async()=>{j(),m(),o.imagePreviewUrl&&(d.value=o.imagePreviewUrl)})),t.onUnmounted((()=>{k(0),k(1)}));const n=t.ref([{src:null,type:null},{src:null,type:null}]),a=t.ref(),l=t.ref([]),s=t.ref(),c=t.shallowRef(0),A=t.ref(),M=t.ref(),u=t.shallowRef(),g=t.useModel(e,"defaultImage"),d=t.reactive({value:o.multiple?[]:void 0}),N=t.shallowRef(!1),y=t.shallowRef(),p=t.shallowRef(0),E=t.shallowRef(!1),I=t.ref([!1,!1]),h=t.computed((()=>`image/${o.fileType}`)),j=()=>{var e,t;(null==(e=o.imagePreviewUrl)?void 0:e.length)?l.value=Array.isArray(o.imagePreviewUrl)?o.imagePreviewUrl:[o.imagePreviewUrl]:(null==(t=o.compressedBlob)?void 0:t.length)&&(l.value=Array.isArray(o.compressedBlob)?o.compressedBlob:[o.compressedBlob])},T=(e=!1)=>{var t;o.disabled||(e&&(u.value=1),null==(t=s.value)||t.click())},w=async e=>{const{files:t}=e.target,i=Array.from(t??[]).slice(0,l.value.length?1:2);for(const[r,n]of i.entries())try{const e=u.value??r;await D(n,e)}catch(o){console.error("Error loading image:",o)}finally{u.value=void 0}},D=async(e,t)=>new Promise(((i,o)=>{if(e)if(x(t),e.type.includes("image"))if(e.size>1e6)S(t,!0),N.value=!0,y.value="File size is too big! Max. 1 MB",E.value=!1,k(t),o("File size is too big! Max. 1 MB");else{k(t);const i=URL.createObjectURL(e),o=new FileReader;o.onload=o=>{var r;n.value[t].src=i,n.value[t].type=B(null==(r=null==o?void 0:o.target)?void 0:r.result,e.type)},o.onerror=e=>{console.error("🚀 ~ returnnewPromise ~ e:",e)},o.readAsArrayBuffer(e),null==u.value&&(u.value=t),E.value||(E.value=!0),N.value=!1,y.value=void 0}else N.value=!0,y.value="File type is not image!",l.value[t]=void 0,E.value=!1,k(t),o("File type is not image!");p.value+=1,M.value=i})),m=()=>{o.useValidator&&Object.assign(d,Ya(o.fieldName,(e=>!e&&o.mandatory?(o.label??"Photo")+" must be uploaded":o.invalid&&o.validatorMessage?o.validatorMessage:!y.value||y.value)))},x=e=>{n.value[e]={src:null,type:null}},B=(e,t=null)=>{if(e){const i=new Uint8Array(e).subarray(0,4);let o="";for(const e of i)o+=e.toString(16);switch(o){case"89504e47":return"image/png";case"47494638":return"image/gif";case"ffd8ffe0":case"ffd8ffe1":case"ffd8ffe2":case"ffd8ffe3":case"ffd8ffe8":return h.value;default:return t}}return null},L=e=>{const t=ob(e.split(",")[1],h.value);return window.URL.createObjectURL(t)},f=async(e,t)=>{const i=await fetch(e).then((e=>e.blob()));return new File([i],t,{type:h.value})},z=async()=>{const e=u.value??0;try{await Q(e)}catch(t){console.error(t)}C()},C=()=>{var e;E.value=!1,null==(e=M.value)||e.call(M),M.value=void 0},Q=async e=>{if(A.value){const t=A.value.getResult();if(t.canvas){const i=t.canvas.toDataURL(h.value);await v(i,e)}}},v=async(e,t)=>{try{a.value=document.createElement("canvas");const i=a.value.getContext("2d"),n=new Image;n.src=e,await n.decode();const s=.8,c=n.width*s,A=n.height*s;a.value.setAttribute("width",c.toString()),a.value.setAttribute("height",A.toString()),i&&i.drawImage(n,0,0,c,A);const M=a.value.toDataURL(h.value,.95),u=Date.now()+`.${o.fileType}`,g={canvas:a.value,compressed:{blob:L(M),base64:M,fileName:u,file:await f(L(M),u),size:"",type:h.value},message:"File has been compressed."};g.compressed.size=Math.round(g.compressed.file.size/1e3)+"KB",l.value[t]=g.compressed.blob,o.multiple?d.value&&Array.isArray(d.value)?d.value[t]=g.compressed.file:d.value=[g.compressed.file]:d.value=g.compressed.file,r("apply",g,t)}catch(i){console.error(i)}},k=e=>{n.value[e].src&&URL.revokeObjectURL(n.value[e].src)},b=e=>{o.confirmOnDelete?I.value[e]=!0:S(e)},S=(e=0,t=!1)=>{N.value=!1,y.value=void 0,l.value=l.value.toSpliced(e,1),k(e),n.value[e]={src:null,type:null},n.value=[n.value[+!e],n.value[e]],u.value=0,g.value=0,o.confirmOnDelete&&!t||r("delete",S,e),o.multiple&&Array.isArray(d.value)?d.value=d.value.toSpliced(e,1):d.handleReset&&d.handleReset()},O=e=>{var t;const i=null==(t=l.value[e])?void 0:t.toString();u.value=e,(null==i?void 0:i.includes("blob"))?(u.value=e,E.value=!0):(x(e),T())},Y=()=>{T()},U=()=>{l.value=l.value.reverse(),d.value=d.value.reverse()},F=t.computed((()=>navigator.userAgent.includes("Firefox")));return t.watch(y,(e=>{e&&d.setErrors&&d.setErrors(e)})),t.watch(E,(e=>{e||c.value++})),t.watch((()=>d.value),(e=>{r("update:fieldValue",e)})),(e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(Vg,{class:t.normalizeClass([{"!w-max":!o.multiple,"!w-full":o.multiple}]),info:o.fieldInfo,label:o.label,mandatory:o.mandatory,"data-ts-name":"image-compressor","data-ts-section":"root"},{default:t.withCtx((()=>[t.createElementVNode("div",{class:t.normalizeClass(["w-full",{"grid gap-6 items-start grid-cols-2":e.multiple&&"normal"===e.type},{"grid gap-3 items-start grid-cols-[max-content,max-content]":e.multiple&&"inline-table"===e.type}]),"data-ts-section":"wrapper"},[l.value.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,((n,a)=>(t.openBlock(),t.createElementBlock("div",{key:a,draggable:2==l.value.length,onDragend:U,class:"flex gap-1 items-start","data-ts-section":"preview"},[t.createElementVNode("div",{class:t.normalizeClass(["flex gap-1",{"flex-col":"normal"===e.type,"items-center":"inline-table"===e.type}]),"data-ts-section":"preview-image-wrapper"},[t.createVNode(Uc,{class:t.normalizeClass({"w-[26px] h-[26px]":"inline-table"===e.type}),rounded:e.rounded,thumbnail:n,"data-ts-section":"preview-image"},null,8,["class","rounded","thumbnail"]),o.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",cb,["normal"===e.type?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(Hs,{label:"normal"===e.type?"Edit":"",onClick:e=>O(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"pencil",text:""},null,8,["label","onClick"]),t.createVNode(Hs,{label:"normal"===e.type?"Delete":"",onClick:e=>b(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"delete-bin",severity:"danger",text:""},null,8,["label","onClick"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(as,{onClick:e=>O(a),class:"text-xs p-0.5 rounded-xs mr-1",icon:"pencil",severity:"primary"},null,8,["onClick"]),t.createVNode(as,{onClick:e=>b(a),class:"text-xs p-0.5 rounded-xs",icon:"delete-bin",severity:"danger"},null,8,["onClick"])],64)),t.createVNode(Td,{visible:I.value[a],"onUpdate:visible":e=>I.value[a]=e,onConfirm:e=>r("delete",S,a),body:"Are you sure you want to delete it?","confirm-label":"Delete",header:"Delete Photo",severity:"danger"},null,8,["visible","onUpdate:visible","onConfirm"])]))],2),"normal"===e.type?(t.openBlock(),t.createBlock(lb,{key:0,"show-add-button":1===l.value.length&&o.multiple,"show-info":e.showInfo,onAddPhoto:i[1]||(i[1]=e=>T(!0))},{default:t.withCtx((()=>[2===l.value.length&&o.multiple?(t.openBlock(),t.createBlock(og,{key:0,modelValue:g.value,"onUpdate:modelValue":i[0]||(i[0]=e=>g.value=e),"label-id":"default-"+a,value:a,label:"Set as default"},null,8,["modelValue","label-id","value"])):t.createCommentVNode("",!0)])),_:2},1032,["show-add-button","show-info"])):t.createCommentVNode("",!0)],40,sb)))),128)),e.multiple&&1==l.value.length&&"inline-table"===e.type&&!o.disabled?(t.openBlock(),t.createBlock(Hs,{key:0,onClick:i[2]||(i[2]=e=>T(!0)),icon:"add-line",label:"Photo",text:""})):t.createCommentVNode("",!0)],64)):"inline-table"!=e.type?(t.openBlock(),t.createElementBlock("div",Ab,[t.createElementVNode("button",{class:t.normalizeClass(["w-[125px] h-[125px]","flex items-center justify-center","ring-inset","cursor-pointer",{"ring-1":F.value,"ring-[0.5px]":!F.value},{"rounded-full":e.rounded,"rounded-lg":!e.rounded},{"ring-general-200 dark:ring-general-200 focus-visible:ring-primary-500 focus-visible:dark:ring-primary-500":!N.value&&!d.errorMessage,"ring-danger-500 dark:ring-danger-500":N.value||d.errorMessage},{"bg-white dark:bg-grayscale-900":!o.disabled,"bg-general-50 dark:bg-grayscale-800":o.disabled}]),onClick:i[3]||(i[3]=e=>T(!1)),"data-ts-section":"input-image-trigger",type:"button"},[t.createVNode(as,{class:"w-6 h-6","data-ts-section":"trigger-icon",icon:"image-add",severity:"primary"})],2),t.createVNode(lb,{"show-info":e.showInfo},null,8,["show-info"])])):t.createCommentVNode("",!0)],2),(t.openBlock(),t.createElementBlock("input",{id:e.fieldName,key:c.value,ref_key:"inputImageFile",ref:s,multiple:o.multiple&&!l.value.length,onChange:w,accept:"image/*",class:"hidden","data-ts-section":"hidden-image-input",type:"file"},null,40,Mb)),"inline-table"!==e.type||l.value.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("label",{key:0,for:e.fieldName,class:"inline-flex items-center cursor-pointer"},gb,8,ub)),e.showValidatorMessage?(t.openBlock(),t.createBlock(Ag,{key:1,format:!1,message:d.errorMessage??y.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["class","info","label","mandatory"]),t.createVNode(XM,{visible:E.value,"onUpdate:visible":i[4]||(i[4]=e=>E.value=e),class:t.normalizeClass(["w-max max-w-[98vw] min-w-[500px] !max-h-[94vh]"]),"content-class":["overflow-hidden overflow-y-auto min-h-[100px]"],draggable:!1,"footer-class":["!gap-1"],"data-ts-section":"dialog-cropper",header:"Adjust Photo",modal:""},{footer:t.withCtx((()=>[t.createVNode(Hs,{onClick:C,label:"Cancel",plain:"",severity:"secondary",text:""}),t.createVNode(Hs,{onClick:Y,label:"Change Image",text:""}),t.createVNode(Hs,{onClick:z,label:"Apply",severity:"success",type:"button"})])),default:t.withCtx((()=>[null!=u.value?(t.openBlock(),t.createBlock(t.unref(qk),{key:0,ref_key:"vueAdvanceCropper",ref:A,"auto-zoom":!1,"background-wrapper-component":tb,src:n.value[u.value].src,class:"upload-example-cropper h-400","foreground-class":"h-400","image-class":"h-400"},null,8,["src"])):t.createCommentVNode("",!0)])),_:1},8,["visible"])],64))}}),Nb=["id","disabled","maxlength","placeholder"],yb=t.defineComponent({__name:"InputBadge",props:{type:{default:"text"},modelValue:{},initialValue:{},useValidator:{type:Boolean},mandatory:{type:Boolean},validatorMessage:{},showValidatorMessage:{type:Boolean,default:!0},invalid:{type:Boolean},fieldName:{default:"inputBadge"},placeholder:{},disabled:{type:Boolean},label:{},fieldInfo:{},fieldTooltipPos:{},preserveDeletedIndex:{type:Boolean},maxlength:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i;t.onMounted((()=>{y()}));const n=t.ref(null),a=t.ref(null),l=t.shallowRef(),s=t.reactive({value:o.initialValue??o.modelValue??[]}),c=t.ref(0),A=t.computed((()=>{var e;return(null==(e=o.label)?void 0:e.toLowerCase)+"-badge-input"})),M=t.computed((()=>o.placeholder?o.placeholder:"email"===o.type?"Enter valid email":"Enter value")),u=t.computed((()=>{var e,t;return null==(t=null==(e=s.value)?void 0:e.filter(Boolean))?void 0:t.length})),g=Ya(o.fieldName,(e=>!(!(null==e?void 0:e.length)&&o.mandatory)||(o.label??"This field")+" must not be empty")),d=t.computed((()=>{const e=s.errorMessage??o.validatorMessage;if(!e)return;if(e===(o.label??"This field")+" must not be empty"){if(!("meta"in s&&s.meta.touched))return}return e})),N=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:d.value)),y=()=>{var e,t;o.useValidator&&(Object.assign(s,g),(null==(e=o.initialValue)?void 0:e.length)?s.value=o.initialValue:(null==(t=o.modelValue)?void 0:t.length)&&(s.value=o.modelValue))},p=t.computed((()=>{var e;return o.invalid||!!d.value||!(null==(e=s.value)?void 0:e.length)&&"string"==typeof l.value&&!l.value.length})),E=e=>{var t,i;h(l.value)||("email"===o.type&&n.value&&a.value&&l.value&&(t=l.value,!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t))?a.value.toggle(e,n.value):l.value&&((null==(i=g.meta)?void 0:i.touched)&&g.setTouched(!1),s.value=[...s.value??[],l.value],l.value=void 0,r("update:modelValue",s.value)))},I=e=>{var t,i;"Backspace"!==e.key||l.value||(e.preventDefault(),"text"===o.type?l.value=null==(t=s.value)?void 0:t.pop():null==(i=s.value)||i.pop(),r("update:modelValue",s.value))},h=e=>{var t;return null==(t=s.value)?void 0:t.some((t=>t===e))},j=navigator.userAgent.includes("Firefox");return t.watch((()=>o.initialValue),(e=>{e&&(s.value=e)}),{once:!0}),t.watch((()=>o.modelValue),(e=>{e&&(s.value=e)})),o.preserveDeletedIndex&&t.watchEffect((()=>{var e,t;(null==(e=s.value)?void 0:e.length)&&(null==(t=s.value)?void 0:t.every((e=>null==e)))&&(s.value=[])})),(e,i)=>(t.openBlock(),t.createBlock(Vg,{info:e.fieldInfo,label:o.label,mandatory:o.mandatory,"tooltip-pos":e.fieldTooltipPos},{default:t.withCtx((()=>[(t.openBlock(),t.createElementBlock("div",{key:c.value,class:t.normalizeClass(["flex flex-wrap gap-x-0.5 gap-y-[5px] items-center","min-h-[26px] h-fit w-full","ring-inset rounded px-[12px] py-[2px]",{"ring-[1px]":t.unref(j),"ring-[0.5px]":!t.unref(j)},{"!ring-danger-500 !dark:ring-danger-500":p.value},{"!ring-general-200 !dark:ring-general-200":!p.value},{"pointer-events-none":e.disabled}]),"data-ts-name":"input-badge","data-ts-section":"root"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e},[e?(t.openBlock(),t.createBlock(Js,{key:0,"edit-maxlength":o.maxlength,label:e,onRemove:e=>{var t;return(e=>{var t,i;(null==(t=g.meta)?void 0:t.touched)&&g.setTouched(!1),null==(i=s.value)||i.splice(e,1,...o.preserveDeletedIndex?[null]:[]),r("update:modelValue",s.value)})(i),null==(t=n.value)?void 0:t.focus()},"onUpdate:label":e=>((e,t)=>{if(s.value&&e){if(h(e))return void c.value++;s.value[t]=e,r("update:modelValue",s.value)}})(e,i),editable:"",format:"nowrap",removable:"",severity:"dark"},null,8,["edit-maxlength","label","onRemove","onUpdate:label"])):t.createCommentVNode("",!0)],64)))),128)),t.createElementVNode("form",{onSubmit:t.withModifiers(E,["prevent"]),class:"flex-1","data-ts-section":"form-input"},[t.withDirectives(t.createElementVNode("input",{id:A.value,ref_key:"badgeInput",ref:n,"onUpdate:modelValue":i[0]||(i[0]=e=>l.value=e),class:t.normalizeClass([...t.unref(il).root({props:o,context:{disabled:e.disabled},parent:e.$parent}).class,"outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",{"placeholder:text-transparent":u.value},"focus:placeholder:text-general-200"]),disabled:e.disabled,maxlength:o.maxlength,placeholder:M.value,onBlur:E,onFocus:i[1]||(i[1]=e=>{var t;return null==(t=a.value)?void 0:t.hide()}),onInput:i[2]||(i[2]=e=>{var i;null==(i=a.value)||i.hide(),t.unref(g).setTouched(!1)}),onKeydown:I,"data-ts-section":"label-input",type:"text"},null,42,Nb),[[t.vModelText,l.value]]),t.createVNode(t.unref(kd),{ref_key:"op",ref:a,class:"px-3 py-1 text-[12px] text-general-800"},{default:t.withCtx((()=>[t.createVNode(as,{class:"mr-1 text-warning-600 text-base",icon:"error"}),t.createTextVNode(" Email format is incorrect ")])),_:1},512)],32)],2)),o.showValidatorMessage&&o.label?(t.openBlock(),t.createBlock(Ag,{key:0,message:N.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["info","label","mandatory","tooltip-pos"]))}}),pb=({isFirefoxBased:e,invalidInput:t})=>[{"ring-[1px]":e,"ring-[0.5px]":!e},{"!ring-danger-500":t},"ring-inset","ring-general-200","[&:has(:focus)]:bg-none [&:has(:focus)]:dark:bg-none","[&:has(:focus)]:ring-primary-500","bg-white dark:bg-white","z-[0] [&:has(:focus)]:z-[12]"],Eb={dialcode:e=>({class:[...pb(e),"rounded-l rounded-r-none"]}),inputnumber:e=>({class:[...pb(e),"rounded-r rounded-l-none -ml-[1px]"]})},Ib={currency:e=>({class:[...pb(e),"rounded-l rounded-r-none"],"data-ts-section":"currency"}),value:e=>({class:[...pb(e),"rounded-r rounded-l-none -ml-[1px]"],"data-ts-section":"value"})},hb={key:1,class:"bg-general-50 flex h-full items-center px-3 ring-[0.5px] ring-general-200 ring-inset rounded-l"},jb=t.defineComponent({__name:"InputCurrency",props:{modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{expose:i,emit:o}){var r,n;const a=e,l=o,s=t.reactive({value:a.modelValue}),c=Ya(a.fieldName??"currencyInput",(e=>null!=(null==e?void 0:e.value)||!a.mandatory||`${a.label} must not be empty`));t.onMounted((()=>{a.useValidator&&(Object.assign(s,c),a.modelValue&&(s.value=a.modelValue))}));const A=t.shallowRef(!1),M=t.shallowRef(null==(r=a.modelValue)?void 0:r.value),u=navigator.userAgent.includes("Firefox"),g=t.shallowRef(Rt(null==(n=a.modelValue)?void 0:n.currency)),d=t.shallowRef(Ft.filter((e=>e.currency!==Rt().currency))),N=t.computed((()=>{var e;return null==(e=g.value)?void 0:e.locale})),y=t.computed((()=>a.inputnNumberId?a.inputnNumberId:(a.label??a.fieldName??"input-number").toLowerCase().trim().replaceAll(" ","-")+"-inputnumber")),p=t.computed((()=>{const e=c.errorMessage.value??a.validatorMessage;if(!e)return;return e!==`${a.label} must not be empty`||c.meta.touched?e:void 0})),E=t.computed((()=>a.invalid||!!p.value)),I=({currency:e},t)=>{var i;(null==(i=c.meta)?void 0:i.touched)&&c.setTouched(!1);const o=null!=t?{currency:e,value:t}:void 0;l("update:modelValue",o),s.value=o};return t.watch((()=>a.modelValue),(()=>{var e,t,i;g.value=(null==(e=a.modelValue)?void 0:e.currency)?Rt(null==(t=a.modelValue)?void 0:t.currency):g.value,s.value=a.modelValue,M.value=null==(i=a.modelValue)?void 0:i.value})),i({selectedCurrency:g}),(e,i)=>(t.openBlock(),t.createBlock(Sf,t.mergeProps(a,{modelValue:M.value,"onUpdate:modelValue":[i[4]||(i[4]=e=>M.value=e),i[6]||(i[6]=e=>I(g.value,e))],"field-name":y.value,"input-id":y.value,"input-number-class":t.unref(Ib).value({isFirefoxBased:t.unref(u),invalidInput:E.value}).class,invalid:E.value,locale:N.value,"min-fraction-digits":0,"use-validator":!1,"validator-message":p.value,onInput:i[5]||(i[5]=e=>I(g.value,e)),"addon-left-class":"!p-0 !bg-transparent","input-group-class":"!ring-0",mode:"decimal","use-grouping":""}),{"addon-left":t.withCtx((()=>[a.selectable?(t.openBlock(),t.createBlock(t.unref(Cg),{key:0,modelValue:g.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>g.value=e),i[3]||(i[3]=e=>I(e,M.value))],class:t.normalizeClass(t.unref(Ib).currency({isFirefoxBased:t.unref(u),invalidInput:E.value}).class),"filter-fields":["label","currency"],options:d.value,pt:{input:{class:["py-1 pl-3 pr-2",t.unref(qa).input({props:{modelValue:g.value}}).class]}},onHide:i[1]||(i[1]=e=>(A.value=!1,void t.nextTick((()=>{const e=document.getElementById(y.value);e&&e.focus()})))),onShow:i[2]||(i[2]=e=>A.value=!0),"data-key":"currency",filter:"","filter-placeholder":"Search","option-label":"symbol"},{dropdownicon:t.withCtx((()=>[t.createVNode(as,{class:t.normalizeClass(["w-full h-full transition-transform !text-general-500",{"rotate-180":A.value}]),icon:"arrow-drop-down"},null,8,["class"])])),option:t.withCtx((({option:e})=>[t.createTextVNode(t.toDisplayString(e.label),1)])),_:1},8,["modelValue","class","options","pt"])):(t.openBlock(),t.createElementBlock("div",hb,t.toDisplayString(g.value.symbol),1))])),_:1},16,["modelValue","field-name","input-id","input-number-class","invalid","locale","validator-message"]))}}),Tb=t.defineComponent({__name:"InputCurrencyReference",props:{inputWrapperClass:{},inputClass:{},modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(),a=t.ref(!1),l=e=>{r("update:modelValue",e)},s=async()=>{a.value=!0;const e="USD";await t.nextTick(),n.value&&(n.value.selectedCurrency=Rt(e))},c=()=>{l(void 0),a.value=!1};return t.watch((()=>o.modelValue??o.value),(e=>{e&&(a.value=!0)}),{immediate:!0}),(e,i)=>a.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass([o.inputWrapperClass,"grid grid-cols-[1fr,auto] items-end gap-2.5"])},[t.createVNode(jb,t.mergeProps({ref_key:"inputCurrency",ref:n,class:o.inputClass,"onUpdate:modelValue":l},o,{selectable:""}),null,16,["class"]),t.createVNode(Hs,{onClick:c,"aria-label":"Remove currency input",icon:"delete-bin",outlined:"",severity:"danger"})],2)):(t.openBlock(),t.createBlock(Hs,{key:0,onClick:s,"aria-label":"Add currency input",icon:"add-line",outlined:""}))}}),wb={class:"grid grid-cols-1"},Db=t.defineComponent({__name:"InputCoordinate",props:{modelValue:{},disabled:{type:Boolean},useValidator:{type:Boolean},fieldName:{},label:{},mandatory:{type:Boolean},invalid:{type:Boolean},validatorMessage:{},showInput:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.reactive({value:o.modelValue});t.onMounted((()=>{o.useValidator&&(Object.assign(n,Ya(o.fieldName??"coordinate",(()=>s()))),null!==o.modelValue&&(n.value=o.modelValue))}));const a=t.shallowRef(!1),l=t.computed((()=>o.invalid||!!n.errorMessage)),s=async()=>(await t.nextTick(),!o.validatorMessage||!o.invalid||o.validatorMessage);return(e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.withDirectives(t.createVNode(Vg,{label:o.label,mandatory:o.mandatory},{default:t.withCtx((()=>[t.createVNode(Wg,{class:t.normalizeClass(["grid grid-cols-[1fr,auto] !h-auto"]),disabled:o.disabled,invalid:l.value,onClick:i[0]||(i[0]=e=>a.value=!0)},{default:t.withCtx((()=>{var e,i,r,a;return[t.createElementVNode("div",wb,[t.createVNode(t.unref(fd),{class:t.normalizeClass(["ts-inputtext border-b border-b-general-200 rounded-b-none !h-[26px]"]),invalid:l.value,"model-value":null==(i=null==(e=n.value)?void 0:e.lat)?void 0:i.toString(),disabled:"",placeholder:"Enter latitude"},null,8,["invalid","model-value"]),t.createVNode(t.unref(fd),{class:t.normalizeClass(["ts-inputtext !h-[26px]"]),invalid:l.value,"model-value":null==(a=null==(r=n.value)?void 0:r.lng)?void 0:a.toString(),disabled:"",placeholder:"Enter longitude"},null,8,["invalid","model-value"])]),t.createVNode(t.unref(Kg),{class:t.normalizeClass({"!text-general-200 !dark:text-general-200":o.disabled})},{default:t.withCtx((()=>[t.createVNode(as,{icon:"map-pin-line"})])),_:1},8,["class"])]})),_:1},8,["disabled","invalid"]),t.createVNode(Ag,{message:n.errorMessage??o.validatorMessage},null,8,["message"])])),_:1},8,["label","mandatory"]),[[t.vShow,o.showInput]]),t.createVNode(yf,{visible:a.value,"onUpdate:visible":i[1]||(i[1]=e=>a.value=e),value:n.value??void 0,"onUpdate:value":i[2]||(i[2]=e=>{return t=e,n.value=t,void r("update:modelValue",t);var t}),mode:"drag",type:"input"},null,8,["visible","value"])],64))}});var mb=XE,xb=/\s/;var Bb=function(e){for(var t=e.length;t--&&xb.test(e.charAt(t)););return t},Lb=/^\s+/;var fb=lI,zb=Qh;var Cb=function(e){return e?e.slice(0,Bb(e)+1).replace(Lb,""):e},Qb=sI,vb=function(e){return"symbol"==typeof e||zb(e)&&"[object Symbol]"==fb(e)},kb=/^[-+]0x[0-9a-f]+$/i,bb=/^0b[01]+$/i,Sb=/^0o[0-7]+$/i,Ob=parseInt;var Yb=sI,Ub=function(){return mb.Date.now()},Fb=function(e){if("number"==typeof e)return e;if(vb(e))return NaN;if(Qb(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qb(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Cb(e);var i=bb.test(e);return i||Sb.test(e)?Ob(e.slice(2),i?2:8):kb.test(e)?NaN:+e},Rb=Math.max,Gb=Math.min;var Hb=function(e,t,i){var o,r,n,a,l,s,c=0,A=!1,M=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var i=o,n=r;return o=r=void 0,c=t,a=e.apply(n,i)}function d(e){var i=e-s;return void 0===s||i>=t||i<0||M&&e-c>=n}function N(){var e=Ub();if(d(e))return y(e);l=setTimeout(N,function(e){var i=t-(e-s);return M?Gb(i,n-(e-c)):i}(e))}function y(e){return l=void 0,u&&o?g(e):(o=r=void 0,a)}function p(){var e=Ub(),i=d(e);if(o=arguments,r=this,s=e,i){if(void 0===l)return function(e){return c=e,l=setTimeout(N,t),A?g(e):a}(s);if(M)return clearTimeout(l),l=setTimeout(N,t),g(s)}return void 0===l&&(l=setTimeout(N,t)),a}return t=Fb(t)||0,Yb(i)&&(A=!!i.leading,n=(M="maxWait"in i)?Rb(Fb(i.maxWait)||0,t):n,u="trailing"in i?!!i.trailing:u),p.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=s=r=l=void 0},p.flush=function(){return void 0===l?a:y(Ub())},p};const Pb=Ae(Hb),Vb={key:0,class:"text-general-800 font-light","data-ts-section":"checking-availability"},Jb="Checking availability...",Wb=t.defineComponent({__name:"InputText",props:{modelValue:{},value:{},maxLength:{default:30},label:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},invalid:{type:Boolean},manualInvalidContainer:{type:Boolean,default:!1},validatorMessage:{},checkAvailability:{},validateOnBlur:{type:Boolean,default:!1},validatorMessageClass:{},formatValidatorMessage:{type:Boolean,default:!0},placeholder:{},type:{default:"text"},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{},labelClass:{},blurOnReachMax:{type:Boolean},allowSpecialCharacters:{type:Boolean,default:!0},trimInput:{type:Boolean,default:!1}},emits:["blur","input","update:modelValue"],setup(e,{emit:i}){var o;const r=e,n=i,a=t.ref(0),l=t.ref(),s=t.shallowRef(r.value||r.modelValue),c=t.inject("isSubmitting"),A=t.computed((()=>{var e;return"object"==typeof r.validatorMessage&&"exist"in r.validatorMessage?null==(e=r.validatorMessage)?void 0:e.exist:`${r.label} already exists`})),M=t.reactive({value:r.trimInput?null==(o=r.modelValue)?void 0:o.trim():r.modelValue});t.onMounted((()=>{var e;r.useValidator&&(Object.assign(M,d),null!=r.value&&(M.value=r.trimInput?null==(e=r.value)?void 0:e.trim():r.value))}));const u=t.computed((()=>r.invalid||!!M.errorMessage)),g=t.computed((()=>r.placeholder??`Enter ${r.label?r.label.toLowerCase():r.type??"text"}`)),d=Ya(r.fieldName??"textInput",(e=>N(r.trimInput?null==e?void 0:e.trim():e))),N=async e=>{await t.nextTick();let i=!0;if(r.validatorMessage&&"string"==typeof r.validatorMessage&&r.invalid)i=r.validatorMessage;else if(!e&&r.mandatory)i=`${r.label} must not be empty`;else if((null==e?void 0:e.length)>r.maxLength&&("text"===r.type||"email"===r.type))i="Max. "+r.maxLength+" characters";else if(e&&"email"===r.type){i=!!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(e)||"Email format is incorrect"}else if(e&&"url"===r.type){i=!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:@!$&'()*+,;=]*)*(\\?[;&a-z\\d%_.~+=:@!$&'()*+,;=-]*)?(\\#[-a-z\\d_:@!$&'()*+,;=]*)?$","i").test(e)||"URL format is incorrect"}else r.allowSpecialCharacters||(i=!/[^A-Za-z0-9 ]/.test(e)||"Cannot include any special characters");return!0!==i?i:!r.checkAvailability||y()},y=()=>(null==c?void 0:c.value)?M.errorMessage!==A.value&&M.errorMessage!==Jb||M.errorMessage:(p(),Jb),p=Pb((async()=>{var e,t,i,o;if(M.value!=r.value&&(null==(e=M.value)?void 0:e.length)){if(!(await(null==(t=r.checkAvailability)?void 0:t.call(r,M.value))))return null==(i=M.setErrors)?void 0:i.call(M,A.value)}M.errorMessage===Jb&&(null==(o=M.setErrors)||o.call(M,""))}),300),E=e=>{var i;const o=null==(i=l.value)?void 0:i.$el;if(!o)return;const{selectionStart:n,selectionEnd:s}=o;a.value++,o.blur(),t.nextTick((()=>{var t;const i=null==(t=l.value)?void 0:t.$el;if(null==i||i.focus(),null!==n&&null!==s){const t=n===r.maxLength&&(null==e?void 0:e.length)===r.maxLength?r.maxLength:n-1;null==i||i.setSelectionRange(t,t)}}))},I=()=>{r.validateOnBlur&&(M.value=s.value),n("blur",s.value)},h=e=>{var t,i;const o=e.target.value||void 0;(null==(t=d.meta)?void 0:t.touched)&&d.setTouched(!1),n("input",o);const a="deleteContentBackward"===e.inputType,l=o&&(null==o?void 0:o.length)>=r.maxLength,c=(null==(i=M.value)?void 0:i.length)===r.maxLength;l&&r.blurOnReachMax&&!c?((e=>{s.value=String(e).slice(0,r.maxLength),E(e)})(o),n("input",o)):c&&!a&&r.blurOnReachMax?(s.value=M.value,E()):(s.value=o,n("input",o)),r.validateOnBlur||(M.value=s.value),n("update:modelValue",s.value)};return t.watch((()=>r.value),(e=>{M.value=r.trimInput?null==e?void 0:e.trim():e,s.value=M.value}),{once:!0}),t.watch((()=>r.modelValue),(e=>{M.value=r.trimInput?null==e?void 0:e.trim():e,s.value=M.value})),t.watch((()=>M.errorMessage),(e=>{var t;if(e===`${r.label} must not be empty`){"meta"in M&&M.meta.touched||null==(t=M.setErrors)||t.call(M,"")}}),{immediate:!0}),(e,i)=>(t.openBlock(),t.createBlock(Vg,{info:e.fieldInfo,label:r.label,"label-class":r.labelClass,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createVNode(Wg,{class:t.normalizeClass(r.inputContainerClass??["grid ",{"grid-cols-[max-content,1fr,max-content]":e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[1fr,max-content]":!e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[max-content,1fr]":e.$slots["addon-left"]&&!e.$slots["addon-right"]}]),disabled:r.disabled,invalid:u.value&&!r.manualInvalidContainer},{default:t.withCtx((()=>[e.$slots["addon-left"]?(t.openBlock(),t.createBlock(t.unref(Kg),{key:0,disabled:r.disabled},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-left")])),_:3},8,["disabled"])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(t.unref(fd),{key:a.value,ref_key:"input",ref:l,class:t.normalizeClass(["ts-inputtext",e.inputClass]),disabled:e.disabled,invalid:u.value,"model-value":M.value,placeholder:g.value,onBlur:I,onInput:h},null,8,["class","disabled","invalid","model-value","placeholder"])),e.$slots["addon-right"]?(t.openBlock(),t.createBlock(t.unref(Kg),{key:1,class:t.normalizeClass({"!text-general-200 !dark:text-general-200":r.disabled})},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-right")])),_:3},8,["class"])):t.createCommentVNode("",!0)])),_:3},8,["class","disabled","invalid"]),M.errorMessage==Jb?(t.openBlock(),t.createElementBlock("span",Vb," Checking availability... ")):(t.openBlock(),t.createBlock(Ag,{key:1,class:t.normalizeClass(r.validatorMessageClass),format:r.formatValidatorMessage,message:M.errorMessage},null,8,["class","format","message"]))])),_:3},8,["info","label","label-class","mandatory"]))}}),Kb=t.defineComponent({__name:"InputEmail",props:{modelValue:{},label:{},labelClass:{},fieldName:{},manualInvalidContainer:{type:Boolean},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},validatorMessageClass:{},placeholder:{},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{}},emits:["update:modelValue","blur"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(Wb,{"field-info":e.fieldInfo,"field-name":e.fieldName,"input-class":e.inputClass,"input-container-class":e.inputContainerClass,label:e.label,"label-class":e.labelClass,mandatory:e.mandatory,"manual-invalid-container":e.manualInvalidContainer,"max-length":60,"model-value":e.modelValue,placeholder:e.placeholder,"use-validator":e.useValidator,"validator-message":e.validatorMessage,"validator-message-class":e.validatorMessageClass,onBlur:i[0]||(i[0]=t=>e.$emit("blur",t)),"onUpdate:modelValue":i[1]||(i[1]=t=>e.$emit("update:modelValue",t)),type:"email","validate-on-blur":""},null,8,["field-info","field-name","input-class","input-container-class","label","label-class","mandatory","manual-invalid-container","model-value","placeholder","use-validator","validator-message","validator-message-class"]))});var Xb=Pl.extend({name:"inputotp",classes:{root:"p-inputotp p-component",input:"p-inputotp-input"}}),Zb={name:"InputOtp",extends:{name:"BaseInputOtp",extends:ws,props:{modelValue:{type:null,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},variant:{type:String,default:null},tabindex:{type:Number,default:null},length:{type:Number,default:4},mask:{type:Boolean,default:!1},integerOnly:{type:Boolean,default:!1}},style:Xb,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur"],data:function(){return{tokens:[]}},watch:{modelValue:{immediate:!0,handler:function(e){this.tokens=e?e.split(""):new Array(this.length)}}},methods:{getTemplateAttrs:function(e){return{value:this.tokens[e]}},getTemplateEvents:function(e){var t=this;return{input:function(i){return t.onInput(i,e)},keydown:function(e){return t.onKeyDown(e)},focus:function(e){return t.onFocus(e)},blur:function(e){return t.onBlur(e)},paste:function(e){return t.onPaste(e)}}},getPTOptions:function(e){return("root"===e?this.ptmi:this.ptm)(e,{context:{checked:this.checked,disabled:this.disabled}})},onInput:function(e,t){this.tokens[t]=e.target.value,this.updateModel(e),"deleteContentBackward"===e.inputType?this.moveToPrev(e):"insertText"!==e.inputType&&"deleteContentForward"!==e.inputType||this.moveToNext(e)},updateModel:function(e){var t=this.tokens.join("");this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},moveToPrev:function(e){var t=this.findPrevInput(e.target);t&&(t.focus(),t.select())},moveToNext:function(e){var t=this.findNextInput(e.target);t&&(t.focus(),t.select())},findNextInput:function(e){var t=e.nextElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findNextInput(t)},findPrevInput:function(e){var t=e.previousElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findPrevInput(t)},onFocus:function(e){e.target.select(),this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)},onKeyDown:function(e){if(!e.ctrlKey&&!e.metaKey)switch(e.code){case"ArrowLeft":this.moveToPrev(e),e.preventDefault();break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Backspace":0===e.target.value.length&&(this.moveToPrev(e),e.preventDefault());break;case"ArrowRight":this.moveToNext(e),e.preventDefault();break;default:(this.integerOnly&&!(Number(e.key)>=0&&Number(e.key)<=9)||this.tokens.join("").length>=this.length&&"Delete"!==e.code)&&e.preventDefault()}},onPaste:function(e){if(!this.readonly&&!this.disabled){var t=e.clipboardData.getData("text");if(t.length){var i=t.substring(0,this.length+1);this.integerOnly&&isNaN(i)||(this.tokens=i.split(""),this.updateModel(e))}e.preventDefault()}}},computed:{inputMode:function(){return this.integerOnly?"numeric":"text"},inputType:function(){return this.mask?"password":"text"}},components:{OtpInputText:fd}};Zb.render=function(e,i,o,r,n,a){var l=t.resolveComponent("OtpInputText");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.length,(function(o){return t.renderSlot(e.$slots,"default",{key:o,events:a.getTemplateEvents(o-1),attrs:a.getTemplateAttrs(o-1),index:o},(function(){return[t.createVNode(l,{value:n.tokens[o-1],type:a.inputType,class:t.normalizeClass(e.cx("input")),inputmode:a.inputMode,variant:e.variant,readonly:e.readonly,disabled:e.disabled,invalid:e.invalid,tabindex:e.tabindex,unstyled:e.unstyled,onInput:function(e){return a.onInput(e,o-1)},onFocus:i[0]||(i[0]=function(e){return a.onFocus(e)}),onBlur:i[1]||(i[1]=function(e){return a.onBlur(e)}),onPaste:i[2]||(i[2]=function(e){return a.onPaste(e)}),onKeydown:i[3]||(i[3]=function(e){return a.onKeyDown(e)}),pt:e.ptm("input")},null,8,["value","type","class","inputmode","variant","readonly","disabled","invalid","tabindex","unstyled","onInput","pt"])]}))})),128))],16)};const _b=t.defineComponent({__name:"InputOTP",props:{modelValue:{},disabled:{type:Boolean},invalid:{type:Boolean},length:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=e=>{const{code:t,key:i,ctrlKey:o,metaKey:r}=e;if((o||r)&&"v"===i.toLowerCase())return;t.startsWith("Digit")||t.startsWith("Numpad")&&!isNaN(Number(i))||["ArrowLeft","ArrowRight","Backspace"].includes(t)||e.preventDefault()};return t.watch(n,(e=>r("update:modelValue",e))),(e,i)=>(t.openBlock(),t.createBlock(t.unref(Zb),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value=e),disabled:e.disabled,invalid:e.invalid,length:e.length??6,onKeydown:a},null,8,["modelValue","disabled","invalid","length"]))}});var qb={name:"EyeSlashIcon",extends:zs},$b=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.62183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z",fill:"currentColor"},null,-1)];qb.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("svg",t.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),$b,16)};var eS=Pl.extend({name:"password",classes:{root:function(e){var t=e.instance,i=e.props;return["p-password p-component p-inputwrapper",{"p-inputwrapper-filled":t.filled,"p-inputwrapper-focus":t.focused,"p-icon-field p-icon-field-right":i.toggleMask}]},input:function(e){return["p-password-input",{"p-disabled":e.props.disabled}]},hideIcon:"p-input-icon",showIcon:"p-input-icon",panel:function(e){return["p-password-panel p-component",{"p-ripple-disabled":!1===e.instance.$primevue.config.ripple}]},meter:"p-password-meter",meterLabel:function(e){var t=e.instance;return"p-password-strength ".concat(t.meter?t.meter.strength:"")},info:"p-password-info"},inlineStyles:{root:function(e){return{position:"self"===e.props.appendTo?"relative":void 0}}}}),tS={name:"Password",extends:{name:"BasePassword",extends:ws,props:{modelValue:String,promptLabel:{type:String,default:null},mediumRegex:{type:[String,RegExp],default:"^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})"},strongRegex:{type:[String,RegExp],default:"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})"},weakLabel:{type:String,default:null},mediumLabel:{type:String,default:null},strongLabel:{type:String,default:null},feedback:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:"body"},toggleMask:{type:Boolean,default:!1},hideIcon:{type:String,default:void 0},showIcon:{type:String,default:void 0},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelId:{type:String,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:eS,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur","invalid"],data:function(){return{id:this.$attrs.id,overlayVisible:!1,meter:null,infoText:null,focused:!1,unmasked:!1}},watch:{"$attrs.id":function(e){this.id=e||Q()}},mediumCheckRegExp:null,strongCheckRegExp:null,resizeListener:null,scrollHandler:null,overlay:null,mounted:function(){this.id=this.id||Q(),this.infoText=this.promptText,this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex)},beforeUnmount:function(){this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(Y.clear(this.overlay),this.overlay=null)},methods:{onOverlayEnter:function(e){Y.set("overlay",e,this.$primevue.config.zIndex.overlay),M.addStyles(e,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener()},onOverlayLeave:function(){this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null},onOverlayAfterLeave:function(e){Y.clear(e)},alignOverlay:function(){"self"===this.appendTo?M.relativePosition(this.overlay,this.$refs.input.$el):(this.overlay.style.minWidth=M.getOuterWidth(this.$refs.input.$el)+"px",M.absolutePosition(this.overlay,this.$refs.input.$el))},testStrength:function(e){var t=0;return this.strongCheckRegExp.test(e)?t=3:this.mediumCheckRegExp.test(e)?t=2:e.length&&(t=1),t},onInput:function(e){this.$emit("update:modelValue",e.target.value),this.$emit("change",e)},onFocus:function(e){this.focused=!0,this.feedback&&(this.setPasswordMeter(this.modelValue),this.overlayVisible=!0),this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.$emit("blur",e)},onKeyUp:function(e){if(this.feedback){var t=e.target.value,i=this.checkPasswordStrength(t),o=i.meter,r=i.label;if(this.meter=o,this.infoText=r,"Escape"===e.code)return void(this.overlayVisible&&(this.overlayVisible=!1));this.overlayVisible||(this.overlayVisible=!0)}},setPasswordMeter:function(){if(!this.modelValue)return this.meter=null,void(this.infoText=this.promptText);var e=this.checkPasswordStrength(this.modelValue),t=e.meter,i=e.label;this.meter=t,this.infoText=i,this.overlayVisible||(this.overlayVisible=!0)},checkPasswordStrength:function(e){var t=null,i=null;switch(this.testStrength(e)){case 1:t=this.weakText,i={strength:"weak",width:"33.33%"};break;case 2:t=this.mediumText,i={strength:"medium",width:"66.66%"};break;case 3:t=this.strongText,i={strength:"strong",width:"100%"};break;default:t=this.promptText,i=null}return{label:t,meter:i}},onInvalid:function(e){this.$emit("invalid",e)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new N(this.$refs.input.$el,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!M.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},overlayRef:function(e){this.overlay=e},onMaskToggle:function(){this.unmasked=!this.unmasked},onOverlayClick:function(e){nu.emit("overlay-click",{originalEvent:e,target:this.$el})}},computed:{inputType:function(){return this.unmasked?"text":"password"},filled:function(){return null!=this.modelValue&&this.modelValue.toString().length>0},weakText:function(){return this.weakLabel||this.$primevue.config.locale.weak},mediumText:function(){return this.mediumLabel||this.$primevue.config.locale.medium},strongText:function(){return this.strongLabel||this.$primevue.config.locale.strong},promptText:function(){return this.promptLabel||this.$primevue.config.locale.passwordPrompt},panelUniqueId:function(){return this.id+"_panel"}},components:{PInputText:fd,Portal:pc,EyeSlashIcon:qb,EyeIcon:nc}};function iS(e){return(iS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oS(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function rS(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?oS(Object(i),!0).forEach((function(t){nS(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):oS(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function nS(e,t,i){var o;return o=function(e,t){if("object"!=iS(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=iS(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==iS(o)?o:String(o))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var aS=["id"];tS.render=function(e,i,o,r,n,a){var l=t.resolveComponent("PInputText"),s=t.resolveComponent("Portal");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root"),style:e.sx("root")},e.ptmi("root")),[t.createVNode(l,t.mergeProps({ref:"input",id:e.inputId,type:a.inputType,class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-controls":e.panelProps&&e.panelProps.id||e.panelId||a.panelUniqueId,"aria-expanded":n.overlayVisible,"aria-haspopup":!0,placeholder:e.placeholder,required:e.required,disabled:e.disabled,variant:e.variant,invalid:e.invalid,onInput:a.onInput,onFocus:a.onFocus,onBlur:a.onBlur,onKeyup:a.onKeyUp,onInvalid:a.onInvalid},e.inputProps,{pt:e.ptm("input"),unstyled:e.unstyled}),null,16,["id","type","class","style","value","aria-labelledby","aria-label","aria-controls","aria-expanded","placeholder","required","disabled","variant","invalid","onInput","onFocus","onBlur","onKeyup","onInvalid","pt","unstyled"]),e.toggleMask&&n.unmasked?t.renderSlot(e.$slots,"hideicon",{key:0,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.hideIcon?"i":"EyeSlashIcon"),t.mergeProps({class:[e.cx("hideIcon"),e.hideIcon],onClick:a.onMaskToggle},e.ptm("hideIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),e.toggleMask&&!n.unmasked?t.renderSlot(e.$slots,"showicon",{key:1,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.showIcon?"i":"EyeIcon"),t.mergeProps({class:[e.cx("showIcon"),e.showIcon],onClick:a.onMaskToggle},e.ptm("showIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:"p-hidden-accessible","aria-live":"polite"},e.ptm("hiddenAccesible"),{"data-p-hidden-accessible":!0}),t.toDisplayString(n.infoText),17),t.createVNode(s,{appendTo:e.appendTo},{default:t.withCtx((function(){return[t.createVNode(t.Transition,t.mergeProps({name:"p-connected-overlay",onEnter:a.onOverlayEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm("transition")),{default:t.withCtx((function(){return[n.overlayVisible?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref:a.overlayRef,id:e.panelId||a.panelUniqueId,class:[e.cx("panel"),e.panelClass],style:e.panelStyle,onClick:i[0]||(i[0]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)})},rS(rS({},e.panelProps),e.ptm("panel"))),[t.renderSlot(e.$slots,"header"),t.renderSlot(e.$slots,"content",{},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("meter")},e.ptm("meter")),[t.createElementVNode("div",t.mergeProps({class:e.cx("meterLabel"),style:{width:n.meter?n.meter.width:""}},e.ptm("meterLabel")),null,16)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("info")},e.ptm("info")),t.toDisplayString(n.infoText),17)]})),t.renderSlot(e.$slots,"footer")],16,aS)):t.createCommentVNode("",!0)]})),_:3},16,["onEnter","onLeave","onAfterLeave"])]})),_:3},8,["appendTo"])],16)};const lS=["onClick"],sS=["onClick"],cS=t.defineComponent({__name:"InputPassword",props:{modelValue:{},label:{},labelClass:{},inputContainerClass:{},mandatory:{type:Boolean},placeholder:{},feedback:{type:Boolean},fieldName:{},useValidator:{type:Boolean},invalid:{type:Boolean},validatorMessage:{},validatorMessageClass:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=t.reactive({value:void 0}),l=t.computed((()=>{const e=a.errorMessage??o.validatorMessage;if(!e)return;if(e===`${o.label} must not be empty`){if(!("meta"in a&&a.meta.touched))return}return e})),s=t.computed((()=>o.invalid||!!l.value)),c=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:l.value)),A=Ya(o.fieldName??"password",(e=>M(e)));t.onMounted((()=>{o.useValidator&&Object.assign(a,A)}));const M=e=>!e&&o.mandatory?`${o.label} must not be empty`:!o.validatorMessage||!o.invalid||o.validatorMessage,u=e=>{var t;r("update:modelValue",e),(null==(t=A.meta)?void 0:t.touched)&&A.setTouched(!1),o.useValidator&&(a.value=e)},g=e=>{const t=e.target;if(t.previousElementSibling&&"INPUT"===t.previousElementSibling.tagName){t.previousElementSibling.focus()}};return t.watch((()=>o.modelValue),(e=>{n.value=e,a.value=e})),(e,i)=>(t.openBlock(),t.createBlock(Vg,{label:o.label,"label-class":o.labelClass,mandatory:o.mandatory},{default:t.withCtx((()=>[t.createVNode(Wg,{class:t.normalizeClass(o.inputContainerClass),invalid:s.value},{default:t.withCtx((()=>[t.createVNode(t.unref(tS),{modelValue:n.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>n.value=e),u],feedback:o.feedback,invalid:s.value,placeholder:o.placeholder,"toggle-mask":""},{showicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(rl).showicon.class,"unset"]),onClick:t=>(e(),g(t))},[t.createVNode(as,{icon:"eye"})],10,lS)])),hideicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(rl).showicon.class,"unset"]),onClick:t=>(e(),g(t))},[t.createVNode(as,{icon:"eye-off"})],10,sS)])),_:1},8,["modelValue","feedback","invalid","placeholder"])])),_:1},8,["class","invalid"]),t.createVNode(Ag,{class:t.normalizeClass(o.validatorMessageClass),message:c.value},null,8,["class","message"])])),_:1},8,["label","label-class","mandatory"]))}}),AS={class:"grid grid-cols-[max-content,auto] w-full","data-ts-section":"phone-number-input-wrapper"},MS={class:"flex gap-2"},uS=["src"],gS=t.defineComponent({__name:"InputPhoneNumber",props:{modelValue:{},value:{},label:{},placeholder:{},disabled:{type:Boolean},invalid:{type:Boolean},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},fieldInfo:{}},emits:["update:modelValue","blur"],setup(e,{emit:o}){const r=e,n=o;t.onBeforeMount((async()=>{M.value=await p(),r.modelValue||r.value||(u.value=T())}));const a=Ya(r.fieldName??"numberInput",(e=>A(e)));t.onMounted((async()=>{y.value=r.modelValue,r.useValidator&&Object.assign(y,a),r.value&&j(r.value),r.modelValue&&j(r.modelValue)}));const l=t.computed((()=>{const e=y.errorMessage??r.validatorMessage;if(!e)return;if(e===(r.validatorMessage??`${r.label} must not be empty`)){if(!("meta"in y&&y.meta.touched))return}return e})),s=t.computed((()=>r.invalid||!!l.value)),c=navigator.userAgent.includes("Firefox"),A=async e=>(await t.nextTick(),!e&&r.mandatory?r.validatorMessage??`${r.label} must not be empty`:!r.invalid||!r.validatorMessage||r.validatorMessage),M=t.shallowRef(),u=t.shallowRef(),g=t.shallowRef(),d=t.shallowRef(!1),N=t.ref(0),y=t.reactive({value:null}),p=async()=>{d.value=!0;const{data:e}=await i.get("https://assets.tagsamurai.com/json/country-dial-code.json");return d.value=!1,e.filter((e=>e.dial_code))??[]},E=e=>{var t;(null==(t=a.meta)?void 0:t.touched)&&a.setTouched(!1),g.value=null==e?void 0:e.value,I()},I=()=>{y.value=g.value?`${u.value} ${g.value}`:void 0,n("update:modelValue",y.value)},h=()=>{t.nextTick((()=>{const e=document.getElementById("phone-number-input");e&&e.focus()}))},j=e=>{const t=null==e?void 0:e.split(" ");(null==t?void 0:t.length)?(u.value=t[0],g.value=parseInt(t[1]),y.value=g.value?`${u.value} ${g.value}`:void 0,d.value=!1):y.value=void 0},T=()=>{var e;if(M.value){const t="SH-AC",{region:i}=new Intl.Locale(t);return(null==(e=M.value.find((e=>e.code===i)))?void 0:e.dial_code)??"+62"}return"+62"};return t.watch((()=>r.value),(e=>{j(e)}),{once:!0}),t.watch((()=>r.modelValue),(e=>{j(e)})),t.watch(g,(e=>{var t,i;("number"==typeof(t=e)?t.toString().length:0)>15&&(i=e,g.value=parseInt(String(i).slice(0,15)),I(),N.value++)})),(e,i)=>(t.openBlock(),t.createBlock(Vg,{info:r.fieldInfo,label:r.label,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createElementVNode("div",AS,[t.createVNode(t.unref(Cg),{modelValue:u.value,"onUpdate:modelValue":i[0]||(i[0]=e=>u.value=e),class:t.normalizeClass(t.unref(Eb).dialcode({isFirefoxBased:t.unref(c),invalidInput:s.value}).class),disabled:r.disabled,"filter-fields":["dial_code","name"],loading:d.value,options:M.value,onChange:i[1]||(i[1]=e=>(I(),n("blur"))),onHide:h,"data-ts-section":"dialcode",filter:"","filter-placeholder":"Search","option-label":"dial_code","option-value":"dial_code"},{dropdownicon:t.withCtx((()=>[t.createVNode(as,{class:"w-full h-full transition-transform",icon:"arrow-drop-down"})])),option:t.withCtx((({option:e})=>[t.createElementVNode("div",MS,[t.createElementVNode("img",{src:e.image,alt:"country-img",style:{height:"16px"}},null,8,uS),t.createElementVNode("span",null,t.toDisplayString(e.name),1),t.createElementVNode("span",null,t.toDisplayString(e.dial_code),1)])])),_:1},8,["modelValue","class","disabled","loading","options"]),(t.openBlock(),t.createBlock(t.unref(ny),t.mergeProps({key:N.value},e.$props,{modelValue:g.value,"onUpdate:modelValue":i[2]||(i[2]=e=>g.value=e),class:t.unref(Eb).inputnumber({isFirefoxBased:t.unref(c),invalidInput:s.value}).class,disabled:r.disabled,"input-props":{autocomplete:"off"},"use-grouping":!1,onBlur:i[3]||(i[3]=e=>n("blur")),onInput:E,"data-ts-section":"inputnumber","input-id":"phone-number-input",placeholder:"Enter phone number"}),null,16,["modelValue","class","disabled"]))]),t.withDirectives(t.createVNode(Ag,{message:l.value},null,8,["message"]),[[t.vShow,l.value]])])),_:1},8,["info","label","mandatory"]))}}),dS=t.defineComponent({__name:"InputURL",props:{modelValue:{},label:{},fieldName:{},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},fieldInfo:{}},emits:["update:modelValue","blur"],setup(e,{emit:i}){const o=e,r=i;return(e,i)=>(t.openBlock(),t.createBlock(Wb,t.mergeProps({onBlur:i[0]||(i[0]=e=>r("blur",e)),"onUpdate:modelValue":i[1]||(i[1]=e=>r("update:modelValue",e))},o,{type:"url","validate-on-blur":""}),null,16))}}),NS={class:t.normalizeClass(["w-screen h-screen fixed top-0 left-0 z-[9999999]","bg-[#d9dbe9b3]","transition-opacity"]),"data-ts-name":"loading-overlay","data-ts-section":"overlay"},yS=["src"],pS=t.defineComponent({__name:"Loading",setup(e){const{loading:i}=ul(),o=t.shallowRef([]),r=t.shallowRef(0);return t.onMounted((async()=>{o.value=[(await Promise.resolve().then((()=>rO))).default,(await Promise.resolve().then((()=>nO))).default,(await Promise.resolve().then((()=>aO))).default,(await Promise.resolve().then((()=>lO))).default];const e=setInterval((()=>{r.value=(r.value+1)%o.value.length}),400);t.onUnmounted((()=>{clearInterval(e)}))})),(e,n)=>t.unref(i)?(t.openBlock(),t.createBlock(t.Teleport,{key:0,to:"body"},[t.createElementVNode("div",NS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,((e,i)=>(t.openBlock(),t.createElementBlock("img",{key:i,class:t.normalizeClass(["absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","opacity-0","transition-opacity duration-300 delay-[25ms] ease-in",{"opacity-100":r.value===i}]),src:e,"data-ts-section":"loading-icon"},null,10,yS)))),128))])])):t.createCommentVNode("",!0)}}),ES=["id"],IS={class:"list-none m-0 p-0 outline-none transition-shadow","data-ts-section":"menu"},hS=["aria-label","onClick"],jS={"aria-hidden":"true",class:"flex items-center justify-start gap-2 px-4 py-1.5 hover:bg-surface-50 text-xs no-underline overflow-hidden cursor-pointer select-none","data-pc-section":"action",tabindex:"-1"},TS=t.defineComponent({__name:"Menu",props:{model:{},popup:{type:Boolean},appendTo:{},autoZIndex:{type:Boolean},baseZIndex:{},exact:{type:Boolean},tabindex:{},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},emits:["focus","blur"],setup(e,{expose:i}){const o=t.shallowRef(!1),r=t.ref((+new Date).toString()),n=t.ref(null);t.onMounted((()=>{u(),d()})),t.onBeforeUnmount((()=>{g(),N()}));const a=()=>{o.value=!1,c(),g(),N()},l=e=>{const t=e.target;t.closest("button")!==n.value&&t!==n.value&&a()},s=()=>{document.addEventListener("click",l)},c=()=>{document.removeEventListener("click",l)},A=()=>{o.value&&a()},M=()=>{o.value&&a()},u=()=>{window.addEventListener("resize",A)},g=()=>{window.removeEventListener("resize",A)},d=()=>{window.addEventListener("scroll",M)},N=()=>{window.removeEventListener("scroll",M)};return i({toggle:e=>{o.value?a():(e=>{o.value=!0;const i=e.target;n.value=i.closest("button")||i,t.nextTick((()=>{const e=document.getElementById(r.value);if(e&&n.value){const{top:t,left:i}=n.value.getBoundingClientRect(),{offsetHeight:o=0,offsetWidth:r=0}=n.value??{},a=window.innerWidth-i,l=e.style;l.top=`${t+o+4}px`,l.left=`${a<e.offsetWidth+16?window.innerWidth-e.offsetWidth-a+r:i}px`,s()}}))})(e)}}),(e,i)=>(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx((()=>[o.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},e.$attrs,{id:r.value,class:[...t.unref(ol).root.class,"absolute","z-40","top-0 left-0","transition-all"],"data-ts-name":"menu","data-ts-section":"root"}),[t.createElementVNode("ul",IS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(i=>(t.openBlock(),t.createElementBlock("li",{key:i.label,"aria-label":i.label,onClick:e=>{var t;return null==(t=i.command)?void 0:t.call(i,{originalEvent:e,item:i})},class:"cursor-pointer","data-pc-section":"menuitem"},[t.renderSlot(e.$slots,"item",{item:i},(()=>[t.createElementVNode("a",jS,[i.icon?(t.openBlock(),t.createBlock(as,{key:0,icon:i.icon,severity:i.danger?"danger":void 0},null,8,["icon","severity"])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(["text-inherit",{"!text-danger-500":i.danger}]),"data-pc-section":"label"},t.toDisplayString(i.label),3)])]))],8,hS)))),128))])],16,ES)):t.createCommentVNode("",!0)])),_:3})]))}}),wS=t.defineComponent({__name:"Paginator",props:{totalRecords:{},rows:{},first:{},pageLinkSize:{},rowsPerPageOptions:{},template:{},currentPageReportTemplate:{},alwaysShow:{type:Boolean},pt:{},ptOptions:{}},emits:["update:first","update:rows","page"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(t.unref(Ly),t.mergeProps(e.$props,{onPage:i[0]||(i[0]=t=>e.$emit("page",t)),"onUpdate:first":i[1]||(i[1]=t=>e.$emit("update:first",t)),"onUpdate:rows":i[2]||(i[2]=t=>e.$emit("update:rows",t))}),null,16))}),DS={class:"flex items-center gap-2"},mS={class:"text-xs font-medium"},xS=t.defineComponent({__name:"ProgressBar",props:{value:{},maxValue:{},maxBarWidth:{default:120}},setup(e){const i=e,o=`width: ${i.maxBarWidth}px`;return(e,r)=>(t.openBlock(),t.createElementBlock("div",DS,[t.createElementVNode("div",{style:o},[t.createVNode(t.unref(GQ),{"show-value":!1,value:i.value/i.maxValue*100},null,8,["value"])]),t.createElementVNode("div",mS,t.toDisplayString(i.value)+"/"+t.toDisplayString(i.maxValue),1)]))}}),BS={class:"flex gap-3 items-center","data-ts-name":"steps","data-ts-section":"root"},LS=t.defineComponent({__name:"Steps",props:{steps:{},currentStep:{}},setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",BS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,((i,o)=>(t.openBlock(),t.createElementBlock("div",{key:i.toString(),class:t.normalizeClass(["flex gap-1 items-center text-general-300 text-xs font-semibold",{"!text-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepitem"},[t.createElementVNode("span",{class:t.normalizeClass(["flex items-center justify-center","rounded-full border-2 w-5 h-5 tracking-[0.03em]","bg-general-50","border-general-300",{"!bg-primary-50 !border-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepnumber"},t.toDisplayString(o+1),3),t.createTextVNode(" "+t.toDisplayString("string"==typeof i?i:i.label),1)],2)))),128))]))});var fS=Pl.extend({name:"tabmenu",classes:{root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(e){var t=e.instance,i=e.index,o=e.item;return["p-tabmenuitem",{"p-highlight":t.d_activeIndex===i,"p-disabled":t.disabled(o)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"}}),zS={name:"TabMenu",extends:{name:"BaseTabMenu",extends:ws,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:fS,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.updateInkBar();var e=this.findActiveItem();e&&(e.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(e,t,i){return this.ptm(e,{context:{item:t,index:i}})},onItemClick:function(e,t,i){this.disabled(t)?e.preventDefault():(t.command&&t.command({originalEvent:e,item:t}),i!==this.d_activeIndex&&(this.d_activeIndex=i,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:e,index:i}))},onKeydownItem:function(e,t,i){switch(e.code){case"ArrowRight":this.navigateToNextItem(e.target),e.preventDefault();break;case"ArrowLeft":this.navigateToPrevItem(e.target),e.preventDefault();break;case"Home":this.navigateToFirstItem(e.target),e.preventDefault();break;case"End":this.navigateToLastItem(e.target),e.preventDefault();break;case"Space":case"NumpadEnter":case"Enter":this.onItemClick(e,t,i),e.preventDefault();break;case"Tab":this.onTabKey()}},navigateToNextItem:function(e){var t=this.findNextItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToPrevItem:function(e){var t=this.findPrevItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToFirstItem:function(e){var t=this.findFirstItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToLastItem:function(e){var t=this.findLastItem(e);t&&this.setFocusToMenuitem(e,t)},findNextItem:function(e){var t=e.parentElement.nextElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findNextItem(t.children[0]):t.children[0]:null},findPrevItem:function(e){var t=e.parentElement.previousElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findPrevItem(t.children[0]):t.children[0]:null},findFirstItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e.children[0]:null},findLastItem:function(){var e=M.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e[e.length-1].children[0]:null},findActiveItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return e?e.children[0]:null},setFocusToMenuitem:function(e,t){e.tabIndex="-1",t.tabIndex="0",t.focus()},onTabKey:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),t=M.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');t!==e.children[0]&&(e&&(e.children[0].tabIndex="0"),t.tabIndex="-1")},visible:function(e){return"function"==typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"==typeof e.disabled?e.disabled():!0===e.disabled},label:function(e){return"function"==typeof e.label?e.label():e.label},updateInkBar:function(){for(var e=this.$refs.nav.children,t=!1,i=0;i<e.length;i++){var o=e[i];M.getAttribute(o,"data-p-highlight")&&(this.$refs.inkbar.style.width=M.getWidth(o)+"px",this.$refs.inkbar.style.left=M.getOffset(o).left-M.getOffset(this.$refs.nav).left+"px",t=!0)}t||(this.$refs.inkbar.style.width="0px",this.$refs.inkbar.style.left="0px")},getMenuItemProps:function(e,i){var o=this;return{action:t.mergeProps({class:this.cx("action"),tabindex:-1,onClick:function(t){return o.onItemClick(t,e,i)},onKeyDown:function(t){return o.onKeydownItem(t,e,i)}},this.getPTOptions("action",e,i)),icon:t.mergeProps({class:[this.cx("icon"),e.icon]},this.getPTOptions("icon",e,i)),label:t.mergeProps({class:this.cx("label")},this.getPTOptions("label",e,i))}}},directives:{ripple:Ss}},CS=["aria-labelledby","aria-label"],QS=["onClick","onKeydown","data-p-highlight","data-p-disabled"],vS=["href","target","aria-label","aria-disabled"];zS.render=function(e,i,o,r,n,a){var l=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[t.createElementVNode("ul",t.mergeProps({ref:"nav",class:e.cx("menu"),role:"menubar","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},e.ptm("menu")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(function(i,o){return t.openBlock(),t.createElementBlock(t.Fragment,{key:a.label(i)+"_"+o.toString()},[a.visible(i)?(t.openBlock(),t.createElementBlock("li",t.mergeProps({key:0,ref_for:!0,ref:"tab",class:[e.cx("menuitem",{item:i,index:o}),i.class],role:"presentation",onClick:function(e){return a.onItemClick(e,i,o)},onKeydown:function(e){return a.onKeydownItem(e,i,o)}},a.getPTOptions("menuitem",i,o),{"data-p-highlight":n.d_activeIndex===o,"data-p-disabled":a.disabled(i)}),[e.$slots.item?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.item),{key:1,item:i,index:o,active:o===n.d_activeIndex,label:a.label(i),props:a.getMenuItemProps(i,o)},null,8,["item","index","active","label","props"])):t.withDirectives((t.openBlock(),t.createElementBlock("a",t.mergeProps({key:0,ref_for:!0,ref:"tabLink",role:"menuitem",href:i.url,class:e.cx("action"),target:i.target,"aria-label":a.label(i),"aria-disabled":a.disabled(i),tabindex:-1},a.getPTOptions("action",i,o)),[e.$slots.itemicon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.itemicon),{key:0,item:i,class:t.normalizeClass(e.cx("icon"))},null,8,["item","class"])):i.icon?(t.openBlock(),t.createElementBlock("span",t.mergeProps({key:1,class:[e.cx("icon"),i.icon]},a.getPTOptions("icon",i,o)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:e.cx("label")},a.getPTOptions("label",i,o)),t.toDisplayString(a.label(i)),17)],16,vS)),[[l]])],16,QS)):t.createCommentVNode("",!0)],64)})),128)),t.createElementVNode("li",t.mergeProps({ref:"inkbar",role:"none",class:e.cx("inkbar")},e.ptm("inkbar")),null,16)],16,CS)],16)};const kS=["href","onClick"],bS={key:1,class:"flex flex-nowrap space-x-1 overflow-auto invisible-scrollbar"},SS=["href","onClick"],OS=["onClick"],YS=Zs(t.defineComponent({__name:"TabMenu",props:{menu:{},type:{},activeIndex:{},exact:{type:Boolean}},emits:["update:activeIndex"],setup(e,{emit:i}){const o=e,r=i;t.onBeforeMount((()=>{s()}));const n=t.computed((()=>window.location.pathname)),a=t.computed((()=>Object.hasOwn(o.menu[0],"to"))),l=t.ref(o.activeIndex??0),s=()=>{a.value&&(l.value=o.menu.map((e=>e.to)).findIndex((e=>(e&&n.value.includes(e),e?o.exact?n.value===e:n.value.includes(e):""))))};return t.watch(l,(e=>{r("update:activeIndex",e)})),(e,i)=>{const o=t.resolveComponent("router-link");return"tab"===e.type?(t.openBlock(),t.createBlock(t.unref(zS),{key:0,activeIndex:l.value,"onUpdate:activeIndex":i[0]||(i[0]=e=>l.value=e),model:e.menu},t.createSlots({_:2},[a.value?{name:"item",fn:t.withCtx((({item:e,props:i})=>[t.createVNode(o,{to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("a",t.mergeProps({href:o},i.action,{onClick:r}),[t.createElementVNode("span",t.normalizeProps(t.guardReactiveProps(i.label)),t.toDisplayString(e.label),17)],16,kS)])),_:2},1032,["to"])])),key:"0"}:void 0]),1032,["activeIndex","model"])):(t.openBlock(),t.createElementBlock("div",bS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menu,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i},[a.value?(t.openBlock(),t.createBlock(o,{key:0,to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("div",{class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),href:o,onClick:e=>{l.value=i,r(e)}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,SS)],2)])),_:2},1032,["to"])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium cursor-pointer",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),onClick:()=>{l.value=i}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,OS)],2))],64)))),128))]))}}}),[["__scopeId","data-v-844747a2"]]);var US=Pl.extend({name:"timeline",classes:{root:function(e){var t=e.props;return["p-timeline p-component","p-timeline-"+t.align,"p-timeline-"+t.layout]},event:"p-timeline-event",opposite:"p-timeline-event-opposite",separator:"p-timeline-event-separator",marker:"p-timeline-event-marker",connector:"p-timeline-event-connector",content:"p-timeline-event-content"}}),FS={name:"Timeline",extends:{name:"BaseTimeline",extends:ws,props:{value:null,align:{mode:String,default:"left"},layout:{mode:String,default:"vertical"},dataKey:null},style:US,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,methods:{getKey:function(e,t){return this.dataKey?w.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t){return this.ptm(e,{context:{index:t,count:this.value.length}})}}};FS.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value,(function(i,o){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:a.getKey(i,o),class:e.cx("event")},a.getPTOptions("event",o)),[t.createElementVNode("div",t.mergeProps({class:e.cx("opposite",{index:o})},a.getPTOptions("opposite",o)),[t.renderSlot(e.$slots,"opposite",{item:i,index:o})],16),t.createElementVNode("div",t.mergeProps({class:e.cx("separator")},a.getPTOptions("separator",o)),[t.renderSlot(e.$slots,"marker",{item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("marker")},a.getPTOptions("marker",o)),null,16)]})),o!==e.value.length-1?t.renderSlot(e.$slots,"connector",{key:0,item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("connector")},a.getPTOptions("connector",o)),null,16)]})):t.createCommentVNode("",!0)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("content")},a.getPTOptions("content",o)),[t.renderSlot(e.$slots,"content",{item:i,index:o})],16)],16)})),128))],16)};const RS={class:"w-[22px] h-[22px] flex items-center justify-center rounded-full border border-general-100 dark:border-general-500 bg-transparent"},GS={key:1,class:"w-[6px] h-[6px] rounded-full bg-general-800 dark:bg-general-100"},HS={class:"pt-[2.5px] pb-[10px] flex flex-col gap-1"},PS={id:"header",class:"flex items-center justify-between"},VS={class:"flex items-center gap-1"},JS={key:0,class:"flex items-center gap-0.5"},WS={class:"text-primary-500 dark:text-primary-300 text-xs font-medium"},KS={key:0,id:"body",class:"flex flex-col gap-1"},XS={class:"flex flex-row items-center gap-1"},ZS={class:"text-xs font-medium text-general-400 dark:text-general-200"},_S={class:"text-xs font-medium"},qS=t.defineComponent({__name:"Timeline",props:{data:{}},setup(e){const i=e;t.onMounted((()=>{var e;o.value=null==(e=i.data)?void 0:e.map((e=>{var t;return e.body&&(null==(t=Object.keys(e.body))?void 0:t.length)?{...e,bodyShow:!0}:e}))}));const o=t.ref();return(e,i)=>(t.openBlock(),t.createBlock(t.unref(FS),{value:o.value},{marker:t.withCtx((({item:e})=>{var i;return[t.createElementVNode("div",RS,[e.body&&(null==(i=Object.keys(e.body))?void 0:i.length)?(t.openBlock(),t.createBlock(as,{key:0,class:t.normalizeClass({"rotate-180":e.bodyShow}),onClick:t=>e.bodyShow=!e.bodyShow,icon:"arrow-down"},null,8,["class","onClick"])):(t.openBlock(),t.createElementBlock("div",GS))])]})),content:t.withCtx((({item:i})=>{var o;return[t.createElementVNode("div",HS,[t.createElementVNode("div",PS,[t.createElementVNode("div",VS,[t.createElementVNode("span",{class:t.normalizeClass(["text-xs font-bold",{"text-danger-500":i.danger}])},t.toDisplayString(i.title),3),i.username?(t.openBlock(),t.createElementBlock("div",JS,[t.createVNode(as,{class:"!text-general-400 dark:!text-general-200 !text-base",icon:"user"}),t.createElementVNode("span",WS,t.toDisplayString(t.unref(oe)(i.username)),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:t.normalizeClass(["text-xs font-medium",{"text-danger-500":i.danger}])},t.toDisplayString(t.unref(ft)(i.date,!0)),3)]),(null==(o=Object.keys(i.body??{}))?void 0:o.length)&&i.bodyShow?(t.openBlock(),t.createElementBlock("div",KS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(i.body),(o=>t.renderSlot(e.$slots,"body",t.mergeProps({key:o,ref_for:!0},{key:o,value:i.body[o]}),(()=>[t.createElementVNode("div",XS,[t.createElementVNode("span",ZS,t.toDisplayString(o)+": ",1),t.createElementVNode("span",_S,t.toDisplayString(i.body[o]),1)])])))),128))])):t.createCommentVNode("",!0)])]})),_:3},8,["value"]))}}),$S={name:"_blank",styles:[],timeout:1e3,autoClose:!0,windowTitle:window.document.title},eO=function(e={}){const i=__VUE_I18N_LEGACY_API__&&ni(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=!ni(e.globalInjection)||e.globalInjection,r=!__VUE_I18N_LEGACY_API__||!i||!!e.allowComposition,n=new Map,[a,l]=function(e,i){const o=t.effectScope();{const t=__VUE_I18N_LEGACY_API__&&i?o.run((()=>Pr(e))):o.run((()=>Hr(e)));if(null==t)throw Br(xr.UNEXPECTED_ERROR);return[o,t]}}(e,i),s=Vt("");{const e={get mode(){return __VUE_I18N_LEGACY_API__&&i?"legacy":"composition"},get allowComposition(){return r},async install(r,...n){if(r.__VUE_I18N_SYMBOL__=s,r.provide(r.__VUE_I18N_SYMBOL__,e),ci(n[0])){const t=n[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let a=null;!i&&o&&(a=function(e,i){const o=Object.create(null);rn.forEach((e=>{const r=Object.getOwnPropertyDescriptor(i,e);if(!r)throw Br(xr.UNEXPECTED_ERROR);const n=t.isRef(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(o,e,n)})),e.config.globalProperties.$i18n=o,nn.forEach((t=>{const o=Object.getOwnPropertyDescriptor(i,t);if(!o||!o.value)throw Br(xr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,o)}));const r=()=>{delete e.config.globalProperties.$i18n,nn.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return r}(r,e.global)),__VUE_I18N_FULL_INSTALL__&&$r(r,e,...n),__VUE_I18N_LEGACY_API__&&i&&r.mixin(function(e,i,o){return{beforeCreate(){const r=t.getCurrentInstance();if(!r)throw Br(xr.UNEXPECTED_ERROR);const n=this.$options;if(n.i18n){const t=n.i18n;if(n.__i18n&&(t.__i18n=n.__i18n),t.__root=i,this===this.$root)this.$i18n=en(e,t);else{t.__injectWithOption=!0,t.__extender=o.__vueI18nExtend,this.$i18n=Pr(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(n.__i18n)if(this===this.$root)this.$i18n=en(e,n);else{this.$i18n=Pr({__i18n:n.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:i});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;n.__i18nGlobal&&Or(i,n,n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),o.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw Br(xr.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),o.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,e));const c=r.unmount;r.unmount=()=>{a&&a(),e.dispose(),c()}},get global(){return l},dispose(){a.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return e}}({locale:"en",fallbackLocale:"en",legacy:!1}),tO={install:e=>{e.use(q,{unstyled:!0,pt:al}),e.use(eO),e.use(te),e.use(rs,$S),e.directive("tooltip",is),e.directive("focus",os),e.component("DialogDamageLog",SA),e.component("DialogMissingLog",iM),e.component("DialogTransferLog",wA),e.component("TSAnimation",oM),e.component("TSAssetInfo",TM),e.component("TSApproverInfo",kM),e.component("TSBadge",Js),e.component("TSBadgeGroup",qM),e.component("TSBreadcrumb",iu),e.component("TSButton",Hs),e.component("TSButtonAddByScan",ou),e.component("TSButtonBulkAction",Eu),e.component("TSButtonCopy",Ku),e.component("TSButtonDownload",Xu),e.component("TSButtonFilter",Iu),e.component("TSButtonLogHistory",Zu),e.component("TSButtonRadio",og),e.component("TSButtonViewLog",sx),e.component("TSButtonScan",Bd),e.component("TSButtonSearch",Qd),e.component("TSButtonSearchByScan",Fd),e.component("TSButtonSelectTree",ON),e.component("TSDialogSelectAsset",Gm),e.component("TSButtonSelectUser",tx),e.component("TSDisposalReport",CQ),e.component("TSButtonSync",ix),e.component("TSButtonToggle",lx),e.component("TSCalendar",Qm),e.component("TSCard",Ax),e.component("TSCarousel",dx),e.component("TSCheckbox",LN),e.component("TSCustomColumn",aD),e.component("TSDatePicker",px),e.component("TSDataTable",yD),e.component("TSDayPicker",hx),e.component("TSDayOfYearPicker",mx),e.component("TSDialog",XM),e.component("TSDialogApprovalList",zM),e.component("TSDialogAssetNameDetail",vx),e.component("TSDialogConfirm",Td),e.component("TSDialogCoordinate",yf),e.component("TSDialogDataLocked",If),e.component("TSDialogForm",Bf),e.component("TSDialogLinkedAsset",kf),e.component("TSDialogPrintQR",UC),e.component("TSDialogReportDamage",KC),e.component("TSDialogReportMissing",tQ),e.component("TSDialogReportTag",rQ),e.component("TSDialogSelectAssetName",yQ),e.component("TSDialogSelectTree",bN),e.component("TSDialogSelectUser",_m),e.component("TSDropdown",qg),e.component("TSFailedLoad",AD),e.component("TSFilterContainer",UD),e.component("TSAssetFilters",vm),e.component("TSFileUpload",sv),e.component("TSForm",wf),e.component("TSIcon",as),e.component("TSImage",Uc),e.component("TSImageCompressor",db),e.component("TSInlineMessage",ad),e.component("TSInputBadge",yb),e.component("TSInputCurrency",jb),e.component("TSInputCurrencyReference",Tb),e.component("TSInputCoordinate",Db),e.component("TSInputEmail",Kb),e.component("TSInputNumber",Sf),e.component("TSInputOTP",_b),e.component("TSInputPassword",cS),e.component("TSInputPhoneNumber",gS),e.component("TSInputRangeNumber",RD),e.component("TSInputSearch",AL),e.component("TSInputText",Wb),e.component("TSInputURL",dS),e.component("TSLoading",pS),e.component("TSMenu",TS),e.component("TSMultiSelect",OD),e.component("TSOverlayPanel",Od),e.component("TSPaginator",wS),e.component("TSProgressBar",xS),e.component("TSSteps",LS),e.component("TSTabMenu",YS),e.component("TSTagType",_s),e.component("TSTextarea",hQ),e.component("TSTimeline",qS),e.component("TSToast",Wu),e.component("TSTransactionRoles",$s),e.component("TSTree",CN),e.component("TSTreeSearchInput",Gd),e.component("TSUserWithIcon",mM),e.component("TSValidatorMessage",Ag)}},iO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:application/octet-stream;base64,UEsDBBQAAAAIAGghblre6w2+fgAAALUAAAANAAAAbWFuaWZlc3QuanNvbo2NMQ7CMAxF7+KZFJymiHTqBTgBYjDEgqA0QYlBQlXvjidmtv+k9/QXeHNtsWQYAWEDN85cSUpVnkKRVEQib3/LPNqE3a6z6tJL7v+JOc4ketJgPC0Qgzbsnb/YgY2jKxrXD2g8Um9wbwOjswoHTZ+JPscSWItc6kwJ1vP6BVBLAwQUAAAACABoIW5aWWWigx8DAABSGAAANAAAAGFuaW1hdGlvbnMvZTk0OWIyNWUtNGFjMS00MzUxLTkxYTMtMTYyZGUxNDI5MWE4Lm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gAaCFuWt7rDb5+AAAAtQAAAA0AAAAAAAAAAAAAAAAAAAAAAG1hbmlmZXN0Lmpzb25QSwECFAAUAAAACABoIW5aWWWigx8DAABSGAAANAAAAAAAAAAAAAAAAACpAAAAYW5pbWF0aW9ucy9lOTQ5YjI1ZS00YWMxLTQzNTEtOTFhMy0xNjJkZTE0MjkxYTguanNvblBLBQYAAAAAAgACAJ0AAAAaBAAAAAA="},Symbol.toStringTag,{value:"Module"})),oO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:application/octet-stream;base64,UEsDBBQAAAAIAJUQc1sIGu2wgQAAALUAAAANAAAAbWFuaWZlc3QuanNvbo2NQQ7CIBBF7zJrqaUilq56AU9gXEwLKIaCgdHENL27s3Lt7v/kvbwV3q7UkBMMIGEHN5dcQcqF/2gzxUwU3P63xKOOsumalll80f0/MIUFiSMVhssKwbJjJR5m66U4eSWF8hMK06pJeKP71hxn3eme1WfEzzlbx0bKZcEI23X7AlBLAwQUAAAACACVEHNbR9UNAfEOAAAEVQAANAAAAGFuaW1hdGlvbnMvZDFhM2NkZjEtN2Y0MS00ZmJhLTkwNGItZjk2ODA5NWM2MjY4Lmpzb27tXFtvG8cZ/SvCvna52ftFT70mKJAARZP2xQgKRqZixqQokLTb1NB/7znnm9mdpUhZqi1pjShAvNq5fDM7M+e7Dz9EV+voPPrTZn292S3/u9xcLc6KKI5ev34dnadx9CY6z3M8/x2dF00eR+vFfh6df4h+Rqffrzb7/XJxuVwtdl/tN5vV2+V+9svuLE2KIsmjmzhazX9dbHfR+asP0f5X0dNo86vleq6xfoehdtvoPMNjrwab6+i8wnOJJ8fHNC7nq91imNJPIMGa+e67+e5tXz3fqPgthvsQaY74hwUYPsu7OEvzpIrTH0H6PxgQs/MtfaMii/V/6hvVbISqoFWKIsxs1K/rQDjLyp54jkb4qLCbG5Xdd+PJsQhTD0owAdc8u0Hl4hKDgDK2IK9a25K0wgiLy79iRaIL7N2/Uizk8gqv2Q2avkdxldRJxuJLTCVH+4OV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zAyKBjgkeFrZOnc7zHtcGKCZ7xwAyD3mzQYAUvY/stQVV6ikfRgZUEEZiFQWKsd1GVwtAgmoVvY7YRmjDPiNQb1BPIJ9wqEZ5DejPfuHNBkQ5C+GkG8xtq4fTOC9Kg7BWyCYOMZoFPsDBf48CrnhOHYidyGuaNinFKZ+ut8tAhX+yCI9/kXwEycFbpOkDE3QOBJvVQnsNMxdehl/4qiFFMAtWHB3+3kWBkWor3UuXwAJq4xKQI2VhSgSCqx0ElGjQewnxEpEv6E1MtLjrnTxE0XTrkBi1IIKJdvACfMMXJk/m8KdbJGzCMUMn/gRrlw8M1Om6Ya5tlCpG6rlj82Ua/598z9QSwECFAAUAAAACACVEHNbCBrtsIEAAAC1AAAADQAAAAAAAAAAAAAAAAAAAAAAbWFuaWZlc3QuanNvblBLAQIUABQAAAAIAJUQc1tH1Q0B8Q4AAARVAAA0AAAAAAAAAAAAAAAAAKwAAABhbmltYXRpb25zL2QxYTNjZGYxLTdmNDEtNGZiYS05MDRiLWY5NjgwOTVjNjI2OC5qc29uUEsFBgAAAAACAAIAnQAAAO8PAAAAAA=="},Symbol.toStringTag,{value:"Module"})),rO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8IS0tIE5vIGNvbnRlbnQsIGZ1bGx5IHRyYW5zcGFyZW50IC0tPgo8L3N2Zz4="},Symbol.toStringTag,{value:"Module"})),nO=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDE5MiAxOTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03NS4yNDY5IDExMS45NzFMNzQuNzk2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QxWiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg=="},Symbol.toStringTag,{value:"Module"}));e.ASSET_COL_FIELDS=["assetImage","name.nameWithSequence","aliasName","assetId","group.name","category.name","brand.name","model.name","tagType","measurement.name","maintenanceStatus","auditStatus","transactions","coordinates","address","warrantyStatus","lastScannedAt","linkedAssetCount"],e.AssetBrandService=vn,e.AssetNameService=Qn,e.AssetsServices=zn,e.DataLockService=bn,e.DialogDamageLog=SA,e.DialogMissingLog=iM,e.DialogTransferLog=wA,e.DisposalAPI=Sn,e.DisposalServices=On,e.FilterMatchMode=U,e.Focus=os,e.LibConfig=q,e.Presets=al,e.RoutineAPI=Fn,e.RoutineServices=Rn,e.TSAnimation=oM,e.TSApproverInfo=kM,e.TSAssetFilters=vm,e.TSAssetInfo=TM,e.TSBadge=Js,e.TSBadgeGroup=qM,e.TSBreadcrumb=iu,e.TSButton=Hs,e.TSButtonAddByScan=ou,e.TSButtonBulkAction=Eu,e.TSButtonCopy=Ku,e.TSButtonDownload=Xu,e.TSButtonFilter=Iu,e.TSButtonLogHistory=Zu,e.TSButtonRadio=og,e.TSButtonScan=Bd,e.TSButtonSearch=Qd,e.TSButtonSearchByScan=Fd,e.TSButtonSelectTree=ON,e.TSButtonSelectUser=tx,e.TSButtonSync=ix,e.TSButtonToggle=lx,e.TSButtonViewLog=sx,e.TSCalendar=Qm,e.TSCard=Ax,e.TSCarousel=dx,e.TSCheckbox=LN,e.TSCustomColumn=aD,e.TSDataTable=yD,e.TSDatePicker=px,e.TSDayOfYearPicker=mx,e.TSDayPicker=hx,e.TSDialog=XM,e.TSDialogApprovalList=zM,e.TSDialogAssetNameDetail=vx,e.TSDialogConfirm=Td,e.TSDialogCoordinate=yf,e.TSDialogDataLocked=If,e.TSDialogForm=Bf,e.TSDialogLinkedAsset=kf,e.TSDialogPrintQR=UC,e.TSDialogReportDamage=KC,e.TSDialogReportMissing=tQ,e.TSDialogReportTag=rQ,e.TSDialogSelectAsset=Gm,e.TSDialogSelectAssetName=yQ,e.TSDialogSelectTree=bN,e.TSDialogSelectUser=_m,e.TSDisposalReport=CQ,e.TSDropdown=qg,e.TSFailedLoad=AD,e.TSFileUpload=sv,e.TSFilterContainer=UD,e.TSForm=wf,e.TSIcon=as,e.TSImage=Uc,e.TSImageCompressor=db,e.TSInlineMessage=ad,e.TSInputBadge=yb,e.TSInputCoordinate=Db,e.TSInputCurrency=jb,e.TSInputCurrencyReference=Tb,e.TSInputEmail=Kb,e.TSInputNumber=Sf,e.TSInputOTP=_b,e.TSInputPassword=cS,e.TSInputPhoneNumber=gS,e.TSInputRangeNumber=RD,e.TSInputSearch=AL,e.TSInputText=Wb,e.TSInputURL=dS,e.TSLoading=pS,e.TSMenu=TS,e.TSMultiSelect=OD,e.TSOverlayPanel=Od,e.TSPaginator=wS,e.TSProgressBar=xS,e.TSSteps=LS,e.TSTabMenu=YS,e.TSTagType=_s,e.TSTextarea=hQ,e.TSTimeline=qS,e.TSToast=Wu,e.TSToastService=te,e.TSTransactionRoles=$s,e.TSTree=CN,e.TSTreeSearchInput=Gd,e.TSUserWithIcon=mM,e.TSValidatorMessage=Ag,e.TSi18n=eO,e.Tooltip=is,e.TreeAPI=Yn,e.VueHtmlToPaper=rs,e.assetValueColumns=Rc,e.assetValueColumnsWithDefault=Gc,e.buildBodyParams=An,e.checkRouteAccess=(e,t,i)=>{if(window.__isLoggingOut__)return i();const{userType:r}=JSON.parse(localStorage.getItem("user")??"{}"),{hasAccess:n}=e.meta,a="Admin"===r,l=e.path.includes("handover-confirmation")||e.path.includes("my-profile");n&&(a||l)?i():o.navigateToUrl("/not-found")},e.clearStorage=le,e.customFieldColumns=Hc,e.default=tO,e.defaultAssetColumns=Pc,e.downloadFile=async(e,t,i=!0,o=!1)=>{const{blob:r,fileName:n}=await Qt(e);let a="";const l=/^(image|application\/pdf)/i.test(r.type),s=t??n;if(s)if(l&&o){const e=new File([r],s,{type:r.type});a=URL.createObjectURL(e),window.open(a,"_blank")}else{a=URL.createObjectURL(r);const e=document.createElement("a");e.href=a,e.download=s,document.body.appendChild(e),e.click(),e.remove()}return i&&URL.revokeObjectURL(a),a},e.eventBus=ll,e.exportToExcel=mt,e.extendEventBus=()=>ll,e.filterNodeKeys=Al,e.flattenTreeNodeChildren=sl,e.forceLogout=se,e.formatAssetValue=Kc,e.formatCurrency=Gt,e.formatDate=ft,e.formatDateReadable=(e,t)=>{const i=Math.floor(((new Date).valueOf()-new Date(e).valueOf())/1e3);if(t&&i>t)return ft(e);const o=Math.floor(i/31536e3);if(o>1)return o+" years ago";if(1===o)return o+" year ago";const r=Math.floor(i/2628e3);if(r>1)return r+" months ago";if(1===r)return r+" month ago";const n=Math.floor(i/86400);if(n>1)return n+" days ago";if(1===n)return n+" day ago";const a=Math.floor(i/3600);if(a>1)return a+" hours ago";if(1===a)return a+" hour ago";const l=Math.floor(i/60);return l>1?l+" minutes ago":1===l?l+" minute ago":"just now"},e.formatGoDate=Lt,e.formatLogResponseData=e=>{var t,i;return{data:((null==(t=e.data)?void 0:t.data)??[]).map((e=>{const t=[e.newValue,e.oldValue];return t.some(Mn)&&yn(e),t.some(dn)&&pn(e),t.some(Nn)&&(e.oldValue=En(e.oldValue),e.newValue=En(e.newValue)),e})),totalRecords:(null==(i=e.data)?void 0:i.totalRecords)??0}},e.formatUserName=oe,e.formatVowelSoundLabel=ie,e.getBaseURL=Ht,e.getCurrency=Rt,e.getHostName=e=>{if(!e)return"";return new URL(e).hostname},e.getImageURL=vt,e.getNestedProperyValue=Ln,e.getSeverityByAssetStatus=ln,e.getSystemRole=bt,e.getTransactionRole=kt,e.getUserLocale=Bt,e.getVisibleColumns=wn,e.googleMapLoader=async()=>{xn({key:"AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc",region:"ID",language:"en"}),await Bn("maps")},e.handleTokenExpiration=e=>{e.interceptors.response.use((e=>e),(e=>{var t;return 401===(null==(t=e.response)?void 0:t.status)&&se(),Promise.reject(e)}))},e.hasAccessToAssetDetail=Ut,e.hasAnyManagerRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.manager))},e.hasAnyMonitoringReportRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.monitoringReport))},e.hasApprovalRole=e=>{const{approver:t}=kt(e);return t},e.hasManagerRole=Ot,e.hasMonitoringReportRole=e=>{const{monitoringReport:t}=kt(e);return t},e.hasStaffRole=Yt,e.hasSystemRole=St,e.hasTransactionRole=e=>{const{manager:t,staff:i,monitoringReport:o}=kt(e);return t||i||o},e.isObjectEmpty=e=>{if(!e)return!0;return!Object.keys(e).length},e.isValidJSONString=cn,e.listenSidebarChanges=(e,t)=>{window.addEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.parseAssetStaticFilter=e=>{const t={};return Object.entries(e).forEach((([e,i])=>{var o;if(e in Zc){t[Zc[e]]={value:i,matchMode:U.IN}}else if("isTransactionable"!==e)if("maintenanceAuditStatus"!==e)if(e.includes("customField")||e.includes("assetValue")){const r=e.match(/\[(\w+)\]/),n=null==r?void 0:r[1];if(!n)return;if(e.includes("assetValue"))return void(t[`assetValues.${n}.value`]={value:i,matchMode:"IN_CURRENCY_RANGE"});const a=`customFields.${n}.value`,l=null==(o=Xc.value)?void 0:o.find((e=>String(e.field)===n)),s=l?_c[l.type]??U.IN:U.IN;t[a]={value:i,matchMode:s}}else t[e]={value:i,matchMode:U.IN};else t.maintenanceAuditStatus={value:i,matchMode:"ONE_OF_STRINGIFIED_ARRAY"};else t.transactionsObject={value:i,matchMode:"ASSET_IS_TRANSACTIONABLE"}})),t},e.parseNodeKeys=cl,e.reLogin=async()=>{const e=localStorage.getItem("user");e||se();try{const t=JSON.parse(e),{token:i}=t,o=await sn({jwt:i});if(null==o?void 0:o.data){const e=o.data.data;return localStorage.setItem("user",JSON.stringify(e)),!0}return se(),!1}catch(t){return t}},e.unListenSidebarChanges=(e,t)=>{window.removeEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.useAssetTableStore=Cl,e.useField=(e,t,i)=>Ya(e,t,i),e.useForm=()=>{const{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}=Pa();return{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}},e.useI18n=()=>{const{t:e}=on();return{t:(t,i,o)=>{const r=(e=>e.trim().replace(/\s+/g,"_"))(t);return i?e(r,i,o):e(r,o).replaceAll("_"," ")}}},e.useLoadingStore=ul,e.useToast=zt,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|