Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-elements   php

Repository URL to install this package:

Version: 2.5.6 

/ modules / vue-ui / assets / js / cx-vue-ui.js

!function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=7)}([function(t,e,i){!function(t){"use strict";var e={inject:["manager"],props:{index:{type:Number,required:true},collection:{type:[String,Number],default:"default"},disabled:{type:Boolean,default:false}},mounted:function t(){var e=this.$props,i=e.collection,n=e.disabled,o=e.index;if(!n){this.setDraggable(i,o)}},watch:{index:function t(e){if(this.$el&&this.$el.sortableInfo){this.$el.sortableInfo.index=e}},disabled:function t(e){if(e){this.removeDraggable(this.collection)}else{this.setDraggable(this.collection,this.index)}},collection:function t(e,i){this.removeDraggable(i);this.setDraggable(e,this.index)}},beforeDestroy:function t(){var e=this.collection,i=this.disabled;if(!i)this.removeDraggable(e)},methods:{setDraggable:function t(e,i){var n=this.$el;n.sortableInfo={index:i,collection:e,manager:this.manager};this.ref={node:n};this.manager.add(e,this.ref)},removeDraggable:function t(e){this.manager.remove(e,this.ref)}}},i=function(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}},n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(t,n.key,n)}}return function(t,e,i){if(e)n(t.prototype,e);if(i)n(t,i);return t}}(),h=function(){function i(t,e){var i=[];var n=true;var o=false;var r=undefined;try{for(var a=t[Symbol.iterator](),s;!(n=(s=a.next()).done);n=true){i.push(s.value);if(e&&i.length===e)break}}catch(t){o=true;r=t}finally{try{if(!n&&a["return"])a["return"]()}finally{if(o)throw r}}return i}return function(t,e){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return i(t,e)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}(),w=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}else{return Array.from(t)}},o=function(){function t(){i(this,t);this.refs={}}n(t,[{key:"add",value:function t(e,i){if(!this.refs[e]){this.refs[e]=[]}this.refs[e].push(i)}},{key:"remove",value:function t(e,i){var n=this.getIndex(e,i);if(n!==-1){this.refs[e].splice(n,1)}}},{key:"isActive",value:function t(){return this.active}},{key:"getActive",value:function t(){var i=this;return this.refs[this.active.collection].find(function(t){var e=t.node;return e.sortableInfo.index==i.active.index})}},{key:"getIndex",value:function t(e,i){return this.refs[e].indexOf(i)}},{key:"getOrderedRefs",value:function t(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.active.collection;return this.refs[e].sort(function(t,e){return t.node.sortableInfo.index-e.node.sortableInfo.index})}}]);return t}();function u(t,e,i){var n=t.slice(0);if(i>=n.length){var o=i-n.length;while(o--+1){n.push(undefined)}}n.splice(i,0,n.splice(e,1)[0]);return n}var _={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},b=function(){if(typeof window==="undefined"||typeof document==="undefined")return"";var t=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"];var e=(Array.prototype.slice.call(t).join("").match(/-(moz|webkit|ms)-/)||t.OLink===""&&["","o"])[1];switch(e){case"ms":return"ms";default:return e&&e.length?e[0].toUpperCase()+e.substr(1):""}}();function d(t,e){while(t){if(e(t))return t;t=t.parentNode}}function f(t,e,i){if(i<t){return t}if(i>e){return e}return i}function r(t){if(t.substr(-2)==="px"){return parseFloat(t)}return 0}function k(t){var e=window.getComputedStyle(t);return{top:r(e.marginTop),right:r(e.marginRight),bottom:r(e.marginBottom),left:r(e.marginLeft)}}var a={data:function t(){return{sorting:false,sortingIndex:null,manager:new o,events:{start:this.handleStart,move:this.handleMove,end:this.handleEnd}}},props:{value:{type:Array,required:true},axis:{type:String,default:"y"},distance:{type:Number,default:0},pressDelay:{type:Number,default:0},pressThreshold:{type:Number,default:5},useDragHandle:{type:Boolean,default:false},useWindowAsScrollContainer:{type:Boolean,default:false},hideSortableGhost:{type:Boolean,default:true},lockToContainerEdges:{type:Boolean,default:false},lockOffset:{type:[String,Number,Array],default:"50%"},transitionDuration:{type:Number,default:300},appendTo:{type:String,default:"body"},draggedSettlingDuration:{type:Number,default:null},lockAxis:String,helperClass:String,contentWindow:Object,shouldCancelStart:{type:Function,default:function t(e){var i=["input","textarea","select","option","button"];return i.indexOf(e.target.tagName.toLowerCase())!==-1}},getHelperDimensions:{type:Function,default:function t(e){var i=e.node;return{width:i.offsetWidth,height:i.offsetHeight}}}},provide:function t(){return{manager:this.manager}},mounted:function t(){var i=this;this.container=this.$el;this.document=this.container.ownerDocument||document;this._window=this.contentWindow||window;this.scrollContainer=this.useWindowAsScrollContainer?this.document.body:this.container;var e=function t(e){if(i.events.hasOwnProperty(e)){_[e].forEach(function(t){return i.container.addEventListener(t,i.events[e],false)})}};for(var n in this.events){e(n)}},beforeDestroy:function t(){var i=this;var e=function t(e){if(i.events.hasOwnProperty(e)){_[e].forEach(function(t){return i.container.removeEventListener(t,i.events[e])})}};for(var n in this.events){e(n)}},methods:{handleStart:function t(e){var i=this;var n=this.$props,o=n.distance,r=n.shouldCancelStart;if(e.button===2||r(e)){return false}this._touched=true;this._pos={x:e.pageX,y:e.pageY};var a=d(e.target,function(t){return t.sortableInfo!=null});if(a&&a.sortableInfo&&this.nodeIsChild(a)&&!this.sorting){var s=this.$props.useDragHandle;var c=a.sortableInfo,u=c.index,l=c.collection;if(s&&!d(e.target,function(t){return t.sortableHandle!=null}))return;this.manager.active={index:u,collection:l};if(e.target.tagName.toLowerCase()==="a"){e.preventDefault()}if(!o){if(this.$props.pressDelay===0){this.handlePress(e)}else{this.pressTimer=setTimeout(function(){return i.handlePress(e)},this.$props.pressDelay)}}}},nodeIsChild:function t(e){return e.sortableInfo.manager===this.manager},handleMove:function t(e){var i=this.$props,n=i.distance,o=i.pressThreshold;if(!this.sorting&&this._touched){this._delta={x:this._pos.x-e.pageX,y:this._pos.y-e.pageY};var r=Math.abs(this._delta.x)+Math.abs(this._delta.y);if(!n&&(!o||o&&r>=o)){clearTimeout(this.cancelTimer);this.cancelTimer=setTimeout(this.cancel,0)}else if(n&&r>=n&&this.manager.isActive()){this.handlePress(e)}}},handleEnd:function t(){var e=this.$props.distance;this._touched=false;if(!e){this.cancel()}},cancel:function t(){if(!this.sorting){clearTimeout(this.pressTimer);this.manager.active=null}},handlePress:function t(e){var i=this;var n=this.manager.getActive();if(n){var o=this.$props,r=o.axis,a=o.getHelperDimensions,s=o.helperClass,c=o.hideSortableGhost,u=o.useWindowAsScrollContainer,l=o.appendTo;var d=n.node,p=n.collection;var h=d.sortableInfo.index;var f=k(d);var x=this.container.getBoundingClientRect();var v=a({index:h,node:d,collection:p});this.node=d;this.margin=f;this.width=v.width;this.height=v.height;this.marginOffset={x:this.margin.left+this.margin.right,y:Math.max(this.margin.top,this.margin.bottom)};this.boundingClientRect=d.getBoundingClientRect();this.containerBoundingRect=x;this.index=h;this.newIndex=h;this._axis={x:r.indexOf("x")>=0,y:r.indexOf("y")>=0};this.offsetEdge=this.getEdgeOffset(d);this.initialOffset=this.getOffset(e);this.initialScroll={top:this.scrollContainer.scrollTop,left:this.scrollContainer.scrollLeft};this.initialWindowScroll={top:window.pageYOffset,left:window.pageXOffset};var m=d.querySelectorAll("input, textarea, select");var g=d.cloneNode(true);var b=[].concat(w(g.querySelectorAll("input, textarea, select")));b.forEach(function(t,e){if(t.type!=="file"&&m[e]){t.value=m[e].value}});this.helper=this.document.querySelector(l).appendChild(g);this.helper.style.position="fixed";this.helper.style.top=this.boundingClientRect.top-f.top+"px";this.helper.style.left=this.boundingClientRect.left-f.left+"px";this.helper.style.width=this.width+"px";this.helper.style.height=this.height+"px";this.helper.style.boxSizing="border-box";this.helper.style.pointerEvents="none";if(c){this.sortableGhost=d;d.style.visibility="hidden";d.style.opacity=0}this.translate={};this.minTranslate={};this.maxTranslate={};if(this._axis.x){this.minTranslate.x=(u?0:x.left)-this.boundingClientRect.left-this.width/2;this.maxTranslate.x=(u?this._window.innerWidth:x.left+x.width)-this.boundingClientRect.left-this.width/2}if(this._axis.y){this.minTranslate.y=(u?0:x.top)-this.boundingClientRect.top-this.height/2;this.maxTranslate.y=(u?this._window.innerHeight:x.top+x.height)-this.boundingClientRect.top-this.height/2}if(s){var y;(y=this.helper.classList).add.apply(y,w(s.split(" ")))}this.listenerNode=e.touches?d:this._window;_.move.forEach(function(t){return i.listenerNode.addEventListener(t,i.handleSortMove,false)});_.end.forEach(function(t){return i.listenerNode.addEventListener(t,i.handleSortEnd,false)});this.sorting=true;this.sortingIndex=h;this.$emit("sort-start",{event:e,node:d,index:h,collection:p})}},handleSortMove:function t(e){e.preventDefault();this.updatePosition(e);this.animateNodes();this.autoscroll();this.$emit("sort-move",{event:e})},handleSortEnd:function t(r){var a=this;var s=this.manager.active.collection;if(this.listenerNode){_.move.forEach(function(t){return a.listenerNode.removeEventListener(t,a.handleSortMove)});_.end.forEach(function(t){return a.listenerNode.removeEventListener(t,a.handleSortEnd)})}var c=this.manager.refs[s];var e=function t(){a.helper.parentNode.removeChild(a.helper);if(a.hideSortableGhost&&a.sortableGhost){a.sortableGhost.style.visibility="";a.sortableGhost.style.opacity=""}for(var e=0,i=c.length;e<i;e++){var n=c[e];var o=n.node;n.edgeOffset=null;o.style[b+"Transform"]="";o.style[b+"TransitionDuration"]=""}clearInterval(a.autoscrollInterval);a.autoscrollInterval=null;a.manager.active=null;a.sorting=false;a.sortingIndex=null;a.$emit("sort-end",{event:r,oldIndex:a.index,newIndex:a.newIndex,collection:s});a.$emit("input",u(a.value,a.index,a.newIndex));a._touched=false};if(this.$props.transitionDuration||this.$props.draggedSettlingDuration){this.transitionHelperIntoPlace(c).then(function(){return e()})}else{e()}},transitionHelperIntoPlace:function t(e){var o=this;if(this.$props.draggedSettlingDuration===0){return Promise.resolve()}var i={left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top};var n=e[this.index].node;var r=e[this.newIndex].node;var a=-i.left;if(this.translate&&this.translate.x>0){a+=r.offsetLeft+r.offsetWidth-(n.offsetLeft+n.offsetWidth)}else{a+=r.offsetLeft-n.offsetLeft}var s=-i.top;if(this.translate&&this.translate.y>0){s+=r.offsetTop+r.offsetHeight-(n.offsetTop+n.offsetHeight)}else{s+=r.offsetTop-n.offsetTop}var c=this.$props.draggedSettlingDuration!==null?this.$props.draggedSettlingDuration:this.$props.transitionDuration;this.helper.style[b+"Transform"]="translate3d("+a+"px,"+s+"px, 0)";this.helper.style[b+"TransitionDuration"]=c+"ms";return new Promise(function(i){var t=function t(e){if(!e||e.propertyName==="transform"){clearTimeout(n);o.helper.style[b+"Transform"]="";o.helper.style[b+"TransitionDuration"]="";i()}};var n=setTimeout(t,c+10);o.helper.addEventListener("transitionend",t,false)})},getEdgeOffset:function t(e){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{top:0,left:0};if(e){var n={top:i.top+e.offsetTop,left:i.left+e.offsetLeft};if(e.parentNode!==this.container){return this.getEdgeOffset(e.parentNode,n)}else{return n}}},getOffset:function t(e){return{x:e.touches?e.touches[0].pageX:e.pageX,y:e.touches?e.touches[0].pageY:e.pageY}},getLockPixelOffsets:function t(){var e=this.$props.lockOffset;if(!Array.isArray(this.lockOffset)){e=[e,e]}if(e.length!==2){throw new Error("lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given "+e)}var i=e,n=h(i,2),o=n[0],r=n[1];return[this.getLockPixelOffset(o),this.getLockPixelOffset(r)]},getLockPixelOffset:function t(e){var i=e;var n=e;var o="px";if(typeof e==="string"){var r=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);if(r===null){throw new Error('lockOffset value should be a number or a string of a number followed by "px" or "%". Given '+e)}i=n=parseFloat(e);o=r[1]}if(!isFinite(i)||!isFinite(n)){throw new Error("lockOffset value should be a finite. Given "+e)}if(o==="%"){i=i*this.width/100;n=n*this.height/100}return{x:i,y:n}},updatePosition:function t(e){var i=this.$props,n=i.lockAxis,o=i.lockToContainerEdges;var r=this.getOffset(e);var a={x:r.x-this.initialOffset.x,y:r.y-this.initialOffset.y};a.y-=window.pageYOffset-this.initialWindowScroll.top;a.x-=window.pageXOffset-this.initialWindowScroll.left;this.translate=a;if(o){var s=this.getLockPixelOffsets(),c=h(s,2),u=c[0],l=c[1];var d={x:this.width/2-u.x,y:this.height/2-u.y};var p={x:this.width/2-l.x,y:this.height/2-l.y};a.x=f(this.minTranslate.x+d.x,this.maxTranslate.x-p.x,a.x);a.y=f(this.minTranslate.y+d.y,this.maxTranslate.y-p.y,a.y)}if(n==="x"){a.y=0}else if(n==="y"){a.x=0}this.helper.style[b+"Transform"]="translate3d("+a.x+"px,"+a.y+"px, 0)"},animateNodes:function t(){var e=this.$props,i=e.transitionDuration,n=e.hideSortableGhost;var o=this.manager.getOrderedRefs();var r={left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top};var a={left:this.offsetEdge.left+this.translate.x+r.left,top:this.offsetEdge.top+this.translate.y+r.top};var s={top:window.pageYOffset-this.initialWindowScroll.top,left:window.pageXOffset-this.initialWindowScroll.left};this.newIndex=null;for(var c=0,u=o.length;c<u;c++){var l=o[c].node;var d=l.sortableInfo.index;var p=l.offsetWidth;var h=l.offsetHeight;var f={width:this.width>p?p/2:this.width/2,height:this.height>h?h/2:this.height/2};var x={x:0,y:0};var v=o[c].edgeOffset;if(!v){o[c].edgeOffset=v=this.getEdgeOffset(l)}var m=c<o.length-1&&o[c+1];var g=c>0&&o[c-1];if(m&&!m.edgeOffset){m.edgeOffset=this.getEdgeOffset(m.node)}if(d===this.index){if(n){this.sortableGhost=l;l.style.visibility="hidden";l.style.opacity=0}continue}if(i){l.style[b+"TransitionDuration"]=i+"ms"}if(this._axis.x){if(this._axis.y){if(d<this.index&&(a.left+s.left-f.width<=v.left&&a.top+s.top<=v.top+f.height||a.top+s.top+f.height<=v.top)){x.x=this.width+this.marginOffset.x;if(v.left+x.x>this.containerBoundingRect.width-f.width){x.x=m.edgeOffset.left-v.left;x.y=m.edgeOffset.top-v.top}if(this.newIndex===null){this.newIndex=d}}else if(d>this.index&&(a.left+s.left+f.width>=v.left&&a.top+s.top+f.height>=v.top||a.top+s.top+f.height>=v.top+h)){x.x=-(this.width+this.marginOffset.x);if(v.left+x.x<this.containerBoundingRect.left+f.width){x.x=g.edgeOffset.left-v.left;x.y=g.edgeOffset.top-v.top}this.newIndex=d}}else{if(d>this.index&&a.left+s.left+f.width>=v.left){x.x=-(this.width+this.marginOffset.x);this.newIndex=d}else if(d<this.index&&a.left+s.left<=v.left+f.width){x.x=this.width+this.marginOffset.x;if(this.newIndex==null){this.newIndex=d}}}}else if(this._axis.y){if(d>this.index&&a.top+s.top+f.height>=v.top){x.y=-(this.height+this.marginOffset.y);this.newIndex=d}else if(d<this.index&&a.top+s.top<=v.top+f.height){x.y=this.height+this.marginOffset.y;if(this.newIndex==null){this.newIndex=d}}}l.style[b+"Transform"]="translate3d("+x.x+"px,"+x.y+"px,0)"}if(this.newIndex==null){this.newIndex=this.index}},autoscroll:function t(){var e=this;var i=this.translate;var n={x:0,y:0};var o={x:1,y:1};var r={x:10,y:10};if(i.y>=this.maxTranslate.y-this.height/2){n.y=1;o.y=r.y*Math.abs((this.maxTranslate.y-this.height/2-i.y)/this.height)}else if(i.x>=this.maxTranslate.x-this.width/2){n.x=1;o.x=r.x*Math.abs((this.maxTranslate.x-this.width/2-i.x)/this.width)}else if(i.y<=this.minTranslate.y+this.height/2){n.y=-1;o.y=r.y*Math.abs((i.y-this.height/2-this.minTranslate.y)/this.height)}else if(i.x<=this.minTranslate.x+this.width/2){n.x=-1;o.x=r.x*Math.abs((i.x-this.width/2-this.minTranslate.x)/this.width)}if(this.autoscrollInterval){clearInterval(this.autoscrollInterval);this.autoscrollInterval=null;this.isAutoScrolling=false}if(n.x!==0||n.y!==0){this.autoscrollInterval=setInterval(function(){e.isAutoScrolling=true;var t={left:1*o.x*n.x,top:1*o.y*n.y};e.scrollContainer.scrollTop+=t.top;e.scrollContainer.scrollLeft+=t.left;e.translate.x+=t.left;e.translate.y+=t.top;e.animateNodes()},5)}}}},s={bind:function t(e){e.sortableHandle=true}},c={name:"slick-list",mixins:[a],render:function t(e){return e("div",this.$slots.default)}},l={name:"slick-item",mixins:[e],render:function t(e){return e("div",this.$slots.default)}};t.ElementMixin=e,t.ContainerMixin=a,t.HandleDirective=s,t.SlickList=c,t.SlickItem=l,t.arrayMove=u,Object.defineProperty(t,"__esModule",{value:true})}(e)},function(t){t.exports=JSON.parse('{"a":"4.0.19"}')},function(t,e,i){var n=i(3);"string"==typeof n&&(n=[[t.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i(5)(n,o);n.locals&&(t.exports=n.locals)},function(t,e,i){(t.exports=i(4)(!1)).push([t.i,'.cx-vui-component{display:flex;padding:20px;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cx-vui-component+.cx-vui-component{border-top:1px solid #ececec}.cx-vui-component--equalwidth{justify-content:space-between}.cx-vui-component--equalwidth .cx-vui-component__meta,.cx-vui-component--equalwidth .cx-vui-component__meta+.cx-vui-component__control{max-width:49%;flex:0 0 49%}.cx-vui-component--vertical-fullwidth{flex-direction:column;padding-left:0;padding-right:0}.cx-vui-component--vertical-fullwidth .cx-vui-component__meta{padding:0 0 20px;margin:0 0 25px;border-bottom:1px solid #ececec}.cx-vui-component--vertical-fullwidth .cx-vui-component__label{padding:0 0 5px}.cx-vui-component--fullwidth-control .cx-vui-component__control{max-width:100%;flex:0 0 100%}.cx-vui-component__meta{display:flex;flex-direction:column;align-items:flex-start}.cx-vui-component__label{display:block;font-size:15px;line-height:20px;color:#23282d;font-weight:500}.cx-vui-component__desc{font-size:13px;line-height:17px;color:#7b7e81;padding:0 0 4px}.cx-vui-panel{background:#fff;box-shadow:0 2px 6px rgba(35,40,45,.07);border-radius:6px;margin-bottom:30px;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cx-vui-inner-panel{background:#f5f5f5;border-radius:4px;padding:30px}.cs-vui-title,.wrap .cs-vui-title{font-size:24px;line-height:37px;padding:0 0 20px}.cs-vui-title,.cx-vui-subtitle,.wrap .cs-vui-title{font-weight:500;color:#23282d;margin:0;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cx-vui-subtitle{font-size:18px;line-height:27px;padding:0}.cx-vui-text{font-size:13px;line-height:20px;color:#7b7e81;padding:15px 0;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cx-vui-hr{display:block;width:100%;height:0;border-top:1px solid #dcdcdd;margin:30px 0}.cx-vui-notice--error{background:#fbf0f0}.cx-vui-notice--success{background:#e9f6ea}.cx-vui-inline-notice{font-weight:700}.cx-vui-inline-notice--error{color:#c92c2c}.cx-vui-inline-notice--success{color:#46b450}.cx-vui-tooltip{background:#23282d;box-shadow:0 1px 4px rgba(35,40,45,.24);border-radius:3px;padding:5px 15px;font-size:12px;line-height:15px;color:#fff;bottom:100%;position:absolute;margin:0 0 10px;text-align:center}.cx-vui-tooltip:after{top:100%;left:50%;margin:0 0 0 -4px;width:0;height:0;border-color:#23282d transparent transparent;border-style:solid;border-width:4px 4px 0;content:"";position:absolute}.cx-vui-popup{position:fixed;z-index:999;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center}.cx-vui-popup__overlay{background:#23282d;opacity:.5;position:absolute;left:0;right:0;top:0;bottom:0;z-index:1}.cx-vui-popup__body{background:#fff;box-shadow:0 2px 6px rgba(35,40,45,.07);border-radius:6px;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;position:relative;z-index:2;padding:30px 40px 40px}.cx-vui-popup__header{padding:0 0 10px}.cx-vui-popup__content,.cx-vui-popup__content p{font-size:13px;line-height:20px;color:#7b7e81}.cx-vui-popup__content p{margin:0;padding:0 0 20px}.cx-vui-popup__footer{padding:20px 0 0;display:flex;align-items:center}.cx-vui-popup__footer .cx-vui-button+.cx-vui-button{margin:0 0 0 10px}.cx-vui-popup__close{position:absolute;right:12px;top:15px;cursor:pointer}.cx-vui-popup__close path{fill:#dcdcdd}.cx-vui-popup__close:hover path{fill:#7b7e81}.cx-vui-collapse{border-bottom:1px solid #dcdcdd}.cx-vui-collapse:last-child{border-bottom:none}.cx-vui-collapse__heading{display:flex;padding:20px 0;align-items:center;cursor:pointer}.cx-vui-collapse__heading-icon{font-size:18px;margin:0 5px 0 0}.cx-vui-collapse--collapsed .cx-vui-collapse__content{display:none}input.cx-vui-input{font-size:13px;line-height:20px;border-radius:4px;background-color:#f4f4f5;border:none;color:#7b7e81;padding:6px 12px;box-shadow:none;outline:none;box-sizing:border-box;margin:0}input.cx-vui-input:focus{box-shadow:inset 0 0 0 2px #80bddc;background-color:#fff;color:#23282d}input.cx-vui-input.has-error{box-shadow:inset 0 0 0 2px #e49595;color:#c92c2c}input.cx-vui-input.size-fullwidth{width:100%}textarea.cx-vui-textarea{font-size:13px;line-height:20px;border-radius:4px;background-color:#f4f4f5;border:none;color:#7b7e81;padding:6px 12px;box-shadow:none;outline:none;box-sizing:border-box;margin:0;resize:vertical}textarea.cx-vui-textarea:focus{box-shadow:inset 0 0 0 2px #80bddc;background-color:#fff;color:#23282d}textarea.cx-vui-textarea.has-error{box-shadow:inset 0 0 0 2px #e49595;color:#c92c2c}textarea.cx-vui-textarea.size-fullwidth{width:100%}.cx-vui-switcher{width:36px;position:relative;cursor:pointer;padding:3px 0}.cx-vui-switcher__panel{width:100%;height:12px;border-radius:6px;background:#ececec;transition:all .15s linear}.cx-vui-switcher--on .cx-vui-switcher__panel{background:#cce5f1}.cx-vui-switcher__trigger{width:18px;height:18px;left:0;top:50%;margin-top:-9px;box-shadow:0 1px 4px rgba(35,40,45,.24);transition:all .15s linear;background:#fff;border-radius:100%;position:absolute}.cx-vui-switcher--on .cx-vui-switcher__trigger{background:#007cba;left:calc(100% - 18px)}.cx-vui-switcher--in-focus .cx-vui-switcher__trigger{box-shadow:0 1px 4px rgba(35,40,45,.24),0 0 0 9px rgba(166,167,168,.2)}.cx-vui-switcher--on.cx-vui-switcher--in-focus .cx-vui-switcher__trigger{box-shadow:0 1px 4px rgba(35,40,45,.24),0 0 0 9px rgba(0,124,186,.2)}.cx-vui-iconpicker{position:relative}.cx-vui-iconpicker__fieldgroup{display:flex}.cx-vui-iconpicker__input{flex:1 0 auto}.cx-vui-iconpicker__preview{width:32px;height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;background:#f4f4f5;border-radius:4px;margin:0 5px 0 0}.cx-vui-iconpicker__canvas{position:absolute;top:100%;left:0;right:0;margin:20px 0 0;box-shadow:0 4px 20px rgba(35,40,45,.24);border-radius:4px;border:1px solid #80bddc;background:#fff;z-index:999;max-width:100%;width:311px}.cx-vui-iconpicker__canvas-content{padding:10px;border-radius:4px;max-height:312px;overflow-y:scroll}.cx-vui-iconpicker__canvas:before{position:absolute;left:9px;top:-7px;width:0;height:0;border-color:transparent transparent #80bddc;border-style:solid;border-width:0 7px 7px;content:"";z-index:1}.cx-vui-iconpicker__canvas:after{position:absolute;left:10px;top:-6px;width:0;height:0;z-index:2;border-color:transparent transparent #fff;border-style:solid;border-width:0 6px 6px;content:""}.cx-vui-iconpicker__canvas-list{display:flex;flex-wrap:wrap;margin:6px -3px}.cx-vui-iconpicker__canvas-icon{width:48px;height:48px;margin:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box;border-radius:4px;border:1px solid #ececec;transition:all .15s linear}.cx-vui-iconpicker__canvas-icon i{color:#7b7e81}.cx-vui-iconpicker__canvas-icon--selected{border-color:#80bddc;background:#edf6fa}.cx-vui-iconpicker__canvas-icon--selected i{color:#007cba}.cx-vui-iconpicker__canvas-icon:focus,.cx-vui-iconpicker__canvas-icon:hover{background:#007cba;border-color:#007cba}.cx-vui-iconpicker__canvas-icon:focus i,.cx-vui-iconpicker__canvas-icon:hover i{color:#fff}.wp-admin .cx-vui-select{font-size:13px;line-height:20px;border-radius:4px;background-color:#f4f4f5;border:none;color:#7b7e81;padding:6px 12px;box-shadow:none;outline:none;box-sizing:border-box;margin:0;height:auto;-webkit-appearance:none}.wp-admin .cx-vui-select:focus{box-shadow:inset 0 0 0 2px #80bddc;background-color:#fff;color:#23282d}.wp-admin .cx-vui-select.has-error{box-shadow:inset 0 0 0 2px #e49595;color:#c92c2c}.wp-admin .cx-vui-select.size-fullwidth{width:100%}.cx-vui-f-select__select-tag{display:none}.cx-vui-f-select__input.cx-vui-input--in-focus{box-shadow:inset 0 0 0 2px #80bddc;background:#fff;border-bottom-left-radius:0;border-bottom-right-radius:0}.cx-vui-f-select__control{position:relative}.cx-vui-f-select__results{top:100%;left:0;right:0;z-index:999;position:absolute;border:1px solid #80bddc;box-sizing:border-box;box-shadow:0 4px 20px rgba(35,40,45,.24);border-radius:0 0 4px 4px;background:#fff;padding:10px 0;margin:-1px 0 0}.cx-vui-f-select__results-loading,.cx-vui-f-select__results-message{padding:0 10px;color:#7b7e81}.cx-vui-f-select__result{color:#7b7e81;font-size:13px;line-height:17px;padding:3px 12px 4px;cursor:pointer;transition:all .15s linear}.cx-vui-f-select__result.is-selected{background:#edf6fa}.cx-vui-f-select__result.in-focus,.cx-vui-f-select__result:hover{color:#fff;background:#007cba}.cx-vui-f-select__selected{display:flex;flex-wrap:wrap}.cx-vui-f-select__selected-not-empty{margin:0 0 15px}.cx-vui-f-select__selected-option{padding:5px 11px 5px 5px;display:flex;align-items:center;background:#edf6fa;cursor:pointer;color:#7b7e81;margin:0 5px 5px 0;white-space:nowrap}.cx-vui-f-select__selected-option-icon{width:22px;height:22px;background:#fff;border-radius:1px;transition:all liear .15s;margin:0 6px 0 0;display:flex;align-items:center;justify-content:center}.cx-vui-f-select__selected-option-icon path{transition:all liear .15s;fill:#7b7e81}.cx-vui-f-select__selected-option:hover .cx-vui-f-select__selected-option-icon{background:#007cba}.cx-vui-f-select__selected-option:hover .cx-vui-f-select__selected-option-icon path{fill:#fff}.cx-vui-button{cursor:pointer;display:inline-block;padding:0;margin:0;border:none;box-shadow:0 4px 4px rgba(35,40,45,.24);border-radius:4px;transition:all .15s linear;font-weight:500;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;outline:none;position:relative;box-sizing:border-box;text-decoration:none}.cx-vui-button__content{display:flex;justify-content:center;align-items:center}.cx-vui-button--loading .cx-vui-button__content{opacity:0}.cx-vui-button--style-default{background:#f4f4f5;color:#007cba}.cx-vui-button--style-default:hover{box-shadow:none;color:#007cba;background:#ececec}.cx-vui-button--style-accent{background:#007cba;color:#fff}.cx-vui-button--style-accent:hover{box-shadow:none;color:#fff;background:#066ea2}.cx-vui-button--style-default-border{border:1px solid #dcdcdd;background:transparent;color:#7b7e81;box-shadow:none}.cx-vui-button--style-default-border:hover{border:1px solid #dcdcdd;color:#7b7e81;background:#f3f5f6}.cx-vui-button--style-accent-border{border:1px solid #007cba;background:transparent;color:#007cba;box-shadow:none}.cx-vui-button--style-accent-border:hover{border:1px solid #066ea2;color:#066ea2;background:#f3f5f6}.cx-vui-button--style-link-accent{color:#007cba;background:none;box-shadow:none}.cx-vui-button--style-link-accent path{fill:#007cba}.cx-vui-button--style-link-accent:hover{color:#066ea2}.cx-vui-button--style-link-accent:hover path{fill:#066ea2}.cx-vui-button--style-link-error{color:#c92c2c;background:none;box-shadow:none}.cx-vui-button--style-link-error path{fill:#c92c2c}.cx-vui-button--style-link-error:hover{color:#c92c2c}.cx-vui-button--size-default{font-size:15px;line-height:21px;padding:12px 25px 13px}.cx-vui-button--size-default .cx-vui-button__content .dashicons{margin:0 5px 0 -8px}.cx-vui-button--size-default .cx-vui-button__content span+.dashicons{margin:-8px 0 0 5px}.cx-vui-button--size-link{font-size:15px;line-height:18px}.cx-vui-button--size-link .cx-vui-button__content svg{margin:0 5px 1px 0}.cx-vui-button--size-link .cx-vui-button__content span+svg{margin:0 0 1px 5px}.cx-vui-button--size-mini{font-size:13px;line-height:19px;padding:6px 14px 7px}.cx-vui-button--size-mini .cx-vui-button__content .dashicons{margin:0 4px 0 -5px}.cx-vui-button--size-mini .cx-vui-button__content span+.dashicons{margin:-5px 0 0 4px}.cx-vui-button--disabled{cursor:default;opacity:.3;pointer-events:none}.cx-vui-button--loading{cursor:default}.cx-vui-button__loader{position:absolute;right:0;top:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.cx-vui-button__loader .loader-icon{animation:spin 1.2s linear infinite}.cx-vui-button__loader .loader-icon path{fill:currentColor}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.cx-vui-button.fullwidth{width:100%}.cx-vui-repeater__actions{display:flex;align-items:center}.cx-vui-repeater__tip{color:#7b7e81;margin:0 0 0 20px}.cx-vui-collapse__content>.cx-vui-repeater{margin-bottom:25px}.cx-vui-repeater-item__handle{cursor:n-resize;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:-12px 0 -10px -16px}.cx-vui-repeater-item__handle svg line{stroke:#dcdcdd}.cx-vui-repeater-item__heading{display:flex;border-bottom:1px solid #ececec;padding:18px 20px 16px;align-items:center;justify-content:space-between;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cx-vui-repeater-item__heading--is-collpased{border-bottom:none}.cx-vui-repeater-item__heading-start{display:flex;align-items:center;cursor:pointer}.cx-vui-repeater-item__heading-end{display:flex;align-items:center}.cx-vui-repeater-item__subtitle,.cx-vui-repeater-item__title{font-size:15px;line-height:17px}.cx-vui-repeater-item__title{font-weight:500;color:#007cba;margin:0 10px 0 0}.cx-vui-repeater-item__subtitle{font-style:italic;color:#7b7e81}.cx-vui-repeater-item__collapse{margin:0 8px 0 0}.cx-vui-repeater-item__collapse--is-collpased{margin:0 8px 4px 0;transform:rotate(-90deg)}.cx-vui-repeater-item__collapse path{fill:#007cba}.cx-vui-repeater-item__content--is-collpased{display:none}.cx-vui-repeater-item__clean,.cx-vui-repeater-item__copy{cursor:pointer;width:20px;height:20px;display:flex;align-items:center;justify-content:center;margin:0 0 0 10px;position:relative}.cx-vui-repeater-item__clean .cx-vui-tooltip,.cx-vui-repeater-item__copy .cx-vui-tooltip{width:80px}.cx-vui-repeater-item__clean path,.cx-vui-repeater-item__copy path{transition:all .15s linear;fill:#7b7e81}.cx-vui-repeater-item__clean:hover path,.cx-vui-repeater-item__copy:hover path{fill:#007cba}.cx-vui-repeater-item__cancel-del,.cx-vui-repeater-item__confrim-del{text-decoration:underline}.cx-vui-repeater-item__confrim-del{color:#c92c2c}.cx-vui-checkbox{display:inline-flex;align-items:center;margin:0 0 10px}.cx-vui-checkbox--disabled{pointer-events:none}.cx-vui-checkgroup--single-item .cx-vui-checkbox{margin:0}.cx-vui-checkbox__check{box-sizing:border-box;width:18px;height:18px;border-radius:4px;border:2px solid #7b7e81;margin:-1px 10px 0 0;cursor:pointer;display:flex;align-items:center;justify-content:center}.cx-vui-checkbox__check--focused{border-color:#80bddc}.cx-vui-checkbox__check--checked{border-color:#007cba;background:#007cba}.cx-vui-checkbox__check--checked path{fill:#fff}.cx-vui-checkbox__check--disabled{pointer-events:none;opacity:.5;cursor:default}.cx-vui-checkbox__label{color:#7b7e81;cursor:pointer}.cx-vui-checkbox--disabled .cx-vui-checkbox__label{cursor:default}.cx-vui-checkbox__input[type=checkbox]{display:none}.cx-vui-radio{display:inline-flex;align-items:center;margin:0 0 10px}.cx-vui-radio--disabled{pointer-events:none}.cx-vui-radiogroup--single-item .cx-vui-radio{margin:0}.cx-vui-radio__input{visibility:hidden;position:absolute;left:-999em}.cx-vui-radio__mark{box-sizing:border-box;width:18px;height:18px;border-radius:100%;border:2px solid #7b7e81;margin:0 10px 0 0;cursor:pointer;display:flex;align-items:center;justify-content:center}.cx-vui-radio__mark:before{content:"";width:10px;height:10px;border-radius:100%}.cx-vui-radio__mark--focused{border-color:#80bddc}.cx-vui-radio__mark--checked{border-color:#007cba}.cx-vui-radio__mark--checked:before{background:#007cba}.cx-vui-radio__mark--disabled{pointer-events:none;opacity:.5;cursor:default}.cx-vui-radio__label{color:#7b7e81;cursor:pointer}.cx-vui-radio--disabled .cx-vui-radio__label{cursor:default}.cx-vue-list-table{background:#fff;box-shadow:0 2px 6px rgba(35,40,45,.07);border-radius:6px;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cx-vue-list-table__items.is-empty{padding:16px 20px 17px;text-align:center;color:#7b7e81;font-size:13px;line-height:16px}.list-table-footer,.list-table-heading,.list-table-item{display:flex;align-items:center;justify-content:flex-start}.list-table-footer__cell,.list-table-heading__cell,.list-table-item__cell{padding:16px 20px 14px;text-align:left;box-sizing:border-box}.list-table-heading{border-bottom:1px solid #ececec}.cx-vue-list-table__footer .list-table-heading{border-bottom:none;border-top:1px solid #ececec}.list-table-heading__cell{font-size:15px;line-height:20px;color:#23282d;font-weight:500}.list-table-item{color:#7b7e81}.list-table-item:nth-child(odd){background:#f5f5f5}.list-table-item__cell{font-size:13px;line-height:16px}.list-table-item:first-child{border-top:none}.cx-vui-tabs.cx-vui-tabs--layout-vertical{display:flex;align-items:stretch}.cx-vui-tabs__nav{background:#f5f5f5}.cx-vui-tabs--layout-vertical .cx-vui-tabs__nav{width:20%;flex:0 0 20%;max-width:220px;padding:0 0 40px}.cx-vui-tabs--layout-horizontal .cx-vui-tabs__nav{display:flex;padding:0 40px}.cx-vui-tabs--invert .cx-vui-tabs__nav{background:#fff}.cx-vui-tabs__nav-item{cursor:pointer;padding:14px 20px;font-weight:500;font-size:15px;line-height:20px;color:#23282d;border:1px solid transparent}.cx-vui-tabs--layout-vertical .cx-vui-tabs__nav-item{border-bottom:1px solid #dcdcdd}.cx-vui-tabs__nav-item:hover{color:#007cba}.cx-vui-tabs:not(.cx-vui-tabs--in-panel) .cx-vui-tabs__nav-item{border-top:none}.cx-vui-tabs__nav-item--active{color:#007cba;position:relative;z-index:3;background:#fff}.cx-vui-tabs--layout-horizontal .cx-vui-tabs__nav-item--active{border:1px solid #dcdcdd;border-bottom:none}.cx-vui-tabs--in-panel .cx-vui-tabs__nav-item--active{border-radius:4px 4px 0 0}.cx-vui-tabs--invert .cx-vui-tabs__nav-item--active{background:#f5f5f5}.cx-vui-tabs__content{padding:40px}.cx-vui-tabs--invert .cx-vui-tabs__content{background:#f5f5f5}.cx-vui-tabs--layout-horizontal .cx-vui-tabs__content{border-top:1px solid #dcdcdd;margin:-1px 0 0}.cx-vui-tabs--layout-vertical .cx-vui-tabs__content{flex:1 1 auto;border-left:1px solid #dcdcdd;margin:0 0 0 -1px;padding:15px 40px}.cx-vui-pagination-items{display:flex;justify-content:flex-start;align-items:center}.cx-vui-pagination-item{display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin:0 3px;padding:4px 8px;position:relative;text-decoration:none;border:1px solid #e8e8e8;border-radius:2px;text-shadow:none;font-weight:600;font-size:13px;line-height:normal;color:#7b7e81;background:transparent;cursor:pointer}.cx-vui-pagination-item:first-child{margin-left:0}.cx-vui-pagination-item:last-child{margin-right:0}.cx-vui-pagination-item-active{color:#007cba;border:1px solid #007cba}.cx-vui-pagination-disabled{cursor:not-allowed;opacity:.5}.cx-vui-notices{position:fixed;right:20px;top:52px}.cx-vui-notice{padding:20px;margin:0 0 20px;transition:all .25s ease;display:flex;align-items:flex-start;box-shadow:0 2px 6px rgba(35,40,45,.07);min-width:250px;max-width:450px;box-sizing:border-box;background:#fff;border-radius:4px;font-size:15px;line-height:23px;color:#7b7e81}.cx-vui-notice__icon{width:24px;height:24px;overflow:hidden;flex:0 0 24px;margin:0 15px 0 0}.cx-vui-notice__icon svg{width:100%;height:auto}.cx-vui-notice__icon--info path{fill:#007cba}.cx-vui-notice__icon--success path{fill:#46b450}.cx-vui-notice__icon--error path{fill:#c92c2c}.cx-vui-notice__title{font-weight:500;color:#23282d}.cx-vui-notice__content{flex:1 1 auto}.cx-vui-notice__close{width:16px;height:16px;flex:0 0 16px;margin:-2px 0 0 10px;cursor:pointer;box-sizing:border-box;padding:2px}.cx-vui-notice__close svg{width:12px;height:12px}.cx-vui-notice__close path{fill:#dcdcdd}.cx-vui-notice__close:hover path{fill:#23282d}.cx-vui-notices-enter,.cx-vui-notices-leave-to{opacity:0;transform:translateX(30px)}.cx-vui-notices-leave-active{position:absolute}',""])},function(t,e,i){"use strict";t.exports=function(i){var a=[];return a.toString=function(){return this.map(function(t){var e=function(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}(t,i);return t[2]?"@media "+t[2]+"{"+e+"}":e}).join("")},a.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var o=this[n][0];null!=o&&(i[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];null!=r[0]&&i[r[0]]||(e&&!r[2]?r[2]=e:e&&(r[2]="("+r[2]+") and ("+e+")"),a.push(r))}},a}},function(t,e,n){var i,o,r,c={},u=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=i.apply(this,arguments)),o}),a=(r={},function(t,e){if("function"==typeof t)return t();if(void 0===r[t]){var i=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}r[t]=i}return r[t]}),l=null,d=0,s=[],p=n(6);function h(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=c[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(b(n.parts[r],e))}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(b(n.parts[r],e));c[n.id]={id:n.id,refs:1,parts:a}}}}function f(t,e){for(var i=[],n={},o=0;o<t.length;o++){var r=t[o],a=e.base?r[0]+e.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};n[a]?n[a].parts.push(s):i.push(n[a]={id:a,parts:[s]})}return i}function x(t,e){var i=a(t.insertInto);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=s[s.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),s.push(e);else if("bottom"===t.insertAt)i.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=a(t.insertAt.before,i);i.insertBefore(e,o)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=s.indexOf(t);0<=e&&s.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return g(e,t.attrs),x(t,e),e}function g(e,i){Object.keys(i).forEach(function(t){e.setAttribute(t,i[t])})}function b(e,t){var i,n,o,r,a,s;if(t.transform&&e.css){if(!(r="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=r}if(t.singleton){var c=d++;i=l=l||m(t),n=_.bind(null,i,c,!1),o=_.bind(null,i,c,!0)}else o=e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(a=t,s=document.createElement("link"),void 0===a.attrs.type&&(a.attrs.type="text/css"),a.attrs.rel="stylesheet",g(s,a.attrs),x(a,s),n=function(t,e,i){var n=i.css,o=i.sourceMap,r=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||r)&&(n=p(n));o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,i=s,t),function(){v(i),i.href&&URL.revokeObjectURL(i.href)}):(i=m(t),n=function(t,e){var i=e.css,n=e.media;n&&t.setAttribute("media",n);if(t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,i),function(){v(i)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}t.exports=function(t,a){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(a=a||{}).attrs="object"==typeof a.attrs?a.attrs:{},a.singleton||"boolean"==typeof a.singleton||(a.singleton=u()),a.insertInto||(a.insertInto="head"),a.insertAt||(a.insertAt="bottom");var s=f(t,a);return h(s,a),function(t){for(var e=[],i=0;i<s.length;i++){var n=s[i];(o=c[n.id]).refs--,e.push(o)}t&&h(f(t,a),a);for(i=0;i<e.length;i++){var o;if(0===(o=e[i]).refs){for(var r=0;r<o.parts.length;r++)o.parts[r]();delete c[o.id]}}}};var y,w=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,i,n){var o=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=w(e,o);else{var r=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var o=e.protocol+"//"+e.host,r=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var i,n=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(n)?t:(i=0===n.indexOf("//")?n:0===n.indexOf("/")?o+n:r+n.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(t,e,i){"use strict";i.r(e);var n={name:"cx-vui-title",template:"#cx-vui-title",props:{}};function o(t,e){for(var i=0;i<e.length;i++)if(t==e[i])return!0;return!1}var r={methods:{isVisible:function(){if(!this.conditions.length)return!0;for(var t=[],e="AND",i=this.conditions.length,n=0;n<this.conditions.length;n++)if(this.conditions[n].operator)e=this.conditions[n].operator,i--;else switch(this.conditions[n].compare){case"equal":this.conditions[n].input===this.conditions[n].value&&t.push(this.conditions[n].value);break;case"not_equal":this.conditions[n].input!==this.conditions[n].value&&t.push(this.conditions[n].value);break;case"in":o(this.conditions[n].input,this.conditions[n].value)&&t.push(this.conditions[n].value);break;case"not_in":o(this.conditions[n].input,this.conditions[n].value)||t.push(this.conditions[n].value);break;case"contains":o(this.conditions[n].value,this.conditions[n].input)&&t.push(this.conditions[n].value);break;case"not_contains":o(this.conditions[n].value,this.conditions[n].input)||t.push(this.conditions[n].value)}switch(e){case"AND":return t.length===i;case"OR":return!!t.length}}}},a={name:"cx-vui-collapse",template:"#cx-vui-collapse",mixins:[r],props:{collapsed:{type:Boolean,default:!1},conditions:{type:Array,default:function(){return[]}}},data:function(){return{state:""}},mounted:function(){this.collapsed&&(this.state="collapsed")},computed:{iconArrow:function(){return"collapsed"===this.state?"dashicons-arrow-right-alt2":"dashicons-arrow-down-alt2"}},methods:{switchState:function(){"collapsed"===this.state?this.state="":this.state="collapsed",this.$emit("state-switched",this.state)}}},s={name:"cx-vui-component-wrapper",template:"#cx-vui-component-wrapper",mixins:[{methods:{wrapperClasses:function(){var e=["cx-vui-component"];return this.wrapperCss.length&&this.wrapperCss.forEach(function(t){e.push("cx-vui-component--"+t)}),e}}},r],props:{elementId:{type:String},label:{type:String},description:{type:String},preventWrap:{type:Boolean,default:!1},wrapperCss:{type:Array,default:function(){return[]}},conditions:{type:Array,default:function(){return[]}}},computed:{wrapperClassesRaw:function(){var e=["cx-vui-component-raw"];return this.wrapperCss&&this.wrapperCss.forEach(function(t){e.push(t)}),e}}},c={name:"cx-vui-button",template:"#cx-vui-button",mixins:[r],props:{type:{validator:function(t){return o(t,["button","submit","reset"])},default:"button"},buttonStyle:{validator:function(t){return o(t,["default","accent","link-accent","link-error"])},default:"default"},size:{validator:function(t){return o(t,["default","mini","link"])},default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},customCss:{type:String},url:{type:String},target:{type:String},tagName:{validator:function(t){return o(t,["a","button"])},default:"button"},elementId:{type:String},conditions:{type:Array,default:function(){return[]}}},data:function(){return{baseClass:"cx-vui-button"}},computed:{classesList:function(){var t=[this.baseClass,this.baseClass+"--style-"+this.buttonStyle,this.baseClass+"--size-"+this.size];return this.loading&&t.push(this.baseClass+"--loading"),this.disabled&&t.push(this.baseClass+"--disabled"),this.customCss&&t.push(this.customCss),t},tagAtts:function(){var t={};return"a"===this.tagName?(this.url&&(t.href=this.url),this.target&&(t.target=this.target)):t.type=this.type,t}},methods:{handleClick:function(){this.loading||this.disabled||this.$emit("click",event)}}},u=i(0),l={name:"cx-vui-repeater",template:"#cx-vui-repeater",mixins:[u.ContainerMixin,r],props:{buttonLabel:{type:String},buttonStyle:{type:String,default:"accent"},buttonSize:{type:String,default:"default"},value:{type:Array,default:function(){return[]}},distance:{type:Number,default:20},useDragHandle:{type:Boolean,default:!0},conditions:{type:Array,default:function(){return[]}}},data:function(){return{inFocus:!1}},methods:{handleClick:function(t){this.$emit("add-new-item",t)}}},d={name:"cx-vui-repeater-item",template:"#cx-vui-repeater-item",mixins:[u.ElementMixin],directives:{handle:u.HandleDirective},props:{title:{type:String},subtitle:{type:String},collapsed:{type:Boolean,default:!0},index:{type:Number},customCss:{type:String}},data:function(){return{fieldData:this.field,isCollapsed:this.collapsed,showConfirmTip:!1}},computed:{customCssClass:function(){return this.customCss}},methods:{handleCopy:function(){this.$emit("clone-item",this.index)},handleDelete:function(){this.showConfirmTip=!0},confrimDeletion:function(){this.showConfirmTip=!1,this.$emit("delete-item",this.index)},cancelDeletion:function(){this.showConfirmTip=!1}}},p={name:"cx-vui-popup",template:"#cx-vui-popup",props:{value:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},close:{type:Boolean,default:!0},showOk:{type:Boolean,default:!0},showCancel:{type:Boolean,default:!0},header:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},okLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},bodyWidth:{type:String,default:"auto"}},data:function(){return{currentValue:this.value}},watch:{value:function(t){this.setCurrentValue(t)}},methods:{handleCancel:function(){this.setCurrentValue(!1),this.$emit("input",!1),this.$emit("on-cancel")},handleOk:function(){this.setCurrentValue(!1),this.$emit("input",!1),this.$emit("on-ok")},setCurrentValue:function(t){this.currentValue!==t&&(this.currentValue=t)}}},h={name:"cx-vui-list-table",template:"#cx-vui-list-table",mixins:[r],props:{conditions:{type:Array,default:function(){return[]}},isEmpty:{type:Boolean,default:!1},emptyMessage:{type:String,default:""}}},f={name:"cx-vui-list-table-item",template:"#cx-vui-list-table-item",mixins:[r],props:{slots:{type:Array,default:function(){return[]}},conditions:{type:Array,default:function(){return[]}},className:{type:String,default:""}}},x={name:"cx-vui-list-table-heading",template:"#cx-vui-list-table-heading",props:{slots:{type:Array,default:function(){return[]}},className:{type:String,default:""}}},v={name:"cx-vui-tabs",template:"#cx-vui-tabs",mixins:[r],props:{value:{type:[String,Number],default:""},name:{type:String,default:""},invert:{type:Boolean,default:!1},inPanel:{type:Boolean,default:!1},layout:{validator:function(t){return o(t,["horizontal","vertical"])},default:"horizontal"},conditions:{type:Array,default:function(){return[]}}},data:function(){return{navList:[],activeTab:this.value}},mounted:function(){var t=this.getTabs();this.navList=t,this.activeTab||(this.activeTab=t[0].name),this.updateState()},methods:{isActive:function(t){return t===this.activeTab},onTabClick:function(t){this.activeTab=t,this.$emit("input",this.activeTab),this.updateState()},updateState:function(){var e=this,t=this.getTabs();(this.navList=t).forEach(function(t){t.show=e.activeTab===t.name})},getTabs:function(){var e=this,t=this.$children.filter(function(t){return"cx-vui-tabs-panel"===t.$options.name}),i=[];return t.forEach(function(t){t.tab&&e.name?t.tab===e.name&&i.push(t):i.push(t)}),i}}},m={name:"cx-vui-tabs-panel",template:"#cx-vui-tabs-panel",props:{tab:{type:String,default:""},name:{type:String,default:""},label:{type:String,default:""}},data:function(){return{show:!1}},methods:{}};function g(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var b={name:"cx-vui-pagination",template:"#cx-vui-pagination",mixins:[r],props:{current:{type:Number,default:1},total:{type:Number,default:0},pageSize:{type:Number,default:10},prevText:{type:String,default:""},nextText:{type:String,default:""},customCss:{type:String,default:""},elementId:{type:String,default:""},conditions:{type:Array,default:function(){return[]}}},data:function(){return{baseClass:"cx-vui-pagination",currentPage:this.current,currentPageSize:this.pageSize}},watch:{total:function(t){var e=Math.ceil(t/this.currentPageSize);e<this.currentPage&&(this.currentPage=0===e?1:e)},current:function(t){this.currentPage=t},pageSize:function(t){this.currentPageSize=t}},computed:{classesList:function(){var t=[this.baseClass];return this.customCss&&t.push(this.customCss),t},prevClasses:function(){var t;return["".concat(this.baseClass,"-item"),"".concat(this.baseClass,"-prev"),(g(t={},"".concat(this.baseClass,"-disabled"),1===this.currentPage||!1),g(t,"".concat(this.baseClass,"-custom-text"),""!==this.prevText),t)]},nextClasses:function(){var t;return["".concat(this.baseClass,"-item"),"".concat(this.baseClass,"-next"),(g(t={},"".concat(this.baseClass,"-disabled"),this.currentPage===this.allPages||!1),g(t,"".concat(this.baseClass,"-custom-text"),""!==this.nextText),t)]},firstPageClasses:function(){return["".concat(this.baseClass,"-item"),g({},"".concat(this.baseClass,"-item-active"),1===this.currentPage)]},lastPageClasses:function(){return["".concat(this.baseClass,"-item"),g({},"".concat(this.baseClass,"-item-active"),this.currentPage===this.allPages)]},allPages:function(){var t=Math.ceil(this.total/this.currentPageSize);return 0===t?1:t}},methods:{changePage:function(t){this.currentPage!==t&&(this.currentPage=t,this.$emit("update:current",t),this.$emit("on-change",t))},prev:function(){var t=this.currentPage;if(t<=1)return!1;this.changePage(t-1)},next:function(){var t=this.currentPage;if(t>=this.allPages)return!1;this.changePage(t+1)},fastPrev:function(){var t=this.currentPage-5;0<t?this.changePage(t):this.changePage(1)},fastNext:function(){var t=this.currentPage+5;t>this.allPages?this.changePage(this.allPages):this.changePage(t)}}},y={name:"cx-vui-notice",template:"#cx-vui-notice",data:function(){return{stack:{},destroyQueue:{}}},methods:{addToStack:function(t,e){var i=this,n=setTimeout(function(){i.destroyItem(e)},t.duration);i.$set(i.stack,e,t),i.$set(i.destroyQueue,e,n)},destroyItem:function(t){this.$delete(this.stack,t),this.destroyQueue[t]&&(clearTimeout(this.destroyQueue[t]),this.$delete(this.destroyQueue,t))},destroyAll:function(){for(var t in this.destroyQueue)console.log(this.destroyQueue[t]),clearTimeout(this.destroyQueue[t]);this.stack={},this.destroyQueue={}},getIcon:function(t){var e;switch(t){case"success":e='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.38498 12.0188L13.5962 4.80751L12.4695 3.64319L6.38498 9.7277L3.53052 6.87324L2.40376 8L6.38498 12.0188ZM2.32864 2.3662C3.9061 0.788732 5.79656 0 8 0C10.2034 0 12.0814 0.788732 13.6338 2.3662C15.2113 3.91862 16 5.79656 16 8C16 10.2034 15.2113 12.0939 13.6338 13.6714C12.0814 15.2238 10.2034 16 8 16C5.79656 16 3.9061 15.2238 2.32864 13.6714C0.776213 12.0939 0 10.2034 0 8C0 5.79656 0.776213 3.91862 2.32864 2.3662Z"/></svg>';break;case"error":e='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.71489 10.1136V6.71605H7.28511V10.1136H8.71489ZM8.71489 13.4716V11.7728H7.28511V13.4716H8.71489ZM0 16L8 0L16 16H0Z"/></svg>';break;default:e='<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.78873 5.59624V3.98122H7.21127V5.59624H8.78873ZM8.78873 12.0188V7.21127H7.21127V12.0188H8.78873ZM2.32864 2.3662C3.9061 0.788732 5.79656 0 8 0C10.2034 0 12.0814 0.788732 13.6338 2.3662C15.2113 3.91862 16 5.79656 16 8C16 10.2034 15.2113 12.0939 13.6338 13.6714C12.0814 15.2238 10.2034 16 8 16C5.79656 16 3.9061 15.2238 2.32864 13.6714C0.776213 12.0939 0 10.2034 0 8C0 5.79656 0.776213 3.91862 2.32864 2.3662Z"/></svg>'}return e}}},w={instance:null,stack:{},newInstance:function(){var t=Vue.extend(y);this.instance=new t({propsData:{type:"primary"}}),this.instance.$mount(),document.body.appendChild(this.instance.$el)},getRandId:function(){return Math.random().toString(36).substring(2,7)+Math.random().toString(36).substring(2,7)},add:function(t,e){e=e||this.getRandId(),this.instance||this.newInstance(),t.duration=t.duration||4500,t.type=t.type||"info",this.instance.addToStack(t,e)},close:function(t){if(!t)return!1;t=t.toString(),this.instance&&this.instance.destroyItem(t)},closeAll:function(){this.instance.destroyAll()}},_={name:"cx-vui-input",template:"#cx-vui-input",mixins:[r],props:{type:{validator:function(t){return o(t,["text","textarea","password","url","email","date","number","tel"])},default:"text"},value:{type:[String,Number],default:""},size:{validator:function(t){return o(t,["small","large","default","fullwidth"])},default:"default"},placeholder:{type:String,default:""},maxlength:{type:Number},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},name:{type:String},autofocus:{type:Boolean,default:!1},autocomplete:{validator:function(t){return o(t,["on","off"])},default:"off"},elementId:{type:String},conditions:{type:Array,default:function(){return[]}},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{currentValue:this.value,currentId:this.elementId}},watch:{value:function(t){this.setCurrentValue(t)}},mounted:function(){!this.currentId&&this.name&&(this.currentId="cx_"+this.name)},computed:{controlClasses:function(){var t=["cx-vui-input"];return t.push("size-"+this.size),this.error&&t.push("has-error"),t}},methods:{handleEnter:function(t){this.$emit("on-enter",t)},handleKeydown:function(t){this.$emit("on-keydown",t)},handleKeypress:function(t){this.$emit("on-keypress",t)},handleKeyup:function(t){this.$emit("on-keyup",t)},handleFocus:function(t){this.$emit("on-focus",t)},handleBlur:function(t){this.$emit("on-blur",t)},handleInput:function(t){var e=t.target.value;this.$emit("input",e),this.setCurrentValue(e),this.$emit("on-change",t)},handleChange:function(t){this.$emit("on-input-change",t)},setCurrentValue:function(t){t!==this.currentValue&&(this.currentValue=t)}}},k={name:"cx-vui-textarea",template:"#cx-vui-textarea",mixins:[r],props:{value:{type:[String,Number],default:""},size:{validator:function(t){return o(t,["small","large","default","fullwidth"])},default:"default"},placeholder:{type:String,default:""},rows:{type:Number},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},name:{type:String},elementId:{type:String},conditions:{type:Array,default:function(){return[]}},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{currentValue:this.value,currentId:this.elementId}},watch:{value:function(t){this.setCurrentValue(t)}},mounted:function(){!this.currentId&&this.name&&(this.currentId="cx_"+this.name)},computed:{controlClasses:function(){var t=["cx-vui-textarea"];return t.push("size-"+this.size),this.error&&t.push("has-error"),t}},methods:{handleEnter:function(t){this.$emit("on-enter",t)},handleKeydown:function(t){this.$emit("on-keydown",t)},handleKeypress:function(t){this.$emit("on-keypress",t)},handleKeyup:function(t){this.$emit("on-keyup",t)},handleFocus:function(t){this.$emit("on-focus",t)},handleBlur:function(t){this.$emit("on-blur",t)},handleInput:function(t){var e=t.target.value;this.$emit("input",e),this.setCurrentValue(e),this.$emit("on-change",t)},handleChange:function(t){this.$emit("on-input-change",t)},setCurrentValue:function(t){t!==this.currentValue&&(this.currentValue=t)}}},S={name:"cx-vui-switcher",template:"#cx-vui-switcher",mixins:[r],props:{value:{type:[String,Number,Boolean],default:""},disabled:{type:Boolean,default:!1},name:{type:String},elementId:{type:String},conditions:{type:Array,default:function(){return[]}},returnTrue:{type:[String,Number,Boolean],default:!0},returnFalse:{type:[String,Number,Boolean],default:""},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{currentValue:this.value,currentId:this.elementId,isOn:!1,inFocus:!1}},watch:{value:function(t){this.setCurrentValue(t),t===this.returnTrue?this.isOn=!0:this.isOn=!1}},mounted:function(){!this.currentId&&this.name&&(this.currentId="cx_"+this.name),this.value===this.returnTrue&&(this.isOn=!0)},methods:{handleEnter:function(t){this.$emit("on-enter",t),this.switchState(),this.inFocus=!0},handleFocus:function(t){this.inFocus=!0,this.$emit("on-focus",t)},handleBlur:function(t){this.inFocus=!1,this.$emit("on-blur",t)},switchState:function(){var t;this.isOn=!this.isOn,t=this.isOn?this.returnTrue:this.returnFalse,this.$emit("input",t),this.setCurrentValue(t),this.$emit("on-change",event),this.inFocus=!1},handleChange:function(t){this.$emit("on-input-change",t)},setCurrentValue:function(t){t!==this.currentValue&&(this.currentValue=t)}}},C=i(1);function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function V(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?O(i,!0).forEach(function(t){T(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):O(i).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function T(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function $(n,t,o,e){var r=o.target;t[e].forEach(function(t){var e=t.el;if(e!==r&&!e.contains(r)){var i=t.binding;i.modifiers.stop&&o.stopPropagation(),i.modifiers.prevent&&o.preventDefault(),i.value.call(n,o)}})}function A(t,e){return t?(j[e]||(j[e]=function(t){$(this,B,t,e)}),j[e]):(P[e]||(P[e]=function(t){$(this,z,t,e)}),P[e])}var B=Object.create(null),z=Object.create(null),j=Object.create(null),P=Object.create(null),E=[B,z],L=Object.defineProperties({},{$captureInstances:{value:B},$nonCaptureInstances:{value:z},$captureEventHandlers:{value:j},$nonCaptureEventHandlers:{value:P},bind:{value:function(t,e){if("function"!=typeof e.value)throw new TypeError("Binding value must be a function.");var i=e.arg||"click",n=V({},e,{},{arg:i,modifiers:V({},{capture:!1,prevent:!1,stop:!1},{},e.modifiers)}),o=n.modifiers.capture,r=o?B:z;Array.isArray(r[i])||(r[i]=[]),1===r[i].push({el:t,binding:n})&&"object"===("undefined"==typeof document?"undefined":I(document))&&document&&document.addEventListener(i,A(o,i),o)}},unbind:{value:function(e){function o(t){return t.el!==e}E.forEach(function(i){var t=Object.keys(i);if(t.length){var n=i===B;t.forEach(function(t){var e=i[t].filter(o);e.length?i[t]=e:("object"===("undefined"==typeof document?"undefined":I(document))&&document&&document.removeEventListener(t,A(n,t),n),delete i[t])})}})}},version:{enumerable:!0,value:C.a}});var F={name:"cx-vui-iconpicker",template:"#cx-vui-iconpicker",mixins:[r],directives:{clickOutside:L},props:{value:{type:[String],default:""},size:{validator:function(t){return o(t,["small","large","default","fullwidth"])},default:"default"},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},name:{type:String},autofocus:{type:Boolean,default:!1},elementId:{type:String},autocomplete:{validator:function(t){return o(t,["on","off"])},default:"off"},conditions:{type:Array,default:function(){return[]}},iconBase:{type:String,default:""},iconPrefix:{type:String,default:""},icons:{type:Array,default:function(){return[]}},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{currentValue:this.value,currentId:this.elementId,filterQuery:"",panelActive:!1,prefixedIcons:[]}},watch:{value:function(t){this.setCurrentValue(t)}},mounted:function(){var e=this;!this.currentId&&this.name&&(this.currentId="cx_"+this.name),this.icons.forEach(function(t){e.prefixedIcons.push(e.iconPrefix+t)})},computed:{filteredIcons:function(){var e=this;return this.filterQuery?this.prefixedIcons.filter(function(t){return t.includes(e.filterQuery)}):this.prefixedIcons}},methods:{handleEnter:function(t){this.$emit("on-enter",t)},handleKeydown:function(t){this.$emit("on-keydown",t)},handleKeypress:function(t){this.$emit("on-keypress",t)},handleKeyup:function(t){this.$emit("on-keyup",t)},handleFocus:function(t){this.panelActive=!0,this.$emit("on-focus",t)},handleBlur:function(t){this.$emit("on-blur",t)},seclectIcon:function(t){this.$emit("input",t),this.setCurrentValue(t),this.$emit("on-change",t),this.closePanel()},handleInput:function(t){var e=t.target.value;this.filterQuery=e,this.$emit("input",e),this.setCurrentValue(e),this.$emit("on-change",t)},handleChange:function(t){this.$emit("on-input-change",t)},setCurrentValue:function(t){t!==this.currentValue&&(this.currentValue=t)},onClickOutside:function(){this.closePanel()},closePanel:function(){this.panelActive&&(this.panelActive=!1,this.filterQuery="",this.$emit("on-panel-closed"))}}};function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var M={name:"cx-vui-select",template:"#cx-vui-select",mixins:[r],props:{value:{type:[String,Number,Array],default:""},size:{validator:function(t){return o(t,["small","large","default","fullwidth"])},default:"default"},placeholder:{type:String,default:""},optionsList:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},name:{type:String},multiple:{type:Boolean,default:!1},elementId:{type:String},conditions:{type:Array,default:function(){return[]}},remote:{type:Boolean,default:!1},remoteCallback:{type:Function},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{options:this.optionsList,currentValue:this.value,currentId:this.elementId}},watch:{value:function(t){this.storeCurrentValue(t)},optionsList:function(t){this.setOptions(t)}},created:function(){this.multiple?this.currentValue&&"object"!==N(this.currentValue)&&(this.currentValue=[this.currentValue]):this.currentValue&&"object"===N(this.currentValue)&&(this.currentValue=this.currentValue[0])},mounted:function(){var e=this;if(!this.currentId&&this.name&&(this.currentId="cx_"+this.name),this.remote&&this.remoteCallback){var t=this.remoteCallback();t&&t.then&&t.then(function(t){t&&(e.options=t)})}},methods:{controlClasses:function(){var t=["cx-vui-select"];return t.push("size-"+this.size),t},handleFocus:function(t){this.$emit("on-focus",t)},handleBlur:function(t){this.$emit("on-blur",t)},handleInput:function(){this.$emit("input",this.currentValue),this.$emit("on-change",event)},storeCurrentValue:function(t){if(this.multiple){if(o(t,this.currentValue))return;"object"===N(t)?"[object Array]"===Object.prototype.toString.call(t)?this.currentValues.concat(t):this.currentValues.push(t):this.currentValue.push(t)}else{if(t===this.currentValue)return;this.currentValue=t}},setOptions:function(t){this.options=t},isOptionSelected:function(t){return!!this.currentValue&&(this.multiple?o(t.value,this.currentValue):t.value===this.currentValue)}}};function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var R={name:"cx-vui-f-select",template:"#cx-vui-f-select",mixins:[r],directives:{clickOutside:L},props:{value:{type:[String,Number,Array],default:""},placeholder:{type:String,default:""},optionsList:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},name:{type:String},error:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},elementId:{type:String},autocomplete:{validator:function(t){return o(t,["on","off"])},default:"off"},conditions:{type:Array,default:function(){return[]}},remote:{type:Boolean,default:!1},remoteCallback:{type:Function},remoteTrigger:{type:Number,default:3},remoteTriggerMessage:{type:String,default:"Please enter %d char(s) to start search"},notFoundMeassge:{type:String,default:"There is no items find matching this query"},loadingMessage:{type:String,default:"Loading..."},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{options:this.optionsList,currentValues:this.value,currentId:this.elementId,selectedOptions:[],query:"",inFocus:!1,optionInFocus:!1,loading:!1,loaded:!1}},watch:{value:function(t,e){if(this.multiple){if(function(t,e){if(t.length!==e.length)return!1;for(var i=t.length;i--;)if(t[i]!==e[i])return!1;return!0}(t,e))return}else if(t===e)return;this.storeValues(t)},optionsList:function(t){this.setOptions(t)}},created:function(){this.currentValues?"object"!==D(this.currentValues)&&("[object Array]"===Object.prototype.toString.call(this.currentValues)||(this.currentValues=[this.currentValues])):this.currentValues=[]},mounted:function(){var e=this;!this.currentId&&this.name&&(this.currentId="cx_"+this.name),this.remote&&this.remoteCallback&&this.currentValues.length?this.remoteUpdateSelected():this.currentValues.length&&this.options.forEach(function(t){o(t.value,e.currentValues)&&e.selectedOptions.push(t)})},computed:{filteredOptions:function(){var e=this;return this.query?this.options.filter(function(t){return!!e.remote||(t.label.includes(e.query)||t.value.includes(e.query))}):this.options},parsedRemoteTriggerMessage:function(){return this.remoteTriggerMessage.replace(/\%d/g,this.charsDiff)},charsDiff:function(){var t=0;return this.query&&(t=this.query.length),this.remoteTrigger-t}},methods:{remoteUpdateSelected:function(){var e=this;this.loading=!0;var t=this.remoteCallback(this.query,this.currentValues);t&&t.then&&t.then(function(t){t&&(e.selectedOptions=t,e.loaded=!0,e.loading=!1)})},setValues:function(t){t=t||[],this.selectedOptions=[],this.currentValues=[],this.storeValues(t)},handleFocus:function(t){this.inFocus=!0,this.$emit("on-focus",t)},handleOptionsNav:function(t){"ArrowUp"!==t.key&&"Tab"!==t.key||this.navigateOptions(-1),"ArrowDown"===t.key&&this.navigateOptions(1)},navigateOptions:function(t){!1===this.optionInFocus&&(this.optionInFocus=-1);var e=this.optionInFocus+t,i=this.options.length-1;i<0&&(i=0),e<0?e=0:i<e&&(e=i),this.optionInFocus=e},onClickOutside:function(t){this.inFocus&&(this.inFocus=!1,this.$emit("on-blur",t))},handleInput:function(t){var e=this,i=t.target.value;if(this.query=i,this.$emit("input",this.currentValues),this.$emit("on-change",t),this.inFocus||(this.inFocus=!0),this.remote&&this.remoteCallback&&this.charsDiff<=0&&!this.loading&&!this.loaded){this.loading=!0;var n=this.remoteCallback(this.query,[]);n&&n.then&&n.then(function(t){t&&(e.options=t,e.loaded=!0,e.loading=!1)})}else this.remote&&this.remoteCallback&&this.loaded&&0<this.charsDiff&&this.resetRemoteOptions()},handleEnter:function(){if(!1!==this.optionInFocus&&this.options[this.optionInFocus]){var t=this.options[this.optionInFocus].value;this.handleResultClick(t)}},handleResultClick:function(t){o(t,this.currentValues)?this.removeValue(t):this.storeValues(t),this.$emit("input",this.currentValues),this.$emit("on-change",this.currentValues),this.inFocus=!1,this.optionInFocus=!1,this.query="",this.remote&&this.remoteCallback&&this.loaded&&this.resetRemoteOptions()},resetRemoteOptions:function(){this.options=[],this.loaded=!1},removeValue:function(t){this.currentValues.splice(this.currentValues.indexOf(t),1),this.removeFromSelected(t)},removeFromSelected:function(i){var n=this;this.selectedOptions.forEach(function(t,e){t.value===i&&n.selectedOptions.splice(e,1)})},pushToSelected:function(e,i){var n=this;this.options.forEach(function(t){t.value===e&&(i?n.selectedOptions=[t]:n.selectedOptions.push(t))})},storeValues:function(t){var e=this;o(t,this.currentValues)||(this.multiple?"object"===D(t)&&"[object Array]"===Object.prototype.toString.call(t)?t.forEach(function(t){o(t,e.currentValues)||(e.currentValues.push(t),e.pushToSelected(t))}):(this.currentValues.push(t),this.pushToSelected(t)):"object"===D(t)&&"[object Array]"===Object.prototype.toString.call(t)?(this.currentValues=t).forEach(function(t){e.pushToSelected(t,!0)}):(this.currentValues=[t],this.pushToSelected(t,!0)))},setOptions:function(t){this.options=t},isOptionSelected:function(t){return!!this.currentValues&&o(t.value,this.currentValues)}}},U={name:"cx-vui-checkbox",template:"#cx-vui-checkbox",mixins:[r],props:{returnType:{validator:function(t){return o(t,["array","object","single"])},default:"object"},value:{default:""},disabled:{type:Boolean,default:!1},name:{type:String},optionsList:{type:Array,default:function(){return[]}},returnTrue:{type:[Boolean,String,Number],default:!0},returnFalse:{type:[Boolean,String,Number],default:!1},elementId:{type:String},conditions:{type:Array,default:function(){return[]}},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{currentValues:this.value,currentId:this.elementId,optionInFocus:null}},watch:{value:function(t){this.setCurrentValues(t)}},mounted:function(){!this.currentId&&this.name&&(this.currentId="cx_"+this.name)},computed:{inputType:function(){return"array"===this.returnType?"checkbox":"hidden"}},methods:{inputValue:function(t){return"checkbox"===this.inputType?this.returnTrue:this.isChecked(t)?this.returnTrue:this.returnFalse},isChecked:function(t){if(!this.currentValues)return!1;switch(this.returnType){case"single":return t===this.currentValues;case"array":return o(t,this.currentValues);case"object":return!!this.currentValues[t]&&this.currentValues[t]===this.returnTrue}},handleEnter:function(t){this.$emit("on-enter",t)},handleClick:function(t){this.$emit("on-click",t)},handleFocus:function(t,e){this.disabled||(this.optionInFocus=e,this.$emit("on-focus",t,e))},handleBlur:function(t,e){this.disabled||(e===this.optionInFocus&&(this.optionInFocus=null),this.$emit("on-blur",t,e))},handleParentFocus:function(){this.disabled||null===this.optionInFocus&&this.optionsList.length&&(this.optionInFocus=this.optionsList[0].value)},handleInput:function(t,e){this.disabled||(this.updateValueState(e),this.$emit("input",this.currentValues),this.$emit("on-change",t))},isOptionInFocus:function(t){return t===this.optionInFocus},updateValueState:function(t){switch(this.returnType){case"single":t!==this.currentValues&&(this.currentValues=t);break;case"array":o(t,this.currentValues)?this.currentValues.splice(this.currentValues.indexOf(t),1):this.currentValues.push(t);break;case"object":this.currentValues[t]&&this.currentValues[t]===this.returnTrue?this.$set(this.currentValues,t,this.returnFalse):this.$set(this.currentValues,t,this.returnTrue)}},setCurrentValues:function(t){switch(this.returnType){case"single":t!==this.currentValues&&(this.currentValues=t);break;case"array":case"object":this.currentValues=t}}}},H={name:"cx-vui-radio",template:"#cx-vui-radio",mixins:[r],props:{value:{default:""},disabled:{type:Boolean,default:!1},name:{type:String},optionsList:{type:Array,default:function(){return[]}},elementId:{type:String},conditions:{type:Array,default:function(){return[]}},preventWrap:{type:Boolean,default:!1},label:{type:String},description:{type:String},wrapperCss:{type:Array,default:function(){return[]}}},data:function(){return{currentValue:this.value,currentId:this.elementId,optionInFocus:null}},watch:{value:function(t){this.setCurrentValue(t)}},mounted:function(){!this.currentId&&this.name&&(this.currentId="cx_"+this.name)},methods:{handleEnter:function(t){this.$emit("on-enter",t)},handleClick:function(t){this.$emit("on-click",t)},handleFocus:function(t,e){this.disabled||(this.optionInFocus=e,this.$emit("on-focus",t,e))},handleBlur:function(t,e){this.disabled||(e===this.optionInFocus&&(this.optionInFocus=null),this.$emit("on-blur",t,e))},handleInput:function(t,e){this.disabled||(this.setCurrentValue(e),this.$emit("input",this.currentValue),this.$emit("on-change",t))},isOptionInFocus:function(t){return t===this.optionInFocus},setCurrentValue:function(t){t!==this.currentValue&&(this.currentValue=t)}}};i(2);Vue.component(n.name,n),Vue.component(a.name,a),Vue.component(s.name,s),Vue.component(c.name,c),Vue.component(l.name,l),Vue.component(d.name,d),Vue.component(p.name,p),Vue.component(h.name,h),Vue.component(f.name,f),Vue.component(x.name,x),Vue.component(v.name,v),Vue.component(m.name,m),Vue.component(b.name,b),Vue.component(_.name,_),Vue.component(k.name,k),Vue.component(S.name,S),Vue.component(F.name,F),Vue.component(M.name,M),Vue.component(R.name,R),Vue.component(U.name,U),Vue.component(H.name,H),Vue.prototype.$CXNotice=w}]);