whisper.cat/weboasis/crypto/assets/widget.js
2023-10-05 23:28:32 +11:00

2 lines
155 KiB
JavaScript

!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="http://192.168.1.101:8000/",n(n.s=19)}([function(t,e,n){"use strict";var o=X4CryptoTables;window[o];e.a={components:function(t){var e={};for(var n in t)e[n]=t[n].default;return e},variables:function(t){var e=function(e){var n=t[e];t[e]=function(){var t=[].slice.call(arguments);return t.unshift({state:this.$store.state,getters:this.$store.getters,commit:this.$store.commit,dispatch:this.$store.dispatch}),n.apply(this,t)}};for(var n in t)e(n);return t}}},function(t,e,n){"use strict";function o(t,e,n,o,i,s,r,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),r?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return o})},function(t,e,n){"use strict";n.r(e);var o={props:["scale","colors"],data:function(){return{text:this.$slots.default?this.$slots.default[0].text:""}},updated:function(){this.$slots.default&&this.text!==this.$slots.default[0].text&&(this.text=this.$slots.default[0].text)},computed:{ascale:function(){return parseFloat(this.scale||this.$vnode.context.scale)||1},acolors:function(){return this.colors||this.$root.colors||this.$store.state.colors},output:function(){var t=this,e="",n=this.text;n=this.applyScale(n),n=this.applyColor(n);var o=this.buildBlocks(n),i=o.blocks,s=o.extraBlocks;return i=this.buildMultiBlocks(i),s.forEach(function(e){e.blocks=t.buildMultiBlocks(e.blocks)}),e+=this.buildOutput(i),e+=this.buildExtraOutput(s)}},methods:{buildBlocks:function(t){var e=[],n=[],o=[],i=[],s={key:!1,name:!1,blocks:[]},r=function(){0!==o.length&&((s.name?s.blocks:e).push({selector:n,props:o}),o=[])};return t.split("\n").forEach(function(t){var e=t.trim(),a=e.split(": ");if(0!==e.length){if(e.match(/\{$/))return r(),e.match(/^@/)&&(s.key=e.match(/^(@[^\s]+)\s/)[1]),void(s.name=e.match(/^(.+)\{$/)[1].trim());if("}"===e)return r(),s.blocks.length>0&&i.push(s),void(s={key:!1,name:!1,blocks:[]});if(1===a.length){r();var l=Math.ceil(t.match(/^\s*/)[0].length/2)-(s.name?1:0);(n=n.slice(0,l+1))[l]=e}else o.push({name:a[0].trim(),value:a.slice(1).join(":").trim()})}}),r(),{blocks:e,extraBlocks:i}},applyScale:function(t){var e=this;return t.replace(/\$scale\(([^)]+)\)/g,function(t,n){return 1!==e.ascale&&(n=n.replace(/[0-9.]+/g,function(t){return e.ascale*parseFloat(t)})),n})},applyColor:function(t){var e=this;return t.replace(/\$color\(([^)]+)\)/g,function(t,n){var o=n.split(",")[0].trim(),i=(n.split(",")[1]||"").trim();if(n=e.acolors[o],i){var s=parseFloat(i);e.acolors.dark&&s<=.16&&"!"!==i.substr(i.length-1,1)&&(s*=2),s<1&&(s=s.toString().replace("0.",".")),n=n.replace(/,\s*[0-9.]+\s*\)$/g,","+s+")")}return n})},buildMultiBlocks:function(t){var e=[];return t.forEach(function(t){var n=[[]];t.selector.forEach(function(t,e){var o=[];t=t.split(",");for(var i=function(i){n.forEach(function(n){var s=n.slice();s[e]=t[i].trim(),o.push(s)})},s=0;s<t.length;s++)i(s);n=o}),n.forEach(function(n){e.push(Object.assign({},t,{selector:n}))})}),e},buildOutput:function(t,e){var n=this,o="",i=["@font-face"];return t.forEach(function(t){if(!(e=e||-1!==i.indexOf(t.selector[0]))){var s=t.selector[0].split(" ");s[0]+='[data-x4wp="'+(n.$vnode.context.x4wp||n.$parent.x4wp)+'"]',t.selector[0]=s.join(" ")}t.selector=t.selector.join(" ").replace(/ &/g,""),t.selector=t.selector.replace(/ > /g,">");var r=t.props.map(function(t){return t.name+":"+t.value});o+=t.selector+"{"+r.join(";")+"}"}),o},buildExtraOutput:function(t){var e=this,n="",o=["@block","@keyframes"];return t.forEach(function(t){var i=-1!==o.indexOf(t.key),s=e.buildOutput(t.blocks,i);n+="@block"!==t.key?t.name+"{"+s+"}":s}),n}}},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("Style",{attrs:{type:"text/css"},domProps:{innerHTML:this._s(this.output)}})},[],!1,null,null,null);s.options.__file="Style.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["tag","level"],created:function(){var t=this.$parent;if(this.x4wp=t.x4wp?t.x4wp:Math.random().toString(36).substr(2,8),this.level)for(var e=this,n=0;n<this.level;n++)e.$parent.x4wp=this.x4wp,e=this.$parent;else for(;!t.x4wp&&t!==this.$root;)t.x4wp=this.x4wp,t=t.$parent},computed:n(0).a.variables({atag:function(){return this.tag||"div"}})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement;return(this._self._c||t)(this.atag,{tag:"div",attrs:{"data-x4wp":this.x4wp}},[this._t("default")],2)},[],!1,null,null,null);s.options.__file="DIV.vue";e.default=s.exports},function(t,e,n){"use strict";e.a=function(t){var e=window.wp;return e&&e.i18n?e.i18n.__(t,"x4-crypto-tables"):t}},function(t,e,n){"use strict";e.a=function(t,e,n){var o=function(){t()&&(s||clearInterval(r),e())},i=n&&n.timeout?n.timeout:100,s=!(!n||!n.endless)&&n.endless,r=setInterval(o,i);o()}},function(t,e,n){"use strict";n.r(e);var o={props:["icon"],data:function(){return{visible:!document.fonts||!document.fonts.check||document.fonts.check("12px 'Material Icons'")}},mounted:function(){var t=this;this.visible||document.fonts.load("12px 'Material Icons'").then(function(e){e.length>0&&(t.visible=!0)})},computed:{baseClass:function(){var t={"x4-ui-icon":!0,"material-icons":!0};return t}}},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("i",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],class:this.baseClass},[this._v(this._s(this.icon)),this._t("default")],2)},[],!1,null,null,null);s.options.__file="Icon.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e),n.d(e,"buildStore",function(){return r});n(20);var o=n(5),i=window.x4wp,s=window.X4CryptoTables;i.builders.X4CryptoTables;function r(t){var e=t.slug,o=t.options,i=(window.Vue,l(o));return(0,n(18).default)(i.type,{slug:e,options:i})}function a(t){var e=window.Vue;if(t){var o=t.selector+":not(.x4-rendered)",i=document.querySelector(o);if(i){i.classList.add("x4-rendered");for(var r={},a=0;a<i.attributes.length;a++)r[i.attributes[a].name]=i.attributes[a].value;var c=Math.random().toString(36).substr(2,8),u=l(t);s.widgets=s.widgets||{},s.widgets[c]={init:t,options:u};var p=n(18).default,h=s.widgets[c].store=p(u.type,{slug:c,options:u});h.dispatch("bootstrap");var d=n(99).default;s.widgets[c].app=new e({store:h,el:i,render:function(t){return t(d)},data:function(){return{attributes:r}}});return c}}}function l(t){var e=t.type||"coinTable",n=s.defaults[e],o=c({},t,n,t,n);return delete(o=c(o,n,t,t,n)).changes,function(t,e,n){if(n.changes&&n.changes[e.theme]&&n.changes[e.theme][e.subtheme]){var o=n.changes[e.theme][e.subtheme];for(var i in o)o[i].forEach(function(n){var o=t;if(n.path.split(".").forEach(function(t){o=void 0!==o&&void 0!==o[t]?o[t]:void 0}),void 0===o){var i=n.path.split("."),s=i.pop(),r=e;i.forEach(function(t){return r=r[t]}),r[s]=n.value}})}}(t,o,n),o}function c(t,e,n,o,i){for(var s in e)Array.isArray(e[s])?(t[s]=void 0!==o[s]?o[s]:i[s],t[s]=JSON.parse(JSON.stringify(t[s]))):e[s]instanceof Object?Object.keys(e[s]).length>0&&(t[s]=c(t[s]||{},e[s]||{},n[s]||{},o[s]||{},i[s]||{})):t[s]=void 0!==o[s]?o[s]:i[s];return t}i.wait=i.wait||o.a,s.defaults={coinTable:{type:"coinTable",theme:"material",subtheme:"filled",layout:"full-featured",sublayout:"1",margins:{fixed:!1,left:0,right:0,top:48,bottom:48,width:1280},colors:{dark:!1,primary:"rgba(0,0,0,.87)",inverted:"rgba(255,255,255,1)",accent:"rgba(0,188,212,1)",flashGreen:"rgba(185,246,202,.5)",flashRed:"rgba(252,228,236,.5)",badgeGreenText:"rgba(102,187,106,1)",badgeGreenBack:"rgba(185,246,202,1)",badgeRedText:"rgba(240,98,146,1)",badgeRedBack:"rgba(252,228,236,1)",coin1:"rgba(0,188,212,1)",coin2:"rgba(0,188,212,1)",coin3:"rgba(0,188,212,1)",coin4:"rgba(0,188,212,1)",crosshair:"rgba(244,67,54,1)"},controls:{coinTable:{visible:!0,showOrder:["rank","name","mktcap","price","vwap","change24h","volume","supply","actions"],hideOrder:["supply","volume","vwap","change24h","mktcap","actions","rank","price"],actionsOrder:["buy","sell","more","website","explorer"],columns:{rank:{visible:!0,title:"#",sort:"asc",align:"right",badge:{visible:!0,value:"change24h"}},name:{visible:!0,title:"Name",sort:"asc",align:"left",format:{template:"[icon] [name] ([short])"}},mktcap:{visible:!0,title:"Market Cap",sort:"desc",align:"right",badge:{visible:!1,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:0}},price:{visible:!0,title:"Price",sort:"desc",align:"right",badge:{visible:!0,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:2}},vwap:{visible:!0,title:"VWAP",sort:"desc",align:"right",badge:{visible:!0,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:2}},supply:{visible:!0,title:"Supply",sort:"desc",align:"right",badge:{visible:!1,value:"change"},format:{template:"[value]",factor:"",separator:",",precision:0}},volume:{visible:!0,title:"Volume",sort:"desc",align:"right",badge:{visible:!1,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:0}},change24h:{visible:!0,title:"%24h",sort:"desc",align:"right",badge:{visible:!0,value:"change24h"},format:{template:"[value]%",factor:"",separator:",",precision:2}},actions:{visible:!0,title:"Actions",sort:!1,align:"center",value:"actions"}},formatters:{name:["template","coin"],mktcap:["price","number","template","fiat"],price:["price","number","template","fiat"],vwap:["price","number","template","fiat"],supply:["number","template"],volume:["price","number","template","fiat"],change24h:["number","template"]},actions:{buy:{visible:!0,colorize:!0,icon:"shopping_cart",label:"Buy",tooltip:"Buy Coins",url:"https://coinswitch.co/?from=[fiat_lc]&to=[coin_lc]&ref=02D3XFGEBD",blank:!0},sell:{visible:!0,colorize:!0,icon:"local_mall",label:"Sell",tooltip:"Sell Coins",url:"https://coinswitch.co/?from=[coin_lc]&ref=02D3XFGEBD",blank:!0},more:{visible:!1,colorize:!0,icon:"launch",label:!1,tooltip:"Read More",url:"https://coincap.io/assets/[id]",blank:!0},website:{visible:!1,colorize:!0,icon:"public",label:!1,tooltip:"Open Coin Website",url:!0,blank:!0},explorer:{visible:!1,colorize:!0,icon:"equalizer",label:!1,tooltip:"Open Coin Explorer",url:!0,blank:!0}},background:{table:!0,header:!1,sort:!1,hover:!0,zebra:!1,even:!1},grid:{border:!1,horizontal:!0,vertical:!1},flashes:{visible:!0,threshold:1e-4},responsive:{cellPaddingThreshold:960},popup:{visible:!0}},fiatSelect:{visible:!0,icon:"monetization_on",label:"Fiat currency",items:"getters.controls/fiatSelect",itemValue:"id",itemTemplate:"[short]",top:["united-states-dollar","euro","japanese-yen","british-pound-sterling","bitcoin","ethereum"]},perPageSelect:{visible:!0,icon:"layers",label:"Coins per page",items:"state.selections.perPage",itemValue:"value",itemTitle:"title"},searchInput:{visible:!0,icon:"search",label:"Search for coins"},coinTabs:{visible:!0,items:"state.selections.coinTab",itemValue:"value",itemTitle:"title",itemIcon:"icon"},coinColumn:{visible:!0,rowsOrder:["rank","trade","name","links","mktcap","price","vwap","change24h","volume","supply","more"],rows:{rank:{visible:!0,title:"Rank",badge:{visible:!0,value:"change24h"}},trade:{items:["buy","sell"],buy:{visible:!0,colorize:!0,icon:"shopping_cart",label:"Buy",tooltip:"Buy Coins",url:"https://coinswitch.co/?from=[fiat_lc]&to=[coin_lc]&ref=02D3XFGEBD",blank:!0},sell:{visible:!0,colorize:!0,icon:"local_mall",label:"Sell",tooltip:"Sell Coins",url:"https://coinswitch.co/?from=[coin_lc]&ref=02D3XFGEBD",blank:!0}},name:{visible:!1,title:"",format:{template:"[icon] [name] ([short])"}},links:{items:["website","explorer"],website:{visible:!0,colorize:!0,icon:"public",label:"Website",tooltip:"Open Coin Website",url:!0,blank:!0,subtheme:"standard"},explorer:{visible:!0,colorize:!0,icon:"equalizer",label:"Explorer",tooltip:"Open Coin Explorer",url:!0,blank:!0,subtheme:"standard"}},mktcap:{visible:!0,title:"Market Cap",badge:{visible:!1,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:0}},price:{visible:!0,title:"Price",badge:{visible:!0,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:2}},vwap:{visible:!0,title:"VWAP",badge:{visible:!0,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:2}},supply:{visible:!0,title:"Supply",badge:{visible:!1,value:"change"},format:{template:"[value]",factor:"",separator:",",precision:0}},volume:{visible:!0,title:"Volume",badge:{visible:!1,value:"change"},format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:0}},change24h:{visible:!0,title:"24h Change",badge:{visible:!0,value:"change24h"},format:{template:"[value]%",factor:"",separator:",",precision:2}},more:{visible:!0,colorize:!0,icon:"launch",label:"Read More",tooltip:"Read More",url:"https://coincap.io/assets/[id]",blank:!0,subtheme:"outlined"}},formatters:{name:["template","coin"],mktcap:["price","number","template","fiat"],price:["price","number","template","fiat"],vwap:["price","number","template","fiat"],supply:["number","template"],volume:["price","number","template","fiat"],change24h:["number","template"]}},lineChart:{visible:!0,height:400,format:{template:"[symbol][value] [short]",factor:"",separator:",",precision:"auto"},line:{fill:!0,colorize:!0,thickness:2,smoothness:4},legend:{visible:!1,template:"[coin]/[fiat]"},scales:{visible:!0,horizontal:!0,vertical:!0},tooltip:{visible:!0,date:!0},crosshair:{visible:!0,horizontal:!0,vertical:!0,dotted:!1},watermark:{visible:!0,template:"[coin1]/[fiat]"},loader:{visible:!0,colorize:!0}},periodSelect:{visible:!0,items:"state.selections.period",itemValue:"value",itemTitle:"title"},pagerBlock:{visible:!0,items:"state.entities.coins2",label:"Showing [from]-[to] of [total] coins"},loader:{visible:!0,colorize:!0,size:200}},values:{sort:"rank:asc",fiat:"united-states-dollar",perPage:20,search:"",coinTab:"chart",period:31536e6,page:1},changes:{material:{filled:{coinTable:[{path:"controls.coinTable.background.table",value:!0},{path:"controls.coinTable.grid.border",value:!1}]},outlined:{coinTable:[{path:"controls.coinTable.background.table",value:!1},{path:"controls.coinTable.grid.border",value:!0}]},standard:{coinTable:[{path:"controls.coinTable.background.table",value:!1},{path:"controls.coinTable.grid.border",value:!1}]}}},selections:{perPage:[{value:5,title:"5"},{value:10,title:"10"},{value:15,title:"15"},{value:20,title:"20"},{value:25,title:"25"},{value:30,title:"30"},{value:40,title:"40"},{value:50,title:"50"},{value:75,title:"75"},{value:100,title:"100"}],coinTab:[{value:"chart",icon:"show_chart",title:"Chart"}],period:[{value:63072e6,title:"2 years"},{value:31536e6,title:"365 days"},{value:15552e6,title:"180 days"},{value:7776e6,title:"90 days"},{value:2592e6,title:"30 days"},{value:6048e5,title:"7 days"},{value:864e5,title:"24 hours"}]}}},s.multiValues={coinTable:{coinTab:!0,period:!0}},s.hiddenValues={coinTable:{}},Object(o.a)(function(){return!!window.Promise&&!!window.Vue&&!!window.Vuex},function(){var t=s.push;s.push=function(){t.apply(this,arguments),a.apply(this,arguments)},s.forEach(a)})},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["color","opacity","speed","transition","theme","nostyle"],components:o.a.components({DIV:n(3),Style:n(2),Core:n(107)}),data:function(){return{id:0,ripples:[],rippleCount:0,mouseuped:!0,keepLastRipple:!1}},mounted:function(){this.$el.parentNode.addEventListener("mousedown",this.mousedown),this.$el.parentNode.addEventListener("mouseup",this.mouseup)},beforeDestroy:function(){this.clearRipples()},computed:o.a.variables({visible:function(){return"material"===this.theme},baseClass:function(){return{"x4-ui-ripple":!0}},options:function(t){t.state;return{color:"rgba(255,255,255,1)",transition:"ease",opacity:.32,speed:1}},showRipple:function(){return this.rippleCount>0}}),methods:{mouseup:function(t){this.mouseuped=!0,this.keepLastRipple&&this.clearRipples()},mousedown:function(t){this.mouseuped=!1;var e=this.$el.parentNode.getBoundingClientRect(),n=e.top,o=e.left,i=t.clientX-o,s=t.clientY-n,r=this.getRippleSize(i,s),a=r.size,l=r.left,c=r.top;this.ripples.push({id:this.id+=1,styles:{size:a,left:l,top:c}})},handleRippleEnd:function(t){var e=-1;this.ripples.forEach(function(n,o){n.id===t&&(e=o)}),e>-1&&(this.mouseuped||e!==this.ripples.length-1?this.ripples.splice(e,1):this.keepLastRipple=!0)},getRippleSize:function(t,e){var n=this.$el.parentNode.clientWidth,o=this.$el.parentNode.clientHeight,i=[[0,0],[n,0],[0,o],[n,o]].map(function(n){return Math.sqrt(Math.pow(n[0]-t,2)+Math.pow(n[1]-e,2))}),s=2*Math.max.apply({},i);return{size:s,left:t-s/2,top:e-s/2}},clearRipples:function(){this.ripples=[]},rippleEnter:function(){this.rippleCount+=1},rippleLeave:function(){this.rippleCount-=1}}},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("DIV",{directives:[{name:"show",rawName:"v-show",value:t.showRipple,expression:"showRipple"}],class:t.baseClass},[n("transition-group",{staticClass:"x4-inside",attrs:{tag:"div",name:"x4"},on:{enter:t.rippleEnter,"after-leave":t.rippleLeave}},t._l(t.ripples,function(e){return n("Core",{key:e.id,attrs:{id:e.id,color:t.color||t.options.color,speed:t.speed||t.options.speed,opacity:t.opacity||t.options.opacity,transition:t.transition||t.options.transition,styles:e.styles},on:{end:t.handleRippleEnd}})})),t.nostyle?t._e():n("Style",[t._v(".x4-ui-ripple\n height: 100%\n left: 0\n pointer-events: none\n position: absolute\n top: 0\n width: 100%\n\n .x4-inside\n display: block\n height: 100%\n overflow: hidden\n position: relative\n width: 100%\n\n .x4-core\n border-radius: 50%\n display: block\n position: absolute\n\n &.x4-leave-to\n opacity: 0!important\n")])],1):t._e()},[],!1,null,null,null);r.options.__file="Ripple.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(4),i=n(0),s={themes:i.a.components({material:n(91)}),subthemes:{material:i.a.components({filled:n(95),outlined:n(94),standard:n(93)})}},r={props:["type","value","options","scale"],components:i.a.components({Style:n(2),Icon:n(6),DropDown:n(15)}),data:function(){return{focused:!1,dirty:null!==this.value&&""!==this.value,avalue:this.value,keyPhrase:"",keyLastTime:(new Date).getTime()}},mounted:function(){this.$parent.$refs.input=this.$refs.input,window.addEventListener("keypress",this.keypress)},updated:function(){this.$parent.$refs.input=this.$refs.input},destroyed:function(){window.removeEventListener("keypress",this.keypress)},watch:{value:function(t){this.avalue=t,this.dirty=null!==t&&""!==this.value}},computed:i.a.variables({visible:function(){return!this.options||void 0===this.options.visible||this.options.visible},icon:function(){return this.options&&this.options.icon?this.options.icon:null},label:function(){return this.options&&this.options.label?Object(o.a)(this.options.label):""},theme:function(t){var e=t.state,n=this.options&&this.options.theme?this.options.theme:this.$root.theme||e.theme;return s.themes[n]?n:"material"},subtheme:function(t){var e=t.state,n=this.options&&this.options.subtheme?this.options.subtheme:this.$root.subtheme||e.subtheme;return s.subthemes[this.theme][n]?n:"filled"},colors:function(t){var e=t.state,n=this.$root.colors||e.colors;return this.options&&this.options.colors?Object.assign({},n,this.options.colors):n},themeComponent:function(){return s.themes[this.theme]},subthemeComponent:function(){return s.subthemes[this.theme][this.subtheme]},atype:function(){return this.type||"text"},isSelect:function(){return"select"===this.atype},isTextarea:function(){return"textarea"===this.atype},amin:function(){return this.options&&void 0!==this.options.min?this.options.min:null},amax:function(){return this.options&&void 0!==this.options.max?this.options.max:null},astep:function(){return this.options&&void 0!==this.options.step?this.options.step:null},baseClass:function(){var t={"x4-ui-input":!0};return t["x4-type-"+this.atype]=!0,t["x4-theme-"+this.theme]=!0,t["x4-subtheme-"+this.subtheme]=!0,t["x4-no-label"]=!this.label,t["x4-no-icon"]=!this.icon,t["x4-dirty"]=this.dirty,t["x4-focused"]=this.focused,t["x4-transition"]=!0,t["x4-clearfix"]=!0,t},aitems:function(t){return t.getters["helpers/items/src"]({src:this.options.items})},menuHash:function(t){return t.getters["helpers/items/menu/hash"]({items:this.aitems,itemValue:this.options.itemValue,itemTitle:this.options.itemTitle,itemTemplate:this.options.itemTemplate,hasNull:this.options.hasNull})},menuOptions:function(t){return t.getters["helpers/items/menu/options"]({items:this.aitems,itemValue:this.options.itemValue,hasNull:this.options.hasNull})},atitle:function(){return this.menuHash[this.avalue]}}),methods:i.a.variables({focus:function(){var t=this;this.focused=!0,this.$nextTick(function(){t.$refs.menu&&t.$refs.option_active&&t.$refs.option_active.length>0&&t.$refs.option_active[0].offsetTop>=6*t.$refs.option_active[0].offsetHeight&&(t.$refs.menu.$el.scrollTop=t.$refs.option_active[0].offsetTop-t.$refs.option_active[0].offsetHeight)})},blur:function(){this.focused=!1},forceFocus:function(){if(this.isSelect)return this.focus();this.$refs.input.focus()},input:function(){this.avalue=this.$refs.input.value,this.dirty=!!this.$refs.input.value,this.$emit("change",{value:this.$refs.input.value})},mouseup:function(){var t=this,e=this.$refs.input.value;this.$nextTick(function(){e!==t.$refs.input.value&&(t.$refs.input.blur(),t.avalue="",t.dirty=!1,window.isEdge&&(t.focused=!1,t.$emit("change",{value:""})))})},change:function(t,e){var n=e.value;this.blur(),this.avalue=n,this.dirty=!!n,this.$emit("change",{value:n})},keypress:function(t,e){if(this.focused&&e.key&&this.$refs.menu){(new Date).getTime()-this.keyLastTime<1e3?this.keyPhrase+=e.key:this.keyPhrase=e.key,this.keyLastTime=(new Date).getTime();var n=new RegExp("^"+this.keyPhrase,"i"),o=new RegExp(this.keyPhrase,"i");for(var i in this.menuHash)if(this.menuHash[i].match(n))return void(this.$refs["opt_"+i]&&(this.$refs.menu.$el.scrollTop=this.$refs["opt_"+i][0].offsetTop));for(var s in this.menuHash)if(this.menuHash[s].match(o))return void(this.$refs["opt_"+s]&&(this.$refs.menu.$el.scrollTop=this.$refs["opt_"+s][0].offsetTop))}},backdropMouseWheel:function(t,e){var n=this;this.$refs.backdrop.style.display="none",setTimeout(function(){n.$refs.backdrop.style.removeProperty("display")})},menuMouseWheel:function(t,e){t.getters["helpers/wheelPrevent"]({el:this.$refs.menu.$el,event:e})}})},a=n(1),l=Object(a.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n(t.themeComponent,{tag:"div",class:t.baseClass,attrs:{is2:t.subthemeComponent,options:t.options,colors:t.colors,scale:t.scale},nativeOn:{click:function(e){return t.forceFocus(e)}}},[n("transition",{attrs:{slot:"icon",name:"x4"},slot:"icon"},[t.icon?n("Icon",{staticClass:"x4-icon x4-transition",attrs:{icon:t.icon}}):t._e()],1),t.isSelect?n("Icon",{staticClass:"x4-dd-icon x4-transition",attrs:{slot:"ddicon",icon:"arrow_drop_down"},slot:"ddicon"}):t._e(),t.label?n("div",{staticClass:"x4-label x4-transition",attrs:{slot:"label"},slot:"label"},[t._v(t._s(t.label))]):t._e(),n("div",{staticClass:"x4-input-wrapper",attrs:{slot:"input"},slot:"input"},[t.isSelect||t.isTextarea?t._e():n("input",{ref:"input",staticClass:"x4-input",attrs:{type:t.atype,min:t.amin,max:t.amax,step:t.astep},domProps:{value:t.avalue},on:{input:t.input,mouseup:t.mouseup,focus:t.focus,blur:t.blur}}),t.isSelect?n("div",{ref:"input",staticClass:"x4-select",domProps:{innerHTML:t._s(t.atitle)}}):t._e(),t.isTextarea?n("textarea",{ref:"input",staticClass:"x4-textarea x4-scrollable",domProps:{value:t.avalue},on:{input:t.input,focus:t.focus,blur:t.blur}}):t._e()]),t.isSelect?n("template",{slot:"menu"},[t.focused?n("div",{ref:"backdrop",staticClass:"x4-backdrop",on:{click:function(e){return e.stopPropagation(),t.blur(e)},wheel:t.backdropMouseWheel}}):t._e(),n("DropDown",{ref:"menu",staticClass:"x4-menu x4-scrollable",attrs:{fixed:!0,opened:t.focused},nativeOn:{wheel:function(e){return t.menuMouseWheel(e)}}},t._l(t.menuOptions,function(e,o){return n("div",{ref:e===t.avalue?"option_active":"opt_"+e,refInFor:!0,staticClass:"x4-option",class:{"x4-active":e===t.avalue},domProps:{innerHTML:t._s(t.menuHash[e])},on:{click:function(n){n.stopPropagation(),t.change({value:e})}}})}))],1):t._e(),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-input\n display: inline-block\n position: relative\n vertical-align: top\n\n .x4-icon\n cursor: pointer\n\n .x4-dd-icon\n cursor: pointer\n\n &.x4-focused .x4-dd-icon\n transform: rotate(180deg)\n\n .x4-input\n height: auto\n overflow-x: hidden\n\n .x4-label, .x4-select, .x4-menu .x4-option\n overflow-x: hidden\n text-overflow: ellipsis\n white-space: nowrap\n\n .x4-backdrop\n cursor: default\n\n .x4-menu .x4-option\n position: relative\n")])],2):t._e()},[],!1,null,null,null);l.options.__file="Input.vue";e.default=l.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["colorize","size"],components:o.a.components({DIV:n(3),Style:n(2)}),computed:o.a.variables({baseClass:function(t){t.state;return{"x4-ui-loader":!0,"x4-colorize":!!this.colorize}}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement,e=this._self._c||t;return e("DIV",{class:this.baseClass},[e("div",{staticClass:"x4-shape x4-shape1"}),e("div",{staticClass:"x4-shape x4-shape2"}),e("div",{staticClass:"x4-shape x4-shape3"}),e("Style",[this._v(".x4-ui-loader\n height: "+this._s(this.size)+"px\n margin-left: auto\n margin-right: auto\n position: relative\n width: "+this._s(this.size)+"px\n\n .x4-shape\n border-radius: 50%\n box-sizing: border-box\n height: 100%\n position: absolute\n width: 100%\n\n .x4-shape1\n animation: x4-ui-loader1 1.15s linear infinite\n border-bottom: 3px solid $color(primary, .24)\n left: 0\n top: 0\n\n .x4-shape2\n animation: x4-ui-loader2 1.15s linear infinite\n border-right: 3px solid $color(primary, .24)\n right: 0\n top: 0\n\n .x4-shape3\n animation: x4-ui-loader3 1.15s linear infinite\n border-top: 3px solid $color(primary, .24)\n right: 0\n bottom: 0\n\n &.x4-colorize\n .x4-shape1, .x4-shape2, .x4-shape3\n border-color: $color(accent)\n\n\n@keyframes x4-ui-loader1 {\n 0%\n transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg)\n\n 100%\n transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg)\n}\n\n@keyframes x4-ui-loader2 {\n 0%\n transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg)\n\n 100%\n transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg)\n}\n\n@keyframes x4-ui-loader3 {\n 0%\n transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg)\n\n 100%\n transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg)\n}\n")])],1)},[],!1,null,null,null);r.options.__file="Loader.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={themes:o.a.components({material:n(123)}),subthemes:{material:o.a.components({filled:n(112),outlined:n(121),standard:n(120)})}},s={props:["options","labelPatterns","tooltipPatterns","urlPatterns","nostyle","scale"],components:o.a.components({Style:n(2),Icon:n(6),Loader:n(10),Ripple:n(8)}),data:function(){return{flyforce:!1}},created:function(){this.handleFlyLabel()},computed:o.a.variables({visible:function(){return!this.options||void 0===this.options.visible||this.options.visible},colorize:function(){return!this.options||void 0===this.options.colorize||this.options.colorize},icon:function(){return this.options&&this.options.icon?this.options.icon:null},label:function(t){var e=t.getters;return this.options&&this.options.label?this.labelPatterns?e["helpers/items/format/template"](null,{template:this.options.label,patterns:this.labelPatterns}):this.options.label:""},tooltip:function(t){var e=t.getters;return this.options&&this.options.tooltip?this.tooltipPatterns?e["helpers/items/format/template"](null,{notags:!0,template:this.options.tooltip,patterns:this.tooltipPatterns}):this.options.tooltip:""},tag:function(){return this.options&&this.options.url?"a":null},href:function(t){var e=t.getters;return this.options&&this.options.url&&!0!==this.options.url?this.urlPatterns?e["helpers/items/format/template"](null,{template:this.options.url,patterns:this.urlPatterns}):this.options.url:null},target:function(){return this.options&&this.options.blank?"_blank":null},flylabel:function(t){t.getters;return this.options&&this.options.flylabel?this.options.flylabel:""},flytiny:function(){return!(!this.options||void 0===this.options.flytiny)&&this.options.flytiny},flydown:function(){return!(!this.options||void 0===this.options.flydown)&&this.options.flydown},loading:function(){return!(!this.options||void 0===this.options.loading)&&this.options.loading},theme:function(t){var e=t.state,n=this.options&&this.options.theme?this.options.theme:this.$root.theme||e.theme;return i.themes[n]?n:"material"},subtheme:function(t){var e=t.state,n=this.options&&this.options.subtheme?this.options.subtheme:this.$root.subtheme||e.subtheme;return i.subthemes[this.theme][n]?n:"filled"},colors:function(t){var e=t.state,n=this.$root.colors||e.colors;return this.options&&this.options.colors?Object.assign({},n,this.options.colors):n},themeComponent:function(){return i.themes[this.theme]},subthemeComponent:function(){return i.subthemes[this.theme][this.subtheme]},baseClass:function(){var t={"x4-ui-button":!0};return t["x4-theme-"+this.theme]=!0,t["x4-subtheme-"+this.subtheme]=!0,t["x4-colorize"]=this.colorize,t["x4-no-icon"]=!this.icon,t["x4-no-label"]=!this.label,t["x4-loading"]=this.loading,t["x4-transition"]=!0,t["x4-clearfix"]=!0,t},flyClass:function(){return{"x4-flylabel":!0,"x4-flytiny":this.flytiny,"x4-flydown":this.flydown,"x4-transition":!0}}}),methods:{click:function(){this.loading||this.$emit("click")},handleFlyLabel:function(){var t=this;this.flylabel&&(this.$vnode.context.flyforce=function(){t.flyforce=!0,setTimeout(function(){t.flyforce=!1},2e3)})}}},r=n(1),a=Object(r.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n(t.themeComponent,{tag:"div",class:t.baseClass,attrs:{is2:t.subthemeComponent,options:t.options,colors:t.colors,scale:t.scale,tag:t.tag,href:t.href,target:t.target,title:t.tooltip,nostyle:t.nostyle},nativeOn:{click:function(e){return t.click(e)}}},[t.icon?n("Icon",{staticClass:"x4-icon",attrs:{slot:"icon",icon:t.icon},slot:"icon"}):t._e(),t.label?n("div",{staticClass:"x4-label",attrs:{slot:"label"},domProps:{innerHTML:t._s(t.label)},slot:"label"}):t._e(),n("transition",{attrs:{slot:"flylabel",name:"x4"},slot:"flylabel"},[t.flyforce?n("div",{class:t.flyClass,domProps:{innerHTML:t._s(t.flylabel)}}):t._e()]),t.loading?n("Loader",{staticClass:"x4-loader",attrs:{slot:"loader",colorize:!0},slot:"loader"}):t._e(),n("Ripple",{attrs:{slot:"ripple",theme:t.theme,opacity:t.colorize?"filled"!==t.subtheme?.08:.16:.04,color:t.colorize?"filled"!==t.subtheme?t.colors.accent:t.colors.inverted:t.colors.primary},slot:"ripple"}),t._t("default"),t.nostyle?t._e():n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-button\n cursor: pointer\n display: inline-block\n position: relative\n text-decoration: none\n vertical-align: top\n\n .x4-label\n overflow-x: hidden\n text-overflow: ellipsis\n white-space: nowrap\n")])],2):t._e()},[],!1,null,null,null);a.options.__file="Button.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({Input:n(9)}),computed:o.a.variables({value:function(t){return t.state.values.search},options:function(t){return t.state.controls.searchInput}}),methods:o.a.variables({change:function(t,e){var n=this,o=t.commit,i=e.value;setTimeout(function(){i===n.$refs.input.value&&o("SEARCH_CHANGE",{search:i})},500)}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("Input",{staticClass:"x4-search-input",attrs:{type:"search",value:this.value,options:this.options},on:{change:this.change}})},[],!1,null,null,null);r.options.__file="SearchInput.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({Input:n(9)}),computed:o.a.variables({value:function(t){return t.state.values.perPage},options:function(t){return t.state.controls.perPageSelect}}),methods:o.a.variables({change:function(t,e){(0,t.commit)("PER_PAGE_CHANGE",{perPage:e.value})}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("Input",{staticClass:"x4-per-page-select",attrs:{type:"select",value:this.value,options:this.options},on:{change:this.change}})},[],!1,null,null,null);r.options.__file="PerPageSelect.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({Input:n(9)}),computed:o.a.variables({value:function(t){return t.state.values.fiat},options:function(t){return t.state.controls.fiatSelect}}),methods:o.a.variables({change:function(t,e){(0,t.commit)("FIAT_CHANGE",{fiat:e.value})}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("Input",{staticClass:"x4-fiat-select",attrs:{type:"select",value:this.value,options:this.options},on:{change:this.change}})},[],!1,null,null,null);r.options.__file="FiatSelect.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["fixed","opened"],components:o.a.components({DIV:n(3)}),computed:o.a.variables({aopened:function(){return void 0!==this.opened&&this.opened},baseClass:function(){return{"x4-ui-dropdown":!0,"x4-transition":!0}}}),methods:o.a.variables({beforeEnter:function(t,e){this.fixed||(e.style["max-height"]=0,e.style.overflow="hidden")},enter:function(t,e,n){this.fixed||(this.$listeners.enter&&this.$emit("enter",{scrollHeight:e.scrollHeight}),e.style["max-height"]=e.scrollHeight+"px")},afterEnter:function(t,e){this.fixed||(e.style.removeProperty("max-height"),e.style.removeProperty("overflow"))},beforeLeave:function(t,e){this.fixed||(e.style["max-height"]=e.scrollHeight+"px",e.style.overflow="hidden")},leave:function(t,e){var n=this;this.fixed||setTimeout(function(){n.$listeners.leave&&n.$emit("leave"),e.style["max-height"]=0},50)},afterLeave:function(t,e){this.fixed||(e.style.removeProperty("max-height"),e.style.removeProperty("overflow"))}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"x4"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},[t.aopened?n("DIV",{class:t.baseClass},[n("div",{staticClass:"x4-inside"},[t._t("default")],2)]):t._e()],1)},[],!1,null,null,null);r.options.__file="DropDown.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["theme","subtheme","colors","scale","nostyle"],components:o.a.components({DIV:n(3),Style:n(2)}),computed:o.a.variables({visible:function(){return"material"===this.theme&&-1!==["filled","standard"].indexOf(this.subtheme)},baseClass:function(){return{"x4-ui-underline":!0}}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement,e=this._self._c||t;return this.visible?e("DIV",{class:this.baseClass},[e("div",{staticClass:"x4-line1 x4-transition"}),e("div",{staticClass:"x4-line2 x4-transition"}),this.nostyle?this._e():e("Style",{attrs:{colors:this.colors}},[this._v(".x4-ui-underline\n bottom: 0\n left: 0\n position: absolute\n right: 0\n z-index: 1\n\n > .x4-line1\n background-color: $color(accent)\n height: 2px\n position: relative\n transform: scaleX(0)\n transform-origin: center center 0\n z-index: 1\n\n > .x4-line2\n background-color: $color(primary, .42)\n height: 1px\n margin-top: -1px\n")])],1):this._e()},[],!1,null,null,null);r.options.__file="Underline.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["name","coin","options","options0"],components:o.a.components({Button:n(11)}),computed:o.a.variables({meta:function(t){return t.state.entities.coinsMeta[this.coin.id]},fiat:function(t){var e=t.state;return e.entities.fiats[e.values.fiat]},baseClass:function(){var t={};return t["x4-"+this.name+"-button"]=!0,t},options1:function(t){var e=t.state,n=Object.assign({},this.options,{theme:this.options.theme||this.options0.theme||e.theme,subtheme:this.options.subtheme||this.options0.subtheme||e.subtheme,colors:Object.assign({},e.colors,this.options0.colors,this.options.colors)});return-1!==["website","explorer"].indexOf(this.name)&&(n.url=!this.meta||this.meta[this.name]),n},patterns:function(t){t.state;return{id:this.coin.id,coin:this.coin.short,coin_lc:this.coin.short.toLowerCase(),fiat:this.fiat.short,fiat_lc:this.fiat.short.toLowerCase()}}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("Button",{class:this.baseClass,attrs:{scale:.75,options:this.options1,labelPatterns:this.patterns,tooltipPatterns:this.patterns,urlPatterns:this.patterns}})},[],!1,null,null,null);r.options.__file="Button.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o={},i=function(t,e,n){var i=window.Vuex,r=window.Vue;i.used||(i.used=!0,r.use(i));var a={state:{},getters:{},actions:{},modules:{mutations:{modules:{}}}};return t.forEach(function(t){t=t(e),function(t,e){if(void 0!==e.state){var n=e.name.split("/"),o=t.state,i=n.pop();n.forEach(function(t){o[t]=o[t]||{},o=o[t]}),o[i]=e.state}}(a,t),function(t,e){if(e.mutations){var n=function(n){var i=e.mutations[n],r=e.name+"/"+n,a=t.modules.mutations.modules,l=o[r]=o[r]||Math.random();a[l]=a[l]||{mutations:{}},a[l].mutations[n]=function(t,e){e=s(e),i.call(this,this.state,e||{})}};for(var i in e.mutations)n(i)}}(a,t),function(t,e){if(e.getters){var n=function(n){var o=(e.name?e.name+"/"+n:n).replace("/_name","");t.getters[o]=function(){return e.getters[n].apply(t._store,arguments)}};for(var o in e.getters)n(o)}}(a,t),function(t,e){if(e.actions){var n=function(n){var o=e.actions[n],i=(e.name?e.name+"/"+n:n).replace("/_name","");t.actions[i]=function(t,e){return e=s(e),o.call(this,this,e||{})}};for(var o in e.actions)n(o)}}(a,t)}),n?n.hotUpdate(a):n=new i.Store(a),a._store=n,n};function s(t){if(t){for(var e in t)void 0===t[e]&&delete t[e];0===Object.keys(t).length&&(t=void 0)}return t}e.default=function(t,e){var o={coinTable:{store:[n(21).default,n(22).default,n(23).default,n(24).default,n(25).default,n(26).default,n(27).default,n(28).default,n(29).default,n(30).default,n(31).default,n(32).default,n(33).default,n(34).default,n(35).default,n(36).default,n(37).default,n(38).default,n(39).default,n(40).default,n(41).default,n(42).default,n(43).default,n(44).default,n(45).default,n(46).default,n(47).default,n(48).default,n(49).default,n(50).default,n(51).default,n(52).default,n(53).default,n(54).default,n(55).default,n(56).default,n(57).default,n(58).default,n(59).default,n(60).default,n(61).default,n(62).default,n(63).default,n(64).default,n(65).default,n(66).default,n(67).default,n(68).default,n(69).default,n(70).default,n(71).default,n(72).default,n(73).default,n(74).default,n(75).default,n(76).default,n(77).default,n(78).default],modules:[]}}[t];return i(o.store,e,null)}},function(t,e,n){t.exports=n(7)},function(t,e){Object.assign=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}},function(t,e,n){"use strict";n.r(e);var o=n(5),i=window.x4wp,s=(window.X4CryptoTables,i.builders.X4CryptoTables),r=document.querySelector('script[data-entry="x4-crypto-tables"]');e.default=function(){return{name:"builder",state:{enabled:void 0!==r.dataset.vcEnabled,opened:!1},mutations:{BUILDER_ENABLED_CHANGE:function(t,e){var n=e.enabled;t.builder.enabled=n},BUILDER_OPENED_CHANGE:function(t,e){var n=e.opened;t.builder.opened=n},BUILDER_OPTION_CHANGE:function(t,e){var n=e.path,o=e.value;arguments[1].log=!1;var i=window.Vue,s=n.split("."),r=s.pop();s.forEach(function(e){void 0===t[e]&&i.set(t,e,{}),t=t[e]}),void 0!==o?i.set(t,r,o):i.delete(t,r)}},actions:{open:function(t,e){var n=t.dispatch,r=e.parent;Object(o.a)(function(){return!!s.create},function(){if(i.builders.current)return n("builder/close").then(function(){n("builder/open/next",{parent:r})});n("builder/open/next",{parent:r})})},"open/next":function(t,e){var n=t.state,o=t.commit,i=e.parent;o("BUILDER_OPENED_CHANGE",{opened:!0}),s.create({parent:i,slug:n.slug})},close:function(){var t=i.builders.current,e=t.app,n=t.store,o=t.globName;return n.commit("BUILDER_OPENED_CHANGE",{opened:!1}),new Promise(function(t){setTimeout(function(){e.$destroy(),e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),i.builders.current=null,delete i.builders[o].widgets[n.state.slug],t()},150)})},"option/change":function(t,e){t.getters;var n=t.commit,o=t.dispatch,i=e.path,s=e.value;if("string"==typeof i)"."===i.substr(0,1)&&(i=i.substr(1)),n("BUILDER_OPTION_CHANGE",{path:i,value:s});else{var r={};r[i.var]=s,i.mutation&&n(i.mutation,r),i.action&&o(i.action,r)}}}}}},function(t,e,n){"use strict";n.r(e);var o=document.querySelector('script[data-entry="x4-crypto-tables"]'),i={dark:{dark:!0,primary:"rgba(255,255,255,1)",inverted:"rgba(0,0,0,1)",accent:"rgba(255,255,255,1)"},light:{dark:!1,primary:"rgba(0,0,0,1)",inverted:"rgba(255,255,255,1)",accent:"rgba(0,188,212,1)"}};e.default=function(){return{name:"builder/colors",state:Object.assign({},void 0!==o.dataset.vcInvert?i.light:i.dark),mutations:{BUILDER_COLORS_CHANGE:function(t,e){var n=e.colors;t.builder.colors=n}},actions:{invert:function(t){var e=t.state;(0,t.commit)("BUILDER_COLORS_CHANGE",{colors:Object.assign({},e.builder.colors.dark?i.light:i.dark)})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"builder/instructions",state:{visible:!1,init:null},mutations:{BUILDER_INSTRUCTIONS_SHOW:function(t,e){var n=e.init;t.builder.instructions.init=n,t.builder.instructions.visible=!0},BUILDER_INSTRUCTIONS_HIDE:function(t){t.builder.instructions.visible=!1}},actions:{show:function(t,e){(0,t.commit)("BUILDER_INSTRUCTIONS_SHOW",{init:e.init})},hide:function(t){(0,t.commit)("BUILDER_INSTRUCTIONS_HIDE")}}}}},function(t,e,n){"use strict";n.r(e);var o=n(7),i=window.X4CryptoTables;e.default=function(){return{name:"builder",getters:{"calc/init":function(t,e){return function(){var n={},o=i.defaults[t.type];return n.type=t.type,n.selector=t.selector,e["builder/calc/init/recursive"]({init:n,options:t,defaults:o,keys:Object.keys(o)}),delete n.changes,n}},"calc/init/recursive":function(t,e){return function(t){var n=t.init,o=t.options,i=t.defaults,s=t.keys;(s=s||Object.keys(o)).forEach(function(t){Array.isArray(o[t])?JSON.stringify(o[t])!==JSON.stringify(i[t]||[])&&(n[t]=JSON.parse(JSON.stringify(o[t]))):o[t]instanceof Object?(n[t]=n[t]||{},e["builder/calc/init/recursive"]({init:n[t],options:o[t]||{},defaults:i[t]||{}}),0===Object.keys(n[t]).length&&delete n[t]):o[t]!==i[t]&&(n[t]=o[t])})}}},actions:{"reset/initial":function(t){var e=t.state,n=i.widgets[e.slug],s=n.app,r=n.init,a=Object(o.buildStore)({slug:e.slug,options:r});a.commit("BUILDER_ENABLED_CHANGE",{enabled:!0}),a.commit("BUILDER_OPENED_CHANGE",{opened:!0}),s.$store.dispatch("bootstrap/reset").then(function(){s.$store.replaceState(a.state),s.$store.dispatch("bootstrap")})},"reset/default":function(t){var e=t.state,n=i.widgets[e.slug],s=n.app,r=n.init,a=r.type||i.defaults.type,l=Object.assign({},r,i.defaults[a]),c=Object(o.buildStore)({slug:e.slug,options:l});c.commit("BUILDER_ENABLED_CHANGE",{enabled:!0}),c.commit("BUILDER_OPENED_CHANGE",{opened:!0}),s.$store.dispatch("bootstrap/reset").then(function(){s.$store.replaceState(c.state),s.$store.dispatch("bootstrap")})},"reset/initial/option":function(t,e){var n=t.state,s=t.dispatch,r=e.path,a=i.widgets[n.slug],l=(a.app,a.init),c=Object(o.buildStore)({slug:n.slug,options:l}).state;(r instanceof Object?r.value:r).split(".").forEach(function(t){c=c[t]}),s("builder/option/change",{path:r,value:c})},"reset/default/option":function(t,e){var n=t.state,s=t.dispatch,r=e.path,a=i.widgets[n.slug],l=(a.app,a.init),c=l.type||i.defaults.type,u=Object.assign({},l,i.defaults[c]),p=Object(o.buildStore)({slug:n.slug,options:u}).state;(r instanceof Object?r.value:r).split(".").forEach(function(t){p=p[t]}),s("builder/option/change",{path:r,value:p})},"options/save":function(t,e){t.dispatch,e.init}}}}},function(t,e,n){"use strict";n.r(e);var o=document.querySelector('script[data-entry="x4-crypto-tables"]');e.default=function(){return{name:"builder/position",state:void 0!==o.dataset.vcRight?"right":"left",mutations:{BUILDER_POSITION_CHANGE:function(t,e){var n=e.position;t.builder.position=n}},actions:{change:function(t){var e=t.state;(0,t.commit)("BUILDER_POSITION_CHANGE",{position:"left"===e.builder.position?"right":"left"})}}}}},function(t,e,n){"use strict";n.r(e);var o=window.x4wp,i=window.X4CryptoTables,s=o.builders.X4CryptoTables;e.default=function(){return{name:"builder/presets",getters:{themes:function(t){return function(e){var n=e.changeName,o=e.allowedThemes,r=e.allowedSubthemes,a=[];return s.schema[t.type].themes.forEach(function(e){if(-1!==o.indexOf(e.name)){var s=Object.assign({},e,{subthemes:[]});e.subthemes.forEach(function(o){if(-1!==r[e.name].indexOf(o.name)){var a=Object.assign({},o,{changes:{}}),l=i.defaults[t.type].changes;l[e.name]&&l[e.name][o.name]&&(!0===n?a.changes=l[e.name][o.name]:l[e.name][o.name][n]&&(a.changes[n]=l[e.name][o.name][n])),s.subthemes.push(a)}}),a.push(s)}}),a}},colors:function(t){return function(e){var n=e.allowedColors,o=e.path,i=s.schema[t.type].colors.filter(function(t){return-1!==n.indexOf(t.name)});return void 0!==o&&(i=i.map(function(t){return Object.assign({path:o},t)})),i}}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){var e=t.options;return{name:"colors",state:Object.assign({},e.colors)}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"layout",state:t.options.layout}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"margins",state:t.options.margins}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"selector",state:t.options.selector}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"slug",state:t.slug}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"sublayout",state:t.options.sublayout}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"subtheme",state:t.options.subtheme}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"theme",state:t.options.theme}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"type",state:t.options.type}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"helpers/colors",getters:{rgba2hex:function(){return function(t){var e=t.rgba;if(!(e=e.match(/^rgba\(\s*([0-9]+),\s*([0-9]+),\s*([0-9]+),\s*([0-9.]+)\s*\)$/)))return"#000000";var n=("0"+parseInt(e[1],10).toString(16)).slice(-2),o=("0"+parseInt(e[2],10).toString(16)).slice(-2),i=("0"+parseInt(e[3],10).toString(16)).slice(-2);return n[0]===n[1]&&o[0]===o[1]&&i[0]===i[1]&&(n=n[0],o=o[0],i=i[0]),"#"+n+o+i}},rgba2opacity:function(){return function(t){var e=t.rgba;return(e=e.match(/^rgba\(\s*([0-9]+),\s*([0-9]+),\s*([0-9]+),\s*([0-9.]+)\s*\)$/i))?parseFloat(e[4]).toFixed(2):1}},"rgba/opacity":function(){return function(t){var e=t.rgba,n=t.opacity;return n<1&&(n=n.toString().replace("0.",".")),e.replace(/,\s*[0-9.]+\s*\)$/,","+n+")")}},hex2rgba:function(){return function(t){var e=t.hex,n=t.opacity;if(!e||!e.match(/^#[0-9a-f]+$/i)||7!==e.length&&4!==e.length)return"rgba(0,0,0,0)";n=isNaN(n)?1:n,3===(e=e.replace("#","").split("")).length&&(e.splice(0,0,e[0]),e.splice(2,0,e[2]),e.splice(4,0,e[4]));var o=parseInt(e[0]+e[1],16),i=parseInt(e[2]+e[3],16),s=parseInt(e[4]+e[5],16);return n<1&&(n=n.toString().replace("0.",".")),"rgba("+o+","+i+","+s+","+n+")"}}}}}},function(t,e,n){"use strict";n.r(e);var o=n(4);e.default=function(){return{name:"helpers/items",getters:{"format/valtag":function(){return function(t,e){return e.notags?t:'<div class="x4-val">'+t+"</div>"}},"format/template":function(){return function(t,e){var n=e.template,i=e.patterns,s=e.notags,r=Object(o.a)(n)||"";return s||(r=r.replace(/\s/g,"&nbsp;")),null!==t&&(r=r.replace("[value]",Object(o.a)(t))),i&&(r=r.replace(/\[([^\]]+)\]/g,function(t,e){var n=(e=e.split(","))[0],s=e[1],r=e[2];return void 0!==i[n]&&""!==i[n]?(s||"")+Object(o.a)(i[n])+(r||""):""})),r}},"format/number":function(){return function(t,e){var n=e.factor,o=e.separator,i=e.precision,s=e.notags;t=void 0!==t?t:0,i=void 0!==i?i:0;var r=["K","M","G","T","P","E","Z","Y"],a="";if(n)for(var l="auto"!==n?r.indexOf(n)+1:8,c=0;c<l;c++){var u=t/1e3;if("auto"===n&&u<1)break;a=r[c],t=u}return"auto"===i&&(t>=100?i=0:t>=10&&t<100?i=1:t>=.1&&t<10?i=2:t>=.01&&t<.1?i=3:t>=.001&&t<.01?i=4:t>=1e-4&&t<.001?i=5:t>=1e-5&&t<1e-4?i=6:t>=1e-6&&t<1e-5?i=7:t<1e-6&&(i=8)),t=t.toFixed(i).toString().split("."),o&&(t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,o)),t=t.join(".")+a,s?t:'<div class="x4-number">'+t+"</div>"}}}}}},function(t,e,n){"use strict";n.r(e);var o=n(5);e.default=function(){return{name:"helpers/items",getters:{src:function(){var t=this;return function(e){var n=e.src,o=n;return"string"==typeof n&&(o=t,n.split(".").forEach(function(t){o=o[t]})),o}},sortable:function(){return function(t){var e=t.$el,n=t.options;return new Promise(function(t){Object(o.a)(function(){return!!window.Sortable},function(){var o=window.Sortable.create(e,Object.assign({},n,{sort:!0,animation:150,ghostClass:"x4-sortable-ghost",chosenClass:"x4-sortable-chosen",dragClass:"x4-sortable-drag"}));t({sortable:o})})})}},get:function(){return function(t){var e=t.hash,n=t.strategy,o=t.except,i=t.top,s=t.filters,r=t.sort,a=[],l=[];if(n&&"include_all"!==n)o&&o.length>0&&o.forEach(function(t){e[t]&&l.push(e[t])});else if(o&&o.length>0)for(var c in e)-1===o.indexOf(c)&&l.push(e[c]);else l=Object.values(e);if(s&&s.forEach(function(t){l=l.filter(function(e){return t(e)})}),i&&i.length>0&&(i=i.map(function(t){return e[t]}).filter(function(t){return!!t}),l=l.filter(function(t){var e=i.indexOf(t);return-1===e||(a[e]=t,!1)}),a=a.filter(function(t){return!!t})),r){var u=r.split(":").shift(),p=r.split(":").pop(),h="asc"===p?-1:1,d="asc"===p?1:-1;l.sort(function(t,e){return t[u]<e[u]?h:t[u]===e[u]?0:d})}return a.concat(l)}}}}}},function(t,e,n){"use strict";n.r(e);var o=n(4);e.default=function(){return{name:"helpers/items/menu",getters:{hash:function(t,e){return function(t){var n=t.items,i=t.itemValue,s=t.itemTitle,r=t.itemTemplate,a=t.hasNull,l={};for(var c in a&&(l.null=""),n){var u="_key"!==i&&"_value"!==i?n[c][i]:"_value"===i?n[c]:c,p="";s&&(p=Object(o.a)("_key"!==s&&"_value"!==s?n[c][s]:"_value"===s?n[c]:c)),r&&(p=e["helpers/items/format/template"](null,{template:r,patterns:n[c]})),l[u]=p}return l}},options:function(){return function(t){var e=t.items,n=t.itemValue,o=t.hasNull,i=[];for(var s in o&&i.push(null),e)i.push("_key"!==n&&"_value"!==n?e[s][n]:"_value"===n?e[s]:s);return i}}}}}},function(t,e,n){"use strict";n.r(e);var o=window.x4wp;e.default=function(){return{name:"helpers/request",actions:{_name:function(t,e){var n=e.url,i=e.method,s=e.contentType,r=e.headers,a=e.body,l=e.name,c=e.cache;return new Promise(function(t,e){i=i?i.toUpperCase():"GET",s=s||"json",r=r||{},a=a||{},l=l||Math.random().toString(36).substr(2,8);var u=function(){var n=o.requests[l].xmlHttp;if(!o.requests[l].parsed){try{n.responseParsed=JSON.parse(n.responseText)}catch(t){}o.requests[l].parsed=!0}200===n.status?t(n.responseParsed):e(n)};if(!(c=void 0!==c?c:"GET"===i)||!o.requests[l]||c===parseInt(c,10)&&(new Date).getTime()-o.requests[l].lastTime>c){var p=new XMLHttpRequest;for(var h in o.requests[l]={xmlHttp:p,callbacks:[u],ready:!1,parsed:!1,lastTime:(new Date).getTime()},p.open(i,n,!0),r)p.setRequestHeader(h,r[h]);p.onreadystatechange=function(){if(4===p.readyState){o.requests[l].ready=!0;var t=o.requests[l].callbacks;o.requests[l].callbacks=[],t.forEach(function(t){return t(p)})}},"POST"===i?("urlencoded"===s&&(a=Object.keys(a).map(function(t){return t+"="+encodeURIComponent(a[t]instanceof Object?JSON.stringify(a[t]):a[t])}).join("&"),p.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),p.send(a)),"json"===s&&(p.setRequestHeader("Content-Type","application/json"),p.send(JSON.stringify(a)))):p.send()}else o.requests[l].ready?u():o.requests[l].callbacks.push(u)})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"helpers/wprequest",actions:{_name:function(t,e){var n=t.dispatch,o=e.action,i=e.body,s=window.X4WP_ajax_url;return new Promise(function(t,e){n("helpers/request",{url:s,method:"POST",contentType:"urlencoded",body:{action:o,body:i||{}},cache:!1}).then(function(n){if(!n.success)return e(n.data);t(n.data)}).catch(function(t){e({message:t.statusText})})})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"helpers/wheelPrevent",getters:{_name:function(){return function(t){var e=t.el,n=t.event;(0===e.scrollTop&&n.deltaY<0||Math.abs(e.scrollTop-(e.scrollHeight-e.clientHeight))<=1&&n.deltaY>0)&&n.preventDefault(),n.stopPropagation()}}}}}},function(t,e,n){"use strict";n.r(e);var o=window.Vue;e.default=function(){return{name:"entities/coins",state:{},mutations:{COINS_INIT:function(t,e){var n=e.coins;t.entities.coins=n},COINS_ADD:function(t,e){var n=e.coins;for(var i in n)o.set(t.entities.coins,i,n[i])}},getters:{"change/field/add":function(t){return function(e){var n=e.coins;for(var o in n)n[o].change=t.entities.coins[o]&&void 0!==t.entities.coins[o].change?t.entities.coins[o].change:0}},all:function(t,e){return e["helpers/items/get"]({hash:t.entities.coins,sort:"rank:asc"})}},actions:{retrieve:function(t,e){t.state;var n=t.getters,o=t.commit,i=t.dispatch,s=e.ids,r=e.cache;return new Promise(function(t,e){i("coincap/assets/retrieve",{ids:s,cache:r}).then(function(e){var i=e.assets;n["entities/coins/change/field/add"]({coins:i}),o(s?"COINS_ADD":"COINS_INIT",{coins:i}),t({assets:i})}).catch(e)})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"entities/coinsMeta",state:{},mutations:{COINS_META_INIT:function(t,e){var n=e.coinsMeta;t.entities.coinsMeta=n}},actions:{retrieve:function(t,e){t.state,t.getters;var n=t.commit,o=t.dispatch,i=e.cache;return new Promise(function(t,e){o("coincap/assetsMeta/retrieve",{cache:i}).then(function(e){var o=e.assetsMeta;n("COINS_META_INIT",{coinsMeta:o}),t({coinsMeta:o})}).catch(e)})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"entities/fiats",state:{"united-states-dollar":{id:"united-states-dollar",short:"USD",type:"fiat",price:1,symbol:"$",name:"United States Dollar"}},mutations:{FIATS_INIT:function(t,e){var n=e.fiats;t.entities.fiats=n}},getters:{all:function(t,e){return e["helpers/items/get"]({hash:t.entities.fiats,sort:"short:asc"})}},actions:{retrieve:function(t,e){var n=t.commit;return(0,t.dispatch)("coincap/rates/retrieve",{cache:e.cache}).then(function(t){var e=t.fiats;n("FIATS_INIT",{fiats:e})}).catch(function(t){})}}}}},function(t,e,n){"use strict";n.r(e);var o=window.Vue;e.default=function(){return{name:"entities/history",state:{},mutations:{HISTORY_INIT:function(t,e){var n=e.id,i=e.history,s=e.period;t.entities.history[n]||o.set(t.entities.history,n,{}),o.set(t.entities.history[n],s,i)}},actions:{ensure:function(t,e){var n=t.state,o=t.dispatch,i=e.id,s=e.period;if(!n.entities.history[i]||!n.entities.history[i][s])return o("entities/history/retrieve",{id:i,period:s})},retrieve:function(t,e){t.state;var n=t.commit,o=t.dispatch,i=e.id,s=e.interval,r=e.period,a=e.cache;if(i){var l=(new Date).getTime(),c=l-r;return new Promise(function(t,e){o("coincap/history/retrieve",{id:i,interval:s,start:c,end:l,cache:a}).then(function(e){var o=e.history;n("HISTORY_INIT",{id:i,history:o,period:r}),t({history:o})}).catch(e)})}}}}}},function(t,e,n){"use strict";n.r(e);var o=n(4);e.default=function(){return{name:"helpers/items",getters:{"format/price":function(t){return function(t,e,n,o){e.notags;return t/o.fiat.price}},"format/coin":function(t){return function(t,e,n){var i=e.notags;return t=(t=(t=t.replace(/\[icon\]/g,i?"":'<img class="x4-icon" src="https://static.coincap.io/assets/icons/'+n.short.toLowerCase()+'@2x.png" onError="this.src=\'https://coincap.io/static/logo_mark.png\'" />')).replace(/\[name\]/g,i?n.name:'<div class="x4-name">'+Object(o.a)(n.name)+"</div>")).replace(/\[short\]/g,i?n.short:'<div class="x4-short">'+Object(o.a)(n.short)+"</div>")}},"format/fiat":function(){return function(t,e,n,o){var i=e.notags,s=o.fiat;return-1!==t.indexOf("[symbol]")&&(t=s.symbol?(t=t.replace("[symbol]",i?s.symbol:'<div class="x4-symbol">'+s.symbol+"</div>")).replace(/(&nbsp;)?\[short\](&nbsp;)?/,""):t.replace("[symbol]","")),-1!==t.indexOf("[short]")&&(t=t.replace("[short]",i?s.short:'<div class="x4-short">'+s.short+"</div>")),t}}}}}},function(t,e,n){"use strict";n.r(e);window.x4wp;e.default=function(t){return{name:"coincap/assets",state:{custom:t.options.customCoins||[]},getters:{format:function(){return function(t){var e=t.asset;return{id:e.id,short:e.symbol,rank:parseInt(e.rank),price:parseFloat(e.priceUsd)||0,mktcap:parseFloat(e.marketCapUsd)||0,change24h:parseFloat(e.changePercent24Hr)||0,vwap:parseFloat(e.vwapUsd24Hr||e.vwap24Hr)||0,volume:parseFloat(e.volumeUsd24Hr)||0,supply:parseFloat(e.supply)||0,name:e.name||"",website:e.website||"",explorer:e.explorer||""}}}},actions:{retrieve:function(t,e){var n=t.state,o=t.getters,i=t.dispatch,s=e.ids,r=e.cache,a=e.log;return new Promise(function(t,e){var l=Object.assign({},{method:"GET",url:"https://api.coincap.io/v2/assets?limit=2000"},{log:a,cache:r,name:"coincapAssets"});s&&(l.name+="_"+s.join(","),l.url+="&ids="+s.join(",")),i("helpers/request",l).then(function(i){var s={};if(!i||!i.data)return e();i.data.forEach(function(t){s[t.id]=o["coincap/assets/format"]({asset:t})}),n.coincap.assets.custom.forEach(function(t){s[t.id]=t,t.custom=!0}),t({assets:s})}).catch(function(t){e()})})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"coincap/assetsMeta",getters:{format:function(){return function(t){var e=t.assetsMeta;return{website:e.website,explorer:e.explorer}}}},actions:{retrieve:function(t,e){var n=t.getters,o=t.dispatch,i=e.cache,s=e.log;return new Promise(function(t,e){var r=Object.assign({},{method:"POST",url:"https://graphql.coincap.io",body:{query:"query{assets(first:2000,sort:rank,direction:ASC){edges{node{id,website,explorer}}}}"}},{log:s,cache:i,name:"coincapAssetsMeta"});o("helpers/request",r).then(function(o){var i={};if(!o||!o.data)return e();o.data.assets.edges.forEach(function(t){i[t.node.id]=n["coincap/assetsMeta/format"]({assetsMeta:t.node})}),t({assetsMeta:i})}).catch(function(t){e()})})}}}}},function(t,e,n){"use strict";n.r(e);window.x4wp;e.default=function(){return{name:"coincap/history",getters:{format:function(){return function(t){var e=t.point;return{price:parseFloat(e.priceUsd)||0,time:new Date(e.time)}}}},actions:{retrieve:function(t,e){var n=t.state,o=t.getters,i=t.dispatch,s=e.id,r=e.interval,a=e.start,l=e.end,c=e.cache,u=e.log;return new Promise(function(t,e){if(-1!==n.coincap.assets.custom.map(function(t){return t.id}).indexOf(s))return t({history:[]});if(!r){var p=l-a;p<=864e5?r="m5":p>864e5&&p<=6048e5?r="m30":p>6048e5&&p<=2592e6?r="h2":p>2592e6&&p<=7776e6?r="h6":p>7776e6&&p<=15552e6?r="h12":p>15552e6&&(r="d1")}i("helpers/request",{type:"GET",url:"https://api.coincap.io/v2/assets/"+s+"/history?interval="+r+(a?"&start="+a:"")+(l?"&end="+l:""),log:u,cache:c,name:"coincapHistory_"+s+"_"+r+"_"+(a||"0")+"_"+(l||"0")}).then(function(n){if(!n||!n.data)return e();var i=n.data.map(function(t){return o["coincap/history/format"]({point:t})});t({history:i})}).catch(function(t){e()})})}}}}},function(t,e,n){"use strict";n.r(e);var o=window.x4wp;e.default=function(){return{name:"coincap/prices",actions:{connect:function(t,e){var n=t.state,i=t.dispatch,s=e.assets,r=e.callback;o.requests.wsCoincapPrices||(o.requests.wsCoincapPrices={query:[],assets:{},callbacks:{},socket:null,lastTime:0});var a=o.requests.wsCoincapPrices;s&&(a.assets[n.slug]=s),r&&(a.callbacks[n.slug]=r);var l=[],c=!1;for(var u in a.assets)a.assets[u].forEach(function(t){-1===l.indexOf(t)&&l.push(t)});for(var p=0;p<l.length;p++)if(-1===a.query.indexOf(l[p])){c=!0;break}if(!a.socket||c){if((new Date).getTime()-a.lastTime<2e3)return setTimeout(function(){return i("coincap/prices/connect",{log:!1})},500);a.query=l,a.lastTime=(new Date).getTime(),a.socket&&a.socket.close(),a.socket=new WebSocket("wss://ws.coincap.io/prices?assets="+a.query.join(",")),a.socket.onclose=function(t){t.wasClean||(a.socket=null,setTimeout(function(){return i("coincap/prices/connect")},5e3))},a.socket.onmessage=function(t){var e=null;try{e=JSON.parse(t.data)}catch(t){e={}}for(var n in e)e[n]=parseFloat(e[n]);for(var o in a.callbacks)a.callbacks[o]({resp:e})}}}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"coincap/rates",state:{custom:t.options.customFiats||[]},getters:{format:function(){return function(t){var e=t.rate;return{id:e.id,short:e.symbol,type:e.type||"fiat",price:parseFloat(e.rateUsd)||1,symbol:e.currencySymbol||"",name:e.name||""}}}},actions:{retrieve:function(t,e){var n=t.state,o=t.getters,i=t.dispatch,s=e.cache,r=e.log;return new Promise(function(t,e){var a=Object.assign({},{method:"GET",url:"https://api.coincap.io/v2/rates?limit=2000"},{log:r,cache:s,name:"coincapRates"});i("helpers/request",a).then(function(i){var s={};if(!i||!i.data)return e();i.data.forEach(function(t){s[t.id]=o["coincap/rates/format"]({rate:t})}),n.coincap.rates.custom.forEach(function(t){s[t.id]=t,t.custom=!0}),t({fiats:s})}).catch(function(t){e()})})}}}}},function(t,e,n){"use strict";n.r(e);var o={fiats:null};e.default=function(){return{name:"bootstrap",state:{isLoaded:!1},mutations:{LOADED_CHANGE:function(t,e){var n=e.isLoaded;t.bootstrap.isLoaded=n}},actions:{_name:function(t){var e=t.commit,n=t.dispatch,i=[n("entities/fiats/retrieve"),n("entities/coins/retrieve")];Promise.all(i).then(function(){e("LOADED_CHANGE",{isLoaded:!0})}),n("entities/coinsMeta/retrieve",{cache:!0}),o.fiats=setInterval(function(){n("entities/fiats/retrieve",{cache:3e5})},305e3)},reset:function(){clearInterval(o.fiats)}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/coinTable",state:t.options.controls.coinTable,mutations:{BUILDER_OPTION_CHANGE:function(t,e){var n=this,o=e.path,i=e.value;"controls.coinTable.showOrder"===o&&-1===i.indexOf("name")&&("rank"===(i=i.slice())[0]?i.splice(1,0,"name"):i.unshift("name"),setTimeout(function(){n.commit("BUILDER_OPTION_CHANGE",{path:o,value:i})}))}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"entities/coins2",state:[],mutations:{COINS_PRICES_CHANGE:function(t,e){var n=e.prices,o=t.controls.coinTable.flashes.threshold;for(var i in n)Math.abs(n[i]-t.entities.coins[i].price)>=o&&(t.entities.coins[i].change=n[i]<t.entities.coins[i].price?-1:1,t.entities.coins[i].price=n[i])},COINS_INIT:function(t,e){var n=e.coins;t.entities.coins2=this.getters["entities/coins2/retrieve"]({coins:n})},SEARCH_CHANGE:function(t,e){var n=e.search;t.entities.coins2=this.getters["entities/coins2/retrieve"]({search:n})},SORT_CHANGE:function(t,e){var n=e.sort;t.entities.coins2=this.getters["entities/coins2/retrieve"]({sort:n})},BUILDER_OPTION_CHANGE:function(t,e){var n=e.path;e.value;-1!==["controls.coinTable.strategy","controls.coinTable.except","controls.coinTable.top"].indexOf(n)&&(t.entities.coins2=this.getters["entities/coins2/retrieve"]({}))}},getters:{"prices/callback":function(){var t=this;return function(e){var n=e.resp;t.commit("COINS_PRICES_CHANGE",{prices:n,log:!1})}},paginated:function(t,e){var n=(t.values.page-1)*t.values.perPage,o=t.entities.coins2.slice(n,n+t.values.perPage),i=o.map(function(t){return t.id}),s=e["entities/coins2/prices/callback"];return this.dispatch("coincap/prices/connect",{assets:i,callback:s}),o},retrieve:function(t,e){return function(n){var o=n.coins,i=n.search,s=n.sort;o=void 0===o?t.entities.coins:o,i=void 0===i?t.values.search:i,s=void 0===s?t.values.sort:s;var r=[];if(i){var a=new RegExp(i,"i");r.push(function(t){return t.name.match(a)||t.short.match(a)})}var l=t.controls.coinTable,c=l.strategy,u=l.except,p=l.top;return e["helpers/items/get"]({hash:o,strategy:c,except:u,top:p,filters:r,sort:s})}}}}}},function(t,e,n){"use strict";n.r(e);var o=window.Vue;function i(t){var e=t.state;for(var n in e.entities.popups)o.set(e.entities.popups,n)}e.default=function(){return{name:"entities/popups",state:{},mutations:{POPUP_INIT:function(t,e){var n=e.id;o.set(t.entities.popups,n,{visible:!0,height:0})},POPUP_TOGGLE:function(t,e){var n=e.id;t.entities.popups[n].visible=!t.entities.popups[n].visible},POPUP_SET_HEIGHT:function(t,e){var n=e.id,o=e.height;t.entities.popups[n]&&(t.entities.popups[n].height=o)},SORT_CHANGE:function(t){i({state:t})},PER_PAGE_CHANGE:function(t){i({state:t})},SEARCH_CHANGE:function(t){i({state:t})},PAGE_CHANGE:function(t){i({state:t})},BUILDER_OPTION_CHANGE:function(t,e){var n=e.path;e.value;-1!==["controls.coinTable.strategy","controls.coinTable.except","controls.coinTable.top"].indexOf(n)&&i({state:t})}},actions:{toggle:function(t,e){var n=t.state,o=t.commit,i=(t.dispatch,e.id);o(n.entities.popups[i]?"POPUP_TOGGLE":"POPUP_INIT",{id:i})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/fiatSelect",state:t.options.controls.fiatSelect,getters:{_name:function(t,e){return e["helpers/items/get"]({hash:t.entities.fiats,strategy:t.controls.fiatSelect.strategy,except:t.controls.fiatSelect.except,top:t.controls.fiatSelect.top,sort:"short:asc"})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(){return{name:"entities/fiats",getters:{_name:function(t,e){return e["helpers/items/get"]({hash:t.entities.fiats,strategy:t.controls.fiatSelect.strategy,except:t.controls.fiatSelect.except,top:t.controls.fiatSelect.top,sort:"short:asc"})}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/perPageSelect",state:t.options.controls.perPageSelect}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/searchInput",state:t.options.controls.searchInput}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/coinTabs",state:t.options.controls.coinTabs}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/coinColumn",state:t.options.controls.coinColumn}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/lineChart",state:t.options.controls.lineChart}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/periodSelect",state:t.options.controls.periodSelect}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/pagerBlock",state:t.options.controls.pagerBlock}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"controls/loader",state:t.options.controls.loader}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"values/sort",state:t.options.values.sort,mutations:{SORT_CHANGE:function(t,e){var n=e.sort;t.values.sort=n,t.values.page=1}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"values/fiat",state:t.options.values.fiat,mutations:{FIAT_CHANGE:function(t,e){var n=e.fiat;t.values.fiat=n}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"selections/perPage",state:t.options.selections.perPage}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"values/perPage",state:t.options.values.perPage,mutations:{PER_PAGE_CHANGE:function(t,e){var n=e.perPage;t.values.perPage=n,t.values.page=1}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"values/search",state:t.options.values.search,mutations:{SEARCH_CHANGE:function(t,e){var n=e.search;t.values.search=n,t.values.page=1}}}}},function(t,e,n){"use strict";n.r(e);var o=window.X4CryptoTables;e.default=function(t){return{name:"defaults/coinTab",state:t.options.values.coinTab,mutations:{COIN_TAB_CHANGE:function(t,e){var n=e.id,i=e.coinTab;void 0===n&&o.multiValues[t.type].coinTab&&(t.defaults.coinTab=i)}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"selections/coinTab",state:t.options.selections.coinTab}}},function(t,e,n){"use strict";n.r(e);var o=window.Vue,i=window.X4CryptoTables;e.default=function(t){var e=t.options;return{name:"values/coinTab",state:i.multiValues[e.type].coinTab?{}:e.values.coinTab,mutations:{COIN_TAB_CHANGE:function(t,e){var n=e.id,s=e.coinTab;i.multiValues[t.type].coinTab?void 0!==n&&o.set(t.values.coinTab,n,s):t.values.coinTab=s}},getters:{_name:function(t){return function(e){var n=e.id;return i.multiValues[t.type].coinTab?t.values.coinTab[n]||t.defaults.coinTab:t.values.coinTab}}}}}},function(t,e,n){"use strict";n.r(e);var o=window.X4CryptoTables;e.default=function(t){return{name:"defaults/period",state:t.options.values.period,mutations:{PERIOD_CHANGE:function(t,e){var n=e.id,i=e.period;void 0===n&&o.multiValues[t.type].period&&(t.defaults.period=i)}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"selections/period",state:t.options.selections.period}}},function(t,e,n){"use strict";n.r(e);var o=window.Vue,i=window.X4CryptoTables;e.default=function(t){var e=t.options;return{name:"values/period",state:i.multiValues[e.type].period?{}:e.values.period,mutations:{PERIOD_CHANGE:function(t,e){var n=e.id,s=e.period;i.multiValues[t.type].period?void 0!==n&&o.set(t.values.period,n,s):t.values.period=s}},getters:{_name:function(t){return function(e){var n=e.id;return i.multiValues[t.type].period?t.values.period[n]||t.defaults.period:t.values.period}}}}}},function(t,e,n){"use strict";n.r(e),e.default=function(t){return{name:"values/page",state:t.options.values.page,mutations:{PAGE_CHANGE:function(t,e){var n=e.page;t.values.page=n}}}}},function(t,e,n){"use strict";n.r(e);var o=n(0),i={"full-featured":o.a.components({1:n(86)})},s={components:o.a.components({FiatSelect:n(14),PerPageSelect:n(13),SearchInput:n(12),CoinTable:n(85),PagerBlock:n(84),Controls:n(83)}),computed:o.a.variables({component:function(t){var e=t.state;return i[e.layout][e.sublayout]},dataLoaded:function(t){var e=t.state;return void 0===e.bootstrap||void 0===e.bootstrap.isLoaded||!0===e.bootstrap.isLoaded}})},r=n(1),a=Object(r.a)(s,function(){var t=this.$createElement,e=this._self._c||t;return e(this.component,{tag:"div"},[this._t("base",null,{slot:"base"}),this._t("styles",null,{slot:"styles"}),this.dataLoaded?[e("FiatSelect",{attrs:{slot:"fiat-select"},slot:"fiat-select"}),e("PerPageSelect",{attrs:{slot:"per-page-select"},slot:"per-page-select"}),e("SearchInput",{attrs:{slot:"search-input"},slot:"search-input"}),e("CoinTable",{attrs:{slot:"coin-table"},slot:"coin-table"}),e("PagerBlock",{attrs:{slot:"pager-block"},slot:"pager-block"}),e("Controls",{attrs:{slot:"controls"},slot:"controls"})]:this._e()],2)},[],!1,null,null,null);a.options.__file="CoinTable.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={themes:o.a.components({material:n(96)}),subthemes:{material:o.a.components({default:n(92)})}},s={props:["page","perPage","options","scale"],components:o.a.components({Style:n(2),Icon:n(6)}),data:function(){return{mvalue:this.page}},watch:{page:function(t){this.mvalue=t}},computed:o.a.variables({visible:function(){return!this.options||void 0===this.options.visible||this.options.visible},itemsPath:function(){return this.options&&this.options.items?this.options.items:""},label:function(){return this.options&&this.options.label?this.options.label:""},theme:function(t){var e=t.state,n=this.options&&this.options.theme?this.options.theme:this.$root.theme||e.theme;return i.themes[n]?n:"material"},subtheme:function(t){t.state;var e=this.options&&this.options.subtheme?this.options.subtheme:"default";return i.subthemes[this.theme][e]?e:"default"},colors:function(t){var e=t.state,n=this.$root.colors||e.colors;return this.options&&this.options.colors?Object.assign({},n,this.options.colors):n},themeComponent:function(){return i.themes[this.theme]},subthemeComponent:function(){return i.subthemes[this.theme][this.subtheme]},baseClass:function(){var t={"x4-ui-pager":!0};return t["x4-theme-"+this.theme]=!0,t["x4-subtheme-"+this.subtheme]=!0,t},itemsCount:function(t){return t.getters["helpers/items/src"]({src:this.itemsPath}).length},fromIndex:function(){return 0!==this.itemsCount?(this.mvalue-1)*this.perPage+1:0},toIndex:function(){var t=this.fromIndex+this.perPage-1;return t>this.itemsCount?this.itemsCount:t},pagesCount:function(){return Math.ceil(this.itemsCount/this.perPage)},alabel:function(t){var e=t.getters,n={total:this.itemsCount,from:this.fromIndex,to:this.toIndex};return e["helpers/items/format/template"](null,{template:this.label,patterns:n})},prevDisabledClass:function(){return{"x4-disabled":1===this.mvalue}},nextDisabledClass:function(){return{"x4-disabled":this.mvalue===this.mvaluesCount}}}),methods:o.a.variables({goPrevious:function(t){t.state,t.commit;1!==this.mvalue&&(this.mvalue=this.mvalue-1,this.$emit("change",{value:this.mvalue}))},goNext:function(t){t.state,t.commit;this.mvalue!==this.mvaluesCount&&(this.mvalue=this.mvalue+1,this.$emit("change",{value:this.mvalue}))}})},r=n(1),a=Object(r.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n(t.themeComponent,{tag:"div",class:t.baseClass,attrs:{is2:t.subthemeComponent,colors:t.colors,scale:t.scale}},[t.label?n("div",{staticClass:"x4-label",attrs:{slot:"label"},domProps:{innerHTML:t._s(t.alabel)},slot:"label"}):t._e(),n("div",{staticClass:"x4-previous",class:t.prevDisabledClass,attrs:{slot:"previous"},on:{click:t.goPrevious},slot:"previous"},[n("Icon",{staticClass:"x4-icon x4-transition",attrs:{icon:"chevron_left"}})],1),n("div",{staticClass:"x4-next",class:t.nextDisabledClass,attrs:{slot:"next"},on:{click:t.goNext},slot:"next"},[n("Icon",{staticClass:"x4-icon x4-transition",attrs:{icon:"chevron_right"}})],1),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-pager\n \n")])],2):t._e()},[],!1,null,null,null);a.options.__file="Pager.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={themes:o.a.components({material:n(122)}),subthemes:{material:o.a.components({default:n(119)})}},s={props:["value","options","scale"],components:o.a.components({Style:n(2)}),data:function(){return{mvalue:this.value}},watch:{value:function(t){this.mvalue=t}},computed:o.a.variables({visible:function(){return!this.options||void 0===this.options.visible||this.options.visible},theme:function(t){var e=t.state,n=this.options&&this.options.theme?this.options.theme:this.$root.theme||e.theme;return i.themes[n]?n:"material"},subtheme:function(t){t.state;var e=this.options&&this.options.subtheme?this.options.subtheme:"default";return i.subthemes[this.theme][e]?e:"default"},colors:function(t){var e=t.state,n=this.$root.colors||e.colors;return this.options&&this.options.colors?Object.assign({},n,this.options.colors):n},themeComponent:function(){return i.themes[this.theme]},subthemeComponent:function(){return i.subthemes[this.theme][this.subtheme]},baseClass:function(){var t={"x4-ui-radio-buttons":!0};return t["x4-theme-"+this.theme]=!0,t["x4-subtheme-"+this.subtheme]=!0,t},aitems:function(t){return t.getters["helpers/items/src"]({src:this.options.items})},menuHash:function(t){return t.getters["helpers/items/menu/hash"]({items:this.aitems,itemValue:this.options.itemValue,itemTitle:this.options.itemTitle})},menuOptions:function(t){return t.getters["helpers/items/menu/options"]({items:this.aitems,itemValue:this.options.itemValue})}}),methods:{change:function(t){this.mvalue=t,this.$emit("change",{value:t})}}},r=n(1),a=Object(r.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n(t.themeComponent,{tag:"div",class:t.baseClass,attrs:{is2:t.subthemeComponent,value:t.mvalue,menuOptions:t.menuOptions,colors:t.colors,scale:t.scale},on:{change:t.change},scopedSlots:t._u([{key:"label",fn:function(e){var o=e.option;return n("div",{staticClass:"x4-label"},[t._v(t._s(t.menuHash[o]))])}}])},[t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-radio-buttons\n display: inline-block\n position: relative\n vertical-align: top\n\n .x4-label\n overflow-x: hidden\n text-overflow: ellipsis\n white-space: nowrap\n")])],2):t._e()},[],!1,null,null,null);a.options.__file="RadioButtons.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["coin","options"],computed:o.a.variables({baseClass:function(t){return{"x4-hover-line":!0,"x4-show-cursor":t.state.controls.coinTable.popup.visible}}}),methods:o.a.variables({popupToggle:function(t){var e=t.state,n=t.dispatch;window.x4CoinClick&&!1===window.x4CoinClick(e,Object.assign({},this.coin))||n("entities/popups/toggle",{id:this.coin.id})}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.baseClass,attrs:{"data-id":this.coin.id},on:{click:this.popupToggle}})},[],!1,null,null,null);r.options.__file="HoverLine.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({DIV:n(3),Style:n(2),FiatSelect:n(14),PerPageSelect:n(13),SearchInput:n(12)}),data:function(){return{medium:!1}},watch:{margins:{handler:function(){var t=this;setTimeout(function(){return t.resize()})},deep:!0}},created:function(){window.addEventListener("resize",this.resize)},mounted:function(){this.resize()},destroyed:function(){window.removeEventListener("resize",this.resize)},computed:o.a.variables({margins:function(t){return t.state.margins},baseClass:function(t){t.state;return{"x4-controls":!0,"x4-medium":this.medium}},controlsVisible:function(t){var e=t.state;return e.controls.fiatSelect.visible||e.controls.perPageSelect.visible||e.controls.searchInput.visible}}),methods:o.a.variables({resize:function(){this.medium=this.$el.offsetWidth<688}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement,e=this._self._c||t;return this.controlsVisible?e("DIV",{class:this.baseClass},[e("FiatSelect"),e("PerPageSelect"),e("SearchInput"),e("Style",[this._v(".x4-controls\n display: flex\n\n &.x4-medium\n flex-wrap: wrap\n\n > .x4-fiat-select\n flex-basis: 180px\n\n > .x4-fiat-select + .x4-per-page-select\n margin-left: 24px\n\n &.x4-medium > .x4-fiat-select\n flex-basis: 48%\n\n > .x4-per-page-select\n flex-basis: 180px\n\n &.x4-medium > .x4-per-page-select\n flex-basis: 48%\n margin-left: auto\n\n > .x4-search-input\n margin-left: auto\n flex-basis: 280px\n\n &.x4-medium > .x4-search-input\n flex-basis: 100%\n margin-top: 16px\n margin-left: 0\n")])],1):this._e()},[],!1,null,null,null);r.options.__file="Controls.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({Pager:n(80)}),computed:o.a.variables({page:function(t){return t.state.values.page},perPage:function(t){return t.state.values.perPage},options:function(t){return t.state.controls.pagerBlock}}),methods:o.a.variables({change:function(t,e){(0,t.commit)("PAGE_CHANGE",{page:e.value})}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("Pager",{staticClass:"x4-pager-block",attrs:{page:this.page,perPage:this.perPage,options:this.options},on:{change:this.change}})},[],!1,null,null,null);r.options.__file="PagerBlock.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({DIV:n(3),Style:n(2),Columns:n(89)}),data:function(){return{cellPadding:!1}},created:function(){window.addEventListener("resize",this.resize)},mounted:function(){this.resize()},destroyed:function(){window.removeEventListener("resize",this.resize)},computed:o.a.variables({options1:function(t){return t.state.controls.coinTable},options2:function(t){var e=t.state;return Object.assign({},this.options1,{theme:this.options1.theme||(this.options?this.options.theme:null)||e.theme,subtheme:this.options1.subtheme||(this.options?this.options.subtheme:null)||e.subtheme,colors:Object.assign({},e.colors,this.options?this.options.colors:null,this.options1.colors)})},actionColors:function(t){t.state;return Object.assign({},this.options2.colors,this.options2.actions.colors)},baseClass:function(){return{"x4-coin-table":!0,"x4-header-back":this.options2.background.header,"x4-body-back":this.options2.background.table,"x4-hover-back":this.options2.background.hover,"x4-sort-back":this.options2.background.sort,"x4-zebra-odd":this.options2.background.zebra&&this.options2.background.even,"x4-zebra-even":this.options2.background.zebra&&!this.options2.background.even,"x4-table-border":this.options2.grid.border,"x4-hgrid":this.options2.grid.horizontal,"x4-vgrid":this.options2.grid.vertical,"x4-cell-padding":this.cellPadding}}}),methods:o.a.variables({resize:function(){this.cellPadding=this.$el.offsetWidth<this.options2.responsive.cellPaddingThreshold}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.options2.visible?n("DIV",{class:t.baseClass},[n("Columns",{attrs:{options:t.options2}}),n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-table\n display: flex\n flex-direction: column\n overflow: hidden\n position: relative\n\n &.x4-cell-padding\n .x4-head-line > .x4-value, .x4-coin-line > .x4-value\n margin-left: 16px\n margin-right: 16px\n.x4-coin-table > .x4-columns\n display: flex\n.x4-coin-table > .x4-columns > .x4-column\n display: flex\n flex-direction: column\n flex-shrink: 0\n\n &.x4-no-sort > .x4-head-line\n cursor: default\n\n &.x4-align-left\n .x4-head-line, .x4-coin-line\n align-items: flex-start\n\n &.x4-align-center\n .x4-head-line, .x4-coin-line\n align-items: center\n\n &.x4-align-right\n .x4-head-line, .x4-coin-line\n align-items: flex-end\n\n > .x4-coin-blocks\n display: flex\n flex-direction: column\n\n > .x4-coin-block\n display: flex\n flex-direction: column\n\n > .x4-zebra-line\n left: 0\n position: absolute\n right: 0\n z-index: 0\n\n &.x4-column-rank:first-child\n .x4-head-line > .x4-value, .x4-coin-line > .x4-value\n margin-left: 16px\n margin-right: 16px\n\n &.x4-column-name\n flex-grow: 1\n\n .x4-coin-line > .x4-value > .x4-icon\n height: 25px\n width: 25px\n\n &.x4-column-actions .x4-coin-line\n z-index: 4\n.x4-coin-table .x4-head-line\n cursor: pointer\n display: flex\n flex-direction: column\n justify-content: center\n\n > .x4-value\n align-items: center\n display: flex\n margin-left: 24px\n margin-right: 24px\n\n > .x4-title\n white-space: nowrap\n.x4-coin-table .x4-flash-line\n left: 0\n position: absolute\n right: 0\n z-index: 1\n\n &.x4-flash-green\n background-color: $color(flashGreen)\n\n &.x4-flash-red\n background-color: $color(flashRed)\n.x4-coin-table .x4-hover-line\n left: 0\n position: absolute\n right: 0\n z-index: 3\n\n &.x4-show-cursor\n cursor: pointer\n.x4-coin-table .x4-popup-line\n display: flex\n flex-direction: column\n left: 0\n position: absolute\n right: 0\n z-index: 4\n\n &.x4-enter, &.x4-leave-to\n max-height: 0\n\n > .x4-inside\n display: flex\n flex-direction: column\n flex-shrink: 0\n.x4-coin-table .x4-popup-inside\n display: flex\n padding: 24px 24px\n\n &.x4-with-coin-column\n padding-left: 0\n\n > .x4-coin-column\n flex-basis: 180px\n flex-shrink: 0\n\n > .x4-main-content\n display: flex\n flex-direction: column\n flex-grow: 1\n overflow: hidden\n\n > .x4-coin-tabs\n margin-bottom: 40px\n\n > .x4-period-select\n margin-bottom: 16px\n\n .x4-radio-button\n flex-basis: 100px\n.x4-coin-table .x4-coin-line\n display: flex\n flex-direction: column\n justify-content: center\n position: relative\n z-index: 2\n\n > .x4-value\n align-items: center\n display: flex\n margin-left: 24px\n margin-right: 24px\n white-space: nowrap\n\n &.x4-badge\n border-radius: 4px\n padding: 2px 12px\n\n &.x4-grey\n background-color: $color(primary, .06)\n color: $color(primary, .32)\n\n &.x4-green\n background-color: $color(badgeGreenBack)\n color: $color(badgeGreenText)\n\n &.x4-red\n background-color: $color(badgeRedBack)\n color: $color(badgeRedText)\n")]),"material"===t.options2.theme?n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-table\n color: $color(primary)\n font-family: 'Roboto',sans-serif\n font-size: 12px\n font-weight: 400\n line-height: 1.5\n\n &.x4-body-back.x4-header-back > .x4-columns > .x4-column\n background-color: $color(inverted)\n\n &.x4-body-back:not(.x4-header-back) .x4-coin-blocks\n background-color: $color(inverted)\n\n &.x4-hover-back .x4-hover-line:hover\n background-color: $color(primary, .04)\n\n &.x4-zebra-even.x4-hover-back .x4-coin-block:nth-child(odd) .x4-hover-line:hover\n background-color: $color(primary, .08)\n\n &.x4-zebra-odd.x4-hover-back .x4-coin-block:nth-child(even) .x4-hover-line:hover\n background-color: $color(primary, .08)\n\n &.x4-sort-back .x4-sort-active\n\n .x4-head-line\n background-color: $color(primary, .04)\n\n .x4-coin-line\n background-color: $color(primary, .02)\n\n &.x4-zebra-even .x4-coin-block:nth-child(even) .x4-zebra-line\n background-color: $color(primary, .04)\n\n &.x4-zebra-odd .x4-coin-block:nth-child(odd) .x4-zebra-line\n background-color: $color(primary, .04)\n\n &.x4-hgrid .x4-coin-line\n border-bottom: 1px solid $color(primary, .08)\n\n &.x4-hgrid .x4-popup-line\n border-bottom: 1px solid $color(primary, .08)\n\n &.x4-hgrid.x4-table-border .x4-coin-block:last-child .x4-coin-line\n border-bottom: 0\n\n &.x4-vgrid\n\n .x4-head-line, .x4-coin-line\n border-right: 1px solid $color(primary, .08)\n\n > .x4-columns > .x4-column:last-child\n .x4-head-line, .x4-coin-line\n border-right: 0\n.x4-coin-table > .x4-columns > .x4-column\n\n &.x4-no-sort .x4-head-line:hover > .x4-lines > .x4-line2\n background-color: $color(primary, .42)\n\n &.x4-sort-active .x4-head-line\n\n > .x4-value > .x4-sort\n opacity: 1\n\n > .x4-lines > .x4-line1\n transform: scaleX(1)\n\n .x4-zebra-line\n height: 48px\n\n .x4-flash-line\n height: 48px\n\n .x4-hover-line\n height: 48px\n\n .x4-popup-line\n margin-top: 48px\n\n .x4-coin-line\n flex-basis: 48px\n\n &.x4-column-actions .x4-ui-button\n flex-shrink: 0\n margin-left: 4px\n\n &:first-child\n margin-left: 0\n.x4-coin-table .x4-head-line\n flex-basis: 56px\n position: relative\n\n > .x4-value\n\n > .x4-title\n font-weight: 500\n text-transform: uppercase\n\n > .x4-sort\n color: $color(primary, .38)\n font-size: 16px\n margin-top: -1px\n opacity: 0\n\n &.x4-sort-left\n margin-right: 4px\n\n &.x4-sort-right\n margin-left: 4px\n\n &:hover > .x4-value > .x4-sort\n opacity: 1\n.x4-coin-table .x4-head-line .x4-ui-underline\n bottom: 0\n left: 0\n position: absolute\n right: 0\n z-index: 1\n\n > .x4-line1\n background-color: $color(accent)\n height: 2px\n position: relative\n transform: scaleX(0)\n transform-origin: center center 0\n z-index: 1\n\n > .x4-line2\n background-color: $color(primary, .42)\n height: 1px\n margin-top: -1px\n.x4-coin-table .x4-head-line\n &:hover > .x4-ui-underline > .x4-line2\n background-color: $color(primary, .87)\n\n &.x4-active > .x4-ui-underline > .x4-line1\n transform: scaleX(1)\n.x4-coin-table .x4-head-line .x4-ui-ripple\n height: 100%\n left: 0\n pointer-events: none\n position: absolute\n top: 0\n width: 100%\n\n .x4-inside\n display: block\n height: 100%\n overflow: hidden\n position: relative\n width: 100%\n\n .x4-core\n border-radius: 50%\n display: block\n position: absolute\n\n &.x4-leave-to\n opacity: 0!important\n")]):t._e(),"material"===t.options2.theme&&"filled"===t.options2.subtheme?n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-table\n border-top-left-radius: 4px\n border-top-right-radius: 4px\n\n &.x4-sort-back .x4-sort-active .x4-head-line\n background-color: $color(primary, .08)\n\n &.x4-table-border\n border-bottom-left-radius: 4px\n border-bottom-right-radius: 4px\n\n > .x4-columns > .x4-column:first-child .x4-coin-block\n border-left: 1px solid $color(primary, .08)\n\n > .x4-columns > .x4-column:last-child .x4-coin-block\n border-right: 1px solid $color(primary, .08)\n\n .x4-coin-block:last-child\n border-bottom: 1px solid $color(primary, .08)\n\n > .x4-columns > .x4-column:first-child .x4-coin-block:last-child\n border-bottom-left-radius: 4px\n\n > .x4-columns > .x4-column:last-child .x4-coin-block:last-child\n border-bottom-right-radius: 4px\n.x4-coin-table > .x4-columns > .x4-column\n\n &.x4-no-sort .x4-head-line:hover\n background-color: $color(primary, .04)\n.x4-coin-table .x4-head-line\n background-color: $color(primary, .04)\n\n &:hover\n background-color: $color(primary, .06)\n\n > .x4-value\n margin-top: -1px\n\n > .x4-sort\n color: $color(primary, .54)\n\n > .x4-title\n color: $color(primary, .6)\n\n &.x4-active > .x4-value\n > .x4-sort, > .x4-title\n color: $color(primary)\n")]):t._e(),"material"===t.options2.theme&&"outlined"===t.options2.subtheme?n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-table\n border-radius: 4px\n \n &.x4-table-border\n border: 1px solid $color(primary, .24)\n.x4-coin-table > .x4-columns > .x4-column\n\n &.x4-sort-active .x4-head-line\n border-bottom: 2px solid $color(accent)\n.x4-coin-table .x4-head-line\n border-bottom: 1px solid $color(primary, .24)\n\n &:hover\n border-bottom: 1px solid $color(primary, .74)\n\n > .x4-value\n\n > .x4-sort\n color: $color(primary, .54)\n\n > .x4-title\n color: $color(primary, .6)\n\n &.x4-active > .x4-value\n > .x4-sort, > .x4-title\n color: $color(primary)\n")]):t._e(),"material"===t.options2.theme&&"standard"===t.options2.subtheme?n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-table\n border-radius: 4px\n\n &.x4-table-border\n border: 1px solid $color(primary, .08)\n.x4-coin-table > .x4-columns > .x4-column\n.x4-coin-table .x4-head-line\n\n > .x4-value\n margin-top: -1px\n\n > .x4-sort\n color: $color(primary, .54)\n\n > .x4-title\n color: $color(primary, .6)\n\n &.x4-active > .x4-value\n > .x4-sort, > .x4-title\n color: $color(primary)\n")]):t._e(),n("Style",{attrs:{colors:t.actionColors,scale:.64}},[t._v(".x4-coin-table .x4-column-actions .x4-ui-button\n cursor: pointer\n display: inline-block\n position: relative\n text-decoration: none\n vertical-align: top\n\n .x4-label\n overflow-x: hidden\n text-overflow: ellipsis\n white-space: nowrap\n.x4-coin-table .x4-column-actions .x4-ui-button.x4-theme-material\n border-radius: $scale(2px)\n font-family: 'Roboto',sans-serif\n font-size: $scale(14px)\n font-weight: 400\n height: $scale(36px)\n line-height: 1.5\n text-decoration: none\n\n .x4-icon\n float: left\n font-size: $scale(18px)\n margin: $scale(9px) 0 0 $scale(12px)\n\n &.x4-no-label .x4-icon\n margin-right: $scale(12px)\n\n .x4-label\n font-size: $scale(16px)\n font-weight: 500\n padding: $scale(7px) $scale(16px) 0 $scale(8px)\n overflow: hidden\n text-transform: uppercase\n\n &.x4-no-icon .x4-label\n padding-left: $scale(16px)\n\n .x4-hover\n bottom: 0\n left: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-border\n border: $scale(2px) solid transparent\n bottom: 0\n left: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-flylabel\n font-size: $scale(14px)\n left: 0\n position: absolute\n right: 0\n text-align: center\n top: -28px\n\n &.x4-flytiny\n top: -18px\n\n &.x4-enter, &.x4-leave-to\n opacity: 0\n top: 0\n\n &.x4-flydown\n bottom: -28px\n top: auto\n\n &.x4-flytiny\n bottom: -18px\n\n &.x4-enter, &.x4-leave-to\n bottom: 0\n\n &.x4-loading\n .x4-icon, .x4-label\n visibility: hidden\n\n .x4-loader\n height: $scale(28px)\n left: 50%\n position: absolute\n top: 50%\n transform: translate(-50%, -50%)\n width: $scale(28px)\n.x4-coin-table .x4-column-actions .x4-ui-button.x4-subtheme-filled\n background-color: $color(primary, .04)\n\n &:hover\n background-color: $color(primary, .08)\n\n .x4-icon\n color: $color(primary, .54)\n\n .x4-label\n color: $color(primary)\n\n .x4-loader .x4-shape\n border-color: $color(primary, .54)\n\n\n &.x4-colorize\n background-color: $color(accent)\n\n &:hover .x4-hover\n background-color: $color(inverted, .32)\n\n .x4-icon\n color: $color(inverted)\n\n .x4-label\n color: $color(inverted)\n\n .x4-loader .x4-shape\n border-color: $color(inverted)\n.x4-coin-table .x4-column-actions .x4-ui-button.x4-subtheme-outlined\n\n .x4-border\n border-color: $color(primary, .24)\n\n &:hover .x4-border\n border-color: $color(primary, .74)\n\n &:hover .x4-hover\n background-color: $color(primary, .08)\n\n .x4-icon\n color: $color(primary, .54)\n\n .x4-label\n color: $color(primary)\n\n .x4-loader .x4-shape\n border-color: $color(primary, .54)\n\n\n &.x4-colorize\n\n .x4-border\n border-color: $color(accent)\n\n &:hover .x4-border\n border-color: $color(accent)\n\n &:hover .x4-hover\n background-color: $color(accent, .08)\n\n .x4-icon\n color: $color(accent)\n\n .x4-label\n color: $color(accent)\n\n .x4-loader .x4-shape\n border-color: $color(accent)\n.x4-coin-table .x4-column-actions .x4-ui-button.x4-subtheme-standard\n\n &:hover\n background-color: $color(primary, .08)\n\n .x4-icon\n color: $color(primary, .54)\n\n .x4-label\n color: $color(primary)\n\n .x4-loader .x4-shape\n border-color: $color(primary, .54)\n\n\n &.x4-colorize\n\n &:hover\n background-color: $color(accent, .08)\n\n .x4-icon\n color: $color(accent)\n\n .x4-label\n color: $color(accent)\n\n .x4-loader .x4-shape\n border-color: $color(accent)\n")])],1):t._e()},[],!1,null,null,null);r.options.__file="CoinTable.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o={components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement,e=this._self._c||t;return e("DIV",{attrs:{level:3}},[this._t("base"),this._t("controls"),this._t("coin-table"),this._t("pager-block"),this._t("styles"),e("Style",[this._v(".x4-app\n\n > .x4-controls\n margin-bottom: 36px\n")])],2)},[],!1,null,null,null);s.options.__file="FullFeatured_1.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({Loader:n(10)}),computed:o.a.variables({loader:function(t){return t.state.controls.loader},dataLoaded:function(t){var e=t.state;return void 0===e.bootstrap||void 0===e.bootstrap.isLoaded||!0===e.bootstrap.isLoaded}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement,e=this._self._c||t;return this.loader&&this.loader.visible&&!this.dataLoaded?e("Loader",{attrs:{colorize:this.loader.colorize,size:this.loader.size}}):this._e()},[],!1,null,null,null);r.options.__file="Loader.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({DIV:n(3),Style:n(2),Icon:n(6)}),computed:o.a.variables({visible:function(t){var e=t.state;return e.builder.enabled&&!e.builder.opened},baseClass:function(){return{"x4-builder-open":!0,"x4-transition":!0}},marginRight:function(t){return t.state.margins.right}}),methods:o.a.variables({open:function(t){(0,t.dispatch)("builder/open")}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("DIV",{class:t.baseClass,attrs:{title:"Visual Customizer"}},[n("Icon",{staticClass:"x4-icon",attrs:{icon:"settings"},nativeOn:{click:function(e){return t.open(e)}}}),n("Style",[t._v(".x4-builder-open\n display: flex\n flex-direction: column\n font-size: 0\n line-height: 0\n overflow: hidden\n position: absolute\n right: "+t._s(t.marginRight)+"px\n top: -48px\n z-index: 1000000\n\n .x4-icon\n animation: x4-builder-open-rotation 2s cubic-bezier(.4,0,.2,1) infinite\n cursor: pointer\n font-size: 32px\n user-select: none\n\n@keyframes x4-builder-open-rotation {\n 0%\n color: $color(primary, .24)\n transform: rotate(0deg)\n 50%\n color: $color(accent)\n transform: rotate(180deg)\n 100%\n color: $color(primary, .24)\n transform: rotate(360deg)\n}\n")])],1):t._e()},[],!1,null,null,null);r.options.__file="BuilderOpen.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["options"],components:o.a.components({Column:n(90)}),data:function(){return{adjusting:!0,columnElements:{}}},mounted:function(){var t=this;setTimeout(function(){return t.adjust2()}),this.adjustInterval=setInterval(function(){if(!t.adjusting){if(t.$el.scrollWidth>t.$el.offsetWidth)return t.adjust1();for(var e in t.columnElements){var n=t.columnElements[e].component.$el.offsetWidth;if(0!==n&&n!==t.columnElements[e].width)return t.adjust1()}}},1e3)},destroyed:function(){clearInterval(this.adjustInterval)},methods:o.a.variables({adjust1:function(){var t=this;for(var e in this.adjusting=!0,this.columnElements)this.columnElements[e].visible=!0;setTimeout(function(){return t.adjust2()})},adjust2:function(){var t=this;if(this.$el.scrollWidth>this.$el.offsetWidth)for(var e=this.$el.scrollWidth,n=0;n<this.options.hideOrder.length;n++){var o=this.options.hideOrder[n];if(-1!==this.options.showOrder.indexOf(o)&&(this.columnElements[o]&&(e-=this.columnElements[o].component.$el.offsetWidth,this.columnElements[o].visible=!1),e<=this.$el.offsetWidth))break}setTimeout(function(){for(var e in t.columnElements)t.columnElements[e].width=t.columnElements[e].component.$el.offsetWidth}),this.adjusting=!1}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"x4-columns"},[t._l(t.options.showOrder,function(e,o){return t.options.columns[e].visible?[n("Column",{attrs:{options:t.options,visible:t.columnElements[e]&&t.columnElements[e].visible,column:t.options.columns[e],columnElements:t.columnElements,columnName:e,columnIndex:o}})]:t._e()})],2)},[],!1,null,null,null);r.options.__file="Columns.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["options","visible","column","columnElements","columnName","columnIndex"],components:o.a.components({HeadLine:n(98),FlashLine:n(97),HoverLine:n(82),PopupLine:n(101),CoinLine:n(100)}),created:function(){window.Vue.set(this.columnElements,this.columnName,{component:this,visible:!0,width:0})},computed:o.a.variables({coins:function(t){return t.getters["entities/coins2/paginated"]},sortField:function(t){return t.state.values.sort.split(":")[0]},baseClass:function(t){t.state;var e={"x4-column":!0};return e["x4-column-"+this.columnName]=!0,e["x4-no-sort"]=!this.column.sort,e["x4-sort-active"]=this.sortField===this.columnName,e["x4-align-"+this.column.align]=!0,e},popupsVisible:function(t){t.state;return this.options.popup.visible}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],class:t.baseClass},[n("HeadLine",{attrs:{options:t.options,column:t.column,columnName:t.columnName}}),n("div",{staticClass:"x4-coin-blocks"},[t._l(t.coins,function(e){return[n("div",{staticClass:"x4-coin-block",class:"x4-coin-"+e.short},[0===t.columnIndex?n("div",{staticClass:"x4-zebra-line"}):t._e(),0===t.columnIndex?n("FlashLine",{attrs:{coin:e,options:t.options}}):t._e(),0===t.columnIndex?n("HoverLine",{attrs:{coin:e,options:t.options}}):t._e(),0===t.columnIndex&&t.popupsVisible?n("PopupLine",{attrs:{coin:e,options:t.options}}):t._e(),n("CoinLine",{attrs:{coin:e,options:t.options,column:t.column,columnName:t.columnName}})],1)]})],2)],1)},[],!1,null,null,null);r.options.__file="Column.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o={props:["is2","options","colors","scale"],components:n(0).a.components({Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.is2,{tag:"div",attrs:{options:t.options,colors:t.colors,scale:t.scale},on:{focus:function(e){t.$emit("focus")}}},[t._t("icon",null,{slot:"icon"}),t._t("ddicon",null,{slot:"ddicon"}),t._t("label",null,{slot:"label"}),t._t("input",null,{slot:"input"}),t._t("menu",null,{slot:"menu"}),n("div",{staticClass:"x4-lines",attrs:{slot:"lines"},slot:"lines"},[n("div",{staticClass:"x4-line1 x4-transition"}),n("div",{staticClass:"x4-line2 x4-transition"})]),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-input.x4-theme-material\n cursor: text\n font-family: 'Roboto',sans-serif\n font-size: $scale(14px)\n font-weight: 400\n height: $scale(56px)\n line-height: 1.5\n\n &.x4-type-textarea\n height: $scale(104px)\n\n &.x4-type-select\n cursor: pointer\n\n .x4-icon\n float: left\n color: $color(primary, .54)\n font-size: $scale(24px)\n\n &.x4-enter, &.x4-leave-to\n opacity: 0\n\n .x4-dd-icon\n color: $color(primary, .54)\n float: right\n font-size: $scale(24px)\n\n .x4-label\n color: $color(primary, .54)\n font-size: $scale(16px)\n position: absolute\n\n &.x4-focused .x4-label, &.x4-dirty .x4-label\n font-size: $scale(12px)\n\n &.x4-focused .x4-label\n color: $color(accent)\n\n .x4-input-wrapper\n height: 100%\n overflow: hidden\n position: relative\n\n &.x4-type-textarea .x4-input-wrapper\n padding-bottom: $scale(6px)\n\n &.x4-type-select .x4-input-wrapper\n padding-right: 0\n\n .x4-input, .x4-textarea\n background-color: transparent\n border: none\n box-shadow: none\n font-family: 'Roboto',sans-serif\n outline: none\n padding: 0\n text-shadow: none\n width: 100%\n\n .x4-textarea\n height: 100%\n resize: none\n\n .x4-input, .x4-textarea, .x4-select\n color: $color(primary)\n font-size: $scale(16px)\n font-weight: 400\n line-height: $scale(1.5)\n\n .x4-lines\n bottom: 0\n left: 0\n position: absolute\n right: 0\n z-index: 1\n\n .x4-line1\n background-color: $color(accent)\n height: 2px\n position: relative\n transform: scaleX(0)\n transform-origin: center center 0\n z-index: 1\n\n .x4-line2\n background-color: $color(primary, .42)\n height: 1px\n margin-top: -1px\n\n &:hover .x4-lines .x4-line2\n background-color: $color(primary, .87)\n\n &.x4-focused .x4-lines .x4-line1\n transform: scaleX(1)\n\n .x4-backdrop\n bottom: 0\n left: 0\n position: fixed\n right: 0\n top: 0\n z-index: 1000\n\n .x4-menu\n background-color: $color(inverted)\n box-shadow: 0 5px 5px -3px $color(primary, .2), 0 8px 10px 1px $color(primary, .14), 0 3px 14px 2px $color(primary, .12)\n left: 0\n max-height: $scale(304px)\n position: absolute\n right: 0\n top: 100%\n z-index: 1001\n\n &.x4-enter, &.x4-leave-to\n max-height: 0\n\n > .x4-inside\n padding: $scale(8px) 0\n\n .x4-option\n color: $color(primary)\n height: $scale(48px)\n font-size: $scale(14px)\n padding: $scale(14px) $scale(16px) 0\n\n &:hover\n background-color: $color(primary, .04)\n\n &.x4-active\n background-color: $color(primary, .06)\n\n .x4-scrollable\n overflow-y: auto\n\n &::-webkit-scrollbar\n height: 4px\n width: 4px\n\n &::-webkit-scrollbar-button\n display: none\n height: 0\n width: 0\n\n &::-webkit-scrollbar-corner\n background-color: transparent\n\n &::-webkit-scrollbar-thumb\n background-clip: padding-box\n background-color: $color(primary, .16)\n")])],2)},[],!1,null,null,null);s.options.__file="InputMaterial.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["colors","scale"],components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement,e=this._self._c||t;return e("DIV",{attrs:{level:3}},[this._t("label"),this._t("previous"),this._t("next"),this._t("default"),e("Style",{attrs:{colors:this.colors}},[this._v(".x4-ui-pager.x4-subtheme-default\n \n")])],2)},[],!1,null,null,null);s.options.__file="PagerDefault.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["options","colors","scale"],components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3}},[t._t("lines"),t._t("icon"),t._t("ddicon"),t._t("label"),t._t("input"),t._t("menu"),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-input.x4-subtheme-standard\n\n .x4-icon\n margin: $scale(16px) 0 0\n\n .x4-dd-icon\n margin: $scale(16px) $scale(4px) 0 0\n\n .x4-label\n left: $scale(33px)\n right: 0\n top: $scale(17px)\n\n &.x4-no-icon .x4-label\n left: 0\n\n &.x4-focused .x4-label, &.x4-dirty .x4-label\n top: $scale(7px)\n\n .x4-input-wrapper\n padding: $scale(26px) $scale(16px) 0 $scale(9px)\n\n &.x4-no-icon .x4-input-wrapper\n padding-left: 0\n\n &.x4-no-label .x4-input-wrapper\n padding-top: $scale(17px)\n")])],2)},[],!1,null,null,null);s.options.__file="InputStandard.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["options","colors","scale"],components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3}},[n("div",{staticClass:"x4-borders"},[n("div",{staticClass:"x4-border1 x4-transition"}),n("div",{staticClass:"x4-border2 x4-transition"},[n("div",{staticClass:"x4-shape1"}),n("div",{staticClass:"x4-shape2"},[t.options.label?n("div",{staticClass:"x4-plabel"},[t._v(t._s(t.options.label))]):t._e()]),n("div",{staticClass:"x4-shape3"})])]),t._t("icon"),t._t("ddicon"),t._t("label"),t._t("input"),t._t("menu"),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-input.x4-subtheme-outlined\n\n .x4-icon\n margin: $scale(16px) 0 0 $scale(15px)\n\n .x4-dd-icon\n margin: $scale(16px) $scale(4px) 0 0\n\n .x4-label\n left: $scale(48px)\n top: $scale(17px)\n\n &.x4-no-icon .x4-label\n left: $scale(16px)\n\n &.x4-focused .x4-label, &.x4-dirty .x4-label\n left: $scale(16px)\n top: $scale(-9px)\n\n .x4-input-wrapper\n padding: $scale(17px) $scale(16px) 0 $scale(9px)\n\n &.x4-no-icon .x4-input-wrapper\n padding-left: $scale(16px)\n\n .x4-borders\n bottom: 0\n left: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-border1\n border: 1px solid $color(primary, .24)\n border-radius: $scale(4px)\n bottom: 0\n left: 0\n opacity: 1\n position: absolute\n right: 0\n top: 0\n\n .x4-border2\n bottom: 0\n left: 0\n opacity: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-shape1\n border: 1px solid $color(primary, .24)\n border-right: none\n border-radius: $scale(4px) 0 0 $scale(4px)\n float: left\n height: 100%\n width: 10px\n\n .x4-shape2\n border-bottom: 1px solid $color(primary, .24)\n float: left\n height: 100%\n\n .x4-plabel\n font-size: $scale(12px)\n margin: 0 $scale(6px)\n overflow-x: hidden\n text-overflow: ellipsis\n visibility: hidden\n white-space: nowrap\n\n .x4-shape3\n border: 1px solid $color(primary, .24)\n border-left: none\n border-radius: 0 $scale(4px) $scale(4px) 0\n height: 100%\n min-width: $scale(4px)\n overflow: hidden\n\n &:hover .x4-borders .x4-border1\n border-color: $color(primary, .74)\n\n &:hover .x4-borders .x4-border2\n .x4-shape1, .x4-shape2, .x4-shape3\n border-color: $color(primary, .74)\n\n &.x4-focused .x4-borders .x4-border1, &.x4-dirty .x4-borders .x4-border1\n opacity: 0\n\n &.x4-focused .x4-borders .x4-border2, &.x4-dirty .x4-borders .x4-border2\n opacity: 1\n\n &.x4-focused .x4-borders .x4-border2\n .x4-shape1, .x4-shape2, .x4-shape3\n border-color: $color(accent)\n border-width: 2px\n")])],2)},[],!1,null,null,null);s.options.__file="InputOutlined.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["options","colors","scale"],components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3}},[t._t("lines"),t._t("icon"),t._t("ddicon"),t._t("label"),t._t("input"),t._t("menu"),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-input.x4-subtheme-filled\n background-color: $color(primary, .04)\n border-radius: $scale(4px) $scale(4px) 0 0\n\n &:hover\n background-color: $color(primary, .06)\n\n &.x4-focused\n background-color: $color(primary, .08)\n\n .x4-icon\n margin: $scale(16px) 0 0 $scale(15px)\n\n .x4-dd-icon\n margin: $scale(16px) $scale(4px) 0 0\n\n .x4-label\n left: $scale(48px)\n right: $scale(16px)\n top: $scale(17px)\n\n &.x4-no-icon .x4-label\n left: $scale(16px)\n\n &.x4-focused .x4-label, &.x4-dirty .x4-label\n right: $scale(8px)\n top: $scale(7px)\n\n .x4-input-wrapper\n padding: $scale(26px) $scale(16px) 0 $scale(9px)\n\n &.x4-no-icon .x4-input-wrapper\n padding-left: $scale(16px)\n\n &.x4-no-label .x4-input-wrapper\n padding-top: $scale(17px)\n\n &:hover .x4-back\n background-color: $color(primary, .08)\n\n &.x4-focused .x4-back\n background-color: $color(primary, .04)\n")])],2)},[],!1,null,null,null);s.options.__file="InputFilled.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["is2","colors","scale"],components:n(0).a.components({Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.is2,{tag:"div",attrs:{colors:t.colors,scale:t.scale}},[t._t("label",null,{slot:"label"}),t._t("previous",null,{slot:"previous"}),t._t("next",null,{slot:"next"}),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-pager.x4-theme-material\n color: $color(primary, .54)\n align-items: center\n display: flex\n flex-basis: $scale(58px)\n font-family: 'Roboto',sans-serif\n font-size: $scale(12px)\n font-weight: 400\n justify-content: flex-end\n line-height: 1.5\n\n .x4-label\n margin-right: $scale(26px)\n\n .x4-previous, .x4-next\n align-items: center\n align-self: stretch\n cursor: pointer\n display: flex\n\n .x4-icon\n font-size: $scale(24px)\n\n .x4-previous .x4-icon\n margin-left: $scale(16px)\n margin-right: $scale(20px)\n\n .x4-next .x4-icon\n margin-left: $scale(20px)\n margin-right: $scale(16px)\n\n .x4-disabled\n color: $color(primary, .26)\n")])],2)},[],!1,null,null,null);s.options.__file="PagerMaterial.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["coin","options"],data:function(){return{flashType:null}},watch:{coin:function(t,e){t.id!==e.id&&(this.justCoinChanged=!0)}},computed:n(0).a.variables({visible:function(){return this.options.flashes.visible},baseClass:function(){return{"x4-flash-line":!0,"x4-transition":!0}},initFlash:function(){var t=this;return this.coin.price&&0!==this.coin.change&&!this.justCoinChanged&&(this.flashType=1===this.coin.change?"green":"red",setTimeout(function(){return t.flashType=null},300)),this.justCoinChanged=!1,{}},flashClass:function(){var t={};return this.flashType&&(t["x4-flash-"+this.flashType]=!0),t}})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement,e=this._self._c||t;return this.visible?e("div",{class:[this.baseClass,this.initFlash,this.flashClass]}):this._e()},[],!1,null,null,null);s.options.__file="FlashLine.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o=n(4),i=n(0),s={props:["options","column","columnName"],components:i.a.components({Icon:n(6),Underline:n(16),Ripple:n(8)}),computed:i.a.variables({sortField:function(t){return t.state.values.sort.split(":")[0]},sortType:function(t){return t.state.values.sort.split(":")[1]},baseClass:function(t){t.state;return{"x4-head-line":!0,"x4-active":this.sortField===this.columnName}},icon:function(){return"arrow_"+("asc"===(this.columnName!==this.sortField?this.column.sort:this.sortType)?"down":"up")+"ward"},title:function(){return Object(o.a)(this.column.title)},linesVisible:function(){return"material"===this.options.theme&&("filled"===this.options.subtheme||"standard"===this.options.subtheme)}}),methods:i.a.variables({change:function(t){var e=t.commit;if(this.column.sort){var n=this.columnName===this.sortField?"asc"===this.sortType?"desc":"asc":this.column.sort;e("SORT_CHANGE",{sort:this.columnName+":"+n})}}})},r=n(1),a=Object(r.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.baseClass,on:{click:t.change}},[n("div",{staticClass:"x4-value"},[!t.column.sort||"right"!==t.column.align&&"center"!==t.column.align?t._e():n("Icon",{staticClass:"x4-sort x4-sort-left x4-transition",attrs:{icon:t.icon}}),n("div",{staticClass:"x4-title x4-transition"},[t._v(t._s(t.title))]),t.column.sort&&"left"===t.column.align?n("Icon",{staticClass:"x4-sort x4-sort-right x4-transition",attrs:{icon:t.icon}}):t._e()],1),n("Underline",{attrs:{theme:t.options.theme,subtheme:t.options.subtheme,colors:t.options.colors,nostyle:!0}}),t.column.sort?n("Ripple",{attrs:{theme:t.options.theme,opacity:.04,color:t.options.colors.primary,nostyle:!0}}):t._e()],1)},[],!1,null,null,null);a.options.__file="HeadLine.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={components:o.a.components({Style:n(2),BuilderOpen:n(88),Loader:n(87)}),mounted:function(){var t=this.$root.attributes;for(var e in t)"id"!==e&&"class"!==e&&this.$el.setAttribute(e,t[e])},computed:o.a.variables({margins:function(t){return t.state.margins},component:function(t){var e=t.state;return{coinTable:n(79).default}[e.type]},baseClass:function(t){var e={"x4-app":!0};return e["x4-"+t.state.type.replace(/([A-Z])/,"-$1").toLowerCase()]=!0,this.$root.attributes.class&&(e[this.$root.attributes.class]=!0),e},baseID:function(){return this.$root.attributes.id||null}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.component,{tag:"div",class:t.baseClass,attrs:{id:t.baseID}},[n("template",{slot:"base"},[n("BuilderOpen"),n("Loader")],1),n("Style",{attrs:{slot:"styles"},slot:"styles"},[t._v(".x4-app\n box-sizing: border-box\n color: $color(primary)\n display: flex\n flex-direction: column\n position: relative\n text-align: left\n text-rendering: optimizeLegibility\n user-select: none\n -moz-osx-font-smoothing: grayscale\n -webkit-font-smoothing: antialiased\n\n *\n box-sizing: border-box\n -webkit-tap-highlight-color: transparent\n\n a\n color: $color(primary)\n\n img\n margin: 0\n\n input, textarea\n color: $color(primary)\n\n .x4-transition\n transition: .3s cubic-bezier(.4,0,.2,1)\n\n .x4-clearfix:after\n clear: both\n content: ''\n display: table\n.x4-app\n margin-bottom: "+t._s(t.margins.bottom+"px")+"\n margin-left: "+t._s(t.margins.fixed?"auto":t.margins.left+"px")+"\n margin-right: "+t._s(t.margins.fixed?"auto":t.margins.right+"px")+"\n margin-top: "+t._s(t.margins.top+"px")+"\n max-width: "+t._s(t.margins.fixed?t.margins.width+t.margins.left+t.margins.right+"px":"none")+"\n "+t._s(t.margins.fixed?"padding-left: "+t.margins.left+"px":"")+"\n "+t._s(t.margins.fixed?"padding-right: "+t.margins.right+"px":"")+"\n")])],2)},[],!1,null,null,null);r.options.__file="AppMain.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["coin","options","column","columnName"],components:o.a.components({Format:n(102),Actions:n(103)}),computed:o.a.variables({baseClass:function(t){t.state;return{"x4-coin-line":!0,"x4-transition":!0}},baseStyle:function(t){var e=t.state,n={};return e.controls.coinTable.popup.visible&&e.entities.popups[this.coin.id]&&(n["margin-bottom"]=e.entities.popups[this.coin.id].height+"px"),n}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.baseClass,style:t.baseStyle},[-1!==["rank","name","mktcap","price","vwap","supply","volume","change24h"].indexOf(t.columnName)?n("Format",{attrs:{options:t.options,column:t.column,columnName:t.columnName,coin:t.coin}}):t._e(),"actions"===t.columnName?n("Actions",{attrs:{coin:t.coin,options:t.options}}):t._e()],1)},[],!1,null,null,null);r.options.__file="CoinLine.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["coin","options"],components:o.a.components({DropDown:n(15),PopupInside:n(104)}),computed:o.a.variables({popup:function(t){return t.state.entities.popups[this.coin.id]},visible:function(t){t.state,t.commit;return this.popup&&this.popup.visible}}),methods:o.a.variables({enter:function(t,e){var n=t.commit,o=e.scrollHeight;n("POPUP_SET_HEIGHT",{id:this.coin.id,height:o})},leave:function(t){t.state;var e=t.commit;this.popup&&e("POPUP_SET_HEIGHT",{id:this.coin.id,height:0})}})},s=n(1),r=Object(s.a)(i,function(){var t=this.$createElement,e=this._self._c||t;return e("DropDown",{staticClass:"x4-popup-line",attrs:{opened:this.visible},on:{enter:this.enter,leave:this.leave}},[e("PopupInside",{attrs:{coin:this.coin,options:this.options}})],1)},[],!1,null,null,null);r.options.__file="PopupLine.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o={props:["coin","options","column","columnName"],computed:n(0).a.variables({formatExtra:function(t){var e=t.state;return{fiat:e.entities.fiats[e.values.fiat]}},baseClass:function(){var t={"x4-value":!0};if(this.column.badge&&this.column.badge.visible){t["x4-badge"]=!0;var e=this.column.badge.value?this.coin[this.column.badge.value]:this.coin.change;t[e>0?"x4-green":e<0?"x4-red":"x4-grey"]=!0}return t},value:function(t){var e=this,n=(t.state,t.getters),o=this.coin[this.columnName];return this.column.format&&this.options.formatters[this.columnName].forEach(function(t){o=n["helpers/items/format/"+t](o,e.column.format,e.coin,e.formatExtra,o)}),o}})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.baseClass,domProps:{innerHTML:this._s(this.value)}})},[],!1,null,null,null);s.options.__file="Format.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["coin","options"],components:n(0).a.components({Button:n(105)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"x4-value"},[t._l(t.options.actionsOrder,function(e){return[n("Button",{attrs:{name:e,coin:t.coin,options:t.options}})]})],2)},[],!1,null,null,null);s.options.__file="Actions.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["coin","options"],components:o.a.components({CoinColumn:n(108),CoinTabs:n(109),PeriodSelect:n(106),LineChart:n(110)}),watch:{"controls.coinColumn":{handler:function(){this.resize()},deep:!0},"controls.periodSelect":{handler:function(){this.resize()},deep:!0},"controls.lineChart":{handler:function(){this.resize()},deep:!0}},created:function(){window.addEventListener("resize",this.resize)},destroyed:function(){window.removeEventListener("resize",this.resize)},computed:o.a.variables({controls:function(t){return t.state.controls},popup:function(t){return t.state.entities.popups[this.coin.id]},coinTab:function(t){return t.getters["values/coinTab"]({id:this.coin.id})},baseClass:function(t){var e=t.state;t.commit;return{"x4-popup-inside":!0,"x4-with-coin-column":e.controls.coinColumn.visible}}}),methods:o.a.variables({resize:function(t){var e=this,n=(t.state,t.commit);setTimeout(function(){e.popup&&e.popup.height!==e.$el.scrollHeight&&n("POPUP_SET_HEIGHT",{id:e.coin.id,height:e.$el.scrollHeight})})}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.baseClass},[n("CoinColumn",{attrs:{coin:t.coin.id,options:t.options}}),n("div",{staticClass:"x4-main-content"},[n("CoinTabs",{attrs:{scale:.86,id:t.coin.id,options:t.options}}),"chart"===t.coinTab?[n("PeriodSelect",{attrs:{scale:.8,coin:t.coin.id,options:t.options}}),n("LineChart",{attrs:{coin1:t.coin.id,options:t.options}})]:t._e()],2)],1)},[],!1,null,null,null);r.options.__file="PopupInside.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["name","coin","options"],components:o.a.components({Button:n(11)}),computed:o.a.variables({options1:function(){return this.options.actions[this.name]},meta:function(t){return t.state.entities.coinsMeta[this.coin.id]},fiat:function(t){var e=t.state;return e.entities.fiats[e.values.fiat]},baseClass:function(){var t={};return t["x4-"+this.name+"-button"]=!0,t},options2:function(t){var e=t.state,n=Object.assign({},this.options1,{theme:this.options1.theme||this.options.theme||e.theme,subtheme:this.options1.subtheme||this.options.subtheme||e.subtheme});return-1!==["website","explorer"].indexOf(this.name)&&(n.url=!this.meta||this.meta[this.name]),n},patterns:function(t){t.state;return{id:this.coin.id,coin:this.coin.short,coin_lc:this.coin.short.toLowerCase(),fiat:this.fiat.short,fiat_lc:this.fiat.short.toLowerCase()}}}),methods:o.a.variables({click:function(t,e){var n=t.state,o=(t.dispatch,"x4"+this.name[0].toUpperCase()+this.name.substr(1)+"ButtonClick");window[o]&&window[o](e,n,Object.assign({},this.coin))}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement;return(t._self._c||e)("Button",{class:t.baseClass,attrs:{"data-id":t.coin.id,scale:.64,options:t.options2,labelPatterns:t.patterns,tooltipPatterns:t.patterns,urlPatterns:t.patterns,nostyle:!0},nativeOn:{click:function(e){return t.click(e)}}})},[],!1,null,null,null);r.options.__file="Button.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i=window.X4CryptoTables,s={props:["coin","options","scale"],components:o.a.components({Style:n(2),RadioButtons:n(81)}),computed:o.a.variables({value:function(t){var e=t.state;return i.multiValues[e.type].period?e.values.period[this.coin]||e.defaults.period:e.values.period},options1:function(t){return t.state.controls.periodSelect},options2:function(t){var e=t.state;return Object.assign({},this.options1,{theme:this.options1.theme||(this.options?this.options.theme:null)||e.theme,subtheme:this.options1.subtheme||(this.options?this.options.subtheme:null)||e.subtheme,colors:Object.assign({},e.colors,this.options?this.options.colors:null,this.options1.colors)})}}),methods:o.a.variables({change:function(t,e){var n=t.commit,o=e.value;n("PERIOD_CHANGE",{id:this.coin,period:o})}})},r=n(1),a=Object(r.a)(s,function(){var t=this.$createElement,e=this._self._c||t;return e("RadioButtons",{staticClass:"x4-period-select",attrs:{scale:this.scale,value:this.value,options:this.options2},on:{change:this.change}},[e("Style",[this._v(".x4-period-select\n display: flex!important\n flex-wrap: wrap\n\n .x4-radio-button\n flex-basis: 120px\n margin-bottom: 8px\n")])],1)},[],!1,null,null,null);a.options.__file="PeriodSelect.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o={props:["id","color","opacity","speed","styles","transition"],data:function(){return{timers:{transform:null,rippleing:null},rippleing:!1,baseSpeed:.5,coreStyle:{transform:"scale(0)"}}},ready:function(){this.startRipple()},mounted:function(){this.startRipple()},beforeDestroy:function(){this.timers.transform&&(clearTimeout(this.timers.transform),this.timers.transform=null),this.timers.rippleing&&(clearTimeout(this.timers.rippleing),this.timers.rippleing=null)},computed:{computeSpeed:function(){return this.baseSpeed/this.speed},computeCoreStyle:function(){return{"z-index":this.id,opacity:this.opacity,top:this.styles.top+"px",left:this.styles.left+"px",width:this.styles.size+"px",height:this.styles.size+"px",transform:this.coreStyle.transform,"background-color":this.color,"transition-duration":this.computeSpeed+"s, 0.4s","transition-timing-function":this.transition+", ease-out"}}},methods:{startRipple:function(){var t=this;this.$nextTick(function(){t.rippleing=!0,t.timers.transform=setTimeout(function(){t.coreStyle.transform="scale(1)"},0),t.timers.rippleing=setTimeout(function(){t.rippleing=!1,t.$emit("end",t.id)},1e3*t.computeSpeed)})}}},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"x4-core",style:this.computeCoreStyle})},[],!1,null,null,null);s.options.__file="Core.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["coin","options"],components:o.a.components({DIV:n(3),Style:n(2),RowLine:n(111)}),computed:o.a.variables({coin1:function(t){var e=t.state;return this.coin||e.values.coin},coin2:function(t){return t.state.entities.coins[this.coin1]},options1:function(t){return t.state.controls.coinColumn},options2:function(t){var e=t.state;return Object.assign({},this.options1,{theme:this.options1.theme||(this.options?this.options.theme:null)||e.theme,subtheme:this.options1.subtheme||(this.options?this.options.subtheme:null)||e.subtheme,colors:Object.assign({},e.colors,this.options?this.options.colors:null,this.options1.colors)})},baseClass:function(){return{"x4-coin-column":!0}}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.options2.visible?n("DIV",{class:t.baseClass},[t._l(t.options2.rowsOrder,function(e){return[n("RowLine",{attrs:{name:e,coin:t.coin2,options:t.options2}})]}),n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-column\n display: flex\n flex-direction: column\n margin: -8px 0\n.x4-coin-column .x4-row-line\n align-items: center\n display: flex\n flex-direction: column\n margin: 8px 0\n.x4-coin-column .x4-row-line\n\n > .x4-title\n font-weight: 700\n\n > .x4-value\n align-items: center\n display: flex\n white-space: nowrap\n\n &.x4-badge\n border-radius: 4px\n padding: 2px 12px\n\n &.x4-grey\n background-color: $color(primary, .06)\n color: $color(primary, .32)\n\n &.x4-green\n background-color: $color(badgeGreenBack)\n color: $color(badgeGreenText)\n\n &.x4-red\n background-color: $color(badgeRedBack)\n color: $color(badgeRedText)\n\n &.x4-row-name > .x4-value > .x4-icon\n height: 25px\n width: 25px\n.x4-coin-column .x4-row-rank\n\n > .x4-value\n flex-direction: column\n\n &.x4-badge\n border-radius: 8px\n padding: 8px 24px 2px\n\n &.x4-grey\n background-color: $color(primary, .06)\n color: $color(primary, .32)\n\n &.x4-green\n background-color: $color(badgeGreenBack)\n color: $color(badgeGreenText)\n\n &.x4-red\n background-color: $color(badgeRedBack)\n color: $color(badgeRedText)\n\n > .x4-rank\n font-size: 28px\n font-weight: 500\n margin-top: -8px\n.x4-coin-column .x4-row-line\n \n .x4-trade\n display: flex\n\n .x4-ui-button\n margin-left: 4px\n\n &:first-child\n margin-left: 0\n\n .x4-links\n align-items: center\n display: flex\n flex-direction: column\n\n .x4-ui-button\n margin-top: 4px\n\n &:first-child\n margin-top: 0\n")]),"material"===t.options2.theme?n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-coin-column\n color: $color(primary)\n font-family: 'Roboto',sans-serif\n font-size: 12px\n font-weight: 400\n line-height: 1.5\n")]):t._e()],2):t._e()},[],!1,null,null,null);r.options.__file="CoinColumn.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i=window.X4CryptoTables,s={props:["id","options","scale"],components:o.a.components({Tabs:n(113)}),computed:o.a.variables({value:function(t){var e=t.state;return i.multiValues[e.type].coinTab?e.values.coinTab[this.id]||e.defaults.coinTab:e.values.coinTab},options1:function(t){return t.state.controls.coinTabs},options2:function(t){var e=t.state;return Object.assign({},this.options1,{theme:this.options1.theme||(this.options?this.options.theme:null)||e.theme,subtheme:this.options1.subtheme||(this.options?this.options.subtheme:null)||e.subtheme,colors:Object.assign({},e.colors,this.options?this.options.colors:null,this.options1.colors)})}}),methods:o.a.variables({change:function(t,e){var n=t.commit,o=e.value;n("COIN_TAB_CHANGE",{id:this.id,coinTab:o})}})},r=n(1),a=Object(r.a)(s,function(){var t=this.$createElement;return(this._self._c||t)("Tabs",{staticClass:"x4-coin-tabs",attrs:{scale:this.scale,value:this.value,options:this.options2},on:{change:this.change}})},[],!1,null,null,null);a.options.__file="CoinTabs.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i=(window.X4CryptoTables,{props:["coin1","coin2","coin3","coin4","options"],components:o.a.components({DIV:n(3),Style:n(2),Loader:n(10),WaterMark:n(115),Chart:n(114)}),created:function(){this.ensureHistory()},watch:{coinInst1:function(t){this.ensureHistory()},coinInst2:function(t){this.ensureHistory()},coinInst3:function(t){this.ensureHistory()},coinInst4:function(t){this.ensureHistory()},period:function(t){this.ensureHistory()}},computed:o.a.variables({options1:function(t){return t.state.controls.lineChart},options2:function(t){var e=t.state;return Object.assign({},this.options1,{theme:this.options1.theme||(this.options?this.options.theme:null)||e.theme,subtheme:this.options1.subtheme||(this.options?this.options.subtheme:null)||e.subtheme,colors:Object.assign({},e.colors,this.options?this.options.colors:null,this.options1.colors)})},chartHeight:function(){return this.options2.height},baseClass:function(){return{"x4-line-chart":!0}},coinInst1:function(t){var e=t.state;return this.coin1||e.values.coin1},coinInst2:function(t){var e=t.state;return this.coin2||e.values.coin2},coinInst3:function(t){var e=t.state;return this.coin3||e.values.coin3},coinInst4:function(t){var e=t.state;return this.coin4||e.values.coin4},period:function(t){var e=t.getters,n=this.coinInst1||this.coinInst2||this.coinInst3||this.coinInst4;return e["values/period"]({id:n})},insideStyle:function(){return{height:this.options2.height+"px"}},isLoaded:function(t){for(var e=t.state,n=(t.getters,!0),o=1;o<=4;o++)if(this["coinInst"+o]){var i=this["coinInst"+o];e.entities.history[i]&&e.entities.history[i][this.period]||(n=!1)}return n}}),methods:o.a.variables({ensureHistory:function(t){for(var e=t.dispatch,n=1;n<=4;n++)this["coinInst"+n]&&e("entities/history/ensure",{id:this["coinInst"+n],period:this.period})}})}),s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.options2.visible?n("DIV",{class:t.baseClass},[!t.isLoaded&&t.options2.loader.visible?n("Loader",{attrs:{colorize:t.options2.loader.colorize,size:200}}):t._e(),t.isLoaded?[n("WaterMark",{attrs:{coin1:t.coinInst1,coin2:t.coinInst2,coin3:t.coinInst3,coin4:t.coinInst4,options:t.options2}}),n("div",{staticClass:"x4-inside",style:t.insideStyle},[n("Chart",{attrs:{coin1:t.coinInst1,coin2:t.coinInst2,coin3:t.coinInst3,coin4:t.coinInst4,period:t.period,options:t.options2}})],1)]:t._e(),n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-line-chart\n display: flex\n flex-direction: column\n flex-basis: "+t._s(t.chartHeight)+"px\n overflow: hidden\n position: relative\n\n > .x4-inside\n margin-left: -20px\n position: relative\n z-index: 1\n\n > canvas\n position: relative\n\n > .x4-ui-loader\n left: 50%\n position: absolute\n top: 50%\n transform: translateX(-50%) translateY(-50%)\n")]),"material"===t.options2.theme?n("Style",{attrs:{colors:t.options2.colors}},[t._v(".x4-line-chart\n color: $color(primary)\n font-family: 'Roboto',sans-serif\n font-size: $scale(14px)\n font-weight: 400\n line-height: 1.5\n ")]):t._e()],2):t._e()},[],!1,null,null,null);r.options.__file="LineChart.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(4),i=n(0),s={props:["name","coin","options"],components:i.a.components({Rank:n(117),Format:n(118),Buttons:n(116),Button:n(17)}),computed:i.a.variables({options1:function(){return this.options.rows[this.name]},baseClass:function(){var t={"x4-row-line":!0};return t["x4-row-"+this.name]=!0,t}}),methods:{__:o.a}},r=n(1),a=Object(r.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!1!==t.options1.visible?n("div",{class:t.baseClass},[-1!==["name","mktcap","price","vwap","supply","volume","change24h"].indexOf(t.name)?[t.options1.title?n("div",{staticClass:"x4-title"},[t._v(t._s(t.__(t.options1.title)))]):t._e(),n("Format",{attrs:{name:t.name,coin:t.coin,options:t.options1}})]:"rank"===t.name?n("Rank",{attrs:{coin:t.coin,options:t.options1}}):-1!==["trade","links"].indexOf(t.name)?n("Buttons",{attrs:{name:t.name,coin:t.coin,options:t.options1,options0:t.options}}):-1!==["more"].indexOf(t.name)?n("Button",{attrs:{name:t.name,coin:t.coin,options:t.options1,options0:t.options}}):t._e()],2):t._e()},[],!1,null,null,null);a.options.__file="RowLine.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o={props:["options","colors","nostyle","scale","tag"],components:n(0).a.components({DIV:n(3),Style:n(2),Ripple:n(8)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3,tag:t.tag}},[t._t("back"),t._t("loader"),t._t("icon"),t._t("label"),t._t("hover"),t._t("flylabel"),t._t("ripple"),t._t("default"),t.nostyle?t._e():n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-button.x4-subtheme-filled\n background-color: $color(primary, .04)\n\n &:hover\n background-color: $color(primary, .08)\n\n .x4-icon\n color: $color(primary, .54)\n\n .x4-label\n color: $color(primary)\n\n .x4-loader .x4-shape\n border-color: $color(primary, .54)\n\n\n &.x4-colorize\n background-color: $color(accent)\n\n &:hover .x4-hover\n background-color: $color(inverted, .32)\n\n .x4-icon\n color: $color(inverted)\n\n .x4-label\n color: $color(inverted)\n\n .x4-loader .x4-shape\n border-color: $color(inverted)\n")])],2)},[],!1,null,null,null);s.options.__file="ButtonFilled.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["value","options","scale"],components:o.a.components({DIV:n(3),Style:n(2),Icon:n(6),Underline:n(16),Ripple:n(8)}),data:function(){return{value1:this.value}},watch:{value:function(t){this.value1=t}},computed:o.a.variables({visible:function(){return!this.options||void 0===this.options.visible||this.options.visible},theme:function(t){var e=t.state;return this.options&&this.options.theme?this.options.theme:this.$root.theme||e.theme},subtheme:function(t){var e=t.state;return this.options&&this.options.subtheme?this.options.subtheme:this.$root.subtheme||e.subtheme},colors:function(t){var e=t.state,n=this.$root.colors||e.colors;return this.options&&this.options.colors?Object.assign({},n,this.options.colors):n},baseClass:function(){var t={"x4-ui-tabs":!0};return t["x4-theme-"+this.theme]=!0,t["x4-subtheme-"+this.subtheme]=!0,t},items:function(t){return t.getters["helpers/items/src"]({src:this.options.items})},menuOptions:function(t){return t.getters["helpers/items/menu/options"]({items:this.items,itemValue:this.options.itemValue})},menuHash:function(t){return t.getters["helpers/items/menu/hash"]({items:this.items,itemValue:this.options.itemValue,itemTitle:this.options.itemTitle})},menuHashIcons:function(t){return t.getters["helpers/items/menu/hash"]({items:this.items,itemValue:this.options.itemValue,itemTitle:this.options.itemIcon})}}),methods:{change:function(t){this.value1=t,this.$emit("change",{value:t})}}},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("DIV",{class:t.baseClass},[t._l(t.menuOptions,function(e){return n("div",{staticClass:"x4-tab x4-transition",class:{"x4-active":e===t.value,"x4-no-icon":!t.menuHashIcons[e]},on:{click:function(n){t.change(e)}}},[n("div",{staticClass:"x4-inside"},[t.menuHashIcons[e]?n("Icon",{staticClass:"x4-icon x4-transition",attrs:{icon:t.menuHashIcons[e]}}):t._e(),t.menuHash[e]?n("div",{staticClass:"x4-label x4-transition"},[t._v(t._s(t.menuHash[e]))]):t._e()],1),n("Underline",{attrs:{theme:t.theme,subtheme:t.subtheme,colors:t.colors}}),"material"===t.theme&&"outlined"===t.subtheme?n("div",{staticClass:"x4-border x4-transition"}):t._e(),n("Ripple",{attrs:{theme:t.theme,opacity:"filled"!==t.subtheme?.08:.04,color:"filled"!==t.subtheme?t.colors.accent:t.colors.primary}})],1)}),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-tabs\n\n > .x4-tab\n\n > .x4-inside\n\n > .x4-label\n overflow-x: hidden\n text-overflow: ellipsis\n white-space: nowrap\n")]),"material"===t.theme?n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-tabs.x4-theme-material\n cursor: pointer\n display: flex\n flex-wrap: wrap\n font-family: 'Roboto',sans-serif\n font-size: $scale(14px)\n font-weight: 400\n line-height: 1.5\n\n > .x4-tab\n display: flex\n flex-direction: column\n flex-shrink: 0\n position: relative\n\n > .x4-inside\n align-items: center\n display: flex\n flex-basis: $scale(48px)\n margin: 0 $scale(24px)\n\n > .x4-icon\n font-size: $scale(24px)\n\n > .x4-label\n font-size: $scale(14px)\n font-weight: 500\n margin-left: $scale(8px)\n text-transform: uppercase\n\n &.x4-no-icon > .x4-inside > .x4-label\n margin-left: 0\n\n > .x4-border\n border: 2px solid $color(accent)\n border-radius: $scale(4px)\n bottom: 0\n left: 0\n opacity: 0\n position: absolute\n right: 0\n top: 0\n.x4-ui-tabs > .x4-tab\n &:hover > .x4-ui-underline > .x4-line2\n background-color: $color(primary, .87)\n\n &.x4-active > .x4-ui-underline > .x4-line1\n transform: scaleX(1)\n")]):t._e(),"material"===t.theme&&"filled"===t.subtheme?n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-tabs.x4-subtheme-filled\n \n > .x4-tab\n background-color: $color(primary, .04)\n\n &:hover\n background-color: $color(primary, .06)\n\n > .x4-inside\n\n > .x4-icon\n color: $color(primary, .54)\n\n > .x4-label\n color: $color(primary, .6)\n\n > .x4-ui-underline > .x4-line2\n display: none\n\n &.x4-active > .x4-inside\n\n > .x4-icon, > .x4-label\n color: $color(primary)\n")]):t._e(),"material"===t.theme&&"outlined"===t.subtheme?n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-tabs.x4-subtheme-outlined\n \n > .x4-tab\n\n &:hover\n background-color: $color(accent, .08)\n\n > .x4-inside\n\n > .x4-icon\n color: $color(primary, .54)\n\n > .x4-label\n color: $color(primary, .6)\n\n &.x4-active\n\n > .x4-border\n opacity: 1\n\n > .x4-inside\n > .x4-icon, > .x4-label\n color: $color(accent)\n")]):t._e(),"material"===t.theme&&"standard"===t.subtheme?n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-tabs.x4-subtheme-standard\n \n > .x4-tab\n\n &:hover\n background-color: $color(accent, .08)\n\n > .x4-inside\n\n > .x4-icon\n color: $color(primary, .54)\n\n > .x4-label\n color: $color(primary, .6)\n\n > .x4-ui-underline > .x4-line2\n display: none\n\n &.x4-active\n\n > .x4-inside\n > .x4-icon, > .x4-label\n color: $color(accent)\n")]):t._e()],2):t._e()},[],!1,null,null,null);r.options.__file="Tabs.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i=n(5),s={props:["coin1","coin2","coin3","coin4","period","options"],watch:{fiat:function(){var t=this;setTimeout(function(){t.chartjs.options=t.config.options,t.chartjs.update()})},datasets:function(t){var e=this;setTimeout(function(){e.chartjs.data.datasets=t,e.chartjs.options=e.config.options,e.chartjs.update()})},options:{handler:function(){var t=this;setTimeout(function(){t.chartjs.options=t.config.options,t.chartjs.update()})},deep:!0}},mounted:function(){var t=this;Object(i.a)(function(){return!!window.Chart},function(){var e=window.Chart;t.chartjs=new e(t.$el,t.config)})},computed:o.a.variables({context:function(){return this.$el.getContext("2d")},height:function(){return this.options.height},fiat:function(t){var e=t.state;return e.entities.fiats[e.values.fiat]},baseStyle:function(){return{height:this.height+"px",width:"100%"}},unit:function(t){t.state;var e="month";return this.period<=864e5?e="hour":this.period>864e5&&this.period<=6048e5?e="day":this.period>6048e5&&this.period<=2592e6?e="day":this.period>2592e6&&this.period<=7776e6?e="week":this.period>7776e6&&this.period<=15552e6?e="week":this.period>15552e6&&(e="month"),e},datasets:function(t){for(var e=this,n=t.state,o=t.getters,i=[],s=function(t){if(!e["coin"+t])return"continue";var s=e["coin"+t],r=n.entities.coins[s],a=n.entities.fiats[n.values.fiat],l=n.entities.history[s][e.period]||[],c=Math.round(l.length*e.options.line.smoothness/500);0===c&&(c=1),e.min=1e9,e.max=0;var u=e.options.colors["coin"+t];i.push({xAxisID:"x",yAxisID:"y",fill:e.options.line.fill,borderWidth:e.options.line.thickness,borderColor:e.options.line.colorize?u:o["helpers/colors/rgba/opacity"]({rgba:e.options.colors.primary,opacity:.24}),backgroundColor:e.options.line.colorize?o["helpers/colors/rgba/opacity"]({rgba:u,opacity:.24}):o["helpers/colors/rgba/opacity"]({rgba:e.options.colors.primary,opacity:.08}),label:e.options.legend.visible?o["helpers/items/format/template"](null,{template:e.options.legend.template,patterns:{coin:r.short,fiat:a.short},notags:!0}):"",data:l.filter(function(t,e){return e%c==0}).map(function(t){return t.price>e.max&&(e.max=t.price),t.price<e.min&&(e.min=t.price),{x:t.time,y:t.price}})})},r=1;r<=4;r++)s(r);return i},config:function(t){var e=t.state,n=t.getters,o=this,i=["price","number","template","fiat"],s=Object.assign({notags:!0},this.options.format),r={fiat:this.fiat},a=this.max+(this.max-this.min)/20,l=this.min-(this.max-this.min)/20;l<0&&(l=0);var c,u=!1,p=0;return{type:"line",data:{datasets:this.datasets},options:{responsive:!0,maintainAspectRatio:!1,elements:{point:!1},animation:{duration:0},legend:!!this.options.legend.visible&&{labels:{padding:12,fontFamily:"'Roboto',sans-serif",fontColor:this.options.colors.primary,fontSize:14}},tooltips:!!this.options.tooltip.visible&&{mode:"index",intersect:!1,position:"nearest",displayColors:!1,bodyFontFamily:"'Roboto',sans-serif",footerFontFamily:"'Roboto',sans-serif",bodyFontSize:13,footerFontSize:10,bodyFontStyle:"500",footerFontStyle:"400",yPadding:12,xPadding:24,callbacks:{title:function(t,e){return""},label:function(t,a){var l=a.datasets[t.datasetIndex].data[t.index].y,c=o["coin"+(t.datasetIndex+1)],u=e.entities.coins[c];return i.forEach(function(t){l=n["helpers/items/format/"+t](l,s,{},r,l)}),l+" ("+u.short+")"},footer:function(t,e){if(!o.options.tooltip.date)return"";var n=e.datasets[t[0].datasetIndex].data[t[0].index].x,i=n.toDateString().split(" ");return i[1]+" "+i[2]+", "+("0"+n.getHours()).slice(-2)+":"+("0"+n.getMinutes()).slice(-2)}}},scales:{xAxes:[{id:"x",type:"time",display:this.options.scales.visible&&this.options.scales.horizontal,time:{unit:this.unit},gridLines:{drawBorder:!1,tickMarkLength:8,borderDash:[4,2],color:n["helpers/colors/rgba/opacity"]({rgba:this.options.colors.primary,opacity:.12})},ticks:{padding:4,maxRotation:0,fontFamily:"'Roboto',sans-serif",fontColor:this.options.colors.primary,fontSize:12}}],yAxes:[{id:"y",type:"linear",position:"right",display:this.options.scales.visible&&this.options.scales.vertical,gridLines:{drawBorder:!1,drawTicks:!1,borderDash:[4,2],color:n["helpers/colors/rgba/opacity"]({rgba:this.options.colors.primary,opacity:.12})},ticks:{padding:8,suggestedMax:a,suggestedMin:l,fontFamily:"'Roboto',sans-serif",fontColor:this.options.colors.primary,fontSize:12,callback:function(t){return!t||t<l?"":(i.forEach(function(e){t=n["helpers/items/format/"+e](t,s,{},r,t)}),t)}}}]}},plugins:[{afterEvent:function(t,e){c=Math.round(e.x),p=Math.round(e.y),setTimeout(function(){u||t.render({duration:0})},1)},afterDatasetsDraw:function(t){if(o.options.crosshair.visible&&!(c<t.chartArea.left||c>t.chartArea.right||p<t.chartArea.top||p>t.chartArea.bottom)){var e=o.$el,n=o.context;n.beginPath(),n.lineWidth=1,o.options.crosshair.dotted?n.setLineDash([2,2]):n.setLineDash([]),o.options.crosshair.vertical&&(n.moveTo(c+.5,.5),n.lineTo(c+.5,e.scrollHeight+.5)),o.options.crosshair.horizontal&&(n.moveTo(.5,p+.5),n.lineTo(e.scrollWidth+.5,p+.5)),n.strokeStyle=o.options.colors.crosshair,n.stroke(),n.closePath()}},beforeRender:function(t){u=!0},afterRender:function(t){u=!1}}]}}})},r=n(1),a=Object(r.a)(s,function(){var t=this.$createElement;return(this._self._c||t)("canvas",{style:this.baseStyle})},[],!1,null,null,null);a.options.__file="Chart.vue";e.default=a.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["coin1","coin2","coin3","coin4","options"],components:o.a.components({DIV:n(3),Style:n(2)}),data:function(){return{fontSize:0}},created:function(){window.addEventListener("resize",this.resize)},mounted:function(){this.resize()},destroyed:function(){window.removeEventListener("resize",this.resize)},computed:o.a.variables({options1:function(t){return t.state.controls.lineChart.watermark},fiat:function(t){var e=t.state;return e.entities.fiats[e.values.fiat]},baseClass:function(){return{"x4-watermark":!0}},value:function(t){for(var e=t.state,n=t.getters,o=(e.entities.coins,{fiat:this.fiat.short}),i=1;i<=4;i++)o["coin"+i]=this["coin"+i]?e.entities.coins[this["coin"+i]].short:"";return n["helpers/items/format/template"](null,{template:this.options1.template,patterns:o})}}),methods:o.a.variables({resize:function(){var t=this.$el.parentNode.offsetWidth;this.fontSize=t>576?t>768?t>992?160:128:96:0}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.options1.visible?n("DIV",{class:t.baseClass},[n("div",{staticClass:"x4-value",domProps:{innerHTML:t._s(t.value)}}),n("Style",{attrs:{colors:t.options.colors}},[t._v(".x4-watermark\n color: $color(primary, .04)\n font-size: "+t._s(t.fontSize)+"px\n font-weight: 500\n left: 50%\n margin-top: -10px\n position: absolute\n top: 50%\n transform: translateX(-50%) translateY(-50%)\n\n > .x4-value\n white-space: nowrap\n")])],1):t._e()},[],!1,null,null,null);r.options.__file="WaterMark.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o=n(0),i={props:["name","coin","options","options0"],components:o.a.components({Button:n(17)}),computed:o.a.variables({visible:function(){var t=this;return this.options.items.reduce(function(e,n){return e||t.options[n].visible},!1)},baseClass:function(){var t={};return t["x4-"+this.name]=!0,t}})},s=n(1),r=Object(s.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.baseClass},[t._l(t.options.items,function(e){return[n("Button",{attrs:{name:e,coin:t.coin,options:t.options[e],options0:t.options0}})]})],2)},[],!1,null,null,null);r.options.__file="Buttons.vue";e.default=r.exports},function(t,e,n){"use strict";n.r(e);var o={props:["coin","options"],computed:n(0).a.variables({baseClass:function(){var t={"x4-value":!0};if(this.options.badge&&this.options.badge.visible){t["x4-badge"]=!0;var e=this.coin[this.options.badge.value];t[e>0?"x4-green":e<0?"x4-red":"x4-grey"]=!0}return t}})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.baseClass},[e("div",{staticClass:"x4-title"},[this._v(this._s(this.options.title))]),e("div",{staticClass:"x4-rank"},[this._v(this._s(this.coin.rank))])])},[],!1,null,null,null);s.options.__file="Rank.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["name","coin","options"],computed:n(0).a.variables({options0:function(t){return t.state.controls.coinColumn},formatExtra:function(t){var e=t.state;return{fiat:e.entities.fiats[e.values.fiat]}},baseClass:function(){var t={"x4-value":!0};if(this.options.badge&&this.options.badge.visible){t["x4-badge"]=!0;var e=this.coin[this.options.badge.value];t[e>0?"x4-green":e<0?"x4-red":"x4-grey"]=!0}return t},value:function(t){var e=this,n=(t.state,t.getters),o=this.coin[this.name];return this.options.format&&this.options0.formatters[this.name].forEach(function(t){o=n["helpers/items/format/"+t](o,e.options.format,e.coin,e.formatExtra,o)}),o}})},i=n(1),s=Object(i.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.baseClass,domProps:{innerHTML:this._s(this.value)}})},[],!1,null,null,null);s.options.__file="Format.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["value","menuOptions","colors","scale"],components:n(0).a.components({DIV:n(3),Style:n(2)}),methods:{change:function(t){this.$emit("change",t)}}},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3}},[t._l(t.menuOptions,function(e){return n("div",{staticClass:"x4-radio-button x4-clearfix",class:{"x4-active":e===t.value},on:{click:function(n){t.change(e)}}},[t._t("shape",null,{option:e}),t._t("label",null,{option:e})],2)}),t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-radio-buttons.x4-subtheme-default\n\n .x4-shape\n margin-top: $scale(2px)\n margin-left: $scale(14px)\n\n .x4-label\n padding-left: $scale(14px)\n")])],2)},[],!1,null,null,null);s.options.__file="RadioButtonsDefault.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["options","colors","nostyle","scale","tag"],components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3,tag:t.tag}},[t._t("loader"),t._t("icon"),t._t("label"),t._t("hover"),t._t("flylabel"),t._t("ripple"),t._t("default"),t.nostyle?t._e():n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-button.x4-subtheme-standard\n\n &:hover\n background-color: $color(primary, .08)\n\n .x4-icon\n color: $color(primary, .54)\n\n .x4-label\n color: $color(primary)\n\n .x4-loader .x4-shape\n border-color: $color(primary, .54)\n\n\n &.x4-colorize\n\n &:hover\n background-color: $color(accent, .08)\n\n .x4-icon\n color: $color(accent)\n\n .x4-label\n color: $color(accent)\n\n .x4-loader .x4-shape\n border-color: $color(accent)\n")])],2)},[],!1,null,null,null);s.options.__file="ButtonStandard.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["options","colors","nostyle","scale","tag"],components:n(0).a.components({DIV:n(3),Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("DIV",{attrs:{level:3,tag:t.tag}},[t._t("loader"),t._t("icon"),t._t("label"),t._t("border"),t._t("hover"),t._t("flylabel"),t._t("ripple"),t._t("default"),t.nostyle?t._e():n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-button.x4-subtheme-outlined\n\n .x4-border\n border-color: $color(primary, .24)\n\n &:hover .x4-border\n border-color: $color(primary, .74)\n\n &:hover .x4-hover\n background-color: $color(primary, .08)\n\n .x4-icon\n color: $color(primary, .54)\n\n .x4-label\n color: $color(primary)\n\n .x4-loader .x4-shape\n border-color: $color(primary, .54)\n\n\n &.x4-colorize\n\n .x4-border\n border-color: $color(accent)\n\n &:hover .x4-border\n border-color: $color(accent)\n\n &:hover .x4-hover\n background-color: $color(accent, .08)\n\n .x4-icon\n color: $color(accent)\n\n .x4-label\n color: $color(accent)\n\n .x4-loader .x4-shape\n border-color: $color(accent)\n")])],2)},[],!1,null,null,null);s.options.__file="ButtonOutlined.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["is2","value","menuOptions","colors","scale"],components:n(0).a.components({Style:n(2)}),methods:{change:function(t){this.$emit("change",t)}}},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.is2,{tag:"div",attrs:{value:t.value,menuOptions:t.menuOptions,colors:t.colors,scale:t.scale},on:{change:t.change},scopedSlots:t._u([{key:"label",fn:function(e){var n=e.option;return[t._t("label",null,{option:n})]}},{key:"shape",fn:function(t){return t.option,n("div",{staticClass:"x4-shape"},[n("div",{staticClass:"x4-shape1 x4-transition"}),n("div",{staticClass:"x4-shape2 x4-transition"})])}}])},[t._t("default"),n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-radio-buttons.x4-theme-material\n cursor: pointer\n font-family: 'Roboto',sans-serif\n font-size: $scale(14px)\n font-weight: 400\n line-height: 1.5\n\n .x4-radio-button\n position: relative\n\n &.x4-active .x4-shape\n\n .x4-shape1\n border-color: $color(accent)\n\n .x4-shape2\n background-color: $color(accent)\n\n .x4-label\n color: $color(primary)\n font-size: $scale(16px)\n overflow: hidden\n\n .x4-shape\n border-radius: $scale(10px)\n float: left\n height: $scale(20px)\n position: relative\n width: $scale(20px)\n\n .x4-shape1\n border: $scale(2px) solid $color(primary, .54)\n border-radius: $scale(10px)\n bottom: 0\n left: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-shape2\n border-radius: $scale(5px)\n height: $scale(10px)\n left: $scale(5px)\n position: absolute\n top: $scale(5px)\n width: $scale(10px)\n")])],2)},[],!1,null,null,null);s.options.__file="RadioButtonsMaterial.vue";e.default=s.exports},function(t,e,n){"use strict";n.r(e);var o={props:["is2","options","colors","nostyle","scale","tag"],components:n(0).a.components({Style:n(2)})},i=n(1),s=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.is2,{tag:"div",attrs:{options:t.options,colors:t.colors,nostyle:t.nostyle,scale:t.scale,tag:t.tag}},[t._t("icon",null,{slot:"icon"}),t._t("label",null,{slot:"label"}),t._t("flylabel",null,{slot:"flylabel"}),t._t("loader",null,{slot:"loader"}),t._t("ripple",null,{slot:"ripple"}),n("div",{staticClass:"x4-hover x4-transition",attrs:{slot:"hover"},slot:"hover"}),n("div",{staticClass:"x4-border x4-transition",attrs:{slot:"border"},slot:"border"}),t._t("default"),t.nostyle?t._e():n("Style",{attrs:{colors:t.colors}},[t._v(".x4-ui-button.x4-theme-material\n border-radius: $scale(2px)\n font-family: 'Roboto',sans-serif\n font-size: $scale(14px)\n font-weight: 400\n height: $scale(36px)\n line-height: 1.5\n text-decoration: none\n\n .x4-icon\n float: left\n font-size: $scale(18px)\n margin: $scale(9px) 0 0 $scale(12px)\n\n &.x4-no-label .x4-icon\n margin-right: $scale(12px)\n\n .x4-label\n font-size: $scale(16px)\n font-weight: 500\n padding: $scale(7px) $scale(16px) 0 $scale(8px)\n overflow: hidden\n text-transform: uppercase\n\n &.x4-no-icon .x4-label\n padding-left: $scale(16px)\n\n .x4-hover\n bottom: 0\n left: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-border\n border: $scale(2px) solid transparent\n bottom: 0\n left: 0\n position: absolute\n right: 0\n top: 0\n\n .x4-flylabel\n font-size: $scale(14px)\n left: 0\n position: absolute\n right: 0\n text-align: center\n top: -28px\n\n &.x4-flytiny\n top: -18px\n\n &.x4-enter, &.x4-leave-to\n opacity: 0\n top: 0\n\n &.x4-flydown\n bottom: -28px\n top: auto\n\n &.x4-flytiny\n bottom: -18px\n\n &.x4-enter, &.x4-leave-to\n bottom: 0\n\n &.x4-loading\n .x4-icon, .x4-label\n visibility: hidden\n\n .x4-loader\n height: $scale(28px)\n left: 50%\n position: absolute\n top: 50%\n transform: translate(-50%, -50%)\n width: $scale(28px)\n")])],2)},[],!1,null,null,null);s.options.__file="ButtonMaterial.vue";e.default=s.exports}]);