!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("lodash")):"function"==typeof define&&define.amd?define("flavor-js",["lodash"],e):"object"==typeof exports?exports["flavor-js"]=e(require("lodash")):t["flavor-js"]=e(t._)}(window,function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=59)}([function(e,r){e.exports=t},function(t,e,r){var n=r(50);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e){t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},function(t,e,r){var n=r(33);t.exports=function(t){return t==t&&!n(t)}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}},function(t,e,r){var n=r(46),i=r(35);t.exports=function t(e,r,o,u,a){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!=e&&r!=r:n(e,r,o,u,t,a))}},function(t,e,r){var n=r(52),i=r(51),o=r(49),u=r(48),a=r(47);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=u,l.prototype.set=a,t.exports=l},function(t){t.exports={version:{name:"flavor-js",buildDate:"Fri Apr 27 2018 08:27:47 GMT+0200 (CEST)",version:"0.4.10"}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(0))&&n.__esModule?n:{default:n};function o(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}e.default={native:{isArray:function(t){return Array.prototype.isArray.call(t)},contains:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Array.isArray(t)?Array.prototype.contains.call(t,e,r):t},concat:function(t,e){return Array.isArray(t)?Array.prototype.concat.call(t,e):t},distinct:function(t){return Array.isArray(t)?Array.prototype.distinct.call(t):t},diff:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)&&Array.isArray(e)?Array.prototype.diff.call(t,e,r):[]},diffBy:function(t,e,r){return Array.isArray(t)&&Array.isArray(e)?Array.diff(t,e,r):null},sortBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)?Array.prototype.sortBy.call(t,e,r):t},deepSortBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children";return Array.isArray(t)?Array.prototype.deepSortBy.call(t,e,r,n):t},filterBy:function(t,e,r){return Array.isArray(t)?Array.prototype.filterBy.call(t,e,r):t},pull:function(t,e){return Array.isArray(t)?Array.prototype.pull.call(t,e):t},pullBy:function(t,e,r){return Array.isArray(t)?Array.prototype.pullBy.call(t,e,r):t},findBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return arguments.length>3&&void 0!==arguments[3]&&arguments[3],Array.isArray(t)?Array.prototype.findBy.call(t,e,r):t},deepFindBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children";return Array.isArray(t)?Array.prototype.deepFindBy.call(t,e,r,n):t},indexBy:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Array.isArray(t)?Array.prototype.indexBy.call(t,e,r,n):t},containsBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return!!Array.isArray(t)&&Array.prototype.containsBy.call(t,e,r)},countBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Array.isArray(t)?Array.prototype.countBy.call(t,e,r,n):0},intersection:function(t){if(Array.isArray(t)){for(var e,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=Array.prototype.intersection).call.apply(e,[t].concat(o(n)))}return[]},union:function(t){if(Array.isArray(t)){for(var e,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=Array.prototype.union).call.apply(e,[t].concat(o(n)))}return[]},removeBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)?Array.prototype.pullBy.call(t,e,r):t},random:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)?Array.prototype.random.call(t,e,r):null},each:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Array.isArray(t)?Array.prototype.each.call(t,e,r):t},first:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)?Array.prototype.first.call(t,e,r):t},last:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)?Array.prototype.last.call(t,e,r):t},sum:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Array.isArray(t)?Array.prototype.sum.call(t,e,r):t},deepMap:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",r=arguments[2];return Array.isArray(t)?Array.prototype.deepMap.call(t,e,r):t},lorem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Array.prototype.lorem.call(t,e)},flatten:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Array.isArray(t)?Array.prototype.flatten.call(t,e):t},shuffle:function(t){return Array.isArray(t)?Array.prototype.shuffle.call(t):t},split:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?Array.prototype.split.call(t,e):t},reverse:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Array.isArray(t)?Array.prototype.reverse.call(t,e):t},tail:function(t){return Array.isArray(t)?Array.prototype.tail.call(t):t},cut:function(t){return Array.isArray(t)?Array.prototype.cut.call(t):t},clone:function(t){return Array.isArray(t)?Array.prototype.clone.call(t):t},maxBy:function(t,e){return Array.isArray(t)?Array.prototype.maxBy.call(t,e):t}},prototype:{isArray:function(){return i.default.isArray(this)},contains:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return i.default.isArray(t)?e?0===i.default.difference(t,this).length:i.default.intersection(this,t).length>0:i.default.includes(this,t)},concat:function(t){return t?i.default.concat(this,t):this},distinct:function(){return i.default.uniqWith(this,i.default.isEqual)},diff:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(t)){var r=i.default.isEqual;if(String.isString(e)){var n=e;r=function(t,e){return t[n]===e[n]}}return Function.isFunction(e)&&(r=e),i.default.differenceWith(this,t,r)}return[]},diffBy:function(t,e){return this.diff(t,e)},sortBy:function(t,e){return String.isString(t)&&(t=[t]),e?String.isString(e)&&(e=[e]):e=t.map(function(){return"asc"}),i.default.orderBy(this,t,e)},deepSortBy:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return String.isString(t)&&(t=[t]),e?String.isString(e)&&(e=[e]):e=t.map(function(){return"asc"}),i.default.deepOrderBy(this,t,e,r)},filterBy:function(t,e){var r=null;return Function.isFunction(t)?(r=t,i.default.filter(this,r)):Array.isArray(e)?i.default.filterByValues(this,t,e):((r={})[t]=e,i.default.filter(this,r)||[])},pull:function(t){return i.default.pull(this,t)},pullBy:function(t,e){if(i.default.isArray(t)&&i.default.isFunction(e)){var r=t,n=e;return i.default.pullAllByComparator(this,r,n)}var o={};return o[t]=e,i.default.pullAllBy(this,[o])},findBy:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=null;return Function.isFunction(t)||Object.isObject(t)?n=t:String.isString(t)&&((n={})[t]=e),n?r?i.default.findLast(this,n):i.default.find(this,n):null},deepFindBy:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return i.default.deepFindBy(this,t,e,r)},indexBy:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=null;return Function.isFunction(t)||Object.isObject(t)?n=t:String.isString(t)&&((n={})[t]=e),n?r?i.default.findLastIndex(this,n):i.default.findIndex(this,n):null},containsBy:function(t,e){return void 0!==this.findBy(t,e)},countBy:function(t,e,r){var n=null;return Function.isFunction(t)||Object.isObject(t)?n=t:String.isString(t)&&((n={})[t]=e),n?i.default.countBy(this,n)[r?"false":"true"]:0},intersection:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return i.default.intersection.apply(i.default,[this].concat(o(e)))},union:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return i.default.unionWith.apply(i.default,[this].concat(o(e),[i.default.isEqual]))},random:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t?this.map(function(r){return i.default.times(r[t||"weight"],function(){return e?r[e||"value"]:i.default.omit(r,t)})}).flatten().shuffle().first():i.default.sample(this)},each:function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?i.default.eachRight(this,t):i.default.each(this,t)},first:function(t,e){var r=this;return t&&(r=this.filterBy(t,e)),i.default.first(r)},last:function(t,e){var r=this;return t&&(r=this.filterBy(t,e)),i.default.last(r)},sum:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e=Function.isFunction(t)?t:function(e,r){return e+r[t]},i.default.reduce(this,e,r)},deepMap:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"children",e=arguments[1];return i.default.deepMap(this,t,e)},lorem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Number.times(t,function(t){return e?Function.isFunction(e)?e(t):e:t})},flatten:function(t){if(t){if(Number.isNumber(t))return i.default.flattenDepth(this,t);if(Boolean.isBoolean(t))return i.default.flattenDeep(this)}return i.default.flatten(this)},shuffle:function(){return i.default.shuffle(this)},split:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return i.default.chunk(this,t)},reverse:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?i.default.reverse(i.default.clone(this)):i.default.reverse(this)},tail:function(){return i.default.tail(this)},cut:function(){return i.default.initial(this)},clone:function(){return[].concat(o(this))},maxBy:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t?i.default.maxBy(this,t):null}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var u,a=t[Symbol.iterator]();!(n=(u=a.next()).done)&&(r.push(u.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=(n=r(0))&&n.__esModule?n:{default:n};e.default={native:{isString:function(t){return String.prototype.isString.call(t)},isPercentage:function(t){return String.prototype.isPercentage.call(t)},isRoman:function(t){return String.prototype.isRoman.call(t)},isUrl:function(t){return String.prototype.isUrl.call(t)},contains:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return String.prototype.contains.call(t,e,r)},startsWith:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return String.prototype.startsWith.call(t,e,r)},endsWith:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return String.prototype.endsWith.call(t,e,r)},guid:function(){return Math.random().toString(16).slice(2,10)+"-"+Math.random().toString(16).slice(2,6)+"-4"+Math.random().toString(16).slice(2,5)+"-"+Math.random().toString(16).slice(2,6)+"-"+Math.random().toString(16).slice(2,14)},camelCase:function(t){return String.prototype.camelCase.call(t)},capitalize:function(t){return String.prototype.capitalize.call(t)},decodeURI:function(t){return String.prototype.decodeURI.call(t)},encodeURI:function(t){return String.prototype.encodeURI.call(t)},escapeHTML:function(t){return String.prototype.escapeHTML.call(t)},extractDomain:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return String.prototype.extractDomain.call(t,e,r)},extractFileExtension:function(t){return String.isString(t)?String.prototype.extractFileExtension.call(t):t},extractQueryString:function(t){return String.prototype.extractQueryString.call(t)},pad:function(t,e,r){return String.prototype.pad(t,e,r)},padLeft:function(t,e,r){return String.prototype.padLeft.call(t,e,r)},padRight:function(t,e,r){return String.prototype.padRight.call(t,e,r)},parsePercentage:function(t){return String.prototype.parsePercentage.call(t)},replaceAll:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return String.prototype.replaceAll.call(t,e,r,n)},slugify:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return String.prototype.slugify.call(t,e)},stripTags:function(t){return String.prototype.stripTags.call(t)},unescapeHTML:function(t){return String.prototype.unescapeHTML.call(t)},toInt:function(t){return String.prototype.toInt.call(t)},toArray:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return String.prototype.toArray.call(t,e,r||void 0)}},prototype:{isString:function(){return o.default.isString(this)},isPercentage:function(){return/^\d+(\.\d+)?%$/.test(this)},isRoman:function(){return!!Number.fromRoman(this)},isUrl:function(){return/^(https?:\/\/)?((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/i.test(this)},contains:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new RegExp(o.default.escapeRegExp(t),"m"+(e?"i":"")).test(this)},startsWith:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new RegExp("^"+o.default.escapeRegExp(t),"m"+(e?"i":"")).test(this)},endsWith:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new RegExp(o.default.escapeRegExp(t)+"$","m"+(e?"i":"")).test(this)},camelCase:function(){return o.default.camelCase(this)},capitalize:function(){return o.default.capitalize(this)},replaceAll:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.replace(new RegExp(o.default.escapeRegExp(t),"mg"+(r?"i":"")),e)},encodeURI:function(){return encodeURIComponent(this)},decodeURI:function(){return decodeURIComponent(this)},escapeHTML:function(){return o.default.escape(this)},unescapeHTML:function(){return o.default.unescape(this)},extractDomain:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this,n=(r=r.split("/")[r.indexOf("://")>-1?2:0]).split(":");r=i(n,1)[0],e&&(r=r.replaceAll("www.",""));var o=r.split(".");return o.slice(o.length-t).join(".")},extractQueryString:function(){var t={};return this.contains("?")&&this.split("?").pop().split("&").each(function(e){var r=e.split("="),n=i(r,2),o=n[0],u=n[1];t[o]=u}),t},slugify:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=o.default.kebabCase(this);return t?e:e.replaceAll("-","")},extractFileExtension:function(){return this.substring(this.lastIndexOf(".")+1).toLowerCase()},stripTags:function(){var t=document.createElement("div");return t.innerHTML=this,t.textContent},pad:function(t,e){return o.default.pad(this,t,e)},padLeft:function(t,e){return o.default.padStart(this,t,e)},padRight:function(t,e){return o.default.padEnd(this,t,e)},parsePercentage:function(){return this.isPercentage()?parseFloat(this)/100:this},toInt:function(){return Number.parse(this)},toArray:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return o.default.split(this,t,e||void 0)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(0))&&n.__esModule?n:{default:n};e.default={native:{isDate:function(t){return Date.prototype.isDate.call(t)},random:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return new Date(Math.random()*(e.getTime()-t.getTime())+t.getTime())},toTimestamp:function(t){return Date.isDate(t)?Date.prototype.toTimestamp.call(t):0}},prototype:{isDate:function(){return i.default.isDate(this)},toTimestamp:function(){return Math.round(this)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(0))&&n.__esModule?n:{default:n};e.default={native:{isNumber:function(t){return Number.prototype.isNumber.call(t)},isBetween:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_VALUE,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_VALUE;return!!Number.isNumber(t)&&Number.prototype.isBetween.call(t,e,r)},parse:function(t){return i.default.parseInt(t)},times:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Number.isNumber(t)&&Number.isInteger(t)?Number.prototype.times.call(t,e,r):t},random:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.MIN_VALUE,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return i.default.random(t,e,r)},fromRoman:function(t){var e=t,r=null,n=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],i=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"];return n.length.times(function(t){for(;0===e.indexOf(i[t]);)r||(r=0),r+=n[t],e=e.replace(i[t],"")}),r},toRoman:function(t){return Number.prototype.toRoman.call(t)},toFileSize:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number.prototype.toFileSize.call(t,e)},toAbsolute:function(t){return Number.prototype.toAbsolute.call(t)},toSymbolString:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.sections,n=void 0===r?3:r,i=e.sectionsDelimiter,o=void 0===i?",":i,u=e.decimals,a=void 0===u?2:u,l=e.decimalsDelimiter,c=void 0===l?".":l,f=e.symbol,s=void 0===f?"":f,d=e.symbolAppend,p=void 0===d||d,y=e.symbolNumberSeparator,v=void 0===y?"&nbsp;":y;return Number.isNumber(t)?Number.prototype.toSymbolString.call(t,{sections:n,sectionsDelimiter:o,decimals:a,decimalsDelimiter:c,symbol:s,symbolAppend:p,symbolNumberSeparator:v}):t},toCurrency:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.sections,n=void 0===r?3:r,i=e.sectionsDelimiter,o=void 0===i?".":i,u=e.decimals,a=void 0===u?2:u,l=e.decimalsDelimiter,c=void 0===l?",":l,f=e.symbol,s=void 0===f?"&euro;":f,d=e.symbolAppend,p=void 0===d||d,y=e.symbolNumberSeparator,v=void 0===y?"":y;return Number.isNumber(t)?Number.prototype.toCurrency.call(t,{sections:n,sectionsDelimiter:o,decimals:a,decimalsDelimiter:c,symbol:s,symbolAppend:p,symbolNumberSeparator:v}):t},floor:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number.prototype.floor.call(t,e)},round:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number.isNumber(t)?Number.prototype.round.call(t,e):t},crop:function(t,e,r){return Number.isNumber(t)?Number.prototype.crop.call(t,e,r):t},range:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return Number.isNumber(t)?Number.prototype.range.call(t,e,r,n):t},degreeWrap:function(t){return Number.isNumber(t)?Number.prototype.degreeWrap.call(t):t},degreeDiff:function(t,e){return Number.isNumber(t)&&Number.isNumber(e)?Number.prototype.degreeDiff.call(t,e):0},degreeDir:function(t,e){return Number.isNumber(t)&&Number.isNumber(e)?Number.prototype.degreeDir.call(t,e):0}},prototype:{isNumber:function(){return i.default.isNumber(this)},isBetween:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.MIN_VALUE,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return t<=this&&this<=e},times:function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?i.default.timesReverse(this,t):i.default.times(this,t)},toRoman:function(){var t=this,e="",r=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],n=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"];return i.default.times(r.length,function(i){for(;t%r[i]<t;)e+=n[i],t-=r[i]}),e},toFileSize:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e="0 B";if(this){var r=Math.floor(Math.log(this)/Math.log(1024));e=parseFloat((this/Math.pow(1024,r)).toFixed(t))+["b","kb","mb","gb","tb","pb","eb","zb","yb"][r]}return e},toAbsolute:function(){return Math.abs(this)},toSymbolString:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=t.sections,r=void 0===e?3:e,n=t.sectionsDelimiter,i=void 0===n?",":n,o=t.decimals,u=void 0===o?2:o,a=t.decimalsDelimiter,l=void 0===a?".":a,c=t.symbol,f=void 0===c?"":c,s=t.symbolAppend,d=void 0===s||s,p=t.symbolNumberSeparator,y=void 0===p?"&nbsp;":p,v=d&&f?y+f:"",h="\\d(?=(\\d{"+(r||3)+"})+"+(u>0?"\\D":"$")+")";return(!d&&f?f+y:"")+this.toFixed(u).replace(".",l).replace(new RegExp(h,"g"),"$&"+i)+v},toCurrency:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=t.sections,r=void 0===e?3:e,n=t.sectionsDelimiter,i=void 0===n?".":n,o=t.decimals,u=void 0===o?2:o,a=t.decimalsDelimiter,l=void 0===a?",":a,c=t.symbol,f=void 0===c?"&euro;":c,s=t.symbolAppend,d=void 0===s||s,p=t.symbolNumberSeparator,y=void 0===p?"":p;return this.toSymbolString({sections:r,sectionsDelimiter:i,decimals:u,decimalsDelimiter:l,symbol:f,symbolAppend:d,symbolNumberSeparator:y})},floor:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return i.default.floor(this,t)},round:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return i.default.round(this,t)},crop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.MIN_VALUE,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return Math.max(Math.min(this,e),t)},range:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=Number.isNumber(t)?this:0,o=Number.isNumber(t)?t:this,u=e?"rangeRight":"range";return i.default[u](n,o,r)},degreeWrap:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:360;return(this<t?e:0)+this%e},degreeDiff:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:360,n=Number.degreeWrap(this,e,r),i=Number.degreeWrap(t,e,r)-n;return i<e&&(i+=r),i>r/2&&(i=r-i),i},degreeDir:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:360,n=Number.degreeWrap(this,e,r),i=Number.degreeWrap(t,e,r);return n===i?0:Number.degreeDiff(n,i,e,r)>r/2?-1:1}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(0))&&n.__esModule?n:{default:n};e.default={native:{isBoolean:function(t){return Boolean.prototype.isBoolean.call(t)},random:function(){return Math.random()>=.5}},prototype:{isBoolean:function(){return i.default.isBoolean(this)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(0))&&n.__esModule?n:{default:n};e.default={native:{isFunction:function(t){return Function.prototype.isFunction.call(t)},proxy:function(t,e){for(var r,n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];return(r=Function.prototype.proxy).call.apply(r,[t,e].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(i)))}},prototype:{isFunction:function(){return i.default.isFunction(this)},proxy:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=this;return function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return i.apply(t,r.length>=1?r:n)}}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=(n=r(0))&&n.__esModule?n:{default:n};function u(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}e.default={native:{isObject:function(t){return Object.prototype.isObject.call(t)},inherit:function(t){for(var e,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=Object.prototype.inherit).call.apply(e,[t].concat(u(n)))},omit:function(t){for(var e,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=Object.prototype.omit).call.apply(e,[t].concat(u(n)))},pick:function(t){for(var e,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=Object.prototype.pick).call.apply(e,[t].concat(u(n)))},clone:function(t){return Object.prototype.clone.call(t)},path:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.prototype.path.call(t,e,r)},each:function(t,e){return Object.prototype.each.call(t,e)}},prototype:{isObject:function(){return o.default.isPlainObject(this)},inherit:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=!!o.default.isBoolean(e[0])&&e[0],u=e;return i&&(u=Array.prototype.slice.call(u,1)),n=this,Array.prototype.unshift.call(u,n),i&&Array.prototype.unshift.call(u,{}),o.default.merge.apply(n,u)},omit:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return o.default.omit.apply(o.default,[this].concat(u(e)))},pick:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return o.default.pick.apply(o.default,[this].concat(u(e)))},clone:function(){return o.default.cloneDeep(this)},path:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"object"===i(this)&&this instanceof Object?o.default.get(this,t,e):e},each:function(t){return o.default.each(this,t)}}}},function(t,e){t.exports=function(t){return t}},function(t,e,r){var n=r(17);t.exports=function(t){return t?(t=n(t))===1/0||t===-1/0?1.7976931348623157e308*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,e){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t,e,r,n){for(var i=r-1,o=t.length;++i<o;)if(n(t[i],e))return i;return-1}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},function(t,e,r){var n=r(22),i=r(6),o=r(21),u=r(20),a=r(19),l=Array.prototype.splice;t.exports=function(t,e,r,c){var f=c?o:i,s=-1,d=e.length,p=t;for(t===e&&(e=a(e)),r&&(p=n(t,u(r)));++s<d;)for(var y=0,v=e[s],h=r?r(v):v;(y=f(p,h,y,c))>-1;)p!==t&&l.call(p,y,1),l.call(t,y,1);return t}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e){t.exports=function(t){return t}},function(t,e){t.exports=function(t){return t}},function(t,e){t.exports=function(t){return t}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(29);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},function(t,e,r){var n=r(7),i=r(30),o=r(28),u=r(27),a=r(4),l=r(3),c=r(26);t.exports=function(t,e){return u(t)&&a(e)?l(c(t),e):function(r){var u=i(r,t);return void 0===u&&u===e?o(r,t):n(e,u,3)}}},function(t,e,r){var n=r(5)(Object.keys,Object);t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(4),i=r(32);t.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],u=t[o];e[r]=[o,u,n(u)]}return e}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(5)(Object.keys,Object);t.exports=n},function(t,e,r){var n=r(39),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,u,a){var l=1&r,c=n(t),f=c.length;if(f!=n(e).length&&!l)return!1;for(var s=f;s--;){var d=c[s];if(!(l?d in e:i.call(e,d)))return!1}var p=a.get(t);if(p&&a.get(e))return p==e;var y=!0;a.set(t,e),a.set(e,t);for(var v=l;++s<f;){var h=t[d=c[s]],g=e[d];if(o)var m=l?o(g,h,d,e,t,a):o(h,g,d,t,e,a);if(!(void 0===m?h===g||u(h,g,r,o,a):m)){y=!1;break}v||(v="constructor"==d)}if(y&&!v){var b=t.constructor,A=e.constructor;b!=A&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof A&&A instanceof A)&&(y=!1)}return a.delete(t),a.delete(e),y}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(6);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},function(t,e,r){var n=r(2);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return n(t)?t:[t]}},function(t,e,r){var n=r(44),i=r(43),o=r(42);t.exports=function(t,e,r,u,a,l){var c=1&r,f=t.length,s=e.length;if(f!=s&&!(c&&s>f))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var p=-1,y=!0,v=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++p<f;){var h=t[p],g=e[p];if(u)var m=c?u(g,h,p,e,t,l):u(h,g,p,t,e,l);if(void 0!==m){if(m)continue;y=!1;break}if(v){if(!i(e,function(t,e){if(!o(v,e)&&(h===t||a(h,t,r,u,l)))return v.push(e)})){y=!1;break}}else if(h!==g&&!a(h,g,r,u,l)){y=!1;break}}return l.delete(t),l.delete(e),y}},function(t,e,r){var n=r(8),i=r(45),o=r(41),u=r(40),a=r(38),l=r(2),c=r(37),f=r(36),s="[object Arguments]",d="[object Array]",p="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,h,g){var m=l(t),b=l(e),A=m?d:a(t),x=b?d:a(e),S=(A=A==s?p:A)==p,_=(x=x==s?p:x)==p,N=A==x;if(N&&c(t)){if(!c(e))return!1;m=!0,S=!1}if(N&&!S)return g||(g=new n),m||f(t)?i(t,e,r,v,h,g):o(t,e,A,r,v,h,g);if(!(1&r)){var j=S&&y.call(t,"__wrapped__"),B=_&&y.call(e,"__wrapped__");if(j||B){var M=j?t.value():t,O=B?e.value():e;return g||(g=new n),h(M,O,r,v,g)}}return!!N&&(g||(g=new n),u(t,e,r,v,h,g))}},function(t,e,r){var n=r(1);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},function(t,e,r){var n=r(1);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(1);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(1),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():i.call(e,r,1),--this.size,0))}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(8),i=r(7);t.exports=function(t,e,r,o){var u=r.length,a=u,l=!o;if(null==t)return!a;for(t=Object(t);u--;){var c=r[u];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++u<a;){var f=(c=r[u])[0],s=t[f],d=c[1];if(l&&c[2]){if(void 0===s&&!(f in t))return!1}else{var p=new n;if(o)var y=o(s,d,f,t,e,p);if(!(void 0===y?i(d,s,3,o,p):y))return!1}}return!0}},function(t,e,r){var n=r(53),i=r(34),o=r(3);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},function(t,e,r){var n=r(54),i=r(31),o=r(25),u=r(2),a=r(24);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?u(t)?i(t[0],t[1]):n(t):a(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(r(0)),i=a(r(55)),o=a(r(23)),u=a(r(18));function a(t){return t&&t.__esModule?t:{default:t}}e.default={isPercentage:function(t){return String.isString(t)&&String.isPercentage(t)},parsePercentage:function(t){return String.isString(t)&&String.isPercentage(t)?String.parsePercentage(t):null},filterByValues:function(t,e,r){return n.default.filter(t,function(t){return r.contains(t.path(e))})},deepMap:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",r=arguments[2];return n.default.map(t,function(t){return t[e]&&n.default.isArray(t[e])&&(t[e]=n.default.deepMap(t[e],e,r)),r(t)})},deepFindBy:function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children",o=null;return t.each(function(t){o||(n.default.isFunction(e)?o=e(t):t[e]===r?o=t:t[i]&&n.default.isArray(t[i])&&(o=n.default.deepFindBy(t[i],e,r,i)))}),o},deepOrderBy:function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children";return n.default.isString(e)&&(e=[e]),r?n.default.isString(r)&&(r=[r]):r=e.map(function(){return"asc"}),(t=n.default.orderBy(t,e,r)).each(function(t){t[i]&&n.default.isArray(t[i])&&(t[i]=n.default.deepOrderBy(t[i],e,r,i))}),t},pullAllByComparator:function(t,e,r,n){return t&&t.length&&e&&e.length?(0,o.default)(t,e,(0,i.default)(n,2),r):t},timesReverse:function(t,e){for(var r=t;--r>=0;)n.default.isFunction(e)&&e(r)},timesRange:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.default.isFunction(r)){t=(0,u.default)(t),e?e=(0,u.default)(e):(e=t,t=0);for(var o=i?e:t;i?o-- >=t:o++<=e;)r(o+(i?1:-1))}},objectToPaths:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=void 0;if(n.default.isArray(t)){var o=0;i=n.default.flatMap(t,function(t){return n.default.objectToPaths(t,e,(r||"")+"["+o+++"]")})}else i=n.default.isPlainObject(t)?n.default.flatMap(n.default.keys(t),function(i){return n.default.map(n.default.objectToPaths(t[i],e,i),function(t){return(r?r+".":"")+t})}):[];return n.default.filter(n.default.sortBy(n.default.concat(i,r||[])),function(r){var i=n.default.get(t,r);return!e||!n.default.isArray(i)&&!n.default.isPlainObject(i)&&!n.default.isFunction(i)})},keyValueToHash:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value";return n.default.transform(t,function(t,n){t[n[e]]=n[r]},{})},objectToHash:function(t){return n.default.transform(n.default.objectToPaths(t,!0),function(e,r){e[r]=n.default.get(t,r)},{})},hashToObject:function(t){return n.default.transform(t,function(t,e,r){n.default.set(t,r,e)},{})},cleanObject:function(t){return n.default.omitBy(t,n.default.isFunction)},mergeInc:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n.default.mergeWith.apply(this,e,function(t,e){return t+e})},sum:function(t,e,r){return n.default.reduce(t,function(t,r){return t+r[e]},r||0)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(0))&&n.__esModule?n:{default:n};e.default={delay:function(t,e){return i.default.delay(t,e)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=v(r(0)),o=v(r(57)),u=v(r(56)),a=v(r(16)),l=v(r(15)),c=v(r(14)),f=v(r(13)),s=v(r(12)),d=v(r(11)),p=v(r(10)),y=v(r(9));function v(t){return t&&t.__esModule?t:{default:t}}var h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.init()}return n(t,[{key:"extendPrototypeProperty",value:function(t,e,r){arguments.length>3&&void 0!==arguments[3]&&arguments[3],Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0,enumerable:!1})}},{key:"extendPrototype",value:function(t,e){var r=this;i.default.forOwn(e,function(e,n){r.extendPrototypeProperty(t,n,e)})}},{key:"extendLodash",value:function(){i.default.mixin(u.default)}},{key:"extendObject",value:function(){this.extendPrototype(Object.prototype,a.default.prototype),this.extendPrototype(Object,a.default.native)}},{key:"extendFunction",value:function(){this.extendPrototype(Function.prototype,l.default.prototype),this.extendPrototype(Function,l.default.native)}},{key:"extendBoolean",value:function(){this.extendPrototype(Boolean.prototype,c.default.prototype),this.extendPrototype(Boolean,c.default.native)}},{key:"extendNumber",value:function(){this.extendPrototype(Number.prototype,f.default.prototype),this.extendPrototype(Number,f.default.native)}},{key:"extendDate",value:function(){this.extendPrototype(Date.prototype,s.default.prototype),this.extendPrototype(Date,s.default.native)}},{key:"extendString",value:function(){this.extendPrototype(String.prototype,d.default.prototype),this.extendPrototype(String,d.default.native)}},{key:"extendArray",value:function(){this.extendPrototype(Array.prototype,p.default.prototype),this.extendPrototype(Array,p.default.native)}},{key:"init",value:function(){this.extendLodash(),this.extendObject(),this.extendFunction(),this.extendBoolean(),this.extendNumber(),this.extendDate(),this.extendString(),this.extendArray();var t=y.default.version.inherit({initialized:!0});Object.inherit(this,o.default,t),console.log("FlavorJS initialized",t)}}]),t}();e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=(n=r(58))&&n.__esModule?n:{default:n},o=window&&window instanceof Window&&window.FlavorJS&&window.ƒ?window.FlavorJS:new i.default;window.FlavorJS=o,window.ƒ=o,e.default=o}])});