'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){b>=a&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),delete e.responsive,e.responsiveClass&&this.$element.attr("class",function(a,b){return b.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+d)):e=a.extend({},this.options),(null===this.settings||this._breakpoint!==d)&&(this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},e.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length
").addClass(this.settings.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};c>b;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={}},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime();this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=b.orientation,this.watchVisibility(),this.trigger("refreshed")},e.prototype.eventsCall=function(){this.e._onDragStart=a.proxy(function(a){this.onDragStart(a)},this),this.e._onDragMove=a.proxy(function(a){this.onDragMove(a)},this),this.e._onDragEnd=a.proxy(function(a){this.onDragEnd(a)},this),this.e._onResize=a.proxy(function(a){this.onResize(a)},this),this.e._transitionEnd=a.proxy(function(a){this.transitionEnd(a)},this),this.e._preventClick=a.proxy(function(a){this.preventClick(a)},this)},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return this._items.length?this._width===this.$element.width()?!1:this.trigger("resize").isDefaultPrevented()?!1:(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized")):!1},e.prototype.eventsRouter=function(a){var b=a.type;"mousedown"===b||"touchstart"===b?this.onDragStart(a):"mousemove"===b||"touchmove"===b?this.onDragMove(a):"mouseup"===b||"touchend"===b?this.onDragEnd(a):"touchcancel"===b&&this.onDragEnd(a)},e.prototype.internalEvents=function(){var c=(k(),l());this.settings.mouseDrag?(this.$stage.on("mousedown",a.proxy(function(a){this.eventsRouter(a)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!c&&this.$stage.on("touchstart touchcancel",a.proxy(function(a){this.eventsRouter(a)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),this.settings.responsive!==!1&&this.on(b,"resize",a.proxy(this.onThrottledResize,this))},e.prototype.onDragStart=function(d){var e,g,h,i;if(e=d.originalEvent||d||b.event,3===e.which||this.state.isTouch)return!1;if("mousedown"===e.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,g=f(e).x,h=f(e).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)i=this.getTransformProperty(),this.drag.offsetX=i,this.animate(i),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=g-this.drag.offsetX,this.drag.startY=h-this.drag.offsetY,this.drag.start=g-this.drag.startX,this.drag.targetEl=e.target||e.srcElement,this.drag.updatedX=this.drag.start,("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1),a(c).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",a.proxy(function(a){this.eventsRouter(a)},this))},e.prototype.onDragMove=function(a){var c,e,g,h,i,j;this.state.isTouch&&(this.state.isScrolling||(c=a.originalEvent||a||b.event,e=f(c).x,g=f(c).y,this.drag.currentX=e-this.drag.startX,this.drag.currentY=g-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(h=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),j=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,h+j),i+j)),(this.drag.distance>8||this.drag.distance<-8)&&(c.preventDefault!==d?c.preventDefault():c.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},e.prototype.onDragEnd=function(b){var d,e,f;if(this.state.isTouch){if("mouseup"===b.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),d=this.drag.endTime-this.drag.startTime,e=Math.abs(this.drag.distance),(e>3||d>300)&&this.removeClick(this.drag.targetEl),f=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(f),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(f)||this.transitionEnd(),this.drag.distance=0,a(c).off(".owl.dragEvents")}},e.prototype.removeClick=function(c){this.drag.targetEl=c,a(c).on("click.preventClick",this.e._preventClick),b.setTimeout(function(){a(c).off("click.preventClick")},300)},e.prototype.preventClick=function(b){b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation&&b.stopPropagation(),a(b.target).off("click.preventClick")},e.prototype.getTransformProperty=function(){var a,c;return a=b.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform"),a=a.replace(/matrix(3d)?\(|\)/g,"").split(","),c=16===a.length,c!==!0?a[4]:a[12]},e.prototype.closest=function(b){var c=-1,d=30,e=this.width(),f=this.coordinates();return this.settings.freeDrag||a.each(f,a.proxy(function(a,g){return b>g-d&&g+d>b?c=a:this.op(b,"<",g)&&this.op(b,">",f[a+1]||g-e)&&(c="left"===this.state.direction?a+1:a),-1===c},this)),this.settings.loop||(this.op(b,">",f[this.minimum()])?c=b=this.minimum():this.op(b,"<",f[this.maximum()])&&(c=b=this.maximum())),c},e.prototype.animate=function(b){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+b+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:b+"px"}):this.$stage.animate({left:b},this.speed()/1e3,this.settings.fallbackEasing,a.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(a){this._invalidated[a]=!0},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(b,c){var e=c?this._items.length:this._items.length+this._clones.length;return!a.isNumeric(b)||1>e?d:b=this._clones.length?(b%e+e)%e:Math.max(this.minimum(c),Math.min(this.maximum(c),b))},e.prototype.relative=function(a){return a=this.normalize(a),a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=0,f=this.settings;if(a)return this._items.length-1;if(!f.loop&&f.center)b=this._items.length-1;else if(f.loop||f.center)if(f.loop||f.center)b=this._items.length+f.items;else{if(!f.autoWidth&&!f.merge)throw"Can not detect maximum absolute position.";for(revert=f.rtl?1:-1,c=this.$stage.width()-this.$element.width();(d=this.coordinates(e))&&!(d*revert>=c);)b=++e}else b=this._items.length-f.items;return b},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c=null;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[b-1]||0))/2*(this.settings.rtl?-1:1)):c=this._coordinates[b-1]||0,c)},e.prototype.duration=function(a,b,c){return Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(c,d){if(this.settings.loop){var e=c-this.relative(this.current()),f=this.current(),g=this.current(),h=this.current()+e,i=0>g-h?!0:!1,j=this._clones.length+this._items.length;h
=j-this.settings.items&&i===!0&&(f=g-this._items.length,this.reset(f)),b.clearTimeout(this.e._goToLoop),this.e._goToLoop=b.setTimeout(a.proxy(function(){this.speed(this.duration(this.current(),f+e,d)),this.current(f+e),this.update()},this),30)}else this.speed(this.duration(this.current(),c,d)),this.current(c),this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.transitionEnd=function(a){return a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0))?!1:(this.state.inMotion=!1,void this.trigger("translated"))},e.prototype.viewport=function(){var d;if(this.options.responsiveBaseElement!==b)d=a(this.options.responsiveBaseElement).width();else if(b.innerWidth)d=b.innerWidth;else{if(!c.documentElement||!c.documentElement.clientWidth)throw"Can not detect viewport width.";d=c.documentElement.clientWidth}return d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(a.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(a,b){b=b===d?this._items.length:this.normalize(b,!0),this.trigger("add",{content:a,position:b}),0===this._items.length||b===this._items.length?(this.$stage.append(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[b].before(a),this._items.splice(b,0,a),this._mergers.splice(b,0,1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:a,position:b})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.addTriggerableEvents=function(){var b=a.proxy(function(b,c){return a.proxy(function(a){a.relatedTarget!==this&&(this.suppress([c]),b.apply(this,[].slice.call(arguments,1)),this.release([c]))},this)},this);a.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},a.proxy(function(a,c){this.$element.on(a+".owl.carousel",b(c,a+".owl.carousel"))},this))},e.prototype.watchVisibility=function(){function c(a){return a.offsetWidth>0&&a.offsetHeight>0}function d(){c(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),b.clearInterval(this.e._checkVisibile))}c(this.$element.get(0))||(this.$element.addClass("owl-hidden"),b.clearInterval(this.e._checkVisibile),this.e._checkVisibile=b.setInterval(a.proxy(d,this),500))},e.prototype.preloadAutoWidthImages=function(b){var c,d,e,f;c=0,d=this,b.each(function(g,h){e=a(h),f=new Image,f.onload=function(){c++,e.attr("src",f.src),e.css("opacity",1),c>=b.length&&(d.state.imagesLoaded=!0,d.initialize())},f.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})},e.prototype.destroy=function(){this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),this.settings.responsive!==!1&&a(b).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd);for(var d in this._plugins)this._plugins[d].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),a(c).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:c>a;case">":return d?c>a:a>c;case">=":return d?c>=a:a>=c;case"<=":return d?a>=c:c>=a}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d){var e={item:{count:this._items.length,index:this.current()}},f=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),g=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},e,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(g)}),this.$element.trigger(g),this.settings&&"function"==typeof this.settings[f]&&this.settings[f].apply(this,g)),g},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.browserSupport=function(){if(this.support3d=j(),this.support3d){this.transformVendor=i();var a=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=a[h()],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=b.orientation},a.fn.owlCarousel=function(b){return this.each(function(){a(this).data("owlCarousel")||a(this).data("owlCarousel",new e(this,b))})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,d=c.center&&Math.ceil(c.items/2)||c.items,e=c.center&&-1*d||0,f=(b.property&&b.property.value||this._core.current())+e,g=this._core.clones().length,h=a.proxy(function(a,b){this.load(b)},this);e++-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":"url("+g+")",opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={"initialized.owl.carousel":a.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":a.proxy(function(a){this._core.settings.video&&!this.isInFullScreen()&&a.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":a.proxy(function(a){this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=a.attr("data-vimeo-id")?"vimeo":"youtube",d=a.attr("data-vimeo-id")||a.attr("data-youtube-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else{if(!(d[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");c="vimeo"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='
',d=k.lazyLoad?'
':'
',b.after(d),b.after(e)};return b.wrap('
"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length?(l(h.attr(i)),h.remove(),!1):void("youtube"===c.type?(f="http://img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type&&a.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}))},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},e.prototype.play=function(b){this._core.trigger("play",null,"video"),this._playing&&this.stop();var c,d,e=a(b.target||b.srcElement),f=e.closest("."+this._core.settings.itemClass),g=this._videos[f.attr("data-video")],h=g.width||"100%",i=g.height||this._core.$stage.height();"youtube"===g.type?c='VIDEO ':"vimeo"===g.type&&(c=''),f.addClass("owl-video-playing"),this._playing=f,d=a(''+c+"
"),e.after(d)},e.prototype.isInFullScreen=function(){var d=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return d&&a(d).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),d&&this._fullscreen&&this._playing?!1:this._fullscreen?(this._fullscreen=!1,!1):this._playing&&this._core.state.orientation!==b.orientation?(this._core.state.orientation=b.orientation,!1):!0},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){this.swapping="translated"==a.type},this),"translate.owl.carousel":a.proxy(function(a){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c)),f&&e.addClass("animated owl-animated-in").addClass(f).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.handlers={
-"translated.owl.carousel refreshed.owl.carousel":a.proxy(function(){this.autoplay()},this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(b.clearInterval(this.interval),this.interval=b.setInterval(a.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):b.clearInterval(this.interval)},e.prototype.play=function(a,d){return c.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1?void b.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},e.prototype.stop=function(){b.clearInterval(this.interval)},e.prototype.pause=function(){b.clearInterval(this.interval)},e.prototype.destroy=function(){var a,c;b.clearInterval(this.interval);for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.push(a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.splice(b.position,0,a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":a.proxy(function(a){this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"change.owl.carousel":a.proxy(function(a){if("position"==a.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var b=this._core.current(),c=this._core.maximum(),d=this._core.minimum();a.data=a.property.value>c?b>=c?d:c:a.property.value").addClass(d.dotClass).append(a("")).prop("outerHTML")]),d.navContainer&&d.dotsContainer||(this._controls.$container=a("").addClass(d.controlsClass).appendTo(this.$element)),this._controls.$indicators=d.dotsContainer?a(d.dotsContainer):a("
").hide().addClass(d.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",a.proxy(function(b){var c=a(b.target).parent().is(this._controls.$indicators)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(c,d.dotsSpeed)},this)),b=d.navContainer?a(d.navContainer):a("
").addClass(d.navContainerClass).prependTo(this._controls.$container),this._controls.$next=a("<"+d.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(d.navClass[0]).html(d.navText[0]).hide().prependTo(b).on("click",a.proxy(function(a){this.prev(d.navSpeed)},this)),this._controls.$next.addClass(d.navClass[1]).html(d.navText[1]).hide().appendTo(b).on("click",a.proxy(function(a){this.next(d.navSpeed)},this));for(c in this._overrides)this._core[c]=a.proxy(this[c],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.settings,e=this._core.clones().length/2,f=e+this._core.items().length,g=d.center||d.autoWidth||d.dotData?1:d.dotsEach||d.items;if("page"!==d.slideBy&&(d.slideBy=Math.min(d.slideBy,d.items)),d.dots||"page"==d.slideBy)for(this._pages=[],a=e,b=0,c=0;f>a;a++)(b>=g||0===b)&&(this._pages.push({start:a-e,end:a-e+g-1}),b=0,++c),b+=this._core.mergers(this._core.relative(a))},e.prototype.draw=function(){var b,c,d="",e=this._core.settings,f=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!e.nav||e.loop||e.navRewind||(this._controls.$previous.toggleClass("disabled",0>=f),this._controls.$next.toggleClass("disabled",f>=this._core.maximum())),this._controls.$previous.toggle(e.nav),this._controls.$next.toggle(e.nav),e.dots){if(b=this._pages.length-this._controls.$indicators.children().length,e.dotData&&0!==b){for(c=0;c
0?(d=new Array(b+1).join(this._templates[0]),this._controls.$indicators.append(d)):0>b&&this._controls.$indicators.children().slice(b).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(a.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(e.dots)},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,function(a){return a.start<=b&&a.end>=b}).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;d?a.proxy(this._overrides.to,this._core)(b,c):(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c))},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(){"URLHash"==this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[c]=b.content},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(){var a=b.location.hash.substring(1),c=this._core.$stage.children(),d=this._hashes[a]&&c.index(this._hashes[a])||0;return a?void this._core.to(d,!1,!0):!1},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),FrontendCore.define("carousel",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{baseClass:"carousel",themeClass:"carousel-theme",items:1,nav:!0,navText:["",""],loop:!0,margin:10,merge:!1,video:!0,lazyLoad:!0,videoWidth:"100%",videoHeight:300,center:!0,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0},onStart:function(){var a=FrontendTools.getDataModules("carousel"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","carousel"),$(a).each(function(){b.autobind(this)})},autobind:function(a,b){var c,d,e,f=this,g={};$(".carousel-video",a).each(function(){$(this).addClass("owl-video")});for(d in f.oDefault)null!==a.getAttribute("data-fc-"+d)&&(g[d]=a.getAttribute("data-fc-"+d));null!==a.getAttribute("data-fc-video-height")&&(g.videoHeight=a.getAttribute("data-fc-video-height")),null!==a.getAttribute("data-fc-video-width")&&(g.videoWidth=a.getAttribute("data-fc-video-width")),null!==a.getAttribute("data-fc-device-items")&&(e=a.getAttribute("data-fc-device-items").split(","),g.responsive={0:{items:parseInt(e[0],10),nav:!1},480:{items:parseInt(e[1],10),nav:!0},980:{items:parseInt(e[2],10),nav:!0}}),c=FrontendTools.mergeOptions(f.oDefault,g),void 0!==c&&$(a).owlCarousel(c)},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
+!function(a,b,c,d){function e(b,c){b.owlCarousel={name:"Owl Carousel",author:"Bartosz Wojciechowski",version:"2.0.0-beta.2.1"},this.settings=null,this.options=a.extend({},e.Defaults,c),this.itemData=a.extend({},l),this.dom=a.extend({},m),this.width=a.extend({},n),this.num=a.extend({},o),this.drag=a.extend({},q),this.state=a.extend({},r),this.e=a.extend({},s),this.plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=null,this.dom.el=b,this.dom.$el=a(b);for(var d in e.Plugins)this.plugins[d[0].toLowerCase()+d.slice(1)]=new e.Plugins[d](this);this.init()}function f(a){var b,d,e=c.createElement("div"),f=a;for(b in f)if(d=f[b],"undefined"!=typeof e.style[d])return e=null,[d,b];return[!1]}function g(){return f(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function h(){return f(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function i(){return f(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function j(){return"ontouchstart"in b||!!navigator.msMaxTouchPoints}function k(){return b.navigator.msPointerEnabled}var l,m,n,o,p,q,r,s;l={index:!1,indexAbs:!1,posLeft:!1,clone:!1,active:!1,loaded:!1,lazyLoad:!1,current:!1,width:!1,center:!1,page:!1,hasVideo:!1,playVideo:!1},m={el:null,$el:null,stage:null,$stage:null,oStage:null,$oStage:null,$items:null,$oItems:null,$cItems:null,$content:null},n={el:0,stage:0,item:0,prevWindow:0,cloneLast:0},o={items:0,oItems:0,cItems:0,active:0,merged:[]},q={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},r={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},s={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},e.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},e.Plugins={},e.prototype.init=function(){if(this.setResponsiveOptions(),this.trigger("initialize"),this.dom.$el.hasClass(this.settings.baseClass)||this.dom.$el.addClass(this.settings.baseClass),this.dom.$el.hasClass(this.settings.themeClass)||this.dom.$el.addClass(this.settings.themeClass),this.settings.rtl&&this.dom.$el.addClass("owl-rtl"),this.browserSupport(),this.settings.autoWidth&&this.state.imagesLoaded!==!0){var a,b,c;if(a=this.dom.$el.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.dom.$el.children(b).width(),a.length&&0>=c)return this.preloadAutoWidthImages(a),!1}this.width.prevWindow=this.viewport(),this.createStage(),this.fetchContent(),this.eventsCall(),this.internalEvents(),this.dom.$el.addClass("owl-loading"),this.refresh(!0),this.dom.$el.removeClass("owl-loading").addClass("owl-loaded"),this.trigger("initialized"),this.addTriggerableEvents()},e.prototype.setResponsiveOptions=function(){if(this.options.responsive){var b=this.viewport(),c=this.options.responsive,d=-1;a.each(c,function(a){b>=a&&a>d&&(d=Number(a))}),this.settings=a.extend({},this.options,c[d]),delete this.settings.responsive,this.settings.responsiveClass&&this.dom.$el.attr("class",function(a,b){return b.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+d)}else this.settings=a.extend({},this.options)},e.prototype.optionsLogic=function(){this.dom.$el.toggleClass("owl-center",this.settings.center),this.settings.loop&&this.num.oItemsb;b++)c=this.createItemContainer(),this.createItemContainerData(c),this.dom.$stage.append(c)},e.prototype.initializeItemContainer=function(a,b){this.trigger("change",{property:{name:"item",value:a}}),this.createItemContainerData(a),a.append(b),this.trigger("changed",{property:{name:"item",value:a}})},e.prototype.createItemContainerData=function(b,c){var d=a.extend({},this.itemData);c&&a.extend(d,c.data("owl-item")),b.data("owl-item",d)},e.prototype.cloneItemContainer=function(a){var b=a.clone(!0,!0).addClass("cloned");return this.createItemContainerData(b,b),b.data("owl-item").clone=!0,b},e.prototype.updateLocalContent=function(){var b,c;for(this.dom.$oItems=this.dom.$stage.find("."+this.settings.itemClass).filter(function(){return a(this).data("owl-item").clone===!1}),this.num.oItems=this.dom.$oItems.length,b=0;bd;d++)b=this.cloneItemContainer(this.dom.$oItems.eq(d)),c=this.cloneItemContainer(this.dom.$oItems.eq(f-d)),this.dom.$stage.append(b),this.dom.$stage.prepend(c);this.dom.$cItems=this.dom.$stage.find("."+this.settings.itemClass).filter(function(){return a(this).data("owl-item").clone===!0})},e.prototype.reClone=function(){null!==this.dom.$cItems&&(this.dom.$cItems.remove(),this.dom.$cItems=null,this.num.cItems=0),this.settings.loop&&this.loopClone()},e.prototype.calculate=function(){var a,b,c,d,e,f,g,h=0,i=0;for(this.width.el=this.dom.$el.width()-2*this.settings.stagePadding,this.width.view=this.dom.$el.width(),c=this.width.el-this.settings.margin*(1===this.settings.items?0:this.settings.items-1),this.width.el=this.width.el+this.settings.margin,this.width.item=(c/this.settings.items+this.settings.margin).toFixed(3),this.dom.$items=this.dom.$stage.find(".owl-item"),this.num.items=this.dom.$items.length,this.settings.autoWidth&&this.dom.$items.css("width",""),this._coordinates=[],this.num.merged=[],d=this.settings.rtl?this.settings.center?-(this.width.el/2):0:this.settings.center?this.width.el/2:0,this.width.mergeStage=0,a=0;athis.settings.items&&(g=this.settings.items),this.num.merged.push(parseInt(g)),this.width.mergeStage+=this.width.item*this.num.merged[a]):this.num.merged.push(1),f=this.width.item*this.num.merged[a],this.settings.autoWidth&&(f=this.dom.$items.eq(a).width()+this.settings.margin,this.settings.rtl?this.dom.$items[a].style.marginLeft=this.settings.margin+"px":this.dom.$items[a].style.marginRight=this.settings.margin+"px"),this._coordinates.push(d),this.dom.$items.eq(a).data("owl-item").posLeft=h,this.dom.$items.eq(a).data("owl-item").width=f,this.settings.rtl?(d+=f,h+=f):(d-=f,h-=f),i-=Math.abs(f),this.settings.center&&(this._coordinates[a]=this.settings.rtl?this._coordinates[a]+f/2:this._coordinates[a]-f/2);for(this.settings.autoWidth?this.width.stage=Math.abs(this.settings.center?i:d):this.width.stage=Math.abs(i),e=this.num.oItems+this.num.cItems,b=0;e>b;b++)this.dom.$items.eq(b).data("owl-item").indexAbs=b;this.setSizes()},e.prototype.setSizes=function(){this.settings.stagePadding!==!1&&(this.dom.oStage.style.paddingLeft=this.settings.stagePadding+"px",this.dom.oStage.style.paddingRight=this.settings.stagePadding+"px"),this.settings.rtl?b.setTimeout(a.proxy(function(){this.dom.stage.style.width=this.width.stage+"px"},this),0):this.dom.stage.style.width=this.width.stage+"px";for(var c=0;c",stageX+view)||this.op(f,"<",stageX)&&this.op(f,">",stageX+view))&&(this.num.active++,c.data("owl-item").active=!0,c.data("owl-item").current=!0,c.addClass(this.settings.activeClass),this.settings.lazyLoad||(c.data("owl-item").loaded=!0),this.settings.loop&&this.updateClonedItemsState(c.data("owl-item").index));this.settings.center&&(this.dom.$items.eq(this.current()).addClass(this.settings.centerClass).data("owl-item").center=!0),this.trigger("changed",{property:{name:"items",value:this.dom.$items}})},e.prototype.updateClonedItemsState=function(a){var b,c,d;for(this.settings.center&&(b=this.dom.$items.eq(this.current()).data("owl-item").index),d=0;d0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this.num.oItems):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this.num.oItems)):(h=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),j=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,h+j),i+j)),(this.drag.distance>8||this.drag.distance<-8)&&(c.preventDefault!==d?c.preventDefault():c.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},e.prototype.onDragEnd=function(){var a,b,d;if(this.state.isTouch){if("mousedown"===this.dragType[0]&&this.dom.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),a=this.drag.endTime-this.drag.startTime,b=Math.abs(this.drag.distance),(b>3||a>300)&&this.removeClick(this.drag.targetEl),d=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(d),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(d)||this.transitionEnd(),this.drag.distance=0,this.off(c,this.dragType[1],this.e._onDragMove),this.off(c,this.dragType[2],this.e._onDragEnd)}},e.prototype.removeClick=function(c){this.drag.targetEl=c,a(c).on("click.preventClick",this.e._preventClick),b.setTimeout(function(){a(c).off("click.preventClick")},300)},e.prototype.preventClick=function(b){b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation&&b.stopPropagation(),a(b.target).off("click.preventClick")},e.prototype.getTransformProperty=function(){var a,c;return a=b.getComputedStyle(this.dom.stage,null).getPropertyValue(this.vendorName+"transform"),a=a.replace(/matrix(3d)?\(|\)/g,"").split(","),c=16===a.length,c!==!0?a[4]:a[12]},e.prototype.closest=function(b){var c=0,d=30;return this.settings.freeDrag||a.each(this.coordinates(),a.proxy(function(a,e){b>e-d&&e+d>b?c=a:this.op(b,"<",e)&&this.op(b,">",this.coordinates(a+1)||e-this.width.el)&&(c="left"===this.state.direction?a+1:a)},this)),this.settings.loop||(this.op(b,">",this.coordinates(this.minimum()))?c=b=this.minimum():this.op(b,"<",this.coordinates(this.maximum()))&&(c=b=this.maximum())),c},e.prototype.animate=function(b){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.dom.$stage.css({transform:"translate3d("+b+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.dom.$stage.css({left:b+"px"}):this.dom.$stage.animate({left:b},this.speed()/1e3,this.settings.fallbackEasing,a.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},e.prototype.current=function(a){if(a===d)return this._current;if(0===this.num.oItems)return d;if(a=this.normalize(a),this._current===a)this.animate(this.coordinates(this._current));else{var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.animate(this.coordinates(this._current)),this.updateActiveItems(),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.reset=function(a){this.suppress(["change","changed"]),this.speed(0),this.current(a),this.release(["change","changed"])},e.prototype.normalize=function(a,b){if(a===d||!this.dom.$items)return d;if(this.settings.loop){var c=this.dom.$items.length;a=(a%c+c)%c}else a=Math.max(this.minimum(),Math.min(this.maximum(),a));return b?this.dom.$items.eq(a).data("owl-item").index:a},e.prototype.maximum=function(){var b,c,d=this.settings;if(!d.loop&&d.center)b=this.num.oItems-1;else if(d.loop||d.center)if(d.loop||d.center)b=this.num.oItems+d.items;else{if(!d.autoWidth&&!d.merge)throw"Can not detect maximum absolute position.";revert=d.rtl?1:-1,c=this.dom.$stage.width()-this.$el.width(),a.each(this.coordinates(),function(a,d){return d*revert>=c?!1:void(b=a+1)})}else b=this.num.oItems-d.items;return b},e.prototype.minimum=function(){return this.dom.$oItems.eq(0).data("owl-item").indexAbs},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(a){return a!==d?this._coordinates[a]:this._coordinates},e.prototype.duration=function(a,b,c){return Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(c,d){if(this.settings.loop){var e=c-this.normalize(this.current(),!0),f=this.current(),g=this.current(),h=this.current()+e,i=0>g-h?!0:!1;h=this.num.items-this.settings.items&&i===!0&&(f=g-this.num.oItems,this.reset(f)),b.clearTimeout(this.e._goToLoop),this.e._goToLoop=b.setTimeout(a.proxy(function(){this.speed(this.duration(this.current(),f+e,d)),this.current(f+e)},this),30)}else this.speed(this.duration(this.current(),c,d)),this.current(c)},e.prototype.next=function(a){a=a||!1,this.to(this.normalize(this.current(),!0)+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.normalize(this.current(),!0)-1,a)},e.prototype.transitionEnd=function(a){if(a!==d){a.stopPropagation();var b=a.target||a.srcElement||a.originalTarget;if(b!==this.dom.stage)return!1}this.state.inMotion=!1,this.trigger("translated")},e.prototype.isElWidthChanged=function(){var a=this.dom.$el.width()-this.settings.stagePadding,b=this.width.el+this.settings.margin;return a!==b},e.prototype.viewport=function(){var d;if(this.options.responsiveBaseElement!==b)d=a(this.options.responsiveBaseElement).width();else if(b.innerWidth)d=b.innerWidth;else{if(!c.documentElement||!c.documentElement.clientWidth)throw"Can not detect viewport width.";d=c.documentElement.clientWidth}return d},e.prototype.insertContent=function(a){this.dom.$stage.empty(),this.fetchContent(a),this.refresh()},e.prototype.addItem=function(a,b){var c=this.createItemContainer();b=b||0,this.initializeItemContainer(c,a),0===this.dom.$oItems.length?this.dom.$stage.append(c):-1!==p?this.dom.$oItems.eq(b).before(c):this.dom.$oItems.eq(b).after(c),this.refresh()},e.prototype.removeItem=function(a){this.dom.$oItems.eq(a).remove(),this.refresh()},e.prototype.addTriggerableEvents=function(){var b=a.proxy(function(b,c){return a.proxy(function(a){a.relatedTarget!==this&&(this.suppress([c]),b.apply(this,[].slice.call(arguments,1)),this.release([c]))},this)},this);a.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.insertContent,add:this.addItem,remove:this.removeItem},a.proxy(function(a,c){this.dom.$el.on(a+".owl.carousel",b(c,a+".owl.carousel"))},this))},e.prototype.watchVisibility=function(){function c(a){return a.offsetWidth>0&&a.offsetHeight>0}function d(){c(this.dom.el)&&(this.dom.$el.removeClass("owl-hidden"),this.refresh(),b.clearInterval(this.e._checkVisibile))}c(this.dom.el)||(this.dom.$el.addClass("owl-hidden"),b.clearInterval(this.e._checkVisibile),this.e._checkVisibile=b.setInterval(a.proxy(d,this),500))},e.prototype.preloadAutoWidthImages=function(b){var c,d,e,f;c=0,d=this,b.each(function(g,h){e=a(h),f=new Image,f.onload=function(){c++,e.attr("src",f.src),e.css("opacity",1),c>=b.length&&(d.state.imagesLoaded=!0,d.init())},f.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})},e.prototype.destroy=function(){this.dom.$el.hasClass(this.settings.themeClass)&&this.dom.$el.removeClass(this.settings.themeClass),this.settings.responsive!==!1&&this.off(b,"resize",this.e._resizer),this.transitionEndVendor&&this.off(this.dom.stage,this.transitionEndVendor,this.e._transitionEnd);for(var a in this.plugins)this.plugins[a].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.off(this.dom.stage,this.dragType[0],this.e._onDragStart),this.settings.mouseDrag&&this.off(c,this.dragType[3],this.e._onDragStart),this.settings.mouseDrag&&(this.dom.$stage.off("dragstart",function(){return!1}),this.dom.stage.onselectstart=function(){})),this.dom.$el.off(".owl"),null!==this.dom.$cItems&&this.dom.$cItems.remove(),this.e=null,this.dom.$el.data("owlCarousel",null),delete this.dom.el.owlCarousel,this.dom.$stage.unwrap(),this.dom.$items.unwrap(),this.dom.$items.contents().unwrap(),this.dom=null},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:c>a;case">":return d?c>a:a>c;case">=":return d?c>=a:a>=c;case"<=":return d?a>=c:c>=a}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d){var e={item:{count:this.num.oItems,index:this.current()}},f=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),g=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},e,c));return this._supress[g.type]||(a.each(this.plugins,function(a,b){b.onTrigger&&b.onTrigger(g)}),this.dom.$el.trigger(g),"function"==typeof this.settings[f]&&this.settings[f].apply(this,g)),g},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.browserSupport=function(){if(this.support3d=i(),this.support3d){this.transformVendor=h();var a=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=a[g()],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=b.orientation},a.fn.owlCarousel=function(b){return this.each(function(){a(this).data("owlCarousel")||a(this).data("owlCarousel",new e(this,b))})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){LazyLoad=function(b){this.owl=b,this.owl.options=a.extend({},LazyLoad.Defaults,this.owl.options),this.handlers={"changed.owl.carousel":a.proxy(function(a){"items"==a.property.name&&a.property.value&&!a.property.value.is(":empty")&&this.check()},this)},this.owl.dom.$el.on(this.handlers)},LazyLoad.Defaults={lazyLoad:!1},LazyLoad.prototype.check=function(){var a,c,d,e,f=b.devicePixelRatio>1?"data-src-retina":"data-src";for(d=0;d1?"data-src-retina":"data-src"),g=g||e.attr("data-src"),f.onload=a.proxy(function(){d.data("owl-item").loaded=!0,e.is("img")?e.attr("src",f.src):e.css("background-image","url("+f.src+")"),e.css("opacity",1),this.owl.trigger("loaded",null,"lazy")},this),f.src=g},this))},LazyLoad.prototype.destroy=function(){var a,b;for(a in this.handlers)this.owl.dom.$el.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.lazyLoad=LazyLoad}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){AutoHeight=function(b){this.owl=b,this.owl.options=a.extend({},AutoHeight.Defaults,this.owl.options),this.handlers={"changed.owl.carousel":a.proxy(function(a){"position"==a.property.name&&this.owl.settings.autoHeight&&this.setHeight()},this)},this.owl.dom.$el.on(this.handlers)},AutoHeight.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},AutoHeight.prototype.setHeight=function(){var a,c=this.owl.dom.$items.eq(this.owl.current()),d=this.owl.dom.$oStage,e=0;this.owl.dom.$oStage.hasClass(this.owl.settings.autoHeightClass)||this.owl.dom.$oStage.addClass(this.owl.settings.autoHeightClass),a=b.setInterval(function(){e+=1,c.data("owl-item").loaded?(d.height(c.height()+"px"),clearInterval(a)):500===e&&clearInterval(a)},100)},AutoHeight.prototype.destroy=function(){var a,b;for(a in this.handlers)this.owl.dom.$el.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoHeight=AutoHeight}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){Video=function(b){this.owl=b,this.owl.options=a.extend({},Video.Defaults,this.owl.options),this.handlers={"resize.owl.carousel":a.proxy(function(a){this.owl.settings.video&&!this.isInFullScreen()&&a.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":a.proxy(function(a){this.owl.state.videoPlay&&this.stopVideo()},this),"refresh.owl.carousel refreshed.owl.carousel":a.proxy(function(a){return this.owl.settings.video?void(this.refreshing="refresh"==a.type):!1},this),"changed.owl.carousel":a.proxy(function(a){this.refreshing&&"items"==a.property.name&&a.property.value&&!a.property.value.is(":empty")&&this.checkVideoLinks()},this)},this.owl.dom.$el.on(this.handlers),this.owl.dom.$el.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.playVideo(a)},this))},Video.Defaults={video:!1,videoHeight:!1,videoWidth:!1},Video.prototype.checkVideoLinks=function(){var a,b,c;for(c=0;c-1?d="youtube":e[3].indexOf("vimeo")>-1&&(d="vimeo"),e=e[6]}b.data("owl-item").videoType=d,b.data("owl-item").videoId=e,b.data("owl-item").videoWidth=i,b.data("owl-item").videoHeight=j,c={type:d,id:e},f=i&&j?'style="width:'+i+"px;height:"+j+'px;"':"",a.wrap('
"),this.createVideoTn(a,c)},Video.prototype.createVideoTn=function(b,c){function d(a){f='
',e=k.settings.lazyLoad?'
':'
',b.after(e),b.after(f)}var e,f,g,h=b.find("img"),i="src",j="",k=this.owl;return this.owl.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length?(d(h.attr(i)),h.remove(),!1):void("youtube"===c.type?(g="http://img.youtube.com/vi/"+c.id+"/hqdefault.jpg",d(g)):"vimeo"===c.type&&a.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){g=a[0].thumbnail_large,d(g),k.settings.loop&&k.updateActiveItems()}}))},Video.prototype.stopVideo=function(){this.owl.trigger("stop",null,"video");var a=this.owl.dom.$items.eq(this.owl.state.videoPlayIndex);a.find(".owl-video-frame").remove(),a.removeClass("owl-video-playing"),this.owl.state.videoPlay=!1},Video.prototype.playVideo=function(b){this.owl.trigger("play",null,"video"),this.owl.state.videoPlay&&this.stopVideo();var c,d,e,f=a(b.target||b.srcElement),g=f.closest("."+this.owl.settings.itemClass);e=g.data("owl-item").videoType,id=g.data("owl-item").videoId,width=g.data("owl-item").videoWidth||Math.floor(g.data("owl-item").width-this.owl.settings.margin),height=g.data("owl-item").videoHeight||this.owl.dom.$stage.height(),"youtube"===e?c='VIDEO ':"vimeo"===e&&(c=''),
+g.addClass("owl-video-playing"),this.owl.state.videoPlay=!0,this.owl.state.videoPlayIndex=g.data("owl-item").indexAbs,d=a(''+c+"
"),f.after(d)},Video.prototype.isInFullScreen=function(){var d=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return d&&a(d.parentNode).hasClass("owl-video-frame")&&(this.owl.speed(0),this.owl.state.isFullScreen=!0),d&&this.owl.state.isFullScreen&&this.owl.state.videoPlay?!1:this.owl.state.isFullScreen?(this.owl.state.isFullScreen=!1,!1):this.owl.state.videoPlay&&this.owl.state.orientation!==b.orientation?(this.owl.state.orientation=b.orientation,!1):!0},Video.prototype.destroy=function(){var a,b;this.owl.dom.$el.off("click.owl.video");for(a in this.handlers)this.owl.dom.$el.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.video=Video}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){Animate=function(b){this.core=b,this.core.options=a.extend({},Animate.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){this.swapping="translated"==a.type},this),"translate.owl.carousel":a.proxy(function(a){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.dom.$el.on(this.handlers)},Animate.Defaults={animateOut:!1,animateIn:!1},Animate.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.dom.$items.eq(this.previous),e=this.core.dom.$items.eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c)),f&&e.addClass("animated owl-animated-in").addClass(f).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c))}},Animate.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},Animate.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.dom.$el.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=Animate}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){Autoplay=function(b){this.core=b,this.core.options=a.extend({},Autoplay.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":a.proxy(function(){this.autoplay()},this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.dom.$el.on(this.handlers)},Autoplay.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},Autoplay.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(b.clearInterval(this.interval),this.interval=b.setInterval(a.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):b.clearInterval(this.interval)},Autoplay.prototype.play=function(a,d){return c.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1?void b.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},Autoplay.prototype.stop=function(){b.clearInterval(this.interval)},Autoplay.prototype.pause=function(){b.clearInterval(this.interval)},Autoplay.prototype.destroy=function(){var a,c;b.clearInterval(this.interval);for(a in this.handlers)this.core.dom.$el.off(a,this.handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=Autoplay}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this.core=b,this.initialized=!1,this.pages=[],this.controls={},this.template=null,this.$element=this.core.dom.$el,this.overrides={next:this.core.next,prev:this.core.prev,to:this.core.to},this.handlers={"changed.owl.carousel":a.proxy(function(b){"items"==b.property.name&&(this.initialized||(this.initialize(),this.initialized=!0),this.update(),this.draw()),this.filling&&(b.property.value.data("owl-item").dot=a(":first-child",b.property.value).find("[data-dot]").andSelf().data("dot"))},this),"change.owl.carousel":a.proxy(function(a){if("position"==a.property.name&&!this.core.state.revert&&!this.core.settings.loop&&this.core.settings.navRewind){var b=this.core.current(),c=this.core.maximum(),d=this.core.minimum();a.data=a.property.value>c?b>=c?d:c:a.property.value").addClass(d.dotClass).append(a("")).prop("outerHTML")),d.navContainer&&d.dotsContainer||(this.controls.$container=a("").addClass(d.controlsClass).appendTo(this.$element)),this.controls.$indicators=d.dotsContainer?a(d.dotsContainer):a("
").hide().addClass(d.dotsClass).appendTo(this.controls.$container),this.controls.$indicators.on(this.core.dragType[2],"div",a.proxy(function(b){var c=a(b.target).parent().is(this.controls.$indicators)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(c,d.dotsSpeed)},this)),b=d.navContainer?a(d.navContainer):a("
").addClass(d.navContainerClass).prependTo(this.controls.$container),this.controls.$next=a("<"+d.navElement+">"),this.controls.$previous=this.controls.$next.clone(),this.controls.$previous.addClass(d.navClass[0]).html(d.navText[0]).hide().prependTo(b).on(this.core.dragType[2],a.proxy(function(a){this.prev()},this)),this.controls.$next.addClass(d.navClass[1]).html(d.navText[1]).hide().appendTo(b).on(this.core.dragType[2],a.proxy(function(a){this.next()},this));for(c in this.overrides)this.core[c]=a.proxy(this[c],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this.handlers)this.$element.off(a,this.handlers[a]);for(b in this.controls)this.controls[b].remove();for(d in this.overides)this.core[d]=this.overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this.core.settings,e=this.core.num.cItems/2,f=this.core.num.items-e,g=d.center||d.autoWidth||d.dotData?1:d.dotsEach||d.items;if("page"!==d.slideBy&&(d.slideBy=Math.min(d.slideBy,d.items)),d.dots)for(this.pages=[],a=e,b=0,c=0;f>a;a++)(b>=g||0===b)&&(this.pages.push({start:a-e,end:a-e+g-1}),b=0,++c),b+=this.core.num.merged[a]},e.prototype.draw=function(){var b,c,d="",e=this.core.settings,f=this.core.dom.$oItems,g=this.core.normalize(this.core.current(),!0);if(!e.nav||e.loop||e.navRewind||(this.controls.$previous.toggleClass("disabled",0>=g),this.controls.$next.toggleClass("disabled",g>=this.core.maximum())),this.controls.$previous.toggle(e.nav),this.controls.$next.toggle(e.nav),e.dots){if(b=this.pages.length-this.controls.$indicators.children().length,b>0){for(c=0;c
b&&this.controls.$indicators.children().slice(b).remove();this.controls.$indicators.find(".active").removeClass("active"),this.controls.$indicators.children().eq(a.inArray(this.current(),this.pages)).addClass("active")}this.controls.$indicators.toggle(e.dots)},e.prototype.onTrigger=function(b){var c=this.core.settings;b.page={index:a.inArray(this.current(),this.pages),count:this.pages.length,size:c.center||c.autoWidth||c.dotData?1:c.dotsEach||c.items}},e.prototype.current=function(){var b=this.core.normalize(this.core.current(),!0);return a.grep(this.pages,function(a){return a.start<=b&&a.end>=b}).pop()},e.prototype.getPosition=function(b){var c,d,e=this.core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this.pages),d=this.pages.length,b?++c:--c,c=this.pages[(c%d+d)%d].start):(c=this.core.normalize(this.core.current(),!0),d=this.core.num.oItems,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this.overrides.to,this.core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this.overrides.to,this.core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;d?a.proxy(this.overrides.to,this.core)(b,c):(e=this.pages.length,a.proxy(this.overrides.to,this.core)(this.pages[(b%e+e)%e].start,c))},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this.core=c,this.hashes={},this.$element=this.core.dom.$el,this.handlers={"initialized.owl.carousel":a.proxy(function(){b.location.hash.substring(1)&&a(b).trigger("hashchange.owl.navigation")},this),"changed.owl.carousel":a.proxy(function(b){this.filling&&(b.property.value.data("owl-item").hash=a(":first-child",b.property.value).find("[data-hash]").andSelf().data("hash"),this.hashes[b.property.value.data("owl-item").hash]=b.property.value)},this),"change.owl.carousel":a.proxy(function(a){"position"==a.property.name&&this.core.current()===d&&"URLHash"==this.core.settings.startPosition&&(a.data=this.hashes[b.location.hash.substring(1)]),this.filling="item"==a.property.name&&a.property.value&&a.property.value.is(":empty")},this)},this.core.options=a.extend({},e.Defaults,this.core.options),this.$element.on(this.handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(){var a=b.location.hash.substring(1),c=this.core.dom.$oItems,d=this.hashes[a]&&c.index(this.hashes[a])||0;return a?(this.core.dom.oStage.scrollLeft=0,void this.core.to(d,!1,!0)):!1},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this.handlers)this.owl.dom.$el.off(c,this.handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),FrontendCore.define("carousel",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{baseClass:"carousel",themeClass:"carousel-theme",items:1,nav:!0,navText:["",""],loop:!0,margin:10,merge:!1,video:!0,lazyLoad:!0,videoWidth:"100%",videoHeight:300,center:!0,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0},onStart:function(){var a=FrontendTools.getDataModules("carousel"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","carousel"),$(a).each(function(){b.autobind(this)})},autobind:function(a,b){var c,d,e,f=this,g={};FrontendTools.removeLoading(a),$(".carousel-video",a).each(function(){$(this).addClass("owl-video")});for(d in f.oDefault)null!==a.getAttribute("data-fc-"+d)&&(g[d]=a.getAttribute("data-fc-"+d));null!==a.getAttribute("data-fc-video-height")&&(g.videoHeight=a.getAttribute("data-fc-video-height")),null!==a.getAttribute("data-fc-video-width")&&(g.videoWidth=a.getAttribute("data-fc-video-width")),null!==a.getAttribute("data-fc-device-items")&&(e=a.getAttribute("data-fc-device-items").split(","),g.responsive={0:{items:parseInt(e[0],10),nav:!1},480:{items:parseInt(e[1],10),nav:!0},980:{items:parseInt(e[2],10),nav:!0}}),c=FrontendTools.mergeOptions(f.oDefault,g),(c.lazyLoad===!0||"true"===c.lazyLoad)&&$("img",a).each(function(){(null!==this.getAttribute("data-src")||null!==this.getAttribute("data-src-retina"))&&$(this).addClass("owl-lazy animated fade-in")}),void 0!==c&&$(a).owlCarousel(c)},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/cart.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/cart.js
index 2562ea24..0e25d5f3 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/cart.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/cart.js
@@ -1 +1 @@
-!function(a,b){var c="string",d="undefined",e="function",f=typeof{},g=function(a,b){return typeof a===b},h=function(a){return g(a,c)},i=function(a){return g(a,d)},j=function(a){return g(a,e)},k=function(a){return g(a,f)},l=function(a){return"object"==typeof HTMLElement?a instanceof HTMLElement:"object"==typeof a&&1===a.nodeType&&"string"==typeof a.nodeName},m=function(c){function d(a){var b=a||{};return F.extend({attr:"",label:"",view:"attr",text:"",className:"",hide:!1},b)}function e(a,b){var c=j(b.view)?b.view:h(b.view)&&j(o[b.view])?o[b.view]:o.attr;return c.call(F,a,b)}function f(){if(!F.isReady){try{b.documentElement.doScroll("left")}catch(a){return void setTimeout(f,1)}F.init()}}function g(){if("complete"===b.readyState)return setTimeout(F.init,1);if(b.addEventListener)b.addEventListener("DOMContentLoaded",DOMContentLoaded,!1),a.addEventListener("load",F.init,!1);else if(b.attachEvent){b.attachEvent("onreadystatechange",DOMContentLoaded),a.attachEvent("onload",F.init);var c=!1;try{c=null===a.frameElement}catch(d){}b.documentElement.doScroll&&c&&f()}}var n,o,p={MooTools:"$$",Prototype:"$$",jQuery:"*"},q=0,r="SCI-",s={},t=c||"simpleCart",u={},v={},w={},x=a.localStorage,y=a.console||{msgs:[],log:function(a){y.msgs.push(a)}},z="value",A="text",B="html",C="click",D={USD:{code:"USD",symbol:"$",name:"US Dollar"},AUD:{code:"AUD",symbol:"$",name:"Australian Dollar"},BRL:{code:"BRL",symbol:"R$",name:"Brazilian Real"},CAD:{code:"CAD",symbol:"$",name:"Canadian Dollar"},CZK:{code:"CZK",symbol:" Kč",name:"Czech Koruna",after:!0},DKK:{code:"DKK",symbol:"DKK ",name:"Danish Krone"},EUR:{code:"EUR",symbol:"€",name:"Euro"},HKD:{code:"HKD",symbol:"$",name:"Hong Kong Dollar"},HUF:{code:"HUF",symbol:"Ft",name:"Hungarian Forint"},ILS:{code:"ILS",symbol:"₪",name:"Israeli New Sheqel"},JPY:{code:"JPY",symbol:"¥",name:"Japanese Yen",accuracy:0},MXN:{code:"MXN",symbol:"$",name:"Mexican Peso"},NOK:{code:"NOK",symbol:"NOK ",name:"Norwegian Krone"},NZD:{code:"NZD",symbol:"$",name:"New Zealand Dollar"},PLN:{code:"PLN",symbol:"PLN ",name:"Polish Zloty"},GBP:{code:"GBP",symbol:"£",name:"Pound Sterling"},SGD:{code:"SGD",symbol:"$",name:"Singapore Dollar"},SEK:{code:"SEK",symbol:"SEK ",name:"Swedish Krona"},CHF:{code:"CHF",symbol:"CHF ",name:"Swiss Franc"},THB:{code:"THB",symbol:"฿",name:"Thai Baht"},BTC:{code:"BTC",symbol:" BTC",name:"Bitcoin",accuracy:4,after:!0}},E={checkout:{type:"PayPal",email:"you@yours.com"},currency:"USD",language:"english-us",cartStyle:"div",cartColumns:[{attr:"name",label:"Name"},{attr:"price",label:"Price",view:"currency"},{view:"decrement",label:!1},{attr:"quantity",label:"Qty"},{view:"increment",label:!1},{attr:"total",label:"SubTotal",view:"currency"},{view:"remove",text:"Remove",label:!1}],excludeFromCheckout:["thumb"],shippingFlatRate:0,shippingQuantityRate:0,shippingTotalRate:0,shippingCustom:null,taxRate:0,taxShipping:!1,data:{}},F=function(a){return j(a)?F.ready(a):k(a)?F.extend(E,a):void 0};return F.extend=function(a,b){var c;i(b)&&(b=a,a=F);for(c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);return a},F.extend({copy:function(a){var b=m(a);return b.init(),b}}),F.extend({isReady:!1,add:function(a,b){var c,d=a||{},e=new F.Item(d),f=!0,g=b===!0?b:!1;return g||(f=F.trigger("beforeAdd",[e]),f!==!1)?(c=F.has(e),c?(c.increment(e.quantity()),e=c):s[e.id()]=e,F.update(),g||F.trigger("afterAdd",[e,i(c)]),e):!1},each:function(a,b){var c,d,e,f,g=0;if(j(a))e=a,f=s;else{if(!j(b))return;e=b,f=a}for(c in f)if(Object.prototype.hasOwnProperty.call(f,c)){if(d=e.call(F,f[c],g,c),d===!1)return;g+=1}},find:function(a){var b=[];return k(s[a])?s[a]:k(a)?(F.each(function(c){var d=!0;F.each(a,function(a,b,e){return h(a)?a.match(/<=.*/)?(a=parseFloat(a.replace("<=","")),c.get(e)&&parseFloat(c.get(e))<=a||(d=!1)):a.match(/)?(a=parseFloat(a.replace("<","")),c.get(e)&&parseFloat(c.get(e)) =/)?(a=parseFloat(a.replace(">=","")),c.get(e)&&parseFloat(c.get(e))>=a||(d=!1)):a.match(/>/)?(a=parseFloat(a.replace(">","")),c.get(e)&&parseFloat(c.get(e))>a||(d=!1)):c.get(e)&&c.get(e)===a||(d=!1):c.get(e)&&c.get(e)===a||(d=!1),d}),d&&b.push(c)}),b):i(a)?(F.each(function(a){b.push(a)}),b):b},items:function(){return this.find()},has:function(a){var b=!1;return F.each(function(c){c.equals(a)&&(b=c)}),b},empty:function(){var a={};F.each(function(b){b.remove(!0)===!1&&(a[b.id()]=b)}),s=a,F.update()},quantity:function(){var a=0;return F.each(function(b){a+=b.quantity()}),a},total:function(){var a=0;return F.each(function(b){a+=b.total()}),a},grandTotal:function(){return F.total()+F.tax()+F.shipping()},update:function(){F.save(),F.trigger("update")},init:function(){F.load(),F.update(),F.ready()},$:function(a){return new F.ELEMENT(a)},$create:function(a){return F.$(b.createElement(a))},setupViewTool:function(){var b,c,d,e=a;for(d in p)if(Object.prototype.hasOwnProperty.call(p,d)&&a[d]&&(b=p[d].replace("*",d).split("."),c=b.shift(),c&&(e=e[c]),"function"==typeof e))return n=e,void F.extend(F.ELEMENT._,u[d])},ids:function(){var a=[];return F.each(function(b){a.push(b.id())}),a},save:function(){F.trigger("beforeSave");var a={};F.each(function(b){a[b.id()]=F.extend(b.fields(),b.options())}),x.setItem(t+"_items",JSON.stringify(a)),F.trigger("afterSave")},load:function(){s={};var a=x.getItem(t+"_items");if(a){try{F.each(JSON.parse(a),function(a){F.add(a,!0)})}catch(b){F.error("Error Loading data: "+b)}F.trigger("load")}},ready:function(a){j(a)?F.isReady?a.call(F):F.bind("ready",a):i(a)&&!F.isReady&&(F.trigger("ready"),F.isReady=!0)},error:function(a){var b="";h(a)?b=a:k(a)&&h(a.message)&&(b=a.message);try{y.log("simpleCart(js) Error: "+b)}catch(c){}F.trigger("error",[a])}}),F.extend({tax:function(){var a=E.taxShipping?F.total()+F.shipping():F.total(),b=F.taxRate()*a;return F.each(function(a){a.get("tax")?b+=a.get("tax"):a.get("taxRate")&&(b+=a.get("taxRate")*a.total())}),parseFloat(b)},taxRate:function(){return E.taxRate||0},shipping:function(a){if(j(a))return void F({shippingCustom:a});var b=E.shippingQuantityRate*F.quantity()+E.shippingTotalRate*F.total()+E.shippingFlatRate;return j(E.shippingCustom)&&(b+=E.shippingCustom.call(F)),F.each(function(a){b+=parseFloat(a.get("shipping")||0)}),parseFloat(b)}}),o={attr:function(a,b){return a.get(b.attr)||""},currency:function(a,b){return F.toCurrency(a.get(b.attr)||0)},link:function(a,b){return""+b.text+" "},decrement:function(a,b){return""+(b.text||"-")+" "},increment:function(a,b){return""+(b.text||"+")+" "},image:function(a,b){return" "},input:function(a,b){return" "},remove:function(a,b){return""+(b.text||"X")+" "}},F.extend({writeCart:function(a){var b,c,e,f,g,h=E.cartStyle.toLowerCase(),i="table"===h,j=i?"tr":"div",k=i?"th":"div",l=i?"td":"div",m=i?"thead":"div",n=F.$create(h),o=F.$create(m),p=F.$create(j).addClass("headerRow"),q=F.$(a);for(q.html(" ").append(n),n.append(o),o.append(p),f=0,g=E.cartColumns.length;g>f;f+=1)b=d(E.cartColumns[f]),c="item-"+(b.attr||b.view||b.label||b.text||"cell")+" "+b.className,e=b.label||"",p.append(F.$create(k).addClass(c).html(e));return F.each(function(a,b){F.createCartRow(a,b,j,l,n)}),n},createCartRow:function(a,b,c,f,g){var i,j,k,l,m,n,o=F.$create(c).addClass("itemRow row-"+b+" "+(b%2?"even":"odd")).attr("id","cartItem_"+a.id());for(g.append(o),i=0,j=E.cartColumns.length;j>i;i+=1)k=d(E.cartColumns[i]),l="item-"+(k.attr||(h(k.view)?k.view:k.label||k.text||"cell"))+" "+k.className,m=e(a,k),n=F.$create(f).addClass(l).html(m),o.append(n);return o}}),F.Item=function(a){function b(){h(c.price)&&(c.price=parseFloat(c.price.replace(F.currency().decimal,".").replace(/[^0-9\.]+/gi,""))),isNaN(c.price)&&(c.price=0),c.price<0&&(c.price=0),h(c.quantity)&&(c.quantity=parseInt(c.quantity.replace(F.currency().delimiter,""),10)),isNaN(c.quantity)&&(c.quantity=1),c.quantity<=0&&d.remove()}var c={},d=this;for(k(a)&&F.extend(c,a),q+=1,c.id=c.id||r+q;!i(s[c.id]);)q+=1,c.id=r+q;d.get=function(a,b){var e=!b;return i(a)?a:j(c[a])?c[a].call(d):i(c[a])?j(d[a])&&e?d[a].call(d):!i(d[a])&&e?d[a]:c[a]:c[a]},d.set=function(a,e){return i(a)||(c[a.toLowerCase()]=e,("price"===a.toLowerCase()||"quantity"===a.toLowerCase())&&b()),d},d.equals=function(a){for(var b in c)if(Object.prototype.hasOwnProperty.call(c,b)&&"quantity"!==b&&"id"!==b&&a.get(b)!==c[b])return!1;return!0},d.options=function(){var a={};return F.each(c,function(b,c,e){var f=!0;F.each(d.reservedFields(),function(a){return a===e&&(f=!1),f}),f&&(a[e]=d.get(e))}),a},b()},F.Item._=F.Item.prototype={increment:function(a){var b=a||1;return b=parseInt(b,10),this.quantity(this.quantity()+b),this.quantity()<1?(this.remove(),null):this},decrement:function(a){var b=a||1;return this.increment(-parseInt(b,10))},remove:function(a){var b=F.trigger("beforeRemove",[s[this.id()]]);return b===!1?!1:(delete s[this.id()],a||F.update(),null)},reservedFields:function(){return["quantity","id","item_number","price","name","shipping","tax","taxRate"]},fields:function(){var a={},b=this;return F.each(b.reservedFields(),function(c){b.get(c)&&(a[c]=b.get(c))}),a},quantity:function(a){return i(a)?parseInt(this.get("quantity",!0)||1,10):this.set("quantity",a)},price:function(a){return i(a)?parseFloat(this.get("price",!0).toString().replace(F.currency().symbol,"").replace(F.currency().delimiter,"")||1):this.set("price",parseFloat(a.toString().replace(F.currency().symbol,"").replace(F.currency().delimiter,"")))},id:function(){return this.get("id",!1)},total:function(){return this.quantity()*this.price()}},F.extend({checkout:function(){if("custom"===E.checkout.type.toLowerCase()&&j(E.checkout.fn))E.checkout.fn.call(F,E.checkout);else if(j(F.checkout[E.checkout.type])){var a=F.checkout[E.checkout.type].call(F,E.checkout);a.data&&a.action&&a.method&&!1!==F.trigger("beforeCheckout",[a.data])&&F.generateAndSendForm(a)}else F.error("No Valid Checkout Method Specified")},extendCheckout:function(a){return F.extend(F.checkout,a)},generateAndSendForm:function(a){var b=F.$create("form");b.attr("style","display:none;"),b.attr("action",a.action),b.attr("method",a.method),F.each(a.data,function(a,c,d){b.append(F.$create("input").attr("type","hidden").attr("name",d).val(a))}),F.$("body").append(b),b.el.submit(),b.remove()}}),F.extendCheckout({PayPal:function(a){if(!a.email)return F.error("No email provided for PayPal checkout");var b={cmd:"_cart",upload:"1",currency_code:F.currency().code,business:a.email,rm:"GET"===a.method?"0":"2",tax_cart:(1*F.tax()).toFixed(2),handling_cart:(1*F.shipping()).toFixed(2),charset:"utf-8"},c=a.sandbox?"https://www.sandbox.paypal.com/cgi-bin/webscr":"https://www.paypal.com/cgi-bin/webscr",d="GET"===a.method?"GET":"POST";return a.success&&(b["return"]=a.success),a.cancel&&(b.cancel_return=a.cancel),a.notify&&(b.notify_url=a.notify),F.each(function(a,c){var d,e=c+1,f=a.options(),g=0;b["item_name_"+e]=a.get("name"),b["quantity_"+e]=a.quantity(),b["amount_"+e]=(1*a.price()).toFixed(2),b["item_number_"+e]=a.get("item_number")||e,F.each(f,function(a,c,f){10>c&&(d=!0,F.each(E.excludeFromCheckout,function(a){a===f&&(d=!1)}),d&&(g+=1,b["on"+c+"_"+e]=f,b["os"+c+"_"+e]=a))}),b["option_index_"+c]=Math.min(10,g)}),{action:c,method:d,data:b}},GoogleCheckout:function(a){if(!a.merchantID)return F.error("No merchant id provided for GoogleCheckout");if("USD"!==F.currency().code&&"GBP"!==F.currency().code)return F.error("Google Checkout only accepts USD and GBP");var b={ship_method_name_1:"Shipping",ship_method_price_1:F.shipping(),ship_method_currency_1:F.currency().code,_charset_:""},c="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/"+a.merchantID,d="GET"===a.method?"GET":"POST";return F.each(function(a,c){var d,e=c+1,f=[];b["item_name_"+e]=a.get("name"),b["item_quantity_"+e]=a.quantity(),b["item_price_"+e]=a.price(),b["item_currency_ "+e]=F.currency().code,b["item_tax_rate"+e]=a.get("taxRate")||F.taxRate(),F.each(a.options(),function(a,b,c){d=!0,F.each(E.excludeFromCheckout,function(a){a===c&&(d=!1)}),d&&f.push(c+": "+a)}),b["item_description_"+e]=f.join(", ")}),{action:c,method:d,data:b}},AmazonPayments:function(a){if(!a.merchant_signature)return F.error("No merchant signature provided for Amazon Payments");if(!a.merchant_id)return F.error("No merchant id provided for Amazon Payments");if(!a.aws_access_key_id)return F.error("No AWS access key id provided for Amazon Payments");var b={aws_access_key_id:a.aws_access_key_id,merchant_signature:a.merchant_signature,currency_code:F.currency().code,tax_rate:F.taxRate(),weight_unit:a.weight_unit||"lb"},c="https://payments"+(a.sandbox?"-sandbox":"")+".amazon.com/checkout/"+a.merchant_id,d="GET"===a.method?"GET":"POST";return F.each(function(c,d){var e=d+1,f=[];b["item_title_"+e]=c.get("name"),b["item_quantity_"+e]=c.quantity(),b["item_price_"+e]=c.price(),b["item_sku_ "+e]=c.get("sku")||c.id(),b["item_merchant_id_"+e]=a.merchant_id,c.get("weight")&&(b["item_weight_"+e]=c.get("weight")),E.shippingQuantityRate&&(b["shipping_method_price_per_unit_rate_"+e]=E.shippingQuantityRate),F.each(c.options(),function(a,b,c){var d=!0;F.each(E.excludeFromCheckout,function(a){a===c&&(d=!1)}),d&&"weight"!==c&&"tax"!==c&&f.push(c+": "+a)}),b["item_description_"+e]=f.join(", ")}),{action:c,method:d,data:b}},SendForm:function(a){if(!a.url)return F.error("URL required for SendForm Checkout");var b={currency:F.currency().code,shipping:F.shipping(),tax:F.tax(),taxRate:F.taxRate(),itemCount:F.find({}).length},c=a.url,d="GET"===a.method?"GET":"POST";return F.each(function(a,c){var d,e=c+1,f=[];b["item_name_"+e]=a.get("name"),b["item_quantity_"+e]=a.quantity(),b["item_price_"+e]=a.price(),F.each(a.options(),function(a,b,c){d=!0,F.each(E.excludeFromCheckout,function(a){a===c&&(d=!1)}),d&&f.push(c+": "+a)}),b["item_options_"+e]=f.join(", ")}),a.success&&(b["return"]=a.success),a.cancel&&(b.cancel_return=a.cancel),a.extra_data&&(b=F.extend(b,a.extra_data)),{action:c,method:d,data:b}}}),v={bind:function(a,b){if(!j(b))return this;this._events||(this._events={});var c=a.split(/ +/);return F.each(c,function(a){this._events[a]===!0?b.apply(this):i(this._events[a])?this._events[a]=[b]:this._events[a].push(b)}),this},trigger:function(a,b){var c,d,e=!0;if(this._events||(this._events={}),!i(this._events[a])&&j(this._events[a][0]))for(c=0,d=this._events[a].length;d>c;c+=1)e=this._events[a][c].apply(this,b||[]);return e===!1?!1:!0}},v.on=v.bind,F.extend(v),F.extend(F.Item._,v),w={beforeAdd:null,afterAdd:null,load:null,beforeSave:null,afterSave:null,update:null,ready:null,checkoutSuccess:null,checkoutFail:null,beforeCheckout:null,beforeRemove:null},F(w),F.each(w,function(a,b,c){F.bind(c,function(){j(E[c])&&E[c].apply(this,arguments)})}),F.extend({toCurrency:function(a,b){var c=parseFloat(a),d=b||{},e=F.extend(F.extend({symbol:"$",decimal:".",delimiter:",",accuracy:2,after:!1},F.currency()),d),f=c.toFixed(e.accuracy).split("."),g=f[1],h=f[0];return h=F.chunk(h.reverse(),3).join(e.delimiter.reverse()).reverse(),(e.after?"":e.symbol)+h+(g?e.decimal+g:"")+(e.after?e.symbol:"")},chunk:function(a,b){"undefined"==typeof b&&(b=2);var c=a.match(new RegExp(".{1,"+b+"}","g"));return c||[]}}),String.prototype.reverse=function(){return this.split("").reverse().join("")},F.extend({currency:function(a){if(h(a)&&!i(D[a]))E.currency=a;else{if(!k(a))return D[E.currency];D[a.code]=a,E.currency=a.code}}}),F.extend({bindOutlets:function(a){F.each(a,function(a,b,c){F.bind("update",function(){F.setOutlet("."+t+"_"+c,a)})})},setOutlet:function(a,b){var c=b.call(F,a);k(c)&&c.el?F.$(a).html(" ").append(c):i(c)||F.$(a).html(c)},bindInputs:function(a){F.each(a,function(a){F.setInput("."+t+"_"+a.selector,a.event,a.callback)})},setInput:function(a,b,c){F.$(a).live(b,c)}}),F.ELEMENT=function(a){this.create(a),this.selector=a||null},F.extend(u,{MooTools:{text:function(a){return this.attr(A,a)},html:function(a){return this.attr(B,a)},val:function(a){return this.attr(z,a)},attr:function(a,b){return i(b)?this.el[0]&&this.el[0].get(a):(this.el.set(a,b),this)},remove:function(){return this.el.dispose(),null},addClass:function(a){return this.el.addClass(a),this},removeClass:function(a){return this.el.removeClass(a),this},append:function(a){return this.el.adopt(a.el),this},each:function(a){return j(a)&&F.each(this.el,function(b,c,d){a.call(c,c,b,d)}),this},click:function(a){return j(a)?this.each(function(b){b.addEvent(C,function(c){a.call(b,c)})}):i(a)&&this.el.fireEvent(C),this},live:function(a,b){var c=this.selector;j(b)&&F.$("body").el.addEvent(a+":relay("+c+")",function(a,c){b.call(c,a)})},match:function(a){return this.el.match(a)},parent:function(){return F.$(this.el.getParent())},find:function(a){return F.$(this.el.getElements(a))},closest:function(a){return F.$(this.el.getParent(a))},descendants:function(){return this.find("*")},tag:function(){return this.el[0].tagName},submit:function(){return this.el[0].submit(),this},create:function(a){this.el=n(a)}},Prototype:{text:function(a){return i(a)?this.el[0].innerHTML:(this.each(function(b,c){$(c).update(a)}),this)},html:function(a){return this.text(a)},val:function(a){return this.attr(z,a)},attr:function(a,b){return i(b)?this.el[0].readAttribute(a):(this.each(function(c,d){$(d).writeAttribute(a,b)}),this)},append:function(a){return this.each(function(b,c){a.el?a.each(function(a,b){$(c).appendChild(b)}):l(a)&&$(c).appendChild(a)}),this},remove:function(){return this.each(function(a,b){$(b).remove()}),this},addClass:function(a){return this.each(function(b,c){$(c).addClassName(a)}),this},removeClass:function(a){return this.each(function(b,c){$(c).removeClassName(a)}),this},each:function(a){return j(a)&&F.each(this.el,function(b,c,d){a.call(c,c,b,d)}),this},click:function(a){return j(a)?this.each(function(b,c){$(c).observe(C,function(b){a.call(c,b)})}):i(a)&&this.each(function(a,b){$(b).fire(C)}),this},live:function(a,c){if(j(c)){var d=this.selector;b.observe(a,function(a,b){b===n(a).findElement(d)&&c.call(b,a)})}},parent:function(){return F.$(this.el.up())},find:function(a){return F.$(this.el.getElementsBySelector(a))},closest:function(a){return F.$(this.el.up(a))},descendants:function(){return F.$(this.el.descendants())},tag:function(){return this.el.tagName},submit:function(){this.el[0].submit()},create:function(a){h(a)?this.el=n(a):l(a)&&(this.el=[a])}},jQuery:{passthrough:function(a,b){return i(b)?this.el[a]():(this.el[a](b),this)},text:function(a){return this.passthrough(A,a)},html:function(a){return this.passthrough(B,a)},val:function(a){return this.passthrough("val",a)},append:function(a){var b=a.el||a;return this.el.append(b),this},attr:function(a,b){return i(b)?this.el.attr(a):(this.el.attr(a,b),this)},remove:function(){return this.el.remove(),this},addClass:function(a){return this.el.addClass(a),this},removeClass:function(a){return this.el.removeClass(a),this},each:function(a){return this.passthrough("each",a)},click:function(a){return this.passthrough(C,a)},live:function(a,c){return n(b).delegate(this.selector,a,c),this},parent:function(){return F.$(this.el.parent())},find:function(a){return F.$(this.el.find(a))},closest:function(a){return F.$(this.el.closest(a))},tag:function(){return this.el[0].tagName},descendants:function(){return F.$(this.el.find("*"))},submit:function(){return this.el.submit()},create:function(a){this.el=n(a)}}}),F.ELEMENT._=F.ELEMENT.prototype,F.ready(F.setupViewTool),F.ready(function(){F.bindOutlets({total:function(){return F.toCurrency(F.total())},quantity:function(){return F.quantity()},items:function(a){F.writeCart(a)},tax:function(){return F.toCurrency(F.tax())},taxRate:function(){return F.taxRate().toFixed()},shipping:function(){return F.toCurrency(F.shipping())},grandTotal:function(){return F.toCurrency(F.grandTotal())}}),F.bindInputs([{selector:"checkout",event:"click",callback:function(){F.checkout()}},{selector:"empty",event:"click",callback:function(){F.empty()}},{selector:"increment",event:"click",callback:function(){F.find(F.$(this).closest(".itemRow").attr("id").split("_")[1]).increment(),F.update()}},{selector:"decrement",event:"click",callback:function(){F.find(F.$(this).closest(".itemRow").attr("id").split("_")[1]).decrement(),F.update()}},{selector:"remove",event:"click",callback:function(){F.find(F.$(this).closest(".itemRow").attr("id").split("_")[1]).remove()}},{selector:"input",event:"change",callback:function(){var a=F.$(this),b=a.parent(),c=b.attr("class").split(" ");F.each(c,function(c){if(c.match(/item-.+/i)){var d=c.split("-")[1];return F.find(b.closest(".itemRow").attr("id").split("_")[1]).set(d,a.val()),void F.update()}})}},{selector:"shelfItem .item_add",event:"click",callback:function(){var a=F.$(this),b={};a.closest("."+t+"_shelfItem").descendants().each(function(a,c){var d=F.$(c);d.attr("class")&&d.attr("class").match(/item_.+/)&&!d.attr("class").match(/item_add/)&&F.each(d.attr("class").split(" "),function(a){var c,e,f;if(a.match(/item_.+/)){switch(c=a.split("_")[1],e="",d.tag().toLowerCase()){case"input":case"textarea":case"select":f=d.attr("type"),(!f||("checkbox"===f.toLowerCase()||"radio"===f.toLowerCase())&&d.attr("checked")||"text"===f.toLowerCase()||"number"===f.toLowerCase())&&(e=d.val());break;case"img":e=d.attr("src");break;default:e=d.text()}null!==e&&""!==e&&(b[c.toLowerCase()]=b[c.toLowerCase()]?b[c.toLowerCase()]+", "+e:e)}})}),F.add(b)}}])}),b.addEventListener?a.DOMContentLoaded=function(){b.removeEventListener("DOMContentLoaded",DOMContentLoaded,!1),F.init()}:b.attachEvent&&(a.DOMContentLoaded=function(){"complete"===b.readyState&&(b.detachEvent("onreadystatechange",DOMContentLoaded),F.init())}),g(),F};a.simpleCart=m()}(window,document);var JSON;JSON||(JSON={}),function(){function k(a){return 10>a?"0"+a:a}function o(a){return p.lastIndex=0,p.test(a)?'"'+a.replace(p,function(a){var b=r[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function l(a,b){var c,d,f,g,h,j=e,k=b[a];switch(k&&"object"==typeof k&&"function"==typeof k.toJSON&&(k=k.toJSON(a)),"function"==typeof i&&(k=i.call(b,a,k)),typeof k){case"string":return o(k);case"number":return isFinite(k)?String(k):"null";case"boolean":case"null":return String(k);case"object":if(!k)return"null";if(e+=n,h=[],"[object Array]"===Object.prototype.toString.apply(k)){for(g=k.length,c=0;g>c;c+=1)h[c]=l(c,k)||"null";return f=0===h.length?"[]":e?"[\n"+e+h.join(",\n"+e)+"\n"+j+"]":"["+h.join(",")+"]",e=j,f}if(i&&"object"==typeof i)for(g=i.length,c=0;g>c;c+=1)"string"==typeof i[c]&&(d=i[c],(f=l(d,k))&&h.push(o(d)+(e?": ":":")+f));else for(d in k)Object.prototype.hasOwnProperty.call(k,d)&&(f=l(d,k))&&h.push(o(d)+(e?": ":":")+f);return f=0===h.length?"{}":e?"{\n"+e+h.join(",\n"+e)+"\n"+j+"}":"{"+h.join(",")+"}",e=j,f}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+k(this.getUTCMonth()+1)+"-"+k(this.getUTCDate())+"T"+k(this.getUTCHours())+":"+k(this.getUTCMinutes())+":"+k(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var q=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,n,r={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},i;"function"!=typeof JSON.stringify&&(JSON.stringify=function(a,b,c){var d;if(n=e="","number"==typeof c)for(d=0;c>d;d+=1)n+=" ";else"string"==typeof c&&(n=c);if((i=b)&&"function"!=typeof b&&("object"!=typeof b||"number"!=typeof b.length))throw Error("JSON.stringify");return l("",{"":a})}),"function"!=typeof JSON.parse&&(JSON.parse=function(a,e){function c(a,b){var d,f,g=a[b];if(g&&"object"==typeof g)for(d in g)Object.prototype.hasOwnProperty.call(g,d)&&(f=c(g,d),void 0!==f?g[d]=f:delete g[d]);return e.call(a,b,g)}var d,a=String(a);if(q.lastIndex=0,q.test(a)&&(a=a.replace(q,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return d=eval("("+a+")"),"function"==typeof e?c({"":d},""):d;throw new SyntaxError("JSON.parse")})}(),function(){if(!this.localStorage)if(this.globalStorage)try{this.localStorage=this.globalStorage}catch(a){}else{var b=document.createElement("div");if(b.style.display="none",document.getElementsByTagName("head")[0].appendChild(b),b.addBehavior){b.addBehavior("#default#userdata");var c=this.localStorage={length:0,setItem:function(a,c){b.load("localStorage"),a=d(a),b.getAttribute(a)||this.length++,b.setAttribute(a,c),b.save("localStorage")},getItem:function(a){return b.load("localStorage"),a=d(a),b.getAttribute(a)},removeItem:function(a){b.load("localStorage"),a=d(a),b.removeAttribute(a),b.save("localStorage"),this.length=0},clear:function(){b.load("localStorage");for(var a=0;attr=b.XMLDocument.documentElement.attributes[a++];)b.removeAttribute(attr.name);b.save("localStorage"),this.length=0},key:function(a){return b.load("localStorage"),b.XMLDocument.documentElement.attributes[a]}},d=function(a){return a.replace(/[^-._0-9A-Za-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u37f-\u1fff\u200c-\u200d\u203f\u2040\u2070-\u218f]/g,"-")};b.load("localStorage"),c.length=b.XMLDocument.documentElement.attributes.length}}}(),FrontendCore.define("cart",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{cartColumns:[{view:function(a,b){return""+a.get("quantity")+" "},attr:"custom"},{attr:"name",label:!1},{view:"currency",attr:"total",label:!1}],currency:"EUR",language:"spanish-es",cartStyle:"div",shippingFreeSince:1e3,shippingCost:15,taxRate:.21,checkout:{type:"PayPal",email:"you@yours.com"}},onStart:function(){var a=this,b=FrontendTools.getDataModules("cart"),c={},d={},e=["cart-checkout","cart-empty","cart-items","cart-total","cart-quantity","cart-tax","cart-tax-rate","cart-shipping","cart-grand-total","cart-shelf-item","cart-item-name","cart-item-price","cart-item-add","cart-item-quantity"],f=["simpleCart_checkout","simpleCart_empty","simpleCart_items","simpleCart_total","simpleCart_quantity","simpleCart_tax","simpleCart_taxRate","simpleCart_shipping","simpleCart_grandTotal","simpleCart_shelfItem","item_name","item_price","item_add","item_Quantity"];for(FrontendTools.loadCSS(this.sPathCss),nKey=0;nKeyd.shippingFreeSince?(d.taxShipping=!1,0):d.shippingCost}}),c=FrontendTools.mergeOptions(a.oDefault,d),simpleCart(c),simpleCart.init(),FrontendTools.trackModule("JS_Libraries","call","autocomplete")},prepareBind:function(a,b){$("."+a).each(function(){$(this).addClass(b)})},autobind:function(a){var b=this;$(a).bind("click",function(a){a.preventDefault(),b.toggleCart(this)})},toggleCart:function(a){var b=($(a),$(document.getElementById(a.href.split("#")[1])));b.toggleClass("hidden")},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
+!function(a,b){var c="string",d="undefined",e="function",f=typeof{},g=function(a,b){return typeof a===b},h=function(a){return g(a,c)},i=function(a){return g(a,d)},j=function(a){return g(a,e)},k=function(a){return g(a,f)},l=function(a){return"object"==typeof HTMLElement?a instanceof HTMLElement:"object"==typeof a&&1===a.nodeType&&"string"==typeof a.nodeName},m=function(c){function d(a){var b=a||{};return F.extend({attr:"",label:"",view:"attr",text:"",className:"",hide:!1},b)}function e(a,b){var c=j(b.view)?b.view:h(b.view)&&j(o[b.view])?o[b.view]:o.attr;return c.call(F,a,b)}function f(){if(!F.isReady){try{b.documentElement.doScroll("left")}catch(a){return void setTimeout(f,1)}F.init()}}function g(){if("complete"===b.readyState)return setTimeout(F.init,1);if(b.addEventListener)b.addEventListener("DOMContentLoaded",DOMContentLoaded,!1),a.addEventListener("load",F.init,!1);else if(b.attachEvent){b.attachEvent("onreadystatechange",DOMContentLoaded),a.attachEvent("onload",F.init);var c=!1;try{c=null===a.frameElement}catch(d){}b.documentElement.doScroll&&c&&f()}}var n,o,p={MooTools:"$$",Prototype:"$$",jQuery:"*"},q=0,r="SCI-",s={},t=c||"simpleCart",u={},v={},w={},x=a.localStorage,y=a.console||{msgs:[],log:function(a){y.msgs.push(a)}},z="value",A="text",B="html",C="click",D={USD:{code:"USD",symbol:"$",name:"US Dollar"},AUD:{code:"AUD",symbol:"$",name:"Australian Dollar"},BRL:{code:"BRL",symbol:"R$",name:"Brazilian Real"},CAD:{code:"CAD",symbol:"$",name:"Canadian Dollar"},CZK:{code:"CZK",symbol:" Kč",name:"Czech Koruna",after:!0},DKK:{code:"DKK",symbol:"DKK ",name:"Danish Krone"},EUR:{code:"EUR",symbol:"€",name:"Euro"},HKD:{code:"HKD",symbol:"$",name:"Hong Kong Dollar"},HUF:{code:"HUF",symbol:"Ft",name:"Hungarian Forint"},ILS:{code:"ILS",symbol:"₪",name:"Israeli New Sheqel"},JPY:{code:"JPY",symbol:"¥",name:"Japanese Yen",accuracy:0},MXN:{code:"MXN",symbol:"$",name:"Mexican Peso"},NOK:{code:"NOK",symbol:"NOK ",name:"Norwegian Krone"},NZD:{code:"NZD",symbol:"$",name:"New Zealand Dollar"},PLN:{code:"PLN",symbol:"PLN ",name:"Polish Zloty"},GBP:{code:"GBP",symbol:"£",name:"Pound Sterling"},SGD:{code:"SGD",symbol:"$",name:"Singapore Dollar"},SEK:{code:"SEK",symbol:"SEK ",name:"Swedish Krona"},CHF:{code:"CHF",symbol:"CHF ",name:"Swiss Franc"},THB:{code:"THB",symbol:"฿",name:"Thai Baht"},BTC:{code:"BTC",symbol:" BTC",name:"Bitcoin",accuracy:4,after:!0}},E={checkout:{type:"PayPal",email:"you@yours.com"},currency:"USD",language:"english-us",cartStyle:"div",cartColumns:[{attr:"name",label:"Name"},{attr:"price",label:"Price",view:"currency"},{view:"decrement",label:!1},{attr:"quantity",label:"Qty"},{view:"increment",label:!1},{attr:"total",label:"SubTotal",view:"currency"},{view:"remove",text:"Remove",label:!1}],excludeFromCheckout:["thumb"],shippingFlatRate:0,shippingQuantityRate:0,shippingTotalRate:0,shippingCustom:null,taxRate:0,taxShipping:!1,data:{}},F=function(a){return j(a)?F.ready(a):k(a)?F.extend(E,a):void 0};return F.extend=function(a,b){var c;i(b)&&(b=a,a=F);for(c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);return a},F.extend({copy:function(a){var b=m(a);return b.init(),b}}),F.extend({isReady:!1,add:function(a,b){var c,d=a||{},e=new F.Item(d),f=!0,g=b===!0?b:!1;return g||(f=F.trigger("beforeAdd",[e]),f!==!1)?(c=F.has(e),c?(c.increment(e.quantity()),e=c):s[e.id()]=e,F.update(),g||F.trigger("afterAdd",[e,i(c)]),e):!1},each:function(a,b){var c,d,e,f,g=0;if(j(a))e=a,f=s;else{if(!j(b))return;e=b,f=a}for(c in f)if(Object.prototype.hasOwnProperty.call(f,c)){if(d=e.call(F,f[c],g,c),d===!1)return;g+=1}},find:function(a){var b=[];return k(s[a])?s[a]:k(a)?(F.each(function(c){var d=!0;F.each(a,function(a,b,e){return h(a)?a.match(/<=.*/)?(a=parseFloat(a.replace("<=","")),c.get(e)&&parseFloat(c.get(e))<=a||(d=!1)):a.match(/)?(a=parseFloat(a.replace("<","")),c.get(e)&&parseFloat(c.get(e)) =/)?(a=parseFloat(a.replace(">=","")),c.get(e)&&parseFloat(c.get(e))>=a||(d=!1)):a.match(/>/)?(a=parseFloat(a.replace(">","")),c.get(e)&&parseFloat(c.get(e))>a||(d=!1)):c.get(e)&&c.get(e)===a||(d=!1):c.get(e)&&c.get(e)===a||(d=!1),d}),d&&b.push(c)}),b):i(a)?(F.each(function(a){b.push(a)}),b):b},items:function(){return this.find()},has:function(a){var b=!1;return F.each(function(c){c.equals(a)&&(b=c)}),b},empty:function(){var a={};F.each(function(b){b.remove(!0)===!1&&(a[b.id()]=b)}),s=a,F.update()},quantity:function(){var a=0;return F.each(function(b){a+=b.quantity()}),a},total:function(){var a=0;return F.each(function(b){a+=b.total()}),a},grandTotal:function(){return F.total()+F.tax()+F.shipping()},update:function(){F.save(),F.trigger("update")},init:function(){F.load(),F.update(),F.ready()},$:function(a){return new F.ELEMENT(a)},$create:function(a){return F.$(b.createElement(a))},setupViewTool:function(){var b,c,d,e=a;for(d in p)if(Object.prototype.hasOwnProperty.call(p,d)&&a[d]&&(b=p[d].replace("*",d).split("."),c=b.shift(),c&&(e=e[c]),"function"==typeof e))return n=e,void F.extend(F.ELEMENT._,u[d])},ids:function(){var a=[];return F.each(function(b){a.push(b.id())}),a},save:function(){F.trigger("beforeSave");var a={};F.each(function(b){a[b.id()]=F.extend(b.fields(),b.options())}),x.setItem(t+"_items",JSON.stringify(a)),F.trigger("afterSave")},load:function(){s={};var a=x.getItem(t+"_items");if(a){try{F.each(JSON.parse(a),function(a){F.add(a,!0)})}catch(b){F.error("Error Loading data: "+b)}F.trigger("load")}},ready:function(a){j(a)?F.isReady?a.call(F):F.bind("ready",a):i(a)&&!F.isReady&&(F.trigger("ready"),F.isReady=!0)},error:function(a){var b="";h(a)?b=a:k(a)&&h(a.message)&&(b=a.message);try{y.log("simpleCart(js) Error: "+b)}catch(c){}F.trigger("error",[a])}}),F.extend({tax:function(){var a=E.taxShipping?F.total()+F.shipping():F.total(),b=F.taxRate()*a;return F.each(function(a){a.get("tax")?b+=a.get("tax"):a.get("taxRate")&&(b+=a.get("taxRate")*a.total())}),parseFloat(b)},taxRate:function(){return E.taxRate||0},shipping:function(a){if(j(a))return void F({shippingCustom:a});var b=E.shippingQuantityRate*F.quantity()+E.shippingTotalRate*F.total()+E.shippingFlatRate;return j(E.shippingCustom)&&(b+=E.shippingCustom.call(F)),F.each(function(a){b+=parseFloat(a.get("shipping")||0)}),parseFloat(b)}}),o={attr:function(a,b){return a.get(b.attr)||""},currency:function(a,b){return F.toCurrency(a.get(b.attr)||0)},link:function(a,b){return""+b.text+" "},decrement:function(a,b){return""+(b.text||"-")+" "},increment:function(a,b){return""+(b.text||"+")+" "},image:function(a,b){return" "},input:function(a,b){return" "},remove:function(a,b){return""+(b.text||"X")+" "}},F.extend({writeCart:function(a){var b,c,e,f,g,h=E.cartStyle.toLowerCase(),i="table"===h,j=i?"tr":"div",k=i?"th":"div",l=i?"td":"div",m=i?"thead":"div",n=F.$create(h),o=F.$create(m),p=F.$create(j).addClass("headerRow"),q=F.$(a);for(q.html(" ").append(n),n.append(o),o.append(p),f=0,g=E.cartColumns.length;g>f;f+=1)b=d(E.cartColumns[f]),c="item-"+(b.attr||b.view||b.label||b.text||"cell")+" "+b.className,e=b.label||"",p.append(F.$create(k).addClass(c).html(e));return F.each(function(a,b){F.createCartRow(a,b,j,l,n)}),n},createCartRow:function(a,b,c,f,g){var i,j,k,l,m,n,o=F.$create(c).addClass("itemRow row-"+b+" "+(b%2?"even":"odd")).attr("id","cartItem_"+a.id());for(g.append(o),i=0,j=E.cartColumns.length;j>i;i+=1)k=d(E.cartColumns[i]),l="item-"+(k.attr||(h(k.view)?k.view:k.label||k.text||"cell"))+" "+k.className,m=e(a,k),n=F.$create(f).addClass(l).html(m),o.append(n);return o}}),F.Item=function(a){function b(){h(c.price)&&(c.price=parseFloat(c.price.replace(F.currency().decimal,".").replace(/[^0-9\.]+/gi,""))),isNaN(c.price)&&(c.price=0),c.price<0&&(c.price=0),h(c.quantity)&&(c.quantity=parseInt(c.quantity.replace(F.currency().delimiter,""),10)),isNaN(c.quantity)&&(c.quantity=1),c.quantity<=0&&d.remove()}var c={},d=this;for(k(a)&&F.extend(c,a),q+=1,c.id=c.id||r+q;!i(s[c.id]);)q+=1,c.id=r+q;d.get=function(a,b){var e=!b;return i(a)?a:j(c[a])?c[a].call(d):i(c[a])?j(d[a])&&e?d[a].call(d):!i(d[a])&&e?d[a]:c[a]:c[a]},d.set=function(a,e){return i(a)||(c[a.toLowerCase()]=e,("price"===a.toLowerCase()||"quantity"===a.toLowerCase())&&b()),d},d.equals=function(a){for(var b in c)if(Object.prototype.hasOwnProperty.call(c,b)&&"quantity"!==b&&"id"!==b&&a.get(b)!==c[b])return!1;return!0},d.options=function(){var a={};return F.each(c,function(b,c,e){var f=!0;F.each(d.reservedFields(),function(a){return a===e&&(f=!1),f}),f&&(a[e]=d.get(e))}),a},b()},F.Item._=F.Item.prototype={increment:function(a){var b=a||1;return b=parseInt(b,10),this.quantity(this.quantity()+b),this.quantity()<1?(this.remove(),null):this},decrement:function(a){var b=a||1;return this.increment(-parseInt(b,10))},remove:function(a){var b=F.trigger("beforeRemove",[s[this.id()]]);return b===!1?!1:(delete s[this.id()],a||F.update(),null)},reservedFields:function(){return["quantity","id","item_number","price","name","shipping","tax","taxRate"]},fields:function(){var a={},b=this;return F.each(b.reservedFields(),function(c){b.get(c)&&(a[c]=b.get(c))}),a},quantity:function(a){return i(a)?parseInt(this.get("quantity",!0)||1,10):this.set("quantity",a)},price:function(a){return i(a)?parseFloat(this.get("price",!0).toString().replace(F.currency().symbol,"").replace(F.currency().delimiter,"")||1):this.set("price",parseFloat(a.toString().replace(F.currency().symbol,"").replace(F.currency().delimiter,"")))},id:function(){return this.get("id",!1)},total:function(){return this.quantity()*this.price()}},F.extend({checkout:function(){if("custom"===E.checkout.type.toLowerCase()&&j(E.checkout.fn))E.checkout.fn.call(F,E.checkout);else if(j(F.checkout[E.checkout.type])){var a=F.checkout[E.checkout.type].call(F,E.checkout);a.data&&a.action&&a.method&&!1!==F.trigger("beforeCheckout",[a.data])&&F.generateAndSendForm(a)}else F.error("No Valid Checkout Method Specified")},extendCheckout:function(a){return F.extend(F.checkout,a)},generateAndSendForm:function(a){var b=F.$create("form");b.attr("style","display:none;"),b.attr("action",a.action),b.attr("method",a.method),F.each(a.data,function(a,c,d){b.append(F.$create("input").attr("type","hidden").attr("name",d).val(a))}),F.$("body").append(b),b.el.submit(),b.remove()}}),F.extendCheckout({PayPal:function(a){if(!a.email)return F.error("No email provided for PayPal checkout");var b={cmd:"_cart",upload:"1",currency_code:F.currency().code,business:a.email,rm:"GET"===a.method?"0":"2",tax_cart:(1*F.tax()).toFixed(2),handling_cart:(1*F.shipping()).toFixed(2),charset:"utf-8"},c=a.sandbox?"https://www.sandbox.paypal.com/cgi-bin/webscr":"https://www.paypal.com/cgi-bin/webscr",d="GET"===a.method?"GET":"POST";return a.success&&(b["return"]=a.success),a.cancel&&(b.cancel_return=a.cancel),a.notify&&(b.notify_url=a.notify),F.each(function(a,c){var d,e=c+1,f=a.options(),g=0;b["item_name_"+e]=a.get("name"),b["quantity_"+e]=a.quantity(),b["amount_"+e]=(1*a.price()).toFixed(2),b["item_number_"+e]=a.get("item_number")||e,F.each(f,function(a,c,f){10>c&&(d=!0,F.each(E.excludeFromCheckout,function(a){a===f&&(d=!1)}),d&&(g+=1,b["on"+c+"_"+e]=f,b["os"+c+"_"+e]=a))}),b["option_index_"+c]=Math.min(10,g)}),{action:c,method:d,data:b}},GoogleCheckout:function(a){if(!a.merchantID)return F.error("No merchant id provided for GoogleCheckout");if("USD"!==F.currency().code&&"GBP"!==F.currency().code)return F.error("Google Checkout only accepts USD and GBP");var b={ship_method_name_1:"Shipping",ship_method_price_1:F.shipping(),ship_method_currency_1:F.currency().code,_charset_:""},c="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/"+a.merchantID,d="GET"===a.method?"GET":"POST";return F.each(function(a,c){var d,e=c+1,f=[];b["item_name_"+e]=a.get("name"),b["item_quantity_"+e]=a.quantity(),b["item_price_"+e]=a.price(),b["item_currency_ "+e]=F.currency().code,b["item_tax_rate"+e]=a.get("taxRate")||F.taxRate(),F.each(a.options(),function(a,b,c){d=!0,F.each(E.excludeFromCheckout,function(a){a===c&&(d=!1)}),d&&f.push(c+": "+a)}),b["item_description_"+e]=f.join(", ")}),{action:c,method:d,data:b}},AmazonPayments:function(a){if(!a.merchant_signature)return F.error("No merchant signature provided for Amazon Payments");if(!a.merchant_id)return F.error("No merchant id provided for Amazon Payments");if(!a.aws_access_key_id)return F.error("No AWS access key id provided for Amazon Payments");var b={aws_access_key_id:a.aws_access_key_id,merchant_signature:a.merchant_signature,currency_code:F.currency().code,tax_rate:F.taxRate(),weight_unit:a.weight_unit||"lb"},c="https://payments"+(a.sandbox?"-sandbox":"")+".amazon.com/checkout/"+a.merchant_id,d="GET"===a.method?"GET":"POST";return F.each(function(c,d){var e=d+1,f=[];b["item_title_"+e]=c.get("name"),b["item_quantity_"+e]=c.quantity(),b["item_price_"+e]=c.price(),b["item_sku_ "+e]=c.get("sku")||c.id(),b["item_merchant_id_"+e]=a.merchant_id,c.get("weight")&&(b["item_weight_"+e]=c.get("weight")),E.shippingQuantityRate&&(b["shipping_method_price_per_unit_rate_"+e]=E.shippingQuantityRate),F.each(c.options(),function(a,b,c){var d=!0;F.each(E.excludeFromCheckout,function(a){a===c&&(d=!1)}),d&&"weight"!==c&&"tax"!==c&&f.push(c+": "+a)}),b["item_description_"+e]=f.join(", ")}),{action:c,method:d,data:b}},SendForm:function(a){if(!a.url)return F.error("URL required for SendForm Checkout");var b={currency:F.currency().code,shipping:F.shipping(),tax:F.tax(),taxRate:F.taxRate(),itemCount:F.find({}).length},c=a.url,d="GET"===a.method?"GET":"POST";return F.each(function(a,c){var d,e=c+1,f=[];b["item_name_"+e]=a.get("name"),b["item_quantity_"+e]=a.quantity(),b["item_price_"+e]=a.price(),F.each(a.options(),function(a,b,c){d=!0,F.each(E.excludeFromCheckout,function(a){a===c&&(d=!1)}),d&&f.push(c+": "+a)}),b["item_options_"+e]=f.join(", ")}),a.success&&(b["return"]=a.success),a.cancel&&(b.cancel_return=a.cancel),a.extra_data&&(b=F.extend(b,a.extra_data)),{action:c,method:d,data:b}}}),v={bind:function(a,b){if(!j(b))return this;this._events||(this._events={});var c=a.split(/ +/);return F.each(c,function(a){this._events[a]===!0?b.apply(this):i(this._events[a])?this._events[a]=[b]:this._events[a].push(b)}),this},trigger:function(a,b){var c,d,e=!0;if(this._events||(this._events={}),!i(this._events[a])&&j(this._events[a][0]))for(c=0,d=this._events[a].length;d>c;c+=1)e=this._events[a][c].apply(this,b||[]);return e===!1?!1:!0}},v.on=v.bind,F.extend(v),F.extend(F.Item._,v),w={beforeAdd:null,afterAdd:null,load:null,beforeSave:null,afterSave:null,update:null,ready:null,checkoutSuccess:null,checkoutFail:null,beforeCheckout:null,beforeRemove:null},F(w),F.each(w,function(a,b,c){F.bind(c,function(){j(E[c])&&E[c].apply(this,arguments)})}),F.extend({toCurrency:function(a,b){var c=parseFloat(a),d=b||{},e=F.extend(F.extend({symbol:"$",decimal:".",delimiter:",",accuracy:2,after:!1},F.currency()),d),f=c.toFixed(e.accuracy).split("."),g=f[1],h=f[0];return h=F.chunk(h.reverse(),3).join(e.delimiter.reverse()).reverse(),(e.after?"":e.symbol)+h+(g?e.decimal+g:"")+(e.after?e.symbol:"")},chunk:function(a,b){"undefined"==typeof b&&(b=2);var c=a.match(new RegExp(".{1,"+b+"}","g"));return c||[]}}),String.prototype.reverse=function(){return this.split("").reverse().join("")},F.extend({currency:function(a){if(h(a)&&!i(D[a]))E.currency=a;else{if(!k(a))return D[E.currency];D[a.code]=a,E.currency=a.code}}}),F.extend({bindOutlets:function(a){F.each(a,function(a,b,c){F.bind("update",function(){F.setOutlet("."+t+"_"+c,a)})})},setOutlet:function(a,b){var c=b.call(F,a);k(c)&&c.el?F.$(a).html(" ").append(c):i(c)||F.$(a).html(c)},bindInputs:function(a){F.each(a,function(a){F.setInput("."+t+"_"+a.selector,a.event,a.callback)})},setInput:function(a,b,c){F.$(a).live(b,c)}}),F.ELEMENT=function(a){this.create(a),this.selector=a||null},F.extend(u,{MooTools:{text:function(a){return this.attr(A,a)},html:function(a){return this.attr(B,a)},val:function(a){return this.attr(z,a)},attr:function(a,b){return i(b)?this.el[0]&&this.el[0].get(a):(this.el.set(a,b),this)},remove:function(){return this.el.dispose(),null},addClass:function(a){return this.el.addClass(a),this},removeClass:function(a){return this.el.removeClass(a),this},append:function(a){return this.el.adopt(a.el),this},each:function(a){return j(a)&&F.each(this.el,function(b,c,d){a.call(c,c,b,d)}),this},click:function(a){return j(a)?this.each(function(b){b.addEvent(C,function(c){a.call(b,c)})}):i(a)&&this.el.fireEvent(C),this},live:function(a,b){var c=this.selector;j(b)&&F.$("body").el.addEvent(a+":relay("+c+")",function(a,c){b.call(c,a)})},match:function(a){return this.el.match(a)},parent:function(){return F.$(this.el.getParent())},find:function(a){return F.$(this.el.getElements(a))},closest:function(a){return F.$(this.el.getParent(a))},descendants:function(){return this.find("*")},tag:function(){return this.el[0].tagName},submit:function(){return this.el[0].submit(),this},create:function(a){this.el=n(a)}},Prototype:{text:function(a){return i(a)?this.el[0].innerHTML:(this.each(function(b,c){$(c).update(a)}),this)},html:function(a){return this.text(a)},val:function(a){return this.attr(z,a)},attr:function(a,b){return i(b)?this.el[0].readAttribute(a):(this.each(function(c,d){$(d).writeAttribute(a,b)}),this)},append:function(a){return this.each(function(b,c){a.el?a.each(function(a,b){$(c).appendChild(b)}):l(a)&&$(c).appendChild(a)}),this},remove:function(){return this.each(function(a,b){$(b).remove()}),this},addClass:function(a){return this.each(function(b,c){$(c).addClassName(a)}),this},removeClass:function(a){return this.each(function(b,c){$(c).removeClassName(a)}),this},each:function(a){return j(a)&&F.each(this.el,function(b,c,d){a.call(c,c,b,d)}),this},click:function(a){return j(a)?this.each(function(b,c){$(c).observe(C,function(b){a.call(c,b)})}):i(a)&&this.each(function(a,b){$(b).fire(C)}),this},live:function(a,c){if(j(c)){var d=this.selector;b.observe(a,function(a,b){b===n(a).findElement(d)&&c.call(b,a)})}},parent:function(){return F.$(this.el.up())},find:function(a){return F.$(this.el.getElementsBySelector(a))},closest:function(a){return F.$(this.el.up(a))},descendants:function(){return F.$(this.el.descendants())},tag:function(){return this.el.tagName},submit:function(){this.el[0].submit()},create:function(a){h(a)?this.el=n(a):l(a)&&(this.el=[a])}},jQuery:{passthrough:function(a,b){return i(b)?this.el[a]():(this.el[a](b),this)},text:function(a){return this.passthrough(A,a)},html:function(a){return this.passthrough(B,a)},val:function(a){return this.passthrough("val",a)},append:function(a){var b=a.el||a;return this.el.append(b),this},attr:function(a,b){return i(b)?this.el.attr(a):(this.el.attr(a,b),this)},remove:function(){return this.el.remove(),this},addClass:function(a){return this.el.addClass(a),this},removeClass:function(a){return this.el.removeClass(a),this},each:function(a){return this.passthrough("each",a)},click:function(a){return this.passthrough(C,a)},live:function(a,c){return n(b).delegate(this.selector,a,c),this},parent:function(){return F.$(this.el.parent())},find:function(a){return F.$(this.el.find(a))},closest:function(a){return F.$(this.el.closest(a))},tag:function(){return this.el[0].tagName},descendants:function(){return F.$(this.el.find("*"))},submit:function(){return this.el.submit()},create:function(a){this.el=n(a)}}}),F.ELEMENT._=F.ELEMENT.prototype,F.ready(F.setupViewTool),F.ready(function(){F.bindOutlets({total:function(){return F.toCurrency(F.total())},quantity:function(){return F.quantity()},items:function(a){F.writeCart(a)},tax:function(){return F.toCurrency(F.tax())},taxRate:function(){return F.taxRate().toFixed()},shipping:function(){return F.toCurrency(F.shipping())},grandTotal:function(){return F.toCurrency(F.grandTotal())}}),F.bindInputs([{selector:"checkout",event:"click",callback:function(){F.checkout()}},{selector:"empty",event:"click",callback:function(){F.empty()}},{selector:"increment",event:"click",callback:function(){F.find(F.$(this).closest(".itemRow").attr("id").split("_")[1]).increment(),F.update()}},{selector:"decrement",event:"click",callback:function(){F.find(F.$(this).closest(".itemRow").attr("id").split("_")[1]).decrement(),F.update()}},{selector:"remove",event:"click",callback:function(){F.find(F.$(this).closest(".itemRow").attr("id").split("_")[1]).remove()}},{selector:"input",event:"change",callback:function(){var a=F.$(this),b=a.parent(),c=b.attr("class").split(" ");F.each(c,function(c){if(c.match(/item-.+/i)){var d=c.split("-")[1];return F.find(b.closest(".itemRow").attr("id").split("_")[1]).set(d,a.val()),void F.update()}})}},{selector:"shelfItem .item_add",event:"click",callback:function(){var a=F.$(this),b={};a.closest("."+t+"_shelfItem").descendants().each(function(a,c){var d=F.$(c);d.attr("class")&&d.attr("class").match(/item_.+/)&&!d.attr("class").match(/item_add/)&&F.each(d.attr("class").split(" "),function(a){var c,e,f;if(a.match(/item_.+/)){switch(c=a.split("_")[1],e="",d.tag().toLowerCase()){case"input":case"textarea":case"select":f=d.attr("type"),(!f||("checkbox"===f.toLowerCase()||"radio"===f.toLowerCase())&&d.attr("checked")||"text"===f.toLowerCase()||"number"===f.toLowerCase())&&(e=d.val());break;case"img":e=d.attr("src");break;default:e=d.text()}null!==e&&""!==e&&(b[c.toLowerCase()]=b[c.toLowerCase()]?b[c.toLowerCase()]+", "+e:e)}})}),F.add(b)}}])}),b.addEventListener?a.DOMContentLoaded=function(){b.removeEventListener("DOMContentLoaded",DOMContentLoaded,!1),F.init()}:b.attachEvent&&(a.DOMContentLoaded=function(){"complete"===b.readyState&&(b.detachEvent("onreadystatechange",DOMContentLoaded),F.init())}),g(),F};a.simpleCart=m()}(window,document);var JSON;JSON||(JSON={}),function(){function k(a){return 10>a?"0"+a:a}function o(a){return p.lastIndex=0,p.test(a)?'"'+a.replace(p,function(a){var b=r[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function l(a,b){var c,d,f,g,h,j=e,k=b[a];switch(k&&"object"==typeof k&&"function"==typeof k.toJSON&&(k=k.toJSON(a)),"function"==typeof i&&(k=i.call(b,a,k)),typeof k){case"string":return o(k);case"number":return isFinite(k)?String(k):"null";case"boolean":case"null":return String(k);case"object":if(!k)return"null";if(e+=n,h=[],"[object Array]"===Object.prototype.toString.apply(k)){for(g=k.length,c=0;g>c;c+=1)h[c]=l(c,k)||"null";return f=0===h.length?"[]":e?"[\n"+e+h.join(",\n"+e)+"\n"+j+"]":"["+h.join(",")+"]",e=j,f}if(i&&"object"==typeof i)for(g=i.length,c=0;g>c;c+=1)"string"==typeof i[c]&&(d=i[c],(f=l(d,k))&&h.push(o(d)+(e?": ":":")+f));else for(d in k)Object.prototype.hasOwnProperty.call(k,d)&&(f=l(d,k))&&h.push(o(d)+(e?": ":":")+f);return f=0===h.length?"{}":e?"{\n"+e+h.join(",\n"+e)+"\n"+j+"}":"{"+h.join(",")+"}",e=j,f}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+k(this.getUTCMonth()+1)+"-"+k(this.getUTCDate())+"T"+k(this.getUTCHours())+":"+k(this.getUTCMinutes())+":"+k(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var q=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,n,r={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},i;"function"!=typeof JSON.stringify&&(JSON.stringify=function(a,b,c){var d;if(n=e="","number"==typeof c)for(d=0;c>d;d+=1)n+=" ";else"string"==typeof c&&(n=c);if((i=b)&&"function"!=typeof b&&("object"!=typeof b||"number"!=typeof b.length))throw Error("JSON.stringify");return l("",{"":a})}),"function"!=typeof JSON.parse&&(JSON.parse=function(a,e){function c(a,b){var d,f,g=a[b];if(g&&"object"==typeof g)for(d in g)Object.prototype.hasOwnProperty.call(g,d)&&(f=c(g,d),void 0!==f?g[d]=f:delete g[d]);return e.call(a,b,g)}var d,a=String(a);if(q.lastIndex=0,q.test(a)&&(a=a.replace(q,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return d=eval("("+a+")"),"function"==typeof e?c({"":d},""):d;throw new SyntaxError("JSON.parse")})}(),function(){if(!this.localStorage)if(this.globalStorage)try{this.localStorage=this.globalStorage}catch(a){}else{var b=document.createElement("div");if(b.style.display="none",document.getElementsByTagName("head")[0].appendChild(b),b.addBehavior){b.addBehavior("#default#userdata");var c=this.localStorage={length:0,setItem:function(a,c){b.load("localStorage"),a=d(a),b.getAttribute(a)||this.length++,b.setAttribute(a,c),b.save("localStorage")},getItem:function(a){return b.load("localStorage"),a=d(a),b.getAttribute(a)},removeItem:function(a){b.load("localStorage"),a=d(a),b.removeAttribute(a),b.save("localStorage"),this.length=0},clear:function(){b.load("localStorage");for(var a=0;attr=b.XMLDocument.documentElement.attributes[a++];)b.removeAttribute(attr.name);b.save("localStorage"),this.length=0},key:function(a){return b.load("localStorage"),b.XMLDocument.documentElement.attributes[a]}},d=function(a){return a.replace(/[^-._0-9A-Za-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u37f-\u1fff\u200c-\u200d\u203f\u2040\u2070-\u218f]/g,"-")};b.load("localStorage"),c.length=b.XMLDocument.documentElement.attributes.length}}}(),FrontendCore.define("cart",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{cartColumns:[{view:function(a,b){return""+a.get("quantity")+" "},attr:"custom"},{attr:"name",label:!1},{view:"currency",attr:"total",label:!1}],currency:"EUR",language:"spanish-es",cartStyle:"div",shippingFreeSince:1e3,shippingCost:15,taxRate:.21,checkout:{type:"PayPal",email:"you@yours.com"}},onStart:function(){var a=this,b=FrontendTools.getDataModules("cart"),c={},d={},e=["cart-checkout","cart-empty","cart-items","cart-total","cart-quantity","cart-tax","cart-tax-rate","cart-shipping","cart-grand-total","cart-shelf-item","cart-item-name","cart-item-price","cart-item-add","cart-item-quantity"],f=["simpleCart_checkout","simpleCart_empty","simpleCart_items","simpleCart_total","simpleCart_quantity","simpleCart_tax","simpleCart_taxRate","simpleCart_shipping","simpleCart_grandTotal","simpleCart_shelfItem","item_name","item_price","item_add","item_Quantity"];for(FrontendTools.loadCSS(this.sPathCss),nKey=0;nKeyd.shippingFreeSince?(d.taxShipping=!1,0):d.shippingCost},FrontendTools.removeLoading(this)}),c=FrontendTools.mergeOptions(a.oDefault,d),simpleCart(c),simpleCart.init(),FrontendTools.trackModule("JS_Libraries","call","autocomplete")},prepareBind:function(a,b){$("."+a).each(function(){$(this).addClass(b)})},autobind:function(a){var b=this;$(a).bind("click",function(a){a.preventDefault(),b.toggleCart(this)})},toggleCart:function(a){var b=($(a),$(document.getElementById(a.href.split("#")[1])));b.toggleClass("hidden")},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/center-box.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/center-box.js
index daa1b7f2..d2c49326 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/center-box.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/center-box.js
@@ -1 +1 @@
-FrontendCore.define("center-box",[],function(){return{onStart:function(){var a=FrontendTools.getDataModules("center-box"),b=this;FrontendTools.trackModule("JS_Libraries","call","center-box"),b.setPosition(a),$(window).resize(function(){b.setPosition(a)})},setPosition:function(a){var b,c,d,e,f,g,h=$(window).height(),i=$(window).width();$(a).each(function(){b=this,e=b.getAttribute("data-fc-position")?b.getAttribute("data-fc-position"):"absolute","absolute"==e&&(h=$(b).parent().height(),i=$(b).parent().width(),$(b).parent().css("position","relative")),$(b).css({position:e,"z-index":100}),c=b.getAttribute("data-fc-height")?b.getAttribute("data-fc-height"):$(b).height(),d=b.getAttribute("data-fc-width")?b.getAttribute("data-fc-width"):$(b).width(),"string"==typeof c&&-1!==c.indexOf("px")&&(c=c.replace("px","")),"string"==typeof d&&-1!==d.indexOf("px")&&(d=d.replace("px","")),f=i/2-d/2,g=h/2-c/2,b.getAttribute("data-fc-height")&&$(b).css("height",c),b.getAttribute("data-fc-width")&&$(b).css("width",d),$(b).css({left:f,top:g})})},onStop:function(){this.mediator=null,this.bMessageCreated=null,this.oTimer=null},onDestroy:function(){delete this.mediator,delete this.bMessageCreated,delete this.oTimer}}});
\ No newline at end of file
+FrontendCore.define("center-box",[],function(){return{onStart:function(){var a=FrontendTools.getDataModules("center-box"),b=this;FrontendTools.trackModule("JS_Libraries","call","center-box"),b.setPosition(a),$(window).resize(function(){b.setPosition(a)})},setPosition:function(a){var b,c,d,e,f,g,h=$(window).height(),i=$(window).width();$(a).each(function(){b=this,h=$(window).height(),i=$(window).width(),e=b.getAttribute("data-fc-position")?b.getAttribute("data-fc-position"):"absolute","absolute"==e&&(h=$(b).parent().outerHeight(),i=$(b).parent().outerWidth(),$(b).parent().hasClass("loading")?(h=$(b).parent().parent().outerHeight(),i=$(b).parent().parent().outerWidth(),$(b).parent().css({height:h+"px",width:i+"px",top:0,left:0,position:"absolute"}),$(b).parent().parent().css("position","relative")):$(b).parent().css("position","relative")),$(b).css({position:e,"z-index":100}),c=b.getAttribute("data-fc-height")?b.getAttribute("data-fc-height"):$(b).outerHeight(),d=b.getAttribute("data-fc-width")?b.getAttribute("data-fc-width"):$(b).outerWidth(),c>h&&(c=h),d>i&&(d=i),"string"==typeof c&&-1!==c.indexOf("px")&&(c=c.replace("px","")),"string"==typeof d&&-1!==d.indexOf("px")&&(d=d.replace("px","")),f=i/2-d/2,g=h/2-c/2,b.getAttribute("data-fc-height")&&$(b).css("height",c),b.getAttribute("data-fc-width")&&$(b).css("width",d),$(b).css({left:f,top:g}),FrontendTools.removeLoading(b)})},onStop:function(){this.mediator=null,this.bMessageCreated=null,this.oTimer=null},onDestroy:function(){delete this.mediator,delete this.bMessageCreated,delete this.oTimer}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/charts.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/charts.js
index 6221dbed..982b087a 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/charts.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/charts.js
@@ -1 +1 @@
-FrontendCore.define("charts",[],function(){return{ChartJS:null,aCharts:[],isEmpty:!0,sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,aDefaultColors:["96c47f","5b90bf","b55151","b48ead","d6b051","82b2af","d4d659","dcdcdc"],oDefault:{scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:1,barValueSpacing:15,barDatasetSpacing:1,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:0,animateRotate:!0,animateScale:!0,animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!0,maintainAspectRatio:!1,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",onAnimationProgress:function(){},onAnimationComplete:function(){},type:"bar"},hexToRgb:function(a){var b=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;a=a.replace(b,function(a,b,c,d){return b+b+c+c+d+d});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return c?parseInt(c[1],16)+","+parseInt(c[2],16)+","+parseInt(c[3],16):null},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="charts"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","charts"),require(["chartLibs"],function(c){b.ChartJS=c,$(a).each(function(a){b.autobind(this,a)})})},autobind:function(a,b){""===a.id&&(a.id="canvas-"+Date.now());var c,d,e,f=this,g={type:null!==a.getAttribute("data-fc-type")?a.getAttribute("data-fc-type"):"line"},h=null!==a.getAttribute("data-fc-colors")?FrontendTools.attributeToArray(a.getAttribute("data-fc-colors")):[],i=h.concat(f.aDefaultColors),j=document.getElementById(a.id).getContext("2d");switch(f.isEmpty=!0,d=FrontendTools.mergeOptions(f.oDefault,g),e=f.getCanvasData(a,f.getColors(i,g.type)),d.type){case"doughnut":d.percentageInnerCutout=50;case"pie":c=f.createChart(j,e.items,d,f.aCharts[b]);break;default:c=f.createChart(j,e.groups,d,f.aCharts[b])}e.legend&&f.createLegend(a,c),f.isEmpty&&f.createEmptyMessage(a)},createEmptyMessage:function(a){var b=a.id+"-no-data",c=null!==a.getAttribute("data-fc-text-no-data")?a.getAttribute("data-fc-text-no-data"):"No data";$(a).before(' '+c+" ");var d=$(a).width()/2-$("#"+b).width()/2,e=$(a).height()/2-$("#"+b).height()/2;$("#"+b).css({position:"absolute",left:d,"margin-top":e})},getColors:function(a,b){var c,d=this,e={},f=.5;"line"===b&&(f=.05);for(var g=0;gf;f++)g.groups.datasets[a].data[f]>0&&(d=1);g.items[a]=FrontendTools.mergeOptions(g.items[a],b[a]),d>0&&(e.isEmpty=!1)}),g},createChart:function(a,b,c,d){var e=this,f=c.type.charAt(0).toUpperCase()+c.type.slice(1);return d=new e.ChartJS(a)[f](b,c)},createLegend:function(a,b){$(a).after(b.generateLegend())},onStop:function(){this.oDefault=null},onDestroy:function(){delete this.oDefault}}});
\ No newline at end of file
+FrontendCore.define("charts",[],function(){return{ChartJS:null,aCharts:[],isEmpty:!0,sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,aDefaultColors:["96c47f","5b90bf","b55151","b48ead","d6b051","82b2af","d4d659","dcdcdc"],oDefault:{scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:1,barValueSpacing:15,barDatasetSpacing:1,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:0,animateRotate:!0,animateScale:!0,animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!0,maintainAspectRatio:!1,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",onAnimationProgress:function(){},onAnimationComplete:function(){},type:"bar"},hexToRgb:function(a){var b=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;a=a.replace(b,function(a,b,c,d){return b+b+c+c+d+d});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return c?parseInt(c[1],16)+","+parseInt(c[2],16)+","+parseInt(c[3],16):null},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="charts"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","charts"),require(["chartLibs"],function(c){b.ChartJS=c,$(a).each(function(a){b.autobind(this,a),FrontendTools.removeLoading(this)})})},autobind:function(a,b){""===a.id&&(a.id="canvas-"+Date.now());var c,d,e,f=this,g={type:null!==a.getAttribute("data-fc-type")?a.getAttribute("data-fc-type"):"line"},h=null!==a.getAttribute("data-fc-colors")?FrontendTools.attributeToArray(a.getAttribute("data-fc-colors")):[],i=h.concat(f.aDefaultColors),j=document.getElementById(a.id).getContext("2d");switch(f.isEmpty=!0,d=FrontendTools.mergeOptions(f.oDefault,g),e=f.getCanvasData(a,f.getColors(i,g.type)),d.type){case"doughnut":d.percentageInnerCutout=50;case"pie":c=f.createChart(j,e.items,d,f.aCharts[b]);break;default:c=f.createChart(j,e.groups,d,f.aCharts[b])}e.legend&&f.createLegend(a,c),f.isEmpty&&f.createEmptyMessage(a)},createEmptyMessage:function(a){var b=a.id+"-no-data",c=null!==a.getAttribute("data-fc-text-no-data")?a.getAttribute("data-fc-text-no-data"):"No data";$(a).before(' '+c+" ");var d=$(a).width()/2-$("#"+b).width()/2,e=$(a).height()/2-$("#"+b).height()/2;$("#"+b).css({position:"absolute",left:d,"margin-top":e})},getColors:function(a,b){var c,d=this,e={},f=.5;"line"===b&&(f=.05);for(var g=0;gf;f++)g.groups.datasets[a].data[f]>0&&(d=1);g.items[a]=FrontendTools.mergeOptions(g.items[a],b[a]),d>0&&(e.isEmpty=!1)}),g},createChart:function(a,b,c,d){var e=this,f=c.type.charAt(0).toUpperCase()+c.type.slice(1);return d=new e.ChartJS(a)[f](b,c)},createLegend:function(a,b){$(a).after(b.generateLegend())},onStop:function(){this.oDefault=null},onDestroy:function(){delete this.oDefault}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/css/color-polyfill.css b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/css/color-polyfill.css
new file mode 100644
index 00000000..0ade98cf
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/css/color-polyfill.css
@@ -0,0 +1 @@
+span.color-picker-button-container{position:relative}button.color-picker-button div{display:inline-block;border:1px solid #000;height:1.2em;width:1.6em;margin-right:.6em;vertical-align:bottom}button.color-picker-button div:after{display:inline-block;content:"";width:0;height:0;border-style:solid;border-width:.4em;border-color:#000 transparent transparent;margin-left:2em;vertical-align:middle}div.color-picker-dialog{position:absolute;left:0;top:100%;width:35em;border:2px outset #CCC;background-color:#EEE;padding:.5em}.csstransitions div.color-picker-dialog.color-picker-closed{-moz-transition:opacity .4s linear;-webkit-transition:opacity .4s linear;-o-transition:opacity .4s linear;-ms-transition:opacity .4s linear;transition:opacity .4s linear;opacity:0}.csstransitions div.color-picker-dialog.color-picker-open{-moz-transition:opacity .4s linear;-webkit-transition:opacity .4s linear;-o-transition:opacity .4s linear;-ms-transition:opacity .4s linear;transition:opacity .4s linear;opacity:1}div.color-picker-dialog input[type=text]{}div.color-picker-dialog div.hue-color-slider,div.color-picker-dialog div.sat-color-slider,div.color-picker-dialog div.val-color-slider,div.color-picker-dialog div.red-color-slider,div.color-picker-dialog div.green-color-slider,div.color-picker-dialog div.blue-color-slider{display:inline-block;width:20em;height:.3em;margin-top:.8em;margin-right:1em}div.color-picker-dialog .ui-slider-handle{width:.7em;margin-top:-.2em}div.color-picker-dialog ul{padding-left:0;margin-right:1em;text-align:right;margin-top:0;float:left}div.color-picker-dialog ul li{list-style-type:none}div.color-picker-dialog ul li.hue-slider-li:before{content:'H:';margin-right:.5em}div.color-picker-dialog ul li.sat-slider-li:before{content:'S:';margin-right:.5em}div.color-picker-dialog ul li.val-slider-li:before{content:'V:';margin-right:.5em}div.color-picker-dialog div.hue-color-slider,div.color-picker-dialog div.sat-color-slider,div.color-picker-dialog div.val-color-slider{background-color:#999;border:1px solid #333}div.color-picker-dialog div.hue-color-slider .ui-slider-range,div.color-picker-dialog div.sat-color-slider .ui-slider-range,div.color-picker-dialog div.val-color-slider .ui-slider-range{background:#ccc}div.color-picker-dialog div.hue-color-slider .ui-slider-handle,div.color-picker-dialog div.sat-color-slider .ui-slider-handle,div.color-picker-dialog div.val-color-slider .ui-slider-handle{border-color:#ccc}div.color-picker-dialog ul li.red-slider-li:before{content:'R:';margin-right:.5em}div.color-picker-dialog div.red-color-slider{background-color:#F99;border:1px solid #900}div.color-picker-dialog div.red-color-slider .ui-slider-range{background:#ef2929}div.color-picker-dialog div.red-color-slider .ui-slider-handle{border-color:#ef2929}div.color-picker-dialog ul li.green-slider-li:before{content:'G:';margin-right:.5em}div.color-picker-dialog div.green-color-slider{background-color:#9F9;border:1px solid #090}div.color-picker-dialog div.green-color-slider .ui-slider-range{background:#8ae234}div.color-picker-dialog div.green-color-slider .ui-slider-handle{border-color:#8ae234}div.color-picker-dialog ul li.blue-slider-li:before{content:'B:';margin-right:.5em}div.color-picker-dialog div.blue-color-slider{background-color:#99F;border:1px solid #009}div.color-picker-dialog div.blue-color-slider .ui-slider-range{background:#729fcf}div.color-picker-dialog div.blue-color-slider .ui-slider-handle{border-color:#729fcf}div.color-picker-dialog div.color-swatch{width:5em;height:5em;background-color:#999;border:1px solid #000;margin-bottom:3px}div.color-picker-dialog div.color-swatch-container{float:right;text-align:center}div.color-picker-dialog .color-picker-ok-button{margin-top:1em}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/css/spectrum.css b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/css/spectrum.css
new file mode 100644
index 00000000..f71cee67
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/css/spectrum.css
@@ -0,0 +1 @@
+.sp-container{position:absolute;top:0;left:0;display:inline-block;*display:inline;*zoom:1;z-index:9999994;overflow:hidden}.sp-container.sp-flat{position:relative}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{position:relative;width:100%;display:inline-block}.sp-top-inner{position:absolute;top:0;left:0;bottom:0;right:0}.sp-color{position:absolute;top:0;left:0;bottom:0;right:20%}.sp-hue{position:absolute;top:0;right:0;bottom:0;left:84%;height:100%}.sp-clear-enabled .sp-hue{top:33px;height:77.5%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{position:absolute;top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha-handle{position:absolute;top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid #000;background:#fff;opacity:.8}.sp-alpha{display:none;position:absolute;bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:solid 1px #333}.sp-clear{display:none}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:block;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-container,.sp-replacer,.sp-preview,.sp-dragger,.sp-slider,.sp-alpha,.sp-clear,.sp-alpha-handle,.sp-container.sp-dragging .sp-input,.sp-container button{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-container.sp-input-disabled .sp-input-container{display:none}.sp-container.sp-buttons-disabled .sp-button-container{display:none}.sp-container.sp-palette-buttons-disabled .sp-palette-button-container{display:none}.sp-palette-only .sp-picker-container{display:none}.sp-palette-disabled .sp-palette-container{display:none}.sp-initial-disabled .sp-initial{display:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-ms-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-o-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(0.17,#ff0),color-stop(0.33,#0f0),color-stop(0.5,#0ff),color-stop(0.67,#00f),color-stop(0.83,#f0f),to(red));background:-webkit-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:linear-gradient(to bottom,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:before,.sp-cf:after{content:"";display:table}.sp-cf:after{clear:both}.sp-cf{*zoom:1}@media (max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;position:absolute;top:0;left:0}.sp-slider{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:#fff;opacity:.8}.sp-container{border-radius:0;background-color:#ECECEC;border:solid 1px #f0c49B;padding:0}.sp-container,.sp-container button,.sp-container input,.sp-color,.sp-hue,.sp-clear{font:400 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-color,.sp-hue,.sp-clear{border:solid 1px #666}.sp-input-container{float:right;width:100px;margin-bottom:4px}.sp-initial-disabled .sp-input-container{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;width:100%;background:transparent;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-picker-container,.sp-palette-container{float:left;position:relative;padding:10px;padding-bottom:300px;margin-bottom:-290px}.sp-picker-container{width:172px;border-left:solid 1px #fff}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette-only .sp-palette-container{border:0}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;width:24px;height:15px;margin:3px;cursor:pointer;border:solid 2px transparent}.sp-palette .sp-thumb-el:hover,.sp-palette .sp-thumb-el.sp-thumb-active{border-color:orange}.sp-thumb-el{position:relative}.sp-initial{float:left;border:solid 1px #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-palette-button-container,.sp-button-container{float:right}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;*zoom:1;*display:inline;border:solid 1px #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer:hover,.sp-replacer.sp-active{border-color:#F0C49B;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{position:relative;width:25px;height:20px;border:solid 1px #222;margin-right:5px;float:left;z-index:0}.sp-palette{*width:220px;max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:solid 1px #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0;padding:2px;margin-right:5px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span:hover,.sp-palette span.sp-thumb-active{border-color:#000}.sp-preview,.sp-alpha,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-preview-inner,.sp-alpha-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/form-validation-libs.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/form-validation-libs.js
new file mode 100644
index 00000000..576114ed
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/form-validation-libs.js
@@ -0,0 +1,3 @@
+!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"undefined"==typeof a&&"undefined"!=typeof window.jQuery&&(a=window.jQuery);var b={attr:function(a,b,c){var d,e={},f=this.msieversion(),g=new RegExp("^"+b,"i");if("undefined"==typeof a||"undefined"==typeof a[0])return{};for(var h in a[0].attributes)if(d=a[0].attributes[h],"undefined"!=typeof d&&null!==d&&(!f||f>=8||d.specified)&&g.test(d.name)){if("undefined"!=typeof c&&new RegExp(c+"$","i").test(d.name))return!0;e[this.camelize(d.name.replace(b,""))]=this.deserializeValue(d.value)}return"undefined"==typeof c?e:!1},setAttr:function(a,b,c,d){a[0].setAttribute(this.dasherize(b+c),String(d))},get:function(a,b){for(var c=0,d=(b||"").split(".");this.isObject(a)||this.isArray(a);)if(a=a[d[c++]],c===d.length)return a;return void 0},hash:function(a){return String(Math.random()).substring(2,a?a+2:9)},isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},isObject:function(a){return a===Object(a)},deserializeValue:function(b){var c;try{return b?"true"==b||("false"==b?!1:"null"==b?null:isNaN(c=Number(b))?/^[\[\{]/.test(b)?a.parseJSON(b):b:c):b}catch(d){return b}},camelize:function(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})},dasherize:function(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},msieversion:function(){var a=window.navigator.userAgent,b=a.indexOf("MSIE ");return b>0||navigator.userAgent.match(/Trident.*rv\:11\./)?parseInt(a.substring(b+5,a.indexOf(".",b)),10):0}},c={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(a){},errorsContainer:function(a){},errorsWrapper:'',errorTemplate:" "},d=function(){};d.prototype={asyncSupport:!1,actualizeOptions:function(){return this.options=this.OptionsFactory.get(this),this},validateThroughValidator:function(a,b,c){return window.ParsleyValidator.validate(a,b,c)},subscribe:function(b,c){return a.listenTo(this,b.toLowerCase(),c),this},unsubscribe:function(b){return a.unsubscribeTo(this,b.toLowerCase()),this},reset:function(){if("ParsleyForm"!==this.__class__)return a.emit("parsley:field:reset",this);for(var b=0;b=0;l--)"Required"!==k[l].__class__||(i=k[l].requiresValidation(b));if(this.has(h,a)||this.options.strict||i)try{this.has(h,this.options.strict||i?a:void 0)||(new e).HaveProperty(h).validate(a),c=this._check(h,a[h],b),(g(c)&&c.length>0||!g(c)&&!f(c))&&(d[h]=c)}catch(m){d[h]=m}}return f(d)?!0:d},add:function(a,b){if(b instanceof e||g(b)&&b[0]instanceof e)return this.nodes[a]=b,this;if("object"==typeof b&&!g(b))return this.nodes[a]=b instanceof c?b:new c(b),this;throw new Error("Should give an Assert, an Asserts array, a Constraint",b)},has:function(a,b){return b="undefined"!=typeof b?b:this.nodes,"undefined"!=typeof b[a]},get:function(a,b){return this.has(a)?this.nodes[a]:b||null},remove:function(a){var b=[];for(var c in this.nodes)c!==a&&(b[c]=this.nodes[c]);return this.nodes=b,this},_bootstrap:function(a){if(a instanceof c)return this.nodes=a.nodes;for(var b in a)this.add(b,a[b])},_check:function(a,b,d){if(this.nodes[a]instanceof e)return this._checkAsserts(b,[this.nodes[a]],d);if(g(this.nodes[a]))return this._checkAsserts(b,this.nodes[a],d);if(this.nodes[a]instanceof c)return this.nodes[a].check(b,d);throw new Error("Invalid node",this.nodes[a])},_checkAsserts:function(a,b,c){for(var d,e=[],f=0;f0},addGroup:function(a){return g(a)?this.addGroups(a):(this.hasGroup(a)||this.groups.push(a),this)},removeGroup:function(a){for(var b=[],c=0;c=a)throw new d(this,a,{threshold:this.threshold});return!0},this},GreaterThanOrEqual:function(a){if(this.__class__="GreaterThanOrEqual","undefined"==typeof a)throw new Error("Should give a threshold value");return this.threshold=a,this.validate=function(a){if(""===a||isNaN(Number(a)))throw new d(this,a,{value:b.errorCode.must_be_a_number});if(this.threshold>a)throw new d(this,a,{threshold:this.threshold});return!0},this},InstanceOf:function(a){if(this.__class__="InstanceOf","undefined"==typeof a)throw new Error("InstanceOf must be instanciated with a value");return this.classRef=a,this.validate=function(a){if(!0!=a instanceof this.classRef)throw new d(this,a,{classRef:this.classRef});return!0},this},Length:function(a){if(this.__class__="Length",!a.min&&!a.max)throw new Error("Lenth assert must be instanciated with a { min: x, max: y } object");return this.min=a.min,this.max=a.max,this.validate=function(a){if("string"!=typeof a&&!g(a))throw new d(this,a,{value:b.errorCode.must_be_a_string_or_array});if("undefined"!=typeof this.min&&this.min===this.max&&a.length!==this.min)throw new d(this,a,{min:this.min,max:this.max});if("undefined"!=typeof this.max&&a.length>this.max)throw new d(this,a,{max:this.max});if("undefined"!=typeof this.min&&a.length>>0;if(0===c)return-1;var d=0;if(arguments.length>1&&(d=Number(arguments[1]),d!=d?d=0:0!==d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1});var f=function(a){for(var b in a)return!1;return!0},g=function(a){return"[object Array]"===Object.prototype.toString.call(a)};return"function"==typeof define&&define.amd?define("vendors/validator.js/dist/validator",[],function(){return a}):"undefined"!=typeof module&&module.exports?module.exports=a:window["undefined"!=typeof validatorjs_ns?validatorjs_ns:"Validator"]=a,a}();e="undefined"!=typeof e?e:"undefined"!=typeof module?module.exports:null;var f=function(a,b){this.__class__="ParsleyValidator",this.Validator=e,this.locale="en",this.init(a||{},b||{})};f.prototype={init:function(b,c){this.catalog=c;for(var d in b)this.addValidator(d,b[d].fn,b[d].priority,b[d].requirementsTransformer);a.emit("parsley:validator:init")},setLocale:function(a){if("undefined"==typeof this.catalog[a])throw new Error(a+" is not available in the catalog");return this.locale=a,this},addCatalog:function(a,b,c){return"object"==typeof b&&(this.catalog[a]=b),!0===c?this.setLocale(a):this},addMessage:function(a,b,c){return"undefined"==typeof this.catalog[a]&&(this.catalog[a]={}),this.catalog[a][b.toLowerCase()]=c,this},validate:function(a,b,c){return(new this.Validator.Validator).validate.apply(new e.Validator,arguments)},addValidator:function(b,c,d,f){return this.validators[b.toLowerCase()]=function(b){return a.extend((new e.Assert).Callback(c,b),{priority:d,requirementsTransformer:f})},this},updateValidator:function(a,b,c,d){return this.addValidator(a,b,c,d)},removeValidator:function(a){return delete this.validators[a],this},getErrorMessage:function(a){var b;return b="type"===a.name?this.catalog[this.locale][a.name][a.requirements]:this.formatMessage(this.catalog[this.locale][a.name],a.requirements),""!==b?b:this.catalog[this.locale].defaultMessage},formatMessage:function(a,b){if("object"==typeof b){for(var c in b)a=this.formatMessage(a,b[c]);return a}return"string"==typeof a?a.replace(new RegExp("%s","i"),b):""},validators:{notblank:function(){return a.extend((new e.Assert).NotBlank(),{priority:2})},required:function(){return a.extend((new e.Assert).Required(),{priority:512})},type:function(b){var c;switch(b){case"email":c=(new e.Assert).Email();break;case"range":case"number":c=(new e.Assert).Regexp("^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$");break;case"integer":c=(new e.Assert).Regexp("^-?\\d+$");break;case"digits":c=(new e.Assert).Regexp("^\\d+$");break;case"alphanum":c=(new e.Assert).Regexp("^\\w+$","i");break;case"url":c=(new e.Assert).Regexp("(https?:\\/\\/)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,24}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)","i");break;default:throw new Error("validator type `"+b+"` is not supported")}return a.extend(c,{priority:256})},pattern:function(b){var c="";return/^\/.*\/(?:[gimy]*)$/.test(b)&&(c=b.replace(/.*\/([gimy]*)$/,"$1"),b=b.replace(new RegExp("^/(.*?)/"+c+"$"),"$1")),a.extend((new e.Assert).Regexp(b,c),{priority:64})},minlength:function(b){return a.extend((new e.Assert).Length({min:b}),{priority:30,requirementsTransformer:function(){return"string"!=typeof b||isNaN(b)?b:parseInt(b,10)}})},maxlength:function(b){return a.extend((new e.Assert).Length({max:b}),{priority:30,requirementsTransformer:function(){return"string"!=typeof b||isNaN(b)?b:parseInt(b,10)}})},length:function(b){return a.extend((new e.Assert).Length({min:b[0],max:b[1]}),{priority:32})},mincheck:function(a){return this.minlength(a)},maxcheck:function(a){return this.maxlength(a)},check:function(a){return this.length(a)},min:function(b){return a.extend((new e.Assert).GreaterThanOrEqual(b),{priority:30,requirementsTransformer:function(){return"string"!=typeof b||isNaN(b)?b:parseInt(b,10)}})},max:function(b){return a.extend((new e.Assert).LessThanOrEqual(b),{priority:30,requirementsTransformer:function(){return"string"!=typeof b||isNaN(b)?b:parseInt(b,10)}})},range:function(b){return a.extend((new e.Assert).Range(b[0],b[1]),{priority:32,requirementsTransformer:function(){for(var a=0;a0?this._errorClass(a):this._resetClass(a)},manageErrorsMessages:function(b,c){if("undefined"==typeof b.options.errorsMessagesDisabled){if("undefined"!=typeof b.options.errorMessage)return c.added.length||c.kept.length?(0===b._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&b._ui.$errorsWrapper.append(a(b.options.errorTemplate).addClass("parsley-custom-error-message")),b._ui.$errorsWrapper.addClass("filled").find(".parsley-custom-error-message").html(b.options.errorMessage)):b._ui.$errorsWrapper.removeClass("filled").find(".parsley-custom-error-message").remove();for(var d=0;d0&&"undefined"==typeof a.fields[b].options.noFocus){if("first"===a.options.focus)return a._focusedField=a.fields[b].$element,a._focusedField.focus();a._focusedField=a.fields[b].$element}return null===a._focusedField?null:a._focusedField.focus()},_getErrorMessage:function(a,b){var c=b.name+"Message";return"undefined"!=typeof a.options[c]?window.ParsleyValidator.formatMessage(a.options[c],b.requirements):window.ParsleyValidator.getErrorMessage(b)},_diff:function(a,b,c){for(var d=[],e=[],f=0;f0&&this.validationResult&&(this.validationResult=!1));return a.emit("parsley:form:"+(this.validationResult?"success":"error"),this),a.emit("parsley:form:validated",this),this.validationResult},isValid:function(a,b){this._refreshFields();for(var c=0;c1){var c=[];return this.each(function(){c.push(a(this).parsley(b))}),c}return a(this).length?new o(this,b):void(window.console&&window.console.warn&&window.console.warn("You must bind Parsley on an existing element."))},window.ParsleyUI="function"==typeof b.get(window,"ParsleyConfig.ParsleyUI")?(new window.ParsleyConfig.ParsleyUI).listen():(new g).listen(),"undefined"==typeof window.ParsleyExtend&&(window.ParsleyExtend={}),"undefined"==typeof window.ParsleyConfig&&(window.ParsleyConfig={}),window.Parsley=window.psly=o,window.ParsleyUtils=b,window.ParsleyValidator=new f(window.ParsleyConfig.validators,window.ParsleyConfig.i18n),!1!==b.get(window,"ParsleyConfig.autoBind")&&a(function(){a("[data-parsley-validate]").length&&a("[data-parsley-validate]").parsley()})});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/form-validation.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/form-validation.js
new file mode 100644
index 00000000..f76239cd
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/form-validation.js
@@ -0,0 +1 @@
+!function(a,b,c,d,e){"use strict";d.define("form-validation",["form-validation-libs"],function(){return{sPathCss:b.sPathCssUI+"?v="+b.sHash,oDefault:{namespace:"data-fc-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:"blur",errorClass:"error",successClass:"success",classHandler:function(a){},errorsContainer:function(a){},errorsWrapper:'',errorTemplate:" "},onStart:function(){var a=c.getDataModules("form-validation"),d=this;c.loadCSS(this.sPathCss),c.trackModule("JS_Libraries","call","form-validation"),navigator.language&&e.getScript(b.sPathJsCore+"ui/forms-locale/"+navigator.language+".js"),e(a).each(function(a){d.autobind(this,a)})},autobind:function(a,b){""===a.id&&(a.id="form-validation-"+b);var d,f=this,g={};null!==a.getAttribute("data-fc-width"),d=c.mergeOptions(f.oDefault,g),e(a).parsley(d),e.listen("parsley:form:error",function(){e("input.error:hidden",a).each(function(){var a=e(this).closest('[style="display: none;"]').attr("id");return void 0!==a?(e('a[href="#'+a+'"]').click(),!1):void alert(this.name+": This field is hidden and required.")})})},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}})}(window,oGlobalSettings,FrontendTools,FrontendCore,$);
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ar.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ar.js
new file mode 100644
index 00000000..0bb5c8d4
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ar.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.ar = $.extend(window.ParsleyConfig.i18n.ar || {}, {
+ defaultMessage: "تأكد من صحة القيمة المدخل",
+ type: {
+ email: "تأكد من إدخال بريد الكتروني صحيح",
+ url: "تأكد من إدخال رابط صحيح",
+ number: "تأكد من إدخال رقم",
+ integer: "تأكد من إدخال عدد صحيح بدون كسور",
+ digits: "تأكد من إدخال رقم",
+ alphanum: "تأكد من إدخال حروف وأرقام فقط"
+ },
+ notblank: "تأكد من تعبئة الحقل",
+ required: "هذا الحقل مطلوب",
+ pattern: "القيمة المدخلة غير صحيحة",
+ min: "القيمة المدخلة يجب أن تكون أكبر من %s.",
+ max: "القيمة المدخلة يجب أن تكون أصغر من %s.",
+ range: "القيمة المدخلة يجب أن تكون بين %s و %s.",
+ minlength: "القيمة المدخلة قصيرة جداً . تأكد من إدخال %s حرف أو أكثر",
+ maxlength: "القيمة المدخلة طويلة . تأكد من إدخال %s حرف أو أقل",
+ length: "القيمة المدخلة غير صحيحة. تأكد من إدخال بين %s و %s خانة",
+ mincheck: "يجب اختيار %s خيار على الأقل.",
+ maxcheck: "يجب اختيار%s خيار أو أقل",
+ check: "يجب اختيار بين %s و %s خيار.",
+ equalto: "تأكد من تطابق القيمتين المدخلة."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('ar', window.ParsleyConfig.i18n.ar, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/bg.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/bg.js
new file mode 100644
index 00000000..b1f698eb
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/bg.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.bg = $.extend(window.ParsleyConfig.i18n.bg || {}, {
+ defaultMessage: "Невалидна стойност.",
+ type: {
+ email: "Невалиден имейл адрес.",
+ url: "Невалиден URL адрес.",
+ number: "Невалиден номер.",
+ integer: "Невалиден номер.",
+ digits: "Невалидни цифри.",
+ alphanum: "Стойността трябва да садържа само букви или цифри."
+ },
+ notblank: "Полето е задължително.",
+ required: "Полето е задължително.",
+ pattern: "Невалидна стойност.",
+ min: "Стойността трябва да бъде по-голяма или равна на %s.",
+ max: "Стойността трябва да бъде по-малка или равна на %s.",
+ range: "Стойността трябва да бъде между %s и %s.",
+ minlength: "Стойността е прекалено кратка. Мин. дължина: %s символа.",
+ maxlength: "Стойността е прекалено дълга. Макс. дължина: %s символа.",
+ length: "Дължината на стойността трябва да бъде между %s и %s символа.",
+ mincheck: "Трябва да изберете поне %s стойности.",
+ maxcheck: "Трябва да изберете най-много %s стойности.",
+ check: "Трябва да изберете между %s и %s стойности.",
+ equalto: "Стойността трябва да съвпада."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('bg', window.ParsleyConfig.i18n.bg, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/cs.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/cs.extra.js
new file mode 100644
index 00000000..300061f2
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/cs.extra.js
@@ -0,0 +1,13 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.cs = $.extend(window.ParsleyConfig.i18n.cs || {}, {
+ dateiso: "Tato položka musí být datum ve formátu RRRR-MM-DD.",
+ minwords: "Tato položka musí mít délku nejméně %s slov.",
+ maxwords: "Tato položka musí mít délku nejvíce %s slov.",
+ words: "Tato položka musí být od %s do %s slov dlouhá.",
+ gt: "Tato hodnota musí být větší.",
+ gte: "Tato hodnota musí být větší nebo rovna.",
+ lt: "Tato hodnota musí být menší.",
+ lte: "Tato hodnota musí být menší nebo rovna."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/cs.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/cs.js
new file mode 100644
index 00000000..582271ee
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/cs.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.cs = $.extend(window.ParsleyConfig.i18n.cs || {}, {
+ defaultMessage: "Tato položka je neplatná.",
+ type: {
+ email: "Tato položka musí být e-mailová adresa.",
+ url: "Tato položka musí být platná URL adresa.",
+ number: "Tato položka musí být číslo.",
+ integer: "Tato položka musí být celé číslo.",
+ digits: "Tato položka musí být kladné celé číslo.",
+ alphanum: "Tato položka musí být alfanumerická."
+ },
+ notblank: "Tato položka nesmí být prázdná.",
+ required: "Tato položka je povinná.",
+ pattern: "Tato položka je neplatná.",
+ min: "Tato položka musí být menší nebo rovna %s.",
+ max: "Tato položka musí být větší nebo rovna %s.",
+ range: "Tato položka musí být v rozsahu od %s do %s.",
+ minlength: "Tato položka musí mít nejméně %s znaků.",
+ maxlength: "Tato položka musí mít nejvíce %s znaků.",
+ length: "Tato položka musí mít délku od %s do %s znaků.",
+ mincheck: "Je nutné vybrat alespoň %s možností.",
+ maxcheck: "Je nutné vybrat nejvýše %s možností.",
+ check: "Je nutné vybrat od %s do %s možností.",
+ equalto: "Tato položka musí být stejná."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('cs', window.ParsleyConfig.i18n.cs, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/da.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/da.js
new file mode 100644
index 00000000..ea2da2e2
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/da.js
@@ -0,0 +1,34 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.da = $.extend(window.ParsleyConfig.i18n.da || {}, {
+ defaultMessage: "Indtast venligst en korrekt værdi.",
+ type: {
+ email: "Indtast venligst en korrekt emailadresse.",
+ url: "Indtast venligst en korrekt internetadresse.",
+ number: "Indtast venligst et tal.",
+ integer: "Indtast venligst et heltal.",
+ digits: "Dette felt må kun bestå af tal.",
+ alphanum: "Dette felt skal indeholde både tal og bogstaver."
+ },
+ notblank: "Dette felt må ikke være tomt.",
+ required: "Dette felt er påkrævet.",
+ pattern: "Ugyldig indtastning.",
+ min: "Dette felt skal indeholde et tal som er større end eller lig med %s.",
+ max: "Dette felt skal indeholde et tal som er mindre end eller lig med %s.",
+ range: "Dette felt skal indeholde et tal mellem %s og %s.",
+ minlength: "Indtast venligst mindst %s tegn.",
+ maxlength: "Dette felt kan højst indeholde %s tegn.",
+ length: "Længden af denne værdi er ikke korrekt. Værdien skal være mellem %s og %s tegn lang.",
+ mincheck: "Vælg mindst %s muligheder.",
+ maxcheck: "Vælg op til %s muligheder.",
+ check: "Vælg mellem %s og %s muligheder.",
+ equalto: "De to felter er ikke ens."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('da', window.ParsleyConfig.i18n.da, true);
+
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/de.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/de.extra.js
new file mode 100644
index 00000000..0e0f8456
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/de.extra.js
@@ -0,0 +1,13 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.de = $.extend(window.ParsleyConfig.i18n.de || {}, {
+ dateiso: "Die Eingabe muss ein gültiges Datum sein (YYYY-MM-DD).",
+ minwords: "Die Eingabe ist zu kurz. Sie muss aus %s oder mehr Wörtern bestehen.",
+ maxwords: "Die Eingabe ist zu lang. Sie muss aus %s oder weniger Wörtern bestehen.",
+ words: "Die Länge der Eingabe ist ungültig. Sie muss zwischen %s und %s Wörter enthalten.",
+ gt: "Die Eingabe muss größer sein.",
+ gte: "Die Eingabe muss größer oder gleich sein.",
+ lt: "Die Eingabe muss kleiner sein.",
+ lte: "Die Eingabe muss kleiner oder gleich sein."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/de.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/de.js
new file mode 100644
index 00000000..2d8e2f4f
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/de.js
@@ -0,0 +1,30 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.de = $.extend(window.ParsleyConfig.i18n.de || {}, {
+ defaultMessage: "Die Eingabe scheint nicht korrekt zu sein.",
+ type: {
+ email: "Die Eingabe muss eine gültige E-Mail-Adresse sein.",
+ url: "Die Eingabe muss eine gültige URL sein.",
+ number: "Die Eingabe muss eine Zahl sein.",
+ integer: "Die Eingabe muss eine Zahl sein.",
+ digits: "Die Eingabe darf nur Ziffern enthalten.",
+ alphanum: "Die Eingabe muss alphanumerisch sein."
+ },
+ notblank: "Die Eingabe darf nicht leer sein.",
+ required: "Dies ist ein Pflichtfeld.",
+ pattern: "Die Eingabe scheint ungültig zu sein.",
+ min: "Die Eingabe muss größer oder gleich %s sein.",
+ max: "Die Eingabe muss kleiner oder gleich %s sein.",
+ range: "Die Eingabe muss zwischen %s und %s liegen.",
+ minlength: "Die Eingabe ist zu kurz. Es müssen mindestens %s Zeichen eingegeben werden.",
+ maxlength: "Die Eingabe ist zu lang. Es dürfen höchstens %s Zeichen eingegeben werden.",
+ length: "Die Länge der Eingabe ist ungültig. Es müssen zwischen %s und %s Zeichen eingegeben werden.",
+ equalto: "Dieses Feld muss dem anderen entsprechen."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('de', window.ParsleyConfig.i18n.de, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/en.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/en.extra.js
new file mode 100644
index 00000000..07a31c92
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/en.extra.js
@@ -0,0 +1,13 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.en = $.extend(window.ParsleyConfig.i18n.en || {}, {
+ dateiso: "This value should be a valid date (YYYY-MM-DD).",
+ minwords: "This value is too short. It should have %s words or more.",
+ maxwords: "This value is too long. It should have %s words or fewer.",
+ words: "This value length is invalid. It should be between %s and %s words long.",
+ gt: "This value should be greater.",
+ gte: "This value should be greater or equal.",
+ lt: "This value should be less.",
+ lte: "This value should be less or equal."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/en.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/en.js
new file mode 100644
index 00000000..2528095c
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/en.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.en = $.extend(window.ParsleyConfig.i18n.en || {}, {
+ defaultMessage: "This value seems to be invalid.",
+ type: {
+ email: "This value should be a valid email.",
+ url: "This value should be a valid url.",
+ number: "This value should be a valid number.",
+ integer: "This value should be a valid integer.",
+ digits: "This value should be digits.",
+ alphanum: "This value should be alphanumeric."
+ },
+ notblank: "This value should not be blank.",
+ required: "This value is required.",
+ pattern: "This value seems to be invalid.",
+ min: "This value should be greater than or equal to %s.",
+ max: "This value should be lower than or equal to %s.",
+ range: "This value should be between %s and %s.",
+ minlength: "This value is too short. It should have %s characters or more.",
+ maxlength: "This value is too long. It should have %s characters or fewer.",
+ length: "This value length is invalid. It should be between %s and %s characters long.",
+ mincheck: "You must select at least %s choices.",
+ maxcheck: "You must select %s choices or fewer.",
+ check: "You must select between %s and %s choices.",
+ equalto: "This value should be the same."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('en', window.ParsleyConfig.i18n.en, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/es.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/es.js
new file mode 100644
index 00000000..0a4d5964
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/es.js
@@ -0,0 +1,32 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.es = $.extend(window.ParsleyConfig.i18n.es || {}, {
+ defaultMessage: "Este valor parece ser inválido.",
+ type: {
+ email: "Este valor debe ser un correo válido.",
+ url: "Este valor debe ser una URL válida.",
+ number: "Este valor debe ser un número válido.",
+ integer: "Este valor debe ser un número válido.",
+ digits: "Este valor debe ser un dígito válido.",
+ alphanum: "Este valor debe ser alfanumérico."
+ },
+ notblank: "Este valor no debe estar en blanco.",
+ required: "Este valor es requerido.",
+ pattern: "Este valor es incorrecto.",
+ min: "Este valor no debe ser menor que %s.",
+ max: "Este valor no debe ser mayor que %s.",
+ range: "Este valor debe estar entre %s y %s.",
+ minlength: "Este valor es muy corto. La longitud mínima es de %s caracteres.",
+ maxlength: "Este valor es muy largo. La longitud máxima es de %s caracteres.",
+ length: "La longitud de este valor debe estar entre %s y %s caracteres.",
+ mincheck: "Debe seleccionar al menos %s opciones.",
+ maxcheck: "Debe seleccionar %s opciones o menos.",
+ check: "Debe seleccionar entre %s y %s opciones.",
+ equalto: "Este valor debe ser idéntico."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('es', window.ParsleyConfig.i18n.es, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fa.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fa.js
new file mode 100644
index 00000000..c4db945d
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fa.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.fa = $.extend(window.ParsleyConfig.i18n.fa || {}, {
+ defaultMessage: "این مقدار صحیح نمی باشد",
+ type: {
+ email: "این مقدار باید یک ایمیل معتبر باشد",
+ url: "این مقدار باید یک آدرس معتبر باشد",
+ number: "این مقدار باید یک عدد معتبر باشد",
+ integer: "این مقدار باید یک عدد صحیح معتبر باشد",
+ digits: "این مقدار باید یک عدد باشد",
+ alphanum: "ایم مقدار باید حروف الفبا باشد"
+ },
+ notblank: "این مقدار نباید خالی باشد",
+ required: "این مقدار باید وارد شود",
+ pattern: "این مقدار به نظر می رسد نامعتبر است",
+ min: "این مقدیر باید بزرگتر با مساوی %s باشد",
+ max: "این مقدار باید کمتر و یا مساوی %s باشد",
+ range: "این مقدار باید بین %s و %s باشد",
+ minlength: "این مقدار بیش از حد کوتاه است و باید %s مقدار دیگر وارد شود",
+ maxlength: "این مقدار بیش از حد طولانی می باشد و لازم به %s مقدار کمتر هست",
+ length: "این مقدار نامعتبر است و باید بین %s و %s باشد",
+ mincheck: "You must select at least %s choices.",
+ maxcheck: "باید حداقل %s مورد انتخاب شود",
+ check: "باید بین %s و %s مورد انتخاب کنید",
+ equalto: "این مقدار باید یکسان باشد"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('fa', window.ParsleyConfig.i18n.fa, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fi.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fi.extra.js
new file mode 100644
index 00000000..467f094e
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fi.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.fi = $.extend(window.ParsleyConfig.i18n.fi || {}, {
+ dateiso: "Syötä oikea päivämäärä (YYYY-MM-DD)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fi.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fi.js
new file mode 100644
index 00000000..42c06dae
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fi.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.fi = $.extend(window.ParsleyConfig.i18n.fi || {}, {
+ defaultMessage: "Syötetty arvo on virheellinen.",
+ type: {
+ email: "Sähköpostiosoite on virheellinen.",
+ url: "Url-osoite on virheellinen.",
+ number: "Syötä numero.",
+ integer: "Syötä kokonaisluku.",
+ digits: "Syötä ainoastaan numeroita.",
+ alphanum: "Syötä ainoastaan kirjaimia tai numeroita."
+ },
+ notblank: "Tämä kenttää ei voi jättää tyhjäksi.",
+ required: "Tämä kenttä on pakollinen.",
+ pattern: "Syötetty arvo on virheellinen.",
+ min: "Syötä arvo joka on yhtä suuri tai suurempi kuin %s.",
+ max: "Syötä arvo joka on pienempi tai yhtä suuri kuin %s.",
+ range: "Syötä arvo väliltä: %s-%s.",
+ minlength: "Syötetyn arvon täytyy olla vähintään %s merkkiä pitkä.",
+ maxlength: "Syötetty arvo saa olla enintään %s merkkiä pitkä.",
+ length: "Syötetyn arvon täytyy olla vähintään %s ja enintään %s merkkiä pitkä.",
+ mincheck: "Valitse vähintään %s vaihtoehtoa.",
+ maxcheck: "Valitse enintään %s vaihtoehtoa.",
+ check: "Valitse %s-%s vaihtoehtoa.",
+ equalto: "Salasanat eivät täsmää."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('fi', window.ParsleyConfig.i18n.fi, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fr.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fr.extra.js
new file mode 100644
index 00000000..150abc66
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fr.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.fr = $.extend(window.ParsleyConfig.i18n.fr || {}, {
+ dateiso: "Cette valeur n'est pas une date valide (YYYY-MM-DD)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fr.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fr.js
new file mode 100644
index 00000000..df465ee7
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/fr.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.fr = $.extend(window.ParsleyConfig.i18n.fr || {}, {
+ defaultMessage: "Cette valeur semble non valide.",
+ type: {
+ email: "Cette valeur n'est pas une adresse email valide.",
+ url: "Cette valeur n'est pas une URL valide.",
+ number: "Cette valeur doit être un nombre.",
+ integer: "Cette valeur doit être un entier.",
+ digits: "Cette valeur doit être numérique.",
+ alphanum: "Cette valeur doit être alphanumérique."
+ },
+ notblank: "Cette valeur ne peut pas être vide.",
+ required: "Ce champ est requis.",
+ pattern: "Cette valeur semble non valide.",
+ min: "Cette valeur ne doit pas être inférieure à %s.",
+ max: "Cette valeur ne doit pas excéder %s.",
+ range: "Cette valeur doit être comprise entre %s et %s.",
+ minlength: "Cette chaîne est trop courte. Elle doit avoir au minimum %s caractères.",
+ maxlength: "Cette chaîne est trop longue. Elle doit avoir au maximum %s caractères.",
+ length: "Cette valeur doit contenir entre %s et %s caractères.",
+ mincheck: "Vous devez sélectionner au moins %s choix.",
+ maxcheck: "Vous devez sélectionner %s choix maximum.",
+ check: "Vous devez sélectionner entre %s et %s choix.",
+ equalto: "Cette valeur devrait être identique."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('fr', window.ParsleyConfig.i18n.fr, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/he.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/he.extra.js
new file mode 100644
index 00000000..1b903f08
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/he.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.he = $.extend(window.ParsleyConfig.i18n.he || {}, {
+ dateiso: "ערך זה צריך להיות תאריך בפורמט (YYYY-MM-DD)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/he.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/he.js
new file mode 100644
index 00000000..1a24d13c
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/he.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.he = $.extend(window.ParsleyConfig.i18n.he || {}, {
+ defaultMessage: "נראה כי ערך זה אינו תקף.",
+ type: {
+ email: "ערך זה צריך להיות כתובת אימייל.",
+ url: "ערך זה צריך להיות URL תקף.",
+ number: "ערך זה צריך להיות מספר.",
+ integer: "ערך זה צריך להיות מספר שלם.",
+ digits: "ערך זה צריך להיות ספרתי.",
+ alphanum: "ערך זה צריך להיות אלפאנומרי."
+ },
+ notblank: "ערך זה אינו יכול להשאר ריק.",
+ required: "ערך זה דרוש.",
+ pattern: "נראה כי ערך זה אינו תקף.",
+ min: "ערך זה צריך להיות לכל הפחות %s.",
+ max: "ערך זה צריך להיות לכל היותר %s.",
+ range: "ערך זה צריך להיות בין %s ל-%s.",
+ minlength: "ערך זה קצר מידי. הוא צריך להיות לכל הפחות %s תווים.",
+ maxlength: "ערך זה ארוך מידי. הוא צריך להיות לכל היותר %s תווים.",
+ length: "ערך זה אינו באורך תקף. האורך צריך להיות בין %s ל-%s תווים.",
+ mincheck: "אנא בחר לפחות %s אפשרויות.",
+ maxcheck: "אנא בחר לכל היותר %s אפשרויות.",
+ check: "אנא בחר בין %s ל-%s אפשרויות.",
+ equalto: "ערך זה צריך להיות זהה."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('he', window.ParsleyConfig.i18n.he, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/id.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/id.extra.js
new file mode 100644
index 00000000..64b9bcec
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/id.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.id = $.extend(window.ParsleyConfig.i18n.id || {}, {
+ dateiso: "Harus tanggal yang valid (YYYY-MM-DD)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/id.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/id.js
new file mode 100644
index 00000000..c5498796
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/id.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.id = $.extend(window.ParsleyConfig.i18n.id || {}, {
+ defaultMessage: "tidak valid",
+ type: {
+ email: "email tidak valid",
+ url: "url tidak valid",
+ number: "nomor tidak valid",
+ integer: "integer tidak valid",
+ digits: "harus berupa digit",
+ alphanum: "harus berupa alphanumeric"
+ },
+ notblank: "tidak boleh kosong",
+ required: "tidak boleh kosong",
+ pattern: "tidak valid",
+ min: "harus lebih besar atau sama dengan %s.",
+ max: "harus lebih kecil atau sama dengan %s.",
+ range: "harus dalam rentang %s dan %s.",
+ minlength: "terlalu pendek, minimal %s karakter atau lebih.",
+ maxlength: "terlalu panjang, maksimal %s karakter atau kurang.",
+ length: "panjang karakter harus dalam rentang %s dan %s",
+ mincheck: "pilih minimal %s pilihan",
+ maxcheck: "pilih maksimal %s pilihan",
+ check: "pilih antar %s dan %s pilihan",
+ equalto: "harus sama"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('id', window.ParsleyConfig.i18n.id, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/it.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/it.extra.js
new file mode 100644
index 00000000..bbc6f05b
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/it.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.it = $.extend(window.ParsleyConfig.i18n.it || {}, {
+ dateiso: "Inserire una data valida (AAAA-MM-GG)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/it.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/it.js
new file mode 100644
index 00000000..b217c4a7
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/it.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.it = $.extend(window.ParsleyConfig.i18n.it || {}, {
+ defaultMessage: "Questo valore sembra essere non valido.",
+ type: {
+ email: "Questo valore deve essere un indirizzo email valido.",
+ url: "Questo valore deve essere un URL valido.",
+ number: "Questo valore deve essere un numero valido.",
+ integer: "Questo valore deve essere un numero valido.",
+ digits: "Questo valore deve essere di tipo numerico.",
+ alphanum: "Questo valore deve essere di tipo alfanumerico."
+ },
+ notblank: "Questo valore non deve essere vuoto.",
+ required: "Questo valore è richiesto.",
+ pattern: "Questo valore non è corretto.",
+ min: "Questo valore deve essere maggiore di %s.",
+ max: "Questo valore deve essere minore di %s.",
+ range: "Questo valore deve essere compreso tra %s e %s.",
+ minlength: "Questo valore è troppo corto. La lunghezza minima è di %s caratteri.",
+ maxlength: "Questo valore è troppo lungo. La lunghezza massima è di %s caratteri.",
+ length: "La lunghezza di questo valore deve essere compresa fra %s e %s caratteri.",
+ mincheck: "Devi scegliere almeno %s opzioni.",
+ maxcheck: "Devi scegliere al più %s opzioni.",
+ check: "Devi scegliere tra %s e %s opzioni.",
+ equalto: "Questo valore deve essere identico."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('it', window.ParsleyConfig.i18n.it, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ja.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ja.js
new file mode 100644
index 00000000..4c314a7f
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ja.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.ja = $.extend(window.ParsleyConfig.i18n.ja || {}, {
+ defaultMessage: "無効な値です。",
+ type: {
+ email: "正しいメールアドレスを入力してください。",
+ url: "正しいURLを入力してください。",
+ number: "正しい数字を入力してください。",
+ integer: "正しい数値を入力してください。",
+ digits: "正しい桁数で入力してください。",
+ alphanum: "正しい英数字を入力してください。"
+ },
+ notblank: "この値を入力してください",
+ required: "この値は必須です。",
+ pattern: "この値は無効です。",
+ min: "%s 以上の値にしてください。",
+ max: "%s 以下の値にしてください。",
+ range: "%s から %s の値にしてください。",
+ minlength: "%s 文字以上で入力してください。",
+ maxlength: "%s 文字以下で入力してください。",
+ length: "%s から %s 文字の間で入力してください。",
+ mincheck: "%s 個以上選択してください。",
+ maxcheck: "%s 個以下選択してください。",
+ check: "%s から %s 個選択してください。",
+ equalto: "値が違います。"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('ja', window.ParsleyConfig.i18n.ja, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ko.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ko.js
new file mode 100644
index 00000000..11a0e747
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ko.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.ko = $.extend(window.ParsleyConfig.i18n.ko || {}, {
+ defaultMessage: "입력하신 내용이 올바르지 않습니다.",
+ type: {
+ email: "입력하신 이메일이 유효하지 않습니다.",
+ url: "입력하신 URL이 유효하지 않습니다.",
+ number: "입력하신 전화번호가 올바르지 않습니다.",
+ integer: "입력하신 URL이 유효하지 않습니다.",
+ digits: "숫자를 입력하여 주십시오.",
+ alphanum: "입력하신 내용은 알파벳과 숫자의 조합이어야 합니다."
+ },
+ notblank: "공백은 입력하실 수 없습니다.",
+ required: "필수 입력사항입니다.",
+ pattern: "입력하신 내용이 올바르지 않습니다.",
+ min: "입력하신 내용이 %s보다 크거나 같아야 합니다. ",
+ max: "입력하신 내용이 %s보다 작거나 같아야 합니다.",
+ range: "입력하신 내용이 %s보다 크고 %s 보다 작아야 합니다.",
+ minlength: "%s 이상의 글자수를 입력하십시오. ",
+ maxlength: "%s 이하의 글자수를 입력하십시오. ",
+ length: "입력하신 내용의 글자수가 %s보다 크고 %s보다 작아야 합니다.",
+ mincheck: "최소한 %s개를 선택하여 주십시오. ",
+ maxcheck: "%s개 또는 그보다 적게 선택하여 주십시오.",
+ check: "선택하신 내용이 %s보다 크거나 %s보다 작아야 합니다.",
+ equalto: "같은 값을 입력하여 주십시오."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('ko', window.ParsleyConfig.i18n.ko, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ms_MY.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ms_MY.extra.js
new file mode 100644
index 00000000..21811b1f
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ms_MY.extra.js
@@ -0,0 +1,13 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.ms_MY = $.extend(window.ParsleyConfig.i18n.ms_MY || {}, {
+ dateiso: "Nilai hendaklah berbentuk tarikh yang sah (YYYY-MM-DD).",
+ minwords: "Ayat terlalu pendek. Ianya perlu sekurang-kurangnya %s patah perkataan.",
+ maxwords: "Ayat terlalu panjang. Ianya tidak boleh melebihi %s patah perkataan.",
+ words: "Panjang ayat tidak sah. Jumlah perkataan adalah diantara %s hingga %s patah perkataan.",
+ gt: "Nilai lebih besar diperlukan.",
+ gte: "Nilai hendaklah lebih besar atau sama.",
+ lt: "Nilai lebih kecil diperlukan.",
+ lte: "Nilai hendaklah lebih kecil atau sama."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ms_MY.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ms_MY.js
new file mode 100644
index 00000000..4568dd65
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ms_MY.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.ms_MY = $.extend(window.ParsleyConfig.i18n.ms_MY || {}, {
+ defaultMessage: "Nilai tidak sah.",
+ type: {
+ email: "Nilai mestilah dalam format emel yang sah.",
+ url: "Nilai mestilah dalam bentuk url yang sah.",
+ number: "Hanya nombor dibenarkan.",
+ integer: "Hanya integer dibenarkan.",
+ digits: "Hanya angka dibenarkan.",
+ alphanum: "Hanya alfanumerik dibenarkan."
+ },
+ notblank: "Nilai ini tidak boleh kosong.",
+ required: "Nilai ini wajib diisi.",
+ pattern: "Bentuk nilai ini tidak sah.",
+ min: "Nilai perlu lebih besar atau sama dengan %s.",
+ max: "Nilai perlu lebih kecil atau sama dengan %s.",
+ range: "Nilai perlu berada antara %s hingga %s.",
+ minlength: "Nilai terlalu pendek. Ianya perlu sekurang-kurangnya %s huruf.",
+ maxlength: "Nilai terlalu panjang. Ianya tidak boleh melebihi %s huruf.",
+ length: "Panjang nilai tidak sah. Panjangnya perlu diantara %s hingga %s huruf.",
+ mincheck: "Anda mesti memilih sekurang-kurangnya %s pilihan.",
+ maxcheck: "Anda tidak boleh memilih lebih daripada %s pilihan.",
+ check: "Anda mesti memilih diantara %s hingga %s pilihan.",
+ equalto: "Nilai dimasukkan hendaklah sama."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('ms_MY', window.ParsleyConfig.i18n.ms_MY, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/nl.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/nl.extra.js
new file mode 100644
index 00000000..f5bd28b9
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/nl.extra.js
@@ -0,0 +1,11 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.nl = $.extend(window.ParsleyConfig.i18n.nl || {}, {
+ dateiso: "Deze waarde moet een datum in het volgende formaat zijn: (YYYY-MM-DD).",
+ minwords: "Deze waarde moet minstens %s woorden bevatten.",
+ maxwords: "Deze waarde mag maximaal %s woorden bevatten.",
+ words: "Deze waarde moet tussen de %s en %s woorden bevatten.",
+ gt: "Deze waarde moet groter dan %s zijn.",
+ lt: "Deze waarde moet kleiner dan %s zijn."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/nl.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/nl.js
new file mode 100644
index 00000000..b2d4620e
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/nl.js
@@ -0,0 +1,30 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.nl = $.extend(window.ParsleyConfig.i18n.nl || {}, {
+ defaultMessage: "Deze waarde lijkt onjuist.",
+ type: {
+ email: "Dit lijkt geen geldig e-mail adres te zijn.",
+ url: "Dit lijkt geen geldige URL te zijn.",
+ number: "Deze waarde moet een nummer zijn.",
+ integer: "Deze waarde moet een nummer zijn.",
+ digits: "Deze waarde moet numeriek zijn.",
+ alphanum: "Deze waarde moet alfanumeriek zijn."
+ },
+ notblank: "Deze waarde mag niet leeg zijn.",
+ required: "Dit veld is verplicht.",
+ pattern: "Deze waarde lijkt onjuist te zijn.",
+ min: "Deze waarde mag niet lager zijn dan %s.",
+ max: "Deze waarde mag niet groter zijn dan %s.",
+ range: "Deze waarde moet tussen %s en %s liggen.",
+ minlength: "Deze tekst is te kort. Deze moet uit minimaal %s karakters bestaan.",
+ maxlength: "Deze waarde is te lang. Deze mag maximaal %s karakters lang zijn.",
+ length: "Deze waarde moet tussen %s en %s karakters lang zijn.",
+ equalto: "Deze waardes moeten identiek zijn."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('nl', window.ParsleyConfig.i18n.nl, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/pl.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/pl.js
new file mode 100644
index 00000000..4a3e251b
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/pl.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.pl = $.extend(window.ParsleyConfig.i18n.pl || {}, {
+ defaultMessage: "Wartość wygląda na nieprawidłową",
+ type: {
+ email: "Wpisz poprawny adres e-mail.",
+ url: "Wpisz poprawny adres URL.",
+ number: "Wpisz poprawną liczbę.",
+ integer: "Dozwolone jedynie liczby człkowite.",
+ digits: "Dozwolone jedynie cyfry.",
+ alphanum: "Dozwolone jedynie znaki alfanumeryczne."
+ },
+ notblank: "Pole nie może zostać puste",
+ required: "Pole jest wymagane.",
+ pattern: "Wartość wygląda na nieprawidłową.",
+ min: "Wartość powinna być większa od %s.",
+ max: "Wartość powinna być mniejsza od %s.",
+ range: "Wartość powinna być większa od %s i mniejsza od %s.",
+ minlength: "Ilość znaków powinna wynosić %s lub więcej.",
+ maxlength: "Ilość znaków powinna wynosić %s lub mniej.",
+ length: "Ilość znaków powinna wynosić od %s do %s.",
+ mincheck: "Musisz wybrać minimum %s opcji.",
+ maxcheck: "Możesz wybrać maksymalnie %s opcji.",
+ check: "Minimalnie możesz wybrać od %s do %s opcji",
+ equalto: "Wartości nie są identyczne"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('pl', window.ParsleyConfig.i18n.pl, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/pt-br.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/pt-br.js
new file mode 100644
index 00000000..c70ca404
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/pt-br.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n['pt-br'] = $.extend(window.ParsleyConfig.i18n['pt-br'] || {}, {
+ defaultMessage: "Este valor parece ser inválido.",
+ type: {
+ email: "Este campo deve ser um email válido.",
+ url: "Este campo deve ser um URL válida.",
+ number: "Este campo deve ser um número válido.",
+ integer: "Este campo deve ser um inteiro válido.",
+ digits: "Este campo deve conter apenas dígitos.",
+ alphanum: "Este campo deve ser alfa numérico."
+ },
+ notblank: "Este campo não pode ficar vazio.",
+ required: "Este campo é obrigatório.",
+ pattern: "Este campo parece estar inválido.",
+ min: "Este campo deve ser maior ou igual a %s.",
+ max: "Este campo deve ser menor ou igual a %s.",
+ range: "Este campo deve estar entre %s e %s.",
+ minlength: "Este campo é pequeno demais. Ele deveria ter %s caracteres ou mais.",
+ maxlength: "Este campo é grande demais. Ele deveria ter %s caracteres ou menos.",
+ length: "O tamanho deste campo é inválido. Ele deveria ter entre %s e %s caracteres.",
+ mincheck: "Você deve escolher pelo menos %s opções.",
+ maxcheck: "Você deve escolher %s opções ou mais",
+ check: "Você deve escolher entre %s e %s opções.",
+ equalto: "Este valor deveria ser igual."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('pt-br', window.ParsleyConfig.i18n['pt-br'], true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ru.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ru.extra.js
new file mode 100644
index 00000000..f8440de9
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ru.extra.js
@@ -0,0 +1,9 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.ru = $.extend(window.ParsleyConfig.i18n.ru || {}, {
+ dateiso: "Это значение должно быть корректной датой (ГГГГ-ММ-ДД).",
+ minwords: "Это значение должно содержать не менее %s слов.",
+ maxwords: "Это значение должно содержать не более %s слов.",
+ words: "Это значение должно содержать от %s до %s слов."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ru.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ru.js
new file mode 100644
index 00000000..f98f1ca1
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/ru.js
@@ -0,0 +1,38 @@
+//Parsley localization for Russian language
+//Evgeni Makarov
+//github.com/emakarov
+
+
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.ru = $.extend(window.ParsleyConfig.i18n.ru || {}, {
+ defaultMessage: "Некорректное значение.",
+ type: {
+ email: "Введите адрес электронной почты.",
+ url: "Введите URL адрес.",
+ number: "Введите число.",
+ integer: "Введите целое число.",
+ digits: "Введите только цифры.",
+ alphanum: "Введите буквенно-цифровое значение."
+ },
+ notblank: "Это поле должно быть заполнено.",
+ required: "Обязательное поле.",
+ pattern: "Это значение некорректно.",
+ min: "Это значение должно быть не менее чем %s.",
+ max: "Это значение должно быть не более чем %s.",
+ range: "Это значение должно быть от %s до %s.",
+ minlength: "Это значение должно содержать не менее %s символов.",
+ maxlength: "Это значение должно содержать не более %s символов.",
+ length: "Это значение должно содержать от %s до %s символов.",
+ mincheck: "Выберите не менее %s значений.",
+ maxcheck: "Выберите не более %s значений.",
+ check: "Выберите от %s до %s значений.",
+ equalto: "Это значение должно совпадать."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('ru', window.ParsleyConfig.i18n.ru, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/sv.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/sv.extra.js
new file mode 100644
index 00000000..ac42a8d2
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/sv.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.sv = $.extend(window.ParsleyConfig.i18n.sv || {}, {
+ dateiso: "Ange ett giltigt datum (ÅÅÅÅ-MM-DD)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/sv.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/sv.js
new file mode 100644
index 00000000..c5b6e32a
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/sv.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.sv = $.extend(window.ParsleyConfig.i18n.sv || {}, {
+ defaultMessage: "Ogiltigt värde.",
+ type: {
+ email: "Ange en giltig e-postadress.",
+ url: "Ange en giltig URL.",
+ number: "Ange ett giltigt nummer.",
+ integer: "Ange ett heltal.",
+ digits: "Ange endast siffror.",
+ alphanum: "Ange endast bokstäver och siffror."
+ },
+ notblank: "Värdet får inte vara tomt.",
+ required: "Måste fyllas i.",
+ pattern: "Värdet är ej giltigt.",
+ min: "Värdet måste vara större än eller lika med %s.",
+ max: "Värdet måste vara mindre än eller lika med %s.",
+ range: "Värdet måste vara mellan %s och %s.",
+ minlength: "Värdet måste vara minst %s tecken.",
+ maxlength: "Värdet får maximalt innehålla %s tecken.",
+ length: "Värdet måste vara mellan %s och %s tecken.",
+ mincheck: "Minst %s val måste göras.",
+ maxcheck: "Maximalt %s val får göras.",
+ check: "Mellan %s och %s val måste göras.",
+ equalto: "Värdena måste vara lika."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('sv', window.ParsleyConfig.i18n.sv, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/th.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/th.js
new file mode 100644
index 00000000..5a017263
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/th.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.th = $.extend(window.ParsleyConfig.i18n.th || {}, {
+ defaultMessage: "ค่านี้ดูเหมือนว่าจะไม่ถูกต้อง",
+ type: {
+ email: "ค่านี้ควรจะเป็นอีเมลที่ถูกต้อง",
+ url: "ค่านี้ควรจะเป็น url ที่ถูกต้อง",
+ number: "ค่านี้ควรจะเป็นตัวเลขที่ถูกต้อง",
+ integer: "ค่านี้ควรจะเป็นจำนวนเต็มที่ถูกต้อง",
+ digits: "ค่านี้ควรเป็นทศนิยมที่ถูกต้อง",
+ alphanum: "ค่านี้ควรเป็นอักขระตัวอักษรหรือตัวเลขที่ถูกต้อง"
+ },
+ notblank: "ค่านี้ไม่ควรจะว่าง",
+ required: "ค่านี้จำเป็น",
+ pattern: "ค่านี้ดูเหมือนว่าจะไม่ถูกต้อง",
+ min: "ค่านี้ควรมากกว่าหรือเท่ากับ %s.",
+ max: "ค่านี้ควรจะน้อยกว่าหรือเท่ากับ %s.",
+ range: "ค่ายี้ควรจะอยู่ระหว่าง %s และ %s.",
+ minlength: "ค่านี้สั้นเกินไป ควรจะมี %s อักขระหรือมากกว่า",
+ maxlength: "ค่านี้ยาวเกินไป ควรจะมี %s อักขระหรือน้อยกว่า",
+ length: "ความยาวของค่านี้ไม่ถูกต้อง ควรมีความยาวอยู่ระหว่าง %s และ %s อักขระ",
+ mincheck: "คุณควรเลือกอย่างน้อย %s ตัวเลือก",
+ maxcheck: "คุณควรเลือก %s ตัวเลือกหรือน้อยกว่า",
+ check: "คุณควรเลือกระหว่าง %s และ %s ตัวเลือก",
+ equalto: "ค่านี้ควรจะเหมือนกัน"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('th', window.ParsleyConfig.i18n.th, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/tr.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/tr.js
new file mode 100644
index 00000000..bdcf9afa
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/tr.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.tr = $.extend(window.ParsleyConfig.i18n.tr || {}, {
+ defaultMessage: "Bu değer geçerli değil.",
+ type: {
+ email: "Geçerli bir e-posta adresi yazınız.",
+ url: "Geçerli bir bağlantı adresi yazınız.",
+ number: "Geçerli bir sayı yazınız.",
+ integer: "Geçerli bir tamsayı yazınız.",
+ digits: "Geçerli bir rakam yazınız.",
+ alphanum: "Geçerli bir alfanümerik değer yazınız."
+ },
+ notblank: "Bu alan boş bırakılmamalıdır.",
+ required: "Bu alan gereklidir.",
+ pattern: "Girdiğiniz değer geçerli değil.",
+ min: "Bu alan %s değerinden büyük ya da eşit olmalıdır.",
+ max: "Bu alan %s değerinden küçük ya da eşit olmalıdır.",
+ range: "Bu alan %s ve %s değerleri arasında olmalıdır.",
+ minlength: "Girdiğiniz değer çok kısa. Bu alan %s değerine eşit ya da fazla olmalıdır.",
+ maxlength: "Girdiğiniz değer çok uzun. Bu alan %s değerine eşit ya da az olmalıdır.",
+ length: "Girdiğiniz değerin uzunluğu geçersiz. Bu alanın uzunluğu %s ve %s arasında olmalıdır.",
+ mincheck: "En az %s adet seçim yapmalısınız.",
+ maxcheck: "En fazla %s ya da daha az seçim yapmalısınız.",
+ check: "Bu alan için en az %s en fazla %s seçim yapmalısınız.",
+ equalto: "Bu alanın değeri aynı olmalıdır."
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('tr', window.ParsleyConfig.i18n.tr, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_cn.extra.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_cn.extra.js
new file mode 100644
index 00000000..a9b2aa75
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_cn.extra.js
@@ -0,0 +1,6 @@
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+window.ParsleyConfig.i18n.zh_cn = $.extend(window.ParsleyConfig.i18n.zh_cn || {}, {
+ dateiso: "请输入正确格式的日期 (YYYY-MM-DD)."
+});
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_cn.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_cn.js
new file mode 100644
index 00000000..e5b8cdf1
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_cn.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.zh_cn = $.extend(window.ParsleyConfig.i18n.zh_cn || {}, {
+ defaultMessage: "不正确的值",
+ type: {
+ email: "请输入一个有效的电子邮箱地址",
+ url: "请输入一个有效的链接",
+ number: "请输入正确的数字",
+ integer: "请输入正确的整数",
+ digits: "请输入正确的号码",
+ alphanum: "请输入字母或数字"
+ },
+ notblank: "请输入值",
+ required: "必填项",
+ pattern: "格式不正确",
+ min: "输入值请大于或等于 %s",
+ max: "输入值请小于或等于 %s",
+ range: "输入值应该在 %s 到 %s 之间",
+ minlength: "请输入至少 %s 个字符",
+ maxlength: "请输入至多 %s 个字符",
+ length: "字符长度应该在 %s 到 %s 之间",
+ mincheck: "请至少选择 %s 个选项",
+ maxcheck: "请选择不超过 %s 个选项",
+ check: "请选择 %s 到 %s 个选项",
+ equalto: "输入值不同"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('zh_cn', window.ParsleyConfig.i18n.zh_cn, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_tw.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_tw.js
new file mode 100644
index 00000000..934f2eda
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/forms-locale/zh_tw.js
@@ -0,0 +1,33 @@
+// ParsleyConfig definition if not already set
+window.ParsleyConfig = window.ParsleyConfig || {};
+window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
+
+// Define then the messages
+window.ParsleyConfig.i18n.zh_tw = $.extend(window.ParsleyConfig.i18n.zh_tw || {}, {
+ defaultMessage: "這個值似乎是無效的。",
+ type: {
+ email: "請輸入一個有效的email。",
+ url: "請輸入一個有效的網址。",
+ number: "這個值應該是一個數字。",
+ integer: "這個值應該是一個整數數字。",
+ digits: "這個值應該是一個號碼。",
+ alphanum: "這個值應該是字母或數字。"
+ },
+ notblank: "這個值不應該為空值。",
+ required: "這個空格必須填寫。",
+ pattern: "這個值似乎是無效的。",
+ min: "輸入的值應該大於或等於 %s",
+ max: "輸入的值應該小於或等於 %s",
+ range: "這個值應該在 %s 和 %s 之間。",
+ minlength: "這個值至少要 %s 字元。",
+ maxlength: "這個值最多要 %s 字元。",
+ length: "字元長度應該在 %s 和 %s",
+ mincheck: "你至少要選擇 %s 個項目。",
+ maxcheck: "你最多可選擇 %s 個項目。",
+ check: "你必須選擇 %s 到 %s 個項目。",
+ equalto: "輸入值不同"
+});
+
+// If file is loaded after Parsley main file, auto-load locale
+if ('undefined' !== typeof window.ParsleyValidator)
+ window.ParsleyValidator.addCatalog('zh_tw', window.ParsleyConfig.i18n.zh_tw, true);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/image-edit.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/image-edit.js
new file mode 100644
index 00000000..61efda8b
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/image-edit.js
@@ -0,0 +1,10 @@
+var fabric=fabric||{version:"1.3.12"};"undefined"!=typeof exports&&(exports.fabric=fabric),"undefined"!=typeof document&&"undefined"!=typeof window?(fabric.document=document,fabric.window=window):(fabric.document=require("jsdom").jsdom(""),fabric.window=fabric.document.createWindow()),fabric.isTouchSupported="ontouchstart"in fabric.document.documentElement,fabric.isLikelyNode="undefined"!=typeof Buffer&&"undefined"==typeof window,fabric.SHARED_ATTRIBUTES=["transform","fill","fill-opacity","fill-rule","opacity","stroke","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width"],function(){function a(a,b){this.__eventListeners[a]&&(b?fabric.util.removeFromArray(this.__eventListeners[a],b):this.__eventListeners[a].length=0)}function b(a,b){if(this.__eventListeners||(this.__eventListeners={}),1===arguments.length)for(var c in a)this.on(c,a[c]);else this.__eventListeners[a]||(this.__eventListeners[a]=[]),this.__eventListeners[a].push(b);return this}function c(b,c){if(this.__eventListeners){if(0===arguments.length)this.__eventListeners={};else if(1===arguments.length&&"object"==typeof arguments[0])for(var d in b)a.call(this,d,b[d]);else a.call(this,b,c);return this}}function d(a,b){if(this.__eventListeners){var c=this.__eventListeners[a];if(c){for(var d=0,e=c.length;e>d;d++)c[d].call(this,b||{});return this}}}fabric.Observable={observe:b,stopObserving:c,fire:d,on:b,off:c,trigger:d}}(),fabric.Collection={add:function(){this._objects.push.apply(this._objects,arguments);for(var a=arguments.length;a--;)this._onObjectAdded(arguments[a]);return this.renderOnAddRemove&&this.renderAll(),this},insertAt:function(a,b,c){var d=this.getObjects();return c?d[b]=a:d.splice(b,0,a),this._onObjectAdded(a),this.renderOnAddRemove&&this.renderAll(),this},remove:function(a){var b=this.getObjects(),c=b.indexOf(a);return-1!==c&&(b.splice(c,1),this._onObjectRemoved(a)),this.renderOnAddRemove&&this.renderAll(),a},forEachObject:function(a,b){for(var c=this.getObjects(),d=c.length;d--;)a.call(b,c[d],d,c);return this},getObjects:function(a){return"undefined"==typeof a?this._objects:this._objects.filter(function(b){return b.type===a})},item:function(a){return this.getObjects()[a]},isEmpty:function(){return 0===this.getObjects().length},size:function(){return this.getObjects().length},contains:function(a){return this.getObjects().indexOf(a)>-1},complexity:function(){return this.getObjects().reduce(function(a,b){return a+=b.complexity?b.complexity():0},0)}},function(a){var b=Math.sqrt,c=Math.atan2,d=Math.PI/180;fabric.util={removeFromArray:function(a,b){var c=a.indexOf(b);return-1!==c&&a.splice(c,1),a},getRandomInt:function(a,b){return Math.floor(Math.random()*(b-a+1))+a},degreesToRadians:function(a){return a*d},radiansToDegrees:function(a){return a/d},rotatePoint:function(a,b,c){var d=Math.sin(c),e=Math.cos(c);a.subtractEquals(b);var f=a.x*e-a.y*d,g=a.x*d+a.y*e;return new fabric.Point(f,g).addEquals(b)},toFixed:function(a,b){return parseFloat(Number(a).toFixed(b))},falseFunction:function(){return!1},getKlass:function(a,b){return a=fabric.util.string.camelize(a.charAt(0).toUpperCase()+a.slice(1)),fabric.util.resolveNamespace(b)[a]},resolveNamespace:function(b){if(!b)return fabric;for(var c=b.split("."),d=c.length,e=a||fabric.window,f=0;d>f;++f)e=e[c[f]];return e},loadImage:function(a,b,c,d){if(!a)return void(b&&b.call(c,a));var e=fabric.util.createImage();e.onload=function(){b&&b.call(c,e),e=e.onload=e.onerror=null},e.onerror=function(){fabric.log("Error loading "+e.src),b&&b.call(c,null,!0),e=e.onload=e.onerror=null},0!==a.indexOf("data")&&(e.crossOrigin=d||""),e.src=a},enlivenObjects:function(a,b,c,d){function e(){++g===h&&b&&b(f)}a=a||[];var f=[],g=0,h=a.length;return h?void a.forEach(function(a,b){if(!a||!a.type)return void e();var g=fabric.util.getKlass(a.type,c);g.async?g.fromObject(a,function(c,g){g||(f[b]=c,d&&d(a,f[b])),e()}):(f[b]=g.fromObject(a),d&&d(a,f[b]),e())}):void(b&&b(f))},groupSVGElements:function(a,b,c){var d;return d=a.length>1?new fabric.PathGroup(a,b):a[0],"undefined"!=typeof c&&d.setSourcePath(c),d},populateWithProperties:function(a,b,c){if(c&&"[object Array]"===Object.prototype.toString.call(c))for(var d=0,e=c.length;e>d;d++)c[d]in a&&(b[c[d]]=a[c[d]])},drawDashedLine:function(a,d,e,f,g,h){var i=f-d,j=g-e,k=b(i*i+j*j),l=c(j,i),m=h.length,n=0,o=!0;for(a.save(),a.translate(d,e),a.moveTo(0,0),a.rotate(l),d=0;k>d;)d+=h[n++%m],d>k&&(d=k),a[o?"lineTo":"moveTo"](d,0),o=!o;a.restore()},createCanvasElement:function(a){return a||(a=fabric.document.createElement("canvas")),a.getContext||"undefined"==typeof G_vmlCanvasManager||G_vmlCanvasManager.initElement(a),a},createImage:function(){return fabric.isLikelyNode?new(require("canvas").Image):fabric.document.createElement("img")},createAccessors:function(a){for(var b=a.prototype,c=b.stateProperties.length;c--;){var d=b.stateProperties[c],e=d.charAt(0).toUpperCase()+d.slice(1),f="set"+e,g="get"+e;b[g]||(b[g]=function(a){return new Function('return this.get("'+a+'")')}(d)),b[f]||(b[f]=function(a){return new Function("value",'return this.set("'+a+'", value)')}(d))}},clipContext:function(a,b){b.save(),b.beginPath(),a.clipTo(b),b.clip()},multiplyTransformMatrices:function(a,b){for(var c=[[a[0],a[2],a[4]],[a[1],a[3],a[5]],[0,0,1]],d=[[b[0],b[2],b[4]],[b[1],b[3],b[5]],[0,0,1]],e=[],f=0;3>f;f++){e[f]=[];for(var g=0;3>g;g++){for(var h=0,i=0;3>i;i++)h+=c[f][i]*d[i][g];e[f][g]=h}}return[e[0][0],e[1][0],e[0][1],e[1][1],e[0][2],e[1][2]]},getFunctionBody:function(a){return(String(a).match(/function[^{]*\{([\s\S]*)\}/)||{})[1]},normalizePoints:function(a,b){var c=fabric.util.array.min(a,"x"),d=fabric.util.array.min(a,"y");c=0>c?c:0,d=0>c?d:0;for(var e=0,f=a.length;f>e;e++)a[e].x-=b.width/2+c||0,a[e].y-=b.height/2+d||0},isTransparent:function(a,b,c,d){d>0&&(b>d?b-=d:b=0,c>d?c-=d:c=0);for(var e=!0,f=a.getImageData(b,c,2*d||1,2*d||1),g=3,h=f.data.length;h>g;g+=4){var i=f.data[g];if(e=0>=i,e===!1)break}return f=null,e}}}("undefined"!=typeof exports?exports:this),function(){function a(a,c,f,h,i,j,k,l,m){if(d=g.call(arguments),e[d])return e[d];var n=b(k,f,h,l,m,a,c),o=(n.x1-n.x0)*(n.x1-n.x0)+(n.y1-n.y0)*(n.y1-n.y0),p=1/o-.25;0>p&&(p=0);var q=Math.sqrt(p);j===i&&(q=-q);var r=.5*(n.x0+n.x1)-q*(n.y1-n.y0),s=.5*(n.y0+n.y1)+q*(n.x1-n.x0),t=Math.atan2(n.y0-s,n.x0-r),u=Math.atan2(n.y1-s,n.x1-r),v=u-t;0>v&&1===j?v+=2*Math.PI:v>0&&0===j&&(v-=2*Math.PI);for(var w=Math.ceil(Math.abs(v/(.5*Math.PI+.001))),x=[],y=0;w>y;y++){var z=t+y*v/w,A=t+(y+1)*v/w;x[y]=[r,s,z,A,f,h,n.sin_th,n.cos_th]}return e[d]=x,x}function b(a,b,c,d,e,f,g){var h=a*(Math.PI/180),i=Math.sin(h),j=Math.cos(h);b=Math.abs(b),c=Math.abs(c);var k=j*(d-f)*.5+i*(e-g)*.5,l=j*(e-g)*.5-i*(d-f)*.5,m=k*k/(b*b)+l*l/(c*c);m>1&&(m=Math.sqrt(m),b*=m,c*=m);var n=j/b,o=i/b,p=-i/c,q=j/c;return{x0:n*d+o*e,y0:p*d+q*e,x1:n*f+o*g,y1:p*f+q*g,sin_th:i,cos_th:j}}function c(a,b,c,e,h,i,j,k){if(d=g.call(arguments),f[d])return f[d];var l=k*h,m=-j*i,n=j*h,o=k*i,p=.5*(e-c),q=8/3*Math.sin(.5*p)*Math.sin(.5*p)/Math.sin(p),r=a+Math.cos(c)-q*Math.sin(c),s=b+Math.sin(c)+q*Math.cos(c),t=a+Math.cos(e),u=b+Math.sin(e),v=t+q*Math.sin(e),w=u-q*Math.cos(e);return f[d]=[l*r+m*s,n*r+o*s,l*v+m*w,n*v+o*w,l*t+m*u,n*t+o*u],f[d]}var d,e={},f={},g=Array.prototype.join;fabric.util.drawArc=function(b,d,e,f){for(var g=f[0],h=f[1],i=f[2],j=f[3],k=f[4],l=f[5],m=f[6],n=a(l,m,g,h,j,k,i,d,e),o=0;of;f++)d[f]=c.length?a[f][b].apply(a[f],c):a[f][b].call(a[f]);return d}function b(a,b){return d(a,b,function(a,b){return a>=b})}function c(a,b){return d(a,b,function(a,b){return b>a})}function d(a,b,c){if(!a||0===a.length)return void 0;var d=a.length-1,e=b?a[d][b]:a[d];if(b)for(;d--;)c(a[d][b],e)&&(e=a[d][b]);else for(;d--;)c(a[d],e)&&(e=a[d]);return e}var e=Array.prototype.slice;Array.prototype.indexOf||(Array.prototype.indexOf=function(a){if(void 0===this||null===this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=0;if(arguments.length>0&&(d=Number(arguments[1]),d!==d?d=0:0!==d&&d!==Number.POSITIVE_INFINITY&&d!==Number.NEGATIVE_INFINITY&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1}),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){for(var c=0,d=this.length>>>0;d>c;c++)c in this&&a.call(b,this[c],c,this)}),Array.prototype.map||(Array.prototype.map=function(a,b){for(var c=[],d=0,e=this.length>>>0;e>d;d++)d in this&&(c[d]=a.call(b,this[d],d,this));return c}),Array.prototype.every||(Array.prototype.every=function(a,b){for(var c=0,d=this.length>>>0;d>c;c++)if(c in this&&!a.call(b,this[c],c,this))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(a,b){for(var c=0,d=this.length>>>0;d>c;c++)if(c in this&&a.call(b,this[c],c,this))return!0;return!1}),Array.prototype.filter||(Array.prototype.filter=function(a,b){for(var c,d=[],e=0,f=this.length>>>0;f>e;e++)e in this&&(c=this[e],a.call(b,c,e,this)&&d.push(c));return d}),Array.prototype.reduce||(Array.prototype.reduce=function(a){var b,c=this.length>>>0,d=0;if(arguments.length>1)b=arguments[1];else for(;;){if(d in this){b=this[d++];break}if(++d>=c)throw new TypeError}for(;c>d;d++)d in this&&(b=a.call(null,b,this[d],d,this));return b}),fabric.util.array={invoke:a,min:c,max:b}}(),function(){function a(a,b){for(var c in b)a[c]=b[c];return a}function b(b){return a({},b)}fabric.util.object={extend:a,clone:b}}(),function(){function a(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})}function b(a,b){return a.charAt(0).toUpperCase()+(b?a.slice(1):a.slice(1).toLowerCase())}function c(a){return a.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")}),fabric.util.string={camelize:a,capitalize:b,escapeXml:c}}(),function(){var a=Array.prototype.slice,b=Function.prototype.apply,c=function(){};Function.prototype.bind||(Function.prototype.bind=function(d){var e,f=this,g=a.call(arguments,1);return e=g.length?function(){return b.call(f,this instanceof c?this:d,g.concat(a.call(arguments)))}:function(){return b.call(f,this instanceof c?this:d,arguments)},c.prototype=this.prototype,e.prototype=new c,e})}(),function(){function a(){}function b(a){var b=this.constructor.superclass.prototype[a];return arguments.length>1?b.apply(this,d.call(arguments,1)):b.call(this)}function c(){function c(){this.initialize.apply(this,arguments)}var f=null,h=d.call(arguments,0);"function"==typeof h[0]&&(f=h.shift()),c.superclass=f,c.subclasses=[],f&&(a.prototype=f.prototype,c.prototype=new a,f.subclasses.push(c));for(var i=0,j=h.length;j>i;i++)g(c,h[i],f);return c.prototype.initialize||(c.prototype.initialize=e),c.prototype.constructor=c,c.prototype.callSuper=b,c}var d=Array.prototype.slice,e=function(){},f=function(){for(var a in{toString:1})if("toString"===a)return!1;return!0}(),g=function(a,b,c){for(var d in b)d in a.prototype&&"function"==typeof a.prototype[d]&&(b[d]+"").indexOf("callSuper")>-1?a.prototype[d]=function(a){return function(){var d=this.constructor.superclass;this.constructor.superclass=c;var e=b[a].apply(this,arguments);return this.constructor.superclass=d,"initialize"!==a?e:void 0}}(d):a.prototype[d]=b[d],f&&(b.toString!==Object.prototype.toString&&(a.prototype.toString=b.toString),b.valueOf!==Object.prototype.valueOf&&(a.prototype.valueOf=b.valueOf))};fabric.util.createClass=c}(),function(){function a(a){var b,c,d=Array.prototype.slice.call(arguments,1),e=d.length;for(c=0;e>c;c++)if(b=typeof a[d[c]],!/^(?:function|object|unknown)$/.test(b))return!1;return!0}function b(a,b){return{handler:b,wrappedHandler:c(a,b)}}function c(a,b){return function(c){b.call(g(a),c||fabric.window.event)}}function d(a,b){return function(c){if(p[a]&&p[a][b])for(var d=p[a][b],e=0,f=d.length;f>e;e++)d[e].call(this,c||fabric.window.event)}}function e(a,b){a||(a=fabric.window.event);var c=a.target||(typeof a.srcElement!==i?a.srcElement:null),d=fabric.util.getScrollLeftTop(c,b);return{x:q(a)+d.left,y:r(a)+d.top}}function f(a,b,c){var d="touchend"===a.type?"changedTouches":"touches";return a[d]&&a[d][0]?a[d][0][b]-(a[d][0][b]-a[d][0][c])||a[c]:a[c]}var g,h,i="unknown",j=function(){var a=0;return function(b){return b.__uniqueID||(b.__uniqueID="uniqueID__"+a++)}}();!function(){var a={};g=function(b){return a[b]},h=function(b,c){a[b]=c}}();var k,l,m=a(fabric.document.documentElement,"addEventListener","removeEventListener")&&a(fabric.window,"addEventListener","removeEventListener"),n=a(fabric.document.documentElement,"attachEvent","detachEvent")&&a(fabric.window,"attachEvent","detachEvent"),o={},p={};m?(k=function(a,b,c){a.addEventListener(b,c,!1)},l=function(a,b,c){a.removeEventListener(b,c,!1)}):n?(k=function(a,c,d){var e=j(a);h(e,a),o[e]||(o[e]={}),o[e][c]||(o[e][c]=[]);var f=b(e,d);o[e][c].push(f),a.attachEvent("on"+c,f.wrappedHandler)},l=function(a,b,c){var d,e=j(a);if(o[e]&&o[e][b])for(var f=0,g=o[e][b].length;g>f;f++)d=o[e][b][f],d&&d.handler===c&&(a.detachEvent("on"+b,d.wrappedHandler),o[e][b][f]=null)}):(k=function(a,b,c){var e=j(a);if(p[e]||(p[e]={}),!p[e][b]){p[e][b]=[];var f=a["on"+b];f&&p[e][b].push(f),a["on"+b]=d(e,b)}p[e][b].push(c)},l=function(a,b,c){var d=j(a);if(p[d]&&p[d][b])for(var e=p[d][b],f=0,g=e.length;g>f;f++)e[f]===c&&e.splice(f,1)}),fabric.util.addListener=k,fabric.util.removeListener=l;var q=function(a){return typeof a.clientX!==i?a.clientX:0},r=function(a){return typeof a.clientY!==i?a.clientY:0};fabric.isTouchSupported&&(q=function(a){return f(a,"pageX","clientX")},r=function(a){return f(a,"pageY","clientY")}),fabric.util.getPointer=e,fabric.util.object.extend(fabric.util,fabric.Observable)}(),function(){function a(a,b){var c=a.style;if(!c)return a;if("string"==typeof b)return a.style.cssText+=";"+b,b.indexOf("opacity")>-1?f(a,b.match(/opacity:\s*(\d?\.?\d*)/)[1]):a;for(var d in b)if("opacity"===d)f(a,b[d]);else{var e="float"===d||"cssFloat"===d?"undefined"==typeof c.styleFloat?"cssFloat":"styleFloat":d;c[e]=b[d]}return a}var b=fabric.document.createElement("div"),c="string"==typeof b.style.opacity,d="string"==typeof b.style.filter,e=/alpha\s*\(\s*opacity\s*=\s*([^\)]+)\)/,f=function(a){return a};c?f=function(a,b){return a.style.opacity=b,a}:d&&(f=function(a,b){var c=a.style;return a.currentStyle&&!a.currentStyle.hasLayout&&(c.zoom=1),e.test(c.filter)?(b=b>=.9999?"":"alpha(opacity="+100*b+")",c.filter=c.filter.replace(e,b)):c.filter+=" alpha(opacity="+100*b+")",a}),fabric.util.setStyle=a}(),function(){function a(a){return"string"==typeof a?fabric.document.getElementById(a):a}function b(a,b){var c=fabric.document.createElement(a);for(var d in b)"class"===d?c.className=b[d]:"for"===d?c.htmlFor=b[d]:c.setAttribute(d,b[d]);return c}function c(a,b){-1===(" "+a.className+" ").indexOf(" "+b+" ")&&(a.className+=(a.className?" ":"")+b)}function d(a,c,d){return"string"==typeof c&&(c=b(c,d)),a.parentNode&&a.parentNode.replaceChild(c,a),c.appendChild(a),c}function e(a,b){var c,d,e=0,f=0,g=fabric.document.documentElement,h=fabric.document.body||{scrollLeft:0,scrollTop:0};for(d=a;a&&a.parentNode&&!c;)a=a.parentNode,a!==fabric.document&&"fixed"===fabric.util.getElementStyle(a,"position")&&(c=a),a!==fabric.document&&d!==b&&"absolute"===fabric.util.getElementStyle(a,"position")?(e=0,f=0):a===fabric.document?(e=h.scrollLeft||g.scrollLeft||0,f=h.scrollTop||g.scrollTop||0):(e+=a.scrollLeft||0,f+=a.scrollTop||0);return{left:e,top:f}}function f(a){var b,c,d={left:0,top:0},e=a&&a.ownerDocument,f={left:0,top:0},h={borderLeftWidth:"left",borderTopWidth:"top",paddingLeft:"left",paddingTop:"top"};if(!e)return{left:0,top:0};for(var i in h)f[h[i]]+=parseInt(g(a,i),10)||0;return b=e.documentElement,"undefined"!=typeof a.getBoundingClientRect&&(d=a.getBoundingClientRect()),c=fabric.util.getScrollLeftTop(a,null),{left:d.left+c.left-(b.clientLeft||0)+f.left,top:d.top+c.top-(b.clientTop||0)+f.top}}function g(a,b){if(a.style||(a.style={}),fabric.document.defaultView&&fabric.document.defaultView.getComputedStyle)return fabric.document.defaultView.getComputedStyle(a,null)[b];var c=a.style[b];return!c&&a.currentStyle&&(c=a.currentStyle[b]),c}var h,i=Array.prototype.slice,j=function(a){return i.call(a,0)};try{h=j(fabric.document.childNodes)instanceof Array}catch(k){}h||(j=function(a){for(var b=new Array(a.length),c=a.length;c--;)b[c]=a[c];return b}),function(){function a(a){return"undefined"!=typeof a.onselectstart&&(a.onselectstart=fabric.util.falseFunction),d?a.style[d]="none":"string"==typeof a.unselectable&&(a.unselectable="on"),a}function b(a){return"undefined"!=typeof a.onselectstart&&(a.onselectstart=null),d?a.style[d]="":"string"==typeof a.unselectable&&(a.unselectable=""),a}var c=fabric.document.documentElement.style,d="userSelect"in c?"userSelect":"MozUserSelect"in c?"MozUserSelect":"WebkitUserSelect"in c?"WebkitUserSelect":"KhtmlUserSelect"in c?"KhtmlUserSelect":"";fabric.util.makeElementUnselectable=a,fabric.util.makeElementSelectable=b}(),function(){function a(a,b){var c=fabric.document.getElementsByTagName("head")[0],d=fabric.document.createElement("script"),e=!0;d.onload=d.onreadystatechange=function(a){if(e){if("string"==typeof this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)return;e=!1,b(a||fabric.window.event),d=d.onload=d.onreadystatechange=null}},d.src=a,c.appendChild(d)}fabric.util.getScript=a}(),fabric.util.getById=a,fabric.util.toArray=j,fabric.util.makeElement=b,fabric.util.addClass=c,fabric.util.wrapElement=d,fabric.util.getScrollLeftTop=e,fabric.util.getElementOffset=f,fabric.util.getElementStyle=g}(),function(){function a(a,b){return a+(/\?/.test(a)?"&":"?")+b}function b(){}function c(c,e){e||(e={});var f,g=e.method?e.method.toUpperCase():"GET",h=e.onComplete||function(){},i=d();return i.onreadystatechange=function(){4===i.readyState&&(h(i),i.onreadystatechange=b)},"GET"===g&&(f=null,"string"==typeof e.parameters&&(c=a(c,e.parameters))),i.open(g,c,!0),("POST"===g||"PUT"===g)&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.send(f),i}var d=function(){for(var a=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml2.XMLHTTP.3.0")},function(){return new XMLHttpRequest}],b=a.length;b--;)try{var c=a[b]();if(c)return a[b]}catch(d){}}();fabric.util.request=c}(),fabric.log=function(){},fabric.warn=function(){},"undefined"!=typeof console&&["log","warn"].forEach(function(a){"undefined"!=typeof console[a]&&console[a].apply&&(fabric[a]=function(){return console[a].apply(console,arguments)})}),function(){function a(a){c(function(b){a||(a={});var d,e=b||+new Date,f=a.duration||500,g=e+f,h=a.onChange||function(){},i=a.abort||function(){return!1},j=a.easing||function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},k="startValue"in a?a.startValue:0,l="endValue"in a?a.endValue:100,m=a.byValue||l-k;a.onStart&&a.onStart(),function n(b){d=b||+new Date;var l=d>g?f:d-e;return i()?void(a.onComplete&&a.onComplete()):(h(j(l,k,m,f)),d>g?void(a.onComplete&&a.onComplete()):void c(n))}(e)})}var b=fabric.window.requestAnimationFrame||fabric.window.webkitRequestAnimationFrame||fabric.window.mozRequestAnimationFrame||fabric.window.oRequestAnimationFrame||fabric.window.msRequestAnimationFrame||function(a){fabric.window.setTimeout(a,1e3/60)},c=function(){return b.apply(fabric.window,arguments)};fabric.util.animate=a,fabric.util.requestAnimFrame=c}(),function(){function a(a,b,c,d){return aa?c/2*a*a*a+b:c/2*((a-=2)*a*a+2)+b}function e(a,b,c,d){return c*(a/=d)*a*a*a+b}function f(a,b,c,d){return-c*((a=a/d-1)*a*a*a-1)+b}function g(a,b,c,d){return a/=d/2,1>a?c/2*a*a*a*a+b:-c/2*((a-=2)*a*a*a-2)+b}function h(a,b,c,d){return c*(a/=d)*a*a*a*a+b}function i(a,b,c,d){return c*((a=a/d-1)*a*a*a*a+1)+b}function j(a,b,c,d){return a/=d/2,1>a?c/2*a*a*a*a*a+b:c/2*((a-=2)*a*a*a*a+2)+b}function k(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b}function l(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b}function m(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b}function n(a,b,c,d){return 0===a?b:c*Math.pow(2,10*(a/d-1))+b}function o(a,b,c,d){return a===d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b}function p(a,b,c,d){return 0===a?b:a===d?b+c:(a/=d/2,1>a?c/2*Math.pow(2,10*(a-1))+b:c/2*(-Math.pow(2,-10*--a)+2)+b)}function q(a,b,c,d){return-c*(Math.sqrt(1-(a/=d)*a)-1)+b}function r(a,b,c,d){return c*Math.sqrt(1-(a=a/d-1)*a)+b}function s(a,b,c,d){return a/=d/2,1>a?-c/2*(Math.sqrt(1-a*a)-1)+b:c/2*(Math.sqrt(1-(a-=2)*a)+1)+b}function t(c,d,e,f){var g=1.70158,h=0,i=e;if(0===c)return d;if(c/=f,1===c)return d+e;h||(h=.3*f);var j=a(i,e,h,g);return-b(j,c,f)+d}function u(b,c,d,e){var f=1.70158,g=0,h=d;if(0===b)return c;if(b/=e,1===b)return c+d;g||(g=.3*e);var i=a(h,d,g,f);return i.a*Math.pow(2,-10*b)*Math.sin(2*(b*e-i.s)*Math.PI/i.p)+i.c+c}function v(c,d,e,f){var g=1.70158,h=0,i=e;if(0===c)return d;if(c/=f/2,2===c)return d+e;h||(h=.3*f*1.5);var j=a(i,e,h,g);return 1>c?-.5*b(j,c,f)+d:j.a*Math.pow(2,-10*(c-=1))*Math.sin(2*(c*f-j.s)*Math.PI/j.p)*.5+j.c+d}function w(a,b,c,d,e){return void 0===e&&(e=1.70158),c*(a/=d)*a*((e+1)*a-e)+b}function x(a,b,c,d,e){return void 0===e&&(e=1.70158),c*((a=a/d-1)*a*((e+1)*a+e)+1)+b}function y(a,b,c,d,e){return void 0===e&&(e=1.70158),a/=d/2,1>a?c/2*a*a*(((e*=1.525)+1)*a-e)+b:c/2*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)+b}function z(a,b,c,d){return c-A(d-a,0,c,d)+b}function A(a,b,c,d){return(a/=d)<1/2.75?7.5625*c*a*a+b:2/2.75>a?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:2.5/2.75>a?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b}function B(a,b,c,d){return d/2>a?.5*z(2*a,0,c,d)+b:.5*A(2*a-d,0,c,d)+.5*c+b}fabric.util.ease={easeInQuad:function(a,b,c,d){return c*(a/=d)*a+b},easeOutQuad:function(a,b,c,d){return-c*(a/=d)*(a-2)+b},easeInOutQuad:function(a,b,c,d){return a/=d/2,1>a?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},easeInCubic:function(a,b,c,d){return c*(a/=d)*a*a+b},easeOutCubic:c,easeInOutCubic:d,easeInQuart:e,easeOutQuart:f,easeInOutQuart:g,easeInQuint:h,easeOutQuint:i,easeInOutQuint:j,easeInSine:k,easeOutSine:l,easeInOutSine:m,easeInExpo:n,easeOutExpo:o,easeInOutExpo:p,easeInCirc:q,easeOutCirc:r,easeInOutCirc:s,easeInElastic:t,easeOutElastic:u,easeInOutElastic:v,easeInBack:w,easeOutBack:x,easeInOutBack:y,easeInBounce:z,easeOutBounce:A,easeInOutBounce:B}}(),function(a){"use strict";function b(a){return a in q?q[a]:a}function c(a,b,c){var d;"fill"!==a&&"stroke"!==a||"none"!==b?"fillRule"===a?b="evenodd"===b?"destination-over":b:"strokeDashArray"===a?b=b.replace(/,/g," ").split(/\s+/):"transformMatrix"===a&&(b=c&&c.transformMatrix?p(c.transformMatrix,k.parseTransformAttribute(b)):k.parseTransformAttribute(b)):b="",d="[object Array]"===Object.prototype.toString.call(b);var e=d?b.map(parseFloat):parseFloat(b);return!d&&isNaN(e)?b:e}function d(a){for(var b in r)if(a[b]&&"undefined"!=typeof a[r[b]]&&0!==a[b].indexOf("url(")){var c=new k.Color(a[b]);a[b]=c.setAlpha(o(c.getAlpha()*a[r[b]],2)).toRgba(),delete a[r[b]]}return a}function e(a,b){var c=a.match(/(normal|italic)?\s*(normal|small-caps)?\s*(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)?\s*(\d+)px(?:\/(normal|[\d\.]+))?\s+(.*)/);if(c){var d=c[1],e=c[3],f=c[4],g=c[5],h=c[6];d&&(b.fontStyle=d),e&&(b.fontSize=isNaN(parseFloat(e))?e:parseFloat(e)),f&&(b.fontSize=parseFloat(f)),h&&(b.fontFamily=h),g&&(b.lineHeight="normal"===g?1:g)}}function f(a,d){var f,g;a.replace(/;$/,"").split(";").forEach(function(a){var h=a.split(":");f=b(h[0].trim().toLowerCase()),g=c(f,h[1].trim()),"font"===f?e(g,d):d[f]=g})}function g(a,d){var f,g;for(var h in a)"undefined"!=typeof a[h]&&(f=b(h.toLowerCase()),g=c(f,a[h]),"font"===f?e(g,d):d[f]=g)}function h(a){var b=a.nodeName,c=a.getAttribute("class"),d=a.getAttribute("id"),e={};for(var f in k.cssRules){var g=c&&new RegExp("^\\."+c).test(f)||d&&new RegExp("^#"+d).test(f)||new RegExp("^"+b).test(f);if(g)for(var h in k.cssRules[f])e[h]=k.cssRules[f][h]}return e}function i(a){var b=a.objects,c=a.options;return b=b.map(function(a){return k[m(a.type)].fromObject(a)}),{objects:b,options:c}}function j(a,b,c){b[c]&&b[c].toSVG&&a.push('',' ')}var k=a.fabric||(a.fabric={}),l=k.util.object.extend,m=k.util.string.capitalize,n=k.util.object.clone,o=k.util.toFixed,p=k.util.multiplyTransformMatrices,q={"fill-opacity":"fillOpacity","fill-rule":"fillRule","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight",cx:"left",x:"left",r:"radius","stroke-dasharray":"strokeDashArray","stroke-linecap":"strokeLineCap","stroke-linejoin":"strokeLineJoin","stroke-miterlimit":"strokeMiterLimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth","text-decoration":"textDecoration",cy:"top",y:"top",transform:"transformMatrix"},r={stroke:"strokeOpacity",fill:"fillOpacity"};k.parseTransformAttribute=function(){function a(a,b){var c=b[0];a[0]=Math.cos(c),a[1]=Math.sin(c),a[2]=-Math.sin(c),a[3]=Math.cos(c)}function b(a,b){var c=b[0],d=2===b.length?b[1]:b[0];a[0]=c,a[3]=d}function c(a,b){a[2]=b[0]}function d(a,b){a[1]=b[0]}function e(a,b){a[4]=b[0],2===b.length&&(a[5]=b[1])}var f=[1,0,0,1,0,0],g="(?:[-+]?\\d+(?:\\.\\d+)?(?:e[-+]?\\d+)?)",h="(?:\\s+,?\\s*|,\\s*)",i="(?:(skewX)\\s*\\(\\s*("+g+")\\s*\\))",j="(?:(skewY)\\s*\\(\\s*("+g+")\\s*\\))",l="(?:(rotate)\\s*\\(\\s*("+g+")(?:"+h+"("+g+")"+h+"("+g+"))?\\s*\\))",m="(?:(scale)\\s*\\(\\s*("+g+")(?:"+h+"("+g+"))?\\s*\\))",n="(?:(translate)\\s*\\(\\s*("+g+")(?:"+h+"("+g+"))?\\s*\\))",o="(?:(matrix)\\s*\\(\\s*("+g+")"+h+"("+g+")"+h+"("+g+")"+h+"("+g+")"+h+"("+g+")"+h+"("+g+")\\s*\\))",p="(?:"+o+"|"+n+"|"+m+"|"+l+"|"+i+"|"+j+")",q="(?:"+p+"(?:"+h+p+")*)",r="^\\s*(?:"+q+"?)\\s*$",s=new RegExp(r),t=new RegExp(p,"g");return function(g){var h=f.concat(),i=[];if(!g||g&&!s.test(g))return h;g.replace(t,function(g){var j=new RegExp(p).exec(g).filter(function(a){return""!==a&&null!=a}),k=j[1],l=j.slice(2).map(parseFloat);switch(k){case"translate":e(h,l);break;case"rotate":a(h,l);break;case"scale":b(h,l);break;case"skewX":c(h,l);break;case"skewY":d(h,l);break;case"matrix":h=l}i.push(h.concat()),h=f.concat()});for(var j=i[0];i.length>1;)i.shift(),j=k.util.multiplyTransformMatrices(j,i[0]);return j}}(),k.parseSVGDocument=function(){function a(a,b){for(;a&&(a=a.parentNode);)if(b.test(a.nodeName))return!0;return!1}var b=/^(path|circle|polygon|polyline|ellipse|rect|line|image|text)$/,c="(?:[-+]?\\d+(?:\\.\\d+)?(?:e[-+]?\\d+)?)",d=new RegExp("^\\s*("+c+"+)\\s*,?\\s*("+c+"+)\\s*,?\\s*("+c+"+)\\s*,?\\s*("+c+"+)\\s*$");return function(c,e,f){if(c){var g=new Date,h=k.util.toArray(c.getElementsByTagName("*"));if(0===h.length){h=c.selectNodes("//*[name(.)!='svg']");for(var i=[],j=0,l=h.length;l>j;j++)i[j]=h[j];h=i}var m=h.filter(function(c){return b.test(c.tagName)&&!a(c,/^(?:pattern|defs)$/)});if(m&&(!m||m.length)){var o,p,q=c.getAttribute("viewBox"),r=c.getAttribute("width"),s=c.getAttribute("height"),t=null,u=null;q&&(q=q.match(d))&&(o=parseInt(q[1],10),p=parseInt(q[2],10),t=parseInt(q[3],10),u=parseInt(q[4],10)),t=r?parseFloat(r):t,u=s?parseFloat(s):u;var v={width:t,height:u};k.gradientDefs=k.getGradientDefs(c),k.cssRules=k.getCSSRules(c),k.parseElements(m,function(a){k.documentParsingTime=new Date-g,e&&e(a,v)},n(v),f)}}}}();var s={has:function(a,b){b(!1)},get:function(){},set:function(){}};l(k,{resolveGradients:function(a){for(var b=a.length;b--;){var c=a[b].get("fill");if(/^url\(/.test(c)){var d=c.slice(5,c.length-1);k.gradientDefs[d]&&a[b].set("fill",k.Gradient.fromElement(k.gradientDefs[d],a[b]))}}},getGradientDefs:function(a){var b,c,d=a.getElementsByTagName("linearGradient"),e=a.getElementsByTagName("radialGradient"),f={};for(c=d.length;c--;)b=d[c],f[b.getAttribute("id")]=b;for(c=e.length;c--;)b=e[c],f[b.getAttribute("id")]=b;return f},parseAttributes:function(a,e){if(a){var f,g={};a.parentNode&&/^g$/i.test(a.parentNode.nodeName)&&(g=k.parseAttributes(a.parentNode,e));var i=e.reduce(function(d,e){return f=a.getAttribute(e),f&&(e=b(e),f=c(e,f,g),d[e]=f),d},{});return i=l(i,l(h(a),k.parseStyleAttribute(a))),d(l(g,i))}},parseElements:function(a,b,c,d){k.ElementsParser.parse(a,b,c,d)},parseStyleAttribute:function(a){var b={},c=a.getAttribute("style");return c?("string"==typeof c?f(c,b):g(c,b),b):b},parsePointsAttribute:function(a){if(!a)return null;a=a.trim();var b=a.indexOf(",")>-1;a=a.split(/\s+/);var c,d,e=[];if(b)for(c=0,d=a.length;d>c;c++){var f=a[c].split(",");e.push({x:parseFloat(f[0]),y:parseFloat(f[1])})}else for(c=0,d=a.length;d>c;c+=2)e.push({x:parseFloat(a[c]),y:parseFloat(a[c+1])});return e.length%2!==0,e},getCSSRules:function(a){for(var b,c=a.getElementsByTagName("style"),d={},e=0,f=c.length;f>e;e++){var g=c[0].textContent;g=g.replace(/\/\*[\s\S]*?\*\//g,""),b=g.match(/[^{]*\{[\s\S]*?\}/g),b=b.map(function(a){return a.trim()}),b.forEach(function(a){var b=a.match(/([\s\S]*?)\s*\{([^}]*)\}/);a=b[1];var c=b[2].trim(),e=c.replace(/;$/,"").split(/\s*;\s*/);d[a]||(d[a]={});for(var f=0,g=e.length;g>f;f++){var h=e[f].split(/\s*:\s*/),i=h[0],j=h[1];d[a][i]=j}})}return d},loadSVGFromURL:function(a,b,c){function d(d){var e=d.responseXML;!e.documentElement&&k.window.ActiveXObject&&d.responseText&&(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(d.responseText.replace(//i,""))),e.documentElement&&k.parseSVGDocument(e.documentElement,function(c,d){s.set(a,{objects:k.util.array.invoke(c,"toObject"),options:d}),b(c,d)},c)}a=a.replace(/^\n\s*/,"").trim(),s.has(a,function(c){c?s.get(a,function(a){var c=i(a);b(c.objects,c.options)}):new k.util.request(a,{method:"get",onComplete:d})})},loadSVGFromString:function(a,b,c){a=a.trim();var d;if("undefined"!=typeof DOMParser){var e=new DOMParser;e&&e.parseFromString&&(d=e.parseFromString(a,"text/xml"))}else k.window.ActiveXObject&&(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(a.replace(//i,"")));k.parseSVGDocument(d.documentElement,function(a,c){b(a,c)},c)},createSVGFontFacesMarkup:function(a){for(var b="",c=0,d=a.length;d>c;c++)"text"===a[c].type&&a[c].path&&(b+=["@font-face {","font-family: ",a[c].fontFamily,"; ","src: url('",a[c].path,"')","}"].join(""));return b&&(b=['"].join("")),b},createSVGRefElementsMarkup:function(a){var b=[];return j(b,a,"backgroundColor"),j(b,a,"overlayColor"),b.join("")}})}("undefined"!=typeof exports?exports:this),fabric.ElementsParser={parse:function(a,b,c,d){this.elements=a,this.callback=b,this.options=c,this.reviver=d,this.instances=new Array(a.length),this.numElements=a.length,this.createObjects()},createObjects:function(){for(var a=0,b=this.elements.length;b>a;a++)this.createObject(this.elements[a],a)},createObject:function(a,b){var c=fabric[fabric.util.string.capitalize(a.tagName)];if(c&&c.fromElement)try{this._createObject(c,a,b)}catch(d){fabric.log(d)}else this.checkIfDone()},_createObject:function(a,b,c){if(a.async)a.fromElement(b,this.createCallback(c,b),this.options);else{var d=a.fromElement(b,this.options);this.reviver&&this.reviver(b,d),this.instances.splice(c,0,d),this.checkIfDone()}},createCallback:function(a,b){var c=this;return function(d){c.reviver&&c.reviver(b,d),c.instances.splice(a,0,d),c.checkIfDone();
+
+}},checkIfDone:function(){0===--this.numElements&&(this.instances=this.instances.filter(function(a){return null!=a}),fabric.resolveGradients(this.instances),this.callback(this.instances))}},function(a){"use strict";function b(a,b){this.x=a,this.y=b}var c=a.fabric||(a.fabric={});return c.Point?void c.warn("fabric.Point is already defined"):(c.Point=b,void(b.prototype={constructor:b,add:function(a){return new b(this.x+a.x,this.y+a.y)},addEquals:function(a){return this.x+=a.x,this.y+=a.y,this},scalarAdd:function(a){return new b(this.x+a,this.y+a)},scalarAddEquals:function(a){return this.x+=a,this.y+=a,this},subtract:function(a){return new b(this.x-a.x,this.y-a.y)},subtractEquals:function(a){return this.x-=a.x,this.y-=a.y,this},scalarSubtract:function(a){return new b(this.x-a,this.y-a)},scalarSubtractEquals:function(a){return this.x-=a,this.y-=a,this},multiply:function(a){return new b(this.x*a,this.y*a)},multiplyEquals:function(a){return this.x*=a,this.y*=a,this},divide:function(a){return new b(this.x/a,this.y/a)},divideEquals:function(a){return this.x/=a,this.y/=a,this},eq:function(a){return this.x===a.x&&this.y===a.y},lt:function(a){return this.xa.x&&this.y>a.y},gte:function(a){return this.x>=a.x&&this.y>=a.y},lerp:function(a,c){return new b(this.x+(a.x-this.x)*c,this.y+(a.y-this.y)*c)},distanceFrom:function(a){var b=this.x-a.x,c=this.y-a.y;return Math.sqrt(b*b+c*c)},midPointFrom:function(a){return new b(this.x+(a.x-this.x)/2,this.y+(a.y-this.y)/2)},min:function(a){return new b(Math.min(this.x,a.x),Math.min(this.y,a.y))},max:function(a){return new b(Math.max(this.x,a.x),Math.max(this.y,a.y))},toString:function(){return this.x+","+this.y},setXY:function(a,b){this.x=a,this.y=b},setFromPoint:function(a){this.x=a.x,this.y=a.y},swap:function(a){var b=this.x,c=this.y;this.x=a.x,this.y=a.y,a.x=b,a.y=c}}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";function b(a){this.status=a,this.points=[]}var c=a.fabric||(a.fabric={});return c.Intersection?void c.warn("fabric.Intersection is already defined"):(c.Intersection=b,c.Intersection.prototype={appendPoint:function(a){this.points.push(a)},appendPoints:function(a){this.points=this.points.concat(a)}},c.Intersection.intersectLineLine=function(a,d,e,f){var g,h=(f.x-e.x)*(a.y-e.y)-(f.y-e.y)*(a.x-e.x),i=(d.x-a.x)*(a.y-e.y)-(d.y-a.y)*(a.x-e.x),j=(f.y-e.y)*(d.x-a.x)-(f.x-e.x)*(d.y-a.y);if(0!==j){var k=h/j,l=i/j;k>=0&&1>=k&&l>=0&&1>=l?(g=new b("Intersection"),g.points.push(new c.Point(a.x+k*(d.x-a.x),a.y+k*(d.y-a.y)))):g=new b}else g=new b(0===h||0===i?"Coincident":"Parallel");return g},c.Intersection.intersectLinePolygon=function(a,c,d){for(var e=new b,f=d.length,g=0;f>g;g++){var h=d[g],i=d[(g+1)%f],j=b.intersectLineLine(a,c,h,i);e.appendPoints(j.points)}return e.points.length>0&&(e.status="Intersection"),e},c.Intersection.intersectPolygonPolygon=function(a,c){for(var d=new b,e=a.length,f=0;e>f;f++){var g=a[f],h=a[(f+1)%e],i=b.intersectLinePolygon(g,h,c);d.appendPoints(i.points)}return d.points.length>0&&(d.status="Intersection"),d},void(c.Intersection.intersectPolygonRectangle=function(a,d,e){var f=d.min(e),g=d.max(e),h=new c.Point(g.x,f.y),i=new c.Point(f.x,g.y),j=b.intersectLinePolygon(f,h,a),k=b.intersectLinePolygon(h,g,a),l=b.intersectLinePolygon(g,i,a),m=b.intersectLinePolygon(i,f,a),n=new b;return n.appendPoints(j.points),n.appendPoints(k.points),n.appendPoints(l.points),n.appendPoints(m.points),n.points.length>0&&(n.status="Intersection"),n}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";function b(a){a?this._tryParsingColor(a):this.setSource([0,0,0,1])}function c(a,b,c){return 0>c&&(c+=1),c>1&&(c-=1),1/6>c?a+6*(b-a)*c:.5>c?b:2/3>c?a+(b-a)*(2/3-c)*6:a}var d=a.fabric||(a.fabric={});return d.Color?void d.warn("fabric.Color is already defined."):(d.Color=b,d.Color.prototype={_tryParsingColor:function(a){var c;a in b.colorNameMap&&(a=b.colorNameMap[a]),c=b.sourceFromHex(a),c||(c=b.sourceFromRgb(a)),c||(c=b.sourceFromHsl(a)),c&&this.setSource(c)},_rgbToHsl:function(a,b,c){a/=255,b/=255,c/=255;var e,f,g,h=d.util.array.max([a,b,c]),i=d.util.array.min([a,b,c]);if(g=(h+i)/2,h===i)e=f=0;else{var j=h-i;switch(f=g>.5?j/(2-h-i):j/(h+i),h){case a:e=(b-c)/j+(c>b?6:0);break;case b:e=(c-a)/j+2;break;case c:e=(a-b)/j+4}e/=6}return[Math.round(360*e),Math.round(100*f),Math.round(100*g)]},getSource:function(){return this._source},setSource:function(a){this._source=a},toRgb:function(){var a=this.getSource();return"rgb("+a[0]+","+a[1]+","+a[2]+")"},toRgba:function(){var a=this.getSource();return"rgba("+a[0]+","+a[1]+","+a[2]+","+a[3]+")"},toHsl:function(){var a=this.getSource(),b=this._rgbToHsl(a[0],a[1],a[2]);return"hsl("+b[0]+","+b[1]+"%,"+b[2]+"%)"},toHsla:function(){var a=this.getSource(),b=this._rgbToHsl(a[0],a[1],a[2]);return"hsla("+b[0]+","+b[1]+"%,"+b[2]+"%,"+a[3]+")"},toHex:function(){var a=this.getSource(),b=a[0].toString(16);b=1===b.length?"0"+b:b;var c=a[1].toString(16);c=1===c.length?"0"+c:c;var d=a[2].toString(16);return d=1===d.length?"0"+d:d,b.toUpperCase()+c.toUpperCase()+d.toUpperCase()},getAlpha:function(){return this.getSource()[3]},setAlpha:function(a){var b=this.getSource();return b[3]=a,this.setSource(b),this},toGrayscale:function(){var a=this.getSource(),b=parseInt((.3*a[0]+.59*a[1]+.11*a[2]).toFixed(0),10),c=a[3];return this.setSource([b,b,b,c]),this},toBlackWhite:function(a){var b=this.getSource(),c=(.3*b[0]+.59*b[1]+.11*b[2]).toFixed(0),d=b[3];return a=a||127,c=Number(c)h;h++)c.push(Math.round(f[h]*(1-e)+g[h]*e));return c[3]=d,this.setSource(c),this}},d.Color.reRGBa=/^rgba?\(\s*(\d{1,3}\%?)\s*,\s*(\d{1,3}\%?)\s*,\s*(\d{1,3}\%?)\s*(?:\s*,\s*(\d+(?:\.\d+)?)\s*)?\)$/,d.Color.reHSLa=/^hsla?\(\s*(\d{1,3})\s*,\s*(\d{1,3}\%)\s*,\s*(\d{1,3}\%)\s*(?:\s*,\s*(\d+(?:\.\d+)?)\s*)?\)$/,d.Color.reHex=/^#?([0-9a-f]{6}|[0-9a-f]{3})$/i,d.Color.colorNameMap={aqua:"#00FFFF",black:"#000000",blue:"#0000FF",fuchsia:"#FF00FF",gray:"#808080",green:"#008000",lime:"#00FF00",maroon:"#800000",navy:"#000080",olive:"#808000",orange:"#FFA500",purple:"#800080",red:"#FF0000",silver:"#C0C0C0",teal:"#008080",white:"#FFFFFF",yellow:"#FFFF00"},d.Color.fromRgb=function(a){return b.fromSource(b.sourceFromRgb(a))},d.Color.sourceFromRgb=function(a){var c=a.match(b.reRGBa);if(c){var d=parseInt(c[1],10)/(/%$/.test(c[1])?100:1)*(/%$/.test(c[1])?255:1),e=parseInt(c[2],10)/(/%$/.test(c[2])?100:1)*(/%$/.test(c[2])?255:1),f=parseInt(c[3],10)/(/%$/.test(c[3])?100:1)*(/%$/.test(c[3])?255:1);return[parseInt(d,10),parseInt(e,10),parseInt(f,10),c[4]?parseFloat(c[4]):1]}},d.Color.fromRgba=b.fromRgb,d.Color.fromHsl=function(a){return b.fromSource(b.sourceFromHsl(a))},d.Color.sourceFromHsl=function(a){var d=a.match(b.reHSLa);if(d){var e,f,g,h=(parseFloat(d[1])%360+360)%360/360,i=parseFloat(d[2])/(/%$/.test(d[2])?100:1),j=parseFloat(d[3])/(/%$/.test(d[3])?100:1);if(0===i)e=f=g=j;else{var k=.5>=j?j*(i+1):j+i-j*i,l=2*j-k;e=c(l,k,h+1/3),f=c(l,k,h),g=c(l,k,h-1/3)}return[Math.round(255*e),Math.round(255*f),Math.round(255*g),d[4]?parseFloat(d[4]):1]}},d.Color.fromHsla=b.fromHsl,d.Color.fromHex=function(a){return b.fromSource(b.sourceFromHex(a))},d.Color.sourceFromHex=function(a){if(a.match(b.reHex)){var c=a.slice(a.indexOf("#")+1),d=3===c.length,e=d?c.charAt(0)+c.charAt(0):c.substring(0,2),f=d?c.charAt(1)+c.charAt(1):c.substring(2,4),g=d?c.charAt(2)+c.charAt(2):c.substring(4,6);return[parseInt(e,16),parseInt(f,16),parseInt(g,16),1]}},void(d.Color.fromSource=function(a){var c=new b;return c.setSource(a),c}))}("undefined"!=typeof exports?exports:this),function(){function a(a){var b,c,d=a.getAttribute("style"),e=a.getAttribute("offset");if(e=parseFloat(e)/(/%$/.test(e)?100:1),d){var f=d.split(/\s*;\s*/);""===f[f.length-1]&&f.pop();for(var g=f.length;g--;){var h=f[g].split(/\s*:\s*/),i=h[0].trim(),j=h[1].trim();"stop-color"===i?b=j:"stop-opacity"===i&&(c=j)}}return b||(b=a.getAttribute("stop-color")||"rgb(0,0,0)"),c||(c=a.getAttribute("stop-opacity")),b=new fabric.Color(b).toRgb(),{offset:e,color:b,opacity:isNaN(parseFloat(c))?1:parseFloat(c)}}function b(a){return{x1:a.getAttribute("x1")||0,y1:a.getAttribute("y1")||0,x2:a.getAttribute("x2")||"100%",y2:a.getAttribute("y2")||0}}function c(a){return{x1:a.getAttribute("fx")||a.getAttribute("cx")||"50%",y1:a.getAttribute("fy")||a.getAttribute("cy")||"50%",r1:0,x2:a.getAttribute("cx")||"50%",y2:a.getAttribute("cy")||"50%",r2:a.getAttribute("r")||"50%"}}function d(a,b){for(var c in b){if("string"==typeof b[c]&&/^\d+%$/.test(b[c])){var d=parseFloat(b[c],10);"x1"===c||"x2"===c||"r2"===c?b[c]=fabric.util.toFixed(a.width*d/100,2):("y1"===c||"y2"===c)&&(b[c]=fabric.util.toFixed(a.height*d/100,2))}e(b,c,a)}}function e(a,b,c){"x1"===b||"x2"===b?a[b]-=fabric.util.toFixed(c.width/2,2):("y1"===b||"y2"===b)&&(a[b]-=fabric.util.toFixed(c.height/2,2))}function f(a,b){for(var c in b)e(b,c,a),"x1"===c||"x2"===c||"r2"===c?b[c]=fabric.util.toFixed(b[c]/a.width*100,2)+"%":("y1"===c||"y2"===c)&&(b[c]=fabric.util.toFixed(b[c]/a.height*100,2)+"%")}fabric.Gradient=fabric.util.createClass({initialize:function(a){a||(a={});var b={};this.id=fabric.Object.__uid++,this.type=a.type||"linear",b={x1:a.coords.x1||0,y1:a.coords.y1||0,x2:a.coords.x2||0,y2:a.coords.y2||0},"radial"===this.type&&(b.r1=a.coords.r1||0,b.r2=a.coords.r2||0),this.coords=b,this.gradientUnits=a.gradientUnits||"objectBoundingBox",this.colorStops=a.colorStops.slice()},addColorStop:function(a){for(var b in a){var c=new fabric.Color(a[b]);this.colorStops.push({offset:b,color:c.toRgb(),opacity:c.getAlpha()})}return this},toObject:function(){return{type:this.type,coords:this.coords,gradientUnits:this.gradientUnits,colorStops:this.colorStops}},toSVG:function(a,b){var c,d=fabric.util.object.clone(this.coords);this.colorStops.sort(function(a,b){return a.offset-b.offset}),b&&"userSpaceOnUse"===this.gradientUnits?(d.x1+=a.width/2,d.y1+=a.height/2,d.x2+=a.width/2,d.y2+=a.height/2):"objectBoundingBox"===this.gradientUnits&&f(a,d),"linear"===this.type?c=["']:"radial"===this.type&&(c=["']);for(var e=0;e ');return c.push("linear"===this.type?" ":""),c.join("")},toLive:function(a){var b;if(this.type){"linear"===this.type?b=a.createLinearGradient(this.coords.x1,this.coords.y1,this.coords.x2,this.coords.y2):"radial"===this.type&&(b=a.createRadialGradient(this.coords.x1,this.coords.y1,this.coords.r1,this.coords.x2,this.coords.y2,this.coords.r2));for(var c=0,d=this.colorStops.length;d>c;c++){var e=this.colorStops[c].color,f=this.colorStops[c].opacity,g=this.colorStops[c].offset;"undefined"!=typeof f&&(e=new fabric.Color(e).setAlpha(f).toRgba()),b.addColorStop(parseFloat(g),e)}return b}}}),fabric.util.object.extend(fabric.Gradient,{fromElement:function(e,f){var g=e.getElementsByTagName("stop"),h="linearGradient"===e.nodeName?"linear":"radial",i=e.getAttribute("gradientUnits")||"objectBoundingBox",j=[],k={};"linear"===h?k=b(e):"radial"===h&&(k=c(e));for(var l=g.length;l--;)j.push(a(g[l]));return d(f,k),new fabric.Gradient({type:h,coords:k,gradientUnits:i,colorStops:j})},forObject:function(a,b){return b||(b={}),d(a,b),new fabric.Gradient(b)}})}(),fabric.Pattern=fabric.util.createClass({repeat:"repeat",offsetX:0,offsetY:0,initialize:function(a){if(a||(a={}),this.id=fabric.Object.__uid++,a.source)if("string"==typeof a.source)if("undefined"!=typeof fabric.util.getFunctionBody(a.source))this.source=new Function(fabric.util.getFunctionBody(a.source));else{var b=this;this.source=fabric.util.createImage(),fabric.util.loadImage(a.source,function(a){b.source=a})}else this.source=a.source;a.repeat&&(this.repeat=a.repeat),a.offsetX&&(this.offsetX=a.offsetX),a.offsetY&&(this.offsetY=a.offsetY)},toObject:function(){var a;return"function"==typeof this.source?a=String(this.source):"string"==typeof this.source.src&&(a=this.source.src),{source:a,repeat:this.repeat,offsetX:this.offsetX,offsetY:this.offsetY}},toSVG:function(a){var b="function"==typeof this.source?this.source():this.source,c=b.width/a.getWidth(),d=b.height/a.getHeight(),e="";return b.src?e=b.src:b.toDataURL&&(e=b.toDataURL()),' '},toLive:function(a){var b="function"==typeof this.source?this.source():this.source;if("undefined"!=typeof b.src){if(!b.complete)return"";if(0===b.naturalWidth||0===b.naturalHeight)return""}return a.createPattern(b,this.repeat)}}),function(a){"use strict";var b=a.fabric||(a.fabric={});return b.Shadow?void b.warn("fabric.Shadow is already defined."):(b.Shadow=b.util.createClass({color:"rgb(0,0,0)",blur:0,offsetX:0,offsetY:0,affectStroke:!1,includeDefaultValues:!0,initialize:function(a){"string"==typeof a&&(a=this._parseShadow(a));for(var c in a)this[c]=a[c];this.id=b.Object.__uid++},_parseShadow:function(a){var c=a.trim(),d=b.Shadow.reOffsetsAndBlur.exec(c)||[],e=c.replace(b.Shadow.reOffsetsAndBlur,"")||"rgb(0,0,0)";return{color:e.trim(),offsetX:parseInt(d[1],10)||0,offsetY:parseInt(d[2],10)||0,blur:parseInt(d[3],10)||0}},toString:function(){return[this.offsetX,this.offsetY,this.blur,this.color].join("px ")},toSVG:function(a){var b="SourceAlpha";return!a||a.fill!==this.color&&a.stroke!==this.color||(b="SourceGraphic"),' '},toObject:function(){if(this.includeDefaultValues)return{color:this.color,blur:this.blur,offsetX:this.offsetX,offsetY:this.offsetY};var a={},c=b.Shadow.prototype;return this.color!==c.color&&(a.color=this.color),this.blur!==c.blur&&(a.blur=this.blur),this.offsetX!==c.offsetX&&(a.offsetX=this.offsetX),this.offsetY!==c.offsetY&&(a.offsetY=this.offsetY),a}}),void(b.Shadow.reOffsetsAndBlur=/(?:\s|^)(-?\d+(?:px)?(?:\s?|$))?(-?\d+(?:px)?(?:\s?|$))?(\d+(?:px)?)?(?:\s?|$)(?:$|\s)/))}("undefined"!=typeof exports?exports:this),function(){"use strict";if(fabric.StaticCanvas)return void fabric.warn("fabric.StaticCanvas is already defined.");var a=fabric.util.object.extend,b=fabric.util.getElementOffset,c=fabric.util.removeFromArray,d=new Error("Could not initialize `canvas` element");fabric.StaticCanvas=fabric.util.createClass({initialize:function(a,b){b||(b={}),this._initStatic(a,b),fabric.StaticCanvas.activeInstance=this},backgroundColor:"",backgroundImage:null,overlayColor:"",overlayImage:null,includeDefaultValues:!0,stateful:!0,renderOnAddRemove:!0,clipTo:null,controlsAboveOverlay:!1,allowTouchScrolling:!1,onBeforeScaleRotate:function(){},_initStatic:function(a,b){this._objects=[],this._createLowerCanvas(a),this._initOptions(b),b.overlayImage&&this.setOverlayImage(b.overlayImage,this.renderAll.bind(this)),b.backgroundImage&&this.setBackgroundImage(b.backgroundImage,this.renderAll.bind(this)),b.backgroundColor&&this.setBackgroundColor(b.backgroundColor,this.renderAll.bind(this)),b.overlayColor&&this.setOverlayColor(b.overlayColor,this.renderAll.bind(this)),this.calcOffset()},calcOffset:function(){return this._offset=b(this.lowerCanvasEl),this},setOverlayImage:function(a,b,c){return this.__setBgOverlayImage("overlayImage",a,b,c)},setBackgroundImage:function(a,b,c){return this.__setBgOverlayImage("backgroundImage",a,b,c)},setOverlayColor:function(a,b){return this.__setBgOverlayColor("overlayColor",a,b)},setBackgroundColor:function(a,b){return this.__setBgOverlayColor("backgroundColor",a,b)},__setBgOverlayImage:function(a,b,c,d){return"string"==typeof b?fabric.util.loadImage(b,function(b){this[a]=new fabric.Image(b,d),c&&c()},this):(this[a]=b,c&&c()),this},__setBgOverlayColor:function(a,b,c){if(b.source){var d=this;fabric.util.loadImage(b.source,function(e){d[a]=new fabric.Pattern({source:e,repeat:b.repeat,offsetX:b.offsetX,offsetY:b.offsetY}),c&&c()})}else this[a]=b,c&&c();return this},_createCanvasElement:function(){var a=fabric.document.createElement("canvas");if(a.style||(a.style={}),!a)throw d;return this._initCanvasElement(a),a},_initCanvasElement:function(a){if(fabric.util.createCanvasElement(a),"undefined"==typeof a.getContext)throw d},_initOptions:function(a){for(var b in a)this[b]=a[b];this.width=parseInt(this.lowerCanvasEl.width,10)||0,this.height=parseInt(this.lowerCanvasEl.height,10)||0,this.lowerCanvasEl.style&&(this.lowerCanvasEl.style.width=this.width+"px",this.lowerCanvasEl.style.height=this.height+"px")},_createLowerCanvas:function(a){this.lowerCanvasEl=fabric.util.getById(a)||this._createCanvasElement(),this._initCanvasElement(this.lowerCanvasEl),fabric.util.addClass(this.lowerCanvasEl,"lower-canvas"),this.interactive&&this._applyCanvasStyle(this.lowerCanvasEl),this.contextContainer=this.lowerCanvasEl.getContext("2d")},getWidth:function(){return this.width},getHeight:function(){return this.height},setWidth:function(a){return this._setDimension("width",a)},setHeight:function(a){return this._setDimension("height",a)},setDimensions:function(a){for(var b in a)this._setDimension(b,a[b]);return this},_setDimension:function(a,b){return this.lowerCanvasEl[a]=b,this.lowerCanvasEl.style[a]=b+"px",this.upperCanvasEl&&(this.upperCanvasEl[a]=b,this.upperCanvasEl.style[a]=b+"px"),this.cacheCanvasEl&&(this.cacheCanvasEl[a]=b),this.wrapperEl&&(this.wrapperEl.style[a]=b+"px"),this[a]=b,this.calcOffset(),this.renderAll(),this},getElement:function(){return this.lowerCanvasEl},getActiveObject:function(){return null},getActiveGroup:function(){return null},_draw:function(a,b){if(b)if(this.controlsAboveOverlay){var c=b.hasBorders,d=b.hasControls;b.hasBorders=b.hasControls=!1,b.render(a),b.hasBorders=c,b.hasControls=d}else b.render(a)},_onObjectAdded:function(a){this.stateful&&a.setupState(),a.setCoords(),a.canvas=this,this.fire("object:added",{target:a}),a.fire("added")},_onObjectRemoved:function(a){this.getActiveObject()===a&&(this.fire("before:selection:cleared",{target:a}),this._discardActiveObject(),this.fire("selection:cleared")),this.fire("object:removed",{target:a}),a.fire("removed")},clearContext:function(a){return a.clearRect(0,0,this.width,this.height),this},getContext:function(){return this.contextContainer},clear:function(){return this._objects.length=0,this.discardActiveGroup&&this.discardActiveGroup(),this.discardActiveObject&&this.discardActiveObject(),this.clearContext(this.contextContainer),this.contextTop&&this.clearContext(this.contextTop),this.fire("canvas:cleared"),this.renderAll(),this},renderAll:function(a){var b=this[a===!0&&this.interactive?"contextTop":"contextContainer"],c=this.getActiveGroup();return this.contextTop&&this.selection&&!this._groupSelector&&this.clearContext(this.contextTop),a||this.clearContext(b),this.fire("before:render"),this.clipTo&&fabric.util.clipContext(this,b),this._renderBackground(b),this._renderObjects(b,c),this._renderActiveGroup(b,c),this.clipTo&&b.restore(),this._renderOverlay(b),this.controlsAboveOverlay&&this.interactive&&this.drawControls(b),this.fire("after:render"),this},_renderObjects:function(a,b){for(var c=0,d=this._objects.length;d>c;++c)(!b||b&&this._objects[c]&&!b.contains(this._objects[c]))&&this._draw(a,this._objects[c])},_renderActiveGroup:function(a,b){if(b){var c=[];this.forEachObject(function(a){b.contains(a)&&c.push(a)}),b._set("objects",c),this._draw(a,b)}},_renderBackground:function(a){this.backgroundColor&&(a.fillStyle=this.backgroundColor.toLive?this.backgroundColor.toLive(a):this.backgroundColor,a.fillRect(this.backgroundColor.offsetX||0,this.backgroundColor.offsetY||0,this.width,this.height)),this.backgroundImage&&this.backgroundImage.render(a)},_renderOverlay:function(a){this.overlayColor&&(a.fillStyle=this.overlayColor.toLive?this.overlayColor.toLive(a):this.overlayColor,a.fillRect(this.overlayColor.offsetX||0,this.overlayColor.offsetY||0,this.width,this.height)),this.overlayImage&&this.overlayImage.render(a)},renderTop:function(){var a=this.contextTop||this.contextContainer;this.clearContext(a),this.selection&&this._groupSelector&&this._drawSelection();var b=this.getActiveGroup();return b&&b.render(a),this.overlayImage&&a.drawImage(this.overlayImage,this.overlayImageLeft,this.overlayImageTop),this.fire("after:render"),this},getCenter:function(){return{top:this.getHeight()/2,left:this.getWidth()/2}},centerObjectH:function(a){return this._centerObject(a,new fabric.Point(this.getCenter().left,a.getCenterPoint().y)),this.renderAll(),this},centerObjectV:function(a){return this._centerObject(a,new fabric.Point(a.getCenterPoint().x,this.getCenter().top)),this.renderAll(),this},centerObject:function(a){var b=this.getCenter();return this._centerObject(a,new fabric.Point(b.left,b.top)),this.renderAll(),this},_centerObject:function(a,b){return a.setPositionByOrigin(b,"center","center"),this},toDatalessJSON:function(a){return this.toDatalessObject(a)},toObject:function(a){return this._toObjectMethod("toObject",a)},toDatalessObject:function(a){return this._toObjectMethod("toDatalessObject",a)},_toObjectMethod:function(b,c){var d=this.getActiveGroup();d&&this.discardActiveGroup();var e={objects:this._toObjects(b,c)};return a(e,this.__serializeBgOverlay()),fabric.util.populateWithProperties(this,e,c),d&&(this.setActiveGroup(new fabric.Group(d.getObjects())),d.forEachObject(function(a){a.set("active",!0)})),e},_toObjects:function(a,b){return this.getObjects().map(function(c){return this._toObject(c,a,b)},this)},_toObject:function(a,b,c){var d;this.includeDefaultValues||(d=a.includeDefaultValues,a.includeDefaultValues=!1);var e=a[b](c);return this.includeDefaultValues||(a.includeDefaultValues=d),e},__serializeBgOverlay:function(){var a={background:this.backgroundColor&&this.backgroundColor.toObject?this.backgroundColor.toObject():this.backgroundColor};return this.overlayColor&&(a.overlay=this.overlayColor.toObject?this.overlayColor.toObject():this.overlayColor),this.backgroundImage&&(a.backgroundImage=this.backgroundImage.toObject()),this.overlayImage&&(a.overlayImage=this.overlayImage.toObject()),a},toSVG:function(a,b){a||(a={});var c=[];return this._setSVGPreamble(c,a),this._setSVGHeader(c,a),this._setSVGBgOverlayColor(c,"backgroundColor"),this._setSVGBgOverlayImage(c,"backgroundImage"),this._setSVGObjects(c,b),this._setSVGBgOverlayColor(c,"overlayColor"),this._setSVGBgOverlayImage(c,"overlayImage"),c.push(""),c.join("")},_setSVGPreamble:function(a,b){b.suppressPreamble||a.push('','\n')},_setSVGHeader:function(a,b){a.push("',"Created with Fabric.js ",fabric.version," ","",fabric.createSVGFontFacesMarkup(this.getObjects()),fabric.createSVGRefElementsMarkup(this)," ")},_setSVGObjects:function(a,b){var c=this.getActiveGroup();c&&this.discardActiveGroup();for(var d=0,e=this.getObjects(),f=e.length;f>d;d++)a.push(e[d].toSVG(b));c&&(this.setActiveGroup(new fabric.Group(c.getObjects())),c.forEachObject(function(a){a.set("active",!0)}))},_setSVGBgOverlayImage:function(a,b){this[b]&&this[b].toSVG&&a.push(this[b].toSVG())},_setSVGBgOverlayColor:function(a,b){this[b]&&this[b].source?a.push(' "):this[b]&&"overlayColor"===b&&a.push(' ")},sendToBack:function(a){return c(this._objects,a),this._objects.unshift(a),this.renderAll&&this.renderAll()},bringToFront:function(a){return c(this._objects,a),this._objects.push(a),this.renderAll&&this.renderAll()},sendBackwards:function(a,b){var d=this._objects.indexOf(a);if(0!==d){var e=this._findNewLowerIndex(a,d,b);c(this._objects,a),this._objects.splice(e,0,a),this.renderAll&&this.renderAll()}return this},_findNewLowerIndex:function(a,b,c){var d;if(c){d=b;for(var e=b-1;e>=0;--e){var f=a.intersectsWithObject(this._objects[e])||a.isContainedWithinObject(this._objects[e])||this._objects[e].isContainedWithinObject(a);if(f){d=e;break}}}else d=b-1;return d},bringForward:function(a,b){var d=this._objects.indexOf(a);if(d!==this._objects.length-1){var e=this._findNewUpperIndex(a,d,b);c(this._objects,a),this._objects.splice(e,0,a),this.renderAll&&this.renderAll()}return this},_findNewUpperIndex:function(a,b,c){var d;if(c){d=b;for(var e=b+1;e"}}),a(fabric.StaticCanvas.prototype,fabric.Observable),a(fabric.StaticCanvas.prototype,fabric.Collection),a(fabric.StaticCanvas.prototype,fabric.DataURLExporter),a(fabric.StaticCanvas,{EMPTY_JSON:'{"objects": [], "background": "white"}',supports:function(a){var b=fabric.util.createCanvasElement();if(!b||!b.getContext)return null;var c=b.getContext("2d");if(!c)return null;switch(a){case"getImageData":return"undefined"!=typeof c.getImageData;case"setLineDash":return"undefined"!=typeof c.setLineDash;case"toDataURL":return"undefined"!=typeof b.toDataURL;case"toDataURLWithQuality":try{return b.toDataURL("image/jpeg",0),!0}catch(d){}return!1;default:return null}}}),fabric.StaticCanvas.prototype.toJSON=fabric.StaticCanvas.prototype.toObject}(),fabric.BaseBrush=fabric.util.createClass({color:"rgb(0, 0, 0)",width:1,shadow:null,strokeLineCap:"round",strokeLineJoin:"round",setShadow:function(a){return this.shadow=new fabric.Shadow(a),this},_setBrushStyles:function(){var a=this.canvas.contextTop;a.strokeStyle=this.color,a.lineWidth=this.width,a.lineCap=this.strokeLineCap,a.lineJoin=this.strokeLineJoin},_setShadow:function(){if(this.shadow){var a=this.canvas.contextTop;a.shadowColor=this.shadow.color,a.shadowBlur=this.shadow.blur,a.shadowOffsetX=this.shadow.offsetX,a.shadowOffsetY=this.shadow.offsetY}},_resetShadow:function(){var a=this.canvas.contextTop;a.shadowColor="",a.shadowBlur=a.shadowOffsetX=a.shadowOffsetY=0}}),function(){var a=fabric.util.array.min,b=fabric.util.array.max;fabric.PencilBrush=fabric.util.createClass(fabric.BaseBrush,{initialize:function(a){this.canvas=a,this._points=[]},onMouseDown:function(a){this._prepareForDrawing(a),this._captureDrawingPath(a),this._render()},onMouseMove:function(a){this._captureDrawingPath(a),this.canvas.clearContext(this.canvas.contextTop),this._render()},onMouseUp:function(){this._finalizeAndAddPath()},_prepareForDrawing:function(a){var b=new fabric.Point(a.x,a.y);this._reset(),this._addPoint(b),this.canvas.contextTop.moveTo(b.x,b.y)},_addPoint:function(a){this._points.push(a)},_reset:function(){this._points.length=0,this._setBrushStyles(),this._setShadow()},_captureDrawingPath:function(a){var b=new fabric.Point(a.x,a.y);this._addPoint(b)},_render:function(){var a=this.canvas.contextTop;a.beginPath();var b=this._points[0],c=this._points[1];2===this._points.length&&b.x===c.x&&b.y===c.y&&(b.x-=.5,c.x+=.5),a.moveTo(b.x,b.y);for(var d=1,e=this._points.length;e>d;d++){var f=b.midPointFrom(c);a.quadraticCurveTo(b.x,b.y,f.x,f.y),b=this._points[d],c=this._points[d+1]}a.lineTo(b.x,b.y),a.stroke()},_getSVGPathData:function(){return this.box=this.getPathBoundingBox(this._points),this.convertPointsToSVGPath(this._points,this.box.minx,this.box.maxx,this.box.miny,this.box.maxy)},getPathBoundingBox:function(c){for(var d=[],e=[],f=c[0],g=c[1],h=f,i=1,j=c.length;j>i;i++){var k=f.midPointFrom(g);d.push(h.x),d.push(k.x),e.push(h.y),e.push(k.y),f=c[i],g=c[i+1],h=k}return d.push(f.x),e.push(f.y),{minx:a(d),miny:a(e),maxx:b(d),maxy:b(e)}},convertPointsToSVGPath:function(a,b,c,d){var e=[],f=new fabric.Point(a[0].x-b,a[0].y-d),g=new fabric.Point(a[1].x-b,a[1].y-d);e.push("M ",a[0].x-b," ",a[0].y-d," ");for(var h=1,i=a.length;i>h;h++){var j=f.midPointFrom(g);e.push("Q ",f.x," ",f.y," ",j.x," ",j.y," "),f=new fabric.Point(a[h].x-b,a[h].y-d),h+1c;c++){var e=this.points[c],f=new fabric.Circle({radius:e.radius,left:e.x,top:e.y,originX:"center",originY:"center",fill:e.fill});this.shadow&&f.setShadow(this.shadow),b.push(f)}var g=new fabric.Group(b,{originX:"center",originY:"center"});this.canvas.add(g),this.canvas.fire("path:created",{path:g}),this.canvas.clearContext(this.canvas.contextTop),this._resetShadow(),this.canvas.renderOnAddRemove=a,this.canvas.renderAll()},addPoint:function(a){var b=new fabric.Point(a.x,a.y),c=fabric.util.getRandomInt(Math.max(0,this.width-20),this.width+20)/2,d=new fabric.Color(this.color).setAlpha(fabric.util.getRandomInt(0,100)/100).toRgba();return b.radius=c,b.fill=d,this.points.push(b),b}}),fabric.SprayBrush=fabric.util.createClass(fabric.BaseBrush,{width:10,density:20,
+dotWidth:1,dotWidthVariance:1,randomOpacity:!1,optimizeOverlapping:!0,initialize:function(a){this.canvas=a,this.sprayChunks=[]},onMouseDown:function(a){this.sprayChunks.length=0,this.canvas.clearContext(this.canvas.contextTop),this._setShadow(),this.addSprayChunk(a),this.render()},onMouseMove:function(a){this.addSprayChunk(a),this.render()},onMouseUp:function(){var a=this.canvas.renderOnAddRemove;this.canvas.renderOnAddRemove=!1;for(var b=[],c=0,d=this.sprayChunks.length;d>c;c++)for(var e=this.sprayChunks[c],f=0,g=e.length;g>f;f++){var h=new fabric.Rect({width:e[f].width,height:e[f].width,left:e[f].x+1,top:e[f].y+1,originX:"center",originY:"center",fill:this.color});this.shadow&&h.setShadow(this.shadow),b.push(h)}this.optimizeOverlapping&&(b=this._getOptimizedRects(b));var i=new fabric.Group(b,{originX:"center",originY:"center"});this.canvas.add(i),this.canvas.fire("path:created",{path:i}),this.canvas.clearContext(this.canvas.contextTop),this._resetShadow(),this.canvas.renderOnAddRemove=a,this.canvas.renderAll()},_getOptimizedRects:function(a){for(var b,c={},d=0,e=a.length;e>d;d++)b=a[d].left+""+a[d].top,c[b]||(c[b]=a[d]);var f=[];for(b in c)f.push(c[b]);return f},render:function(){var a=this.canvas.contextTop;a.fillStyle=this.color,a.save();for(var b=0,c=this.sprayChunkPoints.length;c>b;b++){var d=this.sprayChunkPoints[b];"undefined"!=typeof d.opacity&&(a.globalAlpha=d.opacity),a.fillRect(d.x,d.y,d.width,d.width)}a.restore()},addSprayChunk:function(a){this.sprayChunkPoints=[];for(var b,c,d,e=this.width/2,f=0;fc.padding?a.x<0?a.x+=c.padding:a.x-=c.padding:a.x=0,e(a.y)>c.padding?a.y<0?a.y+=c.padding:a.y-=c.padding:a.y=0},_rotateObject:function(a,b){var e=this._currentTransform,f=this._offset;if(!e.target.get("lockRotation")){var g=d(e.ey-e.top-f.top,e.ex-e.left-f.left),h=d(b-e.top-f.top,a-e.left-f.left),i=c(h-g+e.theta);0>i&&(i=360+i),e.target.angle=i}},_setCursor:function(a){this.upperCanvasEl.style.cursor=a},_resetObjectTransform:function(a){a.scaleX=1,a.scaleY=1,a.setAngle(0)},_drawSelection:function(){var a=this.contextTop,b=this._groupSelector,c=b.left,d=b.top,g=e(c),h=e(d);if(a.fillStyle=this.selectionColor,a.fillRect(b.ex-(c>0?0:-c),b.ey-(d>0?0:-d),g,h),a.lineWidth=this.selectionLineWidth,a.strokeStyle=this.selectionBorderColor,this.selectionDashArray.length>1){var i=b.ex+f-(c>0?0:g),j=b.ey+f-(d>0?0:h);a.beginPath(),fabric.util.drawDashedLine(a,i,j,i+g,j,this.selectionDashArray),fabric.util.drawDashedLine(a,i,j+h-1,i+g,j+h-1,this.selectionDashArray),fabric.util.drawDashedLine(a,i,j,i,j+h,this.selectionDashArray),fabric.util.drawDashedLine(a,i+g-1,j,i+g-1,j+h,this.selectionDashArray),a.closePath(),a.stroke()}else a.strokeRect(b.ex+f-(c>0?0:g),b.ey+f-(d>0?0:h),g,h)},_isLastRenderedObject:function(a){return this.controlsAboveOverlay&&this.lastRenderedObjectWithControlsAboveOverlay&&this.lastRenderedObjectWithControlsAboveOverlay.visible&&this.containsPoint(a,this.lastRenderedObjectWithControlsAboveOverlay)&&this.lastRenderedObjectWithControlsAboveOverlay._findTargetCorner(a,this._offset)},findTarget:function(a,b){if(!this.skipTargetFind){if(this._isLastRenderedObject(a))return this.lastRenderedObjectWithControlsAboveOverlay;var c=this.getActiveGroup();return c&&!b&&this.containsPoint(a,c)?c:this._searchPossibleTargets(a)}},_searchPossibleTargets:function(a){for(var b,c=[],d=this.getPointer(a),e=this._objects.length;e--;)if(this._objects[e]&&this._objects[e].visible&&this._objects[e].evented&&this.containsPoint(a,this._objects[e])){if(!this.perPixelTargetFind&&!this._objects[e].perPixelTargetFind){b=this._objects[e],this.relatedTarget=b;break}c[c.length]=this._objects[e]}for(var f=0,g=c.length;g>f;f++){d=this.getPointer(a);var h=this.isTargetTransparent(c[f],d.x,d.y);if(!h){b=c[f],this.relatedTarget=b;break}}return b},getPointer:function(b){var c=a(b,this.upperCanvasEl);return{x:c.x-this._offset.left,y:c.y-this._offset.top}},_createUpperCanvas:function(){var a=this.lowerCanvasEl.className.replace(/\s*lower-canvas\s*/,"");this.upperCanvasEl=this._createCanvasElement(),fabric.util.addClass(this.upperCanvasEl,"upper-canvas "+a),this.wrapperEl.appendChild(this.upperCanvasEl),this._copyCanvasStyle(this.lowerCanvasEl,this.upperCanvasEl),this._applyCanvasStyle(this.upperCanvasEl),this.contextTop=this.upperCanvasEl.getContext("2d")},_createCacheCanvas:function(){this.cacheCanvasEl=this._createCanvasElement(),this.cacheCanvasEl.setAttribute("width",this.width),this.cacheCanvasEl.setAttribute("height",this.height),this.contextCache=this.cacheCanvasEl.getContext("2d")},_initWrapperElement:function(){this.wrapperEl=fabric.util.wrapElement(this.lowerCanvasEl,"div",{"class":this.containerClass}),fabric.util.setStyle(this.wrapperEl,{width:this.getWidth()+"px",height:this.getHeight()+"px",position:"relative"}),fabric.util.makeElementUnselectable(this.wrapperEl)},_applyCanvasStyle:function(a){var b=this.getWidth()||a.width,c=this.getHeight()||a.height;fabric.util.setStyle(a,{position:"absolute",width:b+"px",height:c+"px",left:0,top:0}),a.width=b,a.height=c,fabric.util.makeElementUnselectable(a)},_copyCanvasStyle:function(a,b){b.style.cssText=a.style.cssText},getSelectionContext:function(){return this.contextTop},getSelectionElement:function(){return this.upperCanvasEl},_setActiveObject:function(a){this._activeObject&&this._activeObject.set("active",!1),this._activeObject=a,a.set("active",!0)},setActiveObject:function(a,b){return this._setActiveObject(a),this.renderAll(),this.fire("object:selected",{target:a,e:b}),a.fire("selected",{e:b}),this},getActiveObject:function(){return this._activeObject},_discardActiveObject:function(){this._activeObject&&this._activeObject.set("active",!1),this._activeObject=null},discardActiveObject:function(a){return this._discardActiveObject(),this.renderAll(),this.fire("selection:cleared",{e:a}),this},_setActiveGroup:function(a){this._activeGroup=a,a&&(a.canvas=this,a.set("active",!0))},setActiveGroup:function(a,b){return this._setActiveGroup(a),a&&(this.fire("object:selected",{target:a,e:b}),a.fire("selected",{e:b})),this},getActiveGroup:function(){return this._activeGroup},_discardActiveGroup:function(){var a=this.getActiveGroup();a&&a.destroy(),this.setActiveGroup(null)},discardActiveGroup:function(a){return this._discardActiveGroup(),this.fire("selection:cleared",{e:a}),this},deactivateAll:function(){for(var a=this.getObjects(),b=0,c=a.length;c>b;b++)a[b].set("active",!1);return this._discardActiveGroup(),this._discardActiveObject(),this},deactivateAllWithDispatch:function(a){var b=this.getActiveGroup()||this.getActiveObject();return b&&this.fire("before:selection:cleared",{target:b,e:a}),this.deactivateAll(),b&&this.fire("selection:cleared",{e:a}),this},drawControls:function(a){var b=this.getActiveGroup();b?this._drawGroupControls(a,b):this._drawObjectsControls(a)},_drawGroupControls:function(a,b){this._drawControls(a,b,"Group")},_drawObjectsControls:function(a){for(var b=0,c=this._objects.length;c>b;++b)this._objects[b]&&this._objects[b].active&&(this._drawControls(a,this._objects[b],"Object"),this.lastRenderedObjectWithControlsAboveOverlay=this._objects[b])},_drawControls:function(a,b,c){a.save(),fabric[c].prototype.transform.call(b,a),b.drawBorders(a).drawControls(a),a.restore()}});for(var g in fabric.StaticCanvas)"prototype"!==g&&(fabric.Canvas[g]=fabric.StaticCanvas[g]);fabric.isTouchSupported&&(fabric.Canvas.prototype._setCursorFromEvent=function(){}),fabric.Element=fabric.Canvas}(),function(){var a=["n-resize","ne-resize","e-resize","se-resize","s-resize","sw-resize","w-resize","nw-resize"],b={mt:0,tr:1,mr:2,br:3,mb:4,bl:5,ml:6,tl:7},c=fabric.util.addListener,d=fabric.util.removeListener,e=fabric.util.getPointer;fabric.util.object.extend(fabric.Canvas.prototype,{_initEventListeners:function(){this._bindEvents(),c(fabric.window,"resize",this._onResize),c(this.upperCanvasEl,"mousedown",this._onMouseDown),c(this.upperCanvasEl,"mousemove",this._onMouseMove),c(this.upperCanvasEl,"mousewheel",this._onMouseWheel),c(this.upperCanvasEl,"touchstart",this._onMouseDown),c(this.upperCanvasEl,"touchmove",this._onMouseMove),"undefined"!=typeof Event&&"add"in Event&&(Event.add(this.upperCanvasEl,"gesture",this._onGesture),Event.add(this.upperCanvasEl,"drag",this._onDrag),Event.add(this.upperCanvasEl,"orientation",this._onOrientationChange),Event.add(this.upperCanvasEl,"shake",this._onShake))},_bindEvents:function(){this._onMouseDown=this._onMouseDown.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onResize=this._onResize.bind(this),this._onGesture=this._onGesture.bind(this),this._onDrag=this._onDrag.bind(this),this._onShake=this._onShake.bind(this),this._onOrientationChange=this._onOrientationChange.bind(this),this._onMouseWheel=this._onMouseWheel.bind(this)},removeListeners:function(){d(fabric.window,"resize",this._onResize),d(this.upperCanvasEl,"mousedown",this._onMouseDown),d(this.upperCanvasEl,"mousemove",this._onMouseMove),d(this.upperCanvasEl,"mousewheel",this._onMouseWheel),d(this.upperCanvasEl,"touchstart",this._onMouseDown),d(this.upperCanvasEl,"touchmove",this._onMouseMove),"undefined"!=typeof Event&&"remove"in Event&&(Event.remove(this.upperCanvasEl,"gesture",this._onGesture),Event.remove(this.upperCanvasEl,"drag",this._onDrag),Event.remove(this.upperCanvasEl,"orientation",this._onOrientationChange),Event.remove(this.upperCanvasEl,"shake",this._onShake))},_onGesture:function(a,b){this.__onTransformGesture&&this.__onTransformGesture(a,b)},_onDrag:function(a,b){this.__onDrag&&this.__onDrag(a,b)},_onMouseWheel:function(a,b){this.__onMouseWheel&&this.__onMouseWheel(a,b)},_onOrientationChange:function(a,b){this.__onOrientationChange&&this.__onOrientationChange(a,b)},_onShake:function(a,b){this.__onShake&&this.__onShake(a,b)},_onMouseDown:function(a){this.__onMouseDown(a),c(fabric.document,"mouseup",this._onMouseUp),c(fabric.document,"touchend",this._onMouseUp),c(fabric.document,"mousemove",this._onMouseMove),c(fabric.document,"touchmove",this._onMouseMove),d(this.upperCanvasEl,"mousemove",this._onMouseMove),d(this.upperCanvasEl,"touchmove",this._onMouseMove)},_onMouseUp:function(a){this.__onMouseUp(a),d(fabric.document,"mouseup",this._onMouseUp),d(fabric.document,"touchend",this._onMouseUp),d(fabric.document,"mousemove",this._onMouseMove),d(fabric.document,"touchmove",this._onMouseMove),c(this.upperCanvasEl,"mousemove",this._onMouseMove),c(this.upperCanvasEl,"touchmove",this._onMouseMove)},_onMouseMove:function(a){!this.allowTouchScrolling&&a.preventDefault&&a.preventDefault(),this.__onMouseMove(a)},_onResize:function(){this.calcOffset()},_shouldRender:function(a,b){var c=this.getActiveGroup()||this.getActiveObject();return!!(a&&(a.isMoving||a!==c)||!a&&c||!a&&!c&&!this._groupSelector||b&&this._previousPointer&&this.selection&&(b.x!==this._previousPointer.x||b.y!==this._previousPointer.y))},__onMouseUp:function(a){var b;if(this.isDrawingMode&&this._isCurrentlyDrawing)return void this._onMouseUpInDrawingMode(a);this._currentTransform?(this._finalizeCurrentTransform(),b=this._currentTransform.target):b=this.findTarget(a,!0);var c=this._shouldRender(b,this.getPointer(a));this._maybeGroupObjects(a),b&&(b.isMoving=!1),c&&this.renderAll(),this._handleCursorAndEvent(a,b)},_handleCursorAndEvent:function(a,b){this._setCursorFromEvent(a,b);var c=this;setTimeout(function(){c._setCursorFromEvent(a,b)},50),this.fire("mouse:up",{target:b,e:a}),b&&b.fire("mouseup",{e:a})},_finalizeCurrentTransform:function(){var a=this._currentTransform,b=a.target;b._scaling&&(b._scaling=!1),b.setCoords(),this.stateful&&b.hasStateChanged()&&(this.fire("object:modified",{target:b}),b.fire("modified")),this._restoreOriginXY(b)},_restoreOriginXY:function(a){if(this._previousOriginX&&this._previousOriginY){var b=a.translateToOriginPoint(a.getCenterPoint(),this._previousOriginX,this._previousOriginY);a.originX=this._previousOriginX,a.originY=this._previousOriginY,a.left=b.x,a.top=b.y,this._previousOriginX=null,this._previousOriginY=null}},_onMouseDownInDrawingMode:function(a){this._isCurrentlyDrawing=!0,this.discardActiveObject(a).renderAll(),this.clipTo&&fabric.util.clipContext(this,this.contextTop),this.freeDrawingBrush.onMouseDown(this.getPointer(a)),this.fire("mouse:down",{e:a})},_onMouseMoveInDrawingMode:function(a){if(this._isCurrentlyDrawing){var b=this.getPointer(a);this.freeDrawingBrush.onMouseMove(b)}this.upperCanvasEl.style.cursor=this.freeDrawingCursor,this.fire("mouse:move",{e:a})},_onMouseUpInDrawingMode:function(a){this._isCurrentlyDrawing=!1,this.clipTo&&this.contextTop.restore(),this.freeDrawingBrush.onMouseUp(),this.fire("mouse:up",{e:a})},__onMouseDown:function(a){var b="which"in a?1===a.which:1===a.button;if(b||fabric.isTouchSupported){if(this.isDrawingMode)return void this._onMouseDownInDrawingMode(a);if(!this._currentTransform){var c=this.findTarget(a),d=this.getPointer(a);this._previousPointer=d;var e=this._shouldRender(c,d),f=this._shouldGroup(a,c);this._shouldClearSelection(a,c)?this._clearSelection(a,c,d):f&&(this._handleGrouping(a,c),c=this.getActiveGroup()),c&&c.selectable&&!f&&(this._beforeTransform(a,c),this._setupCurrentTransform(a,c)),e&&this.renderAll(),this.fire("mouse:down",{target:c,e:a}),c&&c.fire("mousedown",{e:a})}}},_beforeTransform:function(a,b){var c;this.stateful&&b.saveState(),(c=b._findTargetCorner(a,this._offset))&&this.onBeforeScaleRotate(b),b!==this.getActiveGroup()&&b!==this.getActiveObject()&&(this.deactivateAll(),this.setActiveObject(b,a))},_clearSelection:function(a,b,c){this.deactivateAllWithDispatch(a),b&&b.selectable?this.setActiveObject(b,a):this.selection&&(this._groupSelector={ex:c.x,ey:c.y,top:0,left:0})},_setOriginToCenter:function(a){this._previousOriginX=this._currentTransform.target.originX,this._previousOriginY=this._currentTransform.target.originY;var b=a.getCenterPoint();a.originX="center",a.originY="center",a.left=b.x,a.top=b.y,this._currentTransform.left=a.left,this._currentTransform.top=a.top},_setCenterToOrigin:function(a){var b=a.translateToOriginPoint(a.getCenterPoint(),this._previousOriginX,this._previousOriginY);a.originX=this._previousOriginX,a.originY=this._previousOriginY,a.left=b.x,a.top=b.y,this._previousOriginX=null,this._previousOriginY=null},__onMouseMove:function(a){var b,c;if(this.isDrawingMode)return void this._onMouseMoveInDrawingMode(a);var d=this._groupSelector;d?(c=e(a,this.upperCanvasEl),d.left=c.x-this._offset.left-d.ex,d.top=c.y-this._offset.top-d.ey,this.renderTop()):this._currentTransform?this._transformObject(a):(b=this.findTarget(a),!b||b&&!b.selectable?this.upperCanvasEl.style.cursor=this.defaultCursor:this._setCursorFromEvent(a,b)),this.fire("mouse:move",{target:b,e:a}),b&&b.fire("mousemove",{e:a})},_transformObject:function(a){var b=e(a,this.upperCanvasEl),c=this._currentTransform;c.reset=!1,c.target.isMoving=!0,this._beforeScaleTransform(a,c),this._performTransformAction(a,c,b),this.renderAll()},_performTransformAction:function(a,b,c){var d=c.x,e=c.y,f=b.target,g=b.action;"rotate"===g?(this._rotateObject(d,e),this._fire("rotating",f,a)):"scale"===g?(this._onScale(a,b,d,e),this._fire("scaling",f,a)):"scaleX"===g?(this._scaleObject(d,e,"x"),this._fire("scaling",f,a)):"scaleY"===g?(this._scaleObject(d,e,"y"),this._fire("scaling",f,a)):(this._translateObject(d,e),this._fire("moving",f,a),this._setCursor(this.moveCursor))},_fire:function(a,b,c){this.fire("object:"+a,{target:b,e:c}),b.fire(a,{e:c})},_beforeScaleTransform:function(a,b){if("scale"===b.action||"scaleX"===b.action||"scaleY"===b.action){var c=this._shouldCenterTransform(a,b.target);(c&&("center"!==b.originX||"center"!==b.originY)||!c&&"center"===b.originX&&"center"===b.originY)&&(this._resetCurrentTransform(a),b.reset=!0)}},_onScale:function(a,b,c,d){!a.shiftKey&&!this.uniScaleTransform||b.target.get("lockUniScaling")?(b.reset||"scale"!==b.currentAction||this._resetCurrentTransform(a,b.target),b.currentAction="scaleEqually",this._scaleObject(c,d,"equally")):(b.currentAction="scale",this._scaleObject(c,d))},_setCursorFromEvent:function(a,b){var c=this.upperCanvasEl.style;if(!b||!b.selectable)return c.cursor=this.defaultCursor,!1;var d=this.getActiveGroup(),e=b._findTargetCorner&&(!d||!d.contains(b))&&b._findTargetCorner(a,this._offset);return e?this._setCornerCursor(e,b):c.cursor=b.hoverCursor||this.hoverCursor,!0},_setCornerCursor:function(a,c){var d=this.upperCanvasEl.style;if(a in b)d.cursor=this._getRotatedCornerCursor(a,c);else{if("mtr"!==a||!c.hasRotatingPoint)return d.cursor=this.defaultCursor,!1;d.cursor=this.rotationCursor}},_getRotatedCornerCursor:function(c,d){var e=Math.round(d.getAngle()%360/45);return 0>e&&(e+=8),e+=b[c],e%=8,a[e]}})}(),function(){var a=Math.min,b=Math.max;fabric.util.object.extend(fabric.Canvas.prototype,{_shouldGroup:function(a,b){var c=this.getActiveObject();return a.shiftKey&&(this.getActiveGroup()||c&&c!==b)&&this.selection},_handleGrouping:function(a,b){(b!==this.getActiveGroup()||(b=this.findTarget(a,!0),b&&!b.isType("group")))&&(this.getActiveGroup()?this._updateActiveGroup(b,a):this._createActiveGroup(b,a),this._activeGroup&&this._activeGroup.saveCoords())},_updateActiveGroup:function(a,b){var c=this.getActiveGroup();if(c.contains(a)){if(c.removeWithUpdate(a),this._resetObjectTransform(c),a.set("active",!1),1===c.size())return this.discardActiveGroup(b),void this.setActiveObject(c.item(0))}else c.addWithUpdate(a),this._resetObjectTransform(c);this.fire("selection:created",{target:c,e:b}),c.set("active",!0)},_createActiveGroup:function(a,b){if(this._activeObject&&a!==this._activeObject){var c=this._createGroup(a);this.setActiveGroup(c),this._activeObject=null,this.fire("selection:created",{target:c,e:b})}a.set("active",!0)},_createGroup:function(a){var b=this.getObjects(),c=b.indexOf(this._activeObject)1&&(b=new fabric.Group(b.reverse(),{originX:"center",originY:"center"}),this.setActiveGroup(b,a),b.saveCoords(),this.fire("selection:created",{target:b}),this.renderAll())},_collectObjects:function(){for(var c,d=[],e=this._groupSelector.ex,f=this._groupSelector.ey,g=e+this._groupSelector.left,h=f+this._groupSelector.top,i=new fabric.Point(a(e,g),a(f,h)),j=new fabric.Point(b(e,g),b(f,h)),k=e===g&&f===h,l=this._objects.length;l--&&(c=this._objects[l],!(c&&c.selectable&&c.visible&&(c.intersectsWithRect(i,j)||c.isContainedWithinRect(i,j)||c.containsPoint(i)||c.containsPoint(j))&&(c.set("active",!0),d.push(c),k))););return d},_maybeGroupObjects:function(a){this.selection&&this._groupSelector&&this._groupSelectedObjects(a);var b=this.getActiveGroup();b&&(b.setObjectsCoords().setCoords(),b.isMoving=!1,this._setCursor(this.defaultCursor)),this._groupSelector=null,this._currentTransform=null}})}(),fabric.util.object.extend(fabric.StaticCanvas.prototype,{toDataURL:function(a){a||(a={});var b=a.format||"png",c=a.quality||1,d=a.multiplier||1,e={left:a.left,top:a.top,width:a.width,height:a.height};return 1!==d?this.__toDataURLWithMultiplier(b,c,e,d):this.__toDataURL(b,c,e)},__toDataURL:function(a,b,c){this.renderAll(!0);var d=this.upperCanvasEl||this.lowerCanvasEl,e=this.__getCroppedCanvas(d,c);"jpg"===a&&(a="jpeg");var f=fabric.StaticCanvas.supports("toDataURLWithQuality")?(e||d).toDataURL("image/"+a,b):(e||d).toDataURL("image/"+a);return this.contextTop&&this.clearContext(this.contextTop),this.renderAll(),e&&(e=null),f},__getCroppedCanvas:function(a,b){var c,d,e="left"in b||"top"in b||"width"in b||"height"in b;return e&&(c=fabric.util.createCanvasElement(),d=c.getContext("2d"),c.width=b.width||this.width,c.height=b.height||this.height,d.drawImage(a,-b.left||0,-b.top||0)),c},__toDataURLWithMultiplier:function(a,b,c,d){var e=this.getWidth(),f=this.getHeight(),g=e*d,h=f*d,i=this.getActiveObject(),j=this.getActiveGroup(),k=this.contextTop||this.contextContainer;this.setWidth(g).setHeight(h),k.scale(d,d),c.left&&(c.left*=d),c.top&&(c.top*=d),c.width&&(c.width*=d),c.height&&(c.height*=d),j?this._tempRemoveBordersControlsFromGroup(j):i&&this.deactivateAll&&this.deactivateAll(),this.renderAll(!0);var l=this.__toDataURL(a,b,c);return this.width=e,this.height=f,k.scale(1/d,1/d),this.setWidth(e).setHeight(f),j?this._restoreBordersControlsOnGroup(j):i&&this.setActiveObject&&this.setActiveObject(i),this.contextTop&&this.clearContext(this.contextTop),this.renderAll(),l},toDataURLWithMultiplier:function(a,b,c){return this.toDataURL({format:a,multiplier:b,quality:c})},_tempRemoveBordersControlsFromGroup:function(a){a.origHasControls=a.hasControls,a.origBorderColor=a.borderColor,a.hasControls=!0,a.borderColor="rgba(0,0,0,0)",a.forEachObject(function(a){a.origBorderColor=a.borderColor,a.borderColor="rgba(0,0,0,0)"})},_restoreBordersControlsOnGroup:function(a){a.hideControls=a.origHideControls,a.borderColor=a.origBorderColor,a.forEachObject(function(a){a.borderColor=a.origBorderColor,delete a.origBorderColor})}}),fabric.util.object.extend(fabric.StaticCanvas.prototype,{loadFromDatalessJSON:function(a,b,c){return this.loadFromJSON(a,b,c)},loadFromJSON:function(a,b,c){if(a){var d="string"==typeof a?JSON.parse(a):a;this.clear();var e=this;return this._enlivenObjects(d.objects,function(){e._setBgOverlay(d,b)},c),this}},_setBgOverlay:function(a,b){var c=this,d={backgroundColor:!1,overlayColor:!1,backgroundImage:!1,overlayImage:!1};if(!(a.backgroundImage||a.overlayImage||a.background||a.overlay))return void(b&&b());var e=function(){d.backgroundImage&&d.overlayImage&&d.backgroundColor&&d.overlayColor&&(c.renderAll(),b&&b())};this.__setBgOverlay("backgroundImage",a.backgroundImage,d,e),this.__setBgOverlay("overlayImage",a.overlayImage,d,e),this.__setBgOverlay("backgroundColor",a.background,d,e),this.__setBgOverlay("overlayColor",a.overlay,d,e),e()},__setBgOverlay:function(a,b,c,d){var e=this;return b?void("backgroundImage"===a||"overlayImage"===a?fabric.Image.fromObject(b,function(b){e[a]=b,c[a]=!0,d&&d()}):this["set"+fabric.util.string.capitalize(a,!0)](b,function(){c[a]=!0,d&&d()})):void(c[a]=!0)},_enlivenObjects:function(a,b,c){var d=this;0===a.length&&b&&b();var e=this.renderOnAddRemove;this.renderOnAddRemove=!1,fabric.util.enlivenObjects(a,function(a){a.forEach(function(a,b){d.insertAt(a,b,!0)}),d.renderOnAddRemove=e,b&&b()},null,c)},_toDataURL:function(a,b){this.clone(function(c){b(c.toDataURL(a))})},_toDataURLWithMultiplier:function(a,b,c){this.clone(function(d){c(d.toDataURLWithMultiplier(a,b))})},clone:function(a,b){var c=JSON.stringify(this.toJSON(b));this.cloneWithoutData(function(b){b.loadFromJSON(c,function(){a&&a(b)})})},cloneWithoutData:function(a){var b=fabric.document.createElement("canvas");b.width=this.getWidth(),b.height=this.getHeight();var c=new fabric.Canvas(b);c.clipTo=this.clipTo,this.backgroundImage?(c.setBackgroundImage(this.backgroundImage.src,function(){c.renderAll(),a&&a(c)}),c.backgroundImageOpacity=this.backgroundImageOpacity,c.backgroundImageStretch=this.backgroundImageStretch):a&&a(c)}}),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend,d=b.util.toFixed,e=b.util.string.capitalize,f=b.util.degreesToRadians,g=b.StaticCanvas.supports("setLineDash");b.Object||(b.Object=b.util.createClass({type:"object",originX:"left",originY:"top",top:0,left:0,width:0,height:0,scaleX:1,scaleY:1,flipX:!1,flipY:!1,opacity:1,angle:0,cornerSize:12,transparentCorners:!0,hoverCursor:null,padding:0,borderColor:"rgba(102,153,255,0.75)",cornerColor:"rgba(102,153,255,0.5)",centeredScaling:!1,centeredRotation:!0,fill:"rgb(0,0,0)",fillRule:"source-over",backgroundColor:"",stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeLineJoin:"miter",strokeMiterLimit:10,shadow:null,borderOpacityWhenMoving:.4,borderScaleFactor:1,transformMatrix:null,minScaleLimit:.01,selectable:!0,evented:!0,visible:!0,hasControls:!0,hasBorders:!0,hasRotatingPoint:!0,rotatingPointOffset:40,perPixelTargetFind:!1,includeDefaultValues:!0,clipTo:null,lockMovementX:!1,lockMovementY:!1,lockRotation:!1,lockScalingX:!1,lockScalingY:!1,lockUniScaling:!1,stateProperties:"top left width height scaleX scaleY flipX flipY originX originY transformMatrix stroke strokeWidth strokeDashArray strokeLineCap strokeLineJoin strokeMiterLimit angle opacity fill fillRule shadow clipTo visible backgroundColor".split(" "),initialize:function(a){a&&this.setOptions(a)},_initGradient:function(a){!a.fill||!a.fill.colorStops||a.fill instanceof b.Gradient||this.set("fill",new b.Gradient(a.fill))},_initPattern:function(a){!a.fill||!a.fill.source||a.fill instanceof b.Pattern||this.set("fill",new b.Pattern(a.fill)),!a.stroke||!a.stroke.source||a.stroke instanceof b.Pattern||this.set("stroke",new b.Pattern(a.stroke))},_initClipping:function(a){if(a.clipTo&&"string"==typeof a.clipTo){var c=b.util.getFunctionBody(a.clipTo);"undefined"!=typeof c&&(this.clipTo=new Function("ctx",c))}},setOptions:function(a){for(var b in a)this.set(b,a[b]);this._initGradient(a),this._initPattern(a),this._initClipping(a)},transform:function(a,b){a.globalAlpha=this.opacity;var c=b?this._getLeftTopCoords():this.getCenterPoint();a.translate(c.x,c.y),a.rotate(f(this.angle)),a.scale(this.scaleX*(this.flipX?-1:1),this.scaleY*(this.flipY?-1:1))},toObject:function(a){var c=b.Object.NUM_FRACTION_DIGITS,e={
+type:this.type,originX:this.originX,originY:this.originY,left:d(this.left,c),top:d(this.top,c),width:d(this.width,c),height:d(this.height,c),fill:this.fill&&this.fill.toObject?this.fill.toObject():this.fill,stroke:this.stroke&&this.stroke.toObject?this.stroke.toObject():this.stroke,strokeWidth:d(this.strokeWidth,c),strokeDashArray:this.strokeDashArray,strokeLineCap:this.strokeLineCap,strokeLineJoin:this.strokeLineJoin,strokeMiterLimit:d(this.strokeMiterLimit,c),scaleX:d(this.scaleX,c),scaleY:d(this.scaleY,c),angle:d(this.getAngle(),c),flipX:this.flipX,flipY:this.flipY,opacity:d(this.opacity,c),shadow:this.shadow&&this.shadow.toObject?this.shadow.toObject():this.shadow,visible:this.visible,clipTo:this.clipTo&&String(this.clipTo),backgroundColor:this.backgroundColor};return this.includeDefaultValues||(e=this._removeDefaultValues(e)),b.util.populateWithProperties(this,e,a),e},toDatalessObject:function(a){return this.toObject(a)},_removeDefaultValues:function(a){var c=b.util.getKlass(a.type).prototype,d=c.stateProperties;return d.forEach(function(b){a[b]===c[b]&&delete a[b]}),a},toString:function(){return"#"},get:function(a){return this[a]},set:function(a,b){if("object"==typeof a)for(var c in a)this._set(c,a[c]);else"function"==typeof b&&"clipTo"!==a?this._set(a,b(this.get(a))):this._set(a,b);return this},_set:function(a,c){var e="scaleX"===a||"scaleY"===a;return e&&(c=this._constrainScale(c)),"scaleX"===a&&0>c?(this.flipX=!this.flipX,c*=-1):"scaleY"===a&&0>c?(this.flipY=!this.flipY,c*=-1):"width"===a||"height"===a?this.minScaleLimit=d(Math.min(.1,1/Math.max(this.width,this.height)),2):"shadow"!==a||!c||c instanceof b.Shadow||(c=new b.Shadow(c)),this[a]=c,this},toggle:function(a){var b=this.get(a);return"boolean"==typeof b&&this.set(a,!b),this},setSourcePath:function(a){return this.sourcePath=a,this},render:function(a,c){if(0!==this.width&&0!==this.height&&this.visible){a.save(),this._transform(a,c),this._setStrokeStyles(a),this._setFillStyles(a);var d=this.transformMatrix;d&&this.group&&(a.translate(-this.group.width/2,-this.group.height/2),a.transform(d[0],d[1],d[2],d[3],d[4],d[5])),this._setShadow(a),this.clipTo&&b.util.clipContext(this,a),this._render(a,c),this.clipTo&&a.restore(),this._removeShadow(a),this.active&&!c&&(this.drawBorders(a),this.drawControls(a)),a.restore()}},_transform:function(a,b){var c=this.transformMatrix;c&&!this.group&&a.setTransform(c[0],c[1],c[2],c[3],c[4],c[5]),b||this.transform(a)},_setStrokeStyles:function(a){this.stroke&&(a.lineWidth=this.strokeWidth,a.lineCap=this.strokeLineCap,a.lineJoin=this.strokeLineJoin,a.miterLimit=this.strokeMiterLimit,a.strokeStyle=this.stroke.toLive?this.stroke.toLive(a):this.stroke)},_setFillStyles:function(a){this.fill&&(a.fillStyle=this.fill.toLive?this.fill.toLive(a):this.fill)},_setShadow:function(a){this.shadow&&(a.shadowColor=this.shadow.color,a.shadowBlur=this.shadow.blur,a.shadowOffsetX=this.shadow.offsetX,a.shadowOffsetY=this.shadow.offsetY)},_removeShadow:function(a){a.shadowColor="",a.shadowBlur=a.shadowOffsetX=a.shadowOffsetY=0},_renderFill:function(a){this.fill&&(this.fill.toLive&&(a.save(),a.translate(-this.width/2+this.fill.offsetX||0,-this.height/2+this.fill.offsetY||0)),a.fill(),this.fill.toLive&&a.restore(),this.shadow&&!this.shadow.affectStroke&&this._removeShadow(a))},_renderStroke:function(a){this.stroke&&(a.save(),this.strokeDashArray?(1&this.strokeDashArray.length&&this.strokeDashArray.push.apply(this.strokeDashArray,this.strokeDashArray),g?(a.setLineDash(this.strokeDashArray),this._stroke&&this._stroke(a)):this._renderDashedStroke&&this._renderDashedStroke(a),a.stroke()):this._stroke?this._stroke(a):a.stroke(),this._removeShadow(a),a.restore())},clone:function(a,c){return this.constructor.fromObject?this.constructor.fromObject(this.toObject(c),a):new b.Object(this.toObject(c))},cloneAsImage:function(a){var c=this.toDataURL();return b.util.loadImage(c,function(c){a&&a(new b.Image(c))}),this},toDataURL:function(a){a||(a={});var c=b.util.createCanvasElement(),d=this.getBoundingRect();c.width=d.width,c.height=d.height,b.util.wrapElement(c,"div");var e=new b.Canvas(c);"jpg"===a.format&&(a.format="jpeg"),"jpeg"===a.format&&(e.backgroundColor="#fff");var f={active:this.get("active"),left:this.getLeft(),top:this.getTop()};this.set("active",!1),this.setPositionByOrigin(new b.Point(c.width/2,c.height/2),"center","center");var g=this.canvas;e.add(this);var h=e.toDataURL(a);return this.set(f).setCoords(),this.canvas=g,e.dispose(),e=null,h},isType:function(a){return this.type===a},complexity:function(){return 0},toJSON:function(a){return this.toObject(a)},setGradient:function(a,c){c||(c={});var d={colorStops:[]};d.type=c.type||(c.r1||c.r2?"radial":"linear"),d.coords={x1:c.x1,y1:c.y1,x2:c.x2,y2:c.y2},(c.r1||c.r2)&&(d.coords.r1=c.r1,d.coords.r2=c.r2);for(var e in c.colorStops){var f=new b.Color(c.colorStops[e]);d.colorStops.push({offset:e,color:f.toRgb(),opacity:f.getAlpha()})}return this.set(a,b.Gradient.forObject(this,d))},setPatternFill:function(a){return this.set("fill",new b.Pattern(a))},setShadow:function(a){return this.set("shadow",new b.Shadow(a))},setColor:function(a){return this.set("fill",a),this},centerH:function(){return this.canvas.centerObjectH(this),this},centerV:function(){return this.canvas.centerObjectV(this),this},center:function(){return this.canvas.centerObject(this),this},remove:function(){return this.canvas.remove(this)},getLocalPointer:function(a,b){b=b||this.canvas.getPointer(a);var c=this.translateToOriginPoint(this.getCenterPoint(),"left","top");return{x:b.x-c.x,y:b.y-c.y}}}),b.util.createAccessors(b.Object),b.Object.prototype.rotate=b.Object.prototype.setAngle,c(b.Object.prototype,b.Observable),b.Object.NUM_FRACTION_DIGITS=2,b.Object.__uid=0)}("undefined"!=typeof exports?exports:this),function(){var a=fabric.util.degreesToRadians;fabric.util.object.extend(fabric.Object.prototype,{translateToCenterPoint:function(b,c,d){var e=b.x,f=b.y,g=this.stroke?this.strokeWidth:0;return"left"===c?e=b.x+(this.getWidth()+g*this.scaleX)/2:"right"===c&&(e=b.x-(this.getWidth()+g*this.scaleX)/2),"top"===d?f=b.y+(this.getHeight()+g*this.scaleY)/2:"bottom"===d&&(f=b.y-(this.getHeight()+g*this.scaleY)/2),fabric.util.rotatePoint(new fabric.Point(e,f),b,a(this.angle))},translateToOriginPoint:function(b,c,d){var e=b.x,f=b.y,g=this.stroke?this.strokeWidth:0;return"left"===c?e=b.x-(this.getWidth()+g*this.scaleX)/2:"right"===c&&(e=b.x+(this.getWidth()+g*this.scaleX)/2),"top"===d?f=b.y-(this.getHeight()+g*this.scaleY)/2:"bottom"===d&&(f=b.y+(this.getHeight()+g*this.scaleY)/2),fabric.util.rotatePoint(new fabric.Point(e,f),b,a(this.angle))},getCenterPoint:function(){var a=new fabric.Point(this.left,this.top);return this.translateToCenterPoint(a,this.originX,this.originY)},getPointByOrigin:function(a,b){var c=this.getCenterPoint();return this.translateToOriginPoint(c,a,b)},toLocalPoint:function(b,c,d){var e,f,g=this.getCenterPoint(),h=this.stroke?this.strokeWidth:0;return c&&d?(e="left"===c?g.x-(this.getWidth()+h*this.scaleX)/2:"right"===c?g.x+(this.getWidth()+h*this.scaleX)/2:g.x,f="top"===d?g.y-(this.getHeight()+h*this.scaleY)/2:"bottom"===d?g.y+(this.getHeight()+h*this.scaleY)/2:g.y):(e=this.left,f=this.top),fabric.util.rotatePoint(new fabric.Point(b.x,b.y),g,-a(this.angle)).subtractEquals(new fabric.Point(e,f))},setPositionByOrigin:function(a,b,c){var d=this.translateToCenterPoint(a,b,c),e=this.translateToOriginPoint(d,this.originX,this.originY);this.set("left",e.x),this.set("top",e.y)},adjustPosition:function(b){var c=a(this.angle),d=this.getWidth()/2,e=Math.cos(c)*d,f=Math.sin(c)*d,g=this.getWidth(),h=Math.cos(c)*g,i=Math.sin(c)*g;"center"===this.originX&&"left"===b||"right"===this.originX&&"center"===b?(this.left-=e,this.top-=f):"left"===this.originX&&"center"===b||"center"===this.originX&&"right"===b?(this.left+=e,this.top+=f):"left"===this.originX&&"right"===b?(this.left+=h,this.top+=i):"right"===this.originX&&"left"===b&&(this.left-=h,this.top-=i),this.setCoords(),this.originX=b},_getLeftTopCoords:function(){return this.translateToOriginPoint(this.getCenterPoint(),"left","center")}})}(),function(){var a=fabric.util.degreesToRadians;fabric.util.object.extend(fabric.Object.prototype,{oCoords:null,intersectsWithRect:function(a,b){var c=this.oCoords,d=new fabric.Point(c.tl.x,c.tl.y),e=new fabric.Point(c.tr.x,c.tr.y),f=new fabric.Point(c.bl.x,c.bl.y),g=new fabric.Point(c.br.x,c.br.y),h=fabric.Intersection.intersectPolygonRectangle([d,e,g,f],a,b);return"Intersection"===h.status},intersectsWithObject:function(a){function b(a){return{tl:new fabric.Point(a.tl.x,a.tl.y),tr:new fabric.Point(a.tr.x,a.tr.y),bl:new fabric.Point(a.bl.x,a.bl.y),br:new fabric.Point(a.br.x,a.br.y)}}var c=b(this.oCoords),d=b(a.oCoords),e=fabric.Intersection.intersectPolygonPolygon([c.tl,c.tr,c.br,c.bl],[d.tl,d.tr,d.br,d.bl]);return"Intersection"===e.status},isContainedWithinObject:function(a){var b=a.getBoundingRect(),c=new fabric.Point(b.left,b.top),d=new fabric.Point(b.left+b.width,b.top+b.height);return this.isContainedWithinRect(c,d)},isContainedWithinRect:function(a,b){var c=this.getBoundingRect();return c.left>a.x&&c.left+c.widtha.y&&c.top+c.height=a.y&&i.d.y>=a.y||(i.o.x===i.d.x&&i.o.x>=a.x?(g=i.o.x,h=a.y):(c=0,d=(i.d.y-i.o.y)/(i.d.x-i.o.x),e=a.y-c*a.x,f=i.o.y-d*i.o.x,g=-(e-f)/(c-d),h=e+c*g),g>=a.x&&(j+=1),2!==j)))break;return j},getBoundingRectWidth:function(){return this.getBoundingRect().width},getBoundingRectHeight:function(){return this.getBoundingRect().height},getBoundingRect:function(){this.oCoords||this.setCoords();var a=[this.oCoords.tl.x,this.oCoords.tr.x,this.oCoords.br.x,this.oCoords.bl.x],b=fabric.util.array.min(a),c=fabric.util.array.max(a),d=Math.abs(b-c),e=[this.oCoords.tl.y,this.oCoords.tr.y,this.oCoords.br.y,this.oCoords.bl.y],f=fabric.util.array.min(e),g=fabric.util.array.max(e),h=Math.abs(f-g);return{left:b,top:f,width:d,height:h}},getWidth:function(){return this.width*this.scaleX},getHeight:function(){return this.height*this.scaleY},_constrainScale:function(a){return Math.abs(a)a?-this.minScaleLimit:this.minScaleLimit:a},scale:function(a){return a=this._constrainScale(a),0>a&&(this.flipX=!this.flipX,this.flipY=!this.flipY,a*=-1),this.scaleX=a,this.scaleY=a,this.setCoords(),this},scaleToWidth:function(a){var b=this.getBoundingRectWidth()/this.getWidth();return this.scale(a/this.width/b)},scaleToHeight:function(a){var b=this.getBoundingRectHeight()/this.getHeight();return this.scale(a/this.height/b)},setCoords:function(){var b=this.strokeWidth>1?this.strokeWidth:0,c=this.padding,d=a(this.angle);this.currentWidth=(this.width+b)*this.scaleX+2*c,this.currentHeight=(this.height+b)*this.scaleY+2*c,this.currentWidth<0&&(this.currentWidth=Math.abs(this.currentWidth));var e=Math.sqrt(Math.pow(this.currentWidth/2,2)+Math.pow(this.currentHeight/2,2)),f=Math.atan(isFinite(this.currentHeight/this.currentWidth)?this.currentHeight/this.currentWidth:0),g=Math.cos(f+d)*e,h=Math.sin(f+d)*e,i=Math.sin(d),j=Math.cos(d),k=this.getCenterPoint(),l={x:k.x-g,y:k.y-h},m={x:l.x+this.currentWidth*j,y:l.y+this.currentWidth*i},n={x:m.x-this.currentHeight*i,y:m.y+this.currentHeight*j},o={x:l.x-this.currentHeight*i,y:l.y+this.currentHeight*j},p={x:l.x-this.currentHeight/2*i,y:l.y+this.currentHeight/2*j},q={x:l.x+this.currentWidth/2*j,y:l.y+this.currentWidth/2*i},r={x:m.x-this.currentHeight/2*i,y:m.y+this.currentHeight/2*j},s={x:o.x+this.currentWidth/2*j,y:o.y+this.currentWidth/2*i},t={x:q.x,y:q.y};return this.oCoords={tl:l,tr:m,br:n,bl:o,ml:p,mt:q,mr:r,mb:s,mtr:t},this._setCornerCoords&&this._setCornerCoords(),this}})}(),fabric.util.object.extend(fabric.Object.prototype,{sendToBack:function(){return this.group?fabric.StaticCanvas.prototype.sendToBack.call(this.group,this):this.canvas.sendToBack(this),this},bringToFront:function(){return this.group?fabric.StaticCanvas.prototype.bringToFront.call(this.group,this):this.canvas.bringToFront(this),this},sendBackwards:function(a){return this.group?fabric.StaticCanvas.prototype.sendBackwards.call(this.group,this,a):this.canvas.sendBackwards(this,a),this},bringForward:function(a){return this.group?fabric.StaticCanvas.prototype.bringForward.call(this.group,this,a):this.canvas.bringForward(this,a),this},moveTo:function(a){return this.group?fabric.StaticCanvas.prototype.moveTo.call(this.group,this,a):this.canvas.moveTo(this,a),this}}),fabric.util.object.extend(fabric.Object.prototype,{getSvgStyles:function(){var a=this.fill?this.fill.toLive?"url(#SVGID_"+this.fill.id+")":this.fill:"none",b=this.stroke?this.stroke.toLive?"url(#SVGID_"+this.stroke.id+")":this.stroke:"none",c=this.strokeWidth?this.strokeWidth:"0",d=this.strokeDashArray?this.strokeDashArray.join(" "):"",e=this.strokeLineCap?this.strokeLineCap:"butt",f=this.strokeLineJoin?this.strokeLineJoin:"miter",g=this.strokeMiterLimit?this.strokeMiterLimit:"4",h="undefined"!=typeof this.opacity?this.opacity:"1",i=this.visible?"":" visibility: hidden;",j=this.shadow&&"text"!==this.type?"filter: url(#SVGID_"+this.shadow.id+");":"";return["stroke: ",b,"; ","stroke-width: ",c,"; ","stroke-dasharray: ",d,"; ","stroke-linecap: ",e,"; ","stroke-linejoin: ",f,"; ","stroke-miterlimit: ",g,"; ","fill: ",a,"; ","opacity: ",h,";",j,i].join("")},getSvgTransform:function(){var a=fabric.util.toFixed,b=this.getAngle(),c=this.getCenterPoint(),d=fabric.Object.NUM_FRACTION_DIGITS,e="translate("+a(c.x,d)+" "+a(c.y,d)+")",f=0!==b?" rotate("+a(b,d)+")":"",g=1===this.scaleX&&1===this.scaleY?"":" scale("+a(this.scaleX,d)+" "+a(this.scaleY,d)+")",h=this.flipX?"matrix(-1 0 0 1 0 0) ":"",i=this.flipY?"matrix(1 0 0 -1 0 0)":"";return[e,f,g,h,i].join("")},_createBaseSVGMarkup:function(){var a=[];return this.fill&&this.fill.toLive&&a.push(this.fill.toSVG(this,!1)),this.stroke&&this.stroke.toLive&&a.push(this.stroke.toSVG(this,!1)),this.shadow&&a.push(this.shadow.toSVG(this)),a}}),fabric.util.object.extend(fabric.Object.prototype,{hasStateChanged:function(){return this.stateProperties.some(function(a){return this.get(a)!==this.originalState[a]},this)},saveState:function(a){return this.stateProperties.forEach(function(a){this.originalState[a]=this.get(a)},this),a&&a.stateProperties&&a.stateProperties.forEach(function(a){this.originalState[a]=this.get(a)},this),this},setupState:function(){return this.originalState={},this.saveState(),this}}),function(){var a=fabric.util.getPointer,b=fabric.util.degreesToRadians,c="undefined"!=typeof G_vmlCanvasManager;fabric.util.object.extend(fabric.Object.prototype,{_controlsVisibility:null,_findTargetCorner:function(b,c){if(!this.hasControls||!this.active)return!1;var d,e,f=a(b,this.canvas.upperCanvasEl),g=f.x-c.left,h=f.y-c.top;for(var i in this.oCoords)if(this.isControlVisible(i)&&("mtr"!==i||this.hasRotatingPoint)&&(!this.get("lockUniScaling")||"mt"!==i&&"mr"!==i&&"mb"!==i&&"ml"!==i)&&(e=this._getImageLines(this.oCoords[i].corner),d=this._findCrossPoints({x:g,y:h},e),0!==d&&d%2===1))return this.__corner=i,i;return!1},_setCornerCoords:function(){var a=this.oCoords,c=b(this.angle),d=b(45-this.angle),e=Math.sqrt(2*Math.pow(this.cornerSize,2))/2,f=e*Math.cos(d),g=e*Math.sin(d),h=Math.sin(c),i=Math.cos(c);a.tl.corner={tl:{x:a.tl.x-g,y:a.tl.y-f},tr:{x:a.tl.x+f,y:a.tl.y-g},bl:{x:a.tl.x-f,y:a.tl.y+g},br:{x:a.tl.x+g,y:a.tl.y+f}},a.tr.corner={tl:{x:a.tr.x-g,y:a.tr.y-f},tr:{x:a.tr.x+f,y:a.tr.y-g},br:{x:a.tr.x+g,y:a.tr.y+f},bl:{x:a.tr.x-f,y:a.tr.y+g}},a.bl.corner={tl:{x:a.bl.x-g,y:a.bl.y-f},bl:{x:a.bl.x-f,y:a.bl.y+g},br:{x:a.bl.x+g,y:a.bl.y+f},tr:{x:a.bl.x+f,y:a.bl.y-g}},a.br.corner={tr:{x:a.br.x+f,y:a.br.y-g},bl:{x:a.br.x-f,y:a.br.y+g},br:{x:a.br.x+g,y:a.br.y+f},tl:{x:a.br.x-g,y:a.br.y-f}},a.ml.corner={tl:{x:a.ml.x-g,y:a.ml.y-f},tr:{x:a.ml.x+f,y:a.ml.y-g},bl:{x:a.ml.x-f,y:a.ml.y+g},br:{x:a.ml.x+g,y:a.ml.y+f}},a.mt.corner={tl:{x:a.mt.x-g,y:a.mt.y-f},tr:{x:a.mt.x+f,y:a.mt.y-g},bl:{x:a.mt.x-f,y:a.mt.y+g},br:{x:a.mt.x+g,y:a.mt.y+f}},a.mr.corner={tl:{x:a.mr.x-g,y:a.mr.y-f},tr:{x:a.mr.x+f,y:a.mr.y-g},bl:{x:a.mr.x-f,y:a.mr.y+g},br:{x:a.mr.x+g,y:a.mr.y+f}},a.mb.corner={tl:{x:a.mb.x-g,y:a.mb.y-f},tr:{x:a.mb.x+f,y:a.mb.y-g},bl:{x:a.mb.x-f,y:a.mb.y+g},br:{x:a.mb.x+g,y:a.mb.y+f}},a.mtr.corner={tl:{x:a.mtr.x-g+h*this.rotatingPointOffset,y:a.mtr.y-f-i*this.rotatingPointOffset},tr:{x:a.mtr.x+f+h*this.rotatingPointOffset,y:a.mtr.y-g-i*this.rotatingPointOffset},bl:{x:a.mtr.x-f+h*this.rotatingPointOffset,y:a.mtr.y+g-i*this.rotatingPointOffset},br:{x:a.mtr.x+g+h*this.rotatingPointOffset,y:a.mtr.y+f-i*this.rotatingPointOffset}}},drawBorders:function(a){if(!this.hasBorders)return this;var b=this.padding,c=2*b,d=2*~~(this.strokeWidth/2);a.save(),a.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1,a.strokeStyle=this.borderColor;var e=1/this._constrainScale(this.scaleX),f=1/this._constrainScale(this.scaleY);a.lineWidth=1/this.borderScaleFactor,a.scale(e,f);var g=this.getWidth(),h=this.getHeight();if(a.strokeRect(~~(-(g/2)-b-d/2*this.scaleX)-.5,~~(-(h/2)-b-d/2*this.scaleY)-.5,~~(g+c+d*this.scaleX)+1,~~(h+c+d*this.scaleY)+1),this.hasRotatingPoint&&this.isControlVisible("mtr")&&!this.get("lockRotation")&&this.hasControls){var i=(this.flipY?h+d*this.scaleY+2*b:-h-d*this.scaleY-2*b)/2;a.beginPath(),a.moveTo(0,i),a.lineTo(0,i+(this.flipY?this.rotatingPointOffset:-this.rotatingPointOffset)),a.closePath(),a.stroke()}return a.restore(),this},drawControls:function(a){if(!this.hasControls)return this;var b=this.cornerSize,c=b/2,d=~~(this.strokeWidth/2),e=-(this.width/2),f=-(this.height/2),g=this.padding/this.scaleX,h=this.padding/this.scaleY,i=c/this.scaleY,j=c/this.scaleX,k=(c-b)/this.scaleX,l=(c-b)/this.scaleY,m=this.height,n=this.width,o=this.transparentCorners?"strokeRect":"fillRect";return a.save(),a.lineWidth=1/Math.max(this.scaleX,this.scaleY),a.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1,a.strokeStyle=a.fillStyle=this.cornerColor,this._drawControl("tl",a,o,e-j-d-g,f-i-d-h),this._drawControl("tr",a,o,e+n-j+d+g,f-i-d-h),this._drawControl("tr",a,o,e-j-d-g,f+m+l+d+h),this._drawControl("br",a,o,e+n+k+d+g,f+m+l+d+h),this.get("lockUniScaling")||(this._drawControl("mt",a,o,e+n/2-j,f-i-d-h),this._drawControl("mb",a,o,e+n/2-j,f+m+l+d+h),this._drawControl("mb",a,o,e+n+k+d+g,f+m/2-i),this._drawControl("ml",a,o,e-j-d-g,f+m/2-i)),this.hasRotatingPoint&&this._drawControl("mtr",a,o,e+n/2-j,this.flipY?f+m+this.rotatingPointOffset/this.scaleY-this.cornerSize/this.scaleX/2+d+h:f-this.rotatingPointOffset/this.scaleY-this.cornerSize/this.scaleY/2-d-h),a.restore(),this},_drawControl:function(a,b,d,e,f){var g=this.cornerSize/this.scaleX,h=this.cornerSize/this.scaleY;this.isControlVisible(a)&&(c||this.transparentCorners||b.clearRect(e,f,g,h),b[d](e,f,g,h))},isControlVisible:function(a){return this._getControlsVisibility()[a]},setControlVisible:function(a,b){return this._getControlsVisibility()[a]=b,this},setControlsVisibility:function(a){a||(a={});for(var b in a)this.setControlVisible(b,a[b]);return this},_getControlsVisibility:function(){return this._controlsVisibility||(this._controlsVisibility={tl:!0,tr:!0,br:!0,bl:!0,ml:!0,mt:!0,mr:!0,mb:!0,mtr:!0}),this._controlsVisibility}})}(),fabric.util.object.extend(fabric.StaticCanvas.prototype,{FX_DURATION:500,fxCenterObjectH:function(a,b){b=b||{};var c=function(){},d=b.onComplete||c,e=b.onChange||c,f=this;return fabric.util.animate({startValue:a.get("left"),endValue:this.getCenter().left,duration:this.FX_DURATION,onChange:function(b){a.set("left",b),f.renderAll(),e()},onComplete:function(){a.setCoords(),d()}}),this},fxCenterObjectV:function(a,b){b=b||{};var c=function(){},d=b.onComplete||c,e=b.onChange||c,f=this;return fabric.util.animate({startValue:a.get("top"),endValue:this.getCenter().top,duration:this.FX_DURATION,onChange:function(b){a.set("top",b),f.renderAll(),e()},onComplete:function(){a.setCoords(),d()}}),this},fxRemove:function(a,b){b=b||{};var c=function(){},d=b.onComplete||c,e=b.onChange||c,f=this;return fabric.util.animate({startValue:a.get("opacity"),endValue:0,duration:this.FX_DURATION,onStart:function(){a.set("active",!1)},onChange:function(b){a.set("opacity",b),f.renderAll(),e()},onComplete:function(){f.remove(a),d()}}),this}}),fabric.util.object.extend(fabric.Object.prototype,{animate:function(){if(arguments[0]&&"object"==typeof arguments[0]){var a,b,c=[];for(a in arguments[0])c.push(a);for(var d=0,e=c.length;e>d;d++)a=c[d],b=d!==e-1,this._animate(a,arguments[0][a],arguments[1],b)}else this._animate.apply(this,arguments);return this},_animate:function(a,b,c,d){var e,f=this;b=b.toString(),c=c?fabric.util.object.clone(c):{},~a.indexOf(".")&&(e=a.split("."));var g=e?this.get(e[0])[e[1]]:this.get(a);"from"in c||(c.from=g),b=~b.indexOf("=")?g+parseFloat(b.replace("=","")):parseFloat(b),fabric.util.animate({startValue:c.from,endValue:b,byValue:c.by,easing:c.easing,duration:c.duration,abort:c.abort&&function(){return c.abort.call(f)},onChange:function(b){e?f[e[0]][e[1]]=b:f.set(a,b),d||c.onChange&&c.onChange()},onComplete:function(){d||(f.setCoords(),c.onComplete&&c.onComplete())}})}}),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend,d={x1:1,x2:1,y1:1,y2:1},e=b.StaticCanvas.supports("setLineDash");return b.Line?void b.warn("fabric.Line is already defined"):(b.Line=b.util.createClass(b.Object,{type:"line",initialize:function(a,b){b=b||{},a||(a=[0,0,0,0]),this.callSuper("initialize",b),this.set("x1",a[0]),this.set("y1",a[1]),this.set("x2",a[2]),this.set("y2",a[3]),this._setWidthHeight(b)},_setWidthHeight:function(a){a||(a={}),this.set("width",Math.abs(this.x2-this.x1)||1),this.set("height",Math.abs(this.y2-this.y1)||1),this.set("left","left"in a?a.left:Math.min(this.x1,this.x2)+this.width/2),this.set("top","top"in a?a.top:Math.min(this.y1,this.y2)+this.height/2)},_set:function(a,b){return this[a]=b,a in d&&this._setWidthHeight(),this},_render:function(a){a.beginPath();var b=this.group&&"path-group"===this.group.type;if(b&&!this.transformMatrix&&a.translate(-this.group.width/2+this.left,-this.group.height/2+this.top),!this.strokeDashArray||this.strokeDashArray&&e){var c=this.x1<=this.x2?-1:1,d=this.y1<=this.y2?-1:1;a.moveTo(1===this.width?0:c*this.width/2,1===this.height?0:d*this.height/2),a.lineTo(1===this.width?0:-1*c*this.width/2,1===this.height?0:-1*d*this.height/2)}a.lineWidth=this.strokeWidth;var f=a.strokeStyle;a.strokeStyle=this.stroke||a.fillStyle,this._renderStroke(a),a.strokeStyle=f},_renderDashedStroke:function(a){var c=this.x1<=this.x2?-1:1,d=this.y1<=this.y2?-1:1,e=1===this.width?0:c*this.width/2,f=1===this.height?0:d*this.height/2;a.beginPath(),b.util.drawDashedLine(a,e,f,-e,-f,this.strokeDashArray),a.closePath()},toObject:function(a){return c(this.callSuper("toObject",a),{x1:this.get("x1"),y1:this.get("y1"),x2:this.get("x2"),y2:this.get("y2")})},toSVG:function(a){var b=this._createBaseSVGMarkup();return b.push(" '),a?a(b.join("")):b.join("")},complexity:function(){return 1}}),b.Line.ATTRIBUTE_NAMES=b.SHARED_ATTRIBUTES.concat("x1 y1 x2 y2".split(" ")),b.Line.fromElement=function(a,d){var e=b.parseAttributes(a,b.Line.ATTRIBUTE_NAMES),f=[e.x1||0,e.y1||0,e.x2||0,e.y2||0];return new b.Line(f,c(e,d))},void(b.Line.fromObject=function(a){var c=[a.x1,a.y1,a.x2,a.y2];return new b.Line(c,a)}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";function b(a){return"radius"in a&&a.radius>0}var c=a.fabric||(a.fabric={}),d=2*Math.PI,e=c.util.object.extend;return c.Circle?void c.warn("fabric.Circle is already defined."):(c.Circle=c.util.createClass(c.Object,{type:"circle",initialize:function(a){a=a||{},this.set("radius",a.radius||0),this.callSuper("initialize",a)},_set:function(a,b){return this.callSuper("_set",a,b),"radius"===a&&this.setRadius(b),this},toObject:function(a){return e(this.callSuper("toObject",a),{radius:this.get("radius")})},toSVG:function(a){var b=this._createBaseSVGMarkup();return b.push(" '),a?a(b.join("")):b.join("")},_render:function(a,b){a.beginPath(),a.globalAlpha=this.group?a.globalAlpha*this.opacity:this.opacity,a.arc(b?this.left:0,b?this.top:0,this.radius,0,d,!1),a.closePath(),this._renderFill(a),this._renderStroke(a)},getRadiusX:function(){return this.get("radius")*this.get("scaleX")},getRadiusY:function(){return this.get("radius")*this.get("scaleY")},setRadius:function(a){this.radius=a,this.set("width",2*a).set("height",2*a)},complexity:function(){return 1}}),c.Circle.ATTRIBUTE_NAMES=c.SHARED_ATTRIBUTES.concat("cx cy r".split(" ")),c.Circle.fromElement=function(a,d){d||(d={});var f=c.parseAttributes(a,c.Circle.ATTRIBUTE_NAMES);if(!b(f))throw new Error("value of `r` attribute is required and can not be negative");"left"in f&&(f.left-=d.width/2||0),"top"in f&&(f.top-=d.height/2||0);var g=new c.Circle(e(f,d));return g.cx=parseFloat(a.getAttribute("cx"))||0,g.cy=parseFloat(a.getAttribute("cy"))||0,g},void(c.Circle.fromObject=function(a){return new c.Circle(a)}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={});return b.Triangle?void b.warn("fabric.Triangle is already defined"):(b.Triangle=b.util.createClass(b.Object,{type:"triangle",initialize:function(a){a=a||{},this.callSuper("initialize",a),this.set("width",a.width||100).set("height",a.height||100)},_render:function(a){var b=this.width/2,c=this.height/2;a.beginPath(),a.moveTo(-b,c),a.lineTo(0,-c),a.lineTo(b,c),a.closePath(),this._renderFill(a),this._renderStroke(a)},_renderDashedStroke:function(a){var c=this.width/2,d=this.height/2;a.beginPath(),b.util.drawDashedLine(a,-c,d,0,-d,this.strokeDashArray),b.util.drawDashedLine(a,0,-d,c,d,this.strokeDashArray),b.util.drawDashedLine(a,c,d,-c,d,this.strokeDashArray),a.closePath()},toSVG:function(a){var b=this._createBaseSVGMarkup(),c=this.width/2,d=this.height/2,e=[-c+" "+d,"0 "+-d,c+" "+d].join(",");return b.push(" '),a?a(b.join("")):b.join("")},complexity:function(){return 1}}),void(b.Triangle.fromObject=function(a){return new b.Triangle(a)}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=2*Math.PI,d=b.util.object.extend;return b.Ellipse?void b.warn("fabric.Ellipse is already defined."):(b.Ellipse=b.util.createClass(b.Object,{type:"ellipse",rx:0,ry:0,initialize:function(a){a=a||{},this.callSuper("initialize",a),this.set("rx",a.rx||0),this.set("ry",a.ry||0),this.set("width",2*this.get("rx")),this.set("height",2*this.get("ry"))},toObject:function(a){return d(this.callSuper("toObject",a),{rx:this.get("rx"),ry:this.get("ry")})},toSVG:function(a){var b=this._createBaseSVGMarkup();return b.push(" '),a?a(b.join("")):b.join("")},render:function(a,b){return 0!==this.rx&&0!==this.ry?this.callSuper("render",a,b):void 0},_render:function(a,b){a.beginPath(),a.save(),a.globalAlpha=this.group?a.globalAlpha*this.opacity:this.opacity,this.transformMatrix&&this.group&&a.translate(this.cx,this.cy),a.transform(1,0,0,this.ry/this.rx,0,0),a.arc(b?this.left:0,b?this.top:0,this.rx,0,c,!1),this._renderFill(a),this._renderStroke(a),a.restore()},complexity:function(){return 1}}),b.Ellipse.ATTRIBUTE_NAMES=b.SHARED_ATTRIBUTES.concat("cx cy rx ry".split(" ")),b.Ellipse.fromElement=function(a,c){c||(c={});var e=b.parseAttributes(a,b.Ellipse.ATTRIBUTE_NAMES),f=e.left,g=e.top;"left"in e&&(e.left-=c.width/2||0),"top"in e&&(e.top-=c.height/2||0);var h=new b.Ellipse(d(e,c));return h.cx=f||0,h.cy=g||0,h},void(b.Ellipse.fromObject=function(a){return new b.Ellipse(a)}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";function b(a){return a.left=a.left||0,a.top=a.top||0,a}var c=a.fabric||(a.fabric={}),d=c.util.object.extend;if(c.Rect)return void console.warn("fabric.Rect is already defined");var e=c.Object.prototype.stateProperties.concat();e.push("rx","ry","x","y"),c.Rect=c.util.createClass(c.Object,{stateProperties:e,type:"rect",rx:0,ry:0,x:0,y:0,strokeDashArray:null,initialize:function(a){a=a||{},this.callSuper("initialize",a),this._initRxRy(),this.x=a.x||0,this.y=a.y||0},_initRxRy:function(){this.rx&&!this.ry?this.ry=this.rx:this.ry&&!this.rx&&(this.rx=this.ry)},_render:function(a){var b=this.rx||0,c=this.ry||0,d=-this.width/2,e=-this.height/2,f=this.width,g=this.height,h=this.group&&"path-group"===this.group.type;a.beginPath(),a.globalAlpha=h?a.globalAlpha*this.opacity:this.opacity,this.transformMatrix&&h&&a.translate(this.width/2+this.x,this.height/2+this.y),!this.transformMatrix&&h&&a.translate(-this.group.width/2+this.width/2+this.x,-this.group.height/2+this.height/2+this.y);var i=0!==b||0!==c;a.moveTo(d+b,e),a.lineTo(d+f-b,e),i&&a.quadraticCurveTo(d+f,e,d+f,e+c,d+f,e+c),a.lineTo(d+f,e+g-c),i&&a.quadraticCurveTo(d+f,e+g,d+f-b,e+g,d+f-b,e+g),a.lineTo(d+b,e+g),i&&a.quadraticCurveTo(d,e+g,d,e+g-c,d,e+g-c),a.lineTo(d,e+c),i&&a.quadraticCurveTo(d,e,d+b,e,d+b,e),a.closePath(),this._renderFill(a),this._renderStroke(a)},_renderDashedStroke:function(a){var b=-this.width/2,d=-this.height/2,e=this.width,f=this.height;a.beginPath(),c.util.drawDashedLine(a,b,d,b+e,d,this.strokeDashArray),c.util.drawDashedLine(a,b+e,d,b+e,d+f,this.strokeDashArray),c.util.drawDashedLine(a,b+e,d+f,b,d+f,this.strokeDashArray),c.util.drawDashedLine(a,b,d+f,b,d,this.strokeDashArray),a.closePath()},_normalizeLeftTopProperties:function(a){return"left"in a&&this.set("left",a.left+this.getWidth()/2),this.set("x",a.left||0),"top"in a&&this.set("top",a.top+this.getHeight()/2),this.set("y",a.top||0),this},toObject:function(a){var b=d(this.callSuper("toObject",a),{rx:this.get("rx")||0,ry:this.get("ry")||0,x:this.get("x"),y:this.get("y")});return this.includeDefaultValues||this._removeDefaultValues(b),b},toSVG:function(a){var b=this._createBaseSVGMarkup();return b.push(" '),a?a(b.join("")):b.join("")},complexity:function(){return 1}}),c.Rect.ATTRIBUTE_NAMES=c.SHARED_ATTRIBUTES.concat("x y rx ry width height".split(" ")),c.Rect.fromElement=function(a,e){if(!a)return null;var f=c.parseAttributes(a,c.Rect.ATTRIBUTE_NAMES);f=b(f);var g=new c.Rect(d(e?c.util.object.clone(e):{},f));return g._normalizeLeftTopProperties(f),g},c.Rect.fromObject=function(a){return new c.Rect(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.toFixed;return b.Polyline?void b.warn("fabric.Polyline is already defined"):(b.Polyline=b.util.createClass(b.Object,{type:"polyline",initialize:function(a,b,c){b=b||{},this.set("points",a),this.callSuper("initialize",b),this._calcDimensions(c)},_calcDimensions:function(a){return b.Polygon.prototype._calcDimensions.call(this,a)},toObject:function(a){return b.Polygon.prototype.toObject.call(this,a)},toSVG:function(a){for(var b=[],d=this._createBaseSVGMarkup(),e=0,f=this.points.length;f>e;e++)b.push(c(this.points[e].x,2),",",c(this.points[e].y,2)," ");return d.push(" '),a?a(d.join("")):d.join("")},_render:function(a){var b;a.beginPath(),a.moveTo(this.points[0].x,this.points[0].y);for(var c=0,d=this.points.length;d>c;c++)b=this.points[c],a.lineTo(b.x,b.y);
+
+this._renderFill(a),this._renderStroke(a)},_renderDashedStroke:function(a){var c,d;a.beginPath();for(var e=0,f=this.points.length;f>e;e++)c=this.points[e],d=this.points[e+1]||c,b.util.drawDashedLine(a,c.x,c.y,d.x,d.y,this.strokeDashArray)},complexity:function(){return this.get("points").length}}),b.Polyline.ATTRIBUTE_NAMES=b.SHARED_ATTRIBUTES.concat(),b.Polyline.fromElement=function(a,c){if(!a)return null;c||(c={});var d=b.parsePointsAttribute(a.getAttribute("points")),e=b.parseAttributes(a,b.Polyline.ATTRIBUTE_NAMES);return b.util.normalizePoints(d,c),new b.Polyline(d,b.util.object.extend(e,c),!0)},void(b.Polyline.fromObject=function(a){var c=a.points;return new b.Polyline(c,a,!0)}))}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend,d=b.util.array.min,e=b.util.array.max,f=b.util.toFixed;return b.Polygon?void b.warn("fabric.Polygon is already defined"):(b.Polygon=b.util.createClass(b.Object,{type:"polygon",initialize:function(a,b,c){b=b||{},this.points=a,this.callSuper("initialize",b),this._calcDimensions(c)},_calcDimensions:function(a){var b=this.points,c=d(b,"x"),f=d(b,"y"),g=e(b,"x"),h=e(b,"y");if(this.width=g-c||1,this.height=h-f||1,this.minX=c,this.minY=f,!a){var i=this.width/2+this.minX,j=this.height/2+this.minY;this.points.forEach(function(a){a.x-=i,a.y-=j},this)}},toObject:function(a){return c(this.callSuper("toObject",a),{points:this.points.concat()})},toSVG:function(a){for(var b=[],c=this._createBaseSVGMarkup(),d=0,e=this.points.length;e>d;d++)b.push(f(this.points[d].x,2),",",f(this.points[d].y,2)," ");return c.push(" '),a?a(c.join("")):c.join("")},_render:function(a){var b;a.beginPath(),a.moveTo(this.points[0].x,this.points[0].y);for(var c=0,d=this.points.length;d>c;c++)b=this.points[c],a.lineTo(b.x,b.y);this._renderFill(a),(this.stroke||this.strokeDashArray)&&(a.closePath(),this._renderStroke(a))},_renderDashedStroke:function(a){var c,d;a.beginPath();for(var e=0,f=this.points.length;f>e;e++)c=this.points[e],d=this.points[e+1]||this.points[0],b.util.drawDashedLine(a,c.x,c.y,d.x,d.y,this.strokeDashArray);a.closePath()},complexity:function(){return this.points.length}}),b.Polygon.ATTRIBUTE_NAMES=b.SHARED_ATTRIBUTES.concat(),b.Polygon.fromElement=function(a,d){if(!a)return null;d||(d={});var e=b.parsePointsAttribute(a.getAttribute("points")),f=b.parseAttributes(a,b.Polygon.ATTRIBUTE_NAMES);return b.util.normalizePoints(e,d),new b.Polygon(e,c(f,d),!0)},void(b.Polygon.fromObject=function(a){return new b.Polygon(a.points,a,!0)}))}("undefined"!=typeof exports?exports:this),function(a){function b(a){return"H"===a[0]?a[1]:a[a.length-2]}function c(a){return"V"===a[0]?a[1]:a[a.length-1]}var d={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7},e=a.fabric||(a.fabric={}),f=e.util.array.min,g=e.util.array.max,h=e.util.object.extend,i=Object.prototype.toString,j=e.util.drawArc;return e.Path?void e.warn("fabric.Path is already defined"):(e.Path=e.util.createClass(e.Object,{type:"path",initialize:function(a,b){if(b=b||{},this.setOptions(b),!a)throw new Error("`path` argument is required");var c="[object Array]"===i.call(a);this.path=c?a:a.match&&a.match(/[mzlhvcsqta][^mzlhvcsqta]*/gi),this.path&&(c||(this.path=this._parsePath()),this._initializePath(b),b.sourcePath&&this.setSourcePath(b.sourcePath))},_initializePath:function(a){var b="width"in a&&null!=a.width,c="height"in a&&null!=a.width,d="left"in a,e="top"in a,f=d?this.left:0,g=e?this.top:0;b&&c?(e||(this.top=this.height/2),d||(this.left=this.width/2)):(h(this,this._parseDimensions()),b&&(this.width=a.width),c&&(this.height=a.height)),this.pathOffset=this.pathOffset||this._calculatePathOffset(f,g)},_calculatePathOffset:function(a,b){return{x:this.left-a-this.width/2,y:this.top-b-this.height/2}},_render:function(a){for(var b,c,d,e,f,g,h=null,i=0,k=0,l=0,m=0,n=-(this.width/2+this.pathOffset.x),o=-(this.height/2+this.pathOffset.y),p=0,q=this.path.length;q>p;++p){switch(b=this.path[p],b[0]){case"l":i+=b[1],k+=b[2],a.lineTo(i+n,k+o);break;case"L":i=b[1],k=b[2],a.lineTo(i+n,k+o);break;case"h":i+=b[1],a.lineTo(i+n,k+o);break;case"H":i=b[1],a.lineTo(i+n,k+o);break;case"v":k+=b[1],a.lineTo(i+n,k+o);break;case"V":k=b[1],a.lineTo(i+n,k+o);break;case"m":i+=b[1],k+=b[2],g=!h||"m"!==h[0]&&"M"!==h[0]?"moveTo":"lineTo",a[g](i+n,k+o);break;case"M":i=b[1],k=b[2],g=!h||"m"!==h[0]&&"M"!==h[0]?"moveTo":"lineTo",a[g](i+n,k+o);break;case"c":c=i+b[5],d=k+b[6],l=i+b[3],m=k+b[4],a.bezierCurveTo(i+b[1]+n,k+b[2]+o,l+n,m+o,c+n,d+o),i=c,k=d;break;case"C":i=b[5],k=b[6],l=b[3],m=b[4],a.bezierCurveTo(b[1]+n,b[2]+o,l+n,m+o,i+n,k+o);break;case"s":c=i+b[3],d=k+b[4],l=l?2*i-l:i,m=m?2*k-m:k,a.bezierCurveTo(l+n,m+o,i+b[1]+n,k+b[2]+o,c+n,d+o),l=i+b[1],m=k+b[2],i=c,k=d;break;case"S":c=b[3],d=b[4],l=2*i-l,m=2*k-m,a.bezierCurveTo(l+n,m+o,b[1]+n,b[2]+o,c+n,d+o),i=c,k=d,l=b[1],m=b[2];break;case"q":c=i+b[3],d=k+b[4],l=i+b[1],m=k+b[2],a.quadraticCurveTo(l+n,m+o,c+n,d+o),i=c,k=d;break;case"Q":c=b[3],d=b[4],a.quadraticCurveTo(b[1]+n,b[2]+o,c+n,d+o),i=c,k=d,l=b[1],m=b[2];break;case"t":c=i+b[1],d=k+b[2],null===h[0].match(/[QqTt]/)?(l=i,m=k):"t"===h[0]?(l=2*i-e,m=2*k-f):"q"===h[0]&&(l=2*i-l,m=2*k-m),e=l,f=m,a.quadraticCurveTo(l+n,m+o,c+n,d+o),i=c,k=d,l=i+b[1],m=k+b[2];break;case"T":c=b[1],d=b[2],l=2*i-l,m=2*k-m,a.quadraticCurveTo(l+n,m+o,c+n,d+o),i=c,k=d;break;case"a":j(a,i+n,k+o,[b[1],b[2],b[3],b[4],b[5],b[6]+i+n,b[7]+k+o]),i+=b[6],k+=b[7];break;case"A":j(a,i+n,k+o,[b[1],b[2],b[3],b[4],b[5],b[6]+n,b[7]+o]),i=b[6],k=b[7];break;case"z":case"Z":a.closePath()}h=b}},render:function(a,b){if(this.visible){a.save();var c=this.transformMatrix;c&&a.transform(c[0],c[1],c[2],c[3],c[4],c[5]),b||this.transform(a),this._setStrokeStyles(a),this._setFillStyles(a),this._setShadow(a),this.clipTo&&e.util.clipContext(this,a),a.beginPath(),this._render(a),this._renderFill(a),this._renderStroke(a),this.clipTo&&a.restore(),this._removeShadow(a),!b&&this.active&&(this.drawBorders(a),this.drawControls(a)),a.restore()}},toString:function(){return"#"},toObject:function(a){var b=h(this.callSuper("toObject",a),{path:this.path,pathOffset:this.pathOffset});return this.sourcePath&&(b.sourcePath=this.sourcePath),this.transformMatrix&&(b.transformMatrix=this.transformMatrix),b},toDatalessObject:function(a){var b=this.toObject(a);return this.sourcePath&&(b.path=this.sourcePath),delete b.sourcePath,b},toSVG:function(a){for(var b=[],c=this._createBaseSVGMarkup(),d=0,e=this.path.length;e>d;d++)b.push(this.path[d].join(" "));var f=b.join(" ");return c.push(''," "," "),a?a(c.join("")):c.join("")},complexity:function(){return this.path.length},_parsePath:function(){for(var a,b,c,e,f,g=[],h=[],i=/(-?\.\d+)|(-?\d+(\.\d+)?)/g,j=0,k=this.path.length;k>j;j++){for(a=this.path[j],e=a.slice(1).trim(),h.length=0;c=i.exec(e);)h.push(c[0]);f=[a.charAt(0)];for(var l=0,m=h.length;m>l;l++)b=parseFloat(h[l]),isNaN(b)||f.push(b);var n=f[0].toLowerCase(),o=d[n];if(f.length-1>o)for(var p=1,q=f.length;q>p;p+=o)g.push([f[0]].concat(f.slice(p,p+o)));else g.push(f)}return g},_parseDimensions:function(){var a=[],b=[],c={};this.path.forEach(function(d,e){this._getCoordsFromCommand(d,e,a,b,c)},this);var d=f(a),e=f(b),h=g(a),i=g(b),j=h-d,k=i-e,l={left:this.left+(d+j/2),top:this.top+(e+k/2),width:j,height:k};return l},_getCoordsFromCommand:function(a,d,e,f,g){var h=!1;"H"!==a[0]&&(g.x=b(0===d?a:this.path[d-1])),"V"!==a[0]&&(g.y=c(0===d?a:this.path[d-1])),a[0]===a[0].toLowerCase()&&(h=!0);var i=this._getXY(a,h,g),j=parseInt(i.x,10);isNaN(j)||e.push(j),j=parseInt(i.y,10),isNaN(j)||f.push(j)},_getXY:function(a,d,e){var f=d?e.x+b(a):"V"===a[0]?e.x:b(a),g=d?e.y+c(a):"H"===a[0]?e.y:c(a);return{x:f,y:g}}}),e.Path.fromObject=function(a,b){"string"==typeof a.path?e.loadSVGFromURL(a.path,function(c){var d=c[0],f=a.path;delete a.path,e.util.object.extend(d,a),d.setSourcePath(f),b(d)}):b(new e.Path(a.path,a))},e.Path.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat(["d"]),e.Path.fromElement=function(a,b,c){var d=e.parseAttributes(a,e.Path.ATTRIBUTE_NAMES);b&&b(new e.Path(d.d,h(d,c)))},void(e.Path.async=!0))}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend,d=b.util.array.invoke,e=b.Object.prototype.toObject;return b.PathGroup?void b.warn("fabric.PathGroup is already defined"):(b.PathGroup=b.util.createClass(b.Path,{type:"path-group",fill:"",initialize:function(a,b){b=b||{},this.paths=a||[];for(var c=this.paths.length;c--;)this.paths[c].group=this;this.setOptions(b),this.setCoords(),b.sourcePath&&this.setSourcePath(b.sourcePath)},render:function(a){if(this.visible){a.save();var c=this.transformMatrix;c&&a.transform(c[0],c[1],c[2],c[3],c[4],c[5]),this.transform(a),this._setShadow(a),this.clipTo&&b.util.clipContext(this,a);for(var d=0,e=this.paths.length;e>d;++d)this.paths[d].render(a,!0);this.clipTo&&a.restore(),this._removeShadow(a),this.active&&(this.drawBorders(a),this.drawControls(a)),a.restore()}},_set:function(a,b){if("fill"===a&&b&&this.isSameColor())for(var c=this.paths.length;c--;)this.paths[c]._set(a,b);return this.callSuper("_set",a,b)},toObject:function(a){var b=c(e.call(this,a),{paths:d(this.getObjects(),"toObject",a)});return this.sourcePath&&(b.sourcePath=this.sourcePath),b},toDatalessObject:function(a){var b=this.toObject(a);return this.sourcePath&&(b.paths=this.sourcePath),b},toSVG:function(a){for(var b=this.getObjects(),c=[""],d=0,e=b.length;e>d;d++)c.push(b[d].toSVG(a));return c.push(" "),a?a(c.join("")):c.join("")},toString:function(){return"#"},isSameColor:function(){var a=this.getObjects()[0].get("fill");return this.getObjects().every(function(b){return b.get("fill")===a})},complexity:function(){return this.paths.reduce(function(a,b){return a+(b&&b.complexity?b.complexity():0)},0)},getObjects:function(){return this.paths}}),b.PathGroup.fromObject=function(a,c){"string"==typeof a.paths?b.loadSVGFromURL(a.paths,function(d){var e=a.paths;delete a.paths;var f=b.util.groupSVGElements(d,a,e);c(f)}):b.util.enlivenObjects(a.paths,function(d){delete a.paths,c(new b.PathGroup(d,a))})},void(b.PathGroup.async=!0))}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend,d=b.util.array.min,e=b.util.array.max,f=b.util.array.invoke;if(!b.Group){var g={lockMovementX:!0,lockMovementY:!0,lockRotation:!0,lockScalingX:!0,lockScalingY:!0,lockUniScaling:!0};b.Group=b.util.createClass(b.Object,b.Collection,{type:"group",initialize:function(a,b){b=b||{},this._objects=a||[];for(var d=this._objects.length;d--;)this._objects[d].group=this;this.originalState={},this.callSuper("initialize"),this._calcBounds(),this._updateObjectsCoords(),b&&c(this,b),this._setOpacityIfSame(),this.setCoords(!0),this.saveCoords()},_updateObjectsCoords:function(){this.forEachObject(this._updateObjectCoords,this)},_updateObjectCoords:function(a){var b=a.getLeft(),c=a.getTop();a.set({originalLeft:b,originalTop:c,left:b-this.left,top:c-this.top}),a.setCoords(),a.__origHasControls=a.hasControls,a.hasControls=!1},toString:function(){return"#"},addWithUpdate:function(a){return this._restoreObjectsState(),this._objects.push(a),a.group=this,this.forEachObject(this._setObjectActive,this),this._calcBounds(),this._updateObjectsCoords(),this},_setObjectActive:function(a){a.set("active",!0),a.group=this},removeWithUpdate:function(a){return this._moveFlippedObject(a),this._restoreObjectsState(),this.forEachObject(this._setObjectActive,this),this.remove(a),this._calcBounds(),this._updateObjectsCoords(),this},_onObjectAdded:function(a){a.group=this},_onObjectRemoved:function(a){delete a.group,a.set("active",!1)},delegatedProperties:{fill:!0,opacity:!0,fontFamily:!0,fontWeight:!0,fontSize:!0,fontStyle:!0,lineHeight:!0,textDecoration:!0,textAlign:!0,backgroundColor:!0},_set:function(a,b){if(a in this.delegatedProperties){var c=this._objects.length;for(this[a]=b;c--;)this._objects[c].set(a,b)}else this[a]=b},toObject:function(a){return c(this.callSuper("toObject",a),{objects:f(this._objects,"toObject",a)})},render:function(a,c){if(this.visible){a.save(),this.transform(a),this.clipTo&&b.util.clipContext(this,a);for(var d=0,e=this._objects.length;e>d;d++)this._renderObject(this._objects[d],a);this.clipTo&&a.restore(),!c&&this.active&&(this.drawBorders(a),this.drawControls(a)),a.restore()}},_renderObject:function(a,b){var c=a.borderScaleFactor,d=a.hasRotatingPoint,e=Math.max(this.scaleX,this.scaleY);a.visible&&(a.borderScaleFactor=e,a.hasRotatingPoint=!1,a.render(b),a.borderScaleFactor=c,a.hasRotatingPoint=d)},_restoreObjectsState:function(){return this._objects.forEach(this._restoreObjectState,this),this},_moveFlippedObject:function(a){var b=a.get("originX"),c=a.get("originY"),d=a.getCenterPoint();a.set({originX:"center",originY:"center",left:d.x,top:d.y}),this._toggleFlipping(a);var e=a.getPointByOrigin(b,c);return a.set({originX:b,originY:c,left:e.x,top:e.y}),this},_toggleFlipping:function(a){this.flipX&&(a.toggle("flipX"),a.set("left",-a.get("left")),a.setAngle(-a.getAngle())),this.flipY&&(a.toggle("flipY"),a.set("top",-a.get("top")),a.setAngle(-a.getAngle()))},_restoreObjectState:function(a){return this._setObjectPosition(a),a.setCoords(),a.hasControls=a.__origHasControls,delete a.__origHasControls,a.set("active",!1),a.setCoords(),delete a.group,this},_setObjectPosition:function(a){var b=this.getLeft(),c=this.getTop(),d=this._getRotatedLeftTop(a);a.set({angle:a.getAngle()+this.getAngle(),left:b+d.left,top:c+d.top,scaleX:a.get("scaleX")*this.get("scaleX"),scaleY:a.get("scaleY")*this.get("scaleY")})},_getRotatedLeftTop:function(a){var b=this.getAngle()*(Math.PI/180);return{left:-Math.sin(b)*a.getTop()*this.get("scaleY")+Math.cos(b)*a.getLeft()*this.get("scaleX"),top:Math.cos(b)*a.getTop()*this.get("scaleY")+Math.sin(b)*a.getLeft()*this.get("scaleX")}},destroy:function(){return this._objects.forEach(this._moveFlippedObject,this),this._restoreObjectsState()},saveCoords:function(){return this._originalLeft=this.get("left"),this._originalTop=this.get("top"),this},hasMoved:function(){return this._originalLeft!==this.get("left")||this._originalTop!==this.get("top")},setObjectsCoords:function(){return this.forEachObject(function(a){a.setCoords()}),this},_setOpacityIfSame:function(){var a=this.getObjects(),b=a[0]?a[0].get("opacity"):1,c=a.every(function(a){return a.get("opacity")===b});c&&(this.opacity=b)},_calcBounds:function(){for(var a,b=[],c=[],d=0,e=this._objects.length;e>d;++d){a=this._objects[d],a.setCoords();for(var f in a.oCoords)b.push(a.oCoords[f].x),c.push(a.oCoords[f].y)}this.set(this._getBounds(b,c))},_getBounds:function(a,b){var c=d(a),f=e(a),g=d(b),h=e(b),i=f-c||0,j=h-g||0;return{width:i,height:j,left:c+i/2||0,top:g+j/2||0}},toSVG:function(a){for(var b=["'],c=0,d=this._objects.length;d>c;c++)b.push(this._objects[c].toSVG(a));return b.push(" "),a?a(b.join("")):b.join("")},get:function(a){if(a in g){if(this[a])return this[a];for(var b=0,c=this._objects.length;c>b;b++)if(this._objects[b][a])return!0;return!1}return a in this.delegatedProperties?this._objects[0]&&this._objects[0].get(a):this[a]}}),b.Group.fromObject=function(a,c){b.util.enlivenObjects(a.objects,function(d){delete a.objects,c&&c(new b.Group(d,a))})},b.Group.async=!0}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=fabric.util.object.extend;return a.fabric||(a.fabric={}),a.fabric.Image?void fabric.warn("fabric.Image is already defined."):(fabric.Image=fabric.util.createClass(fabric.Object,{type:"image",crossOrigin:"",initialize:function(a,b){b||(b={}),this.filters=[],this.callSuper("initialize",b),this._initElement(a,b),this._initConfig(b),b.filters&&(this.filters=b.filters,this.applyFilters())},getElement:function(){return this._element},setElement:function(a,b){return this._element=a,this._originalElement=a,this._initConfig(),0!==this.filters.length&&this.applyFilters(b),this},setCrossOrigin:function(a){return this.crossOrigin=a,this._element.crossOrigin=a,this},getOriginalSize:function(){var a=this.getElement();return{width:a.width,height:a.height}},render:function(a,b){if(this.visible){a.save();var c=this.transformMatrix,d=this.group&&"path-group"===this.group.type;d&&a.translate(-this.group.width/2+this.width/2,-this.group.height/2+this.height/2),c&&a.transform(c[0],c[1],c[2],c[3],c[4],c[5]),b||this.transform(a),a.save(),this._setShadow(a),this.clipTo&&fabric.util.clipContext(this,a),this._render(a),this.shadow&&!this.shadow.affectStroke&&this._removeShadow(a),this._renderStroke(a),this.clipTo&&a.restore(),a.restore(),this.active&&!b&&(this.drawBorders(a),this.drawControls(a)),a.restore()}},_stroke:function(a){a.save(),this._setStrokeStyles(a),a.beginPath(),a.strokeRect(-this.width/2,-this.height/2,this.width,this.height),a.closePath(),a.restore()},_renderDashedStroke:function(a){var b=-this.width/2,c=-this.height/2,d=this.width,e=this.height;a.save(),this._setStrokeStyles(a),a.beginPath(),fabric.util.drawDashedLine(a,b,c,b+d,c,this.strokeDashArray),fabric.util.drawDashedLine(a,b+d,c,b+d,c+e,this.strokeDashArray),fabric.util.drawDashedLine(a,b+d,c+e,b,c+e,this.strokeDashArray),fabric.util.drawDashedLine(a,b,c+e,b,c,this.strokeDashArray),a.closePath(),a.restore()},toObject:function(a){return b(this.callSuper("toObject",a),{src:this._originalElement.src||this._originalElement._src,filters:this.filters.map(function(a){return a&&a.toObject()}),crossOrigin:this.crossOrigin})},toSVG:function(a){var b=[];if(b.push('',' "),this.stroke||this.strokeDashArray){var c=this.fill;this.fill=null,b.push(" '),this.fill=c}return b.push(" "),a?a(b.join("")):b.join("")},getSrc:function(){return this.getElement().src||this.getElement()._src},toString:function(){return'#'},clone:function(a,b){this.constructor.fromObject(this.toObject(b),a)},applyFilters:function(a){if(0===this.filters.length)return this._element=this._originalElement,void(a&&a());var b=this._originalElement,c=fabric.util.createCanvasElement(),d=fabric.util.createImage(),e=this;return c.width=b.width,c.height=b.height,c.getContext("2d").drawImage(b,0,0,b.width,b.height),this.filters.forEach(function(a){a&&a.applyTo(c)}),d.width=b.width,d.height=b.height,fabric.isLikelyNode?(d.src=c.toBuffer(void 0,fabric.Image.pngCompression),e._element=d,a&&a()):(d.onload=function(){e._element=d,a&&a(),d.onload=c=b=null},d.src=c.toDataURL("image/png")),this},_render:function(a){a.drawImage(this._element,-this.width/2,-this.height/2,this.width,this.height)},_resetWidthHeight:function(){var a=this.getElement();this.set("width",a.width),this.set("height",a.height)},_initElement:function(a){this.setElement(fabric.util.getById(a)),fabric.util.addClass(this.getElement(),fabric.Image.CSS_CANVAS)},_initConfig:function(a){a||(a={}),this.setOptions(a),this._setWidthHeight(a),this._element.crossOrigin=this.crossOrigin},_initFilters:function(a,b){a.filters&&a.filters.length?fabric.util.enlivenObjects(a.filters,function(a){b&&b(a)},"fabric.Image.filters"):b&&b()},_setWidthHeight:function(a){this.width="width"in a?a.width:this.getElement().width||0,this.height="height"in a?a.height:this.getElement().height||0},complexity:function(){return 1}}),fabric.Image.CSS_CANVAS="canvas-img",fabric.Image.prototype.getSvgSrc=fabric.Image.prototype.getSrc,fabric.Image.fromObject=function(a,b){fabric.util.loadImage(a.src,function(c){fabric.Image.prototype._initFilters.call(a,a,function(d){a.filters=d||[];var e=new fabric.Image(c,a);b&&b(e)})},null,a.crossOrigin)},fabric.Image.fromURL=function(a,b,c){fabric.util.loadImage(a,function(a){b(new fabric.Image(a,c))},null,c&&c.crossOrigin)},fabric.Image.ATTRIBUTE_NAMES=fabric.SHARED_ATTRIBUTES.concat("x y width height xlink:href".split(" ")),fabric.Image.fromElement=function(a,c,d){var e=fabric.parseAttributes(a,fabric.Image.ATTRIBUTE_NAMES);fabric.Image.fromURL(e["xlink:href"],c,b(d?fabric.util.object.clone(d):{},e))},fabric.Image.async=!0,void(fabric.Image.pngCompression=1))}("undefined"!=typeof exports?exports:this),fabric.util.object.extend(fabric.Object.prototype,{_getAngleValueForStraighten:function(){var a=this.getAngle()%360;return a>0?90*Math.round((a-1)/90):90*Math.round(a/90)},straighten:function(){return this.setAngle(this._getAngleValueForStraighten()),this},fxStraighten:function(a){a=a||{};var b=function(){},c=a.onComplete||b,d=a.onChange||b,e=this;return fabric.util.animate({startValue:this.get("angle"),endValue:this._getAngleValueForStraighten(),duration:this.FX_DURATION,onChange:function(a){e.setAngle(a),d()},onComplete:function(){e.setCoords(),c()},onStart:function(){e.set("active",!1)}}),this}}),fabric.util.object.extend(fabric.StaticCanvas.prototype,{straightenObject:function(a){return a.straighten(),this.renderAll(),this},fxStraightenObject:function(a){return a.fxStraighten({onChange:this.renderAll.bind(this)}),this}}),fabric.Image.filters=fabric.Image.filters||{},fabric.Image.filters.BaseFilter=fabric.util.createClass({type:"BaseFilter",toObject:function(){return{type:this.type}},toJSON:function(){return this.toObject()}}),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.Brightness=b.util.createClass(b.Image.filters.BaseFilter,{type:"Brightness",initialize:function(a){a=a||{},this.brightness=a.brightness||100},applyTo:function(a){for(var b=a.getContext("2d"),c=b.getImageData(0,0,a.width,a.height),d=c.data,e=this.brightness,f=0,g=d.length;g>f;f+=4)d[f]+=e,d[f+1]+=e,d[f+2]+=e;b.putImageData(c,0,0)},toObject:function(){return c(this.callSuper("toObject"),{brightness:this.brightness})}}),b.Image.filters.Brightness.fromObject=function(a){return new b.Image.filters.Brightness(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.Convolute=b.util.createClass(b.Image.filters.BaseFilter,{type:"Convolute",initialize:function(a){a=a||{},this.opaque=a.opaque,this.matrix=a.matrix||[0,0,0,0,1,0,0,0,0];var c=b.util.createCanvasElement();this.tmpCtx=c.getContext("2d")},_createImageData:function(a,b){return this.tmpCtx.createImageData(a,b)},applyTo:function(a){for(var b=this.matrix,c=a.getContext("2d"),d=c.getImageData(0,0,a.width,a.height),e=Math.round(Math.sqrt(b.length)),f=Math.floor(e/2),g=d.data,h=d.width,i=d.height,j=h,k=i,l=this._createImageData(j,k),m=l.data,n=this.opaque?1:0,o=0;k>o;o++)for(var p=0;j>p;p++){for(var q=o,r=p,s=4*(o*j+p),t=0,u=0,v=0,w=0,x=0;e>x;x++)for(var y=0;e>y;y++){var z=q+x-f,A=r+y-f;if(!(0>z||z>i||0>A||A>h)){var B=4*(z*h+A),C=b[x*e+y];t+=g[B]*C,u+=g[B+1]*C,v+=g[B+2]*C,w+=g[B+3]*C}}m[s]=t,m[s+1]=u,m[s+2]=v,m[s+3]=w+n*(255-w)}c.putImageData(l,0,0)},toObject:function(){return c(this.callSuper("toObject"),{opaque:this.opaque,matrix:this.matrix})}}),b.Image.filters.Convolute.fromObject=function(a){return new b.Image.filters.Convolute(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.GradientTransparency=b.util.createClass(b.Image.filters.BaseFilter,{type:"GradientTransparency",initialize:function(a){a=a||{},this.threshold=a.threshold||100},applyTo:function(a){for(var b=a.getContext("2d"),c=b.getImageData(0,0,a.width,a.height),d=c.data,e=this.threshold,f=d.length,g=0,h=d.length;h>g;g+=4)d[g+3]=e+255*(f-g)/f;b.putImageData(c,0,0)},toObject:function(){return c(this.callSuper("toObject"),{threshold:this.threshold})}}),b.Image.filters.GradientTransparency.fromObject=function(a){return new b.Image.filters.GradientTransparency(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={});b.Image.filters.Grayscale=b.util.createClass(b.Image.filters.BaseFilter,{type:"Grayscale",applyTo:function(a){for(var b,c=a.getContext("2d"),d=c.getImageData(0,0,a.width,a.height),e=d.data,f=d.width*d.height*4,g=0;f>g;)b=(e[g]+e[g+1]+e[g+2])/3,e[g]=b,e[g+1]=b,e[g+2]=b,g+=4;c.putImageData(d,0,0)}}),b.Image.filters.Grayscale.fromObject=function(){return new b.Image.filters.Grayscale}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={});b.Image.filters.Invert=b.util.createClass(b.Image.filters.BaseFilter,{type:"Invert",applyTo:function(a){var b,c=a.getContext("2d"),d=c.getImageData(0,0,a.width,a.height),e=d.data,f=e.length;for(b=0;f>b;b+=4)e[b]=255-e[b],e[b+1]=255-e[b+1],e[b+2]=255-e[b+2];c.putImageData(d,0,0)}}),b.Image.filters.Invert.fromObject=function(){return new b.Image.filters.Invert}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.Mask=b.util.createClass(b.Image.filters.BaseFilter,{type:"Mask",initialize:function(a){a=a||{},this.mask=a.mask,this.channel=[0,1,2,3].indexOf(a.channel)>-1?a.channel:0},applyTo:function(a){if(this.mask){var c,d=a.getContext("2d"),e=d.getImageData(0,0,a.width,a.height),f=e.data,g=this.mask.getElement(),h=b.util.createCanvasElement(),i=this.channel,j=e.width*e.height*4;h.width=g.width,h.height=g.height,h.getContext("2d").drawImage(g,0,0,g.width,g.height);var k=h.getContext("2d").getImageData(0,0,g.width,g.height),l=k.data;for(c=0;j>c;c+=4)f[c+3]=l[c+i];d.putImageData(e,0,0)}},toObject:function(){return c(this.callSuper("toObject"),{mask:this.mask.toObject(),channel:this.channel})}}),b.Image.filters.Mask.fromObject=function(a,c){b.util.loadImage(a.mask.src,function(d){a.mask=new b.Image(d,a.mask),c&&c(new b.Image.filters.Mask(a))})},b.Image.filters.Mask.async=!0}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.Noise=b.util.createClass(b.Image.filters.BaseFilter,{type:"Noise",initialize:function(a){a=a||{},this.noise=a.noise||100},applyTo:function(a){for(var b,c=a.getContext("2d"),d=c.getImageData(0,0,a.width,a.height),e=d.data,f=this.noise,g=0,h=e.length;h>g;g+=4)b=(.5-Math.random())*f,e[g]+=b,e[g+1]+=b,e[g+2]+=b;c.putImageData(d,0,0)},toObject:function(){return c(this.callSuper("toObject"),{noise:this.noise})}}),b.Image.filters.Noise.fromObject=function(a){return new b.Image.filters.Noise(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.Pixelate=b.util.createClass(b.Image.filters.BaseFilter,{type:"Pixelate",initialize:function(a){a=a||{},this.blocksize=a.blocksize||4},applyTo:function(a){var b,c,d,e,f,g,h,i=a.getContext("2d"),j=i.getImageData(0,0,a.width,a.height),k=j.data,l=j.height,m=j.width;for(c=0;l>c;c+=this.blocksize)for(d=0;m>d;d+=this.blocksize){b=4*c*m+4*d,e=k[b],f=k[b+1],g=k[b+2],h=k[b+3];for(var n=c,o=c+this.blocksize;o>n;n++)for(var p=d,q=d+this.blocksize;q>p;p++)b=4*n*m+4*p,k[b]=e,k[b+1]=f,k[b+2]=g,k[b+3]=h}i.putImageData(j,0,0)},toObject:function(){return c(this.callSuper("toObject"),{blocksize:this.blocksize})}}),b.Image.filters.Pixelate.fromObject=function(a){return new b.Image.filters.Pixelate(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.RemoveWhite=b.util.createClass(b.Image.filters.BaseFilter,{type:"RemoveWhite",initialize:function(a){a=a||{},this.threshold=a.threshold||30,this.distance=a.distance||20},applyTo:function(a){for(var b,c,d,e=a.getContext("2d"),f=e.getImageData(0,0,a.width,a.height),g=f.data,h=this.threshold,i=this.distance,j=255-h,k=Math.abs,l=0,m=g.length;m>l;l+=4)b=g[l],c=g[l+1],d=g[l+2],b>j&&c>j&&d>j&&k(b-c)b;b+=4)c=.3*f[b]+.59*f[b+1]+.11*f[b+2],f[b]=c+100,f[b+1]=c+50,f[b+2]=c+255;d.putImageData(e,0,0)}}),b.Image.filters.Sepia.fromObject=function(){return new b.Image.filters.Sepia}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={});b.Image.filters.Sepia2=b.util.createClass(b.Image.filters.BaseFilter,{type:"Sepia2",applyTo:function(a){var b,c,d,e,f=a.getContext("2d"),g=f.getImageData(0,0,a.width,a.height),h=g.data,i=h.length;for(b=0;i>b;b+=4)c=h[b],d=h[b+1],e=h[b+2],h[b]=(.393*c+.769*d+.189*e)/1.351,h[b+1]=(.349*c+.686*d+.168*e)/1.203,h[b+2]=(.272*c+.534*d+.131*e)/2.14;f.putImageData(g,0,0)}}),b.Image.filters.Sepia2.fromObject=function(){return new b.Image.filters.Sepia2}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend;b.Image.filters.Tint=b.util.createClass(b.Image.filters.BaseFilter,{type:"Tint",initialize:function(a){a=a||{},this.color=a.color||"#000000",this.opacity="undefined"!=typeof a.opacity?a.opacity:new b.Color(this.color).getAlpha()},applyTo:function(a){var c,d,e,f,g,h,i,j,k,l=a.getContext("2d"),m=l.getImageData(0,0,a.width,a.height),n=m.data,o=n.length;for(k=new b.Color(this.color).getSource(),d=k[0]*this.opacity,e=k[1]*this.opacity,f=k[2]*this.opacity,j=1-this.opacity,c=0;o>c;c+=4)g=n[c],h=n[c+1],i=n[c+2],n[c]=d+g*j,n[c+1]=e+h*j,n[c+2]=f+i*j;l.putImageData(m,0,0)},toObject:function(){return c(this.callSuper("toObject"),{color:this.color,opacity:this.opacity})}}),b.Image.filters.Tint.fromObject=function(a){return new b.Image.filters.Tint(a)}}("undefined"!=typeof exports?exports:this),function(a){"use strict";var b=a.fabric||(a.fabric={}),c=b.util.object.extend,d=b.util.object.clone,e=b.util.toFixed,f=b.StaticCanvas.supports("setLineDash");if(b.Text)return void b.warn("fabric.Text is already defined");var g=b.Object.prototype.stateProperties.concat();g.push("fontFamily","fontWeight","fontSize","text","textDecoration","textAlign","fontStyle","lineHeight","textBackgroundColor","useNative","path"),b.Text=b.util.createClass(b.Object,{_dimensionAffectingProps:{fontSize:!0,fontWeight:!0,fontFamily:!0,textDecoration:!0,fontStyle:!0,lineHeight:!0,stroke:!0,strokeWidth:!0,text:!0},_reNewline:/\r?\n/,type:"text",fontSize:40,fontWeight:"normal",fontFamily:"Times New Roman",textDecoration:"",textAlign:"left",fontStyle:"",lineHeight:1.3,textBackgroundColor:"",path:null,useNative:!0,stateProperties:g,stroke:null,shadow:null,initialize:function(a,b){b=b||{},this.text=a,this.__skipDimension=!0,this.setOptions(b),this.__skipDimension=!1,this._initDimensions(),this.setCoords()},_initDimensions:function(){if(!this.__skipDimension){var a=b.util.createCanvasElement();this._render(a.getContext("2d"))}},toString:function(){return"#'},_render:function(a){var b=this.group&&"path-group"===this.group.type;b&&!this.transformMatrix?a.translate(-this.group.width/2+this.left,-this.group.height/2+this.top):b&&this.transformMatrix&&a.translate(-this.group.width/2,-this.group.height/2),
+"undefined"==typeof Cufon||this.useNative===!0?this._renderViaNative(a):this._renderViaCufon(a)},_renderViaNative:function(a){var c=this.text.split(this._reNewline);this.transform(a,b.isLikelyNode),this._setTextStyles(a),this.width=this._getTextWidth(a,c),this.height=this._getTextHeight(a,c),this.clipTo&&b.util.clipContext(this,a),this._renderTextBackground(a,c),this._translateForTextAlign(a),this._renderText(a,c),"left"!==this.textAlign&&"justify"!==this.textAlign&&a.restore(),this._renderTextDecoration(a,c),this.clipTo&&a.restore(),this._setBoundaries(a,c),this._totalLineHeight=0},_renderText:function(a,b){a.save(),this._setShadow(a),this._renderTextFill(a,b),this._renderTextStroke(a,b),this._removeShadow(a),a.restore()},_translateForTextAlign:function(a){"left"!==this.textAlign&&"justify"!==this.textAlign&&(a.save(),a.translate("center"===this.textAlign?this.width/2:this.width,0))},_setBoundaries:function(a,b){this._boundaries=[];for(var c=0,d=b.length;d>c;c++){var e=this._getLineWidth(a,b[c]),f=this._getLineLeftOffset(e);this._boundaries.push({height:this.fontSize*this.lineHeight,width:e,left:f})}},_setTextStyles:function(a){this._setFillStyles(a),this._setStrokeStyles(a),a.textBaseline="alphabetic",this.skipTextAlign||(a.textAlign=this.textAlign),a.font=this._getFontDeclaration()},_getTextHeight:function(a,b){return this.fontSize*b.length*this.lineHeight},_getTextWidth:function(a,b){for(var c=a.measureText(b[0]||"|").width,d=1,e=b.length;e>d;d++){var f=a.measureText(b[d]).width;f>c&&(c=f)}return c},_renderChars:function(a,b,c,d,e){b[a](c,d,e)},_renderTextLine:function(a,b,c,d,e,f){if(e-=this.fontSize/4,"justify"!==this.textAlign)return void this._renderChars(a,b,c,d,e,f);var g=b.measureText(c).width,h=this.width;if(h>g)for(var i=c.split(/\s+/),j=b.measureText(c.replace(/\s+/g,"")).width,k=h-j,l=i.length-1,m=k/l,n=0,o=0,p=i.length;p>o;o++)this._renderChars(a,b,i[o],d+n,e,f),n+=b.measureText(i[o]).width+m;else this._renderChars(a,b,c,d,e,f)},_getLeftOffset:function(){return b.isLikelyNode?0:-this.width/2},_getTopOffset:function(){return-this.height/2},_renderTextFill:function(a,b){if(this.fill||this.skipFillStrokeCheck){this._boundaries=[];for(var c=0,d=0,e=b.length;e>d;d++){var f=this._getHeightOfLine(a,d,b);c+=f,this._renderTextLine("fillText",a,b[d],this._getLeftOffset(),this._getTopOffset()+c,d)}}},_renderTextStroke:function(a,b){if(this.stroke||this.skipFillStrokeCheck){var c=0;a.save(),this.strokeDashArray&&(1&this.strokeDashArray.length&&this.strokeDashArray.push.apply(this.strokeDashArray,this.strokeDashArray),f&&a.setLineDash(this.strokeDashArray)),a.beginPath();for(var d=0,e=b.length;e>d;d++){var g=this._getHeightOfLine(a,d,b);c+=g,this._renderTextLine("strokeText",a,b[d],this._getLeftOffset(),this._getTopOffset()+c,d)}a.closePath(),a.restore()}},_getHeightOfLine:function(){return this.fontSize*this.lineHeight},_renderTextBackground:function(a,b){this._renderTextBoxBackground(a),this._renderTextLinesBackground(a,b)},_renderTextBoxBackground:function(a){this.backgroundColor&&(a.save(),a.fillStyle=this.backgroundColor,a.fillRect(this._getLeftOffset(),this._getTopOffset(),this.width,this.height),a.restore())},_renderTextLinesBackground:function(a,b){if(this.textBackgroundColor){a.save(),a.fillStyle=this.textBackgroundColor;for(var c=0,d=b.length;d>c;c++)if(""!==b[c]){var e=this._getLineWidth(a,b[c]),f=this._getLineLeftOffset(e);a.fillRect(this._getLeftOffset()+f,this._getTopOffset()+c*this.fontSize*this.lineHeight,e,this.fontSize*this.lineHeight)}a.restore()}},_getLineLeftOffset:function(a){return"center"===this.textAlign?(this.width-a)/2:"right"===this.textAlign?this.width-a:0},_getLineWidth:function(a,b){return"justify"===this.textAlign?this.width:a.measureText(b).width},_renderTextDecoration:function(a,b){function c(c){for(var f=0,g=b.length;g>f;f++){var h=e._getLineWidth(a,b[f]),i=e._getLineLeftOffset(h);a.fillRect(e._getLeftOffset()+i,~~(c+f*e._getHeightOfLine(a,f,b)-d),h,1)}}if(this.textDecoration){var d=this._getTextHeight(a,b)/2,e=this;this.textDecoration.indexOf("underline")>-1&&c(this.fontSize*this.lineHeight),this.textDecoration.indexOf("line-through")>-1&&c(this.fontSize*this.lineHeight-this.fontSize/2),this.textDecoration.indexOf("overline")>-1&&c(this.fontSize*this.lineHeight-this.fontSize)}},_getFontDeclaration:function(){return[b.isLikelyNode?this.fontWeight:this.fontStyle,b.isLikelyNode?this.fontStyle:this.fontWeight,this.fontSize+"px",b.isLikelyNode?'"'+this.fontFamily+'"':this.fontFamily].join(" ")},render:function(a,b){this.visible&&(a.save(),this._render(a),!b&&this.active&&(this.drawBorders(a),this.drawControls(a)),a.restore())},toObject:function(a){var b=c(this.callSuper("toObject",a),{text:this.text,fontSize:this.fontSize,fontWeight:this.fontWeight,fontFamily:this.fontFamily,fontStyle:this.fontStyle,lineHeight:this.lineHeight,textDecoration:this.textDecoration,textAlign:this.textAlign,path:this.path,textBackgroundColor:this.textBackgroundColor,useNative:this.useNative});return this.includeDefaultValues||this._removeDefaultValues(b),b},toSVG:function(a){var b=[],c=this.text.split(this._reNewline),d=this._getSVGLeftTopOffsets(c),e=this._getSVGTextAndBg(d.lineTop,d.textLeft,c),f=this._getSVGShadows(d.lineTop,c);return d.textTop+=this._fontAscent?this._fontAscent/5*this.lineHeight:0,this._wrapSVGTextAndBg(b,e,f,d),a?a(b.join("")):b.join("")},_getSVGLeftTopOffsets:function(a){var b=this.useNative?this.fontSize*this.lineHeight:-this._fontAscent-this._fontAscent/5*this.lineHeight,c=-(this.width/2),d=this.useNative?this.fontSize-1:this.height/2-a.length*this.fontSize-this._totalLineHeight;return{textLeft:c,textTop:d,lineTop:b}},_wrapSVGTextAndBg:function(a,b,c,d){a.push('',b.textBgRects.join(""),"',c.join(""),b.textSpans.join("")," "," ")},_getSVGShadows:function(a,c){var d,f,g=[],h=1;if(!this.shadow||!this._boundaries)return g;for(d=0,f=c.length;f>d;d++)if(""!==c[d]){var i=this._boundaries&&this._boundaries[d]?this._boundaries[d].left:0;g.push('",b.util.string.escapeXml(c[d])," "),h=1}else h++;return g},_getSVGTextAndBg:function(a,b,c){var d=[],e=[],f=1;this._setSVGBg(e);for(var g=0,h=c.length;h>g;g++)""!==c[g]?(this._setSVGTextLineText(c[g],g,d,a,f,e),f=1):f++,this.textBackgroundColor&&this._boundaries&&this._setSVGTextLineBg(e,g,b,a);return{textSpans:d,textBgRects:e}},_setSVGTextLineText:function(a,c,d,f,g){var h=this._boundaries&&this._boundaries[c]?e(this._boundaries[c].left,2):0;d.push('",b.util.string.escapeXml(a)," ")},_setSVGTextLineBg:function(a,b,c,d){a.push(" ')},_setSVGBg:function(a){this.backgroundColor&&this._boundaries&&a.push(" ')},_getFillAttributes:function(a){var c=a&&"string"==typeof a?new b.Color(a):"";return c&&c.getSource()&&1!==c.getAlpha()?'opacity="'+c.getAlpha()+'" fill="'+c.setAlpha(1).toRgb()+'"':'fill="'+a+'"'},_set:function(a,b){"fontFamily"===a&&this.path&&(this.path=this.path.replace(/(.*?)([^\/]*)(\.font\.js)/,"$1"+b+"$3")),this.callSuper("_set",a,b),a in this._dimensionAffectingProps&&(this._initDimensions(),this.setCoords())},complexity:function(){return 1}}),b.Text.ATTRIBUTE_NAMES=b.SHARED_ATTRIBUTES.concat("x y font-family font-style font-weight font-size text-decoration".split(" ")),b.Text.fromElement=function(a,c){if(!a)return null;var d=b.parseAttributes(a,b.Text.ATTRIBUTE_NAMES);c=b.util.object.extend(c?b.util.object.clone(c):{},d);var e=new b.Text(a.textContent,c);return e.set({left:e.getLeft()+e.getWidth()/2,top:e.getTop()-e.getHeight()/2}),e},b.Text.fromObject=function(a){return new b.Text(a.text,d(a))},b.util.createAccessors(b.Text)}("undefined"!=typeof exports?exports:this),function(){var a=fabric.util.object.clone;fabric.IText=fabric.util.createClass(fabric.Text,fabric.Observable,{type:"i-text",selectionStart:0,selectionEnd:0,selectionColor:"rgba(17,119,255,0.3)",isEditing:!1,editable:!0,editingBorderColor:"rgba(102,153,255,0.25)",cursorWidth:2,cursorColor:"#333",cursorDelay:1e3,cursorDuration:600,styles:null,skipFillStrokeCheck:!0,_reSpace:/\s|\n/,_fontSizeFraction:4,_currentCursorOpacity:0,_selectionDirection:null,_abortCursorAnimation:!1,_charWidthsCache:{},initialize:function(a,b){this.styles=b?b.styles||{}:{},this.callSuper("initialize",a,b),this.initBehavior(),fabric.IText.instances.push(this),this.__lineWidths={},this.__lineHeights={},this.__lineOffsets={}},isEmptyStyles:function(){if(!this.styles)return!0;var a=this.styles;for(var b in a)for(var c in a[b])for(var d in a[b][c])return!1;return!0},setSelectionStart:function(a){this.selectionStart=a,this.hiddenTextarea&&(this.hiddenTextarea.selectionStart=a)},setSelectionEnd:function(a){this.selectionEnd=a,this.hiddenTextarea&&(this.hiddenTextarea.selectionEnd=a)},getSelectionStyles:function(){var a=this.get2DCursorLocation();return this.styles[a.lineIndex]?this.styles[a.lineIndex][a.charIndex]||{}:{}},setSelectionStyles:function(a){if(this.selectionStart===this.selectionEnd)this._extendStyles(this.selectionStart,a);else for(var b=this.selectionStart;bl;l++)this._renderChar(a,b,f,l,k[l],d,e,i);b.restore()},_renderCharsFast:function(a,b,c,d,e){this.skipTextAlign=!1,"fillText"===a&&this.fill&&this.callSuper("_renderChars",a,b,c,d,e),"strokeText"===a&&this.stroke&&this.callSuper("_renderChars",a,b,c,d,e)},_renderChar:function(a,b,c,d,e,f,g,h){var i,j;if(this.styles&&this.styles[c]&&(i=this.styles[c][d])){var k=i.stroke||this.stroke,l=i.fill||this.fill;b.save(),j=this._applyCharStylesGetWidth(b,e,c,d,i),l&&b.fillText(e,f,g),k&&b.strokeText(e,f,g),this._renderCharDecoration(b,i,f,g,j,h),b.restore(),b.translate(j,0)}else"strokeText"===a&&this.stroke&&b[a](e,f,g),"fillText"===a&&this.fill&&b[a](e,f,g),j=this._applyCharStylesGetWidth(b,e,c,d),this._renderCharDecoration(b,null,f,g,j,h),b.translate(b.measureText(e).width,0)},_renderCharDecoration:function(a,b,c,d,e,f){var g=b?b.textDecoration||this.textDecoration:this.textDecoration;g&&(g.indexOf("underline")>-1&&this._renderCharDecorationAtOffset(a,c,d+this.fontSize/this._fontSizeFraction,e,0),g.indexOf("line-through")>-1&&this._renderCharDecorationAtOffset(a,c,d+this.fontSize/this._fontSizeFraction,e,f/this._fontSizeFraction),g.indexOf("overline")>-1&&this._renderCharDecorationAtOffset(a,c,d,e,f-this.fontSize/this._fontSizeFraction))},_renderCharDecorationAtOffset:function(a,b,c,d,e){a.fillRect(b,c-e,d,1)},_renderTextLine:function(a,b,c,d,e,f){e+=this.fontSize/4,this.callSuper("_renderTextLine",a,b,c,d,e,f)},_renderTextDecoration:function(a,b){return this.isEmptyStyles()?this.callSuper("_renderTextDecoration",a,b):void 0},_renderTextLinesBackground:function(a,b){if(this.textBackgroundColor||this.styles){a.save(),this.textBackgroundColor&&(a.fillStyle=this.textBackgroundColor);for(var c=0,d=this.fontSize/this._fontSizeFraction,e=0,f=b.length;f>e;e++){var g=this._getHeightOfLine(a,e,b);if(""!==b[e]){var h=this._getWidthOfLine(a,e,b),i=this._getLineLeftOffset(h);if(this.textBackgroundColor&&(a.fillStyle=this.textBackgroundColor,a.fillRect(this._getLeftOffset()+i,this._getTopOffset()+c+d,h,g)),this.styles[e])for(var j=0,k=b[e].length;k>j;j++)if(this.styles[e]&&this.styles[e][j]&&this.styles[e][j].textBackgroundColor){var l=b[e][j];a.fillStyle=this.styles[e][j].textBackgroundColor,a.fillRect(this._getLeftOffset()+i+this._getWidthOfCharsAt(a,e,j,b),this._getTopOffset()+c+d,this._getWidthOfChar(a,l,e,j,b)+1,g)}c+=g}else c+=g}a.restore()}},_getCacheProp:function(a,b){return a+b.fontFamily+b.fontSize+b.fontWeight+b.fontStyle+b.shadow},_applyCharStylesGetWidth:function(b,c,d,e,f){var g=f||this.styles[d]&&this.styles[d][e];g=g?a(g):{},this._applyFontStyles(g);var h=this._getCacheProp(c,g);if(this.isEmptyStyles()&&this._charWidthsCache[h])return this._charWidthsCache[h];"string"==typeof g.shadow&&(g.shadow=new fabric.Shadow(g.shadow));var i=g.fill||this.fill;return b.fillStyle=i.toLive?i.toLive(b):i,g.stroke&&(b.strokeStyle=g.stroke&&g.stroke.toLive?g.stroke.toLive(b):g.stroke),b.lineWidth=g.strokeWidth||this.strokeWidth,b.font=this._getFontDeclaration.call(g),this._setShadow.call(g,b),this._charWidthsCache[h]||(this._charWidthsCache[h]=b.measureText(c).width),this._charWidthsCache[h]},_applyFontStyles:function(a){a.fontFamily||(a.fontFamily=this.fontFamily),a.fontSize||(a.fontSize=this.fontSize),a.fontWeight||(a.fontWeight=this.fontWeight),a.fontStyle||(a.fontStyle=this.fontStyle)},_getWidthOfChar:function(a,b,c,d){a.save();var e=this._applyCharStylesGetWidth(a,b,c,d);return a.restore(),e},_getHeightOfChar:function(a,b,c,d){return this.styles[c]&&this.styles[c][d]?this.styles[c][d].fontSize||this.fontSize:this.fontSize},_getWidthOfCharAt:function(a,b,c,d){d=d||this.text.split(this._reNewline);var e=d[b].split("")[c];return this._getWidthOfChar(a,e,b,c)},_getHeightOfCharAt:function(a,b,c,d){d=d||this.text.split(this._reNewline);var e=d[b].split("")[c];return this._getHeightOfChar(a,e,b,c)},_getWidthOfCharsAt:function(a,b,c,d){for(var e=0,f=0;c>f;f++)e+=this._getWidthOfCharAt(a,b,f,d);return e},_getWidthOfLine:function(a,b,c){return this._getWidthOfCharsAt(a,b,c[b].length,c)},_getTextWidth:function(a,b){if(this.isEmptyStyles())return this.callSuper("_getTextWidth",a,b);for(var c=this._getWidthOfLine(a,0,b),d=1,e=b.length;e>d;d++){var f=this._getWidthOfLine(a,d,b);f>c&&(c=f)}return c},_getHeightOfLine:function(a,b,c){c=c||this.text.split(this._reNewline);for(var d=this._getHeightOfChar(a,c[b][0],b,0),e=c[b],f=e.split(""),g=1,h=f.length;h>g;g++){var i=this._getHeightOfChar(a,f[g],b,g);i>d&&(d=i)}return d*this.lineHeight},_getTextHeight:function(a,b){for(var c=0,d=0,e=b.length;e>d;d++)c+=this._getHeightOfLine(a,d,b);return c},_getTopOffset:function(){var a=fabric.Text.prototype._getTopOffset.call(this);return a-this.fontSize/this._fontSizeFraction},toObject:function(b){return fabric.util.object.extend(this.callSuper("toObject",b),{styles:a(this.styles)})}}),fabric.IText.fromObject=function(b){return new fabric.IText(b.text,a(b))},fabric.IText.instances=[]}(),function(){var a=fabric.util.object.clone;fabric.util.object.extend(fabric.IText.prototype,{initBehavior:function(){this.initKeyHandlers(),this.initCursorSelectionHandlers(),this.initDoubleClickSimulation(),this.initHiddenTextarea()},initSelectedHandler:function(){this.on("selected",function(){var a=this;setTimeout(function(){a.selected=!0},100),this._hasCanvasHandlers||(this._initCanvasHandlers(),this._hasCanvasHandlers=!0)})},_initCanvasHandlers:function(){var a=this;this.canvas.on("selection:cleared",function(b){b.e&&a.canvas.containsPoint(b.e,a)||a.exitEditing()}),this.canvas.on("mouse:up",function(){this.getObjects("i-text").forEach(function(a){a.__isMousedown=!1})})},_tick:function(){var a=this;this._abortCursorAnimation||this.animate("_currentCursorOpacity",1,{duration:this.cursorDuration,onComplete:function(){a._onTickComplete()},onChange:function(){a.canvas&&a.canvas.renderAll()},abort:function(){return a._abortCursorAnimation}})},_onTickComplete:function(){if(!this._abortCursorAnimation){var a=this;this._cursorTimeout1&&clearTimeout(this._cursorTimeout1),this._cursorTimeout1=setTimeout(function(){a.animate("_currentCursorOpacity",0,{duration:this.cursorDuration/2,onComplete:function(){a._tick()},onChange:function(){a.canvas&&a.canvas.renderAll()},abort:function(){return a._abortCursorAnimation}})},100)}},initDelayedCursor:function(){var a=this;this._cursorTimeout2&&clearTimeout(this._cursorTimeout2),this._cursorTimeout2=setTimeout(function(){a._abortCursorAnimation=!1,a._tick()},this.cursorDelay)},abortCursorAnimation:function(){this._abortCursorAnimation=!0,clearTimeout(this._cursorTimeout1),clearTimeout(this._cursorTimeout2),this._currentCursorOpacity=0,this.canvas&&this.canvas.renderAll();var a=this;setTimeout(function(){a._abortCursorAnimation=!1},10)},selectAll:function(){this.selectionStart=0,this.selectionEnd=this.text.length},getSelectedText:function(){return this.text.slice(this.selectionStart,this.selectionEnd)},findWordBoundaryLeft:function(a){var b=0,c=a-1;if(this._reSpace.test(this.text.charAt(c)))for(;this._reSpace.test(this.text.charAt(c));)b++,c--;for(;/\S/.test(this.text.charAt(c))&&c>-1;)b++,c--;return a-b},findWordBoundaryRight:function(a){var b=0,c=a;if(this._reSpace.test(this.text.charAt(c)))for(;this._reSpace.test(this.text.charAt(c));)b++,c++;for(;/\S/.test(this.text.charAt(c))&&c-1;)b++,c--;return a-b},findLineBoundaryRight:function(a){for(var b=0,c=a;!/\n/.test(this.text.charAt(c))&&cc;c++)"\n"===d[c]&&b++;return b},searchWordBoundary:function(a,b){for(var c=a,d=this.text.charAt(c),e=/[ \n\.,;!\?\-]/;!e.test(d)&&c>0&&cd;f?this.removeStyleObject(f,c+1):this.removeStyleObject(0===this.get2DCursorLocation(c).charIndex,c)}this.text=this.text.slice(0,a)+this.text.slice(b)},insertChars:function(a){var b="\n"===this.text.slice(this.selectionStart,this.selectionStart+1);this.text=this.text.slice(0,this.selectionStart)+a+this.text.slice(this.selectionEnd),this.selectionStart===this.selectionEnd?this.insertStyleObject(a,b):this.selectionEnd-this.selectionStart>1,this.selectionStart+=a.length,this.selectionEnd=this.selectionStart,this.canvas&&this.canvas.renderAll().renderAll(),this.setCoords(),this.fire("text:changed")},insertNewlineStyleObject:function(b,c,d){this.shiftLineStyles(b,1),this.styles[b+1]||(this.styles[b+1]={});var e=this.styles[b][c-1],f={};if(d)f[0]=a(e),this.styles[b+1]=f;else{for(var g in this.styles[b])parseInt(g,10)>=c&&(f[parseInt(g,10)-c]=this.styles[b][g],delete this.styles[b][g]);this.styles[b+1]=f}},insertCharStyleObject:function(b,c){var d=this.styles[b],e=a(d);0===c&&(c=1);for(var f in e){var g=parseInt(f,10);g>=c&&(d[g+1]=e[g])}this.styles[b][c]=a(d[c-1])},insertStyleObject:function(a,b){if(!this.isEmptyStyles()){var c=this.get2DCursorLocation(),d=c.lineIndex,e=c.charIndex;this.styles[d]||(this.styles[d]={}),"\n"===a?this.insertNewlineStyleObject(d,e,b):this.insertCharStyleObject(d,e)}},shiftLineStyles:function(b,c){var d=a(this.styles);for(var e in this.styles){var f=parseInt(e,10);f>b&&(this.styles[f+c]=d[f])}},removeStyleObject:function(b,c){var d=this.get2DCursorLocation(c),e=d.lineIndex,f=d.charIndex;if(b){var g=this.text.split(this._reNewline),h=g[e-1],i=h.length;this.styles[e-1]||(this.styles[e-1]={});for(f in this.styles[e])this.styles[e-1][parseInt(f,10)+i]=this.styles[e][f];this.shiftLineStyles(e,-1)}else{var j=this.styles[e];if(j){var k=this.selectionStart===this.selectionEnd?-1:0;delete j[f+k]}var l=a(j);for(var m in l){var n=parseInt(m,10);n>=f&&0!==n&&(j[n-1]=l[n],delete j[n])}}},insertNewline:function(){this.insertChars("\n")}})}(),fabric.util.object.extend(fabric.IText.prototype,{initDoubleClickSimulation:function(){this.__lastClickTime=+new Date,this.__lastLastClickTime=+new Date,this.lastPointer={},this.on("mousedown",this.onMouseDown.bind(this))},onMouseDown:function(a){this.__newClickTime=+new Date;var b=this.canvas.getPointer(a.e);this.isTripleClick(b)?(this.fire("tripleclick",a),this._stopEvent(a.e)):this.isDoubleClick(b)&&(this.fire("dblclick",a),this._stopEvent(a.e)),this.__lastLastClickTime=this.__lastClickTime,this.__lastClickTime=this.__newClickTime,this.__lastPointer=b},isDoubleClick:function(a){return this.__newClickTime-this.__lastClickTime<500&&this.__lastPointer.x===a.x&&this.__lastPointer.y===a.y},isTripleClick:function(a){return this.__newClickTime-this.__lastClickTime<500&&this.__lastClickTime-this.__lastLastClickTime<500&&this.__lastPointer.x===a.x&&this.__lastPointer.y===a.y},_stopEvent:function(a){a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation()},initCursorSelectionHandlers:function(){this.initSelectedHandler(),this.initMousedownHandler(),this.initMousemoveHandler(),this.initMouseupHandler(),this.initClicks()},initClicks:function(){this.on("dblclick",function(a){this.selectWord(this.getSelectionStartFromPointer(a.e))}),this.on("tripleclick",function(a){this.selectLine(this.getSelectionStartFromPointer(a.e))})},initMousedownHandler:function(){this.on("mousedown",function(a){var b=this.canvas.getPointer(a.e);this.__mousedownX=b.x,this.__mousedownY=b.y,this.__isMousedown=!0,this.hiddenTextarea&&this.canvas&&this.canvas.wrapperEl.appendChild(this.hiddenTextarea),this.isEditing?(this.setCursorByClick(a.e),this.__selectionStartOnMouseDown=this.selectionStart):this.exitEditingOnOthers()})},initMousemoveHandler:function(){this.on("mousemove",function(a){if(this.__isMousedown&&this.isEditing){var b=this.getSelectionStartFromPointer(a.e);b>=this.__selectionStartOnMouseDown?(this.setSelectionStart(this.__selectionStartOnMouseDown),this.setSelectionEnd(b)):(this.setSelectionStart(b),this.setSelectionEnd(this.__selectionStartOnMouseDown))}})},_isObjectMoved:function(a){var b=this.canvas.getPointer(a);return this.__mousedownX!==b.x||this.__mousedownY!==b.y},initMouseupHandler:function(){this.on("mouseup",function(a){this.__isMousedown=!1,this._isObjectMoved(a.e)||this.selected&&this.enterEditing()})},setCursorByClick:function(a){var b=this.getSelectionStartFromPointer(a);a.shiftKey?bi;i++){g+=this._getHeightOfLine(this.ctx,i)*this.scaleY;var k=this._getWidthOfLine(this.ctx,i,d),l=this._getLineLeftOffset(k);f=l,this.flipX&&(d[i]=d[i].split("").reverse().join(""));for(var m=0,n=d[i].length;n>m;m++){var o=d[i][m];if(e=f,f+=this._getWidthOfChar(this.ctx,o,i,this.flipX?n-m:m)*this.scaleX,!(g<=c.y||f<=c.x))return this._getNewSelectionStartFromOffset(c,e,f,h+i,n);h++}}return"undefined"==typeof b?this.text.length:void 0},_getNewSelectionStartFromOffset:function(a,b,c,d,e){var f=a.x-b,g=c-a.x,h=g>f?0:1,i=d+h;return this.flipX&&(i=e-i),i>this.text.length&&(i=this.text.length),i}}),fabric.util.object.extend(fabric.IText.prototype,{initKeyHandlers:function(){fabric.util.addListener(fabric.document,"keydown",this.onKeyDown.bind(this)),fabric.util.addListener(fabric.document,"keypress",this.onKeyPress.bind(this))},initHiddenTextarea:function(){this.hiddenTextarea=fabric.document.createElement("textarea"),this.hiddenTextarea.setAttribute("autocapitalize","off"),this.hiddenTextarea.style.cssText="position: absolute; top: 0; left: -9999px",fabric.document.body.appendChild(this.hiddenTextarea)},_keysMap:{8:"removeChars",13:"insertNewline",37:"moveCursorLeft",38:"moveCursorUp",39:"moveCursorRight",40:"moveCursorDown",46:"forwardDelete"},_ctrlKeysMap:{65:"selectAll",67:"copy",86:"paste",88:"cut"},onKeyDown:function(a){if(this.isEditing){if(a.keyCode in this._keysMap)this[this._keysMap[a.keyCode]](a);else{if(!(a.keyCode in this._ctrlKeysMap&&(a.ctrlKey||a.metaKey)))return;this[this._ctrlKeysMap[a.keyCode]](a)}a.preventDefault(),a.stopPropagation(),this.canvas&&this.canvas.renderAll()}},forwardDelete:function(a){this.selectionStart===this.selectionEnd&&this.moveCursorRight(a),this.removeChars(a)},copy:function(){var a=this.getSelectedText();this.copiedText=a},paste:function(){this.copiedText&&this.insertChars(this.copiedText)},cut:function(a){this.copy(),this.removeChars(a)},onKeyPress:function(a){!this.isEditing||a.metaKey||a.ctrlKey||8===a.keyCode||13===a.keyCode||(this.insertChars(String.fromCharCode(a.which)),a.preventDefault(),a.stopPropagation())},getDownCursorOffset:function(a,b){var c,d,e=b?this.selectionEnd:this.selectionStart,f=this.text.split(this._reNewline),g=this.text.slice(0,e),h=this.text.slice(e),i=g.slice(g.lastIndexOf("\n")+1),j=h.match(/(.*)\n?/)[1],k=(h.match(/.*\n(.*)\n?/)||{})[1]||"",l=this.get2DCursorLocation(e);if(l.lineIndex===f.length-1||a.metaKey)return this.text.length-e;var m=this._getWidthOfLine(this.ctx,l.lineIndex,f);d=this._getLineLeftOffset(m);for(var n=d,o=l.lineIndex,p=0,q=i.length;q>p;p++)c=i[p],n+=this._getWidthOfChar(this.ctx,c,o,p);var r=this._getIndexOnNextLine(l,k,n,f);return j.length+1+r},_getIndexOnNextLine:function(a,b,c,d){for(var e,f=a.lineIndex+1,g=this._getWidthOfLine(this.ctx,f,d),h=this._getLineLeftOffset(g),i=h,j=0,k=0,l=b.length;l>k;k++){var m=b[k],n=this._getWidthOfChar(this.ctx,m,f,k);if(i+=n,i>c){e=!0;var o=i-n,p=i,q=Math.abs(o-c),r=Math.abs(p-c);j=q>r?k+1:k;
+
+break}}return e||(j=b.length),j},moveCursorDown:function(a){this.abortCursorAnimation(),this._currentCursorOpacity=1;var b=this.getDownCursorOffset(a,"right"===this._selectionDirection);a.shiftKey?this.moveCursorDownWithShift(b):this.moveCursorDownWithoutShift(b),this.initDelayedCursor()},moveCursorDownWithoutShift:function(a){this._selectionDirection="right",this.selectionStart+=a,this.selectionStart>this.text.length&&(this.selectionStart=this.text.length),this.selectionEnd=this.selectionStart},moveCursorDownWithShift:function(a){return"left"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?(this.selectionStart+=a,void(this._selectionDirection="left")):(this._selectionDirection="right",this.selectionEnd+=a,this.selectionEnd>this.text.length&&(this.selectionEnd=this.text.length),void 0)},getUpCursorOffset:function(a,b){var c=b?this.selectionEnd:this.selectionStart,d=this.get2DCursorLocation(c);if(0===d.lineIndex||a.metaKey)return c;var e,f,g=this.text.slice(0,c),h=g.slice(g.lastIndexOf("\n")+1),i=(g.match(/\n?(.*)\n.*$/)||{})[1]||"",j=this.text.split(this._reNewline),k=this._getWidthOfLine(this.ctx,d.lineIndex,j);f=this._getLineLeftOffset(k);for(var l=f,m=d.lineIndex,n=0,o=h.length;o>n;n++)e=h[n],l+=this._getWidthOfChar(this.ctx,e,m,n);var p=this._getIndexOnPrevLine(d,i,l,j);return i.length-p+h.length},_getIndexOnPrevLine:function(a,b,c,d){for(var e,f=a.lineIndex-1,g=this._getWidthOfLine(this.ctx,f,d),h=this._getLineLeftOffset(g),i=h,j=0,k=0,l=b.length;l>k;k++){var m=b[k],n=this._getWidthOfChar(this.ctx,m,f,k);if(i+=n,i>c){e=!0;var o=i-n,p=i,q=Math.abs(o-c),r=Math.abs(p-c);j=q>r?k:k-1;break}}return e||(j=b.length-1),j},moveCursorUp:function(a){this.abortCursorAnimation(),this._currentCursorOpacity=1;var b=this.getUpCursorOffset(a,"right"===this._selectionDirection);a.shiftKey?this.moveCursorUpWithShift(b):this.moveCursorUpWithoutShift(b),this.initDelayedCursor()},moveCursorUpWithShift:function(a){if(this.selectionStart===this.selectionEnd)this.selectionStart-=a;else{if("right"===this._selectionDirection)return this.selectionEnd-=a,void(this._selectionDirection="right");this.selectionStart-=a}this.selectionStart<0&&(this.selectionStart=0),this._selectionDirection="left"},moveCursorUpWithoutShift:function(a){this.selectionStart===this.selectionEnd&&(this.selectionStart-=a),this.selectionStart<0&&(this.selectionStart=0),this.selectionEnd=this.selectionStart,this._selectionDirection="left"},moveCursorLeft:function(a){(0!==this.selectionStart||0!==this.selectionEnd)&&(this.abortCursorAnimation(),this._currentCursorOpacity=1,a.shiftKey?this.moveCursorLeftWithShift(a):this.moveCursorLeftWithoutShift(a),this.initDelayedCursor())},_move:function(a,b,c){a.altKey?this[b]=this["findWordBoundary"+c](this[b]):a.metaKey?this[b]=this["findLineBoundary"+c](this[b]):this[b]+="Left"===c?-1:1},_moveLeft:function(a,b){this._move(a,b,"Left")},_moveRight:function(a,b){this._move(a,b,"Right")},moveCursorLeftWithoutShift:function(a){this._selectionDirection="left",this.selectionEnd===this.selectionStart&&this._moveLeft(a,"selectionStart"),this.selectionEnd=this.selectionStart},moveCursorLeftWithShift:function(a){"right"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?this._moveLeft(a,"selectionEnd"):(this._selectionDirection="left",this._moveLeft(a,"selectionStart"),"\n"===this.text.charAt(this.selectionStart)&&this.selectionStart--,this.selectionStart<0&&(this.selectionStart=0))},moveCursorRight:function(a){this.selectionStart>=this.text.length&&this.selectionEnd>=this.text.length||(this.abortCursorAnimation(),this._currentCursorOpacity=1,a.shiftKey?this.moveCursorRightWithShift(a):this.moveCursorRightWithoutShift(a),this.initDelayedCursor())},moveCursorRightWithShift:function(a){"left"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?this._moveRight(a,"selectionStart"):(this._selectionDirection="right",this._moveRight(a,"selectionEnd"),"\n"===this.text.charAt(this.selectionEnd-1)&&this.selectionEnd++,this.selectionEnd>this.text.length&&(this.selectionEnd=this.text.length))},moveCursorRightWithoutShift:function(a){this._selectionDirection="right",this.selectionStart===this.selectionEnd?(this._moveRight(a,"selectionStart"),this.selectionEnd=this.selectionStart):(this.selectionEnd+=this.getNumNewLinesInSelectedText(),this.selectionEnd>this.text.length&&(this.selectionEnd=this.text.length),this.selectionStart=this.selectionEnd)},removeChars:function(a){this.selectionStart===this.selectionEnd?this._removeCharsNearCursor(a):this._removeCharsFromTo(this.selectionStart,this.selectionEnd),this.selectionEnd=this.selectionStart,this._removeExtraneousStyles(),this.canvas&&this.canvas.renderAll().renderAll(),this.setCoords(),this.fire("text:changed")},_removeCharsNearCursor:function(a){if(0!==this.selectionStart)if(a.metaKey){var b=this.findLineBoundaryLeft(this.selectionStart);this._removeCharsFromTo(b,this.selectionStart),this.selectionStart=b}else if(a.altKey){var c=this.findWordBoundaryLeft(this.selectionStart);this._removeCharsFromTo(c,this.selectionStart),this.selectionStart=c}else{var d="\n"===this.text.slice(this.selectionStart-1,this.selectionStart);this.removeStyleObject(d),this.selectionStart--,this.text=this.text.slice(0,this.selectionStart)+this.text.slice(this.selectionStart+1)}}}),fabric.util.object.extend(fabric.IText.prototype,{_setSVGTextLineText:function(a,b,c,d,e,f){this.styles[b]?this._setSVGTextLineChars(a,b,c,d,e,f):this.callSuper("_setSVGTextLineText",a,b,c,d,e)},_setSVGTextLineChars:function(a,b,c,d,e,f){for(var g=0===b||this.useNative?"y":"dy",h=a.split(""),i=0,j=this._getSVGLineLeftOffset(b),k=this._getSVGLineTopOffset(b),l=this._getHeightOfLine(this.ctx,b),m=0,n=h.length;n>m;m++){var o=this.styles[b][m]||{};c.push(this._createTextCharSpan(h[m],o,j,k,g,i));var p=this._getWidthOfChar(this.ctx,h[m],b,m);o.textBackgroundColor&&f.push(this._createTextCharBg(o,j,k,l,p,i)),i+=p}},_getSVGLineLeftOffset:function(a){return this._boundaries&&this._boundaries[a]?fabric.util.toFixed(this._boundaries[a].left,2):0},_getSVGLineTopOffset:function(a){for(var b=0,c=0;a>=c;c++)b+=this._getHeightOfLine(this.ctx,c);return b-this.height/2},_createTextCharBg:function(a,b,c,d,e,f){return[' '].join("")},_createTextCharSpan:function(a,b,c,d,e,f){var g=this.getSvgStyles.call(fabric.util.object.extend({visible:!0,fill:this.fill,stroke:this.stroke,type:"text"},b));return['',fabric.util.string.escapeXml(a)," "].join("")}}),function(){function request(a,b,c){var d=URL.parse(a);d.port||(d.port=0===d.protocol.indexOf("https:")?443:80);var e=443===d.port?HTTPS:HTTP,f=e.request({hostname:d.hostname,port:d.port,path:d.path,method:"GET"},function(a){var d="";b&&a.setEncoding(b),a.on("end",function(){c(d)}),a.on("data",function(b){200===a.statusCode&&(d+=b)})});f.on("error",function(a){fabric.log(a.errno===process.ECONNREFUSED?"ECONNREFUSED: connection refused to "+d.hostname+":"+d.port:a.message)}),f.end()}function request_fs(a,b){var c=require("fs");c.readFile(a,function(a,c){if(a)throw fabric.log(a),a;b(c)})}if("undefined"==typeof document||"undefined"==typeof window){var DOMParser=new require("xmldom").DOMParser,URL=require("url"),HTTP=require("http"),HTTPS=require("https"),Canvas=require("canvas"),Image=require("canvas").Image;fabric.util.loadImage=function(a,b,c){var d=function(d){e.src=new Buffer(d,"binary"),e._src=a,b&&b.call(c,e)},e=new Image;a&&(a instanceof Buffer||0===a.indexOf("data"))?(e.src=e._src=a,b&&b.call(c,e)):a&&0!==a.indexOf("http")?request_fs(a,d):a?request(a,"binary",d):b&&b.call(c,a)},fabric.loadSVGFromURL=function(a,b,c){a=a.replace(/^\n\s*/,"").replace(/\?.*$/,"").trim(),0!==a.indexOf("http")?request_fs(a,function(a){fabric.loadSVGFromString(a,b,c)}):request(a,"",function(a){fabric.loadSVGFromString(a,b,c)})},fabric.loadSVGFromString=function(a,b,c){var d=(new DOMParser).parseFromString(a);fabric.parseSVGDocument(d.documentElement,function(a,c){b&&b(a,c)},c)},fabric.util.getScript=function(url,callback){request(url,"",function(body){eval(body),callback&&callback()})},fabric.Image.fromObject=function(a,b){fabric.util.loadImage(a.src,function(c){var d=new fabric.Image(c);d._initConfig(a),d._initFilters(a,function(a){d.filters=a||[],b&&b(d)})})},fabric.createCanvasForNode=function(a,b){var c=fabric.document.createElement("canvas"),d=new Canvas(a||600,b||600);c.style={},c.width=d.width,c.height=d.height;var e=fabric.Canvas||fabric.StaticCanvas,f=new e(c);return f.contextContainer=d.getContext("2d"),f.nodeCanvas=d,f.Font=Canvas.Font,f},fabric.StaticCanvas.prototype.createPNGStream=function(){return this.nodeCanvas.createPNGStream()},fabric.StaticCanvas.prototype.createJPEGStream=function(a){return this.nodeCanvas.createJPEGStream(a)};var origSetWidth=fabric.StaticCanvas.prototype.setWidth;fabric.StaticCanvas.prototype.setWidth=function(a){return origSetWidth.call(this,a),this.nodeCanvas.width=a,this},fabric.Canvas&&(fabric.Canvas.prototype.setWidth=fabric.StaticCanvas.prototype.setWidth);var origSetHeight=fabric.StaticCanvas.prototype.setHeight;fabric.StaticCanvas.prototype.setHeight=function(a){return origSetHeight.call(this,a),this.nodeCanvas.height=a,this},fabric.Canvas&&(fabric.Canvas.prototype.setHeight=fabric.StaticCanvas.prototype.setHeight)}}(),function(a,b,c){"use strict";function d(a,b){var c;if(void 0===a)return b;for(c in b)b.hasOwnProperty(c)&&a.hasOwnProperty(c)===!1&&(a[c]=b[c]);return a}function e(a,b,c){return this.init(a,b,c)}function f(a,b){this.darkroom=a,this.options=d(b,this.defaults),this.initialize()}function g(a){this.element=a,this.actionsElement=a.querySelector(".darkroom-toolbar-actions")}function h(a){this.element=a}function i(a){this.element=a}a.Darkroom=e,e.plugins=[],f.prototype={defaults:{},initialize:function(){}},f.extend=function(a){var b,c=this;b=a&&a.hasOwnProperty("constructor")?a.constructor:function(){return c.apply(this,arguments)},d(b,c);var e=function(){this.constructor=b};return e.prototype=c.prototype,b.prototype=new e,a&&d(b.prototype,a),b.__super__=c.prototype,b},e.Plugin=f,g.prototype.createButtonGroup=function(a){var c=b.createElement("li");return c.className="darkroom-button-group",this.actionsElement.appendChild(c),new h(c)},h.prototype.createButton=function(a){var c={image:"help",type:"default",group:"default",hide:!1,disabled:!1};a=d(a,c);var e=b.createElement("button");e.className="darkroom-button darkroom-button-"+a.type,e.innerHTML=' ',this.element.appendChild(e);var e=new i(e);return e.hide(a.hide),e.disable(a.disabled),e},i.prototype={addEventListener:function(a,b){var c=this.element;c.addEventListener?c.addEventListener(a,b):c.attachEvent&&c.attachEvent("on"+a,b)},active:function(a){a?this.element.classList.add("darkroom-button-active"):this.element.classList.remove("darkroom-button-active")},hide:function(a){a?this.element.classList.add("darkroom-button-hidden"):this.element.classList.remove("darkroom-button-hidden")},disable:function(a){this.element.disabled=a?!0:!1}};var j=c.util.createClass(c.Canvas,{});e.prototype={defaults:{minWidth:null,minHeight:null,maxWidth:null,maxHeight:null,backgroundColor:"#ccc",plugins:{},init:function(){}},addEventListener:function(a,b){var c=this.canvas.getElement();c.addEventListener?c.addEventListener(a,b):c.attachEvent&&c.attachEvent("on"+a,b)},dispatchEvent:function(a){var c=b.createEvent("Event");c.initEvent(a,!0,!0),this.canvas.getElement().dispatchEvent(c)},init:function(a,c,f){var g=this;if(this.options=d(c,this.defaults),"string"==typeof a&&(a=b.querySelector(a)),null!==a){var f=f||e.plugins,h=new Image;h.onload=function(){g.createFabricImage(a).initDOM(a).initPlugins(f),g.options.init.bind(g).call()},h.src=a.src}},initDOM:function(a){var c=b.createElement("div");c.className="darkroom-toolbar",c.innerHTML='';var d=b.createElement("canvas"),e=b.createElement("div");return e.className="darkroom-image-container",e.appendChild(d),this.container=b.createElement("div"),this.container.className="darkroom-container",this.container.appendChild(c),this.container.appendChild(e),a.parentNode.replaceChild(this.container,a),this.toolbar=new g(c),this.canvas=new j(d,{selection:!1,backgroundColor:this.options.backgroundColor}),this.canvas.setWidth(this.image.getWidth()),this.canvas.setHeight(this.image.getHeight()),this.canvas.add(this.image),this.canvas.centerObject(this.image),this.image.setCoords(),this},createFabricImage:function(a){var b=a.width,d=a.height,e=1,f=1,g=1,h=1;null!==this.options.maxWidth&&this.options.maxWidthb&&(g=this.options.minWidth/b),null!==this.options.minHeight&&this.options.minHeight>d&&(h=this.options.minHeight/d),f=Math.max(g,h);var i=f*e;return b*=i,d*=i,this.image=new c.Image(a,{selectable:!1,evented:!1,lockMovementX:!0,lockMovementY:!0,lockRotation:!0,lockScalingX:!0,lockScalingY:!0,lockUniScaling:!0,hasControls:!1,hasBorders:!1}),this.image.setScaleX(i),this.image.setScaleY(i),this},initPlugins:function(a){this.plugins={};for(var b in a){var c=a[b],d=this.options.plugins[b];d!==!1&&a.hasOwnProperty(b)&&(this.plugins[b]=new c(this,d))}},getPlugin:function(a){return this.plugins[a]},selfDestroy:function(){var a=this.container,b=new Image;b.onload=function(){a.parentNode.replaceChild(b,a)},b.src=this.snapshotImage()},snapshotImage:function(){return this.image.toDataURL()}}}(window,window.document,fabric),function(a,b,c,d){"use strict";c.plugins.history=c.Plugin.extend({initialize:function(){this._initButtons(),this.backHistoryStack=[],this.forwardHistoryStack=[],this._snapshotImage(),this.darkroom.addEventListener("image:change",this._onImageChange.bind(this))},goBack:function(){0!==this.backHistoryStack.length&&(this.forwardHistoryStack.push(this.currentImage),this.currentImage=this.backHistoryStack.pop(),this._applyImage(this.currentImage),this._updateButtons(),this.darkroom.dispatchEvent("history:navigate"))},goForward:function(){0!==this.forwardHistoryStack.length&&(this.backHistoryStack.push(this.currentImage),this.currentImage=this.forwardHistoryStack.pop(),this._applyImage(this.currentImage),this._updateButtons(),this.darkroom.dispatchEvent("history:navigate"))},_initButtons:function(){var a=this.darkroom.toolbar.createButtonGroup();return this.backButton=a.createButton({image:"back",disabled:!0}),this.forwardButton=a.createButton({image:"forward",disabled:!0}),this.backButton.addEventListener("click",this.goBack.bind(this)),this.forwardButton.addEventListener("click",this.goForward.bind(this)),this},_updateButtons:function(){this.backButton.disable(0===this.backHistoryStack.length),this.forwardButton.disable(0===this.forwardHistoryStack.length)},_snapshotImage:function(){var a=new Image;a.src=this.darkroom.snapshotImage(),this.currentImage=a},_onImageChange:function(){this.backHistoryStack.push(this.currentImage),this._snapshotImage(),this.forwardHistoryStack.length=0,this._updateButtons()},_applyImage:function(a){var b=this.darkroom.canvas,c=new d.Image(a,{selectable:!1,evented:!1,lockMovementX:!0,lockMovementY:!0,lockRotation:!0,lockScalingX:!0,lockScalingY:!0,lockUniScaling:!0,hasControls:!1,hasBorders:!1});b.setWidth(a.width),b.setHeight(a.height),this.darkroom.image.remove(),this.darkroom.image=c,b.add(c)}})}(window,document,Darkroom,fabric),function(a,b,c,d){"use strict";c.plugins.rotate=c.Plugin.extend({initialize:function(){var a=this.darkroom.toolbar.createButtonGroup();this.leftButton=a.createButton({image:"rotate-left"}),this.rightButton=a.createButton({image:"rotate-right"}),this.leftButton.addEventListener("click",this.rotateLeft.bind(this)),this.rightButton.addEventListener("click",this.rotateRight.bind(this))},rotateLeft:function(){this.rotate(-90)},rotateRight:function(){this.rotate(90)},rotate:function(a){var b=this.darkroom,c=b.canvas,d=b.image;a=(d.getAngle()+a)%360;var e,f;f=Math.abs(d.getWidth()*Math.sin(a*Math.PI/180))+Math.abs(d.getHeight()*Math.cos(a*Math.PI/180)),e=Math.abs(d.getHeight()*Math.sin(a*Math.PI/180))+Math.abs(d.getWidth()*Math.cos(a*Math.PI/180)),c.setWidth(e),c.setHeight(f),d.rotate(a),c.centerObject(d),d.setCoords(),c.renderAll(),b.dispatchEvent("image:change")}})}(window,document,Darkroom,fabric),function(a,b,c,d){"use strict";var e=d.util.createClass(d.Rect,{_render:function(a){this.callSuper("_render",a);var b=(a.canvas,7),c=this.flipX?-1:1,d=this.flipY?-1:1,e=c/this.scaleX,f=d/this.scaleY;a.scale(e,f),a.fillStyle="rgba(0, 0, 0, 0.5)",this._renderOverlay(a),void 0!==a.setLineDash?a.setLineDash([b,b]):void 0!==a.mozDash&&(a.mozDash=[b,b]),a.strokeStyle="rgba(0, 0, 0, 0.2)",this._renderBorders(a),this._renderGrid(a),a.lineDashOffset=b,a.strokeStyle="rgba(255, 255, 255, 0.4)",this._renderBorders(a),this._renderGrid(a),a.scale(1/e,1/f)},_renderOverlay:function(a){var b=a.canvas,c=0,d=Math.ceil(-this.getWidth()/2-this.getLeft()),e=Math.ceil(-this.getWidth()/2),f=Math.ceil(this.getWidth()/2),g=Math.ceil(this.getWidth()/2+(b.width-this.getWidth()-this.getLeft())),h=Math.ceil(-this.getHeight()/2-this.getTop()),i=Math.ceil(-this.getHeight()/2),j=Math.ceil(this.getHeight()/2),k=Math.ceil(this.getHeight()/2+(b.height-this.getHeight()-this.getTop()));a.fillRect(d,h,g-d,i-h+c),a.fillRect(d,i,e-d,j-i+c),a.fillRect(f,i,g-f,j-i+c),a.fillRect(d,j,g-d,k-j)},_renderBorders:function(a){a.beginPath(),a.moveTo(-this.getWidth()/2,-this.getHeight()/2),a.lineTo(this.getWidth()/2,-this.getHeight()/2),a.lineTo(this.getWidth()/2,this.getHeight()/2),a.lineTo(-this.getWidth()/2,this.getHeight()/2),a.lineTo(-this.getWidth()/2,-this.getHeight()/2),a.stroke()},_renderGrid:function(a){a.beginPath(),a.moveTo(-this.getWidth()/2+1/3*this.getWidth(),-this.getHeight()/2),a.lineTo(-this.getWidth()/2+1/3*this.getWidth(),this.getHeight()/2),a.stroke(),a.beginPath(),a.moveTo(-this.getWidth()/2+2/3*this.getWidth(),-this.getHeight()/2),a.lineTo(-this.getWidth()/2+2/3*this.getWidth(),this.getHeight()/2),a.stroke(),a.beginPath(),a.moveTo(-this.getWidth()/2,-this.getHeight()/2+1/3*this.getHeight()),a.lineTo(this.getWidth()/2,-this.getHeight()/2+1/3*this.getHeight()),a.stroke(),a.beginPath(),a.moveTo(-this.getWidth()/2,-this.getHeight()/2+2/3*this.getHeight()),a.lineTo(this.getWidth()/2,-this.getHeight()/2+2/3*this.getHeight()),a.stroke()}});c.plugins.crop=c.Plugin.extend({startX:null,startY:null,isKeyCroping:!1,isKeyLeft:!1,isKeyUp:!1,defaults:{minHeight:1,minWidth:1,ratio:null,quickCropKey:!1},initialize:function(){var a=this.darkroom.toolbar.createButtonGroup();this.cropButton=a.createButton({image:"crop"}),this.okButton=a.createButton({image:"accept",type:"success",hide:!0}),this.cancelButton=a.createButton({image:"cancel",type:"danger",hide:!0}),this.cropButton.addEventListener("click",this.toggleCrop.bind(this)),this.okButton.addEventListener("click",this.cropCurrentZone.bind(this)),this.cancelButton.addEventListener("click",this.releaseFocus.bind(this)),this.darkroom.canvas.on("mouse:down",this.onMouseDown.bind(this)),this.darkroom.canvas.on("mouse:move",this.onMouseMove.bind(this)),this.darkroom.canvas.on("mouse:up",this.onMouseUp.bind(this)),this.darkroom.canvas.on("object:moving",this.onObjectMoving.bind(this)),this.darkroom.canvas.on("object:scaling",this.onObjectScaling.bind(this)),d.util.addListener(d.document,"keydown",this.onKeyDown.bind(this)),d.util.addListener(d.document,"keyup",this.onKeyUp.bind(this)),this.darkroom.addEventListener("image:change",this.releaseFocus.bind(this))},onObjectMoving:function(a){if(this.hasFocus()){var b=a.target;if(b===this.cropZone){var c=this.darkroom.canvas,d=b.getLeft(),e=b.getTop(),f=b.getWidth(),g=b.getHeight(),h=c.getWidth()-f,i=c.getHeight()-g;0>d&&b.set("left",0),0>e&&b.set("top",0),d>h&&b.set("left",h),e>i&&b.set("top",i),this.darkroom.dispatchEvent("crop:update")}}},onObjectScaling:function(a){if(this.hasFocus()){var b=!1,c=a.target;if(c===this.cropZone){var d=this.darkroom.canvas,e=d.getPointer(a.e),f=(e.x,e.y,c.getLeft()),g=c.getTop(),h=c.getLeft()+c.getWidth(),i=c.getTop()+c.getHeight();if(null!==this.options.ratio&&(0>f||h>d.getWidth()||0>g||i>d.getHeight())&&(b=!0),0>f||h>d.getWidth()||b){var j=this.lastScaleX||1;c.setScaleX(j)}if(0>f&&c.setLeft(0),0>g||i>d.getHeight()||b){var k=this.lastScaleY||1;c.setScaleY(k)}0>g&&c.setTop(0),c.getWidth()a,g=!f,h=d>b,i=!h,j=Math.min(+this.options.minWidth,e.getWidth()),k=Math.min(+this.options.minHeight,e.getHeight()),l=Math.min(a,c),m=Math.max(a,c),n=Math.min(b,d),o=Math.max(b,d);l=Math.max(0,l),m=Math.min(e.getWidth(),m),n=Math.max(0,n),o=Math.min(e.getHeight(),o),j>m-l&&(f?m=l+j:l=m-j),k>o-n&&(h?o=n+k:n=o-k),0>l&&(m+=Math.abs(l),l=0),m>e.getWidth()&&(l-=m-e.getWidth(),m=e.getWidth()),0>n&&(o+=Math.abs(n),n=0),o>e.getHeight()&&(n-=o-e.getHeight(),o=e.getHeight());var p=m-l,q=o-n,r=p/q;if(this.options.ratio&&+this.options.ratio!==r){var s=+this.options.ratio;if(this.isKeyCroping&&(g=this.isKeyLeft,i=this.isKeyUp),s>r){var t=q*s;g&&(l-=t-p),p=t}else if(r>s){var u=q/(s*q/p);i&&(n-=u-q),q=u}if(0>l&&(l=0),0>n&&(n=0),l+p>e.getWidth()){var t=e.getWidth()-l;q=t*q/p,p=t,i&&(n=b-q)}if(n+q>e.getHeight()){var u=e.getHeight()-n;p=p*u/q,q=u,g&&(l=a-p)}}this.cropZone.left=l,this.cropZone.top=n,this.cropZone.width=p,this.cropZone.height=q,this.darkroom.canvas.bringToFront(this.cropZone),this.darkroom.dispatchEvent("crop:update")}})}(window,document,Darkroom,fabric),function(a,b,c){"use strict";c.plugins.save=c.Plugin.extend({defaults:{callback:function(){this.darkroom.selfDestroy(),a.FrontendMediator.publish("image-edit:save",{oImage:this.darkroom.image._element})}},initialize:function(){var a=this.darkroom.toolbar.createButtonGroup();this.destroyButton=a.createButton({image:"save"}),this.destroyButton.addEventListener("click",this.options.callback.bind(this))}})}(window,document,Darkroom),FrontendCore.define("image-edit",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{zoom:3,zoomable:!0},onStart:function(){var a=FrontendTools.getDataModules("image-edit"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","image-edit"),$(a).each(function(a){b.autobind(this,a)})},autobind:function(a,b){""===a.id&&(a.id="edit-image-"+b),$(a).addClass("magnifier-thumb-wrapper");var c,d=this,e={},f="350px",g="350px";null!==a.getAttribute("data-fc-width")&&(f=a.getAttribute("data-fc-width").replace("px","")+"px"),null!==a.getAttribute("data-fc-height")&&(g=a.getAttribute("data-fc-height").replace("px","")+"px"),c=FrontendTools.mergeOptions(d.oDefault,e),new Darkroom("#"+a.id,{minWidth:100,minHeight:100,maxWidth:500,maxHeight:500,plugins:{crop:{minHeight:50,minWidth:50,ratio:1}}}),$(a).on("click",function(){$(".darkroom-toolbar").slideToggle()})},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/image-zoom.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/image-zoom.js
new file mode 100644
index 00000000..982347a2
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/image-zoom.js
@@ -0,0 +1 @@
+var Event=function(){"use strict";this.attach=function(a,b,c,d){var e="",f=void 0===d?!0:d,g=null;return void 0===window.addEventListener?(e="on"+a,g=function(a,c){return b.attachEvent(a,c),c}):(e=a,g=function(a,c,d){return b.addEventListener(a,c,d),c}),g.apply(b,[e,function(a){var b=a||event,d=b.srcElement||b.target;c(b,d)},f])},this.detach=function(a,b,c,d){var e="",f=void 0===d?!0:d;void 0===window.removeEventListener?(e="on"+a,b.detachEvent(e,c)):(e=a,b.removeEventListener(e,c,f))},this.stop=function(a){a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation()},this.prevent=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1}},Magnifier=function(a,b){"use strict";var c=b||{},d=null,e={x:0,y:0,w:0,h:0,lensW:0,lensH:0,lensBgX:0,lensBgY:0,largeW:0,largeH:0,largeL:0,largeT:0,zoom:2,zoomMin:1.1,zoomMax:5,mode:"outside",largeWrapperId:void 0!==c.largeWrapper?c.largeWrapper.id||null:null,status:0,zoomAttached:!1,zoomable:void 0!==c.zoomable?c.zoomable:!1,onthumbenter:void 0!==c.onthumbenter?c.onthumbenter:null,onthumbmove:void 0!==c.onthumbmove?c.onthumbmove:null,onthumbleave:void 0!==c.onthumbleave?c.onthumbleave:null,onzoom:void 0!==c.onzoom?c.onzoom:null},f={t:0,l:0,x:0,y:0},g=0,h=0,i="",j=null,k=null,l=void 0!==c.zoom?c.zoom:e.zoom,m=void 0!==c.zoomMin?c.zoomMin:e.zoomMin,n=void 0!==c.zoomMax?c.zoomMax:e.zoomMax,o=c.mode||e.mode,p={},q=!1,r=0,s=function(a){var b=[],c=null,d=0,e="",f=0,g=0;if(document.getElementsByClassName)b=document.getElementsByClassName(a);else for(c=document.getElementsByTagName("*"),d=c.length,e=new RegExp("(^|\\s)"+a+"(\\s|$)"),g;d>f;f+=1)e.test(c[f].className)&&(b[g]=c[f],g+=1);return b},t=function(a){var b="",c=a.charAt(0),d=null;if(("#"===c||"."===c)&&(b=a.substr(1,a.length)),""!==b)switch(c){case"#":d=document.getElementById(b);break;case".":d=s(b)}return d},u=function(a,b){var c=document.createElement("div");c.id=b+"-lens",c.className="magnifier-loader",a.parentNode.appendChild(c)},v=function(){j.style.left=f.l+"px",j.style.top=f.t+"px",j.style.width=e.lensW+"px",j.style.height=e.lensH+"px",j.style.backgroundPosition="-"+e.lensBgX+"px -"+e.lensBgY+"px",k.style.left="-"+e.largeL+"px",k.style.top="-"+e.largeT+"px",k.style.width=e.largeW+"px",k.style.height=e.largeH+"px"},w=function(a,b,c,d){var e=t("#"+a+"-lens"),f=null;1===p[a].status?(f=document.createElement("div"),f.className="magnifier-loader-text",e.className="magnifier-loader hidden",f.appendChild(document.createTextNode("Loading...")),e.appendChild(f)):2===p[a].status&&(e.className="magnifier-lens hidden",e.removeChild(e.childNodes[0]),e.style.background="url("+b.src+") no-repeat 0 0 scroll",c.id=a+"-large",c.style.width=p[a].largeW+"px",c.style.height=p[a].largeH+"px",c.className="magnifier-large hidden","inside"===p[a].mode?e.appendChild(c):d.appendChild(c)),e.style.width=p[a].lensW+"px",e.style.height=p[a].lensH+"px"},x=function(){var a=f.x-e.x,b=f.y-e.y,c=0,d=0;q=0>a||0>b||a>e.w||b>e.h?!1:!0,d=a-e.lensW/2,c=b-e.lensH/2,"inside"!==e.mode&&(a0&&(d=e.w-(e.lensW+2)),b-e.h+e.lensH/2>0&&(c=e.h-(e.lensH+2))),f.l=Math.round(d),f.t=Math.round(c),e.lensBgX=f.l+1,e.lensBgY=f.t+1,"inside"===e.mode?(e.largeL=Math.round(a*(e.zoom-e.lensW/e.w)),e.largeT=Math.round(b*(e.zoom-e.lensH/e.h))):(e.largeL=Math.round(e.lensBgX*e.zoom*(e.largeWrapperW/e.w)),e.largeT=Math.round(e.lensBgY*e.zoom*(e.largeWrapperH/e.h)))},y=function(a){var b=a.wheelDelta>0||a.detail<0?.1:-.1,c=e.onzoom,g=1,h=0,i=0;a.preventDefault&&a.preventDefault(),a.returnValue=!1,e.zoom=Math.round(10*(e.zoom+b))/10,e.zoom>=e.zoomMax?e.zoom=e.zoomMax:e.zoom>=e.zoomMin?(e.lensW=Math.round(e.w/e.zoom),e.lensH=Math.round(e.h/e.zoom),"inside"===e.mode?(h=e.w,i=e.h):(h=e.largeWrapperW,i=e.largeWrapperH,g=e.largeWrapperW/e.w),e.largeW=Math.round(e.zoom*h),e.largeH=Math.round(e.zoom*i),x(),v(),null!==c&&c({thumb:d,lens:j,large:k,x:f.x,y:f.y,zoom:Math.round(e.zoom*g*10)/10,w:e.lensW,h:e.lensH})):e.zoom=e.zoomMin},z=function(){e=p[i],j=t("#"+i+"-lens"),2===e.status?(j.className="magnifier-lens",e.zoomAttached===!1&&(void 0!==e.zoomable&&e.zoomable===!0&&(a.attach("mousewheel",j,y),window.addEventListener&&j.addEventListener("DOMMouseScroll",function(a){y(a)})),e.zoomAttached=!0),k=t("#"+i+"-large"),k.className="magnifier-large"):1===e.status&&(j.className="magnifier-loader")},A=function(){if(e.status>0){var a=e.onthumbleave;null!==a&&a({thumb:d,lens:j,large:k,x:f.x,y:f.y}),-1===j.className.indexOf("hidden")&&(j.className+=" hidden",d.className=e.thumbCssClass,null!==k&&(k.className+=" hidden"))}},B=function(){if(h!==e.status&&z(),e.status>0){d.className=e.thumbCssClass+" opaque",1===e.status?j.className="magnifier-loader":2===e.status&&(j.className="magnifier-lens",k.className="magnifier-large",k.style.left="-"+e.largeL+"px",k.style.top="-"+e.largeT+"px"),j.style.left=f.l+"px",j.style.top=f.t+"px",j.style.backgroundPosition="-"+e.lensBgX+"px -"+e.lensBgY+"px";var a=e.onthumbmove;null!==a&&a({thumb:d,lens:j,large:k,x:f.x,y:f.y})}h=e.status},C=function(a,b){var c=a.getBoundingClientRect(),d=0,e=0;b.x=c.left,b.y=c.top,b.w=Math.round(c.right-b.x),b.h=Math.round(c.bottom-b.y),b.lensW=Math.round(b.w/b.zoom),b.lensH=Math.round(b.h/b.zoom),"inside"===b.mode?(d=b.w,e=b.h):(d=b.largeWrapperW,e=b.largeWrapperH),b.largeW=Math.round(b.zoom*d),b.largeH=Math.round(b.zoom*e)};this.attach=function(a){if(void 0===a.thumb)throw{name:"Magnifier error",message:"Please set thumbnail",toString:function(){return this.name+": "+this.message}};var b=t(a.thumb),c=0;if(void 0!==b.length)for(c;cc?b+c:c}function h(a,b){return Math.round((/%/.test(a)?("x"===b?B.width():e())/100:1)*parseInt(a,10))}function i(a,b){return a.get("photo")||a.get("photoRegex").test(b)}function j(a,b){return a.get("retinaUrl")&&c.devicePixelRatio>1?b.replace(a.get("photoRegex"),a.get("retinaSuffix")):b}function k(a){"contains"in t[0]&&!t[0].contains(a.target)&&a.target!==s[0]&&(a.stopPropagation(),t.focus())}function l(a){l.str!==a&&(t.add(s).removeClass(l.str).addClass(a),l.str=a)}function m(b){R=0,b&&b!==!1&&"nofollow"!==b?(A=a("."+aa).filter(function(){var c=a.data(this,$),d=new f(this,c);return d.get("rel")===b}),R=A.index(M.el),-1===R&&(A=A.add(M.el),R=A.length-1)):A=a(M.el)}function n(c){a(b).trigger(c),ha.triggerHandler(c)}function o(c){var e;if(!V){if(e=a(c).data($),M=new f(c,e),m(M.get("rel")),!T){T=U=!0,l(M.get("className")),t.css({visibility:"hidden",display:"block",opacity:""}),C=d(ia,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),v.css({width:"",height:""}).append(C),N=w.height()+z.height()+v.outerHeight(!0)-v.height(),O=x.width()+y.width()+v.outerWidth(!0)-v.width(),P=C.outerHeight(!0),Q=C.outerWidth(!0);var g=h(M.get("initialWidth"),"x"),i=h(M.get("initialHeight"),"y"),j=M.get("maxWidth"),o=M.get("maxHeight");M.w=(j!==!1?Math.min(g,h(j,"x")):g)-Q-O,M.h=(o!==!1?Math.min(i,h(o,"y")):i)-P-N,C.css({width:"",height:M.h}),X.position(),n(ba),M.get("onOpen"),L.add(F).hide(),t.focus(),M.get("trapFocus")&&b.addEventListener&&(b.addEventListener("focus",k,!0),ha.one(fa,function(){b.removeEventListener("focus",k,!0)})),M.get("returnFocus")&&ha.one(fa,function(){a(M.el).focus()})}var p=parseFloat(M.get("opacity"));s.css({opacity:p===p?p:"",cursor:M.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),M.get("closeButton")?K.html(M.get("close")).appendTo(v):K.appendTo("
"),r()}}function p(){t||(Y=!1,B=a(c),t=d(ia).attr({id:$,"class":a.support.opacity===!1?_+"IE":"",role:"dialog",tabindex:"-1"}).hide(),s=d(ia,"Overlay").hide(),E=a([d(ia,"LoadingOverlay")[0],d(ia,"LoadingGraphic")[0]]),u=d(ia,"Wrapper"),v=d(ia,"Content").append(F=d(ia,"Title"),G=d(ia,"Current"),J=a(' ').attr({id:_+"Previous"}),I=a(' ').attr({id:_+"Next"}),H=d("button","Slideshow"),E),K=a(' ').attr({id:_+"Close"}),u.append(d(ia).append(d(ia,"TopLeft"),w=d(ia,"TopCenter"),d(ia,"TopRight")),d(ia,!1,"clear:left").append(x=d(ia,"MiddleLeft"),v,y=d(ia,"MiddleRight")),d(ia,!1,"clear:left").append(d(ia,"BottomLeft"),z=d(ia,"BottomCenter"),d(ia,"BottomRight"))).find("div div").css({"float":"left"}),D=d(ia,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),L=I.add(J).add(G).add(H)),b.body&&!t.parent().length&&a(b.body).append(s,t.append(u,D))}function q(){function c(a){a.which>1||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),o(this))}return t?(Y||(Y=!0,I.click(function(){X.next()}),J.click(function(){X.prev()}),K.click(function(){X.close()}),s.click(function(){M.get("overlayClose")&&X.close()}),a(b).bind("keydown."+_,function(a){var b=a.keyCode;T&&M.get("escKey")&&27===b&&(a.preventDefault(),X.close()),T&&M.get("arrowKey")&&A[1]&&!a.altKey&&(37===b?(a.preventDefault(),J.click()):39===b&&(a.preventDefault(),I.click()))}),a.isFunction(a.fn.on)?a(b).on("click."+_,"."+aa,c):a("."+aa).live("click."+_,c)),!0):!1}function r(){var b,e,f,g=X.prep,k=++ja;if(U=!0,S=!1,n(ga),n(ca),M.get("onLoad"),M.h=M.get("height")?h(M.get("height"),"y")-P-N:M.get("innerHeight")&&h(M.get("innerHeight"),"y"),M.w=M.get("width")?h(M.get("width"),"x")-Q-O:M.get("innerWidth")&&h(M.get("innerWidth"),"x"),M.mw=M.w,M.mh=M.h,M.get("maxWidth")&&(M.mw=h(M.get("maxWidth"),"x")-Q-O,M.mw=M.w&&M.w").hide().insertBefore(l),ha.one(ga,function(){f.replaceWith(l)}),g(l)}else M.get("iframe")?g(" "):M.get("html")?g(M.get("html")):i(M,b)?(b=j(M,b),S=new Image,a(S).addClass(_+"Photo").bind("error",function(){g(d(ia,"Error").html(M.get("imgError")))}).one("load",function(){k===ja&&setTimeout(function(){var b;a.each(["alt","longdesc","aria-describedby"],function(b,c){var d=a(M.el).attr(c)||a(M.el).attr("data-"+c);d&&S.setAttribute(c,d)}),M.get("retinaImage")&&c.devicePixelRatio>1&&(S.height=S.height/c.devicePixelRatio,S.width=S.width/c.devicePixelRatio),M.get("scalePhotos")&&(e=function(){S.height-=S.height*b,S.width-=S.width*b},M.mw&&S.width>M.mw&&(b=(S.width-M.mw)/S.width,e()),M.mh&&S.height>M.mh&&(b=(S.height-M.mh)/S.height,e())),M.h&&(S.style.marginTop=Math.max(M.mh-S.height,0)/2+"px"),A[1]&&(M.get("loop")||A[R+1])&&(S.style.cursor="pointer",S.onclick=function(){X.next()}),S.style.width=S.width+"px",S.style.height=S.height+"px",g(S)},1)}),S.src=b):b&&D.load(b,M.get("data"),function(b,c){k===ja&&g("error"===c?d(ia,"Error").html(M.get("xhrError")):a(this).contents())})}var s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return a(this).attr("href")},title:function(){return this.title}},$="colorbox",_="cbox",aa=_+"Element",ba=_+"_open",ca=_+"_load",da=_+"_complete",ea=_+"_cleanup",fa=_+"_closed",ga=_+"_purge",ha=a(" "),ia="div",ja=0,ka={},la=function(){function a(){clearTimeout(g)}function b(){(M.get("loop")||A[R+1])&&(a(),g=setTimeout(X.next,M.get("slideshowSpeed")))}function c(){H.html(M.get("slideshowStop")).unbind(i).one(i,d),ha.bind(da,b).bind(ca,a),t.removeClass(h+"off").addClass(h+"on")}function d(){a(),ha.unbind(da,b).unbind(ca,a),H.html(M.get("slideshowStart")).unbind(i).one(i,function(){X.next(),c()}),t.removeClass(h+"on").addClass(h+"off")}function e(){f=!1,H.hide(),a(),ha.unbind(da,b).unbind(ca,a),t.removeClass(h+"off "+h+"on")}var f,g,h=_+"Slideshow_",i="click."+_;return function(){f?M.get("slideshow")||(ha.unbind(ea,e),e()):M.get("slideshow")&&A[1]&&(f=!0,ha.one(ea,e),M.get("slideshowAuto")?c():d(),H.show())}}();a[$]||(a(p),X=a.fn[$]=a[$]=function(b,c){var d,e=this;return b=b||{},a.isFunction(e)&&(e=a(" "),b.open=!0),e[0]?(p(),q()&&(c&&(b.onComplete=c),e.each(function(){var c=a.data(this,$)||{};a.data(this,$,a.extend(c,b))}).addClass(aa),d=new f(e[0],b),d.get("open")&&o(e[0])),e):e},X.position=function(b,c){function d(){w[0].style.width=z[0].style.width=v[0].style.width=parseInt(t[0].style.width,10)-O+"px",v[0].style.height=x[0].style.height=y[0].style.height=parseInt(t[0].style.height,10)-N+"px"}var f,g,i,j=0,k=0,l=t.offset();if(B.unbind("resize."+_),t.css({top:-9e4,left:-9e4}),g=B.scrollTop(),i=B.scrollLeft(),M.get("fixed")?(l.top-=g,l.left-=i,t.css({position:"fixed"})):(j=g,k=i,t.css({position:"absolute"})),k+=M.get("right")!==!1?Math.max(B.width()-M.w-Q-O-h(M.get("right"),"x"),0):M.get("left")!==!1?h(M.get("left"),"x"):Math.round(Math.max(B.width()-M.w-Q-O,0)/2),j+=M.get("bottom")!==!1?Math.max(e()-M.h-P-N-h(M.get("bottom"),"y"),0):M.get("top")!==!1?h(M.get("top"),"y"):Math.round(Math.max(e()-M.h-P-N,0)/2),t.css({top:l.top,left:l.left,visibility:"visible"}),u[0].style.width=u[0].style.height="9999px",f={width:M.w+Q+O,height:M.h+P+N,top:j,left:k},b){var m=0;a.each(f,function(a){return f[a]!==ka[a]?void(m=b):void 0}),b=m}ka=f,b||t.css(f),t.dequeue().animate(f,{duration:b||0,complete:function(){d(),U=!1,u[0].style.width=M.w+Q+O+"px",u[0].style.height=M.h+P+N+"px",M.get("reposition")&&setTimeout(function(){B.bind("resize."+_,X.position)},1),a.isFunction(c)&&c()},step:d})},X.resize=function(a){var b;T&&(a=a||{},a.width&&(M.w=h(a.width,"x")-Q-O),a.innerWidth&&(M.w=h(a.innerWidth,"x")),C.css({width:M.w}),a.height&&(M.h=h(a.height,"y")-P-N),a.innerHeight&&(M.h=h(a.innerHeight,"y")),a.innerHeight||a.height||(b=C.scrollTop(),C.css({height:"auto"}),M.h=C.height()),C.css({height:M.h}),b&&C.scrollTop(b),X.position("none"===M.get("transition")?0:M.get("speed")))},X.prep=function(c){function e(){return M.w=M.w||C.width(),M.w=M.mw&&M.mw1?("string"==typeof M.get("current")&&G.html(M.get("current").replace("{current}",R+1).replace("{total}",h)).show(),I[M.get("loop")||h-1>R?"show":"hide"]().html(M.get("next")),J[M.get("loop")||R?"show":"hide"]().html(M.get("previous")),la(),M.get("preloading")&&a.each([g(-1),g(1)],function(){var c,d=A[this],e=new f(d,a.data(d,$)),g=e.get("href");g&&i(e,g)&&(g=j(e,g),c=b.createElement("img"),c.src=g)})):L.hide(),M.get("iframe")?(d=b.createElement("iframe"),"frameBorder"in d&&(d.frameBorder=0),"allowTransparency"in d&&(d.allowTransparency="true"),M.get("scrolling")||(d.scrolling="no"),a(d).attr({src:M.get("href"),name:(new Date).getTime(),"class":_+"Iframe",allowFullScreen:!0}).one("load",e).appendTo(C),ha.one(ga,function(){d.src="//about:blank"}),M.get("fastIframe")&&a(d).trigger("load")):e(),"fade"===M.get("transition")?t.fadeTo(m,1,c):c())},"fade"===M.get("transition")?t.fadeTo(m,0,function(){X.position(0,k)}):X.position(m,k)}},X.next=function(){!U&&A[1]&&(M.get("loop")||A[R+1])&&(R=g(1),o(A[R]))},X.prev=function(){!U&&A[1]&&(M.get("loop")||R)&&(R=g(-1),o(A[R]))},X.close=function(){T&&!V&&(V=!0,T=!1,n(ea),M.get("onCleanup"),B.unbind("."+_),s.fadeTo(M.get("fadeOut")||0,0),t.stop().fadeTo(M.get("fadeOut")||0,0,function(){t.hide(),s.hide(),n(ga),C.remove(),setTimeout(function(){V=!1,n(fa),M.get("onClosed")},1)}))},X.remove=function(){t&&(t.stop(),a[$].close(),t.stop(!1,!0).remove(),s.remove(),V=!1,t=null,a("."+aa).removeData($).removeClass(aa),a(b).unbind("click."+_).unbind("keydown."+_))},X.element=function(){return a(M.el)},X.settings=Z)}(jQuery,document,window),FrontendCore.define("modal",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{scrolling:!0,maxWidth:"100%",maxHeight:"100%",onComplete:function(){FrontendCore.domBoot(document.getElementById("cboxLoadedContent"))}},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="modal"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","modal"),$(document).bind("cbox_open",function(){$("html").css({overflow:"hidden"})}).bind("cbox_closed",function(){$("html").css({overflow:""})}),$(a).each(function(){b.autobind(this)})},stripTag:function(a,b){var c=document.createElement("div");c.innerHTML=a,c.id="striptag-html";for(var d=c.getElementsByTagName(b),e=d.length;e--;)d[e].parentNode.removeChild(d[e]);var f=c.innerHTML;return $("#striptag-html").remove(),f},autobind:function(a){var b,c,d,e=this,f=a.href,g=f.split("#"),h=isMobile.any()?"100%":"90%",i={};if(g[0].toString()!==window.location.toString()&&g.length>1&&(0===$("#modal-inline").length&&$("body").append('
'),0===$("#modal-preload").length&&$("body").append('
'),$.get(g[0],function(a){var b=e.stripTag(a,"meta");b=e.stripTag(b,"script"),$("#modal-preload").append(b);var c=document.getElementById(g[1]).outerHTML;$("#modal-inline").append(c),$("#modal-preload").html("")}),a.href="#"+g[1]),-1!=a.className.indexOf("group")){c=a.className.split(" "),b="";for(var j=0;j1?(i.inline=!0,i.href="#"+g[1]):(-1===f.indexOf(".jpg")&&-1===f.indexOf(".png")&&-1===f.indexOf(".gif")&&-1===f.indexOf(".bmp")?(i.iframe=!0,null===a.getAttribute("data-fc-width")&&(i.width=h),null===a.getAttribute("data-fc-height")&&(i.height=h)):i.iframe=!1,i.inline=!1,i.href=f),d=FrontendTools.mergeOptions(e.oDefault,i),$(a).colorbox(d)},open:function(a){var b=this,c=FrontendTools.mergeOptions(b.oDefault,a);(void 0!==c.sUrl||"#"!==c.sUrl)&&$.colorbox(c)},close:function(){$.colorbox.close()},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
+!function(a,b,c){function d(c,d,e){var f=b.createElement(c);return d&&(f.id=_+d),e&&(f.style.cssText=e),a(f)}function e(){return c.innerHeight?c.innerHeight:a(c).height()}function f(b,c){c!==Object(c)&&(c={}),this.cache={},this.el=b,this.value=function(b){var d;return void 0===this.cache[b]&&(d=a(this.el).attr("data-cbox-"+b),void 0!==d?this.cache[b]=d:void 0!==c[b]?this.cache[b]=c[b]:void 0!==Z[b]&&(this.cache[b]=Z[b])),this.cache[b]},this.get=function(b){var c=this.value(b);return a.isFunction(c)?c.call(this.el,this):c}}function g(a){var b=A.length,c=(R+a)%b;return 0>c?b+c:c}function h(a,b){return Math.round((/%/.test(a)?("x"===b?B.width():e())/100:1)*parseInt(a,10))}function i(a,b){return a.get("photo")||a.get("photoRegex").test(b)}function j(a,b){return a.get("retinaUrl")&&c.devicePixelRatio>1?b.replace(a.get("photoRegex"),a.get("retinaSuffix")):b}function k(a){"contains"in t[0]&&!t[0].contains(a.target)&&a.target!==s[0]&&(a.stopPropagation(),t.focus())}function l(a){l.str!==a&&(t.add(s).removeClass(l.str).addClass(a),l.str=a)}function m(b){R=0,b&&b!==!1&&"nofollow"!==b?(A=a("."+aa).filter(function(){var c=a.data(this,$),d=new f(this,c);return d.get("rel")===b}),R=A.index(M.el),-1===R&&(A=A.add(M.el),R=A.length-1)):A=a(M.el)}function n(c){a(b).trigger(c),ha.triggerHandler(c)}function o(c){var e;if(!V){if(e=a(c).data($),M=new f(c,e),m(M.get("rel")),!T){T=U=!0,l(M.get("className")),t.css({visibility:"hidden",display:"block",opacity:""}),C=d(ia,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),v.css({width:"",height:""}).append(C),N=w.height()+z.height()+v.outerHeight(!0)-v.height(),O=x.width()+y.width()+v.outerWidth(!0)-v.width(),P=C.outerHeight(!0),Q=C.outerWidth(!0);var g=h(M.get("initialWidth"),"x"),i=h(M.get("initialHeight"),"y"),j=M.get("maxWidth"),o=M.get("maxHeight");M.w=(j!==!1?Math.min(g,h(j,"x")):g)-Q-O,M.h=(o!==!1?Math.min(i,h(o,"y")):i)-P-N,C.css({width:"",height:M.h}),X.position(),n(ba),M.get("onOpen"),L.add(F).hide(),t.focus(),M.get("trapFocus")&&b.addEventListener&&(b.addEventListener("focus",k,!0),ha.one(fa,function(){b.removeEventListener("focus",k,!0)})),M.get("returnFocus")&&ha.one(fa,function(){a(M.el).focus()})}var p=parseFloat(M.get("opacity"));s.css({opacity:p===p?p:"",cursor:M.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),M.get("closeButton")?K.html(M.get("close")).appendTo(v):K.appendTo("
"),r()}}function p(){t||(Y=!1,B=a(c),t=d(ia).attr({id:$,"class":a.support.opacity===!1?_+"IE":"",role:"dialog",tabindex:"-1"}).hide(),s=d(ia,"Overlay").hide(),E=a([d(ia,"LoadingOverlay")[0],d(ia,"LoadingGraphic")[0]]),u=d(ia,"Wrapper"),v=d(ia,"Content").append(F=d(ia,"Title"),G=d(ia,"Current"),J=a(' ').attr({id:_+"Previous"}),I=a(' ').attr({id:_+"Next"}),H=d("button","Slideshow"),E),K=a(' ').attr({id:_+"Close"}),u.append(d(ia).append(d(ia,"TopLeft"),w=d(ia,"TopCenter"),d(ia,"TopRight")),d(ia,!1,"clear:left").append(x=d(ia,"MiddleLeft"),v,y=d(ia,"MiddleRight")),d(ia,!1,"clear:left").append(d(ia,"BottomLeft"),z=d(ia,"BottomCenter"),d(ia,"BottomRight"))).find("div div").css({"float":"left"}),D=d(ia,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),L=I.add(J).add(G).add(H)),b.body&&!t.parent().length&&a(b.body).append(s,t.append(u,D))}function q(){function c(a){a.which>1||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),o(this))}return t?(Y||(Y=!0,I.click(function(){X.next()}),J.click(function(){X.prev()}),K.click(function(){X.close()}),s.click(function(){M.get("overlayClose")&&X.close()}),a(b).bind("keydown."+_,function(a){var b=a.keyCode;T&&M.get("escKey")&&27===b&&(a.preventDefault(),X.close()),T&&M.get("arrowKey")&&A[1]&&!a.altKey&&(37===b?(a.preventDefault(),J.click()):39===b&&(a.preventDefault(),I.click()))}),a.isFunction(a.fn.on)?a(b).on("click."+_,"."+aa,c):a("."+aa).live("click."+_,c)),!0):!1}function r(){var b,e,f,g=X.prep,k=++ja;if(U=!0,S=!1,n(ga),n(ca),M.get("onLoad"),M.h=M.get("height")?h(M.get("height"),"y")-P-N:M.get("innerHeight")&&h(M.get("innerHeight"),"y"),M.w=M.get("width")?h(M.get("width"),"x")-Q-O:M.get("innerWidth")&&h(M.get("innerWidth"),"x"),M.mw=M.w,M.mh=M.h,M.get("maxWidth")&&(M.mw=h(M.get("maxWidth"),"x")-Q-O,M.mw=M.w&&M.w").hide().insertBefore(l),ha.one(ga,function(){f.replaceWith(l)}),g(l)}else M.get("iframe")?g(" "):M.get("html")?g(M.get("html")):i(M,b)?(b=j(M,b),S=new Image,a(S).addClass(_+"Photo").bind("error",function(){g(d(ia,"Error").html(M.get("imgError")))}).one("load",function(){k===ja&&setTimeout(function(){var b;a.each(["alt","longdesc","aria-describedby"],function(b,c){var d=a(M.el).attr(c)||a(M.el).attr("data-"+c);d&&S.setAttribute(c,d)}),M.get("retinaImage")&&c.devicePixelRatio>1&&(S.height=S.height/c.devicePixelRatio,S.width=S.width/c.devicePixelRatio),M.get("scalePhotos")&&(e=function(){S.height-=S.height*b,S.width-=S.width*b},M.mw&&S.width>M.mw&&(b=(S.width-M.mw)/S.width,e()),M.mh&&S.height>M.mh&&(b=(S.height-M.mh)/S.height,e())),M.h&&(S.style.marginTop=Math.max(M.mh-S.height,0)/2+"px"),A[1]&&(M.get("loop")||A[R+1])&&(S.style.cursor="pointer",S.onclick=function(){X.next()}),S.style.width=S.width+"px",S.style.height=S.height+"px",g(S)},1)}),S.src=b):b&&D.load(b,M.get("data"),function(b,c){k===ja&&g("error"===c?d(ia,"Error").html(M.get("xhrError")):a(this).contents())})}var s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return a(this).attr("href")},title:function(){return this.title}},$="colorbox",_="cbox",aa=_+"Element",ba=_+"_open",ca=_+"_load",da=_+"_complete",ea=_+"_cleanup",fa=_+"_closed",ga=_+"_purge",ha=a(" "),ia="div",ja=0,ka={},la=function(){function a(){clearTimeout(g)}function b(){(M.get("loop")||A[R+1])&&(a(),g=setTimeout(X.next,M.get("slideshowSpeed")))}function c(){H.html(M.get("slideshowStop")).unbind(i).one(i,d),ha.bind(da,b).bind(ca,a),t.removeClass(h+"off").addClass(h+"on")}function d(){a(),ha.unbind(da,b).unbind(ca,a),H.html(M.get("slideshowStart")).unbind(i).one(i,function(){X.next(),c()}),t.removeClass(h+"on").addClass(h+"off")}function e(){f=!1,H.hide(),a(),ha.unbind(da,b).unbind(ca,a),t.removeClass(h+"off "+h+"on")}var f,g,h=_+"Slideshow_",i="click."+_;return function(){f?M.get("slideshow")||(ha.unbind(ea,e),e()):M.get("slideshow")&&A[1]&&(f=!0,ha.one(ea,e),M.get("slideshowAuto")?c():d(),H.show())}}();a[$]||(a(p),X=a.fn[$]=a[$]=function(b,c){var d,e=this;return b=b||{},a.isFunction(e)&&(e=a(" "),b.open=!0),e[0]?(p(),q()&&(c&&(b.onComplete=c),e.each(function(){var c=a.data(this,$)||{};a.data(this,$,a.extend(c,b))}).addClass(aa),d=new f(e[0],b),d.get("open")&&o(e[0])),e):e},X.position=function(b,c){function d(){w[0].style.width=z[0].style.width=v[0].style.width=parseInt(t[0].style.width,10)-O+"px",v[0].style.height=x[0].style.height=y[0].style.height=parseInt(t[0].style.height,10)-N+"px"}var f,g,i,j=0,k=0,l=t.offset();if(B.unbind("resize."+_),t.css({top:-9e4,left:-9e4}),g=B.scrollTop(),i=B.scrollLeft(),M.get("fixed")?(l.top-=g,l.left-=i,t.css({position:"fixed"})):(j=g,k=i,t.css({position:"absolute"})),k+=M.get("right")!==!1?Math.max(B.width()-M.w-Q-O-h(M.get("right"),"x"),0):M.get("left")!==!1?h(M.get("left"),"x"):Math.round(Math.max(B.width()-M.w-Q-O,0)/2),j+=M.get("bottom")!==!1?Math.max(e()-M.h-P-N-h(M.get("bottom"),"y"),0):M.get("top")!==!1?h(M.get("top"),"y"):Math.round(Math.max(e()-M.h-P-N,0)/2),t.css({top:l.top,left:l.left,visibility:"visible"}),u[0].style.width=u[0].style.height="9999px",f={width:M.w+Q+O,height:M.h+P+N,top:j,left:k},b){var m=0;a.each(f,function(a){return f[a]!==ka[a]?void(m=b):void 0}),b=m}ka=f,b||t.css(f),t.dequeue().animate(f,{duration:b||0,complete:function(){d(),U=!1,u[0].style.width=M.w+Q+O+"px",u[0].style.height=M.h+P+N+"px",M.get("reposition")&&setTimeout(function(){B.bind("resize."+_,X.position)},1),a.isFunction(c)&&c()},step:d})},X.resize=function(a){var b;T&&(a=a||{},a.width&&(M.w=h(a.width,"x")-Q-O),a.innerWidth&&(M.w=h(a.innerWidth,"x")),C.css({width:M.w}),a.height&&(M.h=h(a.height,"y")-P-N),a.innerHeight&&(M.h=h(a.innerHeight,"y")),a.innerHeight||a.height||(b=C.scrollTop(),C.css({height:"auto"}),M.h=C.height()),C.css({height:M.h}),b&&C.scrollTop(b),X.position("none"===M.get("transition")?0:M.get("speed")))},X.prep=function(c){function e(){return M.w=M.w||C.width(),M.w=M.mw&&M.mw1?("string"==typeof M.get("current")&&G.html(M.get("current").replace("{current}",R+1).replace("{total}",h)).show(),I[M.get("loop")||h-1>R?"show":"hide"]().html(M.get("next")),J[M.get("loop")||R?"show":"hide"]().html(M.get("previous")),la(),M.get("preloading")&&a.each([g(-1),g(1)],function(){var c,d=A[this],e=new f(d,a.data(d,$)),g=e.get("href");g&&i(e,g)&&(g=j(e,g),c=b.createElement("img"),c.src=g)})):L.hide(),M.get("iframe")?(d=b.createElement("iframe"),"frameBorder"in d&&(d.frameBorder=0),"allowTransparency"in d&&(d.allowTransparency="true"),M.get("scrolling")||(d.scrolling="no"),a(d).attr({src:M.get("href"),name:(new Date).getTime(),"class":_+"Iframe",allowFullScreen:!0}).one("load",e).appendTo(C),ha.one(ga,function(){d.src="//about:blank"}),M.get("fastIframe")&&a(d).trigger("load")):e(),"fade"===M.get("transition")?t.fadeTo(m,1,c):c())},"fade"===M.get("transition")?t.fadeTo(m,0,function(){X.position(0,k)}):X.position(m,k)}},X.next=function(){!U&&A[1]&&(M.get("loop")||A[R+1])&&(R=g(1),o(A[R]))},X.prev=function(){!U&&A[1]&&(M.get("loop")||R)&&(R=g(-1),o(A[R]))},X.close=function(){T&&!V&&(V=!0,T=!1,n(ea),M.get("onCleanup"),B.unbind("."+_),s.fadeTo(M.get("fadeOut")||0,0),t.stop().fadeTo(M.get("fadeOut")||0,0,function(){t.hide(),s.hide(),n(ga),C.remove(),setTimeout(function(){V=!1,n(fa),M.get("onClosed")},1)}))},X.remove=function(){t&&(t.stop(),a[$].close(),t.stop(!1,!0).remove(),s.remove(),V=!1,t=null,a("."+aa).removeData($).removeClass(aa),a(b).unbind("click."+_).unbind("keydown."+_))},X.element=function(){return a(M.el)},X.settings=Z)}(jQuery,document,window),FrontendCore.define("modal",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{scrolling:!0,maxWidth:"100%",maxHeight:"100%",onComplete:function(){FrontendCore.domBoot(document.getElementById("cboxLoadedContent"))}},onStart:function(){var a=FrontendTools.getDataModules("modal"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","modal"),$(document).bind("cbox_open",function(){$("html").css({overflow:"hidden"})}).bind("cbox_closed",function(){$("html").css({overflow:""})}),$(a).each(function(){b.autobind(this)})},stripTag:function(a,b){var c=document.createElement("div");c.innerHTML=a,c.id="striptag-html";for(var d=c.getElementsByTagName(b),e=d.length;e--;)d[e].parentNode.removeChild(d[e]);var f=c.innerHTML;return $("#striptag-html").remove(),f},autobind:function(a){var b,c,d,e=this,f=a.href,g=f.split("#"),h=isMobile.any()?"100%":"90%",i={};if(g[0].toString()!==window.location.toString()&&g.length>1&&(0===$("#modal-inline").length&&$("body").append('
'),0===$("#modal-preload").length&&$("body").append('
'),$.get(g[0],function(a){var b=e.stripTag(a,"meta");b=e.stripTag(b,"script"),$("#modal-preload").append(b);var c=document.getElementById(g[1]).outerHTML;$("#modal-inline").append(c),$("#modal-preload").html("")}),a.href="#"+g[1]),-1!=a.className.indexOf("group")){c=a.className.split(" "),b="";for(var j=0;j1?(i.inline=!0,i.href="#"+g[1]):(-1===f.indexOf(".jpg")&&-1===f.indexOf(".png")&&-1===f.indexOf(".gif")&&-1===f.indexOf(".bmp")?(i.iframe=!0,null===a.getAttribute("data-fc-width")&&(i.width=h),null===a.getAttribute("data-fc-height")&&(i.height=h)):i.iframe=!1,i.inline=!1,i.href=f),d=FrontendTools.mergeOptions(e.oDefault,i),$(a).colorbox(d)},open:function(a){var b=this,c=FrontendTools.mergeOptions(b.oDefault,a);(void 0!==c.sUrl||"#"!==c.sUrl)&&$.colorbox(c)},close:function(){$.colorbox.close()},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/polyfills.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/polyfills.js
index fc384f14..a7e9d231 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/polyfills.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/polyfills.js
@@ -1 +1 @@
-window.Modernizr=function(a,b,c){function d(a){s.cssText=a}function e(a,b){return typeof a===b}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){for(var d in a){var e=a[d];if(!f(e,"-")&&s[e]!==c)return"pfx"==b?e:!0}return!1}function h(a,b,d){for(var f in a){var g=b[a[f]];if(g!==c)return d===!1?a[f]:e(g,"function")?g.bind(d||b):g}return!1}function i(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),f=(a+" "+x.join(d+" ")+d).split(" ");return e(b,"string")||e(b,"undefined")?g(f,b):(f=(a+" "+y.join(d+" ")+d).split(" "),h(f,b,c))}function j(){n.input=function(c){for(var d=0,e=c.length;e>d;d++)B[c[d]]=!!(c[d]in t);return B.list&&(B.list=!(!b.createElement("datalist")||!a.HTMLDataListElement)),B}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),n.inputtypes=function(a){for(var d,e,f,g=0,h=a.length;h>g;g++)t.setAttribute("type",e=a[g]),d="text"!==t.type,d&&(t.value=u,t.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&t.style.WebkitAppearance!==c?(p.appendChild(t),f=b.defaultView,d=f.getComputedStyle&&"textfield"!==f.getComputedStyle(t,null).WebkitAppearance&&0!==t.offsetHeight,p.removeChild(t)):/^(search|tel)$/.test(e)||(d=/^(url|email)$/.test(e)?t.checkValidity&&t.checkValidity()===!1:t.value!=u)),A[a[g]]=!!d;return A}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var k,l,m="2.6.2",n={},o=!0,p=b.documentElement,q="modernizr",r=b.createElement(q),s=r.style,t=b.createElement("input"),u=":)",v=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),w="Webkit Moz O ms",x=w.split(" "),y=w.toLowerCase().split(" "),z={},A={},B={},C=[],D=C.slice,E={}.hasOwnProperty;l=e(E,"undefined")||e(E.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return E.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=D.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(D.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(D.call(arguments)))};return d}),z.canvas=function(){var a=b.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))},z.geolocation=function(){return"geolocation"in navigator},z.video=function(){var a=b.createElement("video"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(d){}return c},z.audio=function(){var a=b.createElement("audio"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(d){}return c},z.localstorage=function(){try{return localStorage.setItem(q,q),localStorage.removeItem(q),!0}catch(a){return!1}},z.sessionstorage=function(){try{return sessionStorage.setItem(q,q),sessionStorage.removeItem(q),!0}catch(a){return!1}};for(var F in z)l(z,F)&&(k=F.toLowerCase(),n[k]=z[F](),C.push((n[k]?"":"no-")+k));return n.input||j(),n.addTest=function(a,b){if("object"==typeof a)for(var d in a)l(a,d)&&n.addTest(d,a[d]);else{if(a=a.toLowerCase(),n[a]!==c)return n;b="function"==typeof b?b():b,"undefined"!=typeof o&&o&&(p.className+=" "+(b?"":"no-")+a),n[a]=b}return n},d(""),r=t=null,function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=r.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=q[a[o]];return b||(b={},p++,a[o]=p,q[p]=b),b}function f(a,c,d){if(c||(c=b),k)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():n.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),f.canHaveChildren&&!m.test(a)?d.frag.appendChild(f):f}function g(a,c){if(a||(a=b),k)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function i(a){a||(a=b);var d=e(a);return!r.shivCSS||j||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),k||h(a,d),a}var j,k,l=a.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,n=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,o="_html5shiv",p=0,q={};!function(){try{var a=b.createElement("a");a.innerHTML=" ",j="hidden"in a,k=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){j=!0,k=!0}}();var r={elements:l.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:l.shivCSS!==!1,supportsUnknownElements:k,shivMethods:l.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=r,i(b)}(this,b),n._version=m,n._prefixes=v,n._domPrefixes=y,n._cssomPrefixes=x,n.testProp=function(a){return g([a])},n.testAllProps=i,n.prefixed=function(a,b,c){return b?i(a,b,c):i(a,"pfx")},p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(o?" js "+C.join(" "):""),n}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==q.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=r.shift();s=1,a?a.t?o(function(){("c"==a.t?m.injectCss:m.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):s=0}function i(a,c,d,e,f,i,j){function k(b){if(!n&&g(l.readyState)&&(t.r=n=1,!s&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&o(function(){v.removeChild(l)},50);for(var d in A[c])A[c].hasOwnProperty(d)&&A[c][d].onload()}}var j=j||m.errorTimeout,l=b.createElement(a),n=0,q=0,t={t:d,s:c,e:f,a:i,x:j};1===A[c]&&(q=1,A[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,q)},r.splice(e,0,t),"img"!=a&&(q||2===A[c]?(v.insertBefore(l,u?null:p),o(k,j)):A[c].push(l))}function j(a,b,c,d,f){return s=0,b=b||"j",e(a)?i("c"==b?x:w,a,b,this.i++,c,d,f):(r.splice(this.i++,0,a),1==r.length&&h()),this}function k(){var a=m;return a.loader={load:j,i:0},a}var l,m,n=b.documentElement,o=a.setTimeout,p=b.getElementsByTagName("script")[0],q={}.toString,r=[],s=0,t="MozAppearance"in n.style,u=t&&!!b.createRange().compareNode,v=u?n:p.parentNode,n=a.opera&&"[object Opera]"==q.call(a.opera),n=!!b.attachEvent&&!n,w=t?"object":n?"script":"img",x=n?"script":w,y=Array.isArray||function(a){return"[object Array]"==q.call(a)},z=[],A={},B={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}};m=function(a){function b(a){var b,c,d,a=a.split("!"),e=z.length,f=a.pop(),g=a.length,f={url:f,origUrl:f,prefixes:a};for(c=0;g>c;c++)d=a[c].split("="),(b=B[d.shift()])&&(f=b(f,d));for(c=0;e>c;c++)f=z[c](f);return f}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(A[i.url]?i.noexec=!0:A[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),A[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(l=function(){var a=[].slice.call(arguments);m.apply(this,a),n()}),g(a,l,b,0,j);else if(Object(a)===a)for(i in h=function(){var b,c=0;for(b in a)a.hasOwnProperty(b)&&c++;return c}(),a)a.hasOwnProperty(i)&&(!c&&!--h&&(d(l)?l=function(){var a=[].slice.call(arguments);m.apply(this,a),n()}:l[i]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),n()}}(m[i])),g(a[i],l,b,i,j))}else!c&&n()}var h,i,j=!!a.test,k=a.load||a.both,l=a.callback||f,m=l,n=a.complete||f;c(j?a.yep:a.nope,!!k),k&&c(k)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(y(a))for(i=0;i1?m[b]=a.isPlainObject(c)?a.extend(!0,m[b]||{},c):c:"object"==typeof b&&a.extend(!0,m,b)},addPolyfill:function(b,c){c=c||{};var e=c.f||b;n[e]||(n[e]=[],d.featureList.push(e),m[e]={}),!n[e].failedM&&c.nM&&a.each(c.nM.split(" "),function(a,b){return b in h?void 0:(n[e].failedM=b,!1)}),n[e].failedM&&(c.test=!0),n[e].push(b),c.options=a.extend(m[e],c.options),u(b,c),c.methodNames&&a.each(c.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){return function(a){return a||(a=d.featureList),"string"==typeof a&&(a=a.split(" ")),d._polyfill(a)}}(),_polyfill:function(c){var d=[];b(),-1==a.inArray("forms",c)&&-1!==a.inArray("forms-ext",c)&&c.push("forms"),m.waitReady&&(a.readyWait++,p(c,function(){a.ready(!0)})),a.each(c,function(a,b){return n[b]?(b!==n[b][0]&&p(n[b],function(){o(b,!0)}),void(d=d.concat(n[b]))):void o(b,!0)}),m.loadStyles&&s.loadCSS("styles/shim.css"),t(d)},reTest:function(){var b,c=function(c,d){var e,g=r[d],h=d+"Ready";!g||g.loaded||(g.test&&a.isFunction(g.test)?g.test([]):g.test)||(f[h]&&delete f[h],e=n[g.f],b.push(d))};return function(d){"string"==typeof d&&(d=d.split(" ")),b=[],a.each(d,c),t(b)}}(),isReady:function(b,c){if(b+="Ready",c){if(f[b]&&f[b].add)return!0;f[b]=a.extend(f[b]||{},{add:function(a){a.handler.call(this,b)}}),a(document).triggerHandler(b)}return!(!f[b]||!f[b].add)||!1},ready:function(b,c){var e=arguments[2];if("string"==typeof b&&(b=b.split(" ")),e||(b=a.map(a.grep(b,function(a){return!o(a)}),function(a){return a+"Ready"})),!b.length)return void c(a,d,window,document);var f=b.shift(),g=function(){p(b,c,!0)};a(document).one(f,g)},capturingEvents:function(b,c){document.addEventListener&&("string"==typeof b&&(b=[b]),a.each(b,function(b,e){var g=function(b){return b=a.event.fix(b),c&&d.capturingEventPrevented&&d.capturingEventPrevented(b),a.event.dispatch.call(this,b)};f[e]=f[e]||{},f[e].setup||f[e].teardown||a.extend(f[e],{setup:function(){this.addEventListener(e,g,!0)},teardown:function(){this.removeEventListener(e,g,!0)}})}))},register:function(b,c){var e=r[b];if(!e)return void d.error("can't find module: "+b);e.loaded=!0;var f=function(){c(a,d,window,document,void 0,e.options),o(b,!0)};e.d&&e.d.length?p(e.d,f):f()},c:{},loader:{addModule:function(b,c){r[b]=c,c.name=c.name||b,c.c||(c.c=[]),a.each(c.c,function(a,c){d.c[c]||(d.c[c]=[]),d.c[c].push(b)})},loadList:function(){var b=[],c=function(c,d){"string"==typeof d&&(d=[d]),a.merge(b,d),s.loadScript(c,!1,d)},e=function(c,d){if(o(c)||-1!=a.inArray(c,b))return!0;var e,f=r[c];return m[f.f||c]||{},f?(e=f.test&&a.isFunction(f.test)?f.test(d):f.test,e?(o(c,!0),!0):!1):!0},f=function(b,c){if(b.d&&b.d.length){var d=function(b,d){e(d,c)||-1!=a.inArray(d,c)||c.push(d)};a.each(b.d,function(b,c){r[c]?r[c].loaded||d(b,c):n[c]&&(a.each(n[c],d),p(n[c],function(){o(c,!0)}))}),b.noAutoCallback||(b.noAutoCallback=!0)}};return function(g){var h,i,j,k,l=[],n=function(e,f){return k=f,a.each(d.c[f],function(c,d){return-1==a.inArray(d,l)||-1!=a.inArray(d,b)?(k=!1,!1):void 0}),k?(c("combos/"+k,d.c[k]),!1):void 0};for(i=0;ii;i++)k=!1,h=l[i],-1==a.inArray(h,b)&&("noCombo"!=m.debug&&a.each(r[h].c,n),k||c(r[h].src||h,h))}}(),makePath:function(a){return-1!=a.indexOf("//")||0===a.indexOf("/")?a:(-1==a.indexOf(".")&&(a+=".js"),m.addCacheBuster&&(a+=m.addCacheBuster),m.basePath+a)},loadCSS:function(){var b,c={};return function(d){d=this.makePath(d),c[d]||(b=b||a("link, style")[0]||a("script")[0],c[d]=1,a(' ').insertBefore(b).attr({href:d}))}}(),loadScript:function(){var b={};return function(c,d,e,f){if(f||(c=s.makePath(c)),!b[c]){var g=function(){d&&d(),e&&("string"==typeof e&&(e=e.split(" ")),a.each(e,function(a,b){r[b]&&(r[b].afterLoad&&r[b].afterLoad(),o(r[b].noAutoCallback?b+"FileLoaded":b,!0))}))};b[c]=1,m.loadScript(c,g,a.noop)}}}()}}),a.webshims=d;var m=d.cfg,n=d.features,o=d.isReady,p=d.ready,q=d.addPolyfill,r=d.modules,s=d.loader,t=s.loadList,u=s.addModule,v=d.bugs,w=[],x={warn:1,error:1};return d.addMethodName=function(b){b=b.split(":");var c=b[1];1==b.length?(c=b[0],b=b[0]):b=b[0],a.fn[b]=function(){return this.callProp(c,arguments)}},a.fn.callProp=function(b,c){var e;return c||(c=[]),this.each(function(){var f=a.prop(this,b);if(f&&f.apply){if(e=f.apply(this,c),void 0!==e)return!1}else d.warn(b+" is not a method of "+this)}),void 0!==e?e:this},d.activeLang=function(){var b=a("html").attr("lang")||navigator.browserLanguage||navigator.language||"";return p("webshimLocalization",function(){d.activeLang(b)}),function(a){if(a)if("string"==typeof a)b=a;else if("object"==typeof a){var c=arguments,e=this;p("webshimLocalization",function(){d.activeLang.apply(e,c)})}return b}}(),d.errorLog=[],a.each(["log","error","warn","info"],function(a,b){d[b]=function(a){(x[b]&&m.debug!==!1||m.debug)&&(d.errorLog.push(a),window.console&&console.log&&console[console[b]?b:"log"](a))}}),function(){a.isDOMReady=a.isReady;var c=function(){a.isDOMReady=!0,o("DOM",!0),setTimeout(function(){o("WINDOWLOAD",!0)},9999)};b=function(){if(!b.run){if((m.debug||!("crossDomain"in m.ajax)&&location.protocol.indexOf("http"))&&(m.ajax.crossDomain=!0),a.mobile&&(a.mobile.textinput||a.mobile.rangeslider||a.mobile.button)&&(m.readyEvt||(m.readyEvt="pageinit"),m.waitReady=!1),!a.isDOMReady&&m.waitReady){var d=a.ready;a.ready=function(b){return b!==!0&&document.body&&(c(),a.ready=d),d.apply(this,arguments)},a.ready.promise=d.promise}m.readyEvt?a(document).one(m.readyEvt,c):a(c)}b.run=!0},a(window).on("load",function(){c(),setTimeout(function(){o("WINDOWLOAD",!0)},9)});var e=[],f=function(){1==this.nodeType&&d.triggerDomUpdate(this)};a.extend(d,{addReady:function(a){var b=function(b,c){d.ready("DOM",function(){a(b,c)})};e.push(b),m.wsdoc&&b(m.wsdoc,g)},triggerDomUpdate:function(b){if(!b||!b.nodeType)return void(b&&b.jquery&&b.each(function(){d.triggerDomUpdate(this)}));var c=b.nodeType;if(1==c||9==c){var f=b!==document?a(b):g;a.each(e,function(a,c){c(b,f)})}}}),a.fn.htmlPolyfill=function(b){var c=a.fn.html.call(this,b);return c===this&&a.isDOMReady&&this.each(f),c},a.fn.jProp=function(){return this.pushStack(a(a.fn.prop.apply(this,arguments)||[]))},a.each(["after","before","append","prepend","replaceWith"],function(b,c){a.fn[c+"Polyfill"]=function(b){return b=a(b),a.fn[c].call(this,b),a.isDOMReady&&b.each(f),this}}),a.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(b,c){a.fn[c.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){return a.fn[c].apply(this,arguments),a.isDOMReady&&d.triggerDomUpdate(this),this}}),a.fn.updatePolyfill=function(){return a.isDOMReady&&d.triggerDomUpdate(this),this},a.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(b,c){a.fn[c]=function(){return this.pushStack(this)}})}(),function(){var b="defineProperty",c=k.prototype.hasOwnProperty,e=["configurable","enumerable","writable"],f=function(a){for(var b=0;3>b;b++)void 0!==a[e[b]]||"writable"===e[b]&&void 0===a.value||(a[e[b]]=!0)},g=function(a){if(a)for(var b in a)c.call(a,b)&&f(a[b])};k.create&&(d.objectCreate=function(b,c,d){g(c);var e=k.create(b,c);return d&&(e.options=a.extend(!0,{},e.options||{},d),d=e.options),e._create&&a.isFunction(e._create)&&e._create(d),e}),k[b]&&(d[b]=function(a,c,d){return f(d),k[b](a,c,d)}),k.defineProperties&&(d.defineProperties=function(a,b){return g(b),k.defineProperties(a,b)}),d.getOwnPropertyDescriptor=k.getOwnPropertyDescriptor,d.getPrototypeOf=k.getPrototypeOf}(),u("swfmini",{test:function(){return window.swfobject&&!window.swfmini&&(window.swfmini=window.swfobject),"swfmini"in window},c:[16,7,2,8,1,12,19,25,23,27]}),r.swfmini.test(),u("sizzle",{test:a.expr.filters}),u("$ajax",{test:a.ajax}),q("es5",{test:!(!h.ES5||!Function.prototype.bind),c:[18,19,25,20,32]}),q("dom-extend",{f:e,noAutoCallback:!0,d:["es5"],c:[16,7,2,15,30,3,8,4,9,10,25,19,20,26,31]}),q("geolocation",{test:h.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[21],nM:"geolocation"}),function(){q("canvas",{src:"excanvas",test:h.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var a=this.options.type;!a||-1===a.indexOf("flash")||r.swfmini.test()&&!swfmini.hasFlashPlayerVersion("9.0.0")||(this.src="flash"==a?"FlashCanvas/flashcanvas":"FlashCanvasPro/flashcanvas")},methodNames:["getContext"],d:[e],nM:"canvas"})}(),function(){var b,c,f,g="form-shim-extend",i=h.input,k=h.inputtypes,l="formvalidation",n="form-number-date-api",o=!1,p=!1,s=function(){var c,d,e;if(!s.run){if(e=a(' ')[0],j(l,!(!i.required||!i.pattern)),j("fieldsetelements",d="elements"in e),"disabled"in e){if(!d)try{a("textarea",e).is(":invalid")&&(e.disabled=!0,d=a("textarea",e).is(":valid"))}catch(f){}j("fieldsetdisabled",d)}k&&k.range&&!window.opera&&(c=a(' ').appendTo("html"),d=c.css("appearance"),c.remove(),j("csstrackrange",null==d||"range"==d),j("cssrangeinput","slider-horizontal"==d||"range"==d),j("styleableinputrange",h.csstrackrange||h.cssrangeinput)),h[l]&&(p=!(h.fieldsetdisabled&&h.fieldsetelements&&"value"in document.createElement("progress")&&"value"in document.createElement("output")),v.bustedValidity=o=window.opera||p||!i.list),b=h[l]&&!o?"form-native-extend":g}return s.run=!0,!1};i&&k&&s(),document.createElement("datalist"),d.validationMessages=d.validityMessages={langSrc:"i18n/formcfg-",availableLangs:["ar","cs","el","es","fr","he","hi","hu","it","ja","lt","nl","pl","pt","pt-BR","pt-PT","ru","sv","zh-CN"]},d.formcfg=a.extend({},d.validationMessages),d.inputTypes={},q("form-core",{f:"forms",d:["es5"],test:s,options:{placeholderType:"value",messagePopover:{},list:{popover:{constrainWidth:!0}},iVal:{sel:".ws-validate",handleBubble:"hide",recheckDelay:400}},methodNames:["setCustomValidity","checkValidity","setSelectionRange"],c:[16,7,2,8,1,15,30,3,31],nM:"input"}),c=m.forms,q("form-native-extend",{f:"forms",test:function(b){return!h[l]||o||-1==a.inArray(n,b||[])||r[n].test()},d:["form-core",e,"form-message"],c:[6,5,14,29]}),q(g,{f:"forms",test:function(){return h[l]&&!o},d:["form-core",e,"sizzle"],c:[16,15,24,28]}),q(g+"2",{f:"forms",test:function(){return h[l]&&!p},d:[g],c:[24]}),q("form-message",{f:"forms",test:function(a){return!(c.customMessages||!h[l]||o||!r[b].test(a))},d:[e],c:[16,7,15,30,3,8,4,14,28]}),f={noAutoCallback:!0,options:c},u("form-validation",a.extend({d:["form-message","form-core"]},f)),u("form-validators",a.extend({},f)),q(n,{f:"forms-ext",options:{types:"date time range number"},test:function(){var b=!0,c=this.options;return c._types||(c._types=c.types.split(" ")),s(),a.each(c._types,function(a,c){return c in k&&!k[c]?(b=!1,!1):void 0}),b},methodNames:["stepUp","stepDown"],d:["forms",e],c:[6,5,18,17,14,28,29,32,33],nM:"input inputtypes"}),u("range-ui",{options:{},noAutoCallback:!0,test:function(){return!!a.fn.rangeUI},d:["es5"],c:[6,5,9,10,18,17,11]}),q("form-number-date-ui",{f:"forms-ext",test:function(){var a=this.options;return s(),p&&!a.replaceUI&&/Android/i.test(navigator.userAgent)&&(a.replaceUI=!0),!a.replaceUI&&r[n].test()},d:["forms",e,n,"range-ui"],css:"styles/forms-ext.css",options:{widgets:{calculateWidth:!0,animate:!0}},c:[6,5,9,10,18,17,11]}),q("form-datalist",{f:"forms",test:function(){return s(),i.list&&!c.fD},d:["form-core",e],c:[16,7,6,2,9,15,30,31,28,32,33]})}(),q("filereader",{test:"FileReader"in window,d:["swfmini",e],c:[25,26,27]}),"details"in h||j("details",function(){return"open"in document.createElement("details")}),q("details",{test:h.details,d:[e],options:{text:"Details"},c:[21,22]}),function(){d.mediaelement={},q("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,options:{preferFlash:!1,vars:{},params:{},attrs:{},changeSWF:a.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfmini"],c:[16,7,2,8,1,12,13,19,25,20,23],nM:"audio video texttrackapi"}),q("mediaelement-jaris",{f:"mediaelement",d:["mediaelement-core","swfmini",e],test:function(){if(!h.audio||!h.video||d.mediaelement.loadSwf)return!1;var a=this.options;return a.preferFlash&&!r.swfmini.test()&&(a.preferFlash=!1),!(a.preferFlash&&swfmini.hasFlashPlayerVersion("9.0.115"))},c:[21,19,25,20]}),v.track=!h.texttrackapi,q("track",{options:{positionDisplay:!0,override:v.track},test:function(){return!this.options.override&&!v.track},d:["mediaelement",e],methodNames:["addTextTrack"],c:[21,12,13,22],nM:"texttrackapi"}),u("track-ui",{d:["track",e]})}(),q("feature-dummy",{test:!0,loaded:!0,c:w}),d.$=a,d.M=h,window.webshims=d,d.callAsync=function(){d.callAsync=a.noop,a(document.scripts||"script").filter("[data-polyfill-cfg]").each(function(){try{d.setOptions(a(this).data("polyfillCfg"))}catch(b){d.warn("error parsing polyfill cfg: "+b)}}).end().filter("[data-polyfill]").each(function(){d.polyfill(a.trim(a(this).data("polyfill")||""))}),i&&(i.cfg&&(i.cfg.length||(i.cfg=[[i.cfg]]),a.each(i.cfg,function(a,b){d.setOptions.apply(d,b)})),i.ready&&a.each(i.ready,function(a,b){d.ready.apply(d,b)}),i.lang&&d.activeLang(i.lang),"polyfill"in i&&d.polyfill(i.polyfill)),d.isReady("jquery",!0)},d.callAsync(),d});var oPolyfills={};FrontendCore.define("polyfills",[],function(){return{onStart:function(){for(var a=["video","audio","source"],b=Modernizr.inputtypes.date+Modernizr.inputtypes.email+Modernizr.inputtypes.number+Modernizr.inputtypes.month+Modernizr.inputtypes.range+Modernizr.inputtypes.datetime,c=document.getElementsByTagName("input"),d=[],e=!1,f=0;f0&&(Modernizr.input.placeholder&&Modernizr.input.required||(oPolyfills.shims+="forms "),5>b&&(oPolyfills.shims+="forms-ext "));for(var g=0;ge&&5>b&&FrontendCore.requireAndStart("loadPolyfills")}}}),FrontendCore.define("loadPolyfills",["polyfillsLibs"],function(){return{onStart:function(){webshim.setOptions("basePath",oGlobalSettings.sPathJsCore+"shims/shims/"),webshim.polyfill(oPolyfills.shims),FrontendTools.trackModule("JS_Libraries","call","polyfills")}}});
\ No newline at end of file
+window.Modernizr=function(a,b,c){function d(a){s.cssText=a}function e(a,b){return typeof a===b}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){for(var d in a){var e=a[d];if(!f(e,"-")&&s[e]!==c)return"pfx"==b?e:!0}return!1}function h(a,b,d){for(var f in a){var g=b[a[f]];if(g!==c)return d===!1?a[f]:e(g,"function")?g.bind(d||b):g}return!1}function i(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),f=(a+" "+x.join(d+" ")+d).split(" ");return e(b,"string")||e(b,"undefined")?g(f,b):(f=(a+" "+y.join(d+" ")+d).split(" "),h(f,b,c))}function j(){n.input=function(c){for(var d=0,e=c.length;e>d;d++)B[c[d]]=!!(c[d]in t);return B.list&&(B.list=!(!b.createElement("datalist")||!a.HTMLDataListElement)),B}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),n.inputtypes=function(a){for(var d,e,f,g=0,h=a.length;h>g;g++)t.setAttribute("type",e=a[g]),d="text"!==t.type,d&&(t.value=u,t.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&t.style.WebkitAppearance!==c?(p.appendChild(t),f=b.defaultView,d=f.getComputedStyle&&"textfield"!==f.getComputedStyle(t,null).WebkitAppearance&&0!==t.offsetHeight,p.removeChild(t)):/^(search|tel)$/.test(e)||(d=/^(url|email)$/.test(e)?t.checkValidity&&t.checkValidity()===!1:t.value!=u)),A[a[g]]=!!d;return A}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var k,l,m="2.6.2",n={},o=!0,p=b.documentElement,q="modernizr",r=b.createElement(q),s=r.style,t=b.createElement("input"),u=":)",v=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),w="Webkit Moz O ms",x=w.split(" "),y=w.toLowerCase().split(" "),z={},A={},B={},C=[],D=C.slice,E={}.hasOwnProperty;l=e(E,"undefined")||e(E.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return E.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=D.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(D.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(D.call(arguments)))};return d}),z.canvas=function(){var a=b.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))},z.geolocation=function(){return"geolocation"in navigator},z.video=function(){var a=b.createElement("video"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(d){}return c},z.audio=function(){var a=b.createElement("audio"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(d){}return c},z.localstorage=function(){try{return localStorage.setItem(q,q),localStorage.removeItem(q),!0}catch(a){return!1}},z.sessionstorage=function(){try{return sessionStorage.setItem(q,q),sessionStorage.removeItem(q),!0}catch(a){return!1}};for(var F in z)l(z,F)&&(k=F.toLowerCase(),n[k]=z[F](),C.push((n[k]?"":"no-")+k));return n.input||j(),n.addTest=function(a,b){if("object"==typeof a)for(var d in a)l(a,d)&&n.addTest(d,a[d]);else{if(a=a.toLowerCase(),n[a]!==c)return n;b="function"==typeof b?b():b,"undefined"!=typeof o&&o&&(p.className+=" "+(b?"":"no-")+a),n[a]=b}return n},d(""),r=t=null,function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=r.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=q[a[o]];return b||(b={},p++,a[o]=p,q[p]=b),b}function f(a,c,d){if(c||(c=b),k)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():n.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),f.canHaveChildren&&!m.test(a)?d.frag.appendChild(f):f}function g(a,c){if(a||(a=b),k)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function i(a){a||(a=b);var d=e(a);return!r.shivCSS||j||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),k||h(a,d),a}var j,k,l=a.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,n=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,o="_html5shiv",p=0,q={};!function(){try{var a=b.createElement("a");a.innerHTML=" ",j="hidden"in a,k=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){j=!0,k=!0}}();var r={elements:l.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:l.shivCSS!==!1,supportsUnknownElements:k,shivMethods:l.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=r,i(b)}(this,b),n._version=m,n._prefixes=v,n._domPrefixes=y,n._cssomPrefixes=x,n.testProp=function(a){return g([a])},n.testAllProps=i,n.prefixed=function(a,b,c){return b?i(a,b,c):i(a,"pfx")},p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(o?" js "+C.join(" "):""),n}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==q.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=r.shift();s=1,a?a.t?o(function(){("c"==a.t?m.injectCss:m.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):s=0}function i(a,c,d,e,f,i,j){function k(b){if(!n&&g(l.readyState)&&(t.r=n=1,!s&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&o(function(){v.removeChild(l)},50);for(var d in A[c])A[c].hasOwnProperty(d)&&A[c][d].onload()}}var j=j||m.errorTimeout,l=b.createElement(a),n=0,q=0,t={t:d,s:c,e:f,a:i,x:j};1===A[c]&&(q=1,A[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,q)},r.splice(e,0,t),"img"!=a&&(q||2===A[c]?(v.insertBefore(l,u?null:p),o(k,j)):A[c].push(l))}function j(a,b,c,d,f){return s=0,b=b||"j",e(a)?i("c"==b?x:w,a,b,this.i++,c,d,f):(r.splice(this.i++,0,a),1==r.length&&h()),this}function k(){var a=m;return a.loader={load:j,i:0},a}var l,m,n=b.documentElement,o=a.setTimeout,p=b.getElementsByTagName("script")[0],q={}.toString,r=[],s=0,t="MozAppearance"in n.style,u=t&&!!b.createRange().compareNode,v=u?n:p.parentNode,n=a.opera&&"[object Opera]"==q.call(a.opera),n=!!b.attachEvent&&!n,w=t?"object":n?"script":"img",x=n?"script":w,y=Array.isArray||function(a){return"[object Array]"==q.call(a)},z=[],A={},B={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}};m=function(a){function b(a){var b,c,d,a=a.split("!"),e=z.length,f=a.pop(),g=a.length,f={url:f,origUrl:f,prefixes:a};for(c=0;g>c;c++)d=a[c].split("="),(b=B[d.shift()])&&(f=b(f,d));for(c=0;e>c;c++)f=z[c](f);return f}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(A[i.url]?i.noexec=!0:A[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),A[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(l=function(){var a=[].slice.call(arguments);m.apply(this,a),n()}),g(a,l,b,0,j);else if(Object(a)===a)for(i in h=function(){var b,c=0;for(b in a)a.hasOwnProperty(b)&&c++;return c}(),a)a.hasOwnProperty(i)&&(!c&&!--h&&(d(l)?l=function(){var a=[].slice.call(arguments);m.apply(this,a),n()}:l[i]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),n()}}(m[i])),g(a[i],l,b,i,j))}else!c&&n()}var h,i,j=!!a.test,k=a.load||a.both,l=a.callback||f,m=l,n=a.complete||f;c(j?a.yep:a.nope,!!k),k&&c(k)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(y(a))for(i=0;i1?m[b]=a.isPlainObject(c)?a.extend(!0,m[b]||{},c):c:"object"==typeof b&&a.extend(!0,m,b)},addPolyfill:function(b,c){c=c||{};var e=c.f||b;n[e]||(n[e]=[],d.featureList.push(e),m[e]={}),!n[e].failedM&&c.nM&&a.each(c.nM.split(" "),function(a,b){return b in h?void 0:(n[e].failedM=b,!1)}),n[e].failedM&&(c.test=!0),n[e].push(b),c.options=a.extend(m[e],c.options),u(b,c),c.methodNames&&a.each(c.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){return function(a){return a||(a=d.featureList),"string"==typeof a&&(a=a.split(" ")),d._polyfill(a)}}(),_polyfill:function(c){var d=[];b(),-1==a.inArray("forms",c)&&-1!==a.inArray("forms-ext",c)&&c.push("forms"),m.waitReady&&(a.readyWait++,p(c,function(){a.ready(!0)})),a.each(c,function(a,b){return n[b]?(b!==n[b][0]&&p(n[b],function(){o(b,!0)}),void(d=d.concat(n[b]))):void o(b,!0)}),m.loadStyles&&s.loadCSS("styles/shim.css"),t(d)},reTest:function(){var b,c=function(c,d){var e,g=r[d],h=d+"Ready";!g||g.loaded||(g.test&&a.isFunction(g.test)?g.test([]):g.test)||(f[h]&&delete f[h],e=n[g.f],b.push(d))};return function(d){"string"==typeof d&&(d=d.split(" ")),b=[],a.each(d,c),t(b)}}(),isReady:function(b,c){if(b+="Ready",c){if(f[b]&&f[b].add)return!0;f[b]=a.extend(f[b]||{},{add:function(a){a.handler.call(this,b)}}),a(document).triggerHandler(b)}return!(!f[b]||!f[b].add)||!1},ready:function(b,c){var e=arguments[2];if("string"==typeof b&&(b=b.split(" ")),e||(b=a.map(a.grep(b,function(a){return!o(a)}),function(a){return a+"Ready"})),!b.length)return void c(a,d,window,document);var f=b.shift(),g=function(){p(b,c,!0)};a(document).one(f,g)},capturingEvents:function(b,c){document.addEventListener&&("string"==typeof b&&(b=[b]),a.each(b,function(b,e){var g=function(b){return b=a.event.fix(b),c&&d.capturingEventPrevented&&d.capturingEventPrevented(b),a.event.dispatch.call(this,b)};f[e]=f[e]||{},f[e].setup||f[e].teardown||a.extend(f[e],{setup:function(){this.addEventListener(e,g,!0)},teardown:function(){this.removeEventListener(e,g,!0)}})}))},register:function(b,c){var e=r[b];if(!e)return void d.error("can't find module: "+b);e.loaded=!0;var f=function(){c(a,d,window,document,void 0,e.options),o(b,!0)};e.d&&e.d.length?p(e.d,f):f()},c:{},loader:{addModule:function(b,c){r[b]=c,c.name=c.name||b,c.c||(c.c=[]),a.each(c.c,function(a,c){d.c[c]||(d.c[c]=[]),d.c[c].push(b)})},loadList:function(){var b=[],c=function(c,d){"string"==typeof d&&(d=[d]),a.merge(b,d),s.loadScript(c,!1,d)},e=function(c,d){if(o(c)||-1!=a.inArray(c,b))return!0;var e,f=r[c];return m[f.f||c]||{},f?(e=f.test&&a.isFunction(f.test)?f.test(d):f.test,e?(o(c,!0),!0):!1):!0},f=function(b,c){if(b.d&&b.d.length){var d=function(b,d){e(d,c)||-1!=a.inArray(d,c)||c.push(d)};a.each(b.d,function(b,c){r[c]?r[c].loaded||d(b,c):n[c]&&(a.each(n[c],d),p(n[c],function(){o(c,!0)}))}),b.noAutoCallback||(b.noAutoCallback=!0)}};return function(g){var h,i,j,k,l=[],n=function(e,f){return k=f,a.each(d.c[f],function(c,d){return-1==a.inArray(d,l)||-1!=a.inArray(d,b)?(k=!1,!1):void 0}),k?(c("combos/"+k,d.c[k]),!1):void 0};for(i=0;ii;i++)k=!1,h=l[i],-1==a.inArray(h,b)&&("noCombo"!=m.debug&&a.each(r[h].c,n),k||c(r[h].src||h,h))}}(),makePath:function(a){return-1!=a.indexOf("//")||0===a.indexOf("/")?a:(-1==a.indexOf(".")&&(a+=".js"),m.addCacheBuster&&(a+=m.addCacheBuster),m.basePath+a)},loadCSS:function(){var b,c={};return function(d){d=this.makePath(d),c[d]||(b=b||a("link, style")[0]||a("script")[0],c[d]=1,a(' ').insertBefore(b).attr({href:d}))}}(),loadScript:function(){var b={};return function(c,d,e,f){if(f||(c=s.makePath(c)),!b[c]){var g=function(){d&&d(),e&&("string"==typeof e&&(e=e.split(" ")),a.each(e,function(a,b){r[b]&&(r[b].afterLoad&&r[b].afterLoad(),o(r[b].noAutoCallback?b+"FileLoaded":b,!0))}))};b[c]=1,m.loadScript(c,g,a.noop)}}}()}}),a.webshims=d;var m=d.cfg,n=d.features,o=d.isReady,p=d.ready,q=d.addPolyfill,r=d.modules,s=d.loader,t=s.loadList,u=s.addModule,v=d.bugs,w=[],x={warn:1,error:1};return d.addMethodName=function(b){b=b.split(":");var c=b[1];1==b.length?(c=b[0],b=b[0]):b=b[0],a.fn[b]=function(){return this.callProp(c,arguments)}},a.fn.callProp=function(b,c){var e;return c||(c=[]),this.each(function(){var f=a.prop(this,b);if(f&&f.apply){if(e=f.apply(this,c),void 0!==e)return!1}else d.warn(b+" is not a method of "+this)}),void 0!==e?e:this},d.activeLang=function(){var b=a("html").attr("lang")||navigator.browserLanguage||navigator.language||"";return p("webshimLocalization",function(){d.activeLang(b)}),function(a){if(a)if("string"==typeof a)b=a;else if("object"==typeof a){var c=arguments,e=this;p("webshimLocalization",function(){d.activeLang.apply(e,c)})}return b}}(),d.errorLog=[],a.each(["log","error","warn","info"],function(a,b){d[b]=function(a){(x[b]&&m.debug!==!1||m.debug)&&(d.errorLog.push(a),window.console&&console.log&&console[console[b]?b:"log"](a))}}),function(){a.isDOMReady=a.isReady;var c=function(){a.isDOMReady=!0,o("DOM",!0),setTimeout(function(){o("WINDOWLOAD",!0)},9999)};b=function(){if(!b.run){if((m.debug||!("crossDomain"in m.ajax)&&location.protocol.indexOf("http"))&&(m.ajax.crossDomain=!0),a.mobile&&(a.mobile.textinput||a.mobile.rangeslider||a.mobile.button)&&(m.readyEvt||(m.readyEvt="pageinit"),m.waitReady=!1),!a.isDOMReady&&m.waitReady){var d=a.ready;a.ready=function(b){return b!==!0&&document.body&&(c(),a.ready=d),d.apply(this,arguments)},a.ready.promise=d.promise}m.readyEvt?a(document).one(m.readyEvt,c):a(c)}b.run=!0},a(window).on("load",function(){c(),setTimeout(function(){o("WINDOWLOAD",!0)},9)});var e=[],f=function(){1==this.nodeType&&d.triggerDomUpdate(this)};a.extend(d,{addReady:function(a){var b=function(b,c){d.ready("DOM",function(){a(b,c)})};e.push(b),m.wsdoc&&b(m.wsdoc,g)},triggerDomUpdate:function(b){if(!b||!b.nodeType)return void(b&&b.jquery&&b.each(function(){d.triggerDomUpdate(this)}));var c=b.nodeType;if(1==c||9==c){var f=b!==document?a(b):g;a.each(e,function(a,c){c(b,f)})}}}),a.fn.htmlPolyfill=function(b){var c=a.fn.html.call(this,b);return c===this&&a.isDOMReady&&this.each(f),c},a.fn.jProp=function(){return this.pushStack(a(a.fn.prop.apply(this,arguments)||[]))},a.each(["after","before","append","prepend","replaceWith"],function(b,c){a.fn[c+"Polyfill"]=function(b){return b=a(b),a.fn[c].call(this,b),a.isDOMReady&&b.each(f),this}}),a.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(b,c){a.fn[c.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){return a.fn[c].apply(this,arguments),a.isDOMReady&&d.triggerDomUpdate(this),this}}),a.fn.updatePolyfill=function(){return a.isDOMReady&&d.triggerDomUpdate(this),this},a.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(b,c){a.fn[c]=function(){return this.pushStack(this)}})}(),function(){var b="defineProperty",c=k.prototype.hasOwnProperty,e=["configurable","enumerable","writable"],f=function(a){for(var b=0;3>b;b++)void 0!==a[e[b]]||"writable"===e[b]&&void 0===a.value||(a[e[b]]=!0)},g=function(a){if(a)for(var b in a)c.call(a,b)&&f(a[b])};k.create&&(d.objectCreate=function(b,c,d){g(c);var e=k.create(b,c);return d&&(e.options=a.extend(!0,{},e.options||{},d),d=e.options),e._create&&a.isFunction(e._create)&&e._create(d),e}),k[b]&&(d[b]=function(a,c,d){return f(d),k[b](a,c,d)}),k.defineProperties&&(d.defineProperties=function(a,b){return g(b),k.defineProperties(a,b)}),d.getOwnPropertyDescriptor=k.getOwnPropertyDescriptor,d.getPrototypeOf=k.getPrototypeOf}(),u("swfmini",{test:function(){return window.swfobject&&!window.swfmini&&(window.swfmini=window.swfobject),"swfmini"in window},c:[16,7,2,8,1,12,19,25,23,27]}),r.swfmini.test(),u("sizzle",{test:a.expr.filters}),u("$ajax",{test:a.ajax}),q("es5",{test:!(!h.ES5||!Function.prototype.bind),c:[18,19,25,20,32]}),q("dom-extend",{f:e,noAutoCallback:!0,d:["es5"],c:[16,7,2,15,30,3,8,4,9,10,25,19,20,26,31]}),q("geolocation",{test:h.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[21],nM:"geolocation"}),function(){q("canvas",{src:"excanvas",test:h.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var a=this.options.type;!a||-1===a.indexOf("flash")||r.swfmini.test()&&!swfmini.hasFlashPlayerVersion("9.0.0")||(this.src="flash"==a?"FlashCanvas/flashcanvas":"FlashCanvasPro/flashcanvas")},methodNames:["getContext"],d:[e],nM:"canvas"})}(),function(){var b,c,f,g="form-shim-extend",i=h.input,k=h.inputtypes,l="formvalidation",n="form-number-date-api",o=!1,p=!1,s=function(){var c,d,e;if(!s.run){if(e=a(' ')[0],j(l,!(!i.required||!i.pattern)),j("fieldsetelements",d="elements"in e),"disabled"in e){if(!d)try{a("textarea",e).is(":invalid")&&(e.disabled=!0,d=a("textarea",e).is(":valid"))}catch(f){}j("fieldsetdisabled",d)}k&&k.range&&!window.opera&&(c=a(' ').appendTo("html"),d=c.css("appearance"),c.remove(),j("csstrackrange",null==d||"range"==d),j("cssrangeinput","slider-horizontal"==d||"range"==d),j("styleableinputrange",h.csstrackrange||h.cssrangeinput)),h[l]&&(p=!(h.fieldsetdisabled&&h.fieldsetelements&&"value"in document.createElement("progress")&&"value"in document.createElement("output")),v.bustedValidity=o=window.opera||p||!i.list),b=h[l]&&!o?"form-native-extend":g}return s.run=!0,!1};i&&k&&s(),document.createElement("datalist"),d.validationMessages=d.validityMessages={langSrc:"i18n/formcfg-",availableLangs:["ar","cs","el","es","fr","he","hi","hu","it","ja","lt","nl","pl","pt","pt-BR","pt-PT","ru","sv","zh-CN"]},d.formcfg=a.extend({},d.validationMessages),d.inputTypes={},q("form-core",{f:"forms",d:["es5"],test:s,options:{placeholderType:"value",messagePopover:{},list:{popover:{constrainWidth:!0}},iVal:{sel:".ws-validate",handleBubble:"hide",recheckDelay:400}},methodNames:["setCustomValidity","checkValidity","setSelectionRange"],c:[16,7,2,8,1,15,30,3,31],nM:"input"}),c=m.forms,q("form-native-extend",{f:"forms",test:function(b){return!h[l]||o||-1==a.inArray(n,b||[])||r[n].test()},d:["form-core",e,"form-message"],c:[6,5,14,29]}),q(g,{f:"forms",test:function(){return h[l]&&!o},d:["form-core",e,"sizzle"],c:[16,15,24,28]}),q(g+"2",{f:"forms",test:function(){return h[l]&&!p},d:[g],c:[24]}),q("form-message",{f:"forms",test:function(a){return!(c.customMessages||!h[l]||o||!r[b].test(a))},d:[e],c:[16,7,15,30,3,8,4,14,28]}),f={noAutoCallback:!0,options:c},u("form-validation",a.extend({d:["form-message","form-core"]},f)),u("form-validators",a.extend({},f)),q(n,{f:"forms-ext",options:{types:"date time range number"},test:function(){var b=!0,c=this.options;return c._types||(c._types=c.types.split(" ")),s(),a.each(c._types,function(a,c){return c in k&&!k[c]?(b=!1,!1):void 0}),b},methodNames:["stepUp","stepDown"],d:["forms",e],c:[6,5,18,17,14,28,29,32,33],nM:"input inputtypes"}),u("range-ui",{options:{},noAutoCallback:!0,test:function(){return!!a.fn.rangeUI},d:["es5"],c:[6,5,9,10,18,17,11]}),q("form-number-date-ui",{f:"forms-ext",test:function(){var a=this.options;return s(),p&&!a.replaceUI&&/Android/i.test(navigator.userAgent)&&(a.replaceUI=!0),!a.replaceUI&&r[n].test()},d:["forms",e,n,"range-ui"],css:"styles/forms-ext.css",options:{widgets:{calculateWidth:!0,animate:!0}},c:[6,5,9,10,18,17,11]}),q("form-datalist",{f:"forms",test:function(){return s(),i.list&&!c.fD},d:["form-core",e],c:[16,7,6,2,9,15,30,31,28,32,33]})}(),q("filereader",{test:"FileReader"in window,d:["swfmini",e],c:[25,26,27]}),"details"in h||j("details",function(){return"open"in document.createElement("details")}),q("details",{test:h.details,d:[e],options:{text:"Details"},c:[21,22]}),function(){d.mediaelement={},q("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,options:{preferFlash:!1,vars:{},params:{},attrs:{},changeSWF:a.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfmini"],c:[16,7,2,8,1,12,13,19,25,20,23],nM:"audio video texttrackapi"}),q("mediaelement-jaris",{f:"mediaelement",d:["mediaelement-core","swfmini",e],test:function(){if(!h.audio||!h.video||d.mediaelement.loadSwf)return!1;var a=this.options;return a.preferFlash&&!r.swfmini.test()&&(a.preferFlash=!1),!(a.preferFlash&&swfmini.hasFlashPlayerVersion("9.0.115"))},c:[21,19,25,20]}),v.track=!h.texttrackapi,q("track",{options:{positionDisplay:!0,override:v.track},test:function(){return!this.options.override&&!v.track},d:["mediaelement",e],methodNames:["addTextTrack"],c:[21,12,13,22],nM:"texttrackapi"}),u("track-ui",{d:["track",e]})}(),q("feature-dummy",{test:!0,loaded:!0,c:w}),d.$=a,d.M=h,window.webshims=d,d.callAsync=function(){d.callAsync=a.noop,a(document.scripts||"script").filter("[data-polyfill-cfg]").each(function(){try{d.setOptions(a(this).data("polyfillCfg"))}catch(b){d.warn("error parsing polyfill cfg: "+b)}}).end().filter("[data-polyfill]").each(function(){d.polyfill(a.trim(a(this).data("polyfill")||""))}),i&&(i.cfg&&(i.cfg.length||(i.cfg=[[i.cfg]]),a.each(i.cfg,function(a,b){d.setOptions.apply(d,b)})),i.ready&&a.each(i.ready,function(a,b){d.ready.apply(d,b)}),i.lang&&d.activeLang(i.lang),"polyfill"in i&&d.polyfill(i.polyfill)),d.isReady("jquery",!0)},d.callAsync(),d});var oPolyfills={};FrontendCore.define("polyfills",[],function(){return{onStart:function(){for(var a=["video","audio","source","details"],b=Modernizr.inputtypes.date+Modernizr.inputtypes.email+Modernizr.inputtypes.number+Modernizr.inputtypes.month+Modernizr.inputtypes.range+Modernizr.inputtypes.datetime+Modernizr.inputtypes.color,c=document.getElementsByTagName("input"),d=[],e=!1,f=0;f0&&(Modernizr.input.placeholder&&Modernizr.input.required||(oPolyfills.shims+="forms "),5>b&&(oPolyfills.shims+="forms-ext "));for(var g=0;ge&&5>b&&FrontendCore.requireAndStart("loadPolyfills"),Modernizr.inputtypes.color||$("input[type='color']").css({"min-width":"170px"}).after("")}}}),FrontendCore.define("loadPolyfills",["polyfillsLibs"],function(){return{onStart:function(){webshim.setOptions("basePath",oGlobalSettings.sPathJsCore+"shims/shims/"),webshim.polyfill(oPolyfills.shims),FrontendTools.trackModule("JS_Libraries","call","polyfills")}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/side-panel.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/side-panel.js
index b4d9c57b..99dcc50e 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/side-panel.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/side-panel.js
@@ -1 +1 @@
-!function(a){"use strict";function b(a,b){var e=a.outerWidth(!0),f={},g={};if(!a.is(":visible")&&!d){switch(d=!0,a.addClass("ps-active-panel").css({position:"fixed",top:0,height:"100%","z-index":999999}),a.data(b),b.side){case"left":a.css({left:"-"+e+"px",right:"auto"}),f["margin-left"]="+="+e,g.left="+="+e;break;case"right":a.css({left:"auto",right:"-"+e+"px"}),f["margin-left"]="-="+e,g.right="+="+e}c.animate(f,b.duration),a.show().animate(g,b.duration,function(){d=!1,"function"==typeof b.onOpen&&b.onOpen()})}}var c=a("body"),d=!1;a.panelslider=function(c,d){var e=a(".ps-active-panel"),f={side:"left",duration:200,clickClose:!0,onOpen:null};d=a.extend({},f,d),e.is(":visible")&&e[0]!=c[0]?a.panelslider.close(function(){b(c,d)}):(!e.length||e.is(":hidden"))&&b(c,d)},a.panelslider.close=function(b){var e=a(".ps-active-panel"),f=e.data("duration"),g=e.outerWidth(!0),h={},i={};if(e.length&&!e.is(":hidden")&&!d){switch(d=!0,e.data("side")){case"left":h["margin-left"]="-="+g,i.left="-="+g;break;case"right":h["margin-left"]="+="+g,i.right="-="+g}e.animate(i,f),c.animate(h,f,function(){e.hide(),e.removeClass("ps-active-panel"),d=!1,b&&b()})}},a(document).bind("click keyup",function(b){var c=a(".ps-active-panel");("keyup"!=b.type||27==b.keyCode)&&c.is(":visible")&&c.data("clickClose")&&a.panelslider.close()}),a(document).on("click",".ps-active-panel",function(a){a.stopPropagation()}),a.fn.panelslider=function(b){return this.click(function(c){var d=a(".ps-active-panel"),e=a(this.getAttribute("href"));d.is(":visible")&&e[0]==d[0]?a.panelslider.close():a.panelslider(e,b),c.preventDefault(),c.stopPropagation()}),this}}(jQuery),FrontendCore.define("side-panel",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{side:"left",menuWidth:"200px",duration:500,clickClose:!1,onOpen:function(){$(".black-panel").on("click",function(){$.panelslider.close(),$(this).remove()})}},onStart:function(){var a=FrontendTools.getDataModules("side-panel"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","side-panel"),$(a).each(function(a){b.autobind(this,a)})},autobind:function(a,b){function c(){$("body").css({width:$(window).width()}),$(window).off("resize",c)}var d,e,f,g,h=this,i=a.href,j={},k=(document.createElement("a"),$(window).width());if(""===a.id&&(a.id="slide-panel-open"+b),null!==a.getAttribute("data-fc-width")&&(f=a.getAttribute("data-fc-width"),j.menuWidth=f,-1===f.indexOf("%")&&-1===f.indexOf("px")?(j.menuWidth+="px",f=parseInt(f,10)):f=-1===f.indexOf("%")?$("window").width()/parseInt(f,10):parseInt(f,10)),g=f,599>k&&g>599&&(j.menuWidth=k+"px"),null!==a.getAttribute("data-fc-position")&&(j.side=a.getAttribute("data-fc-position")),-1!==i.indexOf("#")&&(j.menu="#"+i.split("#")[1]),$(j.menu).css({width:j.menuWidth}),d=FrontendTools.mergeOptions(h.oDefault,j),null!==a.getAttribute("data-fc-tab")&&($(a).addClass("side-panel-tab").addClass("side-panel-tab-"+d.side),null!==a.getAttribute("data-fc-tab-top")&&$(a).css("top",a.getAttribute("data-fc-tab-top"))),"true"===a.getAttribute("data-fc-clone")){var l="-"+b,m=$(d.menu).attr("id")+"-"+b,n=$(d.menu).clone().attr("id",$(d.menu).attr("id")+l);a.href="#"+m,d.menu="#"+m,n.find("[id]").each(function(){var a=$(this),b=a.attr("id")+l;a.attr("id",b)}),n.find("[href]").each(function(){var a,b=$(this),c=b.attr("href");-1!==c.indexOf("#")&&(a=c+l,b.attr("href",a))}),$("body").append(n[0])}e=$(a).parent(d.menu)[0],$(d.menu).removeClass("desktop").removeClass("tablet").removeClass("mobile").hide(),$(a).click(function(){var a=-1===$(d.menu)[0].className.indexOf("ps-active-panel")?"opening":"closing";"opening"===a&&($("body").css({width:$(window).width()}),$(window).off("resize",c),$(window).resize(c)),void 0===$(".black-panel")[0]&&$("body").append('
')}).panelslider(d),$(d.menu).addClass("side-panel-default").addClass("side-panel-"+d.side)},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
+FrontendCore.define("side-panel",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{side:"left",menuWidth:"200px"},onStart:function(){var a=FrontendTools.getDataModules("side-panel"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","side-panel"),$(a).each(function(a){b.autobind(this,a)})},autobind:function(a,b){var c,d,e,f,g=this,h=a.href,i={},j=$(window).width();if(""===a.id&&(a.id="slide-panel-open"+b),null!==a.getAttribute("data-fc-width")&&(d=a.getAttribute("data-fc-width"),i.menuWidth=d,-1===d.indexOf("%")&&-1===d.indexOf("px")?(i.menuWidth+="px",d=parseInt(d,10)):d=-1===d.indexOf("%")?$("window").width()/parseInt(d,10):parseInt(d,10)),e=d,599>j&&e>599&&(i.menuWidth=j+"px"),null!==a.getAttribute("data-fc-position")&&(i.side=a.getAttribute("data-fc-position")),-1!==h.indexOf("#")&&(f=document.getElementById(h.split("#")[1])),c=FrontendTools.mergeOptions(g.oDefault,i),null!==a.getAttribute("data-fc-tab")){$(a).addClass("side-panel-tab").addClass("side-panel-tab-"+c.side),null!==a.getAttribute("data-fc-tab-top")&&$(a).css("top",a.getAttribute("data-fc-tab-top"));var k=a.outerHTML;$(a).remove(),$("body").append(k),a=document.getElementById(a.id)}if("false"!==a.getAttribute("data-fc-clone")){var l="-"+b,m=$(f).attr("id")+"-"+b,n=$(f).clone().attr("id",$(f).attr("id")+l);a.href="#"+m,n.find("[id]").each(function(){var a=$(this),b=a.attr("id")+l;a.attr("id",b)}),n.find("[href]").each(function(){var a,b=$(this),c=b.attr("href");-1!==c.indexOf("#")&&(a=c+l,b.attr("href",a))}),$("body").append(n[0]),$(f).remove(),f=document.getElementById(m),$(f).hide()}$(f).width(i.menuWidth),$(a).click(function(a){a.preventDefault(),$(f).removeClass("slide-out-"+c.side).addClass("animated slide-in-"+c.side+" side-panel-default side-panel-"+c.side),$(f).show(),void 0===$(".side-black-panel")[0]&&($("body").append('
').css({overflow:"hidden",height:"100%"}),$(".side-black-panel").on("click",function(){var a=this;$(f).addClass("slide-out-"+c.side),$(a).addClass("fade-out"),$("body").css({overflow:"auto",height:"initial"}),setTimeout(function(){$(a).remove()},700)}))})},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/sortable.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/sortable.js
index c48ce042..5b8c888c 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/sortable.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/sortable.js
@@ -1 +1 @@
-!function(a,b,c,d){function e(a,b){var c=Math.max(0,a[0]-b[0],b[0]-a[1]),d=Math.max(0,a[2]-b[1],b[1]-a[3]);return c+d}function f(b,c,d,e){var f=b.length,g=e?"offset":"position";for(d=d||0;f--;){var h=b[f].el?b[f].el:a(b[f]),i=h[g]();i.left+=parseInt(h.css("margin-left"),10),i.top+=parseInt(h.css("margin-top"),10),c[f]=[i.left-d,i.left+h.outerWidth()+d,i.top-d,i.top+h.outerHeight()+d]}}function g(a,b){var c=b.offset();return{left:a.left-c.left,top:a.top-c.top}}function h(a,b,c){b=[b.left,b.top],c=c&&[c.left,c.top];for(var d,f=a.length,g=[];f--;)d=a[f],g[f]=[f,e(d,b),c&&e(d,c)];return g=g.sort(function(a,b){return b[1]-a[1]||b[2]-a[2]||b[0]-a[0]})}function i(b){this.options=a.extend({},m,b),this.containers=[],this.options.rootGroup||(this.scrollProxy=a.proxy(this.scroll,this),this.dragProxy=a.proxy(this.drag,this),this.dropProxy=a.proxy(this.drop,this),this.placeholder=a(this.options.placeholder),b.isValidTarget||(this.options.isValidTarget=d))}function j(b,c){this.el=b,this.options=a.extend({},l,c),this.group=i.get(this.options),this.rootGroup=this.options.rootGroup||this.group,this.handle=this.rootGroup.options.handle||this.rootGroup.options.itemSelector;var d=this.rootGroup.options.itemPath;this.target=d?this.el.find(d):this.el,this.target.on(k.start,this.handle,a.proxy(this.dragInit,this)),this.options.drop&&this.group.containers.push(this)}var k,l={drag:!0,drop:!0,exclude:"",nested:!0,vertical:!0},m={afterMove:function(a,b,c){},containerPath:"",containerSelector:"ol, ul",distance:0,delay:0,handle:"",itemPath:"",itemSelector:"li",isValidTarget:function(a,b){return!0},onCancel:function(a,b,c,d){},onDrag:function(a,b,c,d){a.css(b)},onDragStart:function(b,c,d,e){b.css({height:b.height(),width:b.width()}),b.addClass("dragged"),a("body").addClass("dragging")},onDrop:function(b,c,d,e){b.removeClass("dragged").removeAttr("style"),a("body").removeClass("dragging")},onMousedown:function(a,b,c){return c.target.nodeName.match(/^(input|select)$/i)?void 0:(c.preventDefault(),!0)},placeholder:' ',pullPlaceholder:!0,serialize:function(b,c,d){var e=a.extend({},b.data());return d?[c]:(c[0]&&(e.children=c),delete e.subContainers,delete e.sortable,e)},tolerance:0},n={},o=0,p={left:0,top:0,bottom:0,right:0},k={start:"touchstart.sortable mousedown.sortable",drop:"touchend.sortable touchcancel.sortable mouseup.sortable",drag:"touchmove.sortable mousemove.sortable",scroll:"scroll.sortable"},q="subContainers";i.get=function(a){return n[a.group]||(a.group===d&&(a.group=o++),n[a.group]=new i(a)),n[a.group]},i.prototype={dragInit:function(b,c){this.$document=a(c.el[0].ownerDocument),this.item=a(b.target).closest(this.options.itemSelector),this.itemContainer=c,!this.item.is(this.options.exclude)&&this.options.onMousedown(this.item,m.onMousedown,b)&&(this.setPointer(b),this.toggleListeners("on"),this.setupDelayTimer(),this.dragInitDone=!0)},drag:function(a){if(!this.dragging){if(!this.distanceMet(a)||!this.delayMet)return;this.options.onDragStart(this.item,this.itemContainer,m.onDragStart,a),this.item.before(this.placeholder),this.dragging=!0}this.setPointer(a),this.options.onDrag(this.item,g(this.pointer,this.item.offsetParent()),m.onDrag,a);var b=a.pageX||a.originalEvent.pageX,c=a.pageY||a.originalEvent.pageY,d=this.sameResultBox,e=this.options.tolerance;(!d||d.top-e>c||d.bottom+eb||d.right+e=this.options.distance},getPointer:function(a){return{left:a.pageX||a.originalEvent.pageX,top:a.pageY||a.originalEvent.pageY}},setupDelayTimer:function(){var a=this;this.delayMet=!this.options.delay,this.delayMet||(clearTimeout(this._mouseDelayTimer),this._mouseDelayTimer=setTimeout(function(){a.delayMet=!0},this.options.delay))},scroll:function(a){this.clearDimensions(),this.clearOffsetParent()},toggleListeners:function(b){var c=this,d=["drag","drop","scroll"];a.each(d,function(a,d){c.$document[b](k[d],c[d+"Proxy"])})},clearOffsetParent:function(){this.offsetParent=d},clearDimensions:function(){this.traverse(function(a){a._clearDimensions()})},traverse:function(a){a(this);for(var b=this.containers.length;b--;)this.containers[b].traverse(a)},_clearDimensions:function(){this.containerDimensions=d},_destroy:function(){n[this.options.group]=d}},j.prototype={dragInit:function(a){var b=this.rootGroup;!this.disabled&&!b.dragInitDone&&this.options.drag&&this.isValidDrag(a)&&b.dragInit(a,this)},isValidDrag:function(a){return 1==a.which||"touchstart"==a.type&&1==a.originalEvent.touches.length},searchValidTarget:function(a,b){var c=h(this.getItemDimensions(),a,b),d=c.length,e=this.rootGroup,f=!e.options.isValidTarget||e.options.isValidTarget(e.item,this);if(!d&&f)return e.movePlaceholder(this,this.target,"append"),!0;for(;d--;){var g=c[d][0],i=c[d][1];if(!i&&this.hasChildGroup(g)){var j=this.getContainerGroup(g).searchValidTarget(a,b);if(j)return!0}else if(f)return this.movePlaceholder(g,a),!0}},movePlaceholder:function(b,c){var d=a(this.items[b]),e=this.itemDimensions[b],f="after",g=d.outerWidth(),h=d.outerHeight(),i=d.offset(),j={left:i.left,right:i.left+g,top:i.top,bottom:i.top+h};if(this.options.vertical){var k=(e[2]+e[3])/2,l=c.top<=k;l?(f="before",j.bottom-=h/2):j.top+=h/2}else{var m=(e[0]+e[1])/2,n=c.left<=m;n?(f="before",j.right-=g/2):j.left+=g/2}this.hasChildGroup(b)&&(j=p),this.rootGroup.movePlaceholder(this,d,f,j)},getItemDimensions:function(){return this.itemDimensions||(this.items=this.$getChildren(this.el,"item").filter(":not(.placeholder, .dragged)").get(),f(this.items,this.itemDimensions=[],this.options.tolerance)),this.itemDimensions},getItemOffsetParent:function(){var a,b=this.el;return a="relative"===b.css("position")||"absolute"===b.css("position")||"fixed"===b.css("position")?b:b.offsetParent()},hasChildGroup:function(a){return this.options.nested&&this.getContainerGroup(a)},getContainerGroup:function(b){var e=a.data(this.items[b],q);if(e===d){var f=this.$getChildren(this.items[b],"container");if(e=!1,f[0]){var g=a.extend({},this.options,{rootGroup:this.rootGroup,group:o++});e=f[c](g).data(c).group}a.data(this.items[b],q,e)}return e},$getChildren:function(b,c){var d=this.rootGroup.options,e=d[c+"Path"],f=d[c+"Selector"];return b=a(b),e&&(b=b.find(e)),b.children(f)},_serialize:function(b,c){var d=this,e=c?"item":"container",f=this.$getChildren(b,e).not(this.options.exclude).map(function(){return d._serialize(a(this),!c)}).get();return this.rootGroup.options.serialize(b,f,c)},traverse:function(b){a.each(this.items||[],function(c){var d=a.data(this,q);d&&d.traverse(b)}),b(this)},_clearDimensions:function(){this.itemDimensions=d},_destroy:function(){var b=this;this.target.off(k.start,this.handle),this.el.removeData(c),this.options.drop&&(this.group.containers=a.grep(this.group.containers,function(a){return a!=b})),a.each(this.items||[],function(){a.removeData(this,q)})}};var r={enable:function(){this.traverse(function(a){a.disabled=!1})},disable:function(){this.traverse(function(a){a.disabled=!0})},serialize:function(){return this._serialize(this.el,!0)},refresh:function(){this.traverse(function(a){a._clearDimensions()})},destroy:function(){this.traverse(function(a){a._destroy()})}};a.extend(j.prototype,r),a.fn[c]=function(b){var e=Array.prototype.slice.call(arguments,1);return this.map(function(){var f=a(this),g=f.data(c);return g&&r[b]?r[b].apply(g,e)||this:(g||b!==d&&"object"!=typeof b||f.data(c,new j(f,b)),this)})}}(jQuery,window,"sortable"),FrontendCore.define("sortable",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,sInput:null,oTarget:[],delay:500,placeholer:'',oDefault:{oldContainer:null,group:"this",nested:!1},afterMove:function(a,b){var c=$(b.el).closest("ol[data-fc-modules=sortable]")[0];this.oldContainer!=b&&(this.oldContainer&&this.oldContainer.el.removeClass("active"),b.el.addClass("active"),this.oldContainer=b),this.showEmptyList(c),this.hideEmptyList(c),$(c).sortable("refresh")},onDrop:function(a,b,c){var d,e=$(b.el).closest("ol[data-fc-modules=sortable]")[0]?$(b.el).closest("ol[data-fc-modules=sortable]")[0]:$(b.el)[0];void 0!==e&&(d="json"===e.getAttribute("data-fc-output")?this.serialize(e):this.arraylize(e),null!==e.getAttribute("data-fc-input")&&this.fillInput(e.getAttribute("data-fc-input"),d),null!==e.getAttribute("data-fc-url")&&this.sendAjax(e.getAttribute("data-fc-url"),d)),b.el.removeClass("active");var f=$(a);f.removeClass("dragged").removeAttr("style"),$("body").removeClass("dragging"),this.hideEmptyList(e),c(a)},onDrag:function(a,b,c,d){a.offset($(".placeholder").offset())},onDragStart:function(a,b,c,d){$(a.context).closest("ol[data-fc-modules=sortable]")[0];a.addClass("dragged"),$("body").addClass("dragging")},isValidTarget:function(a,b){var c=$(a.context).closest("ol[data-fc-modules=sortable]")[0];if(void 0!==c){var d=$(b.el.context,"#"+c.id).parents("ol").length+1,e=null!==c.getAttribute("data-fc-depth")?c.getAttribute("data-fc-depth"):2;return d>e?!1:void 0!==$(".dragged").find("li")[0]&&d>e-1?!1:!0}return!0},addEmptyList:function(a){void 0!==a&&$("li",a).each(function(){void 0===$("ol",this)[0]&&$(this).append(' ')}),$(a).sortable("refresh")},hideEmptyList:function(a){if(void 0!==a){var b,c=null!==a.getAttribute("data-fc-depth")?a.getAttribute("data-fc-depth"):2;$("li",a).each(function(){b=$(this,"#"+a.id).parents("ol").length,b>=c&&$("ol",this).css({height:"1px",padding:"0px",margin:"0px",background:"transparent",position:"absolute"})})}},showEmptyList:function(a){void 0!==a&&$("li",a).each(function(){void 0===$("ol li",this)[0]&&$("ol",this).removeAttr("style")}),$(a).sortable("refresh")},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="sortable"]'),b=this;FrontendTools.trackModule("JS_Libraries","call","sortable"),FrontendTools.loadCSS(this.sPathCss),$(a).each(function(a){b.autobind(this,a)})},arraylize:function(a){var b=$("li",a).length,c="";return $("li",a).each(function(a){""!==this.id&&(c+=this.id?this.id:this.innerHTML),a!==b-1&&""!==this.id&&(c+=",")}),c},serialize:function(a){var b,c={},d=$(a).attr("id");return $("#"+d+"> li").each(function(a){b=this.id,c[a]={order:a+1,id:null!==this.getAttribute("data-fc-id")?this.getAttribute("data-fc-id"):this.id,name:null!==this.getAttribute("data-fc-name")?this.getAttribute("data-fc-name"):this.id,subtree:{}},$("li",this).each(function(b){c[a].subtree[b]={order:b+1,id:null!==this.getAttribute("data-fc-id")?this.getAttribute("data-fc-id"):this.id,name:null!==this.getAttribute("data-fc-name")?this.getAttribute("data-fc-name"):this.id}})}),c},fillInput:function(a,b){"object"==typeof b&&(b=JSON.stringify(b)),document.getElementById(a).value=b},sendAjax:function(a,b){var c=JSON.stringify(b);$.ajax({url:a,type:"POST",data:{data:c},dataType:"json"})},autobind:function(a,b){var c,d={},e=Math.random(1e3).toString(),f=this;""===a.id&&(a.id="sortable-"+e.replace(".","")),"nested"===a.getAttribute("data-fc-type")&&($(a).addClass("js-sortable"),d.nested=!0),this.addEmptyList(a),this.hideEmptyList(a),d.isValidTarget=this.isValidTarget,d.addEmptyList=this.addEmptyList,d.showEmptyList=this.showEmptyList,d.hideEmptyList=this.hideEmptyList,d.afterMove=this.afterMove,d.onDrop=this.onDrop,d.onDrag=this.onDrag,d.onDragStart=this.onDragStart,null!==a.getAttribute("data-fc-handle")&&(d.handle=a.getAttribute("data-fc-handle")),c=FrontendTools.mergeOptions(f.oDefault,d),f.oTarget[b]=$(a).sortable(c)}}});
\ No newline at end of file
+!function(a,b,c,d){function e(a,b){var c=Math.max(0,a[0]-b[0],b[0]-a[1]),d=Math.max(0,a[2]-b[1],b[1]-a[3]);return c+d}function f(b,c,d,e){var f=b.length,g=e?"offset":"position";for(d=d||0;f--;){var h=b[f].el?b[f].el:a(b[f]),i=h[g]();i.left+=parseInt(h.css("margin-left"),10),i.top+=parseInt(h.css("margin-top"),10),c[f]=[i.left-d,i.left+h.outerWidth()+d,i.top-d,i.top+h.outerHeight()+d]}}function g(a,b){var c=b.offset();return{left:a.left-c.left,top:a.top-c.top}}function h(a,b,c){b=[b.left,b.top],c=c&&[c.left,c.top];for(var d,f=a.length,g=[];f--;)d=a[f],g[f]=[f,e(d,b),c&&e(d,c)];return g=g.sort(function(a,b){return b[1]-a[1]||b[2]-a[2]||b[0]-a[0]})}function i(b){this.options=a.extend({},m,b),this.containers=[],this.options.rootGroup||(this.scrollProxy=a.proxy(this.scroll,this),this.dragProxy=a.proxy(this.drag,this),this.dropProxy=a.proxy(this.drop,this),this.placeholder=a(this.options.placeholder),b.isValidTarget||(this.options.isValidTarget=d))}function j(b,c){this.el=b,this.options=a.extend({},l,c),this.group=i.get(this.options),this.rootGroup=this.options.rootGroup||this.group,this.handle=this.rootGroup.options.handle||this.rootGroup.options.itemSelector;var d=this.rootGroup.options.itemPath;this.target=d?this.el.find(d):this.el,this.target.on(k.start,this.handle,a.proxy(this.dragInit,this)),this.options.drop&&this.group.containers.push(this)}var k,l={drag:!0,drop:!0,exclude:"",nested:!0,vertical:!0},m={afterMove:function(a,b,c){},containerPath:"",containerSelector:"ol, ul",distance:0,delay:0,handle:"",itemPath:"",itemSelector:"li",isValidTarget:function(a,b){return!0},onCancel:function(a,b,c,d){},onDrag:function(a,b,c,d){a.css(b)},onDragStart:function(b,c,d,e){b.css({height:b.height(),width:b.width()}),b.addClass("dragged"),a("body").addClass("dragging")},onDrop:function(b,c,d,e){b.removeClass("dragged").removeAttr("style"),a("body").removeClass("dragging")},onMousedown:function(a,b,c){return c.target.nodeName.match(/^(input|select)$/i)?void 0:(c.preventDefault(),!0)},placeholder:' ',pullPlaceholder:!0,serialize:function(b,c,d){var e=a.extend({},b.data());return d?[c]:(c[0]&&(e.children=c),delete e.subContainers,delete e.sortable,e)},tolerance:0},n={},o=0,p={left:0,top:0,bottom:0,right:0},k={start:"touchstart.sortable mousedown.sortable",drop:"touchend.sortable touchcancel.sortable mouseup.sortable",drag:"touchmove.sortable mousemove.sortable",scroll:"scroll.sortable"},q="subContainers";i.get=function(a){return n[a.group]||(a.group===d&&(a.group=o++),n[a.group]=new i(a)),n[a.group]},i.prototype={dragInit:function(b,c){this.$document=a(c.el[0].ownerDocument),this.item=a(b.target).closest(this.options.itemSelector),this.itemContainer=c,!this.item.is(this.options.exclude)&&this.options.onMousedown(this.item,m.onMousedown,b)&&(this.setPointer(b),this.toggleListeners("on"),this.setupDelayTimer(),this.dragInitDone=!0)},drag:function(a){if(!this.dragging){if(!this.distanceMet(a)||!this.delayMet)return;this.options.onDragStart(this.item,this.itemContainer,m.onDragStart,a),this.item.before(this.placeholder),this.dragging=!0}this.setPointer(a),this.options.onDrag(this.item,g(this.pointer,this.item.offsetParent()),m.onDrag,a);var b=a.pageX||a.originalEvent.pageX,c=a.pageY||a.originalEvent.pageY,d=this.sameResultBox,e=this.options.tolerance;(!d||d.top-e>c||d.bottom+eb||d.right+e=this.options.distance},getPointer:function(a){return{left:a.pageX||a.originalEvent.pageX,top:a.pageY||a.originalEvent.pageY}},setupDelayTimer:function(){var a=this;this.delayMet=!this.options.delay,this.delayMet||(clearTimeout(this._mouseDelayTimer),this._mouseDelayTimer=setTimeout(function(){a.delayMet=!0},this.options.delay))},scroll:function(a){this.clearDimensions(),this.clearOffsetParent()},toggleListeners:function(b){var c=this,d=["drag","drop","scroll"];a.each(d,function(a,d){c.$document[b](k[d],c[d+"Proxy"])})},clearOffsetParent:function(){this.offsetParent=d},clearDimensions:function(){this.traverse(function(a){a._clearDimensions()})},traverse:function(a){a(this);for(var b=this.containers.length;b--;)this.containers[b].traverse(a)},_clearDimensions:function(){this.containerDimensions=d},_destroy:function(){n[this.options.group]=d}},j.prototype={dragInit:function(a){var b=this.rootGroup;!this.disabled&&!b.dragInitDone&&this.options.drag&&this.isValidDrag(a)&&b.dragInit(a,this)},isValidDrag:function(a){return 1==a.which||"touchstart"==a.type&&1==a.originalEvent.touches.length},searchValidTarget:function(a,b){var c=h(this.getItemDimensions(),a,b),d=c.length,e=this.rootGroup,f=!e.options.isValidTarget||e.options.isValidTarget(e.item,this);if(!d&&f)return e.movePlaceholder(this,this.target,"append"),!0;for(;d--;){var g=c[d][0],i=c[d][1];if(!i&&this.hasChildGroup(g)){var j=this.getContainerGroup(g).searchValidTarget(a,b);if(j)return!0}else if(f)return this.movePlaceholder(g,a),!0}},movePlaceholder:function(b,c){var d=a(this.items[b]),e=this.itemDimensions[b],f="after",g=d.outerWidth(),h=d.outerHeight(),i=d.offset(),j={left:i.left,right:i.left+g,top:i.top,bottom:i.top+h};if(this.options.vertical){var k=(e[2]+e[3])/2,l=c.top<=k;l?(f="before",j.bottom-=h/2):j.top+=h/2}else{var m=(e[0]+e[1])/2,n=c.left<=m;n?(f="before",j.right-=g/2):j.left+=g/2}this.hasChildGroup(b)&&(j=p),this.rootGroup.movePlaceholder(this,d,f,j)},getItemDimensions:function(){return this.itemDimensions||(this.items=this.$getChildren(this.el,"item").filter(":not(.placeholder, .dragged)").get(),f(this.items,this.itemDimensions=[],this.options.tolerance)),this.itemDimensions},getItemOffsetParent:function(){var a,b=this.el;return a="relative"===b.css("position")||"absolute"===b.css("position")||"fixed"===b.css("position")?b:b.offsetParent()},hasChildGroup:function(a){return this.options.nested&&this.getContainerGroup(a)},getContainerGroup:function(b){var e=a.data(this.items[b],q);if(e===d){var f=this.$getChildren(this.items[b],"container");if(e=!1,f[0]){var g=a.extend({},this.options,{rootGroup:this.rootGroup,group:o++});e=f[c](g).data(c).group}a.data(this.items[b],q,e)}return e},$getChildren:function(b,c){var d=this.rootGroup.options,e=d[c+"Path"],f=d[c+"Selector"];return b=a(b),e&&(b=b.find(e)),b.children(f)},_serialize:function(b,c){var d=this,e=c?"item":"container",f=this.$getChildren(b,e).not(this.options.exclude).map(function(){return d._serialize(a(this),!c)}).get();return this.rootGroup.options.serialize(b,f,c)},traverse:function(b){a.each(this.items||[],function(c){var d=a.data(this,q);d&&d.traverse(b)}),b(this)},_clearDimensions:function(){this.itemDimensions=d},_destroy:function(){var b=this;this.target.off(k.start,this.handle),this.el.removeData(c),this.options.drop&&(this.group.containers=a.grep(this.group.containers,function(a){return a!=b})),a.each(this.items||[],function(){a.removeData(this,q)})}};var r={enable:function(){this.traverse(function(a){a.disabled=!1})},disable:function(){this.traverse(function(a){a.disabled=!0})},serialize:function(){return this._serialize(this.el,!0)},refresh:function(){this.traverse(function(a){a._clearDimensions()})},destroy:function(){this.traverse(function(a){a._destroy()})}};a.extend(j.prototype,r),a.fn[c]=function(b){var e=Array.prototype.slice.call(arguments,1);return this.map(function(){var f=a(this),g=f.data(c);return g&&r[b]?r[b].apply(g,e)||this:(g||b!==d&&"object"!=typeof b||f.data(c,new j(f,b)),this)})}}(jQuery,window,"sortable"),FrontendCore.define("sortable",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,sInput:null,oTarget:[],delay:500,placeholer:'',oDefault:{oldContainer:null,group:"this",nested:!1},afterMove:function(a,b){var c=$(b.el).closest("ol[data-fc-modules=sortable]")[0];this.oldContainer!=b&&(this.oldContainer&&this.oldContainer.el.removeClass("active"),b.el.addClass("active"),this.oldContainer=b),this.showEmptyList(c),this.hideEmptyList(c),$(c).sortable("refresh")},onDrop:function(a,b,c){var d,e=$(b.el).closest("ol[data-fc-modules=sortable]")[0]?$(b.el).closest("ol[data-fc-modules=sortable]")[0]:$(b.el)[0];void 0!==e&&(d="json"===e.getAttribute("data-fc-output")?this.serialize(e):this.arraylize(e),null!==e.getAttribute("data-fc-input")&&this.fillInput(e.getAttribute("data-fc-input"),d),null!==e.getAttribute("data-fc-url")&&this.sendAjax(e.getAttribute("data-fc-url"),d)),b.el.removeClass("active");var f=$(a);f.removeClass("dragged").removeAttr("style"),$("body").removeClass("dragging"),this.hideEmptyList(e),c(a)},onDrag:function(a,b,c,d){a.offset($(".placeholder").offset())},onDragStart:function(a,b,c,d){$(a.context).closest("ol[data-fc-modules=sortable]")[0];a.addClass("dragged"),$("body").addClass("dragging")},isValidTarget:function(a,b){var c=$(a.context).closest("ol[data-fc-modules=sortable]")[0];if(void 0!==c){var d=$(b.el.context,"#"+c.id).parents("ol").length+1,e=null!==c.getAttribute("data-fc-depth")?c.getAttribute("data-fc-depth"):2;return d>e?!1:void 0!==$(".dragged").find("li")[0]&&d>e-1?!1:!0}return!0},addEmptyList:function(a){void 0!==a&&$("li",a).each(function(){void 0===$("ol",this)[0]&&$(this).append(' ')}),$(a).sortable("refresh")},hideEmptyList:function(a){if(void 0!==a){var b,c=null!==a.getAttribute("data-fc-depth")?a.getAttribute("data-fc-depth"):2;$("li",a).each(function(){b=$(this,"#"+a.id).parents("ol").length,b>=c&&$("ol",this).css({height:"1px",padding:"0px",margin:"0px",background:"transparent",position:"absolute"})})}},showEmptyList:function(a){void 0!==a&&$("li",a).each(function(){void 0===$("ol li",this)[0]&&$("ol",this).removeAttr("style")}),$(a).sortable("refresh")},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="sortable"]'),b=this;FrontendTools.trackModule("JS_Libraries","call","sortable"),FrontendTools.loadCSS(this.sPathCss),$(a).each(function(a){b.autobind(this,a)})},arraylize:function(a){var b=$("li",a).length,c="";return $("li",a).each(function(a){""!==this.id&&(c+=this.id?this.id:this.innerHTML),a!==b-1&&""!==this.id&&(c+=",")}),c},serialize:function(a){var b,c={},d=$(a).attr("id");return $("#"+d+"> li").each(function(a){b=this.id,c[a]={order:a+1,id:null!==this.getAttribute("data-fc-id")?this.getAttribute("data-fc-id"):this.id,name:null!==this.getAttribute("data-fc-name")?this.getAttribute("data-fc-name"):this.id,subtree:{}},$("li",this).each(function(b){c[a].subtree[b]={order:b+1,id:null!==this.getAttribute("data-fc-id")?this.getAttribute("data-fc-id"):this.id,name:null!==this.getAttribute("data-fc-name")?this.getAttribute("data-fc-name"):this.id}})}),c},fillInput:function(a,b){"object"==typeof b&&(b=JSON.stringify(b)),document.getElementById(a).value=b},sendAjax:function(a,b){var c=JSON.stringify(b);$.ajax({url:a,type:"POST",data:{data:c},dataType:"json"})},autobind:function(a,b){var c,d={},e=Math.random(1e3).toString(),f=this;""===a.id&&(a.id="sortable-"+e.replace(".","")),"nested"===a.getAttribute("data-fc-type")&&($(a).addClass("js-sortable"),d.nested=!0),this.addEmptyList(a),this.hideEmptyList(a),d.isValidTarget=this.isValidTarget,d.addEmptyList=this.addEmptyList,d.showEmptyList=this.showEmptyList,d.hideEmptyList=this.hideEmptyList,d.afterMove=this.afterMove,d.onDrop=this.onDrop,d.onDrag=this.onDrag,d.onDragStart=this.onDragStart,null!==a.getAttribute("data-fc-handle")&&(d.handle=a.getAttribute("data-fc-handle")),c=FrontendTools.mergeOptions(f.oDefault,d),f.oTarget[b]=$(a).sortable(c),FrontendTools.removeLoading(a)}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table-responsive.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table-responsive.js
new file mode 100644
index 00000000..c9e0fff5
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table-responsive.js
@@ -0,0 +1 @@
+!function(a){a.fn.stacktable=function(b){var c=this,d={id:"stacktable",hideOriginal:!1},e=a.extend({},d,b);return c.each(function(){var b=a('');void 0!==typeof e.myClass&&b.addClass(e.myClass);var c="";$table=a(this),$topRow=$table.find("tr").first(),$table.find("tr").each(function(b,d){c+="",0===b?c+=' '+a(this).find("th,td").first().html()+" ":a(this).find("td").each(function(b,d){0===b?c+=''+a(this).html()+" ":""!==a(this).html()&&(c+="",c+=$topRow.find("td,th").eq(b).html()?''+$topRow.find("td,th").eq(b).html()+" ":' ',c+=''+a(this).html()+" ",c+=" ")})}),b.append(a(c)),$table.before(b),e.hideOriginal&&$table.hide()})}}(jQuery),FrontendCore.define("table-responsive",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,onStart:function(){var a=FrontendTools.getDataModules("table-responsive"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","table-responsive"),$(a).each(function(a){b.autobind(this,a)})},autobind:function(a){$(a).stacktable({myClass:"table table-mobile"}),FrontendTools.removeLoading(a)},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table.js
index 03b8c023..ab0ad0c9 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/table.js
@@ -1 +1 @@
-!function(a){function b(a,b,c,d){for(var e="",f=0,g=c.length;g>f;f++)e+=d(c[f],b);return""+e+" "}function c(a,b){var c=a.attributeWriter(b),d=""+c+" "}function d(a){return a[this.id]}function e(b,c){return a(b).html()}function f(b,c){this.update=function(){var d="",e=c.table.columns,f=c.writers._rowWriter,g=c.writers._cellWriter;b.$element.trigger("dynatable:beforeUpdate",d);for(var h=0,i=c.dataset.records.length;i>h;h++){var j=c.dataset.records[h],k=f(h,j,e,g);d+=k}if(c.features.recordCount&&a("#dynatable-record-count-"+b.element.id).replaceWith(b.recordsCount.create()),c.features.paginate&&(a("#dynatable-pagination-links-"+b.element.id).replaceWith(b.paginationLinks.create()),c.features.perPageSelect&&a("#dynatable-per-page-"+b.element.id).val(parseInt(c.dataset.perPage))),c.features.sort&&e){b.sortsHeaders.removeAllArrows();for(var h=0,i=e.length;i>h;h++){var l=e[h],m=w.allMatch(c.dataset.sorts,l.sorts,function(a,b){return b in a}),n=c.dataset.sorts[l.sorts[0]];m&&b.$element.find('[data-dynatable-column="'+l.id+'"]').find(".dynatable-sort-header").each(function(){1==n?b.sortsHeaders.appendArrowUp(a(this)):b.sortsHeaders.appendArrowDown(a(this))})}}if(c.inputs.queries||c.features.search){var o=c.inputs.queries||a();c.features.search&&(o=o.add("#dynatable-query-search-"+b.element.id)),o.each(function(){var b=a(this),d=c.dataset.queries[b.data("dynatable-query")];b.val(d||"")})}b.$element.find(c.table.bodyRowSelector).remove(),b.$element.append(d),b.$element.trigger("dynatable:afterUpdate",d)}}function g(b,c){var d=this;this.initOnLoad=function(){return b.$element.is("table")},this.init=function(){c.table.columns=[],this.getFromTable()},this.getFromTable=function(){var e=b.$element.find(c.table.headRowSelector).children("th,td");return e.length?void e.each(function(b){d.add(a(this),b,!0)}):a.error("Couldn't find any columns headers in '"+c.table.headRowSelector+" th,td'. If your header row is different, specify the selector in the table: headRowSelector option.")},this.add=function(d,e,f,g){var h=c.table.columns,i=d.text(),j=d.data("dynatable-column")||w.normalizeText(i,c.table.defaultColumnIdStyle),k=d.data("dynatable-sorts"),l=k?a.map(k.split(","),function(b){return a.trim(b)}):[j];if(j||(this.generate(d),j=d.data("dynatable-column")),h.splice(e,0,{index:e,label:i,id:j,attributeWriter:c.writers[j]||c.writers._attributeWriter,attributeReader:c.readers[j]||c.readers._attributeReader,sorts:l,hidden:"none"===d.css("display"),textAlign:d.css("text-align")}),d.attr("data-dynatable-column",j).addClass("dynatable-head"),c.table.headRowClass&&d.addClass(c.table.headRowClass),!f){var m=e+1,n=b.$element.find(c.table.headRowSelector).children("th:nth-child("+m+"),td:nth-child("+m+")").first(),o=h.slice(e+1,h.length);if(n.length?n.before(d):b.$element.find(c.table.headRowSelector).append(d),b.sortsHeaders.attachOne(d.get()),o.length)for(var p=0,q=o.length;q>p;p++)o[p].index+=1;g||b.dom.update()}return u},this.remove=function(a){{var d=c.table.columns;d.length}if("number"==typeof a){var e=d[a];this.removeFromTable(e.id),this.removeFromArray(a)}else for(var f=d.length-1;f>=0;f--){var e=d[f];e.id===a&&(this.removeFromTable(a),this.removeFromArray(f))}b.dom.update()},this.removeFromTable=function(a){b.$element.find(c.table.headRowSelector).children('[data-dynatable-column="'+a+'"]').first().remove()},this.removeFromArray=function(a){var b,d=c.table.columns;d.splice(a,1),b=d.slice(a,d.length);for(var e=0,f=b.length;f>e;e++)b[e].index-=1},this.generate=function(b){var c=void 0===b?a(" "):b;return this.attachGeneratedAttributes(c)},this.attachGeneratedAttributes=function(a){var d=b.$element.find(c.table.headRowSelector).children("th[data-dynatable-generated]").length;return a.attr("data-dynatable-column","dynatable-generated-"+d).attr("data-dynatable-no-sort","true").attr("data-dynatable-generated",d)}}function h(b,c){this.initOnLoad=function(){return!c.dataset.ajax},this.init=function(){null===c.dataset.records&&(c.dataset.records=this.getFromTable(),c.dataset.queryRecordCount||(c.dataset.queryRecordCount=this.count()),c.dataset.totalRecordCount||(c.dataset.totalRecordCount=c.dataset.queryRecordCount)),c.dataset.originalRecords=a.extend(!0,[],c.dataset.records)},this.updateFromJson=function(a){var b;if("_root"===c.params.records?b=a:c.params.records in a&&(b=a[c.params.records]),c.params.record)for(var d=b.length-1,e=0;d>e;e++)b[e]=b[e][c.params.record];c.params.queryRecordCount in a&&(c.dataset.queryRecordCount=a[c.params.queryRecordCount]),c.params.totalRecordCount in a&&(c.dataset.totalRecordCount=a[c.params.totalRecordCount]),c.dataset.records=b},this.sort=function(){var d=[].sort,e=c.dataset.sorts,f=c.dataset.sortsKeys,g=c.dataset.sortTypes,h=function(c,d){var h;if(a.isEmptyObject(e))h=b.sorts.functions.originalPlacement(c,d);else for(var i=0,j=f.length;j>i;i++){var k=f[i],l=e[k],m=g[k]||b.sorts.guessType(c,d,k);if(h=b.sorts.functions[m](c,d,k,l),0!==h)break}return h};return d.call(c.dataset.records,h)},this.paginate=function(){var a=this.pageBounds(),b=a[0],d=a[1];c.dataset.records=c.dataset.records.slice(b,d)},this.resetOriginal=function(){c.dataset.records=c.dataset.originalRecords||[]},this.pageBounds=function(){var a=c.dataset.page||1,b=(a-1)*c.dataset.perPage,d=Math.min(b+c.dataset.perPage,c.dataset.queryRecordCount);return[b,d]},this.getFromTable=function(){var d=[],e=c.table.columns,f=b.$element.find(c.table.bodyRowSelector);return f.each(function(f){var g={};g["dynatable-original-index"]=f,a(this).find("th,td").each(function(c){void 0===e[c]&&b.domColumns.add(b.domColumns.generate(),e.length,!1,!0);var d=e[c].attributeReader(this,g),f=e[c].id;"string"==typeof d&&d.match(/\s*\<.+\>/)&&(g["dynatable-sortable-text"]||(g["dynatable-sortable-text"]={}),g["dynatable-sortable-text"][f]=a.trim(a("
").html(d).text())),g[f]=d}),"function"==typeof c.readers._rowReader&&c.readers._rowReader(f,this,g),d.push(g)}),d},this.count=function(){return c.dataset.records.length}}function i(b,c){this.initOnLoad=function(){return c.features.recordCount},this.init=function(){this.attach()},this.create=function(){var d=b.records.count(),e=c.dataset.queryRecordCount,f=c.dataset.totalRecordCount,g=c.inputs.recordCountText,h=c.params.records;if(e>d&&c.features.paginate){var i=b.records.pageBounds();g+=""+(i[0]+1)+" to "+i[1]+" of "}else d===e&&c.features.paginate&&(g+=d+" of ");return g+=e+" "+h,f>e&&(g+=" (filtered from "+f+" total records)"),a(" ",{id:"dynatable-record-count-"+b.element.id,"class":"dynatable-record-count",html:g})},this.attach=function(){var d=c.inputs.recordCountTarget?a(c.inputs.recordCountTarget):b.$element;d[c.inputs.recordCountPlacement](this.create())}}function j(b,c){this.init=function(){this.attach()},this.create=function(){var d=a("
",{html:""+c.inputs.processingText+" ",id:"dynatable-processing-"+b.element.id,"class":"dynatable-processing",style:"position: absolute; display: none;"});return d},this.position=function(){var c=a("#dynatable-processing-"+b.element.id),d=c.children("span"),e=d.outerHeight(),f=d.outerWidth(),g=b.$element,h=g.offset(),i=g.outerHeight(),j=g.outerWidth();return c.offset({left:h.left,top:h.top}).width(j).height(i),d.offset({left:h.left+(j-f)/2,top:h.top+(i-e)/2}),c},this.attach=function(){b.$element.before(this.create())},this.show=function(){a("#dynatable-processing-"+b.element.id).show(),this.position()},this.hide=function(){a("#dynatable-processing-"+b.element.id).hide()}}function k(b,c){this.initOnLoad=function(){return c.features.pushState&&history.pushState},this.init=function(){window.onpopstate=function(a){a.state&&a.state.dynatable&&b.state.pop(a)}},this.push=function(d){var e,f,g,h,i,j,k=window.location.search,l=!(window.history.state&&window.history.state.dynatable),m=l?"replaceState":"pushState";k&&/^\?/.test(k)&&(k=k.substring(1)),a.extend(e,d),g=w.refreshQueryString(k,d,c),g&&(g="?"+g),h=window.location.hash,f=window.location.pathname,b.$element.trigger("dynatable:push",d),j={dynatable:{dataset:c.dataset}},l||(j.dynatable.scrollTop=a(window).scrollTop()),i=JSON.stringify(j),j.dynatable.dataset.perPageOptions=a.makeArray(j.dynatable.dataset.perPageOptions);try{window.history[m](j,"Dynatable state",f+g+h)}catch(n){j.dynatable.dataset.records=null,window.history[m](j,"Dynatable state",f+g+h)}},this.pop=function(d){var e=d.state.dynatable;c.dataset=e.dataset,e.scrollTop&&a(window).scrollTop(e.scrollTop),e.dataset.records?b.dom.update():b.process(!0)}}function l(b,c){this.initOnLoad=function(){return c.features.sort},this.init=function(){var a=window.location.search.match(new RegExp(c.params.sorts+"[^&=]*=[^&]*","g"));c.dataset.sorts=a?w.deserialize(a)[c.params.sorts]:{},c.dataset.sortsKeys=a?w.keysFromObject(c.dataset.sorts):[]},this.add=function(b,d){var e=c.dataset.sortsKeys,f=a.inArray(b,e);return c.dataset.sorts[b]=d,-1===f&&e.push(b),u},this.remove=function(b){var d=c.dataset.sortsKeys,e=a.inArray(b,d);return delete c.dataset.sorts[b],-1!==e&&d.splice(e,1),u},this.clear=function(){c.dataset.sorts={},c.dataset.sortsKeys.length=0},this.guessType=function(a,b,c){var d={string:"string",number:"number","boolean":"number",object:"number"},e=a[c]?typeof a[c]:typeof b[c],f=d[e]||"number";return f},this.functions={number:function(a,b,c,d){return a[c]===b[c]?0:d>0?a[c]-b[c]:b[c]-a[c]},string:function(a,b,c,d){var e,f=a["dynatable-sortable-text"]&&a["dynatable-sortable-text"][c]?a["dynatable-sortable-text"][c]:a[c],g=b["dynatable-sortable-text"]&&b["dynatable-sortable-text"][c]?b["dynatable-sortable-text"][c]:b[c];return f=f.toLowerCase(),g=g.toLowerCase(),e=f===g?0:d>0?f>g:g>f,e===!1?-1:e-0},originalPlacement:function(a,b){return a["dynatable-original-index"]-b["dynatable-original-index"]}}}function m(b,c){var d=this;this.initOnLoad=function(){return c.features.sort},this.init=function(){this.attach()},this.create=function(e){var f=a(e),g=a(" ",{"class":"dynatable-sort-header",href:"#",html:f.html()}),h=f.data("dynatable-column"),i=w.findObjectInArray(c.table.columns,{id:h});return g.bind("click",function(a){d.toggleSort(a,g,i),b.process(),a.preventDefault()}),this.sortedByColumn(g,i)&&(1==this.sortedByColumnValue(i)?this.appendArrowUp(g):this.appendArrowDown(g)),g},this.removeAll=function(){b.$element.find(c.table.headRowSelector).children("th,td").each(function(){d.removeAllArrows(),d.removeOne(this)})},this.removeOne=function(b){var c=a(b),d=c.find(".dynatable-sort-header");if(d.length){var e=d.html();d.remove(),c.html(c.html()+e)}},this.attach=function(){b.$element.find(c.table.headRowSelector).children("th,td").each(function(){d.attachOne(this)})},this.attachOne=function(b){var c=a(b);c.data("dynatable-no-sort")||c.html(this.create(b))},this.appendArrowUp=function(a){this.removeArrow(a),a.append(" ▲ ")},this.appendArrowDown=function(a){this.removeArrow(a),a.append(" ▼ ")},this.removeArrow=function(a){a.find(".dynatable-arrow").remove()},this.removeAllArrows=function(){b.$element.find(".dynatable-arrow").remove()},this.toggleSort=function(a,d,e){var f=this.sortedByColumn(d,e),g=this.sortedByColumnValue(e);if(c.inputs.multisort&&w.anyMatch(a,c.inputs.multisort,function(b,c){return a[c]})||(this.removeAllArrows(),b.sorts.clear()),f)if(1==g){for(var h=0,i=e.sorts.length;i>h;h++)b.sorts.add(e.sorts[h],-1);this.appendArrowDown(d)}else{for(var h=0,i=e.sorts.length;i>h;h++)b.sorts.remove(e.sorts[h]);this.removeArrow(d)}else{for(var h=0,i=e.sorts.length;i>h;h++)b.sorts.add(e.sorts[h],1);this.appendArrowUp(d)}},this.sortedByColumn=function(a,b){return w.allMatch(c.dataset.sorts,b.sorts,function(a,b){return b in a})},this.sortedByColumnValue=function(a){return c.dataset.sorts[a.sorts[0]]}}function n(b,c){var d=this;this.initOnLoad=function(){return c.inputs.queries||c.features.search},this.init=function(){var a=window.location.search.match(new RegExp(c.params.queries+"[^&=]*=[^&]*","g"));c.dataset.queries=a?w.deserialize(a)[c.params.queries]:{},""===c.dataset.queries&&(c.dataset.queries={}),c.inputs.queries&&this.setupInputs()},this.add=function(a,b){return c.features.paginate&&(c.dataset.page=1),c.dataset.queries[a]=b,u},this.remove=function(a){return delete c.dataset.queries[a],u},this.run=function(){for(query in c.dataset.queries)if(c.dataset.queries.hasOwnProperty(query)){var e=c.dataset.queries[query];if(void 0===d.functions[query]){var f=w.findObjectInArray(c.table.columns,{id:query});if(!f){a.error("Query named '"+query+"' called, but not defined in queries.functions");continue}d.functions[query]=function(a,b){return a[query]==b}}c.dataset.records=a.map(c.dataset.records,function(a){return d.functions[query](a,e)?a:null})}c.dataset.queryRecordCount=b.records.count()},this.runSearch=function(d){var e=a.extend({},c.dataset.queries);d?this.add("search",d):this.remove("search"),w.objectsEqual(c.dataset.queries,e)||b.process()},this.setupInputs=function(){c.inputs.queries.each(function(){var e=a(this),f=e.data("dynatable-query-event")||c.inputs.queryEvent,g=e.data("dynatable-query")||e.attr("name")||this.id,h=function(e){var f=a(this).val();return""===f&&(f=void 0),f===c.dataset.queries[g]?!1:(f?d.add(g,f):d.remove(g),b.process(),void e.preventDefault())};e.attr("data-dynatable-query",g).bind(f,h).bind("keypress",function(a){13==a.which&&h.call(this,a)}),c.dataset.queries[g]&&e.val(decodeURIComponent(c.dataset.queries[g]))})},this.functions={search:function(a,b){var c=!1;for(attr in a)if(a.hasOwnProperty(attr)){var d=a[attr];if("string"==typeof d&&-1!==d.toLowerCase().indexOf(b.toLowerCase())){c=!0;break}}else;return c}}}function o(b,c){this.initOnLoad=function(){return c.features.search},this.init=function(){this.attach()},this.create=function(){var d=a(" ",{type:"search",id:"dynatable-query-search-"+b.element.id,"data-dynatable-query":"search",value:c.dataset.queries.search}),e=a(" ",{id:"dynatable-search-"+b.element.id,"class":"dynatable-search",text:"Search: "}).append(d);return d.bind(c.inputs.queryEvent,function(){b.queries.runSearch(a(this).val())}).bind("keypress",function(c){13==c.which&&(b.queries.runSearch(a(this).val()),c.preventDefault())}),e},this.attach=function(){var d=c.inputs.searchTarget?a(c.inputs.searchTarget):b.$element;d[c.inputs.searchPlacement](this.create())}}function p(a,b){this.initOnLoad=function(){return b.features.paginate},this.init=function(){var a=window.location.search.match(new RegExp(b.params.page+"=([^&]*)"));this.set(a&&b.features.pushState?a[1]:1)},this.set=function(a){b.dataset.page=parseInt(a,10)}}function q(b,c){var d=this;this.initOnLoad=function(){return c.features.paginate},this.init=function(){var a=window.location.search.match(new RegExp(c.params.perPage+"=([^&]*)"));a&&c.features.pushState?this.set(a[1],!0):this.set(c.dataset.perPageDefault,!0),c.features.perPageSelect&&this.attach()},this.create=function(){for(var e=a("",{id:"dynatable-per-page-"+b.element.id,"class":"dynatable-per-page-select"}),f=0,g=c.dataset.perPageOptions.length;g>f;f++){var h=c.dataset.perPageOptions[f],i=c.dataset.perPage==h?'selected="selected"':"";e.append('"+h+" ")}return e.bind("change",function(c){d.set(a(this).val()),b.process()}),a(" ",{"class":"dynatable-per-page"}).append(""+c.inputs.perPageText+" ").append(e)},this.attach=function(){var d=c.inputs.perPageTarget?a(c.inputs.perPageTarget):b.$element;d[c.inputs.perPagePlacement](this.create())},this.set=function(a,d){d||b.paginationPage.set(1),c.dataset.perPage=parseInt(a)}}function r(b,c){this.initOnLoad=function(){return c.features.paginate},this.init=function(){this.attach()},this.create=function(){var d='";var r="#dynatable-pagination-links-"+b.element.id+" a."+e+":not(."+f+",."+g+")";return a(document).undelegate(r,"click.dynatable"),a(document).delegate(r,"click.dynatable",function(d){$this=a(this),$this.closest(c.inputs.paginationClass).find("."+f).removeClass(f),$this.addClass(f),b.paginationPage.set($this.data("dynatable-page")),b.process(),d.preventDefault()}),d},this.buildLink=function(a,b,c,d,e){var f="'+b+" ",g+=">"+f+" "},this.attach=function(){var d=c.inputs.paginationLinkTarget?a(c.inputs.paginationLinkTarget):b.$element;d[c.inputs.paginationLinkPlacement](b.paginationLinks.create())}}var s,t,u,v,w,x,y,b,c,d,e,z={dom:f,domColumns:g,records:h,recordsCount:i,processingIndicator:j,state:k,sorts:l,sortsHeaders:m,queries:n,inputsSearch:o,paginationPage:p,paginationPerPage:q,paginationLinks:r};s={features:{paginate:!0,sort:!0,pushState:!0,search:!0,recordCount:!0,perPageSelect:!0},table:{defaultColumnIdStyle:"camelCase",columns:null,headRowSelector:"thead tr",bodyRowSelector:"tbody tr",headRowClass:null},inputs:{queries:null,sorts:null,multisort:["ctrlKey","shiftKey","metaKey"],page:null,queryEvent:"blur change",recordCountTarget:null,recordCountPlacement:"after",paginationLinkTarget:null,paginationLinkPlacement:"after",paginationClass:"dynatable-pagination-links",paginationLinkClass:"dynatable-page-link",paginationPrevClass:"dynatable-page-prev",paginationNextClass:"dynatable-page-next",paginationActiveClass:"dynatable-active-page",paginationDisabledClass:"dynatable-disabled-page",paginationPrev:"Previous",paginationNext:"Next",paginationGap:[1,2,2,1],searchTarget:null,searchPlacement:"before",perPageTarget:null,perPagePlacement:"before",perPageText:"Show: ",recordCountText:"Showing ",processingText:"Processing..."},dataset:{ajax:!1,ajaxUrl:null,ajaxCache:null,ajaxOnLoad:!1,ajaxMethod:"GET",ajaxDataType:"json",totalRecordCount:null,queries:{},queryRecordCount:null,page:null,perPageDefault:10,perPageOptions:[10,20,50,100],sorts:{},sortsKeys:null,sortTypes:{},records:null},writers:{_rowWriter:b,_cellWriter:c,_attributeWriter:d},readers:{_rowReader:null,_attributeReader:e},params:{dynatable:"dynatable",queries:"queries",sorts:"sorts",page:"page",perPage:"perPage",offset:"offset",records:"records",record:null,queryRecordCount:"queryRecordCount",totalRecordCount:"totalRecordCount"}},u={init:function(b,c){return this.settings=t(c),this.element=b,this.$element=a(b),x.call(this),this},process:function(a){y.call(this,a)}},t=function(b){var c=a.extend(!0,{},s,b);return b&&(b.inputs&&(b.inputs.multisort&&(c.inputs.multisort=b.inputs.multisort),b.inputs.paginationGap&&(c.inputs.paginationGap=b.inputs.paginationGap)),b.dataset&&b.dataset.perPageOptions&&(c.dataset.perPageOptions=b.dataset.perPageOptions)),c},x=function(){this.$element.trigger("dynatable:preinit",this);for(model in z)if(z.hasOwnProperty(model)){var a=this[model]=new z[model](this,this.settings);a.initOnLoad()&&a.init()}this.$element.trigger("dynatable:init",this),(!this.settings.dataset.ajax||this.settings.dataset.ajax&&this.settings.dataset.ajaxOnLoad||this.settings.features.paginate)&&this.process()},y=function(b){var c={};if(this.$element.trigger("dynatable:beforeProcess",c),a.isEmptyObject(this.settings.dataset.queries)||(c[this.settings.params.queries]=this.settings.dataset.queries),this.processingIndicator.show(),this.settings.features.sort&&!a.isEmptyObject(this.settings.dataset.sorts)&&(c[this.settings.params.sorts]=this.settings.dataset.sorts),this.settings.features.paginate&&this.settings.dataset.page){var d=this.settings.dataset.page,e=this.settings.dataset.perPage;c[this.settings.params.page]=d,c[this.settings.params.perPage]=e,c[this.settings.params.offset]=(d-1)*e}if(this.settings.dataset.ajaxData&&a.extend(c,this.settings.dataset.ajaxData),this.settings.dataset.ajax){var f=this,g={type:f.settings.dataset.ajaxMethod,dataType:f.settings.dataset.ajaxDataType,data:c,error:function(a,b){},success:function(a){f.$element.trigger("dynatable:ajax:success",a),f.records.updateFromJson(a),f.dom.update(),!b&&f.state.initOnLoad()&&f.state.push(c)},complete:function(){f.processingIndicator.hide()}};this.settings.dataset.ajaxUrl?g.url=this.settings.dataset.ajaxUrl:g.url=w.refreshQueryString(window.location.href,{},this.settings),null!==this.settings.dataset.ajaxCache&&(g.cache=this.settings.dataset.ajaxCache),a.ajax(g)}else this.records.resetOriginal(),this.queries.run(),this.settings.features.sort&&this.records.sort(),this.settings.features.paginate&&this.records.paginate(),this.dom.update(),this.processingIndicator.hide(),!b&&this.state.initOnLoad()&&this.state.push(c);this.$element.trigger("dynatable:afterProcess",c)},v={initOnLoad:function(){return!0},init:function(){}};for(model in z)if(z.hasOwnProperty(model)){var A=z[model];A.prototype=v}w=u.utility={normalizeText:function(a,b){return a=this.textTransform[b](a)},textTransform:{trimDash:function(a){return a.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"-")},camelCase:function(a){return a=this.trimDash(a),a.replace(/(\-[a-zA-Z])/g,function(a){return a.toUpperCase().replace("-","")}).replace(/([A-Z])([A-Z]+)/g,function(a,b,c){return b+c.toLowerCase()}).replace(/^[A-Z]/,function(a){return a.toLowerCase()})},dashed:function(a){return a=this.trimDash(a),this.lowercase(a)},underscore:function(a){return a=this.trimDash(a),this.lowercase(a.replace(/(-)/g,"_"))},lowercase:function(a){return a.replace(/([A-Z])/g,function(a){return a.toLowerCase()})}},deserialize:function(b){if(!b)return{};"object"==typeof b&&(b=b.join("&"));for(var c={},d=b.split("&"),e=0;ek;k++){var m=j[k];c[h][m]?("undefined"==typeof e[h]&&(e[h]={}),e[h][m]=c[h][m]):delete e[h][m]}continue}c[h]?e[h]=c[h]:delete e[h]}return decodeURI(a.param(e))},keysFromObject:function(a){var b=[];for(var c in a)b.push(c);return b},findObjectInArray:function(a,b){for(var c,d=this,e=0,f=a.length;f>e;e++){var g=a[e];if(d.allMatch(g,b,function(a,b,c){return a[b]==c})){c=g;break}}return c},allMatch:function(b,c,d){var e=!0,f=a.isArray(c);return a.each(c,function(a,c){var g=f?d(b,c):d(b,a,c);return g?void 0:e=!1}),e},anyMatch:function(b,c,d){var e=!1,f=a.isArray(c);return a.each(c,function(a,c){var g=f?d(b,c):d(b,a,c);return g?(e=!0,!1):void 0}),e},objectsEqual:function(a,b){for(attr in a)if(a.hasOwnProperty(attr)&&(!b.hasOwnProperty(attr)||a[attr]!==b[attr]))return!1;for(attr in b)if(b.hasOwnProperty(attr)&&!a.hasOwnProperty(attr))return!1;return!0},randomHash:function(){return(65536*(1+Math.random())|0).toString(16).substring(1)}},"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),a.dynatableSetup=function(a){s=t(a)},a.dynatable=function(b){a.fn.dynatable=function(c){return this.each(function(){a.data(this,"dynatable")||a.data(this,"dynatable",Object.create(b).init(this,c))})}},a.dynatable(u)}(jQuery),FrontendCore.define("table",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oTable:[],oDefault:{features:{paginate:!0,sort:!0,pushState:!0,search:!0,recordCount:!0,perPageSelect:!0},inputs:{queries:null,sorts:null,multisort:["ctrlKey","shiftKey","metaKey"],page:null,queryEvent:"blur change",recordCountTarget:null,recordCountPlacement:"after",paginationLinkTarget:null,paginationLinkPlacement:"after",paginationClass:"pagination dynatable-pagination",paginationLinkClass:"dynatable-page-link",paginationPrevClass:"dynatable-page-prev",paginationNextClass:"dynatable-page-next",paginationActiveClass:"dynatable-active-page",paginationDisabledClass:"dynatable-disabled-page",paginationPrev:' ',paginationNext:' ',paginationGap:[1,2,2,1],searchTarget:null,searchPlacement:"before",perPageTarget:null,perPagePlacement:"before",perPageText:' ',recordCountText:"",processingText:"Processing..."},params:{dynatable:"table",queries:"queries",sorts:"sorts",page:"",perPage:"perPage",offset:"offset",records:"",record:null,queryRecordCount:"queryRecordCount",totalRecordCount:"totalRecordCount"}},onStart:function(){var a=FrontendTools.getDataModules("table"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","table"),$(a).each(function(a){b.autobind(this,a)})},autobind:function(a,b){var c=this,d=$(a),e="";"false"===a.getAttribute("data-fc-pagination")&&(c.oDefault.features.paginate=!1,c.oDefault.features.perPageSelect=!1,c.oDefault.features.recordCount=!1),"false"===a.getAttribute("data-fc-sort")&&(c.oDefault.features.sort=!1),"false"===a.getAttribute("data-fc-search")&&(c.oDefault.features.search=!1),(c.oDefault.features.search||c.oDefault.features.paginate)&&(e="table-dynamic"),d.addClass(e),c.oTable[b]=d.dynatable(c.oDefault),$("input",".dynatable-search").keyup(function(){$(this).blur().focus()})},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
+!function(a){function b(a,b,c,d){for(var e="",f=0,g=c.length;g>f;f++)e+=d(c[f],b);return""+e+" "}function c(a,b){var c=a.attributeWriter(b),d=""+c+" "}function d(a){return a[this.id]}function e(b,c){return a(b).html()}function f(b,c){this.update=function(){var d="",e=c.table.columns,f=c.writers._rowWriter,g=c.writers._cellWriter;b.$element.trigger("dynatable:beforeUpdate",d);for(var h=0,i=c.dataset.records.length;i>h;h++){var j=c.dataset.records[h],k=f(h,j,e,g);d+=k}if(c.features.recordCount&&a("#dynatable-record-count-"+b.element.id).replaceWith(b.recordsCount.create()),c.features.paginate&&(a("#dynatable-pagination-links-"+b.element.id).replaceWith(b.paginationLinks.create()),c.features.perPageSelect&&a("#dynatable-per-page-"+b.element.id).val(parseInt(c.dataset.perPage))),c.features.sort&&e){b.sortsHeaders.removeAllArrows();for(var h=0,i=e.length;i>h;h++){var l=e[h],m=w.allMatch(c.dataset.sorts,l.sorts,function(a,b){return b in a}),n=c.dataset.sorts[l.sorts[0]];m&&b.$element.find('[data-dynatable-column="'+l.id+'"]').find(".dynatable-sort-header").each(function(){1==n?b.sortsHeaders.appendArrowUp(a(this)):b.sortsHeaders.appendArrowDown(a(this))})}}if(c.inputs.queries||c.features.search){var o=c.inputs.queries||a();c.features.search&&(o=o.add("#dynatable-query-search-"+b.element.id)),o.each(function(){var b=a(this),d=c.dataset.queries[b.data("dynatable-query")];b.val(d||"")})}b.$element.find(c.table.bodyRowSelector).remove(),b.$element.append(d),b.$element.trigger("dynatable:afterUpdate",d)}}function g(b,c){var d=this;this.initOnLoad=function(){return b.$element.is("table")},this.init=function(){c.table.columns=[],this.getFromTable()},this.getFromTable=function(){var e=b.$element.find(c.table.headRowSelector).children("th,td");return e.length?void e.each(function(b){d.add(a(this),b,!0)}):a.error("Couldn't find any columns headers in '"+c.table.headRowSelector+" th,td'. If your header row is different, specify the selector in the table: headRowSelector option.")},this.add=function(d,e,f,g){var h=c.table.columns,i=d.text(),j=d.data("dynatable-column")||w.normalizeText(i,c.table.defaultColumnIdStyle),k=d.data("dynatable-sorts"),l=k?a.map(k.split(","),function(b){return a.trim(b)}):[j];if(j||(this.generate(d),j=d.data("dynatable-column")),h.splice(e,0,{index:e,label:i,id:j,attributeWriter:c.writers[j]||c.writers._attributeWriter,attributeReader:c.readers[j]||c.readers._attributeReader,sorts:l,hidden:"none"===d.css("display"),textAlign:d.css("text-align")}),d.attr("data-dynatable-column",j).addClass("dynatable-head"),c.table.headRowClass&&d.addClass(c.table.headRowClass),!f){var m=e+1,n=b.$element.find(c.table.headRowSelector).children("th:nth-child("+m+"),td:nth-child("+m+")").first(),o=h.slice(e+1,h.length);if(n.length?n.before(d):b.$element.find(c.table.headRowSelector).append(d),b.sortsHeaders.attachOne(d.get()),o.length)for(var p=0,q=o.length;q>p;p++)o[p].index+=1;g||b.dom.update()}return u},this.remove=function(a){{var d=c.table.columns;d.length}if("number"==typeof a){var e=d[a];this.removeFromTable(e.id),this.removeFromArray(a)}else for(var f=d.length-1;f>=0;f--){var e=d[f];e.id===a&&(this.removeFromTable(a),this.removeFromArray(f))}b.dom.update()},this.removeFromTable=function(a){b.$element.find(c.table.headRowSelector).children('[data-dynatable-column="'+a+'"]').first().remove()},this.removeFromArray=function(a){var b,d=c.table.columns;d.splice(a,1),b=d.slice(a,d.length);for(var e=0,f=b.length;f>e;e++)b[e].index-=1},this.generate=function(b){var c=void 0===b?a(" "):b;return this.attachGeneratedAttributes(c)},this.attachGeneratedAttributes=function(a){var d=b.$element.find(c.table.headRowSelector).children("th[data-dynatable-generated]").length;return a.attr("data-dynatable-column","dynatable-generated-"+d).attr("data-dynatable-no-sort","true").attr("data-dynatable-generated",d)}}function h(b,c){this.initOnLoad=function(){return!c.dataset.ajax},this.init=function(){null===c.dataset.records&&(c.dataset.records=this.getFromTable(),c.dataset.queryRecordCount||(c.dataset.queryRecordCount=this.count()),c.dataset.totalRecordCount||(c.dataset.totalRecordCount=c.dataset.queryRecordCount)),c.dataset.originalRecords=a.extend(!0,[],c.dataset.records)},this.updateFromJson=function(a){var b;if("_root"===c.params.records?b=a:c.params.records in a&&(b=a[c.params.records]),c.params.record)for(var d=b.length-1,e=0;d>e;e++)b[e]=b[e][c.params.record];c.params.queryRecordCount in a&&(c.dataset.queryRecordCount=a[c.params.queryRecordCount]),c.params.totalRecordCount in a&&(c.dataset.totalRecordCount=a[c.params.totalRecordCount]),c.dataset.records=b},this.sort=function(){var d=[].sort,e=c.dataset.sorts,f=c.dataset.sortsKeys,g=c.dataset.sortTypes,h=function(c,d){var h;if(a.isEmptyObject(e))h=b.sorts.functions.originalPlacement(c,d);else for(var i=0,j=f.length;j>i;i++){var k=f[i],l=e[k],m=g[k]||b.sorts.guessType(c,d,k);if(h=b.sorts.functions[m](c,d,k,l),0!==h)break}return h};return d.call(c.dataset.records,h)},this.paginate=function(){var a=this.pageBounds(),b=a[0],d=a[1];c.dataset.records=c.dataset.records.slice(b,d)},this.resetOriginal=function(){c.dataset.records=c.dataset.originalRecords||[]},this.pageBounds=function(){var a=c.dataset.page||1,b=(a-1)*c.dataset.perPage,d=Math.min(b+c.dataset.perPage,c.dataset.queryRecordCount);return[b,d]},this.getFromTable=function(){var d=[],e=c.table.columns,f=b.$element.find(c.table.bodyRowSelector);return f.each(function(f){var g={};g["dynatable-original-index"]=f,a(this).find("th,td").each(function(c){void 0===e[c]&&b.domColumns.add(b.domColumns.generate(),e.length,!1,!0);var d=e[c].attributeReader(this,g),f=e[c].id;"string"==typeof d&&d.match(/\s*\<.+\>/)&&(g["dynatable-sortable-text"]||(g["dynatable-sortable-text"]={}),g["dynatable-sortable-text"][f]=a.trim(a("
").html(d).text())),g[f]=d}),"function"==typeof c.readers._rowReader&&c.readers._rowReader(f,this,g),d.push(g)}),d},this.count=function(){return c.dataset.records.length}}function i(b,c){this.initOnLoad=function(){return c.features.recordCount},this.init=function(){this.attach()},this.create=function(){var d=b.records.count(),e=c.dataset.queryRecordCount,f=c.dataset.totalRecordCount,g=c.inputs.recordCountText,h=c.params.records;if(e>d&&c.features.paginate){var i=b.records.pageBounds();g+=""+(i[0]+1)+" to "+i[1]+" of "}else d===e&&c.features.paginate&&(g+=d+" of ");return g+=e+" "+h,f>e&&(g+=" (filtered from "+f+" total records)"),a(" ",{id:"dynatable-record-count-"+b.element.id,"class":"dynatable-record-count",html:g})},this.attach=function(){var d=c.inputs.recordCountTarget?a(c.inputs.recordCountTarget):b.$element;d[c.inputs.recordCountPlacement](this.create())}}function j(b,c){this.init=function(){this.attach()},this.create=function(){var d=a("
",{html:""+c.inputs.processingText+" ",id:"dynatable-processing-"+b.element.id,"class":"dynatable-processing",style:"position: absolute; display: none;"});return d},this.position=function(){var c=a("#dynatable-processing-"+b.element.id),d=c.children("span"),e=d.outerHeight(),f=d.outerWidth(),g=b.$element,h=g.offset(),i=g.outerHeight(),j=g.outerWidth();return c.offset({left:h.left,top:h.top}).width(j).height(i),d.offset({left:h.left+(j-f)/2,top:h.top+(i-e)/2}),c},this.attach=function(){b.$element.before(this.create())},this.show=function(){a("#dynatable-processing-"+b.element.id).show(),this.position()},this.hide=function(){a("#dynatable-processing-"+b.element.id).hide()}}function k(b,c){this.initOnLoad=function(){return c.features.pushState&&history.pushState},this.init=function(){window.onpopstate=function(a){a.state&&a.state.dynatable&&b.state.pop(a)}},this.push=function(d){var e,f,g,h,i,j,k=window.location.search,l=!(window.history.state&&window.history.state.dynatable),m=l?"replaceState":"pushState";k&&/^\?/.test(k)&&(k=k.substring(1)),a.extend(e,d),g=w.refreshQueryString(k,d,c),g&&(g="?"+g),h=window.location.hash,f=window.location.pathname,b.$element.trigger("dynatable:push",d),j={dynatable:{dataset:c.dataset}},l||(j.dynatable.scrollTop=a(window).scrollTop()),i=JSON.stringify(j),j.dynatable.dataset.perPageOptions=a.makeArray(j.dynatable.dataset.perPageOptions);try{window.history[m](j,"Dynatable state",f+g+h)}catch(n){j.dynatable.dataset.records=null,window.history[m](j,"Dynatable state",f+g+h)}},this.pop=function(d){var e=d.state.dynatable;c.dataset=e.dataset,e.scrollTop&&a(window).scrollTop(e.scrollTop),e.dataset.records?b.dom.update():b.process(!0)}}function l(b,c){this.initOnLoad=function(){return c.features.sort},this.init=function(){var a=window.location.search.match(new RegExp(c.params.sorts+"[^&=]*=[^&]*","g"));c.dataset.sorts=a?w.deserialize(a)[c.params.sorts]:{},c.dataset.sortsKeys=a?w.keysFromObject(c.dataset.sorts):[]},this.add=function(b,d){var e=c.dataset.sortsKeys,f=a.inArray(b,e);return c.dataset.sorts[b]=d,-1===f&&e.push(b),u},this.remove=function(b){var d=c.dataset.sortsKeys,e=a.inArray(b,d);return delete c.dataset.sorts[b],-1!==e&&d.splice(e,1),u},this.clear=function(){c.dataset.sorts={},c.dataset.sortsKeys.length=0},this.guessType=function(a,b,c){var d={string:"string",number:"number","boolean":"number",object:"number"},e=a[c]?typeof a[c]:typeof b[c],f=d[e]||"number";return f},this.functions={number:function(a,b,c,d){return a[c]===b[c]?0:d>0?a[c]-b[c]:b[c]-a[c]},string:function(a,b,c,d){var e,f=a["dynatable-sortable-text"]&&a["dynatable-sortable-text"][c]?a["dynatable-sortable-text"][c]:a[c],g=b["dynatable-sortable-text"]&&b["dynatable-sortable-text"][c]?b["dynatable-sortable-text"][c]:b[c];return f=f.toLowerCase(),g=g.toLowerCase(),e=f===g?0:d>0?f>g:g>f,e===!1?-1:e-0},originalPlacement:function(a,b){return a["dynatable-original-index"]-b["dynatable-original-index"]}}}function m(b,c){var d=this;this.initOnLoad=function(){return c.features.sort},this.init=function(){this.attach()},this.create=function(e){var f=a(e),g=a(" ",{"class":"dynatable-sort-header",href:"#",html:f.html()}),h=f.data("dynatable-column"),i=w.findObjectInArray(c.table.columns,{id:h});return g.bind("click",function(a){d.toggleSort(a,g,i),b.process(),a.preventDefault()}),this.sortedByColumn(g,i)&&(1==this.sortedByColumnValue(i)?this.appendArrowUp(g):this.appendArrowDown(g)),g},this.removeAll=function(){b.$element.find(c.table.headRowSelector).children("th,td").each(function(){d.removeAllArrows(),d.removeOne(this)})},this.removeOne=function(b){var c=a(b),d=c.find(".dynatable-sort-header");if(d.length){var e=d.html();d.remove(),c.html(c.html()+e)}},this.attach=function(){b.$element.find(c.table.headRowSelector).children("th,td").each(function(){d.attachOne(this)})},this.attachOne=function(b){var c=a(b);c.data("dynatable-no-sort")||c.html(this.create(b))},this.appendArrowUp=function(a){this.removeArrow(a),a.append(" ▲ ")},this.appendArrowDown=function(a){this.removeArrow(a),a.append(" ▼ ")},this.removeArrow=function(a){a.find(".dynatable-arrow").remove()},this.removeAllArrows=function(){b.$element.find(".dynatable-arrow").remove()},this.toggleSort=function(a,d,e){var f=this.sortedByColumn(d,e),g=this.sortedByColumnValue(e);if(c.inputs.multisort&&w.anyMatch(a,c.inputs.multisort,function(b,c){return a[c]})||(this.removeAllArrows(),b.sorts.clear()),f)if(1==g){for(var h=0,i=e.sorts.length;i>h;h++)b.sorts.add(e.sorts[h],-1);this.appendArrowDown(d)}else{for(var h=0,i=e.sorts.length;i>h;h++)b.sorts.remove(e.sorts[h]);this.removeArrow(d)}else{for(var h=0,i=e.sorts.length;i>h;h++)b.sorts.add(e.sorts[h],1);this.appendArrowUp(d)}},this.sortedByColumn=function(a,b){return w.allMatch(c.dataset.sorts,b.sorts,function(a,b){return b in a})},this.sortedByColumnValue=function(a){return c.dataset.sorts[a.sorts[0]]}}function n(b,c){var d=this;this.initOnLoad=function(){return c.inputs.queries||c.features.search},this.init=function(){var a=window.location.search.match(new RegExp(c.params.queries+"[^&=]*=[^&]*","g"));c.dataset.queries=a?w.deserialize(a)[c.params.queries]:{},""===c.dataset.queries&&(c.dataset.queries={}),c.inputs.queries&&this.setupInputs()},this.add=function(a,b){return c.features.paginate&&(c.dataset.page=1),c.dataset.queries[a]=b,u},this.remove=function(a){return delete c.dataset.queries[a],u},this.run=function(){for(query in c.dataset.queries)if(c.dataset.queries.hasOwnProperty(query)){var e=c.dataset.queries[query];if(void 0===d.functions[query]){var f=w.findObjectInArray(c.table.columns,{id:query});if(!f){a.error("Query named '"+query+"' called, but not defined in queries.functions");continue}d.functions[query]=function(a,b){return a[query]==b}}c.dataset.records=a.map(c.dataset.records,function(a){return d.functions[query](a,e)?a:null})}c.dataset.queryRecordCount=b.records.count()},this.runSearch=function(d){var e=a.extend({},c.dataset.queries);d?this.add("search",d):this.remove("search"),w.objectsEqual(c.dataset.queries,e)||b.process()},this.setupInputs=function(){c.inputs.queries.each(function(){var e=a(this),f=e.data("dynatable-query-event")||c.inputs.queryEvent,g=e.data("dynatable-query")||e.attr("name")||this.id,h=function(e){var f=a(this).val();return""===f&&(f=void 0),f===c.dataset.queries[g]?!1:(f?d.add(g,f):d.remove(g),b.process(),void e.preventDefault())};e.attr("data-dynatable-query",g).bind(f,h).bind("keypress",function(a){13==a.which&&h.call(this,a)}),c.dataset.queries[g]&&e.val(decodeURIComponent(c.dataset.queries[g]))})},this.functions={search:function(a,b){var c=!1;for(attr in a)if(a.hasOwnProperty(attr)){var d=a[attr];if("string"==typeof d&&-1!==d.toLowerCase().indexOf(b.toLowerCase())){c=!0;break}}else;return c}}}function o(b,c){this.initOnLoad=function(){return c.features.search},this.init=function(){this.attach()},this.create=function(){var d=a(" ",{type:"search",id:"dynatable-query-search-"+b.element.id,"data-dynatable-query":"search",value:c.dataset.queries.search}),e=a(" ",{id:"dynatable-search-"+b.element.id,"class":"dynatable-search",text:"Search: "}).append(d);return d.bind(c.inputs.queryEvent,function(){b.queries.runSearch(a(this).val())}).bind("keypress",function(c){13==c.which&&(b.queries.runSearch(a(this).val()),c.preventDefault())}),e},this.attach=function(){var d=c.inputs.searchTarget?a(c.inputs.searchTarget):b.$element;d[c.inputs.searchPlacement](this.create())}}function p(a,b){this.initOnLoad=function(){return b.features.paginate},this.init=function(){var a=window.location.search.match(new RegExp(b.params.page+"=([^&]*)"));this.set(a&&b.features.pushState?a[1]:1)},this.set=function(a){b.dataset.page=parseInt(a,10)}}function q(b,c){var d=this;this.initOnLoad=function(){return c.features.paginate},this.init=function(){var a=window.location.search.match(new RegExp(c.params.perPage+"=([^&]*)"));a&&c.features.pushState?this.set(a[1],!0):this.set(c.dataset.perPageDefault,!0),c.features.perPageSelect&&this.attach()},this.create=function(){for(var e=a("",{id:"dynatable-per-page-"+b.element.id,"class":"dynatable-per-page-select"}),f=0,g=c.dataset.perPageOptions.length;g>f;f++){var h=c.dataset.perPageOptions[f],i=c.dataset.perPage==h?'selected="selected"':"";e.append('"+h+" ")}return e.bind("change",function(c){d.set(a(this).val()),b.process()}),a(" ",{"class":"dynatable-per-page"}).append(""+c.inputs.perPageText+" ").append(e)},this.attach=function(){var d=c.inputs.perPageTarget?a(c.inputs.perPageTarget):b.$element;d[c.inputs.perPagePlacement](this.create())},this.set=function(a,d){d||b.paginationPage.set(1),c.dataset.perPage=parseInt(a)}}function r(b,c){this.initOnLoad=function(){return c.features.paginate},this.init=function(){this.attach()},this.create=function(){var d='";var r="#dynatable-pagination-links-"+b.element.id+" a."+e+":not(."+f+",."+g+")";return a(document).undelegate(r,"click.dynatable"),a(document).delegate(r,"click.dynatable",function(d){$this=a(this),$this.closest(c.inputs.paginationClass).find("."+f).removeClass(f),$this.addClass(f),b.paginationPage.set($this.data("dynatable-page")),b.process(),d.preventDefault()}),d},this.buildLink=function(a,b,c,d,e){var f="'+b+" ",g+=">"+f+""},this.attach=function(){var d=c.inputs.paginationLinkTarget?a(c.inputs.paginationLinkTarget):b.$element;d[c.inputs.paginationLinkPlacement](b.paginationLinks.create())}}var s,t,u,v,w,x,y,b,c,d,e,z={dom:f,domColumns:g,records:h,recordsCount:i,processingIndicator:j,state:k,sorts:l,sortsHeaders:m,queries:n,inputsSearch:o,paginationPage:p,paginationPerPage:q,paginationLinks:r};s={features:{paginate:!0,sort:!0,pushState:!0,search:!0,recordCount:!0,perPageSelect:!0},table:{defaultColumnIdStyle:"camelCase",columns:null,headRowSelector:"thead tr",bodyRowSelector:"tbody tr",headRowClass:null},inputs:{queries:null,sorts:null,multisort:["ctrlKey","shiftKey","metaKey"],page:null,queryEvent:"blur change",recordCountTarget:null,recordCountPlacement:"after",paginationLinkTarget:null,paginationLinkPlacement:"after",paginationClass:"dynatable-pagination-links",paginationLinkClass:"dynatable-page-link",paginationPrevClass:"dynatable-page-prev",paginationNextClass:"dynatable-page-next",paginationActiveClass:"dynatable-active-page",paginationDisabledClass:"dynatable-disabled-page",paginationPrev:"Previous",paginationNext:"Next",paginationGap:[1,2,2,1],searchTarget:null,searchPlacement:"before",perPageTarget:null,perPagePlacement:"before",perPageText:"Show: ",recordCountText:"Showing ",processingText:"Processing..."},dataset:{ajax:!1,ajaxUrl:null,ajaxCache:null,ajaxOnLoad:!1,ajaxMethod:"GET",ajaxDataType:"json",totalRecordCount:null,queries:{},queryRecordCount:null,page:null,perPageDefault:10,perPageOptions:[10,20,50,100],sorts:{},sortsKeys:null,sortTypes:{},records:null},writers:{_rowWriter:b,_cellWriter:c,_attributeWriter:d},readers:{_rowReader:null,_attributeReader:e},params:{dynatable:"dynatable",queries:"queries",sorts:"sorts",page:"page",perPage:"perPage",offset:"offset",records:"records",record:null,queryRecordCount:"queryRecordCount",totalRecordCount:"totalRecordCount"}},u={init:function(b,c){return this.settings=t(c),this.element=b,this.$element=a(b),x.call(this),this},process:function(a){y.call(this,a)}},t=function(b){var c=a.extend(!0,{},s,b);return b&&(b.inputs&&(b.inputs.multisort&&(c.inputs.multisort=b.inputs.multisort),b.inputs.paginationGap&&(c.inputs.paginationGap=b.inputs.paginationGap)),b.dataset&&b.dataset.perPageOptions&&(c.dataset.perPageOptions=b.dataset.perPageOptions)),c},x=function(){this.$element.trigger("dynatable:preinit",this);for(model in z)if(z.hasOwnProperty(model)){var a=this[model]=new z[model](this,this.settings);a.initOnLoad()&&a.init()}this.$element.trigger("dynatable:init",this),(!this.settings.dataset.ajax||this.settings.dataset.ajax&&this.settings.dataset.ajaxOnLoad||this.settings.features.paginate)&&this.process()},y=function(b){var c={};if(this.$element.trigger("dynatable:beforeProcess",c),a.isEmptyObject(this.settings.dataset.queries)||(c[this.settings.params.queries]=this.settings.dataset.queries),this.processingIndicator.show(),this.settings.features.sort&&!a.isEmptyObject(this.settings.dataset.sorts)&&(c[this.settings.params.sorts]=this.settings.dataset.sorts),this.settings.features.paginate&&this.settings.dataset.page){var d=this.settings.dataset.page,e=this.settings.dataset.perPage;c[this.settings.params.page]=d,c[this.settings.params.perPage]=e,c[this.settings.params.offset]=(d-1)*e}if(this.settings.dataset.ajaxData&&a.extend(c,this.settings.dataset.ajaxData),this.settings.dataset.ajax){var f=this,g={type:f.settings.dataset.ajaxMethod,dataType:f.settings.dataset.ajaxDataType,data:c,error:function(a,b){},success:function(a){f.$element.trigger("dynatable:ajax:success",a),f.records.updateFromJson(a),f.dom.update(),!b&&f.state.initOnLoad()&&f.state.push(c)},complete:function(){f.processingIndicator.hide()}};this.settings.dataset.ajaxUrl?g.url=this.settings.dataset.ajaxUrl:g.url=w.refreshQueryString(window.location.href,{},this.settings),null!==this.settings.dataset.ajaxCache&&(g.cache=this.settings.dataset.ajaxCache),a.ajax(g)}else this.records.resetOriginal(),this.queries.run(),this.settings.features.sort&&this.records.sort(),this.settings.features.paginate&&this.records.paginate(),this.dom.update(),this.processingIndicator.hide(),!b&&this.state.initOnLoad()&&this.state.push(c);this.$element.trigger("dynatable:afterProcess",c)},v={initOnLoad:function(){return!0},init:function(){}};for(model in z)if(z.hasOwnProperty(model)){var A=z[model];A.prototype=v}w=u.utility={normalizeText:function(a,b){return a=this.textTransform[b](a)},textTransform:{trimDash:function(a){return a.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"-")},camelCase:function(a){return a=this.trimDash(a),a.replace(/(\-[a-zA-Z])/g,function(a){return a.toUpperCase().replace("-","")}).replace(/([A-Z])([A-Z]+)/g,function(a,b,c){return b+c.toLowerCase()}).replace(/^[A-Z]/,function(a){return a.toLowerCase()})},dashed:function(a){return a=this.trimDash(a),this.lowercase(a)},underscore:function(a){return a=this.trimDash(a),this.lowercase(a.replace(/(-)/g,"_"))},lowercase:function(a){return a.replace(/([A-Z])/g,function(a){return a.toLowerCase()})}},deserialize:function(b){if(!b)return{};"object"==typeof b&&(b=b.join("&"));for(var c={},d=b.split("&"),e=0;ek;k++){var m=j[k];c[h][m]?("undefined"==typeof e[h]&&(e[h]={}),e[h][m]=c[h][m]):delete e[h][m]}continue}c[h]?e[h]=c[h]:delete e[h]}return decodeURI(a.param(e))},keysFromObject:function(a){var b=[];for(var c in a)b.push(c);return b},findObjectInArray:function(a,b){for(var c,d=this,e=0,f=a.length;f>e;e++){var g=a[e];if(d.allMatch(g,b,function(a,b,c){return a[b]==c})){c=g;break}}return c},allMatch:function(b,c,d){var e=!0,f=a.isArray(c);return a.each(c,function(a,c){var g=f?d(b,c):d(b,a,c);return g?void 0:e=!1}),e},anyMatch:function(b,c,d){var e=!1,f=a.isArray(c);return a.each(c,function(a,c){var g=f?d(b,c):d(b,a,c);return g?(e=!0,!1):void 0}),e},objectsEqual:function(a,b){for(attr in a)if(a.hasOwnProperty(attr)&&(!b.hasOwnProperty(attr)||a[attr]!==b[attr]))return!1;for(attr in b)if(b.hasOwnProperty(attr)&&!a.hasOwnProperty(attr))return!1;return!0},randomHash:function(){return(65536*(1+Math.random())|0).toString(16).substring(1)}},"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),a.dynatableSetup=function(a){s=t(a)},a.dynatable=function(b){a.fn.dynatable=function(c){return this.each(function(){a.data(this,"dynatable")||a.data(this,"dynatable",Object.create(b).init(this,c))})}},a.dynatable(u)}(jQuery),FrontendCore.define("table",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oTable:[],oDefault:{features:{paginate:!0,sort:!0,pushState:!0,search:!0,recordCount:!0,perPageSelect:!0},inputs:{queries:null,sorts:null,multisort:["ctrlKey","shiftKey","metaKey"],page:null,queryEvent:"blur change",recordCountTarget:null,recordCountPlacement:"after",paginationLinkTarget:null,paginationLinkPlacement:"after",paginationClass:"pagination dynatable-pagination",paginationLinkClass:"dynatable-page-link",paginationPrevClass:"dynatable-page-prev",paginationNextClass:"dynatable-page-next",paginationActiveClass:"dynatable-active-page",paginationDisabledClass:"dynatable-disabled-page",paginationPrev:' ',paginationNext:' ',paginationGap:[1,2,2,1],searchTarget:null,searchPlacement:"before",perPageTarget:null,perPagePlacement:"before",perPageText:' ',recordCountText:"",processingText:"Processing..."},params:{dynatable:"table",queries:"queries",sorts:"sorts",page:"",perPage:"perPage",offset:"offset",records:"",record:null,queryRecordCount:"queryRecordCount",totalRecordCount:"totalRecordCount"}},onStart:function(){var a=FrontendTools.getDataModules("table"),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","table"),$(a).each(function(a){b.autobind(this,a)})},autobind:function(a,b){var c=this,d=$(a),e="";"false"===a.getAttribute("data-fc-pagination")&&(c.oDefault.features.paginate=!1,c.oDefault.features.perPageSelect=!1,c.oDefault.features.recordCount=!1),"false"===a.getAttribute("data-fc-sort")&&(c.oDefault.features.sort=!1),"false"===a.getAttribute("data-fc-search")&&(c.oDefault.features.search=!1),(c.oDefault.features.search||c.oDefault.features.paginate)&&(e="table-dynamic"),d.addClass(e),FrontendTools.removeLoading(a),c.oTable[b]=d.dynatable(c.oDefault),$("input",".dynatable-search").keyup(function(){$(this).blur().focus()})},onStop:function(){this.sPathCss=null,this.oDefault=null},onDestroy:function(){delete this.sPathCss,delete this.oDefault}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tabs.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tabs.js
index a0cf322f..ed94b2a4 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tabs.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tabs.js
@@ -1 +1 @@
-FrontendCore.define("tabs",[],function(){return{mediator:FrontendMediator,onStart:function(){var a=document.querySelectorAll('[data-fc-modules="tabs"]');FrontendTools.trackModule("JS_Libraries","call","tabs"),this.autobind(a)},autobind:function(a){var b=this;$(a).each(function(){var a,c=this,d=null,e=b.getTabsInfo(c);$(c).addClass("tab-container"),a=b.createDesktopTabs(e);for(var f=0;f section",a).each(function(a){var c=this;b[a]={},b[a].id=this.id,null!==c.getAttribute("data-fc-name")?b[a].name=c.getAttribute("data-fc-name"):b[a].name=c.id.replace("-"," "),b.length=a+1}),b},createDesktopTabs:function(a){var b=document.createElement("nav"),c=document.createElement("ul"),d="";b.className="tabs";for(var e=0;e'+a[e].name+" ";return c.innerHTML=d,b.innerHTML=c.outerHTML,b},createMobileTabs:function(a,b){var c=document.createElement("header"),d=document.createElement("a"),e=b;return c.className="tab",c.id=a+"-header",d.innerHTML=e,d.href="#"+a,d.className="update-tabs",c.innerHTML=d.outerHTML,c},updateTabs:function(a,b){$("> nav a.update-tabs, > header.tab a.update-tabs",a).each(function(){var a=$("#"+this.href.split("#")[1]),c=this.href.split("#")[1],d=$(document.getElementById(c+"-li")),e=$(document.getElementById(c+"-header"));-1!==this.href.indexOf(b)?(d.addClass("active"),e.addClass("active"),a.fadeIn()):(d.removeClass("active"),e.removeClass("active"),a.hide())})}}});
\ No newline at end of file
+FrontendCore.define("tabs",[],function(){return{mediator:FrontendMediator,onStart:function(){var a=document.querySelectorAll('[data-fc-modules="tabs"]');FrontendTools.trackModule("JS_Libraries","call","tabs"),this.autobind(a)},autobind:function(a){var b=this;$(a).each(function(){var a,c=this,d=null,e=b.getTabsInfo(c);$(c).addClass("tab-container"),a=b.createDesktopTabs(e);for(var f=0;f section",a).each(function(a){var c=this;b[a]={},b[a].id=this.id,null!==c.getAttribute("data-fc-name")?b[a].name=c.getAttribute("data-fc-name"):b[a].name=c.id.replace("-"," "),b.length=a+1}),b},createDesktopTabs:function(a){var b=document.createElement("nav"),c=document.createElement("ul"),d="";b.className="tabs";for(var e=0;e'+a[e].name+" ";return c.innerHTML=d,b.innerHTML=c.outerHTML,b},createMobileTabs:function(a,b){var c=document.createElement("header"),d=document.createElement("a"),e=b;return c.className="tab",c.id=a+"-header",d.innerHTML=e,d.href="#"+a,d.className="update-tabs",c.innerHTML=d.outerHTML,c},updateTabs:function(a,b){$("> nav a.update-tabs, > header.tab a.update-tabs",a).each(function(){var a=$("#"+this.href.split("#")[1]),c=this.href.split("#")[1],d=$(document.getElementById(c+"-li")),e=$(document.getElementById(c+"-header"));-1!==this.href.indexOf(b)?(d.addClass("active"),e.addClass("active"),a.fadeIn()):(d.removeClass("active"),e.removeClass("active"),a.hide())})}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tags.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tags.js
index 12b0f152..d0053e18 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tags.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/tags.js
@@ -1 +1 @@
-!function(a){"use strict";var b=function(b,c){var d=this,e={allowFreeEntries:!0,allowDuplicates:!1,ajaxConfig:{},autoSelect:!0,selectFirst:!1,queryParam:"query",beforeSend:function(){},cls:"",data:null,dataUrlParams:{},disabled:!1,disabledField:null,displayField:"name",editable:!0,expanded:!1,expandOnFocus:!1,groupBy:null,hideTrigger:!1,highlight:!0,id:null,infoMsgCls:"",inputCfg:{},invalidCls:"ms-inv",matchCase:!1,maxDropHeight:290,maxEntryLength:null,maxEntryRenderer:function(a){return"Please reduce your entry by "+a+" character"+(a>1?"s":"")},maxSuggestions:null,maxSelection:10,maxSelectionRenderer:function(a){return"You cannot choose more than "+a+" item"+(a>1?"s":"")},method:"POST",minChars:0,minCharsRenderer:function(a){return"Please type "+a+" more character"+(a>1?"s":"")},mode:"local",name:null,noSuggestionText:"No suggestions",placeholder:"Type or click here",renderer:null,required:!1,resultAsString:!1,resultAsStringDelimiter:",",resultsField:"results",selectionCls:"",selectionContainer:null,selectionPosition:"inner",selectionRenderer:null,selectionStacked:!1,sortDir:"asc",sortOrder:null,strictSuggest:!1,style:"",toggleOnClick:!1,typeDelay:400,useTabKey:!1,useCommaKey:!0,useZebraStyle:!1,value:null,valueField:"id",vregex:null,vtype:null},f=a.extend({},c),g=a.extend(!0,{},e,f);this.addToSelection=function(b,c){if(!g.maxSelection||i.length0?"":g.placeholder)},this.clear=function(a){this.removeFromSelection(i.slice(0),a)},this.collapse=function(){g.expanded===!0&&(this.combobox.detach(),g.expanded=!1,a(this).trigger("collapse",[this]))},this.disable=function(){this.container.addClass("ms-ctn-disabled"),g.disabled=!0,d.input.attr("disabled",!0)},this.empty=function(){this.input.val("")},this.enable=function(){this.container.removeClass("ms-ctn-disabled"),g.disabled=!1,d.input.attr("disabled",!1)},this.expand=function(){!g.expanded&&(this.input.val().length>=g.minChars||this.combobox.children().size()>0)&&(this.combobox.appendTo(this.container),p._processSuggestions(),g.expanded=!0,a(this).trigger("expand",[this]))},this.isDisabled=function(){return g.disabled},this.isValid=function(){var b=g.required===!1||i.length>0;return(g.vtype||g.vregex)&&a.each(i,function(a,c){b=b&&p._validateSingleItem(c[g.valueField])}),b},this.getDataUrlParams=function(){return g.dataUrlParams},this.getName=function(){return g.name},this.getSelection=function(){return i},this.getRawValue=function(){return d.input.val()},this.getValue=function(){return a.map(i,function(a){return a[g.valueField]})},this.removeFromSelection=function(b,c){a.isArray(b)||(b=[b]);var e=!1;a.each(b,function(b,c){var f=a.inArray(c[g.valueField],d.getValue());f>-1&&(i.splice(f,1),e=!0)}),e===!0&&(p._renderSelection(),c!==!0&&a(this).trigger("selectionchange",[this,this.getSelection()]),g.expandOnFocus&&d.expand(),g.expanded&&p._processSuggestions()),this.input.attr("placeholder","inner"===g.selectionPosition&&this.getValue().length>0?"":g.placeholder)},this.getData=function(){return m},this.setData=function(a){g.data=a,p._processSuggestions()},this.setName=function(b){g.name=b,b&&(g.name+=b.indexOf("[]")>0?"":"[]"),d._valueContainer&&a.each(d._valueContainer.children(),function(a,b){b.name=g.name})},this.setSelection=function(a){this.clear(),this.addToSelection(a)},this.setValue=function(b){var c=[];a.each(b,function(b,d){var e=!1;if(a.each(m,function(a,b){return b[g.valueField]==d?(c.push(b),e=!0,!1):void 0}),!e)if("object"==typeof d)c.push(d);else{var f={};f[g.valueField]=d,f[g.displayField]=d,c.push(f)}}),c.length>0&&this.addToSelection(c)},this.setDataUrlParams=function(b){g.dataUrlParams=a.extend({},b)};var h,i=[],j=0,k=!1,l=null,m=[],n=!1,o={BACKSPACE:8,TAB:9,ENTER:13,CTRL:17,ESC:27,SPACE:32,UPARROW:38,DOWNARROW:40,COMMA:188},p={_displaySuggestions:function(b){d.combobox.show(),d.combobox.empty();var c=0,e=0;if(null===l)p._renderComboItems(b),c=j*b.length;else{for(var f in l)e+=1,a("
",{"class":"ms-res-group",html:f}).appendTo(d.combobox),p._renderComboItems(l[f].items,!0);var h=d.combobox.find(".ms-res-group").outerHeight();if(null!==h){var i=e*h;c=j*b.length+i}else c=j*(b.length+e)}if(c=d.combobox.height()&&c>g.maxDropHeight&&d.combobox.height(g.maxDropHeight),1===b.length&&g.autoSelect===!0&&d.combobox.children().filter(":not(.ms-res-item-disabled):last").addClass("ms-res-item-active"),g.selectFirst===!0&&d.combobox.children().filter(":not(.ms-res-item-disabled):first").addClass("ms-res-item-active"),0===b.length&&""!==d.getRawValue()){var k=g.noSuggestionText.replace(/\{\{.*\}\}/,d.input.val());p._updateHelper(k),d.collapse()}g.allowFreeEntries===!1&&(0===b.length?(a(d.input).addClass(g.invalidCls),d.combobox.hide()):a(d.input).removeClass(g.invalidCls))},_getEntriesFromStringArray:function(b){var c=[];return a.each(b,function(b,d){var e={};e[g.displayField]=e[g.valueField]=a.trim(d),c.push(e)}),c},_highlightSuggestion:function(b){var c=d.input.val(),e=["^","$","*","+","?",".","(",")",":","!","|","{","}","[","]"];if(a.each(e,function(a,b){c=c.replace(b,"\\"+b)}),0===c.length)return b;var f=g.matchCase===!0?"g":"gi";return b.replace(new RegExp("("+c+")(?!([^<]+)?>)",f),"$1 ")},_moveSelectedRow:function(a){g.expanded||d.expand();var b,c,e,f;b=d.combobox.find(".ms-res-item:not(.ms-res-item-disabled)"),c="down"===a?b.eq(0):b.filter(":last"),e=d.combobox.find(".ms-res-item-active:not(.ms-res-item-disabled):first"),e.length>0&&("down"===a?(c=e.nextAll(".ms-res-item:not(.ms-res-item-disabled)").first(),0===c.length&&(c=b.eq(0)),f=d.combobox.scrollTop(),d.combobox.scrollTop(0),c[0].offsetTop+c.outerHeight()>d.combobox.height()&&d.combobox.scrollTop(f+j)):(c=e.prevAll(".ms-res-item:not(.ms-res-item-disabled)").first(),0===c.length&&(c=b.filter(":last"),d.combobox.scrollTop(j*b.length)),c[0].offsetTop0&&"string"==typeof e[0]?p._getEntriesFromStringArray(e):e[g.resultsField]||e;var i="remote"===g.mode?m:p._sortAndTrim(m);p._displaySuggestions(p._group(i))}},_render:function(b){if(d.setName(g.name),d.container=a("
",{"class":"ms-ctn form-control "+(g.resultAsString?"ms-as-string ":"")+g.cls+(a(b).hasClass("input-lg")?" input-lg":"")+(a(b).hasClass("input-sm")?" input-sm":"")+(g.disabled===!0?" ms-ctn-disabled":"")+(g.editable===!0?"":" ms-ctn-readonly")+(g.hideTrigger===!1?"":" ms-no-trigger"),style:g.style,id:g.id}),d.container.focus(a.proxy(q._onFocus,this)),d.container.blur(a.proxy(q._onBlur,this)),d.container.keydown(a.proxy(q._onKeyDown,this)),d.container.keyup(a.proxy(q._onKeyUp,this)),d.input=a(" ",a.extend({type:"text","class":g.editable===!0?"":" ms-input-readonly",readonly:!g.editable,placeholder:g.placeholder,disabled:g.disabled},g.inputCfg)),d.input.focus(a.proxy(q._onInputFocus,this)),d.input.click(a.proxy(q._onInputClick,this)),d.combobox=a("
",{"class":"ms-res-ctn dropdown-menu"}).height(g.maxDropHeight),d.combobox.on("click","div.ms-res-item",a.proxy(q._onComboItemSelected,this)),d.combobox.on("mouseover","div.ms-res-item",a.proxy(q._onComboItemMouseOver,this)),g.selectionContainer?(d.selectionContainer=g.selectionContainer,a(d.selectionContainer).addClass("ms-sel-ctn")):d.selectionContainer=a("
",{"class":"ms-sel-ctn"}),d.selectionContainer.click(a.proxy(q._onFocus,this)),"inner"!==g.selectionPosition||g.selectionContainer?d.container.append(d.input):d.selectionContainer.append(d.input),d.helper=a(" ",{"class":"ms-helper "+g.infoMsgCls}),p._updateHelper(),d.container.append(d.helper),a(b).replaceWith(d.container),!g.selectionContainer)switch(g.selectionPosition){case"bottom":d.selectionContainer.insertAfter(d.container),g.selectionStacked===!0&&(d.selectionContainer.width(d.container.width()),d.selectionContainer.addClass("ms-stacked"));break;case"right":d.selectionContainer.insertAfter(d.container),d.container.css("float","left");break;default:d.container.append(d.selectionContainer)}g.hideTrigger===!1&&(d.trigger=a("
",{"class":"ms-trigger",html:'
'}),d.trigger.click(a.proxy(q._onTriggerClick,this)),d.container.append(d.trigger)),a(window).resize(a.proxy(q._onWindowResized,this)),(null!==g.value||null!==g.data)&&("string"==typeof g.data?(p._asyncValues=g.value,p._processSuggestions()):(p._processSuggestions(),null!==g.value&&(d.setValue(g.value),p._renderSelection()))),a("body").click(function(a){d.container.hasClass("ms-ctn-focus")&&0===d.container.has(a.target).length&&a.target.className.indexOf("ms-res-item")<0&&a.target.className.indexOf("ms-close-btn")<0&&d.container[0]!==a.target&&q._onBlur()}),g.expanded===!0&&(g.expanded=!1,d.expand())},_renderComboItems:function(b,c){var e=this,f="";a.each(b,function(b,d){var h=null!==g.renderer?g.renderer.call(e,d):d[g.displayField],i=null!==g.disabledField&&d[g.disabledField]===!0,j=a("
",{"class":"ms-res-item "+(c?"ms-res-item-grouped ":"")+(i?"ms-res-item-disabled ":"")+(b%2===1&&g.useZebraStyle===!0?"ms-res-odd":""),html:g.highlight===!0?p._highlightSuggestion(h):h,"data-json":JSON.stringify(d)});f+=a("
").append(j).html()}),d.combobox.append(f),j=d.combobox.find(".ms-res-item:first").outerHeight()},_renderSelection:function(){var b=this,c=0,e=0,f=[],h=g.resultAsString===!0&&!k;d.selectionContainer.find(".ms-sel-item").remove(),void 0!==d._valueContainer&&d._valueContainer.remove(),a.each(i,function(c,d){var e,j,k=null!==g.selectionRenderer?g.selectionRenderer.call(b,d):d[g.displayField],l=p._validateSingleItem(d[g.displayField])?"":" ms-sel-invalid";h===!0?e=a("
",{"class":"ms-sel-item ms-sel-text "+g.selectionCls+l,html:k+(c===i.length-1?"":g.resultAsStringDelimiter)}).data("json",d):(e=a("
",{"class":"ms-sel-item "+g.selectionCls+l,html:k}).data("json",d),g.disabled===!1&&(j=a(" ",{"class":"ms-close-btn"}).data("json",d).appendTo(e),j.click(a.proxy(q._onTagTriggerClick,b)))),f.push(e)}),d.selectionContainer.prepend(f),d._valueContainer=a("
",{style:"display: none;"}),a.each(d.getValue(),function(b,c){var e=a(" ",{type:"hidden",name:g.name,value:c});e.appendTo(d._valueContainer)}),d._valueContainer.appendTo(d.selectionContainer),"inner"!==g.selectionPosition||g.selectionContainer||(d.input.width(0),e=d.input.offset().left-d.selectionContainer.offset().left,c=d.container.width()-e-42,d.input.width(c)),i.length===g.maxSelection?p._updateHelper(g.maxSelectionRenderer.call(this,i.length)):d.helper.hide()},_selectItem:function(a){1===g.maxSelection&&(i=[]),d.addToSelection(a.data("json")),a.removeClass("ms-res-item-active"),(g.expandOnFocus===!1||i.length===g.maxSelection)&&d.collapse(),k?k&&(g.expandOnFocus||n)&&(p._processSuggestions(),n&&d.expand()):d.input.focus()},_sortAndTrim:function(b){var c=d.getRawValue(),e=[],f=[],h=d.getValue();return c.length>0?a.each(b,function(a,b){var d=b[g.displayField];(g.matchCase===!0&&d.indexOf(c)>-1||g.matchCase===!1&&d.toLowerCase().indexOf(c.toLowerCase())>-1)&&(g.strictSuggest===!1||0===d.toLowerCase().indexOf(c.toLowerCase()))&&e.push(b)}):e=b,a.each(e,function(b,c){(g.allowDuplicates||-1===a.inArray(c[g.valueField],h))&&f.push(c)}),null!==g.sortOrder&&f.sort(function(a,b){return a[g.sortOrder]b[g.sortOrder]?"asc"===g.sortDir?1:-1:0}),g.maxSuggestions&&g.maxSuggestions>0&&(f=f.slice(0,g.maxSuggestions)),f},_group:function(b){return null!==g.groupBy&&(l={},a.each(b,function(a,b){var c=g.groupBy.indexOf(".")>-1?g.groupBy.split("."):g.groupBy,d=b[g.groupBy];if("string"!=typeof c)for(d=b;c.length>0;)d=d[c.shift()];void 0===l[d]?l[d]={title:d,items:[b]}:l[d].items.push(b)})),b},_updateHelper:function(a){d.helper.html(a),d.helper.is(":visible")||d.helper.fadeIn()},_validateSingleItem:function(a){if(null!==g.vregex&&g.vregex instanceof RegExp)return g.vregex.test(a);if(null!==g.vtype)switch(g.vtype){case"alpha":return/^[a-zA-Z_]+$/.test(a);case"alphanum":return/^[a-zA-Z0-9_]+$/.test(a);case"email":return/^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/.test(a);case"url":return/(((^https?)|(^ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@`~=%!]*)(\.\w{2,})?)*\/?)/i.test(a);case"ipaddress":return/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(a)}return!0}},q={_onBlur:function(){if(d.container.removeClass("ms-ctn-focus"),d.collapse(),k=!1,""!==d.getRawValue()&&g.allowFreeEntries===!0){var b={};b[g.displayField]=b[g.valueField]=d.getRawValue().trim(),d.addToSelection(b)}p._renderSelection(),d.isValid()===!1?d.container.addClass(g.invalidCls):""!==d.input.val()&&g.allowFreeEntries===!1&&(d.empty(),p._updateHelper("")),a(d).trigger("blur",[d])},_onComboItemMouseOver:function(b){var c=a(b.currentTarget);c.hasClass("ms-res-item-disabled")||(d.combobox.children().removeClass("ms-res-item-active"),c.addClass("ms-res-item-active"))},_onComboItemSelected:function(b){var c=a(b.currentTarget);c.hasClass("ms-res-item-disabled")||p._selectItem(a(b.currentTarget))},_onFocus:function(){d.input.focus()},_onInputClick:function(){d.isDisabled()===!1&&k&&g.toggleOnClick===!0&&(g.expanded?d.collapse():d.expand())},_onInputFocus:function(){if(d.isDisabled()===!1&&!k){k=!0,d.container.addClass("ms-ctn-focus"),d.container.removeClass(g.invalidCls);var b=d.getRawValue().length;g.expandOnFocus===!0&&d.expand(),i.length===g.maxSelection?p._updateHelper(g.maxSelectionRenderer.call(this,i.length)):b0&&"inner"===g.selectionPosition&&(i.pop(),p._renderSelection(),a(d).trigger("selectionchange",[d,d.getSelection()]),d.input.attr("placeholder","inner"===g.selectionPosition&&d.getValue().length>0?"":g.placeholder),d.input.focus(),b.preventDefault());break;case o.TAB:case o.ESC:b.preventDefault();break;case o.ENTER:(""!==e||g.expanded)&&b.preventDefault();break;case o.COMMA:g.useCommaKey===!0&&b.preventDefault();break;case o.CTRL:n=!0;break;case o.DOWNARROW:b.preventDefault(),p._moveSelectedRow("down");break;case o.UPARROW:b.preventDefault(),p._moveSelectedRow("up");break;default:i.length===g.maxSelection&&b.preventDefault()}},_onKeyUp:function(b){var c,e=d.getRawValue(),f=a.trim(d.input.val()).length>0&&(!g.maxEntryLength||a.trim(d.input.val()).length<=g.maxEntryLength),j={};if(a(d).trigger("keyup",[d,b]),clearTimeout(h),b.keyCode===o.ESC&&g.expanded&&d.combobox.hide(),b.keyCode===o.TAB&&g.useTabKey===!1||b.keyCode>o.ENTER&&b.keyCode0))return void p._selectItem(c);f===!0&&g.allowFreeEntries===!0&&(j[g.displayField]=j[g.valueField]=e.trim(),d.addToSelection(j),d.collapse(),d.input.focus());break}default:i.length===g.maxSelection?p._updateHelper(g.maxSelectionRenderer.call(this,i.length)):e.lengthg.maxEntryLength?(p._updateHelper(g.maxEntryRenderer.call(this,e.length-g.maxEntryLength)),g.expanded===!0&&d.collapse()):(d.helper.hide(),g.minChars<=e.length&&(h=setTimeout(function(){g.expanded===!0?p._processSuggestions():d.expand()},g.typeDelay)))}},_onTagTriggerClick:function(b){d.removeFromSelection(a(b.currentTarget).data("json"))},_onTriggerClick:function(){if(d.isDisabled()===!1&&(g.expandOnFocus!==!0||i.length!==g.maxSelection))if(a(d).trigger("triggerclick",[d]),g.expanded===!0)d.collapse();else{var b=d.getRawValue().length;b>=g.minChars?(d.input.focus(),d.expand()):p._updateHelper(g.minCharsRenderer.call(this,g.minChars-b))}},_onWindowResized:function(){p._renderSelection()}};null!==b&&p._render(b)};a.fn.magicSuggest=function(c){var d=a(this);return 1===d.size()&&d.data("magicSuggest")?d.data("magicSuggest"):(d.each(function(d){var e=a(this);if(!e.data("magicSuggest")){"select"===this.nodeName.toLowerCase()&&(c.data=[],c.value=[],a.each(this.children,function(b,d){d.nodeName&&"option"===d.nodeName.toLowerCase()&&(c.data.push({id:d.value,name:d.text}),a(d).attr("selected")&&c.value.push(d.value))}));var f={};a.each(this.attributes,function(a,b){f[b.name]="value"===b.name&&""!==b.value?JSON.parse(b.value):b.value});var g=new b(this,a.extend([],a.fn.magicSuggest.defaults,c,f));e.data("magicSuggest",g),g.container.data("magicSuggest",g)}}),1===d.size()?d.data("magicSuggest"):d)},a.fn.magicSuggest.defaults={}}(jQuery),FrontendCore.define("tags",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{useCommaKey:!0,noSuggestionText:"No result matching the term {{query}}",placeholder:"Add a Tag"},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="tags"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","tags"),b.autobind(a)},autobind:function(a){var b=this;$(a).each(function(a){var c,d,e,f={},g=this,h=[],i=this;if("INPUT"===g.nodeName&&(i=document.createElement("div"),e=""!==g.getAttribute("name")?g.getAttribute("name"):"tags_array_real",i.id=e,$(g).before(i).css({height:"1px",width:"100%",border:"0px none",padding:"0",margin:"0",position:"absolute"}).parent().css("position","relative")),f.name=""!==g.getAttribute("name")?g.getAttribute("name")+"_array":"tags_array",null!==g.getAttribute("data-fc-max")&&(f.maxSelection=g.getAttribute("data-fc-max")),"restrict"===g.getAttribute("data-fc-mode")?(f.hideTrigger=!1,f.allowFreeEntries=!1):f.hideTrigger=!0,"true"===g.getAttribute("data-fc-select")&&(f.hideTrigger=!1),""!==g.value&&void 0!==g.value&&(f.value=g.value.split(",")),""!==g.placeholder&&(f.placeholder=g.placeholder),null!==g.getAttribute("data-fc-text-no-suggestion")&&(f.noSuggestionText=g.getAttribute("data-fc-text-no-suggestion")),null!==g.getAttribute("data-fc-values")){f.data=[],d=g.getAttribute("data-fc-values").split(",");for(var j in d)f.data.push(d[j])}c=FrontendTools.mergeOptions(b.oDefault,f),h[a]=$(i).magicSuggest(c),$(h[a]).on("selectionchange",function(){for(var b="",c=h[a].getValue(),d=0;d1?"s":"")},maxSuggestions:null,maxSelection:10,maxSelectionRenderer:function(a){return"You cannot choose more than "+a+" item"+(a>1?"s":"")},method:"POST",minChars:0,minCharsRenderer:function(a){return"Please type "+a+" more character"+(a>1?"s":"")},mode:"local",name:null,noSuggestionText:"No suggestions",placeholder:"Type or click here",renderer:null,required:!1,resultAsString:!1,resultAsStringDelimiter:",",resultsField:"results",selectionCls:"",selectionContainer:null,selectionPosition:"inner",selectionRenderer:null,selectionStacked:!1,sortDir:"asc",sortOrder:null,strictSuggest:!1,style:"",toggleOnClick:!1,typeDelay:400,useTabKey:!1,useCommaKey:!0,useZebraStyle:!1,value:null,valueField:"id",vregex:null,vtype:null},f=a.extend({},c),g=a.extend(!0,{},e,f);this.addToSelection=function(b,c){if(!g.maxSelection||i.length0?"":g.placeholder)},this.clear=function(a){this.removeFromSelection(i.slice(0),a)},this.collapse=function(){g.expanded===!0&&(this.combobox.detach(),g.expanded=!1,a(this).trigger("collapse",[this]))},this.disable=function(){this.container.addClass("ms-ctn-disabled"),g.disabled=!0,d.input.attr("disabled",!0)},this.empty=function(){this.input.val("")},this.enable=function(){this.container.removeClass("ms-ctn-disabled"),g.disabled=!1,d.input.attr("disabled",!1)},this.expand=function(){!g.expanded&&(this.input.val().length>=g.minChars||this.combobox.children().size()>0)&&(this.combobox.appendTo(this.container),p._processSuggestions(),g.expanded=!0,a(this).trigger("expand",[this]))},this.isDisabled=function(){return g.disabled},this.isValid=function(){var b=g.required===!1||i.length>0;return(g.vtype||g.vregex)&&a.each(i,function(a,c){b=b&&p._validateSingleItem(c[g.valueField])}),b},this.getDataUrlParams=function(){return g.dataUrlParams},this.getName=function(){return g.name},this.getSelection=function(){return i},this.getRawValue=function(){return d.input.val()},this.getValue=function(){return a.map(i,function(a){return a[g.valueField]})},this.removeFromSelection=function(b,c){a.isArray(b)||(b=[b]);var e=!1;a.each(b,function(b,c){var f=a.inArray(c[g.valueField],d.getValue());f>-1&&(i.splice(f,1),e=!0)}),e===!0&&(p._renderSelection(),c!==!0&&a(this).trigger("selectionchange",[this,this.getSelection()]),g.expandOnFocus&&d.expand(),g.expanded&&p._processSuggestions()),this.input.attr("placeholder","inner"===g.selectionPosition&&this.getValue().length>0?"":g.placeholder)},this.getData=function(){return m},this.setData=function(a){g.data=a,p._processSuggestions()},this.setName=function(b){g.name=b,b&&(g.name+=b.indexOf("[]")>0?"":"[]"),d._valueContainer&&a.each(d._valueContainer.children(),function(a,b){b.name=g.name})},this.setSelection=function(a){this.clear(),this.addToSelection(a)},this.setValue=function(b){var c=[];a.each(b,function(b,d){var e=!1;if(a.each(m,function(a,b){return b[g.valueField]==d?(c.push(b),e=!0,!1):void 0}),!e)if("object"==typeof d)c.push(d);else{var f={};f[g.valueField]=d,f[g.displayField]=d,c.push(f)}}),c.length>0&&this.addToSelection(c)},this.setDataUrlParams=function(b){g.dataUrlParams=a.extend({},b)};var h,i=[],j=0,k=!1,l=null,m=[],n=!1,o={BACKSPACE:8,TAB:9,ENTER:13,CTRL:17,ESC:27,SPACE:32,UPARROW:38,DOWNARROW:40,COMMA:188},p={_displaySuggestions:function(b){d.combobox.show(),d.combobox.empty();var c=0,e=0;if(null===l)p._renderComboItems(b),c=j*b.length;else{for(var f in l)e+=1,a("
",{"class":"ms-res-group",html:f}).appendTo(d.combobox),p._renderComboItems(l[f].items,!0);var h=d.combobox.find(".ms-res-group").outerHeight();if(null!==h){var i=e*h;c=j*b.length+i}else c=j*(b.length+e)}if(c=d.combobox.height()&&c>g.maxDropHeight&&d.combobox.height(g.maxDropHeight),1===b.length&&g.autoSelect===!0&&d.combobox.children().filter(":not(.ms-res-item-disabled):last").addClass("ms-res-item-active"),g.selectFirst===!0&&d.combobox.children().filter(":not(.ms-res-item-disabled):first").addClass("ms-res-item-active"),0===b.length&&""!==d.getRawValue()){var k=g.noSuggestionText.replace(/\{\{.*\}\}/,d.input.val());p._updateHelper(k),d.collapse()}g.allowFreeEntries===!1&&(0===b.length?(a(d.input).addClass(g.invalidCls),d.combobox.hide()):a(d.input).removeClass(g.invalidCls))},_getEntriesFromStringArray:function(b){var c=[];return a.each(b,function(b,d){var e={};e[g.displayField]=e[g.valueField]=a.trim(d),c.push(e)}),c},_highlightSuggestion:function(b){var c=d.input.val(),e=["^","$","*","+","?",".","(",")",":","!","|","{","}","[","]"];if(a.each(e,function(a,b){c=c.replace(b,"\\"+b)}),0===c.length)return b;var f=g.matchCase===!0?"g":"gi";return b.replace(new RegExp("("+c+")(?!([^<]+)?>)",f),"$1 ")},_moveSelectedRow:function(a){g.expanded||d.expand();var b,c,e,f;b=d.combobox.find(".ms-res-item:not(.ms-res-item-disabled)"),c="down"===a?b.eq(0):b.filter(":last"),e=d.combobox.find(".ms-res-item-active:not(.ms-res-item-disabled):first"),e.length>0&&("down"===a?(c=e.nextAll(".ms-res-item:not(.ms-res-item-disabled)").first(),0===c.length&&(c=b.eq(0)),f=d.combobox.scrollTop(),d.combobox.scrollTop(0),c[0].offsetTop+c.outerHeight()>d.combobox.height()&&d.combobox.scrollTop(f+j)):(c=e.prevAll(".ms-res-item:not(.ms-res-item-disabled)").first(),0===c.length&&(c=b.filter(":last"),d.combobox.scrollTop(j*b.length)),c[0].offsetTop0&&"string"==typeof e[0]?p._getEntriesFromStringArray(e):e[g.resultsField]||e;var i="remote"===g.mode?m:p._sortAndTrim(m);p._displaySuggestions(p._group(i))}},_render:function(b){if(d.setName(g.name),d.container=a("
",{"class":"ms-ctn form-control "+(g.resultAsString?"ms-as-string ":"")+g.cls+(a(b).hasClass("input-lg")?" input-lg":"")+(a(b).hasClass("input-sm")?" input-sm":"")+(g.disabled===!0?" ms-ctn-disabled":"")+(g.editable===!0?"":" ms-ctn-readonly")+(g.hideTrigger===!1?"":" ms-no-trigger"),style:g.style,id:g.id}),d.container.focus(a.proxy(q._onFocus,this)),d.container.blur(a.proxy(q._onBlur,this)),d.container.keydown(a.proxy(q._onKeyDown,this)),d.container.keyup(a.proxy(q._onKeyUp,this)),d.input=a(" ",a.extend({type:"text","class":g.editable===!0?"":" ms-input-readonly",readonly:!g.editable,placeholder:g.placeholder,disabled:g.disabled},g.inputCfg)),d.input.focus(a.proxy(q._onInputFocus,this)),d.input.click(a.proxy(q._onInputClick,this)),d.combobox=a("
",{"class":"ms-res-ctn dropdown-menu"}).height(g.maxDropHeight),d.combobox.on("click","div.ms-res-item",a.proxy(q._onComboItemSelected,this)),d.combobox.on("mouseover","div.ms-res-item",a.proxy(q._onComboItemMouseOver,this)),g.selectionContainer?(d.selectionContainer=g.selectionContainer,a(d.selectionContainer).addClass("ms-sel-ctn")):d.selectionContainer=a("
",{"class":"ms-sel-ctn"}),d.selectionContainer.click(a.proxy(q._onFocus,this)),"inner"!==g.selectionPosition||g.selectionContainer?d.container.append(d.input):d.selectionContainer.append(d.input),d.helper=a(" ",{"class":"ms-helper "+g.infoMsgCls}),p._updateHelper(),d.container.append(d.helper),a(b).replaceWith(d.container),!g.selectionContainer)switch(g.selectionPosition){case"bottom":d.selectionContainer.insertAfter(d.container),g.selectionStacked===!0&&(d.selectionContainer.width(d.container.width()),d.selectionContainer.addClass("ms-stacked"));break;case"right":d.selectionContainer.insertAfter(d.container),d.container.css("float","left");break;default:d.container.append(d.selectionContainer)}g.hideTrigger===!1&&(d.trigger=a("
",{"class":"ms-trigger",html:'
'}),d.trigger.click(a.proxy(q._onTriggerClick,this)),d.container.append(d.trigger)),a(window).resize(a.proxy(q._onWindowResized,this)),(null!==g.value||null!==g.data)&&("string"==typeof g.data?(p._asyncValues=g.value,p._processSuggestions()):(p._processSuggestions(),null!==g.value&&(d.setValue(g.value),p._renderSelection()))),a("body").click(function(a){d.container.hasClass("ms-ctn-focus")&&0===d.container.has(a.target).length&&a.target.className.indexOf("ms-res-item")<0&&a.target.className.indexOf("ms-close-btn")<0&&d.container[0]!==a.target&&q._onBlur()}),g.expanded===!0&&(g.expanded=!1,d.expand())},_renderComboItems:function(b,c){var e=this,f="";a.each(b,function(b,d){var h=null!==g.renderer?g.renderer.call(e,d):d[g.displayField],i=null!==g.disabledField&&d[g.disabledField]===!0,j=a("
",{"class":"ms-res-item "+(c?"ms-res-item-grouped ":"")+(i?"ms-res-item-disabled ":"")+(b%2===1&&g.useZebraStyle===!0?"ms-res-odd":""),html:g.highlight===!0?p._highlightSuggestion(h):h,"data-json":JSON.stringify(d)});f+=a("
").append(j).html()}),d.combobox.append(f),j=d.combobox.find(".ms-res-item:first").outerHeight()},_renderSelection:function(){var b=this,c=0,e=0,f=[],h=g.resultAsString===!0&&!k;d.selectionContainer.find(".ms-sel-item").remove(),void 0!==d._valueContainer&&d._valueContainer.remove(),a.each(i,function(c,d){var e,j,k=null!==g.selectionRenderer?g.selectionRenderer.call(b,d):d[g.displayField],l=p._validateSingleItem(d[g.displayField])?"":" ms-sel-invalid";h===!0?e=a("
",{"class":"ms-sel-item ms-sel-text "+g.selectionCls+l,html:k+(c===i.length-1?"":g.resultAsStringDelimiter)}).data("json",d):(e=a("
",{"class":"ms-sel-item "+g.selectionCls+l,html:k}).data("json",d),g.disabled===!1&&(j=a(" ",{"class":"ms-close-btn"}).data("json",d).appendTo(e),j.click(a.proxy(q._onTagTriggerClick,b)))),f.push(e)}),d.selectionContainer.prepend(f),d._valueContainer=a("
",{style:"display: none;"}),a.each(d.getValue(),function(b,c){var e=a(" ",{type:"hidden",name:g.name,value:c});e.appendTo(d._valueContainer)}),d._valueContainer.appendTo(d.selectionContainer),"inner"!==g.selectionPosition||g.selectionContainer||(d.input.width(0),e=d.input.offset().left-d.selectionContainer.offset().left,c=d.container.width()-e-42,d.input.width(c)),i.length===g.maxSelection?p._updateHelper(g.maxSelectionRenderer.call(this,i.length)):d.helper.hide()},_selectItem:function(a){1===g.maxSelection&&(i=[]),d.addToSelection(a.data("json")),a.removeClass("ms-res-item-active"),(g.expandOnFocus===!1||i.length===g.maxSelection)&&d.collapse(),k?k&&(g.expandOnFocus||n)&&(p._processSuggestions(),n&&d.expand()):d.input.focus()},_sortAndTrim:function(b){var c=d.getRawValue(),e=[],f=[],h=d.getValue();return c.length>0?a.each(b,function(a,b){var d=b[g.displayField];(g.matchCase===!0&&d.indexOf(c)>-1||g.matchCase===!1&&d.toLowerCase().indexOf(c.toLowerCase())>-1)&&(g.strictSuggest===!1||0===d.toLowerCase().indexOf(c.toLowerCase()))&&e.push(b)}):e=b,a.each(e,function(b,c){(g.allowDuplicates||-1===a.inArray(c[g.valueField],h))&&f.push(c)}),null!==g.sortOrder&&f.sort(function(a,b){return a[g.sortOrder]b[g.sortOrder]?"asc"===g.sortDir?1:-1:0}),g.maxSuggestions&&g.maxSuggestions>0&&(f=f.slice(0,g.maxSuggestions)),f},_group:function(b){return null!==g.groupBy&&(l={},a.each(b,function(a,b){var c=g.groupBy.indexOf(".")>-1?g.groupBy.split("."):g.groupBy,d=b[g.groupBy];if("string"!=typeof c)for(d=b;c.length>0;)d=d[c.shift()];void 0===l[d]?l[d]={title:d,items:[b]}:l[d].items.push(b)})),b},_updateHelper:function(a){d.helper.html(a),d.helper.is(":visible")||d.helper.fadeIn()},_validateSingleItem:function(a){if(null!==g.vregex&&g.vregex instanceof RegExp)return g.vregex.test(a);if(null!==g.vtype)switch(g.vtype){case"alpha":return/^[a-zA-Z_]+$/.test(a);case"alphanum":return/^[a-zA-Z0-9_]+$/.test(a);case"email":return/^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/.test(a);case"url":return/(((^https?)|(^ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@`~=%!]*)(\.\w{2,})?)*\/?)/i.test(a);case"ipaddress":return/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(a)}return!0}},q={_onBlur:function(){if(d.container.removeClass("ms-ctn-focus"),d.collapse(),k=!1,""!==d.getRawValue()&&g.allowFreeEntries===!0){var b={};b[g.displayField]=b[g.valueField]=d.getRawValue().trim(),d.addToSelection(b)}p._renderSelection(),d.isValid()===!1?d.container.addClass(g.invalidCls):""!==d.input.val()&&g.allowFreeEntries===!1&&(d.empty(),p._updateHelper("")),a(d).trigger("blur",[d])},_onComboItemMouseOver:function(b){var c=a(b.currentTarget);c.hasClass("ms-res-item-disabled")||(d.combobox.children().removeClass("ms-res-item-active"),c.addClass("ms-res-item-active"))},_onComboItemSelected:function(b){var c=a(b.currentTarget);c.hasClass("ms-res-item-disabled")||p._selectItem(a(b.currentTarget))},_onFocus:function(){d.input.focus()},_onInputClick:function(){d.isDisabled()===!1&&k&&g.toggleOnClick===!0&&(g.expanded?d.collapse():d.expand())},_onInputFocus:function(){if(d.isDisabled()===!1&&!k){k=!0,d.container.addClass("ms-ctn-focus"),d.container.removeClass(g.invalidCls);var b=d.getRawValue().length;g.expandOnFocus===!0&&d.expand(),i.length===g.maxSelection?p._updateHelper(g.maxSelectionRenderer.call(this,i.length)):b0&&"inner"===g.selectionPosition&&(i.pop(),p._renderSelection(),a(d).trigger("selectionchange",[d,d.getSelection()]),d.input.attr("placeholder","inner"===g.selectionPosition&&d.getValue().length>0?"":g.placeholder),d.input.focus(),b.preventDefault());break;case o.TAB:case o.ESC:b.preventDefault();break;case o.ENTER:(""!==e||g.expanded)&&b.preventDefault();break;case o.COMMA:g.useCommaKey===!0&&b.preventDefault();break;case o.CTRL:n=!0;break;case o.DOWNARROW:b.preventDefault(),p._moveSelectedRow("down");break;case o.UPARROW:b.preventDefault(),p._moveSelectedRow("up");break;default:i.length===g.maxSelection&&b.preventDefault()}},_onKeyUp:function(b){var c,e=d.getRawValue(),f=a.trim(d.input.val()).length>0&&(!g.maxEntryLength||a.trim(d.input.val()).length<=g.maxEntryLength),j={};if(a(d).trigger("keyup",[d,b]),clearTimeout(h),b.keyCode===o.ESC&&g.expanded&&d.combobox.hide(),b.keyCode===o.TAB&&g.useTabKey===!1||b.keyCode>o.ENTER&&b.keyCode0))return void p._selectItem(c);f===!0&&g.allowFreeEntries===!0&&(j[g.displayField]=j[g.valueField]=e.trim(),d.addToSelection(j),d.collapse(),d.input.focus());break}default:i.length===g.maxSelection?p._updateHelper(g.maxSelectionRenderer.call(this,i.length)):e.lengthg.maxEntryLength?(p._updateHelper(g.maxEntryRenderer.call(this,e.length-g.maxEntryLength)),g.expanded===!0&&d.collapse()):(d.helper.hide(),g.minChars<=e.length&&(h=setTimeout(function(){g.expanded===!0?p._processSuggestions():d.expand()},g.typeDelay)))}},_onTagTriggerClick:function(b){d.removeFromSelection(a(b.currentTarget).data("json"))},_onTriggerClick:function(){if(d.isDisabled()===!1&&(g.expandOnFocus!==!0||i.length!==g.maxSelection))if(a(d).trigger("triggerclick",[d]),g.expanded===!0)d.collapse();else{var b=d.getRawValue().length;b>=g.minChars?(d.input.focus(),d.expand()):p._updateHelper(g.minCharsRenderer.call(this,g.minChars-b))}},_onWindowResized:function(){p._renderSelection()}};null!==b&&p._render(b)};a.fn.magicSuggest=function(c){var d=a(this);return 1===d.size()&&d.data("magicSuggest")?d.data("magicSuggest"):(d.each(function(d){var e=a(this);if(!e.data("magicSuggest")){"select"===this.nodeName.toLowerCase()&&(c.data=[],c.value=[],a.each(this.children,function(b,d){d.nodeName&&"option"===d.nodeName.toLowerCase()&&(c.data.push({id:d.value,name:d.text}),a(d).attr("selected")&&c.value.push(d.value))}));var f={};a.each(this.attributes,function(a,b){f[b.name]="value"===b.name&&""!==b.value?JSON.parse(b.value):b.value});var g=new b(this,a.extend([],a.fn.magicSuggest.defaults,c,f));e.data("magicSuggest",g),g.container.data("magicSuggest",g)}}),1===d.size()?d.data("magicSuggest"):d)},a.fn.magicSuggest.defaults={}}(jQuery),FrontendCore.define("tags",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,oDefault:{useCommaKey:!0,noSuggestionText:"No result matching the term {{query}}",placeholder:"Add a Tag"},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="tags"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","tags"),b.autobind(a)},autobind:function(a){var b=this;$(a).each(function(a){var c,d,e,f={},g=this,h=[],i=this;if("INPUT"===g.nodeName&&(i=document.createElement("div"),e=""!==g.getAttribute("name")?g.getAttribute("name"):"tags_array_real",i.id=e,$(g).before(i).css({height:"1px",width:"100%",border:"0px none",padding:"0",margin:"0",position:"absolute"}).parent().css("position","relative")),f.name=""!==g.getAttribute("name")?g.getAttribute("name")+"_array":"tags_array",null!==g.getAttribute("data-fc-max")&&(f.maxSelection=g.getAttribute("data-fc-max")),"restrict"===g.getAttribute("data-fc-mode")?(f.hideTrigger=!1,f.allowFreeEntries=!1):f.hideTrigger=!0,"true"===g.getAttribute("data-fc-select")&&(f.hideTrigger=!1),""!==g.value&&void 0!==g.value&&(f.value=g.value.split(",")),""!==g.placeholder&&(f.placeholder=g.placeholder),null!==g.getAttribute("data-fc-text-no-suggestion")&&(f.noSuggestionText=g.getAttribute("data-fc-text-no-suggestion")),null!==g.getAttribute("data-fc-values")){f.data=[],d=g.getAttribute("data-fc-values").split(",");for(var j in d)f.data.push(d[j])}c=FrontendTools.mergeOptions(b.oDefault,f),FrontendTools.removeLoading(i),h[a]=$(i).magicSuggest(c),$(h[a]).on("selectionchange",function(){for(var b="",c=h[a].getValue(),d=0;d").text(d).html()}function e(a){return a.replace(/\s+/g," ")}function f(b){var c=a(b),d=c.children(":last");if(!d)return b;var e=d.css("display");return e&&"inline"!=e?f(d):c}function g(b){var c=a(b),d=c.children(":last");return d&&d.is("p")?d:b}var h=!0;a.fn.truncate=function(c){var d=a.extend({},a.fn.truncate.defaults,c);a(this).each(function(){var c=a.trim(e(a(this).text())).length;if(!(c<=d.max_length)){var h=d.max_length-d.more.length-d.link_prefix.length-d.link_suffix.length,i=b(this,h),j=a(this).hide();i.insertAfter(j),f(i).append(d.link_prefix+''+d.more+" "+d.link_suffix),g(j).append(d.link_prefix+''+d.less+" "+d.link_suffix),i.find("a:last").click(function(){return i.hide(),j.show(),!1}),j.find("a:last").click(function(){return i.show(),j.hide(),!1})}})},a.fn.truncate.defaults={max_length:100,more:"…more",less:"less",css_more_class:"truncator-link truncator-more",css_less_class:"truncator-link truncator-less",link_prefix:" (",link_suffix:")"}}(jQuery),FrontendCore.define("truncate",[],function(){return{oDefault:{max_length:100,more:"[+]",less:"[-]"},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="truncate"]'),b=this;FrontendTools.trackModule("JS_Libraries","call","truncate"),b.autobind(a)},autobind:function(a){var b=this;$(a).each(function(){var a,c={};null!==this.getAttribute("data-fc-max")&&(c.max_length=this.getAttribute("data-fc-max")),null!==this.getAttribute("data-fc-more")&&(c.more=this.getAttribute("data-fc-more")),null!==this.getAttribute("data-fc-less")&&(c.less=this.getAttribute("data-fc-less")),a=FrontendTools.mergeOptions(b.oDefault,c),$(this).truncate(a)})},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
+!function(a){function b(a,b){return 3==a.nodeType?d(a,b):c(a,b)}function c(c,d){var e,c=a(c),f=c.clone().empty();return c.contents().each(function(){var a=d-f.text().length;0!=a&&(e=b(this,a),e&&f.append(e))}),f}function d(b,c){var d=e(b.data);h&&(d=d.replace(/^ /,"")),h=!!d.match(/ $/);var d=d.slice(0,c);return d=a("
").text(d).html()}function e(a){return a.replace(/\s+/g," ")}function f(b){var c=a(b),d=c.children(":last");if(!d)return b;var e=d.css("display");return e&&"inline"!=e?f(d):c}function g(b){var c=a(b),d=c.children(":last");return d&&d.is("p")?d:b}var h=!0;a.fn.truncate=function(c){var d=a.extend({},a.fn.truncate.defaults,c);a(this).each(function(){var c=a.trim(e(a(this).text())).length;if(!(c<=d.max_length)){var h=d.max_length-d.more.length-d.link_prefix.length-d.link_suffix.length,i=b(this,h),j=a(this).hide();i.insertAfter(j),f(i).append(d.link_prefix+''+d.more+" "+d.link_suffix),g(j).append(d.link_prefix+''+d.less+" "+d.link_suffix),i.find("a:last").click(function(){return i.hide(),j.show(),!1}),j.find("a:last").click(function(){return i.show(),j.hide(),!1})}})},a.fn.truncate.defaults={max_length:100,more:"…more",less:"less",css_more_class:"truncator-link truncator-more",css_less_class:"truncator-link truncator-less",link_prefix:" (",link_suffix:")"}}(jQuery),FrontendCore.define("truncate",[],function(){return{oDefault:{max_length:100,more:"+",less:"-"},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="truncate"]'),b=this;FrontendTools.trackModule("JS_Libraries","call","truncate"),b.autobind(a)},autobind:function(a){var b=this;$(a).each(function(){var a,c={};null!==this.getAttribute("data-fc-max")&&(c.max_length=this.getAttribute("data-fc-max")),null!==this.getAttribute("data-fc-more")&&(c.more=this.getAttribute("data-fc-more")),null!==this.getAttribute("data-fc-less")&&(c.less=this.getAttribute("data-fc-less")),a=FrontendTools.mergeOptions(b.oDefault,c),FrontendTools.removeLoading(this),$(this).truncate(a)})},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/wysiwyg.js b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/wysiwyg.js
index 26d79db8..11f688a0 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/wysiwyg.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-js/ui/wysiwyg.js
@@ -1 +1 @@
-!function(a){var b,c,d={};d.is=function(a,b){return Object.prototype.toString.call(a).slice(8,-1)===b},d.copy=function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];a[c]=this.is(d,"Object")?this.copy({},d):this.is(d,"Array")?this.copy([],d):d}return a},d.log=function(a,b){(window._pen_debug_mode_on||b)&&console.log("%cPEN DEBUGGER: %c"+a,"font-family:arial,sans-serif;color:#1abf89;line-height:2em;","font-family:cursor,monospace;color:#333;")},d.shift=function(a,b,c){c=c||50;var d,e=this["_shift_fn"+a],f="shift_timeout"+a;e?e.concat([b,c]):e=[[b,c]],d=e.pop(),clearTimeout(this[f]),this[f]=setTimeout(function(){d[0]()},c)},d.merge=function(b){var c={"class":"pen",debug:!1,stay:b.stay||!b.debug,textarea:'',list:["blockquote","h2","h3","p","insertorderedlist","insertunorderedlist","inserthorizontalrule","indent","outdent","bold","italic","underline","createlink"]};return 1===b.nodeType?c.editor=b:b.match&&b.match(/^#[\S]+$/)?c.editor=a.getElementById(b.slice(1)):c=d.copy(c,b),c},b=function(b){if(!b)return d.log("can't find config",!0);var c=d.merge(b);if(1!==c.editor.nodeType)return d.log("can't find editor");c.debug&&(window._pen_debug_mode_on=!0);var e=c.editor;e.classList.add(c["class"]);var f=e.getAttribute("contenteditable");f||e.setAttribute("contenteditable","true"),this.config=c,this._sel=a.getSelection(),this.actions(),this.toolbar(),this.markdown&&this.markdown.init(this),this.config.stay&&this.stay()},b.prototype._effectNode=function(a,b){for(var c=[];a!==this.config.editor;)a.nodeName.match(/(?:[pubia]|h[1-6]|blockquote|[uo]l|li)/i)&&c.push(b?a.nodeName.toLowerCase():a),a=a.parentNode;return c},b.prototype.nostyle=function(){var a=this.config.editor.querySelectorAll("[style]");return[].slice.call(a).forEach(function(a){a.removeAttribute("style")}),this},b.prototype.toolbar=function(){for(var b=this,c="",e=0,f=this.config.list;e'+(g.match(/^h[1-6]|p$/i)?g.toUpperCase():"")+" ","createlink"===g&&(c+=' ')}var i=a.createElement("div");i.setAttribute("class",this.config["class"]+"-menu pen-menu"),i.innerHTML=c,i.style.display="none",a.body.appendChild(this._menu=i);var j=function(){"block"===i.style.display&&b.menu()};window.addEventListener("resize",j),window.addEventListener("scroll",j);var k=this.config.editor,l=function(){b._isDestroyed||d.shift("toggle_menu",function(){var a=b._sel;a.isCollapsed?b._menu.style.display="none":(b._range=a.getRangeAt(0),b.menu().highlight())},200)};return k.addEventListener("mouseup",l),k.addEventListener("keyup",l),i.addEventListener("click",function(a){var c=a.target.getAttribute("data-action");if(c){var d=function(a){b._sel.removeAllRanges(),b._sel.addRange(b._range),b._actions(c,a),b._range=b._sel.getRangeAt(0),b.highlight().nostyle().menu()};if("createlink"===c){var e,f=i.getElementsByTagName("input")[0];return f.style.display="block",f.focus(),e=function(a){return a.style.display="none",a.value?d(a.value.replace(/(^\s+)|(\s+$)/g,"").replace(/^(?!http:\/\/|https:\/\/)(.*)$/,"http://$1")):(c="unlink",void d())},f.onkeypress=function(a){return 13===a.which?e(a.target):void 0},f.onkeypress}d()}}),this},b.prototype.highlight=function(){var a,b=this._sel.focusNode,c=this._effectNode(b),d=this._menu,e=d.querySelector("input");return[].slice.call(d.querySelectorAll(".active")).forEach(function(a){a.classList.remove("active")}),e&&(e.style.display="none"),a=function(a){var b=".icon-"+a,c=d.querySelector(b);return c&&c.classList.add("active")},c.forEach(function(b){var c=b.nodeName.toLowerCase();switch(c){case"a":return d.querySelector("input").value=b.href,a("createlink");case"i":return a("italic");case"u":return a("underline");case"b":return a("bold");case"ul":return a("insertunorderedlist");case"ol":return a("insertorderedlist");case"ol":return a("insertorderedlist");case"li":return a("indent");default:a(c)}}),this},b.prototype.actions=function(){var a,b,c,e,f=this;return a={block:/^(?:p|h[1-6]|blockquote|pre)$/,inline:/^(?:bold|italic|underline|insertorderedlist|insertunorderedlist|indent|outdent)$/,source:/^(?:insertimage|createlink|unlink)$/,insert:/^(?:inserthorizontalrule|insert)$/},c=function(a,b){var c=" to exec 「"+a+"」 command"+(b?" with value: "+b:"");d.log(document.execCommand(a,!1,b)&&f.config.debug?"success"+c:"fail"+c)},e=function(a){for(var b=f._sel.getRangeAt(0),d=b.startContainer;1!==d.nodeType;)d=d.parentNode;return b.selectNode(d),b.collapse(!1),c(a)},b=function(a){if(-1!==f._effectNode(f._sel.getRangeAt(0).startContainer,!0).indexOf(a)){if("blockquote"===a)return document.execCommand("outdent",!1,null);a="p"}return c("formatblock",a)},this._actions=function(f,g){f.match(a.block)?b(f):f.match(a.inline)||f.match(a.source)?c(f,g):f.match(a.insert)?e(f):this.config.debug&&d.log("can not find command function for name: "+f+(g?", value: "+g:""))},this},b.prototype.menu=function(){var a=this._range.getBoundingClientRect(),b=a.top-10,c=a.left+a.width/2,d=this._menu;return d.style.display="block",d.style.top=b-d.clientHeight+"px",d.style.left=c-d.clientWidth/2+"px",this},b.prototype.stay=function(){var a=this;window.onbeforeunload||(window.onbeforeunload=function(){return a._isDestroyed?void 0:"Are you going to leave here?"})},b.prototype.destroy=function(a){var b=a?!1:!0,c=a?"setAttribute":"removeAttribute";return a||(this._sel.removeAllRanges(),this._menu.style.display="none"),this._isDestroyed=b,this.config.editor[c]("contenteditable",""),this},b.prototype.rebuild=function(){return this.destroy("it's a joke")},c=function(a){if(!a)return d.log("can't find config",!0);var b=d.merge(a),c=b.editor.getAttribute("class");return c=c?c.replace(/\bpen\b/g,"")+" pen-textarea "+b["class"]:"pen pen-textarea",b.editor.setAttribute("class",c),b.editor.innerHTML=b.textarea,b.editor},this.Pen=a.getSelection?b:c}(document),function(){if(this.Pen){var a={keymap:{96:"`",62:">",49:"1",46:".",45:"-",42:"*",35:"#"},stack:[]};a.valid=function(a){var b=a.length;return a.match(/[#]{1,6}/)?["h"+b,b]:"```"===a?["pre",b]:">"===a?["blockquote",b]:"1."===a?["insertorderedlist",b]:"-"===a||"*"===a?["insertunorderedlist",b]:a.match(/(?:\.|\*|\-){3,}/)?["inserthorizontalrule",b]:void 0},a.parse=function(a){var b=a.keyCode||a.which;if(32===b){var c=this.stack.join("");return this.stack.length=0,this.valid(c)}return this.keymap[b]&&this.stack.push(this.keymap[b]),!1},a.action=function(a,b){if(!(a._sel.focusOffset>b[1])){var c=a._sel.focusNode;c.textContent=c.textContent.slice(b[1]),a._actions(b[0]),a.nostyle()}},a.init=function(b){b.config.editor.addEventListener("keypress",function(c){var d=a.parse(c);return d?a.action(b,d):void 0})},window.Pen.prototype.markdown=a}}(),FrontendCore.define("wysiwyg",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,mediator:FrontendMediator,bResize:!1,_oConstants:{EDITOR_SUFIX:"-editor",TEXTAREA_SUFIX:"-textarea",TEXTAREA_CLASS:"fc-wysiwyg-textarea",FULLSCREEN_EDITABLE_CLASS:"fc-wysiwyg-full-screen",TextHelp:"Select some text to get some formatting options.",TextVisual:' VISUAL',TextHtml:' HTML',TextFullscreen:' FULLSCREEN',TextMinscreen:' MINIMIZE'},oDefault:{"class":"fc-wysiwyg",debug:!1,stay:!1,list:["bold","italic","underline","insertunorderedlist","createlink"]},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="wysiwyg"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","wysiwyg"),$(a).each(function(){"true"!==this.getAttribute("data-fc-active")&&(this.setAttribute("data-fc-active","true"),b.autobind(this))}),b.fDatePollyfill(),b.mediator.subscribe("close:wysiwyg",this.closeFormatOptions)},fDatePollyfill:function(){Date.now||(Date.now=function(){return(new Date).getTime()})},closeFormatOptions:function(){$(".fc-wysiwyg-menu").hide()},updateTextarea:function(a,b){b.value=" "==document.getElementById(a).innerHTML?"":document.getElementById(a).innerHTML},updateEditArea:function(a,b){document.getElementById(a).innerHTML=$("#"+b.id).val()},createEditArea:function(a,b,c){var d=document.createElement("div");return d.id=a,d.className="fc-wysiwyg",d.innerHTML=$(b).text(),d.setAttribute("data-help",c.help),d},createLink:function(a,b,c){var d=document.createElement("a");return d.innerHTML=c,d.href="#",d.id=b+"-"+a,d.className="button button-slim",d},createLinkGroup:function(a){var b=document.createElement("div");b.className="fc-wysiwyg-switch button-group ph-n";for(var c=0;c0&&(f=h.createLinkGroup(n),$(a).after(f)),a.className=h._oConstants.TEXTAREA_CLASS+" fc-wysiwyg-html",$(a).before(m),g.editor=document.getElementById(k),g.textarea=a,null!==l){aValues=l.split(","),g.list=[];for(var o=0;aValues.length>o;o++)g.list.push(aValues[o])}b=FrontendTools.mergeOptions(h.oDefault,g),c=new Pen(b),h.bindForm(k,a,i),h.bindTextarea(k,a,i),-1===window.navigator.userAgent.indexOf("MSIE")&&(null!==a.getAttribute("data-fc-html")?"false"!==a.getAttribute("data-fc-html")&&h.bindHtmlButton(k,a,i):h.bindHtmlButton(k,a,i),null!==a.getAttribute("data-fc-fullscreen")?"false"!==a.getAttribute("data-fc-fullscreen")&&h.bindScreenButton(k,a,i):h.bindScreenButton(k,a,i)),document.querySelectorAll&&document.querySelector("div[contenteditable]").addEventListener("paste",function(a){a.preventDefault();var b=a.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,b)})},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
+!function(a){var b,c,d={};d.is=function(a,b){return Object.prototype.toString.call(a).slice(8,-1)===b},d.copy=function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];a[c]=this.is(d,"Object")?this.copy({},d):this.is(d,"Array")?this.copy([],d):d}return a},d.log=function(a,b){(window._pen_debug_mode_on||b)&&console.log("%cPEN DEBUGGER: %c"+a,"font-family:arial,sans-serif;color:#1abf89;line-height:2em;","font-family:cursor,monospace;color:#333;")},d.shift=function(a,b,c){c=c||50;var d,e=this["_shift_fn"+a],f="shift_timeout"+a;e?e.concat([b,c]):e=[[b,c]],d=e.pop(),clearTimeout(this[f]),this[f]=setTimeout(function(){d[0]()},c)},d.merge=function(b){var c={"class":"pen",debug:!1,stay:b.stay||!b.debug,textarea:'',list:["blockquote","h2","h3","p","insertorderedlist","insertunorderedlist","inserthorizontalrule","indent","outdent","bold","italic","underline","createlink"]};return 1===b.nodeType?c.editor=b:b.match&&b.match(/^#[\S]+$/)?c.editor=a.getElementById(b.slice(1)):c=d.copy(c,b),c},b=function(b){if(!b)return d.log("can't find config",!0);var c=d.merge(b);if(1!==c.editor.nodeType)return d.log("can't find editor");c.debug&&(window._pen_debug_mode_on=!0);var e=c.editor;e.classList.add(c["class"]);var f=e.getAttribute("contenteditable");f||e.setAttribute("contenteditable","true"),this.config=c,this._sel=a.getSelection(),this.actions(),this.toolbar(),this.markdown&&this.markdown.init(this),this.config.stay&&this.stay()},b.prototype._effectNode=function(a,b){for(var c=[];a!==this.config.editor;)a.nodeName.match(/(?:[pubia]|h[1-6]|blockquote|[uo]l|li)/i)&&c.push(b?a.nodeName.toLowerCase():a),a=a.parentNode;return c},b.prototype.nostyle=function(){var a=this.config.editor.querySelectorAll("[style]");return[].slice.call(a).forEach(function(a){a.removeAttribute("style")}),this},b.prototype.toolbar=function(){for(var b=this,c="",e=0,f=this.config.list;e'+(g.match(/^h[1-6]|p$/i)?g.toUpperCase():"")+"","createlink"===g&&(c+=' ')}var i=a.createElement("div");i.setAttribute("class",this.config["class"]+"-menu pen-menu"),i.innerHTML=c,i.style.display="none",a.body.appendChild(this._menu=i);var j=function(){"block"===i.style.display&&b.menu()};window.addEventListener("resize",j),window.addEventListener("scroll",j);var k=this.config.editor,l=function(){b._isDestroyed||d.shift("toggle_menu",function(){var a=b._sel;a.isCollapsed?b._menu.style.display="none":(b._range=a.getRangeAt(0),b.menu().highlight())},200)};return k.addEventListener("mouseup",l),k.addEventListener("keyup",l),i.addEventListener("click",function(a){var c=a.target.getAttribute("data-action");if(c){var d=function(a){b._sel.removeAllRanges(),b._sel.addRange(b._range),b._actions(c,a),b._range=b._sel.getRangeAt(0),b.highlight().nostyle().menu()};if("createlink"===c){var e,f=i.getElementsByTagName("input")[0];return f.style.display="block",f.focus(),e=function(a){return a.style.display="none",a.value?d(a.value.replace(/(^\s+)|(\s+$)/g,"").replace(/^(?!http:\/\/|https:\/\/)(.*)$/,"http://$1")):(c="unlink",void d())},f.onkeypress=function(a){return 13===a.which?e(a.target):void 0},f.onkeypress}d()}}),this},b.prototype.highlight=function(){var a,b=this._sel.focusNode,c=this._effectNode(b),d=this._menu,e=d.querySelector("input");return[].slice.call(d.querySelectorAll(".active")).forEach(function(a){a.classList.remove("active")}),e&&(e.style.display="none"),a=function(a){var b=".icon-"+a,c=d.querySelector(b);return c&&c.classList.add("active")},c.forEach(function(b){var c=b.nodeName.toLowerCase();switch(c){case"a":return d.querySelector("input").value=b.href,a("createlink");case"i":return a("italic");case"u":return a("underline");case"b":return a("bold");case"ul":return a("insertunorderedlist");case"ol":return a("insertorderedlist");case"ol":return a("insertorderedlist");case"li":return a("indent");default:a(c)}}),this},b.prototype.actions=function(){var a,b,c,e,f=this;return a={block:/^(?:p|h[1-6]|blockquote|pre)$/,inline:/^(?:bold|italic|underline|insertorderedlist|insertunorderedlist|indent|outdent)$/,source:/^(?:insertimage|createlink|unlink)$/,insert:/^(?:inserthorizontalrule|insert)$/},c=function(a,b){var c=" to exec 「"+a+"」 command"+(b?" with value: "+b:"");d.log(document.execCommand(a,!1,b)&&f.config.debug?"success"+c:"fail"+c)},e=function(a){for(var b=f._sel.getRangeAt(0),d=b.startContainer;1!==d.nodeType;)d=d.parentNode;return b.selectNode(d),b.collapse(!1),c(a)},b=function(a){if(-1!==f._effectNode(f._sel.getRangeAt(0).startContainer,!0).indexOf(a)){if("blockquote"===a)return document.execCommand("outdent",!1,null);a="p"}return c("formatblock",a)},this._actions=function(f,g){f.match(a.block)?b(f):f.match(a.inline)||f.match(a.source)?c(f,g):f.match(a.insert)?e(f):this.config.debug&&d.log("can not find command function for name: "+f+(g?", value: "+g:""))},this},b.prototype.menu=function(){var a=this._range.getBoundingClientRect(),b=a.top-10,c=a.left+a.width/2,d=this._menu;return d.style.display="block",d.style.top=b-d.clientHeight+"px",d.style.left=c-d.clientWidth/2+"px",this},b.prototype.stay=function(){var a=this;window.onbeforeunload||(window.onbeforeunload=function(){return a._isDestroyed?void 0:"Are you going to leave here?"})},b.prototype.destroy=function(a){var b=a?!1:!0,c=a?"setAttribute":"removeAttribute";return a||(this._sel.removeAllRanges(),this._menu.style.display="none"),this._isDestroyed=b,this.config.editor[c]("contenteditable",""),this},b.prototype.rebuild=function(){return this.destroy("it's a joke")},c=function(a){if(!a)return d.log("can't find config",!0);var b=d.merge(a),c=b.editor.getAttribute("class");return c=c?c.replace(/\bpen\b/g,"")+" pen-textarea "+b["class"]:"pen pen-textarea",b.editor.setAttribute("class",c),b.editor.innerHTML=b.textarea,b.editor},this.Pen=a.getSelection?b:c}(document),function(){if(this.Pen){var a={keymap:{96:"`",62:">",49:"1",46:".",45:"-",42:"*",35:"#"},stack:[]};a.valid=function(a){var b=a.length;return a.match(/[#]{1,6}/)?["h"+b,b]:"```"===a?["pre",b]:">"===a?["blockquote",b]:"1."===a?["insertorderedlist",b]:"-"===a||"*"===a?["insertunorderedlist",b]:a.match(/(?:\.|\*|\-){3,}/)?["inserthorizontalrule",b]:void 0},a.parse=function(a){var b=a.keyCode||a.which;if(32===b){var c=this.stack.join("");return this.stack.length=0,this.valid(c)}return this.keymap[b]&&this.stack.push(this.keymap[b]),!1},a.action=function(a,b){if(!(a._sel.focusOffset>b[1])){var c=a._sel.focusNode;c.textContent=c.textContent.slice(b[1]),a._actions(b[0]),a.nostyle()}},a.init=function(b){b.config.editor.addEventListener("keypress",function(c){var d=a.parse(c);return d?a.action(b,d):void 0})},window.Pen.prototype.markdown=a}}(),FrontendCore.define("wysiwyg",[],function(){return{sPathCss:oGlobalSettings.sPathCssUI+"?v="+oGlobalSettings.sHash,mediator:FrontendMediator,bResize:!1,_oConstants:{EDITOR_SUFIX:"-editor",TEXTAREA_SUFIX:"-textarea",TEXTAREA_CLASS:"fc-wysiwyg-textarea",FULLSCREEN_EDITABLE_CLASS:"fc-wysiwyg-full-screen",TextHelp:"Select some text to get some formatting options.",TextVisual:' VISUAL',TextHtml:' HTML',TextFullscreen:' FULLSCREEN',TextMinscreen:' MINIMIZE'},oDefault:{"class":"fc-wysiwyg",debug:!1,stay:!1,list:["bold","italic","underline","insertunorderedlist","createlink"]},onStart:function(){var a=document.querySelectorAll('[data-fc-modules="wysiwyg"]'),b=this;FrontendTools.loadCSS(this.sPathCss),FrontendTools.trackModule("JS_Libraries","call","wysiwyg"),$(a).each(function(){"true"!==this.getAttribute("data-fc-active")&&(this.setAttribute("data-fc-active","true"),b.autobind(this))}),b.fDatePollyfill(),b.mediator.subscribe("close:wysiwyg",this.closeFormatOptions)},fDatePollyfill:function(){Date.now||(Date.now=function(){return(new Date).getTime()})},closeFormatOptions:function(){$(".fc-wysiwyg-menu").hide()},updateTextarea:function(a,b){b.value=" "==document.getElementById(a).innerHTML?"":document.getElementById(a).innerHTML},updateEditArea:function(a,b){document.getElementById(a).innerHTML=$("#"+b.id).val()},createEditArea:function(a,b,c){var d=document.createElement("div");return d.id=a,d.className="fc-wysiwyg",d.innerHTML=$(b).text(),d.setAttribute("data-help",c.help),d},createLink:function(a,b,c){var d=document.createElement("a");return d.innerHTML=c,d.href="#",d.id=b+"-"+a,d.className="button button-slim",d},createLinkGroup:function(a){var b=document.createElement("div");b.className="fc-wysiwyg-switch button-group ph-n";for(var c=0;c0&&(f=h.createLinkGroup(n),$(a).after(f)),a.className=h._oConstants.TEXTAREA_CLASS+" fc-wysiwyg-html",$(a).before(m),g.editor=document.getElementById(k),g.textarea=a,null!==l){aValues=l.split(","),g.list=[];for(var o=0;aValues.length>o;o++)g.list.push(aValues[o])}b=FrontendTools.mergeOptions(h.oDefault,g),c=new Pen(b),h.bindForm(k,a,i),h.bindTextarea(k,a,i),-1===window.navigator.userAgent.indexOf("MSIE")&&(null!==a.getAttribute("data-fc-html")?"false"!==a.getAttribute("data-fc-html")&&h.bindHtmlButton(k,a,i):h.bindHtmlButton(k,a,i),null!==a.getAttribute("data-fc-fullscreen")?"false"!==a.getAttribute("data-fc-fullscreen")&&h.bindScreenButton(k,a,i):h.bindScreenButton(k,a,i)),document.querySelectorAll&&document.querySelector("div[contenteditable]").addEventListener("paste",function(a){a.preventDefault();var b=a.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,b)}),FrontendTools.removeLoading(a)},onStop:function(){this.sPathCss=null},onDestroy:function(){delete this.sPathCss}}});
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/.bower.json b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/.bower.json
index 16800899..9416bf8a 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/.bower.json
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/.bower.json
@@ -1,6 +1,6 @@
{
"name": "frontendcore-scss",
- "version": "1.6.5",
+ "version": "1.6.9",
"authors": [
"Toni Pinel "
],
@@ -15,11 +15,11 @@
"bower_components",
"tests"
],
- "_release": "1.6.5",
+ "_release": "1.6.9",
"_resolution": {
"type": "version",
- "tag": "1.6.5",
- "commit": "b783c64af6a644c784a383bf149f73d0c83de05a"
+ "tag": "1.6.9",
+ "commit": "20d8319deba982fedfaf5c7af57487a16ab323e4"
},
"_source": "https://github.com/Frontendcore/scss.git",
"_target": "*",
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_objects.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_objects.scss
index a878e77e..99bbef1a 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_objects.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_objects.scss
@@ -209,4 +209,13 @@ $object-animations: map-get($objects, animations) !global;
* @link http://www.frontendcore.com/content/balloons.html
* @group objects
*/
-$object-balloons: map-get($objects, balloons) !global;
\ No newline at end of file
+$object-balloons: map-get($objects, balloons) !global;
+
+/**
+ * Includes the classes at main css for tables
+ * Posible values: default, false
+ * @type string
+ * @link http://www.frontendcore.com/tables/static-table.html
+ * @group objects
+ */
+$object-tables: map-get($objects, tables) !global;
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_ui.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_ui.scss
index 2bc0237d..4ba97909 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_ui.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/_config/_ui.scss
@@ -100,4 +100,20 @@ $ui-sortable: map-get($user-interface, sortable) !global;
* @link http://www.frontendcore.com/content/cart.html
* @group User Interface
*/
-$ui-cart: map-get($user-interface, cart) !global;
\ No newline at end of file
+$ui-cart: map-get($user-interface, cart) !global;
+
+/**
+ * Includes the classes at main css for Image-zoom UI
+ * @type boolean
+ * @link http://www.frontendcore.com/media/image-zoom.html
+ * @group User Interface
+ */
+$ui-image-zoom: map-get($user-interface, image-zoom) !global;
+
+/**
+ * Includes the classes at main css for Image-edit UI
+ * @type boolean
+ * @link http://www.frontendcore.com/media/image-edit.html
+ * @group User Interface
+ */
+$ui-image-edit: map-get($user-interface, image-edit) !global;
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/base/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/base/__index.scss
index ed559dfe..722045d4 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/base/__index.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/base/__index.scss
@@ -5,6 +5,4 @@
// typography
@import 'fonts';
// grid
-@import 'grid';
-// tables
-@import 'tables';
\ No newline at end of file
+@import 'grid';
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/bower.json b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/bower.json
index 3eb07737..aedf7260 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/bower.json
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/bower.json
@@ -1,6 +1,6 @@
{
"name": "frontendcore-scss",
- "version": "1.6.5",
+ "version": "1.6.9",
"authors": [
"Toni Pinel "
],
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/__index.scss
index 98be828a..3e13c26f 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/__index.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/__index.scss
@@ -1,6 +1,6 @@
// boxes
@import 'icons/_index';
-// boxes
+// animations
@import 'animations/_index';
// boxes
@import 'boxes/_index';
@@ -34,5 +34,9 @@
@import 'tags/_index';
// switchs
@import 'switch/_index';
+// tables
+@import 'tables/_index';
// balloons
@import 'balloons/_index';
+// loading
+@import 'loading/__index.scss';
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/__index.scss
index 6f8a1971..16ea93b3 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/__index.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/__index.scss
@@ -1 +1 @@
-@import 'footer';
\ No newline at end of file
+@import "_footer.scss";
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/_footer.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/_footer.scss
index d03f8a8d..4fc2a4e4 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/_footer.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/footer/_footer.scss
@@ -1,8 +1,9 @@
@if $object-footer != false and $ui != true {
.footer {
- @extend %header-footer;
- margin: $spacing*4 0 0;
+ @extend %header-footer;
+ margin: $spacing*4 -2px 0;
+ width: 102%;
}
}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/forms/_placeholder.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/forms/_placeholder.scss
index a380ec11..d8435084 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/forms/_placeholder.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/forms/_placeholder.scss
@@ -17,6 +17,10 @@
&:focus {
@extend %focus;
}
+ &.error {
+ background: rgba($color-ko, .1);
+ border: 1px solid $color-ko;
+ }
}
%field-error {
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/header/_header.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/header/_header.scss
index 5d9894c5..2e265287 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/header/_header.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/header/_header.scss
@@ -18,14 +18,32 @@
}
}
}
-
+
.header-spacing {
display: none;
}
}
-@mixin mobile-header() {
+@if $object-navigation == tabbed and $ui != true {
+ .header {
+ .menu {
+ & {
+ @include background-image(linear-gradient($color-primary-light 1%, $color-primary 100%));
+ @include background-gradient-ie-old($color-primary-light, $color-primary);
+ border-top:1px solid $color-primary;
+ @include box-shadow(inset 0 1px 2px rgba($color-background, .5));
+ margin-top: $spacing/2;
+ }
+ }
+ .navigation {
+ background: none;
+ filter:none;
+ }
+ }
+}
+
+@mixin mobile-header(){
.header-spacing {
height: 68px;
display: block;
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/lists/_list.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/lists/_list.scss
index d444504a..24b50f29 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/lists/_list.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/lists/_list.scss
@@ -2,7 +2,7 @@
ul[class*='list-'], ul.list {
& {
- list-style: disc inside;
+ list-style: disc outside;
padding-left: $spacing;
}
ul {
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/loading/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/loading/__index.scss
new file mode 100644
index 00000000..529fc47c
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/loading/__index.scss
@@ -0,0 +1 @@
+@import "loading";
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/loading/_loading.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/loading/_loading.scss
new file mode 100644
index 00000000..5f45825e
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/loading/_loading.scss
@@ -0,0 +1,22 @@
+.loading {
+ &:before {
+ content: $fa-var-circle-o-notch !important;
+ font-family: fontawesome !important;
+ width: 100% !important;
+ font-size: 3em !important;
+ display: block !important;
+ overflow: hidden !important;
+ text-align: center !important;
+ background: transparent !important;
+ color: rgba($color-foreground, .5) !important;
+ padding: $spacing !important;
+ -webkit-animation: spin 2s infinite linear;
+ -moz-animation: spin 2s infinite linear;
+ -o-animation: spin 2s infinite linear;
+ animation: spin 2s infinite linear;
+ @include box-sizing(border-box);
+ }
+ * {
+ display: none !important;
+ }
+}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__index.scss
new file mode 100644
index 00000000..25b23af4
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__index.scss
@@ -0,0 +1,3 @@
+@import "_vars";
+@import "_vars-mix";
+@import "tables";
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__vars-mix.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__vars-mix.scss
new file mode 100644
index 00000000..af00dd32
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__vars-mix.scss
@@ -0,0 +1,3 @@
+$object-tables-vars-custom: () !global !default;
+
+$object-tables-vars: map-merge($object-tables-vars-default, $object-tables-vars-custom) !global;
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__vars.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__vars.scss
new file mode 100644
index 00000000..6af33c31
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/__vars.scss
@@ -0,0 +1,47 @@
+$object-tables-vars-default: (
+
+ /* TABLE */
+ table-border-width: 0,
+ table-border-color: transparent,
+ table-border-style: none,
+
+ /* THEAD TD & THEAD TH */
+ thead-cell-padding: $spacing/4 $spacing/2,
+ thead-cell-border-width: 0 0 1px 0,
+ thead-cell-border-color: $color-box,
+ thead-cell-border-style: solid,
+ thead-cell-font-size: $font-size-default,
+ thead-cell-font-family: $font-face-default,
+ thead-cell-font-weight: normal,
+ thead-cell-background: transparent,
+ thead-cell-align: left,
+ thead-cell-vertical-align: middle,
+ thead-cell-color: $color-foreground,
+
+ /* TBODY */
+ tbody-ouline: 2px solid $color-background,
+ tbody-border-width: 1px,
+ tbody-border-color: $color-box-light,
+ tbody-border-style: solid,
+ tbody-color: $color-foreground,
+ tbody-background: $color-background,
+
+ /* TBODY TR */
+ tr-odd-background: rgba($color-box, .5),
+ tr-hover-background: rgba($color-primary, .1),
+
+ /* TBODY TD */
+ tbody-cell-padding: $spacing/2 $spacing/2,
+ tbody-cell-border-width: 0 1px 1px 0,
+ tbody-cell-border-color: $color-box,
+ tbody-cell-border-style: solid,
+ tbody-cell-font-size: $font-size-default,
+ tbody-cell-font-family: $font-face-default,
+ tbody-cell-font-weight: normal,
+ tbody-cell-background: transparent,
+ tbody-cell-align: left,
+ tbody-cell-vertical-align: middle,
+ tbody-cell-color: $color-foreground,
+
+) !global !default;
+
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/_tables.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/_tables.scss
new file mode 100644
index 00000000..f2687df4
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/objects/tables/_tables.scss
@@ -0,0 +1,90 @@
+@if $object-tables != false and $ui != true {
+
+ .table-mobile {
+ display: none;
+ }
+
+ .table {
+ & {
+ max-width: 100%;
+ min-width: 100%;
+ @include box-sizing(border-box);
+ border-width: map-get($object-tables-vars, table-border-width);
+ border-color: map-get($object-tables-vars, table-border-color);
+ border-style: map-get($object-tables-vars, table-border-style);
+ }
+ caption {
+ margin: 0 0 $spacing/4;
+ padding: 0;
+ text-transform: uppercase;
+ }
+ thead th, thead td {
+ padding: map-get($object-tables-vars, thead-cell-padding);
+ border-width: map-get($object-tables-vars, thead-cell-border-width);
+ border-color: map-get($object-tables-vars, thead-cell-border-color);
+ border-style: map-get($object-tables-vars, thead-cell-border-style);
+ font-weight: map-get($object-tables-vars, thead-cell-font-weight);
+ font-family: map-get($object-tables-vars, thead-cell-font-family);
+ font-size: map-get($object-tables-vars, thead-cell-font-size);
+ background: map-get($object-tables-vars, thead-cell-background);
+ text-align: map-get($object-tables-vars, thead-cell-align);
+ color: map-get($object-tables-vars, thead-cell-color);
+ vertical-align: map-get($object-tables-vars, thead-cell-vertical-align);
+ }
+ tbody {
+ outline: map-get($object-tables-vars, tbody-outline);
+ border-width: map-get($object-tables-vars, tbody-border-width);
+ border-color: map-get($object-tables-vars, tbody-border-color);
+ border-style: map-get($object-tables-vars, tbody-border-style);
+ color: map-get($object-tables-vars, tbody-color);
+ background: map-get($object-tables-vars, tbody-background);
+ }
+ tbody tr:nth-child(odd) td {
+ background-color: map-get($object-tables-vars, tr-odd-background);
+ }
+
+ tbody tr:hover td {
+ background-color: map-get($object-tables-vars, tr-hover-background);
+ }
+ tbody tr > td {
+ padding: map-get($object-tables-vars, tbody-cell-padding);
+ border-width: map-get($object-tables-vars, tbody-cell-border-width);
+ border-color: map-get($object-tables-vars, tbody-cell-border-color);
+ border-style: map-get($object-tables-vars, tbody-cell-border-style);
+ font-weight: map-get($object-tables-vars, tbody-cell-font-weight);
+ font-family: map-get($object-tables-vars, tbody-cell-font-family);
+ font-size: map-get($object-tables-vars, tbody-cell-font-size);
+ background: map-get($object-tables-vars, tbody-cell-background);
+ text-align: map-get($object-tables-vars, tbody-cell-align);
+ color: map-get($object-tables-vars, tbody-cell-color);
+ vertical-align: map-get($object-tables-vars, tbody-cell-vertical-align);
+ }
+ tbody tr > td:last-child {
+ border-right: none;
+ }
+ }
+
+}
+
+@mixin mobile-tables() {
+ .table-mobile {
+ display: table !important;
+ }
+ .table {
+ & {
+ display: block;
+ overflow-x: auto;
+ width: 100%;
+ position: relative;
+ }
+ &[data-fc-modules="table"] {
+ display: table !important;
+ }
+ &[data-fc-modules="table-responsive"] {
+ display: none;
+ }
+ td, th {
+ white-space: nowrap;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_objects.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_objects.scss
index 055c86ec..14a8e2d5 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_objects.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_objects.scss
@@ -23,5 +23,6 @@ $objects-default: (
labels: default,
switch: default,
animations: default,
- balloons: default
+ balloons: default,
+ tables: default
) !global !default;
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_ui.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_ui.scss
index 71c70dfb..39810c43 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_ui.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/skins/default/_ui.scss
@@ -11,5 +11,7 @@ $user-interface-default: (
tables: true,
tags: true,
tips: true,
- wysiwyg: true
+ wysiwyg: true,
+ image-zoom: true,
+ image-edit: true
) !global !default;
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/__index.scss
index 51bca8c2..1a4329d6 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/__index.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/__index.scss
@@ -10,4 +10,6 @@
@import 'tables/_index';
@import 'tags/_index';
@import 'tips/_index';
-@import 'wysiwyg/_index';
\ No newline at end of file
+@import 'wysiwyg/_index';
+@import 'image-zoom/_index';
+@import 'image-edit/_index';
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/__index.scss
new file mode 100644
index 00000000..6217d9a7
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/__index.scss
@@ -0,0 +1,3 @@
+@import 'layout';
+@import 'buttons';
+@import 'toolbar';
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_buttons.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_buttons.scss
new file mode 100644
index 00000000..6398be82
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_buttons.scss
@@ -0,0 +1,49 @@
+@if $ui-image-edit == true and $ui == true {
+
+ .darkroom-button {
+ display: inline-block;
+ background: transparent;
+ color: $color-background;
+ font-weight: 300;
+ border: none;
+ font-size: 20px;
+ outline: none;
+ padding: 0;
+ height: 40px;
+ width: 40px;
+ box-sizing: border-box;
+ }
+ .darkroom-button.darkroom-button-active {
+ color: #33b5e5;
+ }
+ .darkroom-button.darkroom-button-hidden {
+ display: none;
+ }
+ .darkroom-button:disabled {
+ color: rgba($color-background, .1);
+ }
+ .darkroom-button:disabled:hover {
+ cursor: default;
+ /*cursor: not-allowed;*/
+ background: transparent;
+ }
+
+ .darkroom-button.darkroom-button-success {
+ color: $color-ok;
+ }
+ .darkroom-button.darkroom-button-warning {
+ color: $color-warning;
+ }
+ .darkroom-button.darkroom-button-danger {
+ color: $color-ko;
+ }
+
+ .darkroom-button:hover {
+ cursor: pointer;
+ background: rgba($color-foreground, .2);
+ }
+ .darkroom-button:active {
+ cursor: pointer;
+ background: #333;
+ }
+}
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_layout.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_layout.scss
new file mode 100644
index 00000000..aa0fb548
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_layout.scss
@@ -0,0 +1,13 @@
+@if $ui-image-edit == true and $ui == true {
+ .darkroom-container {
+ position: relative;
+ }
+
+ .darkroom-image-container {
+ top: 0;
+ left: 0;
+ }
+ .darkroom-image-container img {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_toolbar.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_toolbar.scss
new file mode 100644
index 00000000..722f10d3
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-edit/_toolbar.scss
@@ -0,0 +1,81 @@
+@if $ui-image-edit == true and $ui == true {
+ .darkroom-toolbar {
+ position: absolute;
+ top: -45px;
+ left: 0;
+ background: $color-foreground;
+ height: 40px;
+ display: block;
+ z-index: 99;
+ border-radius: 2px;
+ white-space: nowrap;
+ }
+ .darkroom-toolbar:before {
+ content: "";
+ position: absolute;
+ bottom: -7px;
+ left: 20px;
+ width: 0;
+ height: 0;
+ border-left: 7px solid transparent;
+ border-right: 7px solid transparent;
+ border-top: 7px solid $color-foreground;
+ }
+
+ ul.darkroom-toolbar-actions {
+ list-style: none;
+ padding: 0 5px;
+ margin: 0;
+ }
+ .darkroom-toolbar-actions li {
+ display: inline-block;
+ padding: 0;
+ margin: 0;
+ }
+
+ ul.darkroom-toolbar-actions li.darkroom-button-group {
+ border-right: 1px solid rgba($color-background, .3);
+ }
+ ul.darkroom-toolbar-actions li.darkroom-button-group:last-child {
+ border-right: none;
+ }
+
+ [class^='darkroom-icon'] {
+ & {
+ font-style: normal;
+ }
+ &:before {
+ font-family: "fontawesome";
+
+ }
+ }
+
+ .darkroom-icon-back:before {
+ content: $fa-var-arrow-left;
+ }
+
+ .darkroom-icon-forward:before {
+ content: $fa-var-arrow-right;
+ }
+
+ .darkroom-icon-rotate-left:before {
+ content: $fa-var-undo;
+ }
+
+ .darkroom-icon-rotate-right:before {
+ content: $fa-var-repeat;
+ }
+ .darkroom-icon-crop:before {
+ content: $fa-var-crop;
+ }
+ .darkroom-icon-accept:before {
+ content: $fa-var-check;
+ }
+ .darkroom-icon-cancel:before {
+ content: $fa-var-times;
+
+ }
+ .darkroom-icon-save:before {
+ content: $fa-var-floppy-o;
+ }
+}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-zoom/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-zoom/__index.scss
new file mode 100644
index 00000000..1976807c
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-zoom/__index.scss
@@ -0,0 +1 @@
+@import "image-zoom";
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-zoom/_image-zoom.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-zoom/_image-zoom.scss
new file mode 100644
index 00000000..50529fde
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/image-zoom/_image-zoom.scss
@@ -0,0 +1,71 @@
+@if $ui-image-zoom == true and $ui == true {
+
+ .magnifier-thumb-wrapper {
+ position: relative;
+ display: inline-block;
+ top: 0;
+ left: 0
+ }
+
+ .magnifier-lens {
+ position: absolute;
+ border: solid 1px $color-box;
+ z-index: 1000;
+ top: 0;
+ left: 0;
+ overflow: hidden;
+ }
+
+ .magnifier-loader {
+ position: absolute;
+ top: 0;
+ left: 0;
+ border: solid 1px $color-box;
+ color: #fff;
+ text-align: center;
+ background: transparent;
+ background: rgba(50, 50, 50, 0.5);
+ z-index: 1000;
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F323232,endColorstr=#7F323232)";
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F323232, endColorstr=#7F323232)
+ }
+
+ .magnifier-loader-text {
+ font: 13px Arial;
+ margin-top: 10px
+ }
+
+ .magnifier-large {
+ position: absolute;
+ z-index: 100
+ }
+
+ .magnifier-preview {
+ padding: 0;
+ position: absolute;
+ top: 0;
+ left: 0;
+ overflow: hidden;
+ box-shadow: 1px 1px 10px rgba($color-foreground, .5);
+
+ }
+
+ .magnifier-preview img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ max-width: inherit;
+ height: inherit;
+
+ }
+
+ .opaque {
+ opacity: .5;
+ filter: alpha(opacity=50);
+ -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50)
+ }
+
+ .hidden {
+ display: none
+ }
+}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/side-panel/_side-panel.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/side-panel/_side-panel.scss
index a61f6f47..74cb2f43 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/side-panel/_side-panel.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/side-panel/_side-panel.scss
@@ -1,16 +1,32 @@
@if $ui-side-panel == true and $ui == true {
- .black-panel {
+ .side-black-panel {
background: rgba(#000, .7);
position: fixed;
height: 100%;
width: 100%;
z-index: 100;
top: 0;
+ @include transition(opacity 1s linear);
}
- .header, .grid {
- transition: left 300ms ease-in-out, right 300ms ease-in-out;
+ .side-panel-default {
+ & {
+ position: fixed;
+ z-index: 1000;
+ overflow-y: auto;
+ top: 0;
+ height: 100%;
+ width: 300px;
+ }
+ &.side-panel-left {
+ left: 0;
+ @include box-shadow(inset -7px 0 9px -7px rgba($color-foreground ,.4));
+ }
+ &.side-panel-right {
+ right: 0;
+ @include box-shadow(inset 7px 0 9px -7px rgba($color-foreground ,.4));
+ }
}
.side-panel-tab {
@@ -27,37 +43,4 @@
right: 0;
}
- .side-panel-default {
- & {
- position: relative;
- z-index: 1000;
- overflow-y: auto;
- }
-
-
- a[data-fc-modules='side-panel'] {
- & {
- display: block;
- position: absolute;
- top: 50%;
- padding: $spacing/2;
- @include border-radius($default-border-radius $default-border-radius 0 0);
- background: $color-primary;
- color: contrast-color($color-primary);
- box-sizing: border-box;
- text-align: center;
-
- }
- &:hover {
- text-decoration: none;
- @include opacity(.9);
- }
- }
- &.side-panel-left {
- @include box-shadow(inset -7px 0 9px -7px rgba($color-foreground ,.4));
- }
- &.side-panel-right {
- @include box-shadow(inset 7px 0 9px -7px rgba($color-foreground ,.4));
- }
- }
}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/__index.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/__index.scss
index 364fa187..64aeba3a 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/__index.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/__index.scss
@@ -1 +1,2 @@
-@import 'tables';
\ No newline at end of file
+@import 'tables';
+@import 'tables-responsive';
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables-responsive.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables-responsive.scss
new file mode 100644
index 00000000..cab0b638
--- /dev/null
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables-responsive.scss
@@ -0,0 +1,23 @@
+@if $ui-tables == true and $ui == true {
+
+ .table-mobile {
+ width: 100%;
+ }
+
+
+ .st-head-row {
+ padding: $spacing/4;
+ background: darken(map-get($object-tables-vars, tr-odd-background), 10%);
+ color: map-get($object-tables-vars, tbody-cell-color);
+ font-weight: map-get($object-tables-vars, thead-cell-font-weight);
+ font-family: map-get($object-tables-vars, thead-cell-font-family);
+ font-size: map-get($object-tables-vars, thead-cell-font-size);
+ border-top: 2px solid map-get($object-tables-vars, tbody-cell-color);
+ }
+ .st-head-row.st-head-row-main {
+ display: none;
+ }
+ .st-key { width: 49%; text-align: right !important; padding-right: 1%; }
+ .st-val { width: 49%; padding-left: 1%; }
+
+}
\ No newline at end of file
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables.scss b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables.scss
index 76badc5c..3b1b5d7a 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables.scss
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/components/frontendcore-scss/ui/tables/_tables.scss
@@ -7,6 +7,7 @@
margin: $spacing/4 $spacing/2;
min-width: 40%;
text-align: right;
+ z-index: 50;
}
&:after {
font-family: 'FontAwesome';
@@ -30,6 +31,7 @@
padding: $spacing/2;
display: block;
position: absolute;
+ z-index: 50;
}
.dynatable-record-count {
@@ -62,6 +64,7 @@
.table-dynamic {
& {
outline: 1px solid $color-box;
+ display: table;
}
thead {
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/css/main.css b/src/Elcodi/Admin/CoreBundle/Resources/public/css/main.css
index d934db6e..56be25d5 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/css/main.css
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/css/main.css
@@ -1,7 +1,7 @@
@import "//fonts.googleapis.com/css?family=Open+Sans:700,300";/*!
* Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
- */@font-face{font-family:'FontAwesome';src:url("../fonts/fontawesome-webfont.eot?v=4.1.0");src:url("../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff?v=4.1.0") format("woff"),url("../fonts/fontawesome-webfont.ttf?v=4.1.0") format("truetype"),url("../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.icon,.navigation-dropdown:after{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-lg{font-size:1.3333333333em;line-height:0.75em;vertical-align:-15%}.icon-2x{font-size:2em}.icon-3x{font-size:3em}.icon-4x{font-size:4em}.icon-5x{font-size:5em}.icon-fw{width:1.2857142857em;text-align:center}.icon-ul{padding-left:0;margin-left:2.1428571429em;list-style-type:none}.icon-ul>li{position:relative}.icon-li{position:absolute;left:-2.1428571429em;width:2.1428571429em;top:0.1428571429em;text-align:center}.icon-li.icon-lg{left:-1.8571428571em}.icon-border{padding:0.2em 0.25em 0.15em;border:solid 0.08em #323232;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.icon.pull-left,.pull-left.navigation-dropdown:after{margin-right:.3em}.icon.pull-right,.pull-right.navigation-dropdown:after{margin-left:.3em}.icon-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.icon-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.icon-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.icon-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.icon-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.icon-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x{position:absolute;left:0;width:100%;text-align:center}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:2em}.icon-inverse{color:#FFF}.icon-glass:before{content:""}.icon-music:before{content:""}.icon-search:before{content:""}.icon-envelope-o:before{content:""}.icon-heart:before{content:""}.icon-star:before{content:""}.icon-star-o:before{content:""}.icon-user:before{content:""}.icon-film:before{content:""}.icon-th-large:before{content:""}.icon-th:before{content:""}.icon-th-list:before{content:""}.icon-check:before{content:""}.icon-times:before{content:""}.icon-search-plus:before{content:""}.icon-search-minus:before{content:""}.icon-power-off:before{content:""}.icon-signal:before{content:""}.icon-gear:before,.icon-cog:before{content:""}.icon-trash-o:before{content:""}.icon-home:before{content:""}.icon-file-o:before{content:""}.icon-clock-o:before{content:""}.icon-road:before{content:""}.icon-download:before{content:""}.icon-arrow-circle-o-down:before{content:""}.icon-arrow-circle-o-up:before{content:""}.icon-inbox:before{content:""}.icon-play-circle-o:before{content:""}.icon-rotate-right:before,.icon-repeat:before{content:""}.icon-refresh:before{content:""}.icon-list-alt:before{content:""}.icon-lock:before{content:""}.icon-flag:before{content:""}.icon-headphones:before{content:""}.icon-volume-off:before{content:""}.icon-volume-down:before{content:""}.icon-volume-up:before{content:""}.icon-qrcode:before{content:""}.icon-barcode:before{content:""}.icon-tag:before{content:""}.icon-tags:before{content:""}.icon-book:before{content:""}.icon-bookmark:before{content:""}.icon-print:before{content:""}.icon-camera:before{content:""}.icon-font:before{content:""}.icon-bold:before{content:""}.icon-italic:before{content:""}.icon-text-height:before{content:""}.icon-text-width:before{content:""}.icon-align-left:before{content:""}.icon-align-center:before{content:""}.icon-align-right:before{content:""}.icon-align-justify:before{content:""}.icon-list:before{content:""}.icon-dedent:before,.icon-outdent:before{content:""}.icon-indent:before{content:""}.icon-video-camera:before{content:""}.icon-photo:before,.icon-image:before,.icon-picture-o:before{content:""}.icon-pencil:before{content:""}.icon-map-marker:before{content:""}.icon-adjust:before{content:""}.icon-tint:before{content:""}.icon-edit:before,.icon-pencil-square-o:before{content:""}.icon-share-square-o:before{content:""}.icon-check-square-o:before{content:""}.icon-arrows:before{content:""}.icon-step-backward:before{content:""}.icon-fast-backward:before{content:""}.icon-backward:before{content:""}.icon-play:before{content:""}.icon-pause:before{content:""}.icon-stop:before{content:""}.icon-forward:before{content:""}.icon-fast-forward:before{content:""}.icon-step-forward:before{content:""}.icon-eject:before{content:""}.icon-chevron-left:before{content:""}.icon-chevron-right:before{content:""}.icon-plus-circle:before{content:""}.icon-minus-circle:before{content:""}.icon-times-circle:before{content:""}.icon-check-circle:before{content:""}.icon-question-circle:before{content:""}.icon-info-circle:before{content:""}.icon-crosshairs:before{content:""}.icon-times-circle-o:before{content:""}.icon-check-circle-o:before{content:""}.icon-ban:before{content:""}.icon-arrow-left:before{content:""}.icon-arrow-right:before{content:""}.icon-arrow-up:before{content:""}.icon-arrow-down:before{content:""}.icon-mail-forward:before,.icon-share:before{content:""}.icon-expand:before{content:""}.icon-compress:before{content:""}.icon-plus:before{content:""}.icon-minus:before{content:""}.icon-asterisk:before{content:""}.icon-exclamation-circle:before{content:""}.icon-gift:before{content:""}.icon-leaf:before{content:""}.icon-fire:before{content:""}.icon-eye:before{content:""}.icon-eye-slash:before{content:""}.icon-warning:before,.icon-exclamation-triangle:before{content:""}.icon-plane:before{content:""}.icon-calendar:before{content:""}.icon-random:before{content:""}.icon-comment:before{content:""}.icon-magnet:before{content:""}.icon-chevron-up:before{content:""}.icon-chevron-down:before{content:""}.icon-retweet:before{content:""}.icon-shopping-cart:before{content:""}.icon-folder:before{content:""}.icon-folder-open:before{content:""}.icon-arrows-v:before{content:""}.icon-arrows-h:before{content:""}.icon-bar-chart-o:before{content:""}.icon-twitter-square:before{content:""}.icon-facebook-square:before{content:""}.icon-camera-retro:before{content:""}.icon-key:before{content:""}.icon-gears:before,.icon-cogs:before{content:""}.icon-comments:before{content:""}.icon-thumbs-o-up:before{content:""}.icon-thumbs-o-down:before{content:""}.icon-star-half:before{content:""}.icon-heart-o:before{content:""}.icon-sign-out:before{content:""}.icon-linkedin-square:before{content:""}.icon-thumb-tack:before{content:""}.icon-external-link:before{content:""}.icon-sign-in:before{content:""}.icon-trophy:before{content:""}.icon-github-square:before{content:""}.icon-upload:before{content:""}.icon-lemon-o:before{content:""}.icon-phone:before{content:""}.icon-square-o:before{content:""}.icon-bookmark-o:before{content:""}.icon-phone-square:before{content:""}.icon-twitter:before{content:""}.icon-facebook:before{content:""}.icon-github:before{content:""}.icon-unlock:before{content:""}.icon-credit-card:before{content:""}.icon-rss:before{content:""}.icon-hdd-o:before{content:""}.icon-bullhorn:before{content:""}.icon-bell:before{content:""}.icon-certificate:before{content:""}.icon-hand-o-right:before{content:""}.icon-hand-o-left:before{content:""}.icon-hand-o-up:before{content:""}.icon-hand-o-down:before{content:""}.icon-arrow-circle-left:before{content:""}.icon-arrow-circle-right:before{content:""}.icon-arrow-circle-up:before{content:""}.icon-arrow-circle-down:before{content:""}.icon-globe:before{content:""}.icon-wrench:before{content:""}.icon-tasks:before{content:""}.icon-filter:before{content:""}.icon-briefcase:before{content:""}.icon-arrows-alt:before{content:""}.icon-group:before,.icon-users:before{content:""}.icon-chain:before,.icon-link:before{content:""}.icon-cloud:before{content:""}.icon-flask:before{content:""}.icon-cut:before,.icon-scissors:before{content:""}.icon-copy:before,.icon-files-o:before{content:""}.icon-paperclip:before{content:""}.icon-save:before,.icon-floppy-o:before{content:""}.icon-square:before{content:""}.icon-navicon:before,.icon-reorder:before,.icon-bars:before{content:""}.icon-list-ul:before{content:""}.icon-list-ol:before{content:""}.icon-strikethrough:before{content:""}.icon-underline:before{content:""}.icon-table:before{content:""}.icon-magic:before{content:""}.icon-truck:before{content:""}.icon-pinterest:before{content:""}.icon-pinterest-square:before{content:""}.icon-google-plus-square:before{content:""}.icon-google-plus:before{content:""}.icon-money:before{content:""}.icon-caret-down:before{content:""}.icon-caret-up:before{content:""}.icon-caret-left:before{content:""}.icon-caret-right:before{content:""}.icon-columns:before{content:""}.icon-unsorted:before,.icon-sort:before{content:""}.icon-sort-down:before,.icon-sort-desc:before{content:""}.icon-sort-up:before,.icon-sort-asc:before{content:""}.icon-envelope:before{content:""}.icon-linkedin:before{content:""}.icon-rotate-left:before,.icon-undo:before{content:""}.icon-legal:before,.icon-gavel:before{content:""}.icon-dashboard:before,.icon-tachometer:before{content:""}.icon-comment-o:before{content:""}.icon-comments-o:before{content:""}.icon-flash:before,.icon-bolt:before{content:""}.icon-sitemap:before{content:""}.icon-umbrella:before{content:""}.icon-paste:before,.icon-clipboard:before{content:""}.icon-lightbulb-o:before{content:""}.icon-exchange:before{content:""}.icon-cloud-download:before{content:""}.icon-cloud-upload:before{content:""}.icon-user-md:before{content:""}.icon-stethoscope:before{content:""}.icon-suitcase:before{content:""}.icon-bell-o:before{content:""}.icon-coffee:before{content:""}.icon-cutlery:before{content:""}.icon-file-text-o:before{content:""}.icon-building-o:before{content:""}.icon-hospital-o:before{content:""}.icon-ambulance:before{content:""}.icon-medkit:before{content:""}.icon-fighter-jet:before{content:""}.icon-beer:before{content:""}.icon-h-square:before{content:""}.icon-plus-square:before{content:""}.icon-angle-double-left:before{content:""}.icon-angle-double-right:before{content:""}.icon-angle-double-up:before{content:""}.icon-angle-double-down:before{content:""}.icon-angle-left:before{content:""}.icon-angle-right:before{content:""}.icon-angle-up:before{content:""}.icon-angle-down:before{content:""}.icon-desktop:before{content:""}.icon-laptop:before{content:""}.icon-tablet:before{content:""}.icon-mobile-phone:before,.icon-mobile:before{content:""}.icon-circle-o:before{content:""}.icon-quote-left:before{content:""}.icon-quote-right:before{content:""}.icon-spinner:before{content:""}.icon-circle:before{content:""}.icon-mail-reply:before,.icon-reply:before{content:""}.icon-github-alt:before{content:""}.icon-folder-o:before{content:""}.icon-folder-open-o:before{content:""}.icon-smile-o:before{content:""}.icon-frown-o:before{content:""}.icon-meh-o:before{content:""}.icon-gamepad:before{content:""}.icon-keyboard-o:before{content:""}.icon-flag-o:before{content:""}.icon-flag-checkered:before{content:""}.icon-terminal:before{content:""}.icon-code:before{content:""}.icon-mail-reply-all:before,.icon-reply-all:before{content:""}.icon-star-half-empty:before,.icon-star-half-full:before,.icon-star-half-o:before{content:""}.icon-location-arrow:before{content:""}.icon-crop:before{content:""}.icon-code-fork:before{content:""}.icon-unlink:before,.icon-chain-broken:before{content:""}.icon-question:before{content:""}.icon-info:before{content:""}.icon-exclamation:before{content:""}.icon-superscript:before{content:""}.icon-subscript:before{content:""}.icon-eraser:before{content:""}.icon-puzzle-piece:before{content:""}.icon-microphone:before{content:""}.icon-microphone-slash:before{content:""}.icon-shield:before{content:""}.icon-calendar-o:before{content:""}.icon-fire-extinguisher:before{content:""}.icon-rocket:before{content:""}.icon-maxcdn:before{content:""}.icon-chevron-circle-left:before{content:""}.icon-chevron-circle-right:before{content:""}.icon-chevron-circle-up:before{content:""}.icon-chevron-circle-down:before{content:""}.icon-html5:before{content:""}.icon-css3:before{content:""}.icon-anchor:before{content:""}.icon-unlock-alt:before{content:""}.icon-bullseye:before{content:""}.icon-ellipsis-h:before{content:""}.icon-ellipsis-v:before{content:""}.icon-rss-square:before{content:""}.icon-play-circle:before{content:""}.icon-ticket:before{content:""}.icon-minus-square:before{content:""}.icon-minus-square-o:before{content:""}.icon-level-up:before{content:""}.icon-level-down:before{content:""}.icon-check-square:before{content:""}.icon-pencil-square:before{content:""}.icon-external-link-square:before{content:""}.icon-share-square:before{content:""}.icon-compass:before{content:""}.icon-toggle-down:before,.icon-caret-square-o-down:before{content:""}.icon-toggle-up:before,.icon-caret-square-o-up:before{content:""}.icon-toggle-right:before,.icon-caret-square-o-right:before{content:""}.icon-euro:before,.icon-eur:before{content:""}.icon-gbp:before{content:""}.icon-dollar:before,.icon-usd:before{content:""}.icon-rupee:before,.icon-inr:before{content:""}.icon-cny:before,.icon-rmb:before,.icon-yen:before,.icon-jpy:before{content:""}.icon-ruble:before,.icon-rouble:before,.icon-rub:before{content:""}.icon-won:before,.icon-krw:before{content:""}.icon-bitcoin:before,.icon-btc:before{content:""}.icon-file:before{content:""}.icon-file-text:before{content:""}.icon-sort-alpha-asc:before{content:""}.icon-sort-alpha-desc:before{content:""}.icon-sort-amount-asc:before{content:""}.icon-sort-amount-desc:before{content:""}.icon-sort-numeric-asc:before{content:""}.icon-sort-numeric-desc:before{content:""}.icon-thumbs-up:before{content:""}.icon-thumbs-down:before{content:""}.icon-youtube-square:before{content:""}.icon-youtube:before{content:""}.icon-xing:before{content:""}.icon-xing-square:before{content:""}.icon-youtube-play:before{content:""}.icon-dropbox:before{content:""}.icon-stack-overflow:before{content:""}.icon-instagram:before{content:""}.icon-flickr:before{content:""}.icon-adn:before{content:""}.icon-bitbucket:before{content:""}.icon-bitbucket-square:before{content:""}.icon-tumblr:before{content:""}.icon-tumblr-square:before{content:""}.icon-long-arrow-down:before{content:""}.icon-long-arrow-up:before{content:""}.icon-long-arrow-left:before{content:""}.icon-long-arrow-right:before{content:""}.icon-apple:before{content:""}.icon-windows:before{content:""}.icon-android:before{content:""}.icon-linux:before{content:""}.icon-dribbble:before{content:""}.icon-skype:before{content:""}.icon-foursquare:before{content:""}.icon-trello:before{content:""}.icon-female:before{content:""}.icon-male:before{content:""}.icon-gittip:before{content:""}.icon-sun-o:before{content:""}.icon-moon-o:before{content:""}.icon-archive:before{content:""}.icon-bug:before{content:""}.icon-vk:before{content:""}.icon-weibo:before{content:""}.icon-renren:before{content:""}.icon-pagelines:before{content:""}.icon-stack-exchange:before{content:""}.icon-arrow-circle-o-right:before{content:""}.icon-arrow-circle-o-left:before{content:""}.icon-toggle-left:before,.icon-caret-square-o-left:before{content:""}.icon-dot-circle-o:before{content:""}.icon-wheelchair:before{content:""}.icon-vimeo-square:before{content:""}.icon-turkish-lira:before,.icon-try:before{content:""}.icon-plus-square-o:before{content:""}.icon-space-shuttle:before{content:""}.icon-slack:before{content:""}.icon-envelope-square:before{content:""}.icon-wordpress:before{content:""}.icon-openid:before{content:""}.icon-institution:before,.icon-bank:before,.icon-university:before{content:""}.icon-mortar-board:before,.icon-graduation-cap:before{content:""}.icon-yahoo:before{content:""}.icon-google:before{content:""}.icon-reddit:before{content:""}.icon-reddit-square:before{content:""}.icon-stumbleupon-circle:before{content:""}.icon-stumbleupon:before{content:""}.icon-delicious:before{content:""}.icon-digg:before{content:""}.icon-pied-piper-square:before,.icon-pied-piper:before{content:""}.icon-pied-piper-alt:before{content:""}.icon-drupal:before{content:""}.icon-joomla:before{content:""}.icon-language:before{content:""}.icon-fax:before{content:""}.icon-building:before{content:""}.icon-child:before{content:""}.icon-paw:before{content:""}.icon-spoon:before{content:""}.icon-cube:before{content:""}.icon-cubes:before{content:""}.icon-behance:before{content:""}.icon-behance-square:before{content:""}.icon-steam:before{content:""}.icon-steam-square:before{content:""}.icon-recycle:before{content:""}.icon-automobile:before,.icon-car:before{content:""}.icon-cab:before,.icon-taxi:before{content:""}.icon-tree:before{content:""}.icon-spotify:before{content:""}.icon-deviantart:before{content:""}.icon-soundcloud:before{content:""}.icon-database:before{content:""}.icon-file-pdf-o:before{content:""}.icon-file-word-o:before{content:""}.icon-file-excel-o:before{content:""}.icon-file-powerpoint-o:before{content:""}.icon-file-photo-o:before,.icon-file-picture-o:before,.icon-file-image-o:before{content:""}.icon-file-zip-o:before,.icon-file-archive-o:before{content:""}.icon-file-sound-o:before,.icon-file-audio-o:before{content:""}.icon-file-movie-o:before,.icon-file-video-o:before{content:""}.icon-file-code-o:before{content:""}.icon-vine:before{content:""}.icon-codepen:before{content:""}.icon-jsfiddle:before{content:""}.icon-life-bouy:before,.icon-life-saver:before,.icon-support:before,.icon-life-ring:before{content:""}.icon-circle-o-notch:before{content:""}.icon-ra:before,.icon-rebel:before{content:""}.icon-ge:before,.icon-empire:before{content:""}.icon-git-square:before{content:""}.icon-git:before{content:""}.icon-hacker-news:before{content:""}.icon-tencent-weibo:before{content:""}.icon-qq:before{content:""}.icon-wechat:before,.icon-weixin:before{content:""}.icon-send:before,.icon-paper-plane:before{content:""}.icon-send-o:before,.icon-paper-plane-o:before{content:""}.icon-history:before{content:""}.icon-circle-thin:before{content:""}.icon-header:before{content:""}.icon-paragraph:before{content:""}.icon-sliders:before{content:""}.icon-share-alt:before{content:""}.icon-share-alt-square:before{content:""}.icon-bomb:before{content:""}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:'\201C' '\201D' '\2018' '\2019'}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #C0C0C0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type='button'],input[type='reset'],input[type='submit']{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type='checkbox'],input[type='radio']{box-sizing:border-box;padding:0}input[type='search']{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type='search']::-webkit-search-cancel-button,input[type='search']::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}html{height:100%;overflow:auto;background-color:#ededed;color:#323232}a{color:#3b6788;text-decoration:none}a:hover{text-decoration:underline}.scroll::-webkit-scrollbar,pre::-webkit-scrollbar,textarea::-webkit-scrollbar{width:9px;height:10px;background:none}pre::-webkit-scrollbar-button,textarea::-webkit-scrollbar-button,.scroll::-webkit-scrollbar-button{display:none;background:none}pre::-webkit-scrollbar-track,.scroll::-webkit-scrollbar-track{margin:20px}pre::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb,.scroll::-webkit-scrollbar-thumb{background-color:#CCC}pre::-webkit-scrollbar-thumb:hover,textarea::-webkit-scrollbar-thumb:hover,.scroll::-webkit-scrollbar-thumb:hover{background-color:#AAA}.hidden{display:none}img,object{max-width:100%;height:auto}ul,ol{padding-left:0;list-style:none}li>ul,li>ol{margin-top:.5em;margin-bottom:0}dd{margin-left:0}nav ul,.nav{margin-bottom:0;letter-spacing:-0.31em;word-spacing:-0.43em}nav li,.nav li{display:inline-block;letter-spacing:normal;word-spacing:normal}small{font-size:0.75rem false;line-height:1.5em}html{font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;font-weight:normal;text-rendering:optimizelegibility}.code,code,pre,kbd,samp{font-family:Menlo, Consolas, monospace}.text{font-family:Tahoma, Arial, Verdana, sans-serif}* html{font-size:87.5%}html{font-size:14px;line-height:1.5em}h1,h2,h3,h4,h5,h6,ul,ol,dl,fieldset,p,table,pre,hr{margin:0 0 1em}.form ul{margin-bottom:0}hr.section{height:1px;margin-top:-1px;border-color:transparent}.grid{position:relative;transition:left 300ms ease,right 300ms ease !important;max-width:100%;margin-left:auto;margin-right:auto}.grid:after{content:" ";display:block;clear:both}[class*='col-']:last-of-type,.col-1-3:nth-child(3n+0),.col-1-4:nth-child(4n+0),.col-1-5:nth-child(5n+0),.col-1-12:nth-child(12n+0){margin-right:0}[class*='col-']{overflow:hidden}.table{max-width:100%;min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:0px none;margin-left:2px}.table caption{margin:0 0 0.4em;padding:0;text-transform:uppercase}.table thead th,.table thead td{padding:0.4em 0.8em;margin:0 0 0.8em;border-bottom:1px solid #f7f7f7;font-weight:normal;background:transparent;text-align:left;color:#323232;vertical-align:middle}.table tbody{outline:2px solid #FFF;border:1px solid #fff;background:#FFF}.table tbody tr:nth-child(odd) td{background-color:rgba(247,247,247,0.5)}.table tbody tr:hover td{background-color:rgba(102,204,204,0.1)}.table tbody tr>td{padding:0.8em 0.8em;border-right:1px solid #f7f7f7;border-bottom:1px solid #f7f7f7;text-align:left;vertical-align:middle}.table tbody tr>td:last-child{border-right:none}.table tbody tr>td.sort{background-color:rgba(0,0,0,0.03)}.table tbody td .subcell{vertical-align:top}.table form{padding:0}.fl-n{float:none !important}.fl-l{float:left !important}.fl-r{float:right !important}.d-n{display:none !important}.d-b{display:block !important}.d-i{display:inline !important}.d-ib{display:inline-block !important}.o-h{overflow:hidden !important}.o-v{overflow:visible !important}.pt-n,.pv-n,.pa-n{padding-top:0 !important}.pt-s,.pv-s,.pa-s{padding-top:0.4em !important}.pt-m,.pv-m,.pa-m{padding-top:0.8em !important}.pt-l,.pv-l,.pa-l{padding-top:1.6em !important}.pt-xl,.pv-xl,.pa-xl{padding-top:3.2em !important}.pr-n,.ph-n,.pa-n{padding-right:0 !important}.pr-s,.phs,.pa-s{padding-right:0.4em !important}.pr-m,.ph-m,.pa-m{padding-right:0.8em !important}.pr-l,.ph-l,.pa-l{padding-right:1.6em !important}.pr-xl,.ph-xl,.pa-xl{padding-right:3.2em !important}.pb-n,.pv-n,.pa-n{padding-bottom:0 !important}.pb-s,.pv-s,.pa-s{padding-bottom:0.4em !important}.pb-m,.pv-m,.pa-m{padding-bottom:0.8em !important}.pb-l,.pv-l,.pa-l{padding-bottom:1.6em !important}.pb-xl,.pv-xl,.pa-xl{padding-bottom:3.2em !important}.pl-n,.ph-n,.pa-n{padding-left:0 !important}.pl-s,.ph-s,.pa-s{padding-left:0.4em !important}.pl-m,.ph-m,.pa-m{padding-left:0.8em !important}.pl-l,.ph-l,.pa-l{padding-left:1.6em !important}.pl-xl,.ph-xl,.pa-xl{padding-left:3.2em !important}.mt-n,.mv-n,.ma-n{margin-top:0 !important}.mt-s,.mv-s,.ma-s{margin-top:0.4em !important}.mt-m,.mv-m,.ma-m{margin-top:0.8em !important}.mt-l,.mv-l,.ma-l{margin-top:1.6em !important}.mt-xl,.mv-xl,.ma-xl{margin-top:3.2em !important}.mr-n,.mh-n,.ma-n{margin-right:0 !important}.mr-s,.mh-s,.ma-s{margin-right:0.4em !important}.mr-m,.mh-m,.ma-m{margin-right:0.8em !important}.mr-l,.mh-l,.ma-l{margin-right:1.6em !important}.mr-xl,.mh-xl,.ma-xl{margin-right:3.2em !important}.mb-n,.mv-n,.ma-n{margin-bottom:0 !important}.mb-s,.mv-s,.ma-s{margin-bottom:0.4em !important}.mb-m,.mv-m,.ma-m{margin-bottom:0.8em !important}.mb-l,.mv-l,.ma-l{margin-bottom:1.6em !important}.mb-xl,.mv-xl,.ma-xl{margin-bottom:3.2em !important}.ml-n,.mh-n,.ma-n{margin-left:0 !important}.ml-s,.mh-s,.ma-s{margin-left:0.4em !important}.ml-m,.mh-m,.ma-m{margin-left:0.8em !important}.ml-l,.mh-l,.ma-l{margin-left:1.6em !important}.ml-xl,.mh-xl,.ma-xl{margin-left:3.2em !important}.va-m{vertical-align:middle !important}.va-b{vertical-align:bottom !important}.va-t{vertical-align:top !important}.ta-l{text-align:left !important}.ta-c{text-align:center !important}.ta-r{text-align:right !important}.td-u{text-decoration:underline !important}.td-n{text-decoration:none !important}.c-foreground,.c-foreground:before,.c-foreground:after{color:#323232 !important}.bg-foreground,.bg-foreground:before,.bg-foreground:after{background-color:#323232 !important}.c-background,.c-background:before,.c-background:after{color:#FFF !important}.bg-background,.bg-background:before,.bg-background:after{background-color:#FFF !important}.c-foreground-light,.c-foreground-light:before,.c-foreground-light:after{color:#9b9b9b !important}.bg-foreground-light,.bg-foreground-light:before,.bg-foreground-light:after{background-color:#9b9b9b !important}.c-primary,.c-primary:before,.c-primary:after{color:#6cc !important}.bg-primary,.bg-primary:before,.bg-primary:after{background-color:#6cc !important}.c-secondary,.c-secondary:before,.c-secondary:after{color:#ff884c !important}.bg-secondary,.bg-secondary:before,.bg-secondary:after{background-color:#ff884c !important}.c-box,.c-box:before,.c-box:after{color:#f7f7f7 !important}.bg-box,.bg-box:before,.bg-box:after{background-color:#f7f7f7 !important}.c-ko,.c-ko:before,.c-ko:after{color:#a31f24 !important}.bg-ko,.bg-ko:before,.bg-ko:after{background-color:#a31f24 !important}.c-ok,.c-ok:before,.c-ok:after{color:#8eac5b !important}.bg-ok,.bg-ok:before,.bg-ok:after{background-color:#8eac5b !important}.c-info,.c-info:before,.c-info:after{color:#3b6788 !important}.bg-info,.bg-info:before,.bg-info:after{background-color:#3b6788 !important}.c-warning,.c-warning:before,.c-warning:after{color:#df8426 !important}.bg-warning,.bg-warning:before,.bg-warning:after{background-color:#df8426 !important}h1,.fz-h1,h2,.fz-h2,h3,.fz-h3,h4,.fz-h4,h5,.fz-h5{font-family:'Open Sans', Tahoma, sans-serif;line-height:1.2em;font-weight:normal;margin-bottom:0.4em}h1 small,.fz-h1 small,h2 small,.fz-h2 small,h3 small,.fz-h3 small,h4 small,.fz-h4 small,h5 small,.fz-h5 small{font-size:.6em;opacity:0.7}h1,.fz-h1{font-size:3.3rem !important}h2,.fz-h2{font-size:2.1rem !important}h3,.fz-h3{font-size:1.8rem !important}h4,.fz-h4{font-size:1.65rem !important}h5,.fz-h5{font-size:1.5rem !important}h1.logo,h2.logo,h3.logo,h4.logo,h5.logo,.fz-h1.logo,.fz-h2.logo,.fz-h3.logo,.fz-h4.logo,.fz-h5.logo{font-family:"Amatic","Arial Narrow", Tahoma, sans-serif;font-weight:bold}.fz-xxxl{font-size:3rem !important;line-height:1.5em}.fz-xxl{font-size:2.2rem !important;line-height:1.5em}.fz-xl{font-size:1.4rem !important;line-height:1.5em}.fz-l{font-size:1.2rem !important;line-height:1.5em}.fz-m{font-size:1rem !important;line-height:1.5em}.fz-default{font-size:0.9rem !important;line-height:1.5em}.fz-s{font-size:0.8rem !important;line-height:1.5em}.fz-xs{font-size:0.75rem !important;line-height:1.5em}.fw-n{font-weight:normal}.fw-b{font-weight:bold}.bda-n{border-width:0 !important}.bdt-n,.bdv-n{border-top-width:0 !important}.bdb-n,.bdv-n{border-bottom-width:0 !important}.bdr-n,.bdh-n{border-right-width:0 !important}.bdl-n,.bdh-n{border-left-width:0 !important}.bda-s{border-width:1px !important}.bdt-s,.bdv-s{border-top-width:1px !important}.bdb-s,.bdv-s{border-bottom-width:1px !important}.bdr-s,.bdh-s{border-right-width:1px !important}.bdl-s,.bdh-s{border-left-width:1px !important}.bda-m{border-width:0.4em !important}.bdt-m,.bdv-m{border-top-width:0.4em !important}.bdb-m,.bdv-m{border-bottom-width:0.4em !important}.bdr-m,.bdh-m{border-right-width:0.4em !important}.bdl-m,.bdh-m{border-left-width:0.4em !important}.bda-l{border-width:0.8em !important}.bdt-l,.bdv-l{border-top-width:0.8em !important}.bdb-l,.bdv-l{border-bottom-width:0.8em !important}.bdr-l,.bdh-l{border-right-width:0.8em !important}.bdl-l,.bdh-l{border-left-width:0.8em !important}.bda-xl{border-width:1.6em !important}.bdt-xl,.bdv-xl{border-top-width:1.6em !important}.bdb-xl,.bdv-xl{border-bottom-width:1.6em !important}.bdr-xl,.bdh-xl{border-right-width:1.6em !important}.bdl-xl,.bdh-xl{border-left-width:1.6em !important}.trf-r-5{transform:rotate(5deg) !important}.trf-r--5{transform:rotate(-5deg) !important}.trf-r-10{transform:rotate(10deg) !important}.trf-r--10{transform:rotate(-10deg) !important}.trf-r-15{transform:rotate(15deg) !important}.trf-r--15{transform:rotate(-15deg) !important}.trf-r-20{transform:rotate(20deg) !important}.trf-r--20{transform:rotate(-20deg) !important}.trf-r-25{transform:rotate(25deg) !important}.trf-r--25{transform:rotate(-25deg) !important}.trf-r-30{transform:rotate(30deg) !important}.trf-r--30{transform:rotate(-30deg) !important}.trf-r-35{transform:rotate(35deg) !important}.trf-r--35{transform:rotate(-35deg) !important}.trf-r-40{transform:rotate(40deg) !important}.trf-r--40{transform:rotate(-40deg) !important}.trf-r-45{transform:rotate(45deg) !important}.trf-r--45{transform:rotate(-45deg) !important}.trf-r-50{transform:rotate(50deg) !important}.trf-r--50{transform:rotate(-50deg) !important}.trf-r-55{transform:rotate(55deg) !important}.trf-r--55{transform:rotate(-55deg) !important}.trf-r-60{transform:rotate(60deg) !important}.trf-r--60{transform:rotate(-60deg) !important}.trf-r-65{transform:rotate(65deg) !important}.trf-r--65{transform:rotate(-65deg) !important}.trf-r-70{transform:rotate(70deg) !important}.trf-r--70{transform:rotate(-70deg) !important}.trf-r-75{transform:rotate(75deg) !important}.trf-r--75{transform:rotate(-75deg) !important}.trf-r-80{transform:rotate(80deg) !important}.trf-r--80{transform:rotate(-80deg) !important}.trf-r-85{transform:rotate(85deg) !important}.trf-r--85{transform:rotate(-85deg) !important}.trf-r-90{transform:rotate(90deg) !important}.trf-r--90{transform:rotate(-90deg) !important}.trf-r-95{transform:rotate(95deg) !important}.trf-r--95{transform:rotate(-95deg) !important}.trf-r-100{transform:rotate(100deg) !important}.trf-r--100{transform:rotate(-100deg) !important}.w-5{width:5% !important}.w-10{width:10% !important}.w-15{width:15% !important}.w-20,[class^='form'] .select-multiple-buttons{width:20% !important}.w-25{width:25% !important}.w-30{width:30% !important}.w-35{width:35% !important}.w-40{width:40% !important}.w-45{width:45% !important}.w-50{width:50% !important}.w-55{width:55% !important}.w-60{width:60% !important}.w-65{width:65% !important}.w-70{width:70% !important}.w-75{width:75% !important}.w-80{width:80% !important}.w-85{width:85% !important}.w-90{width:90% !important}.w-95{width:95% !important}.w-100{width:100% !important}[class^="icon"]{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}/*!
+ */@font-face{font-family:'FontAwesome';src:url("../fonts/fontawesome-webfont.eot?v=4.1.0");src:url("../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff?v=4.1.0") format("woff"),url("../fonts/fontawesome-webfont.ttf?v=4.1.0") format("truetype"),url("../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.icon,.navigation-dropdown:after{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-lg{font-size:1.3333333333em;line-height:0.75em;vertical-align:-15%}.icon-2x{font-size:2em}.icon-3x{font-size:3em}.icon-4x{font-size:4em}.icon-5x{font-size:5em}.icon-fw{width:1.2857142857em;text-align:center}.icon-ul{padding-left:0;margin-left:2.1428571429em;list-style-type:none}.icon-ul>li{position:relative}.icon-li{position:absolute;left:-2.1428571429em;width:2.1428571429em;top:0.1428571429em;text-align:center}.icon-li.icon-lg{left:-1.8571428571em}.icon-border{padding:0.2em 0.25em 0.15em;border:solid 0.08em #323232;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.icon.pull-left,.pull-left.navigation-dropdown:after{margin-right:.3em}.icon.pull-right,.pull-right.navigation-dropdown:after{margin-left:.3em}.icon-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.icon-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.icon-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.icon-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.icon-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.icon-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x{position:absolute;left:0;width:100%;text-align:center}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:2em}.icon-inverse{color:#FFF}.icon-glass:before{content:""}.icon-music:before{content:""}.icon-search:before{content:""}.icon-envelope-o:before{content:""}.icon-heart:before{content:""}.icon-star:before{content:""}.icon-star-o:before{content:""}.icon-user:before{content:""}.icon-film:before{content:""}.icon-th-large:before{content:""}.icon-th:before{content:""}.icon-th-list:before{content:""}.icon-check:before{content:""}.icon-times:before{content:""}.icon-search-plus:before{content:""}.icon-search-minus:before{content:""}.icon-power-off:before{content:""}.icon-signal:before{content:""}.icon-gear:before,.icon-cog:before{content:""}.icon-trash-o:before{content:""}.icon-home:before{content:""}.icon-file-o:before{content:""}.icon-clock-o:before{content:""}.icon-road:before{content:""}.icon-download:before{content:""}.icon-arrow-circle-o-down:before{content:""}.icon-arrow-circle-o-up:before{content:""}.icon-inbox:before{content:""}.icon-play-circle-o:before{content:""}.icon-rotate-right:before,.icon-repeat:before{content:""}.icon-refresh:before{content:""}.icon-list-alt:before{content:""}.icon-lock:before{content:""}.icon-flag:before{content:""}.icon-headphones:before{content:""}.icon-volume-off:before{content:""}.icon-volume-down:before{content:""}.icon-volume-up:before{content:""}.icon-qrcode:before{content:""}.icon-barcode:before{content:""}.icon-tag:before{content:""}.icon-tags:before{content:""}.icon-book:before{content:""}.icon-bookmark:before{content:""}.icon-print:before{content:""}.icon-camera:before{content:""}.icon-font:before{content:""}.icon-bold:before{content:""}.icon-italic:before{content:""}.icon-text-height:before{content:""}.icon-text-width:before{content:""}.icon-align-left:before{content:""}.icon-align-center:before{content:""}.icon-align-right:before{content:""}.icon-align-justify:before{content:""}.icon-list:before{content:""}.icon-dedent:before,.icon-outdent:before{content:""}.icon-indent:before{content:""}.icon-video-camera:before{content:""}.icon-photo:before,.icon-image:before,.icon-picture-o:before{content:""}.icon-pencil:before{content:""}.icon-map-marker:before{content:""}.icon-adjust:before{content:""}.icon-tint:before{content:""}.icon-edit:before,.icon-pencil-square-o:before{content:""}.icon-share-square-o:before{content:""}.icon-check-square-o:before{content:""}.icon-arrows:before{content:""}.icon-step-backward:before{content:""}.icon-fast-backward:before{content:""}.icon-backward:before{content:""}.icon-play:before{content:""}.icon-pause:before{content:""}.icon-stop:before{content:""}.icon-forward:before{content:""}.icon-fast-forward:before{content:""}.icon-step-forward:before{content:""}.icon-eject:before{content:""}.icon-chevron-left:before{content:""}.icon-chevron-right:before{content:""}.icon-plus-circle:before{content:""}.icon-minus-circle:before{content:""}.icon-times-circle:before{content:""}.icon-check-circle:before{content:""}.icon-question-circle:before{content:""}.icon-info-circle:before{content:""}.icon-crosshairs:before{content:""}.icon-times-circle-o:before{content:""}.icon-check-circle-o:before{content:""}.icon-ban:before{content:""}.icon-arrow-left:before{content:""}.icon-arrow-right:before{content:""}.icon-arrow-up:before{content:""}.icon-arrow-down:before{content:""}.icon-mail-forward:before,.icon-share:before{content:""}.icon-expand:before{content:""}.icon-compress:before{content:""}.icon-plus:before{content:""}.icon-minus:before{content:""}.icon-asterisk:before{content:""}.icon-exclamation-circle:before{content:""}.icon-gift:before{content:""}.icon-leaf:before{content:""}.icon-fire:before{content:""}.icon-eye:before{content:""}.icon-eye-slash:before{content:""}.icon-warning:before,.icon-exclamation-triangle:before{content:""}.icon-plane:before{content:""}.icon-calendar:before{content:""}.icon-random:before{content:""}.icon-comment:before{content:""}.icon-magnet:before{content:""}.icon-chevron-up:before{content:""}.icon-chevron-down:before{content:""}.icon-retweet:before{content:""}.icon-shopping-cart:before{content:""}.icon-folder:before{content:""}.icon-folder-open:before{content:""}.icon-arrows-v:before{content:""}.icon-arrows-h:before{content:""}.icon-bar-chart-o:before{content:""}.icon-twitter-square:before{content:""}.icon-facebook-square:before{content:""}.icon-camera-retro:before{content:""}.icon-key:before{content:""}.icon-gears:before,.icon-cogs:before{content:""}.icon-comments:before{content:""}.icon-thumbs-o-up:before{content:""}.icon-thumbs-o-down:before{content:""}.icon-star-half:before{content:""}.icon-heart-o:before{content:""}.icon-sign-out:before{content:""}.icon-linkedin-square:before{content:""}.icon-thumb-tack:before{content:""}.icon-external-link:before{content:""}.icon-sign-in:before{content:""}.icon-trophy:before{content:""}.icon-github-square:before{content:""}.icon-upload:before{content:""}.icon-lemon-o:before{content:""}.icon-phone:before{content:""}.icon-square-o:before{content:""}.icon-bookmark-o:before{content:""}.icon-phone-square:before{content:""}.icon-twitter:before{content:""}.icon-facebook:before{content:""}.icon-github:before{content:""}.icon-unlock:before{content:""}.icon-credit-card:before{content:""}.icon-rss:before{content:""}.icon-hdd-o:before{content:""}.icon-bullhorn:before{content:""}.icon-bell:before{content:""}.icon-certificate:before{content:""}.icon-hand-o-right:before{content:""}.icon-hand-o-left:before{content:""}.icon-hand-o-up:before{content:""}.icon-hand-o-down:before{content:""}.icon-arrow-circle-left:before{content:""}.icon-arrow-circle-right:before{content:""}.icon-arrow-circle-up:before{content:""}.icon-arrow-circle-down:before{content:""}.icon-globe:before{content:""}.icon-wrench:before{content:""}.icon-tasks:before{content:""}.icon-filter:before{content:""}.icon-briefcase:before{content:""}.icon-arrows-alt:before{content:""}.icon-group:before,.icon-users:before{content:""}.icon-chain:before,.icon-link:before{content:""}.icon-cloud:before{content:""}.icon-flask:before{content:""}.icon-cut:before,.icon-scissors:before{content:""}.icon-copy:before,.icon-files-o:before{content:""}.icon-paperclip:before{content:""}.icon-save:before,.icon-floppy-o:before{content:""}.icon-square:before{content:""}.icon-navicon:before,.icon-reorder:before,.icon-bars:before{content:""}.icon-list-ul:before{content:""}.icon-list-ol:before{content:""}.icon-strikethrough:before{content:""}.icon-underline:before{content:""}.icon-table:before{content:""}.icon-magic:before{content:""}.icon-truck:before{content:""}.icon-pinterest:before{content:""}.icon-pinterest-square:before{content:""}.icon-google-plus-square:before{content:""}.icon-google-plus:before{content:""}.icon-money:before{content:""}.icon-caret-down:before{content:""}.icon-caret-up:before{content:""}.icon-caret-left:before{content:""}.icon-caret-right:before{content:""}.icon-columns:before{content:""}.icon-unsorted:before,.icon-sort:before{content:""}.icon-sort-down:before,.icon-sort-desc:before{content:""}.icon-sort-up:before,.icon-sort-asc:before{content:""}.icon-envelope:before{content:""}.icon-linkedin:before{content:""}.icon-rotate-left:before,.icon-undo:before{content:""}.icon-legal:before,.icon-gavel:before{content:""}.icon-dashboard:before,.icon-tachometer:before{content:""}.icon-comment-o:before{content:""}.icon-comments-o:before{content:""}.icon-flash:before,.icon-bolt:before{content:""}.icon-sitemap:before{content:""}.icon-umbrella:before{content:""}.icon-paste:before,.icon-clipboard:before{content:""}.icon-lightbulb-o:before{content:""}.icon-exchange:before{content:""}.icon-cloud-download:before{content:""}.icon-cloud-upload:before{content:""}.icon-user-md:before{content:""}.icon-stethoscope:before{content:""}.icon-suitcase:before{content:""}.icon-bell-o:before{content:""}.icon-coffee:before{content:""}.icon-cutlery:before{content:""}.icon-file-text-o:before{content:""}.icon-building-o:before{content:""}.icon-hospital-o:before{content:""}.icon-ambulance:before{content:""}.icon-medkit:before{content:""}.icon-fighter-jet:before{content:""}.icon-beer:before{content:""}.icon-h-square:before{content:""}.icon-plus-square:before{content:""}.icon-angle-double-left:before{content:""}.icon-angle-double-right:before{content:""}.icon-angle-double-up:before{content:""}.icon-angle-double-down:before{content:""}.icon-angle-left:before{content:""}.icon-angle-right:before{content:""}.icon-angle-up:before{content:""}.icon-angle-down:before{content:""}.icon-desktop:before{content:""}.icon-laptop:before{content:""}.icon-tablet:before{content:""}.icon-mobile-phone:before,.icon-mobile:before{content:""}.icon-circle-o:before{content:""}.icon-quote-left:before{content:""}.icon-quote-right:before{content:""}.icon-spinner:before{content:""}.icon-circle:before{content:""}.icon-mail-reply:before,.icon-reply:before{content:""}.icon-github-alt:before{content:""}.icon-folder-o:before{content:""}.icon-folder-open-o:before{content:""}.icon-smile-o:before{content:""}.icon-frown-o:before{content:""}.icon-meh-o:before{content:""}.icon-gamepad:before{content:""}.icon-keyboard-o:before{content:""}.icon-flag-o:before{content:""}.icon-flag-checkered:before{content:""}.icon-terminal:before{content:""}.icon-code:before{content:""}.icon-mail-reply-all:before,.icon-reply-all:before{content:""}.icon-star-half-empty:before,.icon-star-half-full:before,.icon-star-half-o:before{content:""}.icon-location-arrow:before{content:""}.icon-crop:before{content:""}.icon-code-fork:before{content:""}.icon-unlink:before,.icon-chain-broken:before{content:""}.icon-question:before{content:""}.icon-info:before{content:""}.icon-exclamation:before{content:""}.icon-superscript:before{content:""}.icon-subscript:before{content:""}.icon-eraser:before{content:""}.icon-puzzle-piece:before{content:""}.icon-microphone:before{content:""}.icon-microphone-slash:before{content:""}.icon-shield:before{content:""}.icon-calendar-o:before{content:""}.icon-fire-extinguisher:before{content:""}.icon-rocket:before{content:""}.icon-maxcdn:before{content:""}.icon-chevron-circle-left:before{content:""}.icon-chevron-circle-right:before{content:""}.icon-chevron-circle-up:before{content:""}.icon-chevron-circle-down:before{content:""}.icon-html5:before{content:""}.icon-css3:before{content:""}.icon-anchor:before{content:""}.icon-unlock-alt:before{content:""}.icon-bullseye:before{content:""}.icon-ellipsis-h:before{content:""}.icon-ellipsis-v:before{content:""}.icon-rss-square:before{content:""}.icon-play-circle:before{content:""}.icon-ticket:before{content:""}.icon-minus-square:before{content:""}.icon-minus-square-o:before{content:""}.icon-level-up:before{content:""}.icon-level-down:before{content:""}.icon-check-square:before{content:""}.icon-pencil-square:before{content:""}.icon-external-link-square:before{content:""}.icon-share-square:before{content:""}.icon-compass:before{content:""}.icon-toggle-down:before,.icon-caret-square-o-down:before{content:""}.icon-toggle-up:before,.icon-caret-square-o-up:before{content:""}.icon-toggle-right:before,.icon-caret-square-o-right:before{content:""}.icon-euro:before,.icon-eur:before{content:""}.icon-gbp:before{content:""}.icon-dollar:before,.icon-usd:before{content:""}.icon-rupee:before,.icon-inr:before{content:""}.icon-cny:before,.icon-rmb:before,.icon-yen:before,.icon-jpy:before{content:""}.icon-ruble:before,.icon-rouble:before,.icon-rub:before{content:""}.icon-won:before,.icon-krw:before{content:""}.icon-bitcoin:before,.icon-btc:before{content:""}.icon-file:before{content:""}.icon-file-text:before{content:""}.icon-sort-alpha-asc:before{content:""}.icon-sort-alpha-desc:before{content:""}.icon-sort-amount-asc:before{content:""}.icon-sort-amount-desc:before{content:""}.icon-sort-numeric-asc:before{content:""}.icon-sort-numeric-desc:before{content:""}.icon-thumbs-up:before{content:""}.icon-thumbs-down:before{content:""}.icon-youtube-square:before{content:""}.icon-youtube:before{content:""}.icon-xing:before{content:""}.icon-xing-square:before{content:""}.icon-youtube-play:before{content:""}.icon-dropbox:before{content:""}.icon-stack-overflow:before{content:""}.icon-instagram:before{content:""}.icon-flickr:before{content:""}.icon-adn:before{content:""}.icon-bitbucket:before{content:""}.icon-bitbucket-square:before{content:""}.icon-tumblr:before{content:""}.icon-tumblr-square:before{content:""}.icon-long-arrow-down:before{content:""}.icon-long-arrow-up:before{content:""}.icon-long-arrow-left:before{content:""}.icon-long-arrow-right:before{content:""}.icon-apple:before{content:""}.icon-windows:before{content:""}.icon-android:before{content:""}.icon-linux:before{content:""}.icon-dribbble:before{content:""}.icon-skype:before{content:""}.icon-foursquare:before{content:""}.icon-trello:before{content:""}.icon-female:before{content:""}.icon-male:before{content:""}.icon-gittip:before{content:""}.icon-sun-o:before{content:""}.icon-moon-o:before{content:""}.icon-archive:before{content:""}.icon-bug:before{content:""}.icon-vk:before{content:""}.icon-weibo:before{content:""}.icon-renren:before{content:""}.icon-pagelines:before{content:""}.icon-stack-exchange:before{content:""}.icon-arrow-circle-o-right:before{content:""}.icon-arrow-circle-o-left:before{content:""}.icon-toggle-left:before,.icon-caret-square-o-left:before{content:""}.icon-dot-circle-o:before{content:""}.icon-wheelchair:before{content:""}.icon-vimeo-square:before{content:""}.icon-turkish-lira:before,.icon-try:before{content:""}.icon-plus-square-o:before{content:""}.icon-space-shuttle:before{content:""}.icon-slack:before{content:""}.icon-envelope-square:before{content:""}.icon-wordpress:before{content:""}.icon-openid:before{content:""}.icon-institution:before,.icon-bank:before,.icon-university:before{content:""}.icon-mortar-board:before,.icon-graduation-cap:before{content:""}.icon-yahoo:before{content:""}.icon-google:before{content:""}.icon-reddit:before{content:""}.icon-reddit-square:before{content:""}.icon-stumbleupon-circle:before{content:""}.icon-stumbleupon:before{content:""}.icon-delicious:before{content:""}.icon-digg:before{content:""}.icon-pied-piper-square:before,.icon-pied-piper:before{content:""}.icon-pied-piper-alt:before{content:""}.icon-drupal:before{content:""}.icon-joomla:before{content:""}.icon-language:before{content:""}.icon-fax:before{content:""}.icon-building:before{content:""}.icon-child:before{content:""}.icon-paw:before{content:""}.icon-spoon:before{content:""}.icon-cube:before{content:""}.icon-cubes:before{content:""}.icon-behance:before{content:""}.icon-behance-square:before{content:""}.icon-steam:before{content:""}.icon-steam-square:before{content:""}.icon-recycle:before{content:""}.icon-automobile:before,.icon-car:before{content:""}.icon-cab:before,.icon-taxi:before{content:""}.icon-tree:before{content:""}.icon-spotify:before{content:""}.icon-deviantart:before{content:""}.icon-soundcloud:before{content:""}.icon-database:before{content:""}.icon-file-pdf-o:before{content:""}.icon-file-word-o:before{content:""}.icon-file-excel-o:before{content:""}.icon-file-powerpoint-o:before{content:""}.icon-file-photo-o:before,.icon-file-picture-o:before,.icon-file-image-o:before{content:""}.icon-file-zip-o:before,.icon-file-archive-o:before{content:""}.icon-file-sound-o:before,.icon-file-audio-o:before{content:""}.icon-file-movie-o:before,.icon-file-video-o:before{content:""}.icon-file-code-o:before{content:""}.icon-vine:before{content:""}.icon-codepen:before{content:""}.icon-jsfiddle:before{content:""}.icon-life-bouy:before,.icon-life-saver:before,.icon-support:before,.icon-life-ring:before{content:""}.icon-circle-o-notch:before{content:""}.icon-ra:before,.icon-rebel:before{content:""}.icon-ge:before,.icon-empire:before{content:""}.icon-git-square:before{content:""}.icon-git:before{content:""}.icon-hacker-news:before{content:""}.icon-tencent-weibo:before{content:""}.icon-qq:before{content:""}.icon-wechat:before,.icon-weixin:before{content:""}.icon-send:before,.icon-paper-plane:before{content:""}.icon-send-o:before,.icon-paper-plane-o:before{content:""}.icon-history:before{content:""}.icon-circle-thin:before{content:""}.icon-header:before{content:""}.icon-paragraph:before{content:""}.icon-sliders:before{content:""}.icon-share-alt:before{content:""}.icon-share-alt-square:before{content:""}.icon-bomb:before{content:""}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:'\201C' '\201D' '\2018' '\2019'}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #C0C0C0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type='button'],input[type='reset'],input[type='submit']{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type='checkbox'],input[type='radio']{box-sizing:border-box;padding:0}input[type='search']{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type='search']::-webkit-search-cancel-button,input[type='search']::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}html{height:100%;overflow:auto;background-color:#ededed;color:#323232}a{color:#3b6788;text-decoration:none}a:hover{text-decoration:underline}.scroll::-webkit-scrollbar,pre::-webkit-scrollbar,textarea::-webkit-scrollbar{width:9px;height:10px;background:none}pre::-webkit-scrollbar-button,textarea::-webkit-scrollbar-button,.scroll::-webkit-scrollbar-button{display:none;background:none}pre::-webkit-scrollbar-track,.scroll::-webkit-scrollbar-track{margin:20px}pre::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb,.scroll::-webkit-scrollbar-thumb{background-color:#CCC}pre::-webkit-scrollbar-thumb:hover,textarea::-webkit-scrollbar-thumb:hover,.scroll::-webkit-scrollbar-thumb:hover{background-color:#AAA}.hidden{display:none}img,object{max-width:100%;height:auto}ul,ol{padding-left:0;list-style:none}li>ul,li>ol{margin-top:.5em;margin-bottom:0}dd{margin-left:0}nav ul,.nav{margin-bottom:0;letter-spacing:-0.31em;word-spacing:-0.43em}nav li,.nav li{display:inline-block;letter-spacing:normal;word-spacing:normal}small{font-size:0.75rem false;line-height:1.5em}html{font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;font-weight:normal;text-rendering:optimizelegibility}.code,code,pre,kbd,samp{font-family:Menlo, Consolas, monospace}.text{font-family:Tahoma, Arial, Verdana, sans-serif}* html{font-size:87.5%}html{font-size:14px;line-height:1.5em}h1,h2,h3,h4,h5,h6,ul,ol,dl,fieldset,p,table,pre,hr{margin:0 0 1em}.form ul{margin-bottom:0}hr.section{height:1px;margin-top:-1px;border-color:transparent}.grid{position:relative;transition:left 300ms ease,right 300ms ease !important;max-width:100%;margin-left:auto;margin-right:auto}.grid:after{content:" ";display:block;clear:both}[class*='col-']:last-of-type,.col-1-3:nth-child(3n+0),.col-1-4:nth-child(4n+0),.col-1-5:nth-child(5n+0),.col-1-12:nth-child(12n+0){margin-right:0}[class*='col-']{overflow:hidden}.fl-n{float:none !important}.fl-l{float:left !important}.fl-r{float:right !important}.d-n{display:none !important}.d-b{display:block !important}.d-i{display:inline !important}.d-ib{display:inline-block !important}.o-h{overflow:hidden !important}.o-v{overflow:visible !important}.pt-n,.pv-n,.pa-n{padding-top:0 !important}.pt-s,.pv-s,.pa-s{padding-top:0.4em !important}.pt-m,.pv-m,.pa-m{padding-top:0.8em !important}.pt-l,.pv-l,.pa-l{padding-top:1.6em !important}.pt-xl,.pv-xl,.pa-xl{padding-top:3.2em !important}.pr-n,.ph-n,.pa-n{padding-right:0 !important}.pr-s,.phs,.pa-s{padding-right:0.4em !important}.pr-m,.ph-m,.pa-m{padding-right:0.8em !important}.pr-l,.ph-l,.pa-l{padding-right:1.6em !important}.pr-xl,.ph-xl,.pa-xl{padding-right:3.2em !important}.pb-n,.pv-n,.pa-n{padding-bottom:0 !important}.pb-s,.pv-s,.pa-s{padding-bottom:0.4em !important}.pb-m,.pv-m,.pa-m{padding-bottom:0.8em !important}.pb-l,.pv-l,.pa-l{padding-bottom:1.6em !important}.pb-xl,.pv-xl,.pa-xl{padding-bottom:3.2em !important}.pl-n,.ph-n,.pa-n{padding-left:0 !important}.pl-s,.ph-s,.pa-s{padding-left:0.4em !important}.pl-m,.ph-m,.pa-m{padding-left:0.8em !important}.pl-l,.ph-l,.pa-l{padding-left:1.6em !important}.pl-xl,.ph-xl,.pa-xl{padding-left:3.2em !important}.mt-n,.mv-n,.ma-n{margin-top:0 !important}.mt-s,.mv-s,.ma-s{margin-top:0.4em !important}.mt-m,.mv-m,.ma-m{margin-top:0.8em !important}.mt-l,.mv-l,.ma-l{margin-top:1.6em !important}.mt-xl,.mv-xl,.ma-xl{margin-top:3.2em !important}.mr-n,.mh-n,.ma-n{margin-right:0 !important}.mr-s,.mh-s,.ma-s{margin-right:0.4em !important}.mr-m,.mh-m,.ma-m{margin-right:0.8em !important}.mr-l,.mh-l,.ma-l{margin-right:1.6em !important}.mr-xl,.mh-xl,.ma-xl{margin-right:3.2em !important}.mb-n,.mv-n,.ma-n{margin-bottom:0 !important}.mb-s,.mv-s,.ma-s{margin-bottom:0.4em !important}.mb-m,.mv-m,.ma-m{margin-bottom:0.8em !important}.mb-l,.mv-l,.ma-l{margin-bottom:1.6em !important}.mb-xl,.mv-xl,.ma-xl{margin-bottom:3.2em !important}.ml-n,.mh-n,.ma-n{margin-left:0 !important}.ml-s,.mh-s,.ma-s{margin-left:0.4em !important}.ml-m,.mh-m,.ma-m{margin-left:0.8em !important}.ml-l,.mh-l,.ma-l{margin-left:1.6em !important}.ml-xl,.mh-xl,.ma-xl{margin-left:3.2em !important}.va-m{vertical-align:middle !important}.va-b{vertical-align:bottom !important}.va-t{vertical-align:top !important}.ta-l{text-align:left !important}.ta-c{text-align:center !important}.ta-r{text-align:right !important}.td-u{text-decoration:underline !important}.td-n{text-decoration:none !important}.c-foreground,.c-foreground:before,.c-foreground:after{color:#323232 !important}.bg-foreground,.bg-foreground:before,.bg-foreground:after{background-color:#323232 !important}.c-background,.c-background:before,.c-background:after{color:#FFF !important}.bg-background,.bg-background:before,.bg-background:after{background-color:#FFF !important}.c-foreground-light,.c-foreground-light:before,.c-foreground-light:after{color:#9b9b9b !important}.bg-foreground-light,.bg-foreground-light:before,.bg-foreground-light:after{background-color:#9b9b9b !important}.c-primary,.c-primary:before,.c-primary:after{color:#6cc !important}.bg-primary,.bg-primary:before,.bg-primary:after{background-color:#6cc !important}.c-secondary,.c-secondary:before,.c-secondary:after{color:#ff884c !important}.bg-secondary,.bg-secondary:before,.bg-secondary:after{background-color:#ff884c !important}.c-box,.c-box:before,.c-box:after{color:#f7f7f7 !important}.bg-box,.bg-box:before,.bg-box:after{background-color:#f7f7f7 !important}.c-ko,.c-ko:before,.c-ko:after{color:#a31f24 !important}.bg-ko,.bg-ko:before,.bg-ko:after{background-color:#a31f24 !important}.c-ok,.c-ok:before,.c-ok:after{color:#8eac5b !important}.bg-ok,.bg-ok:before,.bg-ok:after{background-color:#8eac5b !important}.c-info,.c-info:before,.c-info:after{color:#3b6788 !important}.bg-info,.bg-info:before,.bg-info:after{background-color:#3b6788 !important}.c-warning,.c-warning:before,.c-warning:after{color:#df8426 !important}.bg-warning,.bg-warning:before,.bg-warning:after{background-color:#df8426 !important}h1,.fz-h1,h2,.fz-h2,h3,.fz-h3,h4,.fz-h4,h5,.fz-h5{font-family:'Open Sans', Tahoma, sans-serif;line-height:1.2em;font-weight:normal;margin-bottom:0.4em}h1 small,.fz-h1 small,h2 small,.fz-h2 small,h3 small,.fz-h3 small,h4 small,.fz-h4 small,h5 small,.fz-h5 small{font-size:.6em;opacity:0.7}h1,.fz-h1{font-size:3.3rem !important}h2,.fz-h2{font-size:2.1rem !important}h3,.fz-h3{font-size:1.8rem !important}h4,.fz-h4{font-size:1.65rem !important}h5,.fz-h5{font-size:1.5rem !important}h1.logo,h2.logo,h3.logo,h4.logo,h5.logo,.fz-h1.logo,.fz-h2.logo,.fz-h3.logo,.fz-h4.logo,.fz-h5.logo{font-family:"Amatic","Arial Narrow", Tahoma, sans-serif;font-weight:bold}.fz-xxxl{font-size:3rem !important;line-height:1.5em}.fz-xxl{font-size:2.2rem !important;line-height:1.5em}.fz-xl{font-size:1.4rem !important;line-height:1.5em}.fz-l{font-size:1.2rem !important;line-height:1.5em}.fz-m{font-size:1rem !important;line-height:1.5em}.fz-default{font-size:0.9rem !important;line-height:1.5em}.fz-s{font-size:0.8rem !important;line-height:1.5em}.fz-xs{font-size:0.75rem !important;line-height:1.5em}.fw-n{font-weight:normal}.fw-b{font-weight:bold}.bda-n{border-width:0 !important}.bdt-n,.bdv-n{border-top-width:0 !important}.bdb-n,.bdv-n{border-bottom-width:0 !important}.bdr-n,.bdh-n{border-right-width:0 !important}.bdl-n,.bdh-n{border-left-width:0 !important}.bda-s{border-width:1px !important}.bdt-s,.bdv-s{border-top-width:1px !important}.bdb-s,.bdv-s{border-bottom-width:1px !important}.bdr-s,.bdh-s{border-right-width:1px !important}.bdl-s,.bdh-s{border-left-width:1px !important}.bda-m{border-width:0.4em !important}.bdt-m,.bdv-m{border-top-width:0.4em !important}.bdb-m,.bdv-m{border-bottom-width:0.4em !important}.bdr-m,.bdh-m{border-right-width:0.4em !important}.bdl-m,.bdh-m{border-left-width:0.4em !important}.bda-l{border-width:0.8em !important}.bdt-l,.bdv-l{border-top-width:0.8em !important}.bdb-l,.bdv-l{border-bottom-width:0.8em !important}.bdr-l,.bdh-l{border-right-width:0.8em !important}.bdl-l,.bdh-l{border-left-width:0.8em !important}.bda-xl{border-width:1.6em !important}.bdt-xl,.bdv-xl{border-top-width:1.6em !important}.bdb-xl,.bdv-xl{border-bottom-width:1.6em !important}.bdr-xl,.bdh-xl{border-right-width:1.6em !important}.bdl-xl,.bdh-xl{border-left-width:1.6em !important}.trf-r-5{transform:rotate(5deg) !important}.trf-r--5{transform:rotate(-5deg) !important}.trf-r-10{transform:rotate(10deg) !important}.trf-r--10{transform:rotate(-10deg) !important}.trf-r-15{transform:rotate(15deg) !important}.trf-r--15{transform:rotate(-15deg) !important}.trf-r-20{transform:rotate(20deg) !important}.trf-r--20{transform:rotate(-20deg) !important}.trf-r-25{transform:rotate(25deg) !important}.trf-r--25{transform:rotate(-25deg) !important}.trf-r-30{transform:rotate(30deg) !important}.trf-r--30{transform:rotate(-30deg) !important}.trf-r-35{transform:rotate(35deg) !important}.trf-r--35{transform:rotate(-35deg) !important}.trf-r-40{transform:rotate(40deg) !important}.trf-r--40{transform:rotate(-40deg) !important}.trf-r-45{transform:rotate(45deg) !important}.trf-r--45{transform:rotate(-45deg) !important}.trf-r-50{transform:rotate(50deg) !important}.trf-r--50{transform:rotate(-50deg) !important}.trf-r-55{transform:rotate(55deg) !important}.trf-r--55{transform:rotate(-55deg) !important}.trf-r-60{transform:rotate(60deg) !important}.trf-r--60{transform:rotate(-60deg) !important}.trf-r-65{transform:rotate(65deg) !important}.trf-r--65{transform:rotate(-65deg) !important}.trf-r-70{transform:rotate(70deg) !important}.trf-r--70{transform:rotate(-70deg) !important}.trf-r-75{transform:rotate(75deg) !important}.trf-r--75{transform:rotate(-75deg) !important}.trf-r-80{transform:rotate(80deg) !important}.trf-r--80{transform:rotate(-80deg) !important}.trf-r-85{transform:rotate(85deg) !important}.trf-r--85{transform:rotate(-85deg) !important}.trf-r-90{transform:rotate(90deg) !important}.trf-r--90{transform:rotate(-90deg) !important}.trf-r-95{transform:rotate(95deg) !important}.trf-r--95{transform:rotate(-95deg) !important}.trf-r-100{transform:rotate(100deg) !important}.trf-r--100{transform:rotate(-100deg) !important}.w-5{width:5% !important}.w-10{width:10% !important}.w-15{width:15% !important}.w-20,[class^='form'] .select-multiple-buttons{width:20% !important}.w-25{width:25% !important}.w-30{width:30% !important}.w-35{width:35% !important}.w-40{width:40% !important}.w-45{width:45% !important}.w-50{width:50% !important}.w-55{width:55% !important}.w-60{width:60% !important}.w-65{width:65% !important}.w-70{width:70% !important}.w-75{width:75% !important}.w-80{width:80% !important}.w-85{width:85% !important}.w-90{width:90% !important}.w-95{width:95% !important}.w-100{width:100% !important}[class^="icon"]{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}/*!
Animate.css - http://daneden.me/animate
Licensed under the MIT license
@@ -12,4 +12,4 @@
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- */.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}.animated.height{-webkit-transition:height false false,0.5s false false;-moz-transition:height false false false,0.5s false false false;-o-transition:height false false false,0.5s false false false;transition:height 0.5s}.animated.width{-webkit-transition:width false false,0.5s false false;-moz-transition:width false false false,0.5s false false false;-o-transition:width false false false,0.5s false false false;transition:width 0.5s}@-webkit-keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce}@-webkit-keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberband{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}40%{-webkit-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes rubberband{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(0.75);-ms-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}40%{-webkit-transform:scaleX(0.75) scaleY(1.25);-ms-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(0.85);-ms-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.rubberband{-webkit-animation-name:rubberband;animation-name:rubberband}@-webkit-keyframes shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);-ms-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);-ms-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);-ms-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);transform:scale(0.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);-ms-transform:scale(0.9) rotate(-3deg);transform:scale(0.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);-ms-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);-ms-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}15%{-webkit-transform:translateX(-25%) rotate(-5deg);transform:translateX(-25%) rotate(-5deg)}30%{-webkit-transform:translateX(20%) rotate(3deg);transform:translateX(20%) rotate(3deg)}45%{-webkit-transform:translateX(-15%) rotate(-3deg);transform:translateX(-15%) rotate(-3deg)}60%{-webkit-transform:translateX(10%) rotate(2deg);transform:translateX(10%) rotate(2deg)}75%{-webkit-transform:translateX(-5%) rotate(-1deg);transform:translateX(-5%) rotate(-1deg)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}@keyframes wobble{0%{-webkit-transform:translateX(0%);-ms-transform:translateX(0%);transform:translateX(0%)}15%{-webkit-transform:translateX(-25%) rotate(-5deg);-ms-transform:translateX(-25%) rotate(-5deg);transform:translateX(-25%) rotate(-5deg)}30%{-webkit-transform:translateX(20%) rotate(3deg);-ms-transform:translateX(20%) rotate(3deg);transform:translateX(20%) rotate(3deg)}45%{-webkit-transform:translateX(-15%) rotate(-3deg);-ms-transform:translateX(-15%) rotate(-3deg);transform:translateX(-15%) rotate(-3deg)}60%{-webkit-transform:translateX(10%) rotate(2deg);-ms-transform:translateX(10%) rotate(2deg);transform:translateX(10%) rotate(2deg)}75%{-webkit-transform:translateX(-5%) rotate(-1deg);-ms-transform:translateX(-5%) rotate(-1deg);transform:translateX(-5%) rotate(-1deg)}100%{-webkit-transform:translateX(0%);-ms-transform:translateX(0%);transform:translateX(0%)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes bounce-in{0%{opacity:0;-webkit-transform:scale(0.3);transform:scale(0.3)}50%{opacity:1;-webkit-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(0.9);transform:scale(0.9)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce-in{0%{opacity:0;-webkit-transform:scale(0.3);-ms-transform:scale(0.3);transform:scale(0.3)}50%{opacity:1;-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(0.9);-ms-transform:scale(0.9);transform:scale(0.9)}100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.bounce-in{-webkit-animation-name:bounce-in;animation-name:bounce-in}@-webkit-keyframes bounce-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px);transform:translateY(30px)}80%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounce-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px);-ms-transform:translateY(30px);transform:translateY(30px)}80%{-webkit-transform:translateY(-10px);-ms-transform:translateY(-10px);transform:translateY(-10px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.bounce-in-down{-webkit-animation-name:bounce-in-down;animation-name:bounce-in-down}@-webkit-keyframes bounce-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(30px);transform:translateX(30px)}80%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes bounce-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(30px);-ms-transform:translateX(30px);transform:translateX(30px)}80%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.bounce-in-left{-webkit-animation-name:bounce-in-left;animation-name:bounce-in-left}@-webkit-keyframes bounce-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}60%{opacity:1;-webkit-transform:translateX(-30px);transform:translateX(-30px)}80%{-webkit-transform:translateX(10px);transform:translateX(10px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes bounce-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}60%{opacity:1;-webkit-transform:translateX(-30px);-ms-transform:translateX(-30px);transform:translateX(-30px)}80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.bounce-in-right{-webkit-animation-name:bounce-in-right;animation-name:bounce-in-right}@-webkit-keyframes bounce-in-up{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}60%{opacity:1;-webkit-transform:translateY(-30px);transform:translateY(-30px)}80%{-webkit-transform:translateY(10px);transform:translateY(10px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounce-in-up{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}60%{opacity:1;-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}80%{-webkit-transform:translateY(10px);-ms-transform:translateY(10px);transform:translateY(10px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.bounce-in-up{-webkit-animation-name:bounce-in-up;animation-name:bounce-in-up}@-webkit-keyframes bounce-out{0%{-webkit-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(0.95);transform:scale(0.95)}50%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}100%{opacity:0;-webkit-transform:scale(0.3);transform:scale(0.3)}}@keyframes bounce-out{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(0.95);-ms-transform:scale(0.95);transform:scale(0.95)}50%{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}100%{opacity:0;-webkit-transform:scale(0.3);-ms-transform:scale(0.3);transform:scale(0.3)}}.bounce-out{-webkit-animation-name:bounce-out;animation-name:bounce-out}@-webkit-keyframes bounce-out-down{0%{-webkit-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}}@keyframes bounce-out-down{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}}.bounce-out-down{-webkit-animation-name:bounce-out-down;animation-name:bounce-out-down}@-webkit-keyframes bounce-out-left{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(20px);transform:translateX(20px)}100%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}}@keyframes bounce-out-left{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px)}100%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}}.bounce-out-left{-webkit-animation-name:bounce-out-left;animation-name:bounce-out-left}@-webkit-keyframes bounce-out-right{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}}@keyframes bounce-out-right{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}}.bounce-out-right{-webkit-animation-name:bounce-out-right;animation-name:bounce-out-right}@-webkit-keyframes bounce-out-up{0%{-webkit-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(20px);transform:translateY(20px)}100%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}}@keyframes bounce-out-up{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px)}100%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}}.bounce-out-up{-webkit-animation-name:bounce-out-up;animation-name:bounce-out-up}@-webkit-keyframes fade-in{0%{opacity:0}100%{opacity:1}}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}.fade-in{-webkit-animation-name:fade-in;animation-name:fade-in}@-webkit-keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-down{-webkit-animation-name:fade-in-down;animation-name:fade-in-down}@-webkit-keyframes fade-in-downBig{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-downBig{0%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-downBig{-webkit-animation-name:fade-in-downBig;animation-name:fade-in-downBig}@-webkit-keyframes fade-in-left{0%{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-left{0%{opacity:0;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-left{-webkit-animation-name:fade-in-left;animation-name:fade-in-left}@-webkit-keyframes fade-in-leftBig{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-leftBig{0%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-leftBig{-webkit-animation-name:fade-in-leftBig;animation-name:fade-in-leftBig}@-webkit-keyframes fade-in-right{0%{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-right{0%{opacity:0;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-right{-webkit-animation-name:fade-in-right;animation-name:fade-in-right}@-webkit-keyframes fade-in-rightBig{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-rightBig{0%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-rightBig{-webkit-animation-name:fade-in-rightBig;animation-name:fade-in-rightBig}@-webkit-keyframes fade-in-up{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-up{0%{opacity:0;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-up{-webkit-animation-name:fade-in-up;animation-name:fade-in-up}@-webkit-keyframes fade-in-upBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-upBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-upBig{-webkit-animation-name:fade-in-upBig;animation-name:fade-in-upBig}@-webkit-keyframes fade-out{0%{opacity:1}100%{opacity:0}}@keyframes fade-out{0%{opacity:1}100%{opacity:0}}.fade-out{-webkit-animation-name:fade-out;animation-name:fade-out}@-webkit-keyframes fade-out-down{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}}@keyframes fade-out-down{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px)}}.fade-out-down{-webkit-animation-name:fade-out-down;animation-name:fade-out-down}@-webkit-keyframes fade-out-downBig{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}}@keyframes fade-out-downBig{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}}.fade-out-downBig{-webkit-animation-name:fade-out-downBig;animation-name:fade-out-downBig}@-webkit-keyframes fade-out-left{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}}@keyframes fade-out-left{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px)}}.fade-out-left{-webkit-animation-name:fade-out-left;animation-name:fade-out-left}@-webkit-keyframes fade-out-leftBig{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}}@keyframes fade-out-leftBig{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}}.fade-out-leftBig{-webkit-animation-name:fade-out-leftBig;animation-name:fade-out-leftBig}@-webkit-keyframes fade-out-right{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}}@keyframes fade-out-right{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px)}}.fade-out-right{-webkit-animation-name:fade-out-right;animation-name:fade-out-right}@-webkit-keyframes fade-out-rightBig{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}}@keyframes fade-out-rightBig{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}}.fade-out-rightBig{-webkit-animation-name:fade-out-rightBig;animation-name:fade-out-rightBig}@-webkit-keyframes fade-out-up{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}}@keyframes fade-out-up{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}}.fade-out-up{-webkit-animation-name:fade-out-up;animation-name:fade-out-up}@-webkit-keyframes fade-out-upBig{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}}@keyframes fade-out-upBig{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}}.fade-out-upBig{-webkit-animation-name:fade-out-upBig;animation-name:fade-out-upBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) translateZ(0) rotateY(0) scale(1);transform:perspective(400px) translateZ(0) rotateY(0) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) translateZ(0) rotateY(0) scale(1);-ms-transform:perspective(400px) translateZ(0) rotateY(0) scale(1);transform:perspective(400px) translateZ(0) rotateY(0) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);-ms-transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-ms-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);-ms-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);-ms-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;-ms-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flip-inX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-10deg);transform:perspective(400px) rotateX(-10deg)}70%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}100%{-webkit-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}}@keyframes flip-inX{0%{-webkit-transform:perspective(400px) rotateX(90deg);-ms-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-10deg);-ms-transform:perspective(400px) rotateX(-10deg);transform:perspective(400px) rotateX(-10deg)}70%{-webkit-transform:perspective(400px) rotateX(10deg);-ms-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}100%{-webkit-transform:perspective(400px) rotateX(0deg);-ms-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}}.flip-inX{-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important;-webkit-animation-name:flip-inX;animation-name:flip-inX}@-webkit-keyframes flip-inY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-10deg);transform:perspective(400px) rotateY(-10deg)}70%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg)}100%{-webkit-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}}@keyframes flip-inY{0%{-webkit-transform:perspective(400px) rotateY(90deg);-ms-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-10deg);-ms-transform:perspective(400px) rotateY(-10deg);transform:perspective(400px) rotateY(-10deg)}70%{-webkit-transform:perspective(400px) rotateY(10deg);-ms-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg)}100%{-webkit-transform:perspective(400px) rotateY(0deg);-ms-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}}.flip-inY{-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important;-webkit-animation-name:flip-inY;animation-name:flip-inY}@-webkit-keyframes flip-outX{0%{-webkit-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flip-outX{0%{-webkit-transform:perspective(400px) rotateX(0deg);-ms-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateX(90deg);-ms-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flip-outX{-webkit-animation-name:flip-outX;animation-name:flip-outX;-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important}@-webkit-keyframes flip-outY{0%{-webkit-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flip-outY{0%{-webkit-transform:perspective(400px) rotateY(0deg);-ms-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateY(90deg);-ms-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flip-outY{-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important;-webkit-animation-name:flip-outY;animation-name:flip-outY}@-webkit-keyframes lightSpeed-in{0%{-webkit-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}60%{-webkit-transform:translateX(-20%) skewX(30deg);transform:translateX(-20%) skewX(30deg);opacity:1}80%{-webkit-transform:translateX(0%) skewX(-15deg);transform:translateX(0%) skewX(-15deg);opacity:1}100%{-webkit-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}}@keyframes lightSpeed-in{0%{-webkit-transform:translateX(100%) skewX(-30deg);-ms-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}60%{-webkit-transform:translateX(-20%) skewX(30deg);-ms-transform:translateX(-20%) skewX(30deg);transform:translateX(-20%) skewX(30deg);opacity:1}80%{-webkit-transform:translateX(0%) skewX(-15deg);-ms-transform:translateX(0%) skewX(-15deg);transform:translateX(0%) skewX(-15deg);opacity:1}100%{-webkit-transform:translateX(0%) skewX(0deg);-ms-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}}.lightSpeed-in{-webkit-animation-name:lightSpeed-in;animation-name:lightSpeed-in;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeed-out{0%{-webkit-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}100%{-webkit-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}}@keyframes lightSpeed-out{0%{-webkit-transform:translateX(0%) skewX(0deg);-ms-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}100%{-webkit-transform:translateX(100%) skewX(-30deg);-ms-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}}.lightSpeed-out{-webkit-animation-name:lightSpeed-out;animation-name:lightSpeed-out;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotate-in{0%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}100%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in{0%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(-200deg);-ms-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}100%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in{-webkit-animation-name:rotate-in;animation-name:rotate-in}@-webkit-keyframes rotate-in-down-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-down-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-down-left{-webkit-animation-name:rotate-in-down-left;animation-name:rotate-in-down-left}@-webkit-keyframes rotate-in-down-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-down-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-down-right{-webkit-animation-name:rotate-in-down-right;animation-name:rotate-in-down-right}@-webkit-keyframes rotate-in-up-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-up-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-up-left{-webkit-animation-name:rotate-in-up-left;animation-name:rotate-in-up-left}@-webkit-keyframes rotate-in-up-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-up-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-up-right{-webkit-animation-name:rotate-in-up-right;animation-name:rotate-in-up-right}@-webkit-keyframes rotate-out{0%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotate-out{0%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(200deg);-ms-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotate-out{-webkit-animation-name:rotate-out;animation-name:rotate-out}@-webkit-keyframes rotate-out-down-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotate-out-down-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotate-out-down-left{-webkit-animation-name:rotate-out-down-left;animation-name:rotate-out-down-left}@-webkit-keyframes rotate-out-down-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}@keyframes rotate-out-down-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}.rotate-out-down-right{-webkit-animation-name:rotate-out-down-right;animation-name:rotate-out-down-right}@-webkit-keyframes rotate-out-up-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}@keyframes rotate-out-up-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}.rotate-out-up-left{-webkit-animation-name:rotate-out-up-left;animation-name:rotate-out-up-left}@-webkit-keyframes rotate-out-up-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotate-out-up-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotate-out-up-right{-webkit-animation-name:rotate-out-up-right;animation-name:rotate-out-up-right}@-webkit-keyframes slide-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.slide-in-down{-webkit-animation-name:slide-in-down;animation-name:slide-in-down}@-webkit-keyframes slide-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.slide-in-left{-webkit-animation-name:slide-in-left;animation-name:slide-in-left}@-webkit-keyframes slide-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.slide-in-right{-webkit-animation-name:slide-in-right;animation-name:slide-in-right}@-webkit-keyframes slide-out-left{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}}@keyframes slide-out-left{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}}.slide-out-left{-webkit-animation-name:slide-out-left;animation-name:slide-out-left}@-webkit-keyframes slide-out-right{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}}@keyframes slide-out-right{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}}.slide-out-right{-webkit-animation-name:slide-out-right;animation-name:slide-out-right}@-webkit-keyframes slide-out-up{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}}@keyframes slide-out-up{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}}.slide-out-up{-webkit-animation-name:slide-out-up;animation-name:slide-out-up}@-webkit-keyframes hinge{0%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}80%{-webkit-transform:rotate(60deg) translateY(0);transform:rotate(60deg) translateY(0);opacity:1;-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}100%{-webkit-transform:translateY(700px);transform:translateY(700px);opacity:0}}@keyframes hinge{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);-ms-transform:rotate(80deg);transform:rotate(80deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}80%{-webkit-transform:rotate(60deg) translateY(0);-ms-transform:rotate(60deg) translateY(0);transform:rotate(60deg) translateY(0);opacity:1;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}100%{-webkit-transform:translateY(700px);-ms-transform:translateY(700px);transform:translateY(700px);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes roll-in{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}@keyframes roll-in{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);-ms-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}.roll-in{-webkit-animation-name:roll-in;animation-name:roll-in}@-webkit-keyframes roll-out{0%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}100%{opacity:0;-webkit-transform:translateX(100%) rotate(120deg);transform:translateX(100%) rotate(120deg)}}@keyframes roll-out{0%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);-ms-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}100%{opacity:0;-webkit-transform:translateX(100%) rotate(120deg);-ms-transform:translateX(100%) rotate(120deg);transform:translateX(100%) rotate(120deg)}}.roll-out{-webkit-animation-name:roll-out;animation-name:roll-out}[class*='box-'],.box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;margin-bottom:0.8em;padding:0.8em;overflow:hidden}.box{background:#f7f7f7;color:#323232}.box .box-lighten{background:#FFF}.box-background{background:#FFF;color:#323232}.box-background>.box-lighten{background:#f7f7f7}.box-background .box-background{border:1px solid #f7f7f7}.box-foreground{background:#323232;color:#FFF}.box-ok{background:#8eac5b;color:#FFF}.box-ko{background:#a31f24;color:#FFF}.box-info{background:#3b6788;color:#FFF}.box-warning{background:#df8426;color:#FFF}.box-darken{background-color:rgba(50,50,50,0.3);color:#FFF;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.box-lighten{background-color:rgba(255,255,255,0.3);color:#323232;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.box-primary{background:#6cc;color:#323232}.box-primary a{color:#323232}.box-secondary{background:#ff884c;color:#FFF}[class*='button-'],.button{-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;margin:0 0.4em 0.4em 0;padding:0.5333333333em 1.6em;border:0px none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.small[class*='button-'],.small.button{padding:0.4em 0.8em}[class*='button-']:hover,.button:hover{text-decoration:none}[class*='icon-'][class*='button-'],[class*='icon-'].button{padding-left:1.0666666667em}[class*='icon-'][class*='button-']:after,[class*='icon-'].button:after,[class*='icon-'][class*='button-']:before,[class*='icon-'].button:before{font-family:'fontawesome' !important}[class*='icon-'][class*='button-']:after,[class*='icon-'].button:after{margin-left:0.4em}[class*='icon-'][class*='button-']:before,[class*='icon-'].button:before{margin-right:0.4em}[class*='button-'],.button{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;vertical-align:middle;text-decoration:none;text-align:center;cursor:pointer;box-sizing:border-box;text-shadow:0 1px rgba(50,50,50,0.3)}[class*='button-'].button-icon,.button.button-icon{padding:0.4em 0 0.4em 0.4em;font-family:'FontAwesome' !important;min-height:26px;min-width:26px}[class*='button-']:hover,.button:hover{opacity:0.9}[class*='button-']:active,.button:active{opacity:0.8;outline:0}input[type='button'],input[type='reset'],input[type='submit']{height:auto;width:auto}.button-fat{padding:0.4em 1.6em;font-size:1.4rem }.button-fat.button-icon{min-height:36px;min-width:36px}.button-slim{padding:0.2666666667em 0.8em;font-size:0.8rem }.button-slim.button-icon{padding:0.2em 0 0.2em 0.4em;min-height:19px;min-width:19px}.button{background:rgba(53,64,81,0.8);color:#FFF}.button-primary{background:#6cc;color:#FFF}.button-secondary{background:#ff884c;color:#323232}.button-ok{background:#8eac5b;color:#FFF}.button-ko{background:#a31f24;color:#FFF}.button-empty{background:none;color:#3b6788}.button-empty:hover{text-decoration:underline}.button-disabled,.button-disabled:hover{border:1px solid #ccc;-webkit-box-shadow:inset 0 -1px 2px 0 rgba(0,0,0,0.1),1px 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 -1px 2px 0 rgba(0,0,0,0.1),1px 1px 3px rgba(0,0,0,0.1);box-shadow:inset 0 -1px 2px 0 rgba(0,0,0,0.1),1px 1px 3px rgba(0,0,0,0.1);text-shadow:1px,1px,1px,#ddd;background:#eee;color:#ccc;cursor:default;pointer-events:none}[class*='button-'],.button{font-weight:bold;font-family:'Open Sans', Tahoma, sans-serif}[class*='button-'].button-slim,.button.button-slim{font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal}.buttons-group{padding:0;margin:0;display:initial}.buttons-group [class*='button-'],.buttons-group .button{margin-right:1px;border-radius:0}.buttons-group [class*='button']:first-child{-webkit-border-radius:1px 0 0 1px;-moz-border-radius:1px 0 0 1px;-ms-border-radius:1px 0 0 1px;-o-border-radius:1px 0 0 1px;border-radius:1px 0 0 1px}.buttons-group [class*='button']:last-child{-webkit-border-radius:0 1px 1px 0;-moz-border-radius:0 1px 1px 0;-ms-border-radius:0 1px 1px 0;-o-border-radius:0 1px 1px 0;border-radius:0 1px 1px 0}.filters{background:transparent}.filters li{position:relative;padding:0.2em 1.0666666667em;margin-right:0 !important}.filters li:hover a{color:rgba(59,103,136,0.9);text-decoration:underline}.filters li a{font-weight:normal;font-size:0.9rem;color:#3b6788}.filters li.active:after{border:8px solid transparent;border-style:outset outset solid outset;content:'';height:0;left:0;overflow:hidden;position:absolute;width:0;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);top:50%;border-width:6px;margin-top:-6px;border-bottom-color:#3b6788}.filters li.active a{font-weight:bold;color:#323232;text-decoration:none}.filters li.active a:hover{background:transparent;cursor:default}[class^='form'] input[type='text']:focus,[class^='form'] input[type='search']:focus,[class^='form'] input[type='url']:focus,[class^='form'] input[type='password']:focus,[class^='form'] input[type='email']:focus,[class^='form'] input[type='number']:focus,[class^='form'] input[type='tel']:focus,[class^='form'] input[type='date']:focus,[class^='form'] input[type='datetime-local']:focus,[class^='form'] input[type='month']:focus,[class^='form'] select:focus,[class^='form'] textarea:focus,[class^='form'] .select-multiple-checkbox-list .checkbox-list:focus,.form-search:focus,.date-hour input[type='time']:focus,.boxpopuli-container textarea:focus,[class^='form'] .select-multiple-checkbox-list .checkbox-list li:hover,[class^='form'] .select-multiple-checkbox-list .checkbox-list .selected,[class^='form'] .radio-list-complex li:hover,[class^='form'] .radio-list-complex li.selected,[class^='form'] .checkbox-list-complex li:hover,[class^='form'] .checkbox-list-complex li.selected{border-color:rgba(59,103,136,0.5);background:#e7eff5;outline:none}[class^='form'] input[type='text'],[class^='form'] input[type='search'],[class^='form'] input[type='url'],[class^='form'] input[type='password'],[class^='form'] input[type='email'],[class^='form'] input[type='number'],[class^='form'] input[type='tel'],[class^='form'] input[type='date'],[class^='form'] input[type='datetime-local'],[class^='form'] input[type='month'],[class^='form'] select,[class^='form'] textarea,[class^='form'] .select-multiple-checkbox-list .checkbox-list,.form-search,.date-hour input[type='time'],.boxpopuli-container textarea{display:block;padding:0.8em 0.8em;border:1px solid rgba(50,50,50,0.3);background:#FFF;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";-moz-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)"}[class^='form'] .error-fields input[type='text'],[class^='form'] .error-fields input[type='search'],[class^='form'] .error-fields input[type='url'],[class^='form'] .error-fields input[type='password'],[class^='form'] .error-fields input[type='email'],[class^='form'] .error-fields input[type='number'],[class^='form'] .error-fields input[type='tel'],[class^='form'] .error-fields input[type='date'],[class^='form'] .error-fields input[type='datetime-local'],[class^='form'] .error-fields input[type='month'],[class^='form'] .error-fields select,[class^='form'] .error-fields textarea{border:1px solid adjust-lightness(#a31f24, 10%);background:adjust-lightness(#a31f24, 42%)}[class^='form']{font-size:1rem}[class^='form']>fieldset{position:relative;margin-bottom:3.2em;border:0px none;padding:0}[class^='form'] legend{display:block;padding:0 0 0.4em 0;margin:0 0 0.8em 0;color:#323232;border-bottom:1px solid #d1d1d1;font:normal 1.4rem 'Open Sans', Tahoma, sans-serif;width:100%}[class^='form'] label{display:block;padding-bottom:0.8em;cursor:pointer;text-align:left}[class^='form'] details{padding:0 1.6em}[class^='form'] details summary{cursor:pointer;margin:0 0 1.6em -1.6em;font-weight:bold;font-size:0.9rem;color:#3b6788}[class^='form'] em{display:inline-block;padding:0.4em 0;font-style:normal;font-size:0.9rem;color:#9b9b9b}[class^='form'] [class*='msg-']{font-size:0.9rem}[class^='form'] ul.list-horizontal li,[class^='form'] ul.filters li{margin-right:1.6em}[class^='form'] ol{padding:0;margin:0}[class^='form'] ol>li{list-style:none;display:block;padding:0 0 1.6em}[class^='form'] .error-fields label{color:#a31f24}[class^='form'] .error-fields label:before{padding-right:5px}[class^='form'] input[type='text'],[class^='form'] input[type='search'],[class^='form'] input[type='url'],[class^='form'] input[type='password'],[class^='form'] input[type='email'],[class^='form'] input[type='number'],[class^='form'] input[type='tel'],[class^='form'] input[type='date'],[class^='form'] input[type='datetime-local'],[class^='form'] input[type='month'],[class^='form'] select,[class^='form'] textarea{width:100%;font-size:0.9rem}[class^='form'] input[readonly],[class^='form'] textarea[readonly],[class^='form'] input[readonly='readonly'],[class^='form'] textarea[readonly='readonly']{border:0px none;background:none;outline:0;box-shadow:none;padding-left:0;font-weight:bold}[class^='form'] textarea{width:100%;min-height:200px;resize:none}[class^='form'] input[type='range']{display:block;width:100%}[class^='form'] input[type='number']{display:inline-block;width:75px;text-align:right}[class^='form'] input[type='tel'],[class^='form'] input[type='date'],[class^='form'] input[type='datetime-local'],[class^='form'] input[type='month']{max-width:300px}[class^='form'] input[type='radio']{display:inline-block}[class^='form'] input:disabled{background-color:#fff}[class^='form'] select{border-radius:0;background-color:#FFF;border-style:solid;border-width:1px;border-color:#d1d1d1;padding:0.4em;color:rgba(0,0,0,0.75);line-height:normal;border-radius:0;height:3.04em}[class^='form'] .select-multiple{overflow:hidden;padding-bottom:1.6em}[class^='form'] .select-multiple li{float:left;width:39%}[class^='form'] .select-multiple select{width:100%;min-height:200px;padding:0}[class^='form'] .select-multiple-buttons{margin-top:90px;text-align:center}[class^='form'] .select-multiple-buttons button{margin:2px 0;width:80%}[class^='form'] .select-multiple-checkbox-list{overflow:hidden;padding-top:1.6em;width:45%}[class^='form'] .select-multiple-checkbox-list .checkbox-list{overflow-y:scroll;margin-top:1.6em;height:200px}[class^='form'] .select-multiple-checkbox-list label{display:inline-block}[class^='form'] .select-multiple-checkbox-list .see-more{margin-left:0.5333333333em;font-size:0.8rem}[class^='form'] .select-multiple-checkbox-list .uncheck-selections{font-size:0.9rem;display:block;text-align:right}[class^='form'] .radio-list-complex,[class^='form'] .checkbox-list-complex{margin-left:0}[class^='form'] .radio-list-complex label,[class^='form'] .checkbox-list-complex label{cursor:pointer;overflow:hidden;padding-bottom:0}[class^='form'] .radio-list-complex label .title,[class^='form'] .checkbox-list-complex label .title{display:block;font:1.2rem 'Open Sans', Tahoma, sans-serif}[class^='form'] .radio-list-complex li,[class^='form'] .checkbox-list-complex li{overflow:hidden;position:relative;border:1px solid #d1d1d1;padding:1.6em 3.2em 1.6em 12.8em;margin-bottom:1.6em;background-color:#FFF;-webkit-box-shadow:inset 0 2px 8px rgba(50,50,50,0.2),0 1px 1px rgba(255,255,255,0.5);-moz-box-shadow:inset 0 2px 8px rgba(50,50,50,0.2),0 1px 1px rgba(255,255,255,0.5);box-shadow:inset 0 2px 8px rgba(50,50,50,0.2),0 1px 1px rgba(255,255,255,0.5);-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}[class^='form'] .radio-list-complex.no-icon li,[class^='form'] .checkbox-list-complex.no-icon li{padding-left:6.4em}[class^='form'] .radio-list-complex p,[class^='form'] .checkbox-list-complex p{margin:0}[class^='form'] .radio-list-complex input[type='radio'],[class^='form'] .radio-list-complex input[type='checkbox'],[class^='form'] .checkbox-list-complex input[type='radio'],[class^='form'] .checkbox-list-complex input[type='checkbox']{position:absolute;left:2em;top:45%}[class^='form'] .radio-list-complex img,[class^='form'] .checkbox-list-complex img{position:absolute;left:52px;top:50%;height:50px;margin-top:-25px}[class^='form'] option{padding:0;margin:0}[class^='form'] .options-list{overflow:hidden;height:300px}.form-search{position:relative;overflow:hidden;padding:0}.form-search input[type='search']{border:none;width:100%}.form-search button{position:absolute;top:1px;right:1px;border:1px solid #d1d1d1;padding-left:0.8em;padding-right:0.8em;margin:0}.navigation .form-search,.navigation-sub .form-search{font-family:'Open Sans', Tahoma, sans-serif;font-size:1rem !important;width:35%;min-width:210px;float:right;margin:0.2666666667em 0.2666666667em 0 0;height:38px}.navigation .form-search button,.navigation-sub .form-search button{height:34px}.navigation-sub .form-search{margin:-4px 2px 0 0;height:38px}.navigation-sub .form-search button{height:34px}.header-mobile{position:relative;min-height:3.2em}.header-mobile .header-mobile-container{background:#6cc;overflow:hidden;text-align:center;position:fixed;z-index:100;width:100%;box-shadow:0 0 0.4em rgba(50,50,50,0.5)}.header-mobile .logo{display:inline-block}.header-mobile .logo img{max-height:43px}.header-mobile [class^='button']{background:none;color:#323232;margin:0}.header-mobile-buttons-left{display:inline-block;vertical-align:middle;float:left}.header-mobile-buttons-right{display:inline-block;vertical-align:middle;float:right}[class*='label-'],.label{display:inline-block;position:relative;white-space:nowrap;padding:0 0.5333333333em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;font-size:0.8rem;font-weight:bold;text-align:center;margin-bottom:auto;vertical-align:baseline}.label{background:#f7f7f7;color:rgba(50,50,50,0.8)}.label-ok{background:#8eac5b;color:rgba(255,255,255,0.8)}.label-ko{background:#a31f24;color:rgba(255,255,255,0.8)}.label-info{background:#3b6788;color:rgba(255,255,255,0.8)}.label-warning{background:#df8426;color:rgba(255,255,255,0.8)}img.image-circle,a.image-circle{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border-style:solid;border-color:#f7f7f7}a.image-circle{text-decoration:none;display:inline-block;vertical-align:middle;overflow:hidden}a.image-circle img{display:block}.thumbnail{line-height:0;display:inline-block;border:solid 0.4em #FFF;max-width:100%;box-shadow:0 0 2px 1px rgba(50,50,50,0.2);transition:all 200ms ease-out}.thumbnail:hover{opacity:0.9;box-shadow:0 0 2px 1px rgba(59,103,136,0.4)}.thumbnail img{max-width:100%}.thumbnail-group{overflow:hidden;width:auto;padding-top:0.4em;margin-bottom:1.6em}.thumbnail-group li{display:inline-block;margin:0 0.8em 0.8em 0;position:relative}.thumbnail-actions{position:absolute;overflow:hidden;z-index:100;bottom:0.8em;right:0.8em}.thumbnail-actions li{margin:0}.thumbnail-actions a{padding:0.4em;background:rgba(255,255,255,0.7);color:#323232}.thumbnail-actions a:hover{background:#3b6788;color:#FFF;text-decoration:none}img.image-polaroid,a.image-polaroid{border-color:#f7f7f7;border-width:0.8em 0.8em 2.4em;border-style:solid;-webkit-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));-moz-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2))}img.left.image-polaroid,a.left.image-polaroid{-webkit-transform:rotate(-20deg);-moz-transform:rotate(-20deg);-ms-transform:rotate(-20deg);-o-transform:rotate(-20deg);transform:rotate(-20deg);display:inline-block}img.right.image-polaroid,a.right.image-polaroid{-webkit-transform:rotate(20deg);-moz-transform:rotate(20deg);-ms-transform:rotate(20deg);-o-transform:rotate(20deg);transform:rotate(20deg);display:inline-block}a.image-polaroid{text-decoration:none;display:inline-block}a.image-polaroid.left,a.image-polaroid.right{margin-bottom:1.6em}ul[class*='list-'],.filters,ul.list,.filters{list-style:disc inside;padding-left:1.6em}ul[class*='list-'] ul,.filters ul,ul.list ul,.filters ul{list-style:circle}ol.list,ol.list-horizontal,ol.filters{list-style:decimal inside;padding-left:1.6em}dl[class*='list-'] dt,dl.list dt{color:#9b9b9b}dl[class*='list-'] dd,dl.list dd{margin-bottom:0.4em}.list-horizontal,.filters{padding-left:0 !important}.list-horizontal li,.filters li{display:inline-block;margin-right:0.4em}.list-horizontal dt,.filters dt,.list-horizontal dd,.filters dd{float:left}.list-horizontal dt,.filters dt{clear:left}.list-horizontal dd,.filters dd{margin-left:0.8em}[class*='msg-']{padding:0.4em 1.6em 0.4em 4em;margin:0 0 1.6em;color:#323232;-webkit-border-radius:1px 1px 0 0;-moz-border-radius:1px 1px 0 0;-ms-border-radius:1px 1px 0 0;-o-border-radius:1px 1px 0 0;border-radius:1px 1px 0 0;overflow:hidden;border-style:solid;border-width:0 0 3px 0;background:#FFF;position:relative;-webkit-box-shadow:0 0 3px rgba(50,50,50,0.2);-moz-box-shadow:0 0 3px rgba(50,50,50,0.2);box-shadow:0 0 3px rgba(50,50,50,0.2);min-height:26px}[class*='msg-']:before{position:absolute;left:0.5333333333em;min-width:1.6em;top:50%;padding:0.2em 0;margin:-17px 6px 0 0;font-family:'fontawesome';font-style:normal;font-weight:normal;text-align:center;font-size:1.4rem ;text-decoration:inherit;vertical-align:baseline;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;text-align:center;background-color:rgba(255,255,255,0.7)}.msg-info{border-color:#3b6788;background-color:rgba(59,103,136,0.1)}.msg-info i{color:#3b6788}.msg-info:before{content:'\f129';color:#3b6788}.msg-ko{border-color:#a31f24;background-color:rgba(163,31,36,0.1)}.msg-ko i{color:adjust-lightness(#a31f24, -25%)}.msg-ko i{color:#a31f24}.msg-ko:before{content:'\f00d';color:#a31f24}.msg-ok{border-color:#8eac5b;background-color:rgba(142,172,91,0.1)}.msg-ok i{color:adjust-lightness(#8eac5b, -25%)}.msg-ok i{color:#8eac5b}.msg-ok:before{content:'\f00c';color:#8eac5b}.msg-warning{border-color:#df8426;background-color:rgba(223,132,38,0.1)}.msg-warning i{color:adjust-lightness(#df8426, -35%)}.msg-warning i{color:#df8426}.msg-warning:before{content:'\f071';color:#df8426}[class^='navigation']{position:relative;width:auto}.navigation-slim[class^='navigation'] a{padding:0.2em 0.8em}[class^='navigation'] li{display:inline-block;vertical-align:top}[class^='navigation'] li.active a{position:relative}[class^='navigation'] a{display:block;padding:0.5333333333em 0.8em;text-decoration:none;margin:0.2666666667em 0 0.2em 0.2666666667em}[class^='navigation'].navigation-vertical li{float:none !important;display:block !important}[class^='navigation'].navigation-vertical a{margin-right:0.2666666667em !important}.navigation{background:#354051;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;font-size:1rem}.navigation a{font-family:'Open Sans', Tahoma, sans-serif;font-weight:normal;color:#FFF;text-rendering:optimizeLegibility;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;text-transform:capitalize}.navigation a:hover{background-color:rgba(255,255,255,0.2)}.navigation>ul li.active{margin:0 0.4em}.navigation>ul li.active a,.navigation>ul li.active a:hover{background-color:rgba(255,255,255,0.2);color:#FFF;text-shadow:0,0,5px,rgba(0,0,0,0.2);border-top-color:rgba(255,255,255,0.1);border-bottom-color:rgba(0,0,0,0.1);font-weight:bold}.navigation ul ul{margin-top:0;background:#2E3847;position:relative;z-index:1}.navigation ul ul li a{font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal;font-size:0.85rem;text-transform:capitalize;background:none}.navigation ul ul li.active a{margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.navigation.navigation-vertical li,.navigation.navigation-vertical a{margin:0 !important}.navigation-sub{background-image:-owg(linear-gradient(#FFF 75%, #f7f7f7));background-image:-webkit(linear-gradient(#FFF 75%, #f7f7f7));background-image:-moz(linear-gradient(#FFF 75%, #f7f7f7));background-image:-o(linear-gradient(#FFF 75%, #f7f7f7));background-image:linear-gradient(#FFF 75%, #f7f7f7);-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.navigation-sub a{font-family:Tahoma, Arial, Verdana, sans-serif;font-size:1rem;color:#323232;text-rendering:optimizeLegibility;margin:0}.navigation-sub a:hover{background-color:rgba(0,0,0,0.05)}.navigation-sub>ul .active a{border-bottom:2px solid #6cc}.navigation-sub>ul .active a:before{border:0.5333333333em solid transparent;border-style:outset outset solid outset;content:'';height:0;left:50%;margin-left:-0.5333333333em;overflow:hidden;position:absolute;width:0;background:transparent;border-bottom-color:#6cc;bottom:-2px;z-index:100}.navigation-sub ul ul a{font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal;font-size:0.85rem}.navigation-sub.navigation-vertical{background:none}.navigation-sub.navigation-vertical a{margin-right:0 !important}.navigation-sub.navigation-vertical>ul .active a{border-bottom:0px none;background:#FFF;color:#323232;border-left:2px solid #FFF;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.navigation-sub.navigation-vertical>ul .active a:before{left:0;margin-bottom:-0.5333333333em;margin-left:0;bottom:50%;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.navigation-sub.navigation-vertical>ul .active ul{margin:0;background-image:-owg(linear-gradient(#FFF 75%, #f7f7f7));background-image:-webkit(linear-gradient(#FFF 75%, #f7f7f7));background-image:-moz(linear-gradient(#FFF 75%, #f7f7f7));background-image:-o(linear-gradient(#FFF 75%, #f7f7f7));background-image:linear-gradient(#FFF 75%, #f7f7f7)}.navigation-sub.navigation-vertical>ul .active li a{border-bottom:0px none;background:transparent;border-left:0px none;padding-left:2.88em;color:#323232}.navigation-sub.navigation-vertical>ul .active li a:hover{background-color:rgba(0,0,0,0.05)}.navigation-sub.navigation-vertical>ul .active li a:before{display:none}.navigation-sub.navigation-vertical>ul .active li.active a{font-weight:bold}.navigation-sub.navigation-vertical>ul .active li.active a:before{display:block;left:1.6em}.navigation-dropdown>a{padding-right:1.6em !important;margin-bottom:0}.navigation-dropdown:after{content:"";color:#FFF;position:absolute;top:1.0666666667em;right:0.5333333333em}.navigation-dropdown .opened{background:rgba(255,255,255,0.5)}.navigation-dropdown ul{display:none;position:absolute !important;right:0;margin-top:0;background:#354051;-webkit-box-shadow:0 0 0.8em rgba(50,50,50,0.25);-moz-box-shadow:0 0 0.8em rgba(50,50,50,0.25);box-shadow:0 0 0.8em rgba(50,50,50,0.25);-webkit-border-radius:0 0 1px 1px;-moz-border-radius:0 0 1px 1px;-ms-border-radius:0 0 1px 1px;-o-border-radius:0 0 1px 1px;border-radius:0 0 1px 1px}.navigation-dropdown li{display:block}.navigation-dropdown li a{margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.navigation-dropdown li a:hover{background:#FFF}.pagination{overflow:hidden;margin-bottom:0.8em;clear:both;width:auto;text-align:center;color:#323232;padding:0;background:transparent;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem }.pagination.right{float:right}.pagination ul{word-spacing:inherit !important;letter-spacing:inherit !important}.pagination li{display:inline-block;padding:0 1px}.pagination a{display:block;padding:0.4em;line-height:100%;min-width:1.6em;margin-bottom:0.4em;text-decoration:none;font-weight:normal;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;color:#323232;background-color:#f7f7f7;border-width:1px;border-style:solid;border-color:#f7f7f7;min-height:1rem}.pagination a:hover{background:#3b6788;color:#FFF}.pagination .active a{background:#FFF;color:#323232;border-color:rgba(50,50,50,0.1);font-weight:bold}.rating-0-5,.rating-1-5,.rating-2-5,.rating-3-5,.rating-4-5,.rating-5-5{display:inline-block;font-family:'FontAwesome';overflow:hidden;max-height:1.5em;vertical-align:middle}.rating-0-5:before,.rating-1-5:before,.rating-2-5:before,.rating-3-5:before,.rating-4-5:before,.rating-5-5:before{display:block;color:#FCCB04}.rating-0-5:before{content:""}.rating-1-5:before{content:""}.rating-2-5:before{content:""}.rating-3-5:before{content:""}.rating-4-5:before{content:""}.rating-5-5:before{content:""}.steps{display:block;overflow:hidden;margin:0 auto;padding:0;background:#fff;font:bold 14px "Century Gothic",Arial,sans-serif;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.steps li{display:block;float:left;padding:0.8em 1.6em;margin:0;text-transform:uppercase;color:#323232;font-family:'Open Sans', Tahoma, sans-serif;font-size:1.2rem }.steps li:first-child{padding-left:30px}.steps li:last-child{padding-right:0}.steps li:last-child:after{width:0;content:''}.steps .active{-webkit-border-radius:0 1px 1px 0;-moz-border-radius:0 1px 1px 0;-ms-border-radius:0 1px 1px 0;-o-border-radius:0 1px 1px 0;border-radius:0 1px 1px 0;color:#323232;font-weight:bold}.steps .active:after{margin-right:10px}.steps .done{padding-right:0}.steps .active,.steps .done{background:#6cc}.steps li{color:#818181}.steps .active{color:#FFF}.steps .done{color:#267373}.steps .active,.steps .done{background:#6cc}.tabs{background-image:-owg(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:-webkit(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:-moz(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:-o(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:linear-gradient(transparent 80%, rgba(50,50,50,0.05));overflow:hidden;padding:0 0.4em}.tabs li{display:block;float:left;position:relative;margin-left:0;margin-right:0.4em}.tabs li a{display:block;text-decoration:none;border-width:1px 1px 0 1px;border-style:solid;border-color:transparent;background-color:rgba(50,50,50,0.05);color:#323232;padding:0.4em 1.6em;font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal;font-size:0.9rem ;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.tabs li a:hover{color:#323232;border-color:transparent;background-color:rgba(59,103,136,0.1);text-decoration:none}.tabs li a [class^='icon-']{color:#9b9b9b}.tabs li.active a{font-weight:bold;color:#323232;border-color:#6cc rgba(50,50,50,0.1) transparent rgba(50,50,50,0.1);background-color:#FFF;border-width:2px 1px 0 1px}header.tab{margin-bottom:1.6em}header.tab a{display:block;position:relative;padding:0.4em 0.8em;border-width:1px 1px 0 1px;border-style:solid;border-color:transparent;background-color:rgba(50,50,50,0.05);color:#323232;text-decoration:none;margin:0}header.tab a:hover{color:#323232;border-color:transparent;background-color:rgba(59,103,136,0.1)}header.tab a:after{font-family:'FontAwesome';content:'\f078';position:absolute;right:0.8em;top:0.4em}header.tab.active{margin-bottom:0}header.tab.active:last-of-type{margin-bottom:0}header.tab.active>a,header.tab.active>a:hover{font-weight:bold;color:#323232;border-color:#6cc rgba(50,50,50,0.1) transparent rgba(50,50,50,0.1);background-color:#FFF;border-width:2px 0 0 0;cursor:default}header.tab.active>a:after{opacity:0.2}header.tab:last-of-type{margin-bottom:1.6em}.tab-container>section{clear:both}.tabs-foreground>nav li.active>a,.tabs-foreground>ul li.active>a{background-color:#323232 !important;color:#FFF !important}.tabs-background>nav li.active>a,.tabs-background>ul li.active>a{background-color:#FFF !important;color:#323232 !important}.tabs-primary>nav li.active>a,.tabs-primary>ul li.active>a{background-color:#6cc !important;color:#323232 !important}.tabs-secondary>nav li.active>a,.tabs-secondary>ul li.active>a{background-color:#ff884c !important;color:#323232 !important}.tabs-box>nav li.active>a,.tabs-box>ul li.active>a{background-color:#f7f7f7 !important;color:#323232 !important}.tabs-info>nav li.active>a,.tabs-info>ul li.active>a{background-color:#3b6788 !important;color:#FFF !important}.tabs-darken>nav li.active>a{background-color:rgba(50,50,50,0.3);color:#FFF}.tabs-lighten>nav li.active>a{background-color:rgba(255,255,255,0.3);color:#323232;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.tags{list-style:none;margin:0;padding:0}.tags li,.tags a{float:left;line-height:2.4em;position:relative}.tags a{-webkit-border-radius:0 0.4em 0.4em 0;-moz-border-radius:0 0.4em 0.4em 0;-ms-border-radius:0 0.4em 0.4em 0;-o-border-radius:0 0.4em 0.4em 0;border-radius:0 0.4em 0.4em 0;background:#d1d1d1;color:#323232;margin:0 0.8em 0.8em;padding:0 1.6em 0 0.8em;text-decoration:none}.tags a:before{border-color:transparent #d1d1d1 transparent transparent;border-style:solid;border-width:1.28em 1.28em 1.28em 0;content:'';float:left;height:0;left:-1.2em;position:absolute;top:0;width:0}.tags a:after{-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;-webkit-box-shadow:-1px -1px 2px #d1d1d1;-moz-box-shadow:-1px -1px 2px #d1d1d1;box-shadow:-1px -1px 2px #d1d1d1;background:#FFF;content:'';float:left;height:0.4em;left:0;position:absolute;top:1.12em;width:0.4em}.tags a:hover{background:#3b6788;color:#FFF}.tags a:hover:before{border-color:transparent #3b6788 transparent transparent}.tag-cloud h1,.tag-cloud h2,.tag-cloud h3,.tag-cloud h4,.tag-cloud h5{line-height:1;margin:0;padding:0}.tag-cloud li{display:inline-block}.switch{display:inline-block;vertical-align:middle;padding:0;border:none;position:relative;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.switch input{opacity:0;position:absolute;top:9px;left:10px;padding:0}.switch label{color:transparent;background:#d1d1d1;display:block;margin-bottom:1rem;position:relative;text-indent:100%;width:4em;height:2.24em;cursor:pointer;transition:left 0.15s ease-out;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px}.switch label:after{padding:0.4em;font-family:'fontawesome';content:"";text-indent:0;text-align:center;color:#d1d1d1;display:block;background:#FFF;position:absolute;top:.2rem;left:.3rem;-webkit-transition:left 0.15s ease-out;-moz-transition:left 0.15s ease-out;-o-transition:translate3d(0, 0, 0);transition:left 0.15s ease-out;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-weight:normal;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px}.switch input:checked+label{background:#8eac5b}.switch input:checked+label:after{left:2.08em;color:#8eac5b}.switch input+label{margin-left:0;margin-right:0}.switch input[type='checkbox']+label,.switch input[type='radio']+label{display:inline-block;margin-left:0.5333333333em;margin-right:0.8em;margin-bottom:0;vertical-align:baseline;font-size:1rem;line-height:1rem;padding:0}.balloon{position:relative;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;font-weight:normal;padding:1.6em;width:auto;margin-bottom:0.8em;background:#f7f7f7;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.balloon:after{content:'';position:absolute;border-style:solid;display:block;width:0;z-index:1}.balloon p:last-of-type{margin-bottom:0}.balloon-left:after,.balloon-right:after{margin-top:-0.8em;top:50%;border-color:transparent #f7f7f7}.balloon-left{margin-left:0.8em}.balloon-left:after{border-width:0.8em 0.8em 0.8em 0;left:-0.8em}.balloon-right{margin-right:0.8em}.balloon-right:after{border-width:0.8em 0 0.8em 0.8em;right:-0.8em}.balloon-top:after,.balloon-bottom:after{margin-left:-0.8em;left:50%;border-color:#f7f7f7 transparent}.balloon-top{margin-top:0.8em}.balloon-top:after{border-width:0 0.8em 0.8em;top:-0.8em}.balloon-bottom{margin-bottom:0.8em}.balloon-bottom:after{border-width:0.8em 0.8em 0;bottom:-0.8em}.balloon-foreground{background-color:#323232;color:#FFF}.balloon-foreground.balloon-top:after,.balloon-foreground.balloon-bottom:after{border-color:#323232 transparent}.balloon-foreground.balloon-left:after,.balloon-foreground.balloon-right:after{border-color:transparent #323232}.balloon-background{background-color:#FFF;color:#323232}.balloon-background.balloon-top:after,.balloon-background.balloon-bottom:after{border-color:#FFF transparent}.balloon-background.balloon-left:after,.balloon-background.balloon-right:after{border-color:transparent #FFF}.balloon-foreground-light{background-color:#9b9b9b;color:#323232}.balloon-foreground-light.balloon-top:after,.balloon-foreground-light.balloon-bottom:after{border-color:#9b9b9b transparent}.balloon-foreground-light.balloon-left:after,.balloon-foreground-light.balloon-right:after{border-color:transparent #9b9b9b}.balloon-primary{background-color:#6cc;color:#323232}.balloon-primary.balloon-top:after,.balloon-primary.balloon-bottom:after{border-color:#6cc transparent}.balloon-primary.balloon-left:after,.balloon-primary.balloon-right:after{border-color:transparent #6cc}.balloon-secondary{background-color:#ff884c;color:#323232}.balloon-secondary.balloon-top:after,.balloon-secondary.balloon-bottom:after{border-color:#ff884c transparent}.balloon-secondary.balloon-left:after,.balloon-secondary.balloon-right:after{border-color:transparent #ff884c}.balloon-box{background-color:#f7f7f7;color:#323232}.balloon-box.balloon-top:after,.balloon-box.balloon-bottom:after{border-color:#f7f7f7 transparent}.balloon-box.balloon-left:after,.balloon-box.balloon-right:after{border-color:transparent #f7f7f7}.balloon-ko{background-color:#a31f24;color:#FFF}.balloon-ko.balloon-top:after,.balloon-ko.balloon-bottom:after{border-color:#a31f24 transparent}.balloon-ko.balloon-left:after,.balloon-ko.balloon-right:after{border-color:transparent #a31f24}.balloon-ok{background-color:#8eac5b;color:#FFF}.balloon-ok.balloon-top:after,.balloon-ok.balloon-bottom:after{border-color:#8eac5b transparent}.balloon-ok.balloon-left:after,.balloon-ok.balloon-right:after{border-color:transparent #8eac5b}.balloon-info{background-color:#3b6788;color:#FFF}.balloon-info.balloon-top:after,.balloon-info.balloon-bottom:after{border-color:#3b6788 transparent}.balloon-info.balloon-left:after,.balloon-info.balloon-right:after{border-color:transparent #3b6788}.balloon-warning{background-color:#df8426;color:#FFF}.balloon-warning.balloon-top:after,.balloon-warning.balloon-bottom:after{border-color:#df8426 transparent}.balloon-warning.balloon-left:after,.balloon-warning.balloon-right:after{border-color:transparent #df8426}.welcome-item i,.no-items-icon{font-size:4rem;color:rgba(50,50,50,0.4);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;padding:0.4em;border:8px solid rgba(50,50,50,0.4);margin:0.4em 0}.header-mobile .header-mobile-container{background:#354051;padding-top:0.4em;height:35px;overflow:hidden}.header-mobile a{color:#FFF}.header-mobile .logo{padding-top:0.2em;font-size:1.4rem}.checkbox{display:inline-block !important;padding:0.8em;background:rgba(255,255,255,0.8);margin-right:1.6em}.checkbox input{width:14px;height:14px;box-shadow:1px 1px 1px rgba(50,50,50,0.4)}.form-configuration .icon-pencil{padding:0.8em 0 0 0.8em;position:absolute}.form-configuration select,.form-configuration textarea,.form-configuration input{position:relative;z-index:100}.form-configuration input[readonly],.form-configuration textarea[readonly],.form-configuration input[readonly='readonly'],.form-configuration textarea[readonly='readonly']{border-width:1px !important;border-style:dotted !important;border-color:transparent;color:#323232 !important;padding-left:2.4em;padding-right:0.8em;position:inherit}.form-configuration input[readonly]:hover,.form-configuration textarea[readonly]:hover,.form-configuration input[readonly='readonly']:hover,.form-configuration textarea[readonly='readonly']:hover{border-color:#3b6788;color:#3b6788 !important;cursor:text}.form-grid article{background:#FFF;padding:1.6em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;vertical-align:top;min-height:200px;position:relative;-webkit-box-shadow:1px 1px 5px rgba(50,50,50,0.5);-moz-box-shadow:1px 1px 5px rgba(50,50,50,0.5);box-shadow:1px 1px 5px rgba(50,50,50,0.5)}.form-grid .box-none{position:relative;z-index:5}.form-grid-background{position:absolute;top:-50px;left:-50px;opacity:0.15;-webkit-filter:blur(10px);-moz-filter:blur(10px);-o-filter:blur(10px);-ms-filter:blur(10px);filter:url('data:image/svg+xml;utf8, #svg-blur');filter:blur(10px);filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius=" " + $mixin-ie-blur + " ");-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg);min-width:130%;z-index:4}.form-grid-icon{float:left;margin:0 0.8em 0.8em 0}.form-grid-settings{position:absolute;bottom:0;left:0;background:rgba(50,50,50,0.2);z-index:4;width:101%;padding:0.4em 0.8em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-grid-has-settings article{padding-bottom:55px}#cboxContent{margin:0 !important}.section-header{display:block;background:#FFF;padding:0.8em 0.8em 0.8em 1.0666666667em;min-height:53px}.section-header .list-horizontal,.section-header .filters{margin-bottom:0;font-size:1.4rem;font-family:'Open Sans', Tahoma, sans-serif;line-height:100%;padding:0.4em}.section-header .list-horizontal li,.section-header .filters li{margin-right:0}.section-header .list-horizontal a,.section-header .filters a{color:rgba(50,50,50,0.4)}.section-header .list-horizontal a:hover,.section-header .filters a:hover{color:#3b6788}.section-header .buttons-group{float:right;margin-bottom:0;padding:0 !important;min-width:30%;text-align:right}.section-header [class^='button']{min-width:2.24em;padding:0.4em}.section-header [class^='button'] span{display:none}.order-history i{color:#FFF;background:#323232;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px;padding:0.4em;display:inline-block;border-left:1px solid rgba(50,50,50,0.3);z-index:2;position:relative}.order-history em{border-left:4px solid rgba(50,50,50,0.5);position:absolute;height:48px;left:1.6em;top:0;z-index:1}.order-history td{position:relative}.order-history tr:first-of-type em{height:25px;top:inherit;bottom:-1px}.order-history tr:last-of-type em{height:25px}body{height:100%}.container{padding:0 !important;height:100%;position:relative}.sidebar{background:#354051;overflow:hidden;text-shadow:1px,1px,0,rgba(50,50,50,0.2);z-index:100}.sidebar hr{border-width:1px 0 0 0;border-style:solid;border-color:rgba(255,255,255,0.1);height:1px}.badge{float:right;background:rgba(255,255,255,0.2);-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px;padding:0 0.4em;min-width:35px;text-align:center;font-size:0.85rem}.badge-alert{background:rgba(163,31,36,0.5);text-shadow:1px 1px 1px #323232}.sidebar-title{display:block;color:#FFF;font-family:'Open Sans', Tahoma, sans-serif;font-weight:400;font-size:1.2rem}.sidebar-user{display:none;background:rgba(50,50,50,0.2);margin:0;padding:0.8em 0.8em 0;overflow:hidden;border-bottom:1px solid rgba(255,255,255,0.2)}.sidebar-user-avatar{display:inline-block;vertical-align:top;margin-right:0.4em}.sidebar-user-info{display:inline-block;overflow:hidden;margin-bottom:0.8em}.sidebar-user-info a{color:#FFF}.sidebar-user-dropdown{clear:both;margin-bottom:0.8em !important}.welcome{overflow:hidden;background:#f7f7f7;padding-bottom:0.4em}.welcome h2{display:block;position:relative;padding:0.4em;background:#354051;color:#FFF;text-align:center;margin-bottom:0.2em;overflow:hidden}.welcome h2 span{position:absolute;margin-left:-100px;opacity:0.2;top:-12px}.welcome-mini{border-bottom:1px solid #354051;padding-bottom:0px}.welcome-mini h2{font-size:1.4rem !important;min-height:28px;padding:0.4em}.welcome-item{text-align:center;position:relative;padding:0.8em 0.8em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.welcome-item i{min-width:60px}.welcome-item .welcome-done-sign{display:none}.welcome-active{background:#FFF}.welcome-active i{border-color:#6cc;color:#6cc}.welcome-active .button{background:#6cc}.welcome-done{opacity:0.3}.welcome-done .button{background:#354051;color:#FFF}.welcome-done .welcome-done-sign{position:absolute;-webkit-transform:rotate(-15deg);-moz-transform:rotate(-15deg);-ms-transform:rotate(-15deg);-o-transform:rotate(-15deg);transform:rotate(-15deg);background:#354051;display:inline-block;color:#FFF;padding:0.2em 0.8em;top:103px;font-size:2rem;left:32%;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.dashboard-tabs{text-align:center}.dashboard-tabs li{display:block}[class^='dashboard-tabs-']{display:inline-block;margin-right:1.6em;font-weight:normal;padding:0.2em 0}[class^='dashboard-tabs-'] a{text-align:left}.dashboard-tabs-range{text-transform:uppercase}.dashboard-tabs-amount{font-family:'Open Sans', Tahoma, sans-serif;font-size:1.4rem;color:#6cc}.dashboard-tabs-orders{padding-bottom:0.8em}.dashboard-panels [class*='col']{position:relative}.no-items{display:block;text-align:center;position:relative}.no-items h2{margin-bottom:0.8em}.thumbnail-group-extended>li{min-width:150px;background:#d1d1d1}.thumbnail-group-extended .thumbnail{vertical-align:middle;background:#FFF}.thumbnail-group-extended li:first-child .thumbnail{border-color:#323232}.thumbnail-group-extended li:first-child .thumbnail:after{display:block;padding:0.8em;position:absolute;background:rgba(50,50,50,0.5);color:#FFF;margin:-10px auto 0;top:1.6em;left:0.8em;content:'Principal'}.filter-reports{margin-bottom:0.8em}.filter-reports .filters{padding-top:0.5333333333em}.date-hour{margin-bottom:0}.date-hour input{display:inline-block}.date-hour input[type='date']{width:50%;min-width:150px;max-height:2.72em;margin:0 0.8em 0.8em 0}.date-hour input[type='time']{width:37%;min-width:100px;max-height:2.4em;margin-bottom:0.8em}.date-hour .ws-date,.date-hour .ws-time{width:68% !important}.date-hour .input-buttons{padding:0}.boxpopuli-container{background:#f7f7f7;padding:0}.boxpopuli-container textarea{width:100%;margin-bottom:1.6em;min-height:150px}.boxpopuli-overflow{display:block;overflow-x:hidden;height:100%;padding:1.6em;overflow-y:auto !important}.fc-wysiwyg-switch .button{background:none;color:#3b6788}.fc-wysiwyg-switch .button:hover{text-decoration:underline}.hidden-placeholder{position:absolute;top:-9999em;right:-9999em;width:90%}@media screen and (min-width: 980px){.mobile,.tablet{display:none}.mobile.d-ib,.mobile.d-b,.tablet.d-ib,.tablet.d-b{display:none !important}.desktop{display:block !important}.desktop.d-ib,.desktop.inline-block{display:inline-block !important}td.desktop,th.desktop{display:table-cell !important}.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.col-2-3,.col-8-12{width:66.6666666667%;float:left}.col-1-2,.col-6-12,.col-2-4{width:50%;float:left}.col-1-3,.col-4-12{width:33.3333333333%;float:left}.col-1-4,.col-3-12{width:25%;float:left}.col-1-5{width:20%;float:left}.col-2-5{width:40%;float:left}.col-3-5{width:60%;float:left}.col-4-5{width:80%;float:left}.col-1-12{width:8.3333333333%;float:left}.col-2-12{width:16.6666666667%;float:left}.col-11-12{width:91.6666666667%;float:left}.col-10-12{width:83.3333333333%;float:left}.col-9-12,.col-3-4{width:75%;float:left}.col-5-12{width:41.6666666667%;float:left}.col-7-12{width:58.3333333333%;float:left}.push-right{float:right;margin-left:1.6em;margin-right:0}.grid-fixed>[class*='col-']{height:100%;position:fixed;overflow-y:auto}.grid-fixed>.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.grid-fixed>.col-2-3,.grid-fixed>.col-8-12{width:66.6666666667%;float:left}.grid-fixed>.col-1-2,.grid-fixed>.col-6-12,.grid-fixed>.col-2-4{width:50%;float:left}.grid-fixed>.col-1-3,.grid-fixed>.col-4-12{width:33.3333333333%;float:left}.grid-fixed>.col-1-4,.grid-fixed>.col-3-12{width:25%;float:left}.grid-fixed>.col-1-5{width:20%;float:left}.grid-fixed>.col-2-5{width:40%;float:left}.grid-fixed>.col-3-5{width:60%;float:left}.grid-fixed>.col-4-5{width:80%;float:left}.grid-fixed>.col-1-12{width:8.3333333333%;float:left}.grid-fixed>.col-2-12{width:16.6666666667%;float:left}.grid-fixed>.col-11-12{width:91.6666666667%;float:left}.grid-fixed>.col-10-12{width:83.3333333333%;float:left}.grid-fixed>.col-9-12,.grid-fixed>.col-3-4{width:75%;float:left}.grid-fixed>.col-5-12{width:41.6666666667%;float:left}.grid-fixed>.col-7-12{width:58.3333333333%;float:left}.grid-fixed>.push-right{right:0}header.tab{display:none !important}[class*='box-'],.box{margin-bottom:1.6em;padding:1.6em}.sidebar{height:100%;position:fixed;overflow-y:auto}.sidebar .navigation-vertical{z-index:100;position:relative;margin-bottom:80px}.section-header{padding:1.0666666667em 1.6em 0.8em;min-height:68px}.section-header .list-horizontal,.section-header .filters{font-size:2.2rem;padding:0}.section-header [class^='button']{min-width:inherit;padding:0.4em 0.8em}.section-header [class^='button'] span{display:inline-block}.papa-air{padding:1.6em}.form-grid article{display:inline-block;width:31%;margin-right:2%}.filter-reports .col-2-3{text-align:right}.filter-reports .ms-ctn{display:inline-block;vertical-align:middle;min-width:400px;margin-left:0.4em}[class^='dashboard-tabs-']{display:block;margin-right:0}[class^='dashboard-tabs-'] a{text-align:center}.dashboard-tabs li{display:inline-block;width:20%}.fixed-bottom{position:fixed;bottom:0;width:100%;background:#FFF;padding:0.8em 0 0.4em 17%;right:0;text-align:left;box-sizing:border-box;-webkit-box-shadow:1px 0 10px rgba(50,50,50,0.5);-moz-box-shadow:1px 0 10px rgba(50,50,50,0.5);box-shadow:1px 0 10px rgba(50,50,50,0.5);z-index:99}}@media screen and (min-width: 0px) and (max-width: 799px){.desktop,.tablet{display:none}.desktop.d-ib,.desktop.d-b,.tablet.d-ib,.tablet.d-b{display:none !important}.mobile{display:block !important}.mobile.d-ib,.mobile.inline-block{display:inline-block !important}td.mobile,th.mobile{display:table-cell !important}.tabs{display:none !important}.header-spacing{height:68px;display:block}.header{position:fixed;top:0}.header .logo img{max-width:180px !important}.table{display:block;overflow-x:auto;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%;position:relative}.table td,.table th{white-space:nowrap}}@media screen and (min-width: 800px) and (max-width: 978px){.desktop,.mobile{display:none}.desktop.d-ib,.desktop.d-b,.mobile.d-ib,.mobile.d-b{display:none !important}.tablet{display:block !important}.tablet.d-ib,.tablet.inline-block{display:inline-block !important}td.tablet,th.tablet{display:table-cell !important}[class*='box-'],.box{margin-bottom:1.6em;padding:1.6em}.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.col-2-3{width:66.6666666667%;float:left}.col-1-2,.col-2-4{width:50%;float:left}.col-1-3{width:33.3333333333%;float:left}.col-1-4{width:25%;float:left}.col-3-4{width:75%;float:left}.push-right{float:right;margin-left:1.6em;margin-right:0}.grid-fixed>[class*='col-']{height:100%;position:fixed;overflow-y:auto}.grid-fixed>.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.grid-fixed>.col-2-3,.grid-fixed>.col-8-12{width:66.6666666667%;float:left}.grid-fixed>.col-1-2,.grid-fixed>.col-6-12,.grid-fixed>.col-2-4{width:50%;float:left}.grid-fixed>.col-1-3,.grid-fixed>.col-4-12{width:33.3333333333%;float:left}.grid-fixed>.col-1-4,.grid-fixed>.col-3-12{width:25%;float:left}.grid-fixed>.col-1-5{width:20%;float:left}.grid-fixed>.col-2-5{width:40%;float:left}.grid-fixed>.col-3-5{width:60%;float:left}.grid-fixed>.col-4-5{width:80%;float:left}.grid-fixed>.col-1-12{width:8.3333333333%;float:left}.grid-fixed>.col-2-12{width:16.6666666667%;float:left}.grid-fixed>.col-11-12{width:91.6666666667%;float:left}.grid-fixed>.col-10-12{width:83.3333333333%;float:left}.grid-fixed>.col-9-12,.grid-fixed>.col-3-4{width:75%;float:left}.grid-fixed>.col-5-12{width:41.6666666667%;float:left}.grid-fixed>.col-7-12{width:58.3333333333%;float:left}.grid-fixed>.push-right{right:0}.tabs{display:none !important}.header-spacing{height:68px;display:block}.header{position:fixed;top:0}.header .logo img{max-width:180px !important}.section-header{padding:1.0666666667em 1.6em 0.8em;min-height:68px}.section-header .list-horizontal,.section-header .filters{font-size:2.2rem;padding:0}.section-header [class^='button']{min-width:inherit;padding:0.4em 0.8em}.section-header [class^='button'] span{display:inline-block}.papa-air{padding:1.6em}[class^='dashboard-tabs-']{display:block;margin-right:0}[class^='dashboard-tabs-'] a{text-align:center}.dashboard-tabs li{display:inline-block;width:20%}}
+ */.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}.animated.height{-webkit-transition:height false false,0.5s false false;-moz-transition:height false false false,0.5s false false false;-o-transition:height false false false,0.5s false false false;transition:height 0.5s}.animated.width{-webkit-transition:width false false,0.5s false false;-moz-transition:width false false false,0.5s false false false;-o-transition:width false false false,0.5s false false false;transition:width 0.5s}@-webkit-keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce}@-webkit-keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberband{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}40%{-webkit-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes rubberband{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(0.75);-ms-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}40%{-webkit-transform:scaleX(0.75) scaleY(1.25);-ms-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(0.85);-ms-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.rubberband{-webkit-animation-name:rubberband;animation-name:rubberband}@-webkit-keyframes shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);-ms-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);-ms-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);-ms-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);transform:scale(0.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);-ms-transform:scale(0.9) rotate(-3deg);transform:scale(0.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);-ms-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);-ms-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}15%{-webkit-transform:translateX(-25%) rotate(-5deg);transform:translateX(-25%) rotate(-5deg)}30%{-webkit-transform:translateX(20%) rotate(3deg);transform:translateX(20%) rotate(3deg)}45%{-webkit-transform:translateX(-15%) rotate(-3deg);transform:translateX(-15%) rotate(-3deg)}60%{-webkit-transform:translateX(10%) rotate(2deg);transform:translateX(10%) rotate(2deg)}75%{-webkit-transform:translateX(-5%) rotate(-1deg);transform:translateX(-5%) rotate(-1deg)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}@keyframes wobble{0%{-webkit-transform:translateX(0%);-ms-transform:translateX(0%);transform:translateX(0%)}15%{-webkit-transform:translateX(-25%) rotate(-5deg);-ms-transform:translateX(-25%) rotate(-5deg);transform:translateX(-25%) rotate(-5deg)}30%{-webkit-transform:translateX(20%) rotate(3deg);-ms-transform:translateX(20%) rotate(3deg);transform:translateX(20%) rotate(3deg)}45%{-webkit-transform:translateX(-15%) rotate(-3deg);-ms-transform:translateX(-15%) rotate(-3deg);transform:translateX(-15%) rotate(-3deg)}60%{-webkit-transform:translateX(10%) rotate(2deg);-ms-transform:translateX(10%) rotate(2deg);transform:translateX(10%) rotate(2deg)}75%{-webkit-transform:translateX(-5%) rotate(-1deg);-ms-transform:translateX(-5%) rotate(-1deg);transform:translateX(-5%) rotate(-1deg)}100%{-webkit-transform:translateX(0%);-ms-transform:translateX(0%);transform:translateX(0%)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes bounce-in{0%{opacity:0;-webkit-transform:scale(0.3);transform:scale(0.3)}50%{opacity:1;-webkit-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(0.9);transform:scale(0.9)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce-in{0%{opacity:0;-webkit-transform:scale(0.3);-ms-transform:scale(0.3);transform:scale(0.3)}50%{opacity:1;-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(0.9);-ms-transform:scale(0.9);transform:scale(0.9)}100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.bounce-in{-webkit-animation-name:bounce-in;animation-name:bounce-in}@-webkit-keyframes bounce-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px);transform:translateY(30px)}80%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounce-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px);-ms-transform:translateY(30px);transform:translateY(30px)}80%{-webkit-transform:translateY(-10px);-ms-transform:translateY(-10px);transform:translateY(-10px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.bounce-in-down{-webkit-animation-name:bounce-in-down;animation-name:bounce-in-down}@-webkit-keyframes bounce-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(30px);transform:translateX(30px)}80%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes bounce-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(30px);-ms-transform:translateX(30px);transform:translateX(30px)}80%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.bounce-in-left{-webkit-animation-name:bounce-in-left;animation-name:bounce-in-left}@-webkit-keyframes bounce-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}60%{opacity:1;-webkit-transform:translateX(-30px);transform:translateX(-30px)}80%{-webkit-transform:translateX(10px);transform:translateX(10px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes bounce-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}60%{opacity:1;-webkit-transform:translateX(-30px);-ms-transform:translateX(-30px);transform:translateX(-30px)}80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.bounce-in-right{-webkit-animation-name:bounce-in-right;animation-name:bounce-in-right}@-webkit-keyframes bounce-in-up{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}60%{opacity:1;-webkit-transform:translateY(-30px);transform:translateY(-30px)}80%{-webkit-transform:translateY(10px);transform:translateY(10px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounce-in-up{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}60%{opacity:1;-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}80%{-webkit-transform:translateY(10px);-ms-transform:translateY(10px);transform:translateY(10px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.bounce-in-up{-webkit-animation-name:bounce-in-up;animation-name:bounce-in-up}@-webkit-keyframes bounce-out{0%{-webkit-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(0.95);transform:scale(0.95)}50%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}100%{opacity:0;-webkit-transform:scale(0.3);transform:scale(0.3)}}@keyframes bounce-out{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(0.95);-ms-transform:scale(0.95);transform:scale(0.95)}50%{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}100%{opacity:0;-webkit-transform:scale(0.3);-ms-transform:scale(0.3);transform:scale(0.3)}}.bounce-out{-webkit-animation-name:bounce-out;animation-name:bounce-out}@-webkit-keyframes bounce-out-down{0%{-webkit-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}}@keyframes bounce-out-down{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}}.bounce-out-down{-webkit-animation-name:bounce-out-down;animation-name:bounce-out-down}@-webkit-keyframes bounce-out-left{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(20px);transform:translateX(20px)}100%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}}@keyframes bounce-out-left{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px)}100%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}}.bounce-out-left{-webkit-animation-name:bounce-out-left;animation-name:bounce-out-left}@-webkit-keyframes bounce-out-right{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}}@keyframes bounce-out-right{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}20%{opacity:1;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}}.bounce-out-right{-webkit-animation-name:bounce-out-right;animation-name:bounce-out-right}@-webkit-keyframes bounce-out-up{0%{-webkit-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(20px);transform:translateY(20px)}100%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}}@keyframes bounce-out-up{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}20%{opacity:1;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px)}100%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}}.bounce-out-up{-webkit-animation-name:bounce-out-up;animation-name:bounce-out-up}@-webkit-keyframes fade-in{0%{opacity:0}100%{opacity:1}}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}.fade-in{-webkit-animation-name:fade-in;animation-name:fade-in}@-webkit-keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-down{-webkit-animation-name:fade-in-down;animation-name:fade-in-down}@-webkit-keyframes fade-in-downBig{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-downBig{0%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-downBig{-webkit-animation-name:fade-in-downBig;animation-name:fade-in-downBig}@-webkit-keyframes fade-in-left{0%{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-left{0%{opacity:0;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-left{-webkit-animation-name:fade-in-left;animation-name:fade-in-left}@-webkit-keyframes fade-in-leftBig{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-leftBig{0%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-leftBig{-webkit-animation-name:fade-in-leftBig;animation-name:fade-in-leftBig}@-webkit-keyframes fade-in-right{0%{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-right{0%{opacity:0;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-right{-webkit-animation-name:fade-in-right;animation-name:fade-in-right}@-webkit-keyframes fade-in-rightBig{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}100%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in-rightBig{0%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}100%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.fade-in-rightBig{-webkit-animation-name:fade-in-rightBig;animation-name:fade-in-rightBig}@-webkit-keyframes fade-in-up{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-up{0%{opacity:0;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-up{-webkit-animation-name:fade-in-up;animation-name:fade-in-up}@-webkit-keyframes fade-in-upBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-upBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fade-in-upBig{-webkit-animation-name:fade-in-upBig;animation-name:fade-in-upBig}@-webkit-keyframes fade-out{0%{opacity:1}100%{opacity:0}}@keyframes fade-out{0%{opacity:1}100%{opacity:0}}.fade-out{-webkit-animation-name:fade-out;animation-name:fade-out}@-webkit-keyframes fade-out-down{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}}@keyframes fade-out-down{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px)}}.fade-out-down{-webkit-animation-name:fade-out-down;animation-name:fade-out-down}@-webkit-keyframes fade-out-downBig{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}}@keyframes fade-out-downBig{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}}.fade-out-downBig{-webkit-animation-name:fade-out-downBig;animation-name:fade-out-downBig}@-webkit-keyframes fade-out-left{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}}@keyframes fade-out-left{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px)}}.fade-out-left{-webkit-animation-name:fade-out-left;animation-name:fade-out-left}@-webkit-keyframes fade-out-leftBig{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}}@keyframes fade-out-leftBig{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}}.fade-out-leftBig{-webkit-animation-name:fade-out-leftBig;animation-name:fade-out-leftBig}@-webkit-keyframes fade-out-right{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}}@keyframes fade-out-right{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px)}}.fade-out-right{-webkit-animation-name:fade-out-right;animation-name:fade-out-right}@-webkit-keyframes fade-out-rightBig{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}}@keyframes fade-out-rightBig{0%{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}}.fade-out-rightBig{-webkit-animation-name:fade-out-rightBig;animation-name:fade-out-rightBig}@-webkit-keyframes fade-out-up{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}}@keyframes fade-out-up{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}}.fade-out-up{-webkit-animation-name:fade-out-up;animation-name:fade-out-up}@-webkit-keyframes fade-out-upBig{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}}@keyframes fade-out-upBig{0%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}}.fade-out-upBig{-webkit-animation-name:fade-out-upBig;animation-name:fade-out-upBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) translateZ(0) rotateY(0) scale(1);transform:perspective(400px) translateZ(0) rotateY(0) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) translateZ(0) rotateY(0) scale(1);-ms-transform:perspective(400px) translateZ(0) rotateY(0) scale(1);transform:perspective(400px) translateZ(0) rotateY(0) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);-ms-transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(170deg) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-ms-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);-ms-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(0.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);-ms-transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);transform:perspective(400px) translateZ(0) rotateY(360deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;-ms-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flip-inX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-10deg);transform:perspective(400px) rotateX(-10deg)}70%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}100%{-webkit-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}}@keyframes flip-inX{0%{-webkit-transform:perspective(400px) rotateX(90deg);-ms-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-10deg);-ms-transform:perspective(400px) rotateX(-10deg);transform:perspective(400px) rotateX(-10deg)}70%{-webkit-transform:perspective(400px) rotateX(10deg);-ms-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}100%{-webkit-transform:perspective(400px) rotateX(0deg);-ms-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}}.flip-inX{-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important;-webkit-animation-name:flip-inX;animation-name:flip-inX}@-webkit-keyframes flip-inY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-10deg);transform:perspective(400px) rotateY(-10deg)}70%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg)}100%{-webkit-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}}@keyframes flip-inY{0%{-webkit-transform:perspective(400px) rotateY(90deg);-ms-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-10deg);-ms-transform:perspective(400px) rotateY(-10deg);transform:perspective(400px) rotateY(-10deg)}70%{-webkit-transform:perspective(400px) rotateY(10deg);-ms-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg)}100%{-webkit-transform:perspective(400px) rotateY(0deg);-ms-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}}.flip-inY{-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important;-webkit-animation-name:flip-inY;animation-name:flip-inY}@-webkit-keyframes flip-outX{0%{-webkit-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flip-outX{0%{-webkit-transform:perspective(400px) rotateX(0deg);-ms-transform:perspective(400px) rotateX(0deg);transform:perspective(400px) rotateX(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateX(90deg);-ms-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flip-outX{-webkit-animation-name:flip-outX;animation-name:flip-outX;-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important}@-webkit-keyframes flip-outY{0%{-webkit-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flip-outY{0%{-webkit-transform:perspective(400px) rotateY(0deg);-ms-transform:perspective(400px) rotateY(0deg);transform:perspective(400px) rotateY(0deg);opacity:1}100%{-webkit-transform:perspective(400px) rotateY(90deg);-ms-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flip-outY{-webkit-backface-visibility:visible !important;-ms-backface-visibility:visible !important;backface-visibility:visible !important;-webkit-animation-name:flip-outY;animation-name:flip-outY}@-webkit-keyframes lightSpeed-in{0%{-webkit-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}60%{-webkit-transform:translateX(-20%) skewX(30deg);transform:translateX(-20%) skewX(30deg);opacity:1}80%{-webkit-transform:translateX(0%) skewX(-15deg);transform:translateX(0%) skewX(-15deg);opacity:1}100%{-webkit-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}}@keyframes lightSpeed-in{0%{-webkit-transform:translateX(100%) skewX(-30deg);-ms-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}60%{-webkit-transform:translateX(-20%) skewX(30deg);-ms-transform:translateX(-20%) skewX(30deg);transform:translateX(-20%) skewX(30deg);opacity:1}80%{-webkit-transform:translateX(0%) skewX(-15deg);-ms-transform:translateX(0%) skewX(-15deg);transform:translateX(0%) skewX(-15deg);opacity:1}100%{-webkit-transform:translateX(0%) skewX(0deg);-ms-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}}.lightSpeed-in{-webkit-animation-name:lightSpeed-in;animation-name:lightSpeed-in;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeed-out{0%{-webkit-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}100%{-webkit-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}}@keyframes lightSpeed-out{0%{-webkit-transform:translateX(0%) skewX(0deg);-ms-transform:translateX(0%) skewX(0deg);transform:translateX(0%) skewX(0deg);opacity:1}100%{-webkit-transform:translateX(100%) skewX(-30deg);-ms-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}}.lightSpeed-out{-webkit-animation-name:lightSpeed-out;animation-name:lightSpeed-out;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotate-in{0%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}100%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in{0%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(-200deg);-ms-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}100%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in{-webkit-animation-name:rotate-in;animation-name:rotate-in}@-webkit-keyframes rotate-in-down-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-down-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-down-left{-webkit-animation-name:rotate-in-down-left;animation-name:rotate-in-down-left}@-webkit-keyframes rotate-in-down-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-down-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-down-right{-webkit-animation-name:rotate-in-down-right;animation-name:rotate-in-down-right}@-webkit-keyframes rotate-in-up-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-up-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-up-left{-webkit-animation-name:rotate-in-up-left;animation-name:rotate-in-up-left}@-webkit-keyframes rotate-in-up-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotate-in-up-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}}.rotate-in-up-right{-webkit-animation-name:rotate-in-up-right;animation-name:rotate-in-up-right}@-webkit-keyframes rotate-out{0%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotate-out{0%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(200deg);-ms-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotate-out{-webkit-animation-name:rotate-out;animation-name:rotate-out}@-webkit-keyframes rotate-out-down-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotate-out-down-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotate-out-down-left{-webkit-animation-name:rotate-out-down-left;animation-name:rotate-out-down-left}@-webkit-keyframes rotate-out-down-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}@keyframes rotate-out-down-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}.rotate-out-down-right{-webkit-animation-name:rotate-out-down-right;animation-name:rotate-out-down-right}@-webkit-keyframes rotate-out-up-left{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}@keyframes rotate-out-up-left{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}}.rotate-out-up-left{-webkit-animation-name:rotate-out-up-left;animation-name:rotate-out-up-left}@-webkit-keyframes rotate-out-up-right{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotate-out-up-right{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotate-out-up-right{-webkit-animation-name:rotate-out-up-right;animation-name:rotate-out-up-right}@-webkit-keyframes slide-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in-down{0%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.slide-in-down{-webkit-animation-name:slide-in-down;animation-name:slide-in-down}@-webkit-keyframes slide-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-left{0%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.slide-in-left{-webkit-animation-name:slide-in-left;animation-name:slide-in-left}@-webkit-keyframes slide-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-right{0%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.slide-in-right{-webkit-animation-name:slide-in-right;animation-name:slide-in-right}@-webkit-keyframes slide-out-left{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}}@keyframes slide-out-left{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(-2000px);-ms-transform:translateX(-2000px);transform:translateX(-2000px)}}.slide-out-left{-webkit-animation-name:slide-out-left;animation-name:slide-out-left}@-webkit-keyframes slide-out-right{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}}@keyframes slide-out-right{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}100%{opacity:0;-webkit-transform:translateX(2000px);-ms-transform:translateX(2000px);transform:translateX(2000px)}}.slide-out-right{-webkit-animation-name:slide-out-right;animation-name:slide-out-right}@-webkit-keyframes slide-out-up{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}}@keyframes slide-out-up{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px)}}.slide-out-up{-webkit-animation-name:slide-out-up;animation-name:slide-out-up}@-webkit-keyframes hinge{0%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}80%{-webkit-transform:rotate(60deg) translateY(0);transform:rotate(60deg) translateY(0);opacity:1;-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}100%{-webkit-transform:translateY(700px);transform:translateY(700px);opacity:0}}@keyframes hinge{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);-ms-transform:rotate(80deg);transform:rotate(80deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}80%{-webkit-transform:rotate(60deg) translateY(0);-ms-transform:rotate(60deg) translateY(0);transform:rotate(60deg) translateY(0);opacity:1;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}100%{-webkit-transform:translateY(700px);-ms-transform:translateY(700px);transform:translateY(700px);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes roll-in{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}@keyframes roll-in{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);-ms-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}.roll-in{-webkit-animation-name:roll-in;animation-name:roll-in}@-webkit-keyframes roll-out{0%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}100%{opacity:0;-webkit-transform:translateX(100%) rotate(120deg);transform:translateX(100%) rotate(120deg)}}@keyframes roll-out{0%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);-ms-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}100%{opacity:0;-webkit-transform:translateX(100%) rotate(120deg);-ms-transform:translateX(100%) rotate(120deg);transform:translateX(100%) rotate(120deg)}}.roll-out{-webkit-animation-name:roll-out;animation-name:roll-out}[class*='box-'],.box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;margin-bottom:0.8em;padding:0.8em;overflow:hidden}.box{background:#f7f7f7;color:#323232}.box .box-lighten{background:#FFF}.box-background{background:#FFF;color:#323232}.box-background>.box-lighten{background:#f7f7f7}.box-background .box-background{border:1px solid #f7f7f7}.box-foreground{background:#323232;color:#FFF}.box-ok{background:#8eac5b;color:#FFF}.box-ko{background:#a31f24;color:#FFF}.box-info{background:#3b6788;color:#FFF}.box-warning{background:#df8426;color:#FFF}.box-darken{background-color:rgba(50,50,50,0.3);color:#FFF;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.box-lighten{background-color:rgba(255,255,255,0.3);color:#323232;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.box-primary{background:#6cc;color:#323232}.box-primary a{color:#323232}.box-secondary{background:#ff884c;color:#FFF}[class*='button-'],.button{-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;margin:0 0.4em 0.4em 0;padding:0.5333333333em 1.6em;border:0px none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.small[class*='button-'],.small.button{padding:0.4em 0.8em}[class*='button-']:hover,.button:hover{text-decoration:none}[class*='icon-'][class*='button-'],[class*='icon-'].button{padding-left:1.0666666667em}[class*='icon-'][class*='button-']:after,[class*='icon-'].button:after,[class*='icon-'][class*='button-']:before,[class*='icon-'].button:before{font-family:'fontawesome' !important}[class*='icon-'][class*='button-']:after,[class*='icon-'].button:after{margin-left:0.4em}[class*='icon-'][class*='button-']:before,[class*='icon-'].button:before{margin-right:0.4em}[class*='button-'],.button{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;vertical-align:middle;text-decoration:none;text-align:center;cursor:pointer;box-sizing:border-box;text-shadow:0 1px rgba(50,50,50,0.3)}[class*='button-'].button-icon,.button.button-icon{padding:0.4em 0 0.4em 0.4em;font-family:'FontAwesome' !important;min-height:26px;min-width:26px}[class*='button-']:hover,.button:hover{opacity:0.9}[class*='button-']:active,.button:active{opacity:0.8;outline:0}input[type='button'],input[type='reset'],input[type='submit']{height:auto;width:auto}.button-fat{padding:0.4em 1.6em;font-size:1.4rem }.button-fat.button-icon{min-height:36px;min-width:36px}.button-slim{padding:0.2666666667em 0.8em;font-size:0.8rem }.button-slim.button-icon{padding:0.2em 0 0.2em 0.4em;min-height:19px;min-width:19px}.button{background:rgba(53,64,81,0.8);color:#FFF}.button-primary{background:#6cc;color:#FFF}.button-secondary{background:#ff884c;color:#323232}.button-ok{background:#8eac5b;color:#FFF}.button-ko{background:#a31f24;color:#FFF}.button-empty{background:none;color:#3b6788}.button-empty:hover{text-decoration:underline}.button-disabled,.button-disabled:hover{border:1px solid #ccc;-webkit-box-shadow:inset 0 -1px 2px 0 rgba(0,0,0,0.1),1px 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 -1px 2px 0 rgba(0,0,0,0.1),1px 1px 3px rgba(0,0,0,0.1);box-shadow:inset 0 -1px 2px 0 rgba(0,0,0,0.1),1px 1px 3px rgba(0,0,0,0.1);text-shadow:1px,1px,1px,#ddd;background:#eee;color:#ccc;cursor:default;pointer-events:none}[class*='button-'],.button{font-weight:bold;font-family:'Open Sans', Tahoma, sans-serif}[class*='button-'].button-slim,.button.button-slim{font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal}.buttons-group{padding:0;margin:0;display:initial}.buttons-group [class*='button-'],.buttons-group .button{margin-right:1px;border-radius:0}.buttons-group [class*='button']:first-child{-webkit-border-radius:1px 0 0 1px;-moz-border-radius:1px 0 0 1px;-ms-border-radius:1px 0 0 1px;-o-border-radius:1px 0 0 1px;border-radius:1px 0 0 1px}.buttons-group [class*='button']:last-child{-webkit-border-radius:0 1px 1px 0;-moz-border-radius:0 1px 1px 0;-ms-border-radius:0 1px 1px 0;-o-border-radius:0 1px 1px 0;border-radius:0 1px 1px 0}.filters{background:transparent}.filters li{position:relative;padding:0.2em 1.0666666667em;margin-right:0 !important}.filters li:hover a{color:rgba(59,103,136,0.9);text-decoration:underline}.filters li a{font-weight:normal;font-size:0.9rem;color:#3b6788}.filters li.active:after{border:8px solid transparent;border-style:outset outset solid outset;content:'';height:0;left:0;overflow:hidden;position:absolute;width:0;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);top:50%;border-width:6px;margin-top:-6px;border-bottom-color:#3b6788}.filters li.active a{font-weight:bold;color:#323232;text-decoration:none}.filters li.active a:hover{background:transparent;cursor:default}[class^='form'] input[type='text']:focus,[class^='form'] input[type='search']:focus,[class^='form'] input[type='url']:focus,[class^='form'] input[type='password']:focus,[class^='form'] input[type='email']:focus,[class^='form'] input[type='number']:focus,[class^='form'] input[type='tel']:focus,[class^='form'] input[type='date']:focus,[class^='form'] input[type='datetime-local']:focus,[class^='form'] input[type='month']:focus,[class^='form'] select:focus,[class^='form'] textarea:focus,[class^='form'] .select-multiple-checkbox-list .checkbox-list:focus,.form-search:focus,.date-hour input[type='time']:focus,.boxpopuli-container textarea:focus,[class^='form'] .select-multiple-checkbox-list .checkbox-list li:hover,[class^='form'] .select-multiple-checkbox-list .checkbox-list .selected,[class^='form'] .radio-list-complex li:hover,[class^='form'] .radio-list-complex li.selected,[class^='form'] .checkbox-list-complex li:hover,[class^='form'] .checkbox-list-complex li.selected{border-color:rgba(59,103,136,0.5);background:#e7eff5;outline:none}[class^='form'] input[type='text'],[class^='form'] input[type='search'],[class^='form'] input[type='url'],[class^='form'] input[type='password'],[class^='form'] input[type='email'],[class^='form'] input[type='number'],[class^='form'] input[type='tel'],[class^='form'] input[type='date'],[class^='form'] input[type='datetime-local'],[class^='form'] input[type='month'],[class^='form'] select,[class^='form'] textarea,[class^='form'] .select-multiple-checkbox-list .checkbox-list,.form-search,.date-hour input[type='time'],.boxpopuli-container textarea{display:block;padding:0.8em 0.8em;border:1px solid rgba(50,50,50,0.3);background:#FFF;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";-moz-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)"}[class^='form'] input.error[type='text'],[class^='form'] input.error[type='search'],[class^='form'] input.error[type='url'],[class^='form'] input.error[type='password'],[class^='form'] input.error[type='email'],[class^='form'] input.error[type='number'],[class^='form'] input.error[type='tel'],[class^='form'] input.error[type='date'],[class^='form'] input.error[type='datetime-local'],[class^='form'] input.error[type='month'],[class^='form'] select.error,[class^='form'] textarea.error,[class^='form'] .select-multiple-checkbox-list .error.checkbox-list,.error.form-search,.date-hour input.error[type='time'],.boxpopuli-container textarea.error{background:rgba(163,31,36,0.1);border:1px solid #a31f24}[class^='form'] .error-fields input[type='text'],[class^='form'] .error-fields input[type='search'],[class^='form'] .error-fields input[type='url'],[class^='form'] .error-fields input[type='password'],[class^='form'] .error-fields input[type='email'],[class^='form'] .error-fields input[type='number'],[class^='form'] .error-fields input[type='tel'],[class^='form'] .error-fields input[type='date'],[class^='form'] .error-fields input[type='datetime-local'],[class^='form'] .error-fields input[type='month'],[class^='form'] .error-fields select,[class^='form'] .error-fields textarea{border:1px solid adjust-lightness(#a31f24, 10%);background:adjust-lightness(#a31f24, 42%)}[class^='form']{font-size:1rem}[class^='form']>fieldset{position:relative;margin-bottom:3.2em;border:0px none;padding:0}[class^='form'] legend{display:block;padding:0 0 0.4em 0;margin:0 0 0.8em 0;color:#323232;border-bottom:1px solid #d1d1d1;font:normal 1.4rem 'Open Sans', Tahoma, sans-serif;width:100%}[class^='form'] label{display:block;padding-bottom:0.8em;cursor:pointer;text-align:left}[class^='form'] details{padding:0 1.6em}[class^='form'] details summary{cursor:pointer;margin:0 0 1.6em -1.6em;font-weight:bold;font-size:0.9rem;color:#3b6788}[class^='form'] em{display:inline-block;padding:0.4em 0;font-style:normal;font-size:0.9rem;color:#9b9b9b}[class^='form'] [class*='msg-']{font-size:0.9rem}[class^='form'] ul.list-horizontal li,[class^='form'] ul.filters li{margin-right:1.6em}[class^='form'] ol{padding:0;margin:0}[class^='form'] ol>li{list-style:none;display:block;padding:0 0 1.6em}[class^='form'] .error-fields label{color:#a31f24}[class^='form'] .error-fields label:before{padding-right:5px}[class^='form'] input[type='text'],[class^='form'] input[type='search'],[class^='form'] input[type='url'],[class^='form'] input[type='password'],[class^='form'] input[type='email'],[class^='form'] input[type='number'],[class^='form'] input[type='tel'],[class^='form'] input[type='date'],[class^='form'] input[type='datetime-local'],[class^='form'] input[type='month'],[class^='form'] select,[class^='form'] textarea{width:100%;font-size:0.9rem}[class^='form'] input[readonly],[class^='form'] textarea[readonly],[class^='form'] input[readonly='readonly'],[class^='form'] textarea[readonly='readonly']{border:0px none;background:none;outline:0;box-shadow:none;padding-left:0;font-weight:bold}[class^='form'] textarea{width:100%;min-height:200px;resize:none}[class^='form'] input[type='range']{display:block;width:100%}[class^='form'] input[type='number']{display:inline-block;width:75px;text-align:right}[class^='form'] input[type='tel'],[class^='form'] input[type='date'],[class^='form'] input[type='datetime-local'],[class^='form'] input[type='month']{max-width:300px}[class^='form'] input[type='radio']{display:inline-block}[class^='form'] input:disabled{background-color:#fff}[class^='form'] select{border-radius:0;background-color:#FFF;border-style:solid;border-width:1px;border-color:#d1d1d1;padding:0.4em;color:rgba(0,0,0,0.75);line-height:normal;border-radius:0;height:3.04em}[class^='form'] .select-multiple{overflow:hidden;padding-bottom:1.6em}[class^='form'] .select-multiple li{float:left;width:39%}[class^='form'] .select-multiple select{width:100%;min-height:200px;padding:0}[class^='form'] .select-multiple-buttons{margin-top:90px;text-align:center}[class^='form'] .select-multiple-buttons button{margin:2px 0;width:80%}[class^='form'] .select-multiple-checkbox-list{overflow:hidden;padding-top:1.6em;width:45%}[class^='form'] .select-multiple-checkbox-list .checkbox-list{overflow-y:scroll;margin-top:1.6em;height:200px}[class^='form'] .select-multiple-checkbox-list label{display:inline-block}[class^='form'] .select-multiple-checkbox-list .see-more{margin-left:0.5333333333em;font-size:0.8rem}[class^='form'] .select-multiple-checkbox-list .uncheck-selections{font-size:0.9rem;display:block;text-align:right}[class^='form'] .radio-list-complex,[class^='form'] .checkbox-list-complex{margin-left:0}[class^='form'] .radio-list-complex label,[class^='form'] .checkbox-list-complex label{cursor:pointer;overflow:hidden;padding-bottom:0}[class^='form'] .radio-list-complex label .title,[class^='form'] .checkbox-list-complex label .title{display:block;font:1.2rem 'Open Sans', Tahoma, sans-serif}[class^='form'] .radio-list-complex li,[class^='form'] .checkbox-list-complex li{overflow:hidden;position:relative;border:1px solid #d1d1d1;padding:1.6em 3.2em 1.6em 12.8em;margin-bottom:1.6em;background-color:#FFF;-webkit-box-shadow:inset 0 2px 8px rgba(50,50,50,0.2),0 1px 1px rgba(255,255,255,0.5);-moz-box-shadow:inset 0 2px 8px rgba(50,50,50,0.2),0 1px 1px rgba(255,255,255,0.5);box-shadow:inset 0 2px 8px rgba(50,50,50,0.2),0 1px 1px rgba(255,255,255,0.5);-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}[class^='form'] .radio-list-complex.no-icon li,[class^='form'] .checkbox-list-complex.no-icon li{padding-left:6.4em}[class^='form'] .radio-list-complex p,[class^='form'] .checkbox-list-complex p{margin:0}[class^='form'] .radio-list-complex input[type='radio'],[class^='form'] .radio-list-complex input[type='checkbox'],[class^='form'] .checkbox-list-complex input[type='radio'],[class^='form'] .checkbox-list-complex input[type='checkbox']{position:absolute;left:2em;top:45%}[class^='form'] .radio-list-complex img,[class^='form'] .checkbox-list-complex img{position:absolute;left:52px;top:50%;height:50px;margin-top:-25px}[class^='form'] option{padding:0;margin:0}[class^='form'] .options-list{overflow:hidden;height:300px}.form-search{position:relative;overflow:hidden;padding:0}.form-search input[type='search']{border:none;width:100%}.form-search button{position:absolute;top:1px;right:1px;border:1px solid #d1d1d1;padding-left:0.8em;padding-right:0.8em;margin:0}.navigation .form-search,.navigation-sub .form-search{font-family:'Open Sans', Tahoma, sans-serif;font-size:1rem !important;width:35%;min-width:210px;float:right;margin:0.2666666667em 0.2666666667em 0 0;height:38px}.navigation .form-search button,.navigation-sub .form-search button{height:34px}.navigation-sub .form-search{margin:-4px 2px 0 0;height:38px}.navigation-sub .form-search button{height:34px}.header-mobile{position:relative;min-height:3.2em}.header-mobile .header-mobile-container{background:#6cc;overflow:hidden;text-align:center;position:fixed;z-index:100;width:100%;box-shadow:0 0 0.4em rgba(50,50,50,0.5)}.header-mobile .logo{display:inline-block}.header-mobile .logo img{max-height:43px}.header-mobile [class^='button']{background:none;color:#323232;margin:0}.header-mobile-buttons-left{display:inline-block;vertical-align:middle;float:left}.header-mobile-buttons-right{display:inline-block;vertical-align:middle;float:right}[class*='label-'],.label{display:inline-block;position:relative;white-space:nowrap;padding:0 0.5333333333em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;font-size:0.8rem;font-weight:bold;text-align:center;margin-bottom:auto;vertical-align:baseline}.label{background:#f7f7f7;color:rgba(50,50,50,0.8)}.label-ok{background:#8eac5b;color:rgba(255,255,255,0.8)}.label-ko{background:#a31f24;color:rgba(255,255,255,0.8)}.label-info{background:#3b6788;color:rgba(255,255,255,0.8)}.label-warning{background:#df8426;color:rgba(255,255,255,0.8)}img.image-circle,a.image-circle{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border-style:solid;border-color:#f7f7f7}a.image-circle{text-decoration:none;display:inline-block;vertical-align:middle;overflow:hidden}a.image-circle img{display:block}.thumbnail{line-height:0;display:inline-block;border:solid 0.4em #FFF;max-width:100%;box-shadow:0 0 2px 1px rgba(50,50,50,0.2);transition:all 200ms ease-out}.thumbnail:hover{opacity:0.9;box-shadow:0 0 2px 1px rgba(59,103,136,0.4)}.thumbnail img{max-width:100%}.thumbnail-group{overflow:hidden;width:auto;padding-top:0.4em;margin-bottom:1.6em}.thumbnail-group li{display:inline-block;margin:0 0.8em 0.8em 0;position:relative}.thumbnail-actions{position:absolute;overflow:hidden;z-index:100;bottom:0.8em;right:0.8em}.thumbnail-actions li{margin:0}.thumbnail-actions a{padding:0.4em;background:rgba(255,255,255,0.7);color:#323232}.thumbnail-actions a:hover{background:#3b6788;color:#FFF;text-decoration:none}img.image-polaroid,a.image-polaroid{border-color:#f7f7f7;border-width:0.8em 0.8em 2.4em;border-style:solid;-webkit-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));-moz-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2))}img.left.image-polaroid,a.left.image-polaroid{-webkit-transform:rotate(-20deg);-moz-transform:rotate(-20deg);-ms-transform:rotate(-20deg);-o-transform:rotate(-20deg);transform:rotate(-20deg);display:inline-block}img.right.image-polaroid,a.right.image-polaroid{-webkit-transform:rotate(20deg);-moz-transform:rotate(20deg);-ms-transform:rotate(20deg);-o-transform:rotate(20deg);transform:rotate(20deg);display:inline-block}a.image-polaroid{text-decoration:none;display:inline-block}a.image-polaroid.left,a.image-polaroid.right{margin-bottom:1.6em}ul[class*='list-'],.filters,ul.list,.filters{list-style:disc outside;padding-left:1.6em}ul[class*='list-'] ul,.filters ul,ul.list ul,.filters ul{list-style:circle}ol.list,ol.list-horizontal,ol.filters{list-style:decimal inside;padding-left:1.6em}dl[class*='list-'] dt,dl.list dt{color:#9b9b9b}dl[class*='list-'] dd,dl.list dd{margin-bottom:0.4em}.list-horizontal,.filters{padding-left:0 !important}.list-horizontal li,.filters li{display:inline-block;margin-right:0.4em}.list-horizontal dt,.filters dt,.list-horizontal dd,.filters dd{float:left}.list-horizontal dt,.filters dt{clear:left}.list-horizontal dd,.filters dd{margin-left:0.8em}[class*='msg-']{padding:0.4em 1.6em 0.4em 4em;margin:0 0 1.6em;color:#323232;-webkit-border-radius:1px 1px 0 0;-moz-border-radius:1px 1px 0 0;-ms-border-radius:1px 1px 0 0;-o-border-radius:1px 1px 0 0;border-radius:1px 1px 0 0;overflow:hidden;border-style:solid;border-width:0 0 3px 0;background:#FFF;position:relative;-webkit-box-shadow:0 0 3px rgba(50,50,50,0.2);-moz-box-shadow:0 0 3px rgba(50,50,50,0.2);box-shadow:0 0 3px rgba(50,50,50,0.2);min-height:26px}[class*='msg-']:before{position:absolute;left:0.5333333333em;min-width:1.6em;top:50%;padding:0.2em 0;margin:-17px 6px 0 0;font-family:'fontawesome';font-style:normal;font-weight:normal;text-align:center;font-size:1.4rem ;text-decoration:inherit;vertical-align:baseline;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;text-align:center;background-color:rgba(255,255,255,0.7)}.msg-info{border-color:#3b6788;background-color:rgba(59,103,136,0.1)}.msg-info i{color:#3b6788}.msg-info:before{content:'\f129';color:#3b6788}.msg-ko{border-color:#a31f24;background-color:rgba(163,31,36,0.1)}.msg-ko i{color:adjust-lightness(#a31f24, -25%)}.msg-ko i{color:#a31f24}.msg-ko:before{content:'\f00d';color:#a31f24}.msg-ok{border-color:#8eac5b;background-color:rgba(142,172,91,0.1)}.msg-ok i{color:adjust-lightness(#8eac5b, -25%)}.msg-ok i{color:#8eac5b}.msg-ok:before{content:'\f00c';color:#8eac5b}.msg-warning{border-color:#df8426;background-color:rgba(223,132,38,0.1)}.msg-warning i{color:adjust-lightness(#df8426, -35%)}.msg-warning i{color:#df8426}.msg-warning:before{content:'\f071';color:#df8426}[class^='navigation']{position:relative;width:auto}.navigation-slim[class^='navigation'] a{padding:0.2em 0.8em}[class^='navigation'] li{display:inline-block;vertical-align:top}[class^='navigation'] li.active a{position:relative}[class^='navigation'] a{display:block;padding:0.5333333333em 0.8em;text-decoration:none;margin:0.2666666667em 0 0.2em 0.2666666667em}[class^='navigation'].navigation-vertical li{float:none !important;display:block !important}[class^='navigation'].navigation-vertical a{margin-right:0.2666666667em !important}.navigation{background:#354051;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;font-size:1rem}.navigation a{font-family:'Open Sans', Tahoma, sans-serif;font-weight:normal;color:#FFF;text-rendering:optimizeLegibility;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;text-transform:capitalize}.navigation a:hover{background-color:rgba(255,255,255,0.2)}.navigation>ul li.active{margin:0 0.4em}.navigation>ul li.active a,.navigation>ul li.active a:hover{background-color:rgba(255,255,255,0.2);color:#FFF;text-shadow:0,0,5px,rgba(0,0,0,0.2);border-top-color:rgba(255,255,255,0.1);border-bottom-color:rgba(0,0,0,0.1);font-weight:bold}.navigation ul ul{margin-top:0;background:#2E3847;position:relative;z-index:1}.navigation ul ul li a{font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal;font-size:0.85rem;text-transform:capitalize;background:none}.navigation ul ul li.active a{margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.navigation.navigation-vertical li,.navigation.navigation-vertical a{margin:0 !important}.navigation-sub{background-image:-owg(linear-gradient(#FFF 75%, #f7f7f7));background-image:-webkit(linear-gradient(#FFF 75%, #f7f7f7));background-image:-moz(linear-gradient(#FFF 75%, #f7f7f7));background-image:-o(linear-gradient(#FFF 75%, #f7f7f7));background-image:linear-gradient(#FFF 75%, #f7f7f7);-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.navigation-sub a{font-family:Tahoma, Arial, Verdana, sans-serif;font-size:1rem;color:#323232;text-rendering:optimizeLegibility;margin:0}.navigation-sub a:hover{background-color:rgba(0,0,0,0.05)}.navigation-sub>ul .active a{border-bottom:2px solid #6cc}.navigation-sub>ul .active a:before{border:0.5333333333em solid transparent;border-style:outset outset solid outset;content:'';height:0;left:50%;margin-left:-0.5333333333em;overflow:hidden;position:absolute;width:0;background:transparent;border-bottom-color:#6cc;bottom:-2px;z-index:100}.navigation-sub ul ul a{font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal;font-size:0.85rem}.navigation-sub.navigation-vertical{background:none}.navigation-sub.navigation-vertical a{margin-right:0 !important}.navigation-sub.navigation-vertical>ul .active a{border-bottom:0px none;background:#FFF;color:#323232;border-left:2px solid #FFF;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.navigation-sub.navigation-vertical>ul .active a:before{left:0;margin-bottom:-0.5333333333em;margin-left:0;bottom:50%;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.navigation-sub.navigation-vertical>ul .active ul{margin:0;background-image:-owg(linear-gradient(#FFF 75%, #f7f7f7));background-image:-webkit(linear-gradient(#FFF 75%, #f7f7f7));background-image:-moz(linear-gradient(#FFF 75%, #f7f7f7));background-image:-o(linear-gradient(#FFF 75%, #f7f7f7));background-image:linear-gradient(#FFF 75%, #f7f7f7)}.navigation-sub.navigation-vertical>ul .active li a{border-bottom:0px none;background:transparent;border-left:0px none;padding-left:2.88em;color:#323232}.navigation-sub.navigation-vertical>ul .active li a:hover{background-color:rgba(0,0,0,0.05)}.navigation-sub.navigation-vertical>ul .active li a:before{display:none}.navigation-sub.navigation-vertical>ul .active li.active a{font-weight:bold}.navigation-sub.navigation-vertical>ul .active li.active a:before{display:block;left:1.6em}.navigation-dropdown>a{padding-right:1.6em !important;margin-bottom:0}.navigation-dropdown:after{content:"";color:#FFF;position:absolute;top:1.0666666667em;right:0.5333333333em}.navigation-dropdown .opened{background:rgba(255,255,255,0.5)}.navigation-dropdown ul{display:none;position:absolute !important;right:0;margin-top:0;background:#354051;-webkit-box-shadow:0 0 0.8em rgba(50,50,50,0.25);-moz-box-shadow:0 0 0.8em rgba(50,50,50,0.25);box-shadow:0 0 0.8em rgba(50,50,50,0.25);-webkit-border-radius:0 0 1px 1px;-moz-border-radius:0 0 1px 1px;-ms-border-radius:0 0 1px 1px;-o-border-radius:0 0 1px 1px;border-radius:0 0 1px 1px}.navigation-dropdown li{display:block}.navigation-dropdown li a{margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.navigation-dropdown li a:hover{background:#FFF}.pagination{overflow:hidden;margin-bottom:0.8em;clear:both;width:auto;text-align:center;color:#323232;padding:0;background:transparent;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem }.pagination.right{float:right}.pagination ul{word-spacing:inherit !important;letter-spacing:inherit !important}.pagination li{display:inline-block;padding:0 1px}.pagination a{display:block;padding:0.4em;line-height:100%;min-width:1.6em;margin-bottom:0.4em;text-decoration:none;font-weight:normal;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;color:#323232;background-color:#f7f7f7;border-width:1px;border-style:solid;border-color:#f7f7f7;min-height:1rem}.pagination a:hover{background:#3b6788;color:#FFF}.pagination .active a{background:#FFF;color:#323232;border-color:rgba(50,50,50,0.1);font-weight:bold}.rating-0-5,.rating-1-5,.rating-2-5,.rating-3-5,.rating-4-5,.rating-5-5{display:inline-block;font-family:'FontAwesome';overflow:hidden;max-height:1.5em;vertical-align:middle}.rating-0-5:before,.rating-1-5:before,.rating-2-5:before,.rating-3-5:before,.rating-4-5:before,.rating-5-5:before{display:block;color:#FCCB04}.rating-0-5:before{content:""}.rating-1-5:before{content:""}.rating-2-5:before{content:""}.rating-3-5:before{content:""}.rating-4-5:before{content:""}.rating-5-5:before{content:""}.steps{display:block;overflow:hidden;margin:0 auto;padding:0;background:#fff;font:bold 14px "Century Gothic",Arial,sans-serif;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.steps li{display:block;float:left;padding:0.8em 1.6em;margin:0;text-transform:uppercase;color:#323232;font-family:'Open Sans', Tahoma, sans-serif;font-size:1.2rem }.steps li:first-child{padding-left:30px}.steps li:last-child{padding-right:0}.steps li:last-child:after{width:0;content:''}.steps .active{-webkit-border-radius:0 1px 1px 0;-moz-border-radius:0 1px 1px 0;-ms-border-radius:0 1px 1px 0;-o-border-radius:0 1px 1px 0;border-radius:0 1px 1px 0;color:#323232;font-weight:bold}.steps .active:after{margin-right:10px}.steps .done{padding-right:0}.steps .active,.steps .done{background:#6cc}.steps li{color:#818181}.steps .active{color:#FFF}.steps .done{color:#267373}.steps .active,.steps .done{background:#6cc}.tabs{background-image:-owg(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:-webkit(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:-moz(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:-o(linear-gradient(transparent 80%, rgba(50,50,50,0.05)));background-image:linear-gradient(transparent 80%, rgba(50,50,50,0.05));overflow:hidden;padding:0 0.4em}.tabs li{display:block;float:left;position:relative;margin-left:0;margin-right:0.4em}.tabs li a{display:block;text-decoration:none;border-width:1px 1px 0 1px;border-style:solid;border-color:transparent;background-color:rgba(50,50,50,0.05);color:#323232;padding:0.4em 1.6em;font-family:Tahoma, Arial, Verdana, sans-serif;font-weight:normal;font-size:0.9rem ;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.tabs li a:hover{color:#323232;border-color:transparent;background-color:rgba(59,103,136,0.1);text-decoration:none}.tabs li a [class^='icon-']{color:#9b9b9b}.tabs li.active a{font-weight:bold;color:#323232;border-color:#6cc rgba(50,50,50,0.1) transparent rgba(50,50,50,0.1);background-color:#FFF;border-width:2px 1px 0 1px}header.tab{margin-bottom:1.6em}header.tab a{display:block;position:relative;padding:0.4em 0.8em;border-width:1px 1px 0 1px;border-style:solid;border-color:transparent;background-color:rgba(50,50,50,0.05);color:#323232;text-decoration:none;margin:0}header.tab a:hover{color:#323232;border-color:transparent;background-color:rgba(59,103,136,0.1)}header.tab a:after{font-family:'FontAwesome';content:'\f078';position:absolute;right:0.8em;top:0.4em}header.tab.active{margin-bottom:0}header.tab.active:last-of-type{margin-bottom:0}header.tab.active>a,header.tab.active>a:hover{font-weight:bold;color:#323232;border-color:#6cc rgba(50,50,50,0.1) transparent rgba(50,50,50,0.1);background-color:#FFF;border-width:2px 0 0 0;cursor:default}header.tab.active>a:after{opacity:0.2}header.tab:last-of-type{margin-bottom:1.6em}.tab-container>section{clear:both}.tabs-foreground>nav li.active>a,.tabs-foreground>ul li.active>a{background-color:#323232 !important;color:#FFF !important}.tabs-background>nav li.active>a,.tabs-background>ul li.active>a{background-color:#FFF !important;color:#323232 !important}.tabs-primary>nav li.active>a,.tabs-primary>ul li.active>a{background-color:#6cc !important;color:#323232 !important}.tabs-secondary>nav li.active>a,.tabs-secondary>ul li.active>a{background-color:#ff884c !important;color:#323232 !important}.tabs-box>nav li.active>a,.tabs-box>ul li.active>a{background-color:#f7f7f7 !important;color:#323232 !important}.tabs-info>nav li.active>a,.tabs-info>ul li.active>a{background-color:#3b6788 !important;color:#FFF !important}.tabs-darken>nav li.active>a{background-color:rgba(50,50,50,0.3);color:#FFF}.tabs-lighten>nav li.active>a{background-color:rgba(255,255,255,0.3);color:#323232;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.tags{list-style:none;margin:0;padding:0}.tags li,.tags a{float:left;line-height:2.4em;position:relative}.tags a{-webkit-border-radius:0 0.4em 0.4em 0;-moz-border-radius:0 0.4em 0.4em 0;-ms-border-radius:0 0.4em 0.4em 0;-o-border-radius:0 0.4em 0.4em 0;border-radius:0 0.4em 0.4em 0;background:#d1d1d1;color:#323232;margin:0 0.8em 0.8em;padding:0 1.6em 0 0.8em;text-decoration:none}.tags a:before{border-color:transparent #d1d1d1 transparent transparent;border-style:solid;border-width:1.28em 1.28em 1.28em 0;content:'';float:left;height:0;left:-1.2em;position:absolute;top:0;width:0}.tags a:after{-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;-webkit-box-shadow:-1px -1px 2px #d1d1d1;-moz-box-shadow:-1px -1px 2px #d1d1d1;box-shadow:-1px -1px 2px #d1d1d1;background:#FFF;content:'';float:left;height:0.4em;left:0;position:absolute;top:1.12em;width:0.4em}.tags a:hover{background:#3b6788;color:#FFF}.tags a:hover:before{border-color:transparent #3b6788 transparent transparent}.tag-cloud h1,.tag-cloud h2,.tag-cloud h3,.tag-cloud h4,.tag-cloud h5{line-height:1;margin:0;padding:0}.tag-cloud li{display:inline-block}.switch{display:inline-block;vertical-align:middle;padding:0;border:none;position:relative;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.switch input{opacity:0;position:absolute;top:9px;left:10px;padding:0}.switch label{color:transparent;background:#d1d1d1;display:block;margin-bottom:1rem;position:relative;text-indent:100%;width:4em;height:2.24em;cursor:pointer;transition:left 0.15s ease-out;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px}.switch label:after{padding:0.4em;font-family:'fontawesome';content:"";text-indent:0;text-align:center;color:#d1d1d1;display:block;background:#FFF;position:absolute;top:.2rem;left:.3rem;-webkit-transition:left 0.15s ease-out;-moz-transition:left 0.15s ease-out;-o-transition:translate3d(0, 0, 0);transition:left 0.15s ease-out;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-weight:normal;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px}.switch input:checked+label{background:#8eac5b}.switch input:checked+label:after{left:2.08em;color:#8eac5b}.switch input+label{margin-left:0;margin-right:0}.switch input[type='checkbox']+label,.switch input[type='radio']+label{display:inline-block;margin-left:0.5333333333em;margin-right:0.8em;margin-bottom:0;vertical-align:baseline;font-size:1rem;line-height:1rem;padding:0}.table-mobile{display:none}.table{max-width:100%;min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-width:0;border-color:transparent;border-style:none}.table caption{margin:0 0 0.4em;padding:0;text-transform:uppercase}.table thead th,.table thead td{padding:0.4em 0.8em;border-width:0 0 1px 0;border-color:#f7f7f7;border-style:solid;font-weight:normal;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;background:transparent;text-align:left;color:#323232;vertical-align:middle}.table tbody{border-width:1px;border-color:#fff;border-style:solid;color:#323232;background:#FFF}.table tbody tr:nth-child(odd) td{background-color:rgba(247,247,247,0.5)}.table tbody tr:hover td{background-color:rgba(102,204,204,0.1)}.table tbody tr>td{padding:0.8em 0.8em;border-width:0 1px 1px 0;border-color:#f7f7f7;border-style:solid;font-weight:normal;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;background:transparent;text-align:left;color:#323232;vertical-align:middle}.table tbody tr>td:last-child{border-right:none}.balloon{position:relative;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;font-weight:normal;padding:1.6em;width:auto;margin-bottom:0.8em;background:#f7f7f7;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.balloon:after{content:'';position:absolute;border-style:solid;display:block;width:0;z-index:1}.balloon p:last-of-type{margin-bottom:0}.balloon-left:after,.balloon-right:after{margin-top:-0.8em;top:50%;border-color:transparent #f7f7f7}.balloon-left{margin-left:0.8em}.balloon-left:after{border-width:0.8em 0.8em 0.8em 0;left:-0.8em}.balloon-right{margin-right:0.8em}.balloon-right:after{border-width:0.8em 0 0.8em 0.8em;right:-0.8em}.balloon-top:after,.balloon-bottom:after{margin-left:-0.8em;left:50%;border-color:#f7f7f7 transparent}.balloon-top{margin-top:0.8em}.balloon-top:after{border-width:0 0.8em 0.8em;top:-0.8em}.balloon-bottom{margin-bottom:0.8em}.balloon-bottom:after{border-width:0.8em 0.8em 0;bottom:-0.8em}.balloon-foreground{background-color:#323232;color:#FFF}.balloon-foreground.balloon-top:after,.balloon-foreground.balloon-bottom:after{border-color:#323232 transparent}.balloon-foreground.balloon-left:after,.balloon-foreground.balloon-right:after{border-color:transparent #323232}.balloon-background{background-color:#FFF;color:#323232}.balloon-background.balloon-top:after,.balloon-background.balloon-bottom:after{border-color:#FFF transparent}.balloon-background.balloon-left:after,.balloon-background.balloon-right:after{border-color:transparent #FFF}.balloon-foreground-light{background-color:#9b9b9b;color:#323232}.balloon-foreground-light.balloon-top:after,.balloon-foreground-light.balloon-bottom:after{border-color:#9b9b9b transparent}.balloon-foreground-light.balloon-left:after,.balloon-foreground-light.balloon-right:after{border-color:transparent #9b9b9b}.balloon-primary{background-color:#6cc;color:#323232}.balloon-primary.balloon-top:after,.balloon-primary.balloon-bottom:after{border-color:#6cc transparent}.balloon-primary.balloon-left:after,.balloon-primary.balloon-right:after{border-color:transparent #6cc}.balloon-secondary{background-color:#ff884c;color:#323232}.balloon-secondary.balloon-top:after,.balloon-secondary.balloon-bottom:after{border-color:#ff884c transparent}.balloon-secondary.balloon-left:after,.balloon-secondary.balloon-right:after{border-color:transparent #ff884c}.balloon-box{background-color:#f7f7f7;color:#323232}.balloon-box.balloon-top:after,.balloon-box.balloon-bottom:after{border-color:#f7f7f7 transparent}.balloon-box.balloon-left:after,.balloon-box.balloon-right:after{border-color:transparent #f7f7f7}.balloon-ko{background-color:#a31f24;color:#FFF}.balloon-ko.balloon-top:after,.balloon-ko.balloon-bottom:after{border-color:#a31f24 transparent}.balloon-ko.balloon-left:after,.balloon-ko.balloon-right:after{border-color:transparent #a31f24}.balloon-ok{background-color:#8eac5b;color:#FFF}.balloon-ok.balloon-top:after,.balloon-ok.balloon-bottom:after{border-color:#8eac5b transparent}.balloon-ok.balloon-left:after,.balloon-ok.balloon-right:after{border-color:transparent #8eac5b}.balloon-info{background-color:#3b6788;color:#FFF}.balloon-info.balloon-top:after,.balloon-info.balloon-bottom:after{border-color:#3b6788 transparent}.balloon-info.balloon-left:after,.balloon-info.balloon-right:after{border-color:transparent #3b6788}.balloon-warning{background-color:#df8426;color:#FFF}.balloon-warning.balloon-top:after,.balloon-warning.balloon-bottom:after{border-color:#df8426 transparent}.balloon-warning.balloon-left:after,.balloon-warning.balloon-right:after{border-color:transparent #df8426}.loading:before{content:"" !important;font-family:fontawesome !important;width:100% !important;font-size:3em !important;display:block !important;overflow:hidden !important;text-align:center !important;background:transparent !important;color:rgba(50,50,50,0.5) !important;padding:1.6em !important;-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.loading *{display:none !important}.welcome-item i,.no-items-icon{font-size:4rem;color:rgba(50,50,50,0.4);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;padding:0.4em;border:8px solid rgba(50,50,50,0.4);margin:0.4em 0}.header-mobile .header-mobile-container{background:#354051;padding-top:0.4em;height:35px;overflow:hidden}.header-mobile a{color:#FFF}.header-mobile .logo{padding-top:0.2em;font-size:1.4rem}.checkbox{display:inline-block !important;padding:0.8em;background:rgba(255,255,255,0.8);margin-right:1.6em}.checkbox input{width:14px;height:14px;box-shadow:1px 1px 1px rgba(50,50,50,0.4)}.form-configuration .icon-pencil{padding:0.8em 0 0 0.8em;position:absolute}.form-configuration select,.form-configuration textarea,.form-configuration input{position:relative;z-index:100}.form-configuration input[readonly],.form-configuration textarea[readonly],.form-configuration input[readonly='readonly'],.form-configuration textarea[readonly='readonly']{border-width:1px !important;border-style:dotted !important;border-color:transparent;color:#323232 !important;padding-left:2.4em;padding-right:0.8em;position:inherit}.form-configuration input[readonly]:hover,.form-configuration textarea[readonly]:hover,.form-configuration input[readonly='readonly']:hover,.form-configuration textarea[readonly='readonly']:hover{border-color:#3b6788;color:#3b6788 !important;cursor:text}.form-grid article{background:#FFF;padding:1.6em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;vertical-align:top;min-height:200px;position:relative;-webkit-box-shadow:1px 1px 5px rgba(50,50,50,0.5);-moz-box-shadow:1px 1px 5px rgba(50,50,50,0.5);box-shadow:1px 1px 5px rgba(50,50,50,0.5)}.form-grid .box-none{position:relative;z-index:5}.form-grid-background{position:absolute;top:-50px;left:-50px;opacity:0.15;-webkit-filter:blur(10px);-moz-filter:blur(10px);-o-filter:blur(10px);-ms-filter:blur(10px);filter:url('data:image/svg+xml;utf8, #svg-blur');filter:blur(10px);filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius=" " + $mixin-ie-blur + " ");-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg);min-width:130%;z-index:4}.form-grid-icon{float:left;margin:0 0.8em 0.8em 0}.form-grid-settings{position:absolute;bottom:0;left:0;background:rgba(50,50,50,0.2);z-index:4;width:101%;padding:0.4em 0.8em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-grid-has-settings article{padding-bottom:55px}#cboxContent{margin:0 !important}.section-header{display:block;background:#FFF;padding:0.8em 0.8em 0.8em 1.0666666667em;min-height:53px}.section-header .list-horizontal,.section-header .filters{margin-bottom:0;font-size:1.4rem;font-family:'Open Sans', Tahoma, sans-serif;line-height:100%;padding:0.4em}.section-header .list-horizontal li,.section-header .filters li{margin-right:0}.section-header .list-horizontal a,.section-header .filters a{color:rgba(50,50,50,0.4)}.section-header .list-horizontal a:hover,.section-header .filters a:hover{color:#3b6788}.section-header .buttons-group{float:right;margin-bottom:0;padding:0 !important;min-width:30%;text-align:right}.section-header [class^='button']{min-width:2.24em;padding:0.4em}.section-header [class^='button'] span{display:none}.order-history i{color:#FFF;background:#323232;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px;padding:0.4em;display:inline-block;border-left:1px solid rgba(50,50,50,0.3);z-index:2;position:relative}.order-history em{border-left:4px solid rgba(50,50,50,0.5);position:absolute;height:48px;left:1.6em;top:0;z-index:1}.order-history td{position:relative}.order-history tr:first-of-type em{height:25px;top:inherit;bottom:-1px}.order-history tr:last-of-type em{height:25px}body{height:100%}.container{padding:0 !important;height:100%;position:relative}.sidebar{background:#354051;overflow:hidden;text-shadow:1px,1px,0,rgba(50,50,50,0.2);z-index:100}.sidebar hr{border-width:1px 0 0 0;border-style:solid;border-color:rgba(255,255,255,0.1);height:1px}.badge{float:right;background:rgba(255,255,255,0.2);-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;border-radius:100px;padding:0 0.4em;min-width:35px;text-align:center;font-size:0.85rem}.badge-alert{background:rgba(163,31,36,0.5);text-shadow:1px 1px 1px #323232}.sidebar-title{display:block;color:#FFF;font-family:'Open Sans', Tahoma, sans-serif;font-weight:400;font-size:1.2rem}.sidebar-user{display:none;background:rgba(50,50,50,0.2);margin:0;padding:0.8em 0.8em 0;overflow:hidden;border-bottom:1px solid rgba(255,255,255,0.2)}.sidebar-user-avatar{display:inline-block;vertical-align:top;margin-right:0.4em}.sidebar-user-info{display:inline-block;overflow:hidden;margin-bottom:0.8em}.sidebar-user-info a{color:#FFF}.sidebar-user-dropdown{clear:both;margin-bottom:0.8em !important}.welcome{overflow:hidden;background:#f7f7f7;padding-bottom:0.4em}.welcome h2{display:block;position:relative;padding:0.4em;background:#354051;color:#FFF;text-align:center;margin-bottom:0.2em;overflow:hidden}.welcome h2 span{position:absolute;margin-left:-100px;opacity:0.2;top:-12px}.welcome-mini{border-bottom:1px solid #354051;padding-bottom:0px}.welcome-mini h2{font-size:1.4rem !important;min-height:28px;padding:0.4em}.welcome-item{text-align:center;position:relative;padding:0.8em 0.8em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.welcome-item i{min-width:60px}.welcome-item .welcome-done-sign{display:none}.welcome-active{background:#FFF}.welcome-active i{border-color:#6cc;color:#6cc}.welcome-active .button{background:#6cc}.welcome-done{opacity:0.3}.welcome-done .button{background:#354051;color:#FFF}.welcome-done .welcome-done-sign{position:absolute;-webkit-transform:rotate(-15deg);-moz-transform:rotate(-15deg);-ms-transform:rotate(-15deg);-o-transform:rotate(-15deg);transform:rotate(-15deg);background:#354051;display:inline-block;color:#FFF;padding:0.2em 0.8em;top:103px;font-size:2rem;left:32%;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.dashboard-tabs{text-align:center}.dashboard-tabs li{display:block}[class^='dashboard-tabs-']{display:inline-block;margin-right:1.6em;font-weight:normal;padding:0.2em 0}[class^='dashboard-tabs-'] a{text-align:left}.dashboard-tabs-range{text-transform:uppercase}.dashboard-tabs-amount{font-family:'Open Sans', Tahoma, sans-serif;font-size:1.4rem;color:#6cc}.dashboard-tabs-orders{padding-bottom:0.8em}.dashboard-panels [class*='col']{position:relative}.no-items{display:block;text-align:center;position:relative}.no-items h2{margin-bottom:0.8em}.thumbnail-group-extended>li{min-width:150px;background:#d1d1d1}.thumbnail-group-extended .thumbnail{vertical-align:middle;background:#FFF}.thumbnail-group-extended li:first-child .thumbnail{border-color:#323232}.thumbnail-group-extended li:first-child .thumbnail:after{display:block;padding:0.8em;position:absolute;background:rgba(50,50,50,0.5);color:#FFF;margin:-10px auto 0;top:1.6em;left:0.8em;content:'Principal'}.filter-reports{margin-bottom:0.8em}.filter-reports .filters{padding-top:0.5333333333em}.date-hour{margin-bottom:0}.date-hour input{display:inline-block}.date-hour input[type='date']{width:50%;min-width:150px;max-height:2.72em;margin:0 0.8em 0.8em 0}.date-hour input[type='time']{width:37%;min-width:100px;max-height:2.4em;margin-bottom:0.8em}.date-hour .ws-date,.date-hour .ws-time{width:68% !important}.date-hour .input-buttons{padding:0}.boxpopuli-container{background:#f7f7f7;padding:0}.boxpopuli-container textarea{width:100%;margin-bottom:1.6em;min-height:150px}.boxpopuli-overflow{display:block;overflow-x:hidden;height:100%;padding:1.6em;overflow-y:auto !important}.fc-wysiwyg-switch .button{background:none;color:#3b6788}.fc-wysiwyg-switch .button:hover{text-decoration:underline}.hidden-placeholder{position:absolute;top:-9999em;right:-9999em;width:90%}@media screen and (min-width: 980px){.mobile,.tablet{display:none}.mobile.d-ib,.mobile.d-b,.tablet.d-ib,.tablet.d-b{display:none !important}.desktop{display:block !important}.desktop.d-ib,.desktop.inline-block{display:inline-block !important}td.desktop,th.desktop{display:table-cell !important}.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.col-2-3,.col-8-12{width:66.6666666667%;float:left}.col-1-2,.col-6-12,.col-2-4{width:50%;float:left}.col-1-3,.col-4-12{width:33.3333333333%;float:left}.col-1-4,.col-3-12{width:25%;float:left}.col-1-5{width:20%;float:left}.col-2-5{width:40%;float:left}.col-3-5{width:60%;float:left}.col-4-5{width:80%;float:left}.col-1-12{width:8.3333333333%;float:left}.col-2-12{width:16.6666666667%;float:left}.col-11-12{width:91.6666666667%;float:left}.col-10-12{width:83.3333333333%;float:left}.col-9-12,.col-3-4{width:75%;float:left}.col-5-12{width:41.6666666667%;float:left}.col-7-12{width:58.3333333333%;float:left}.push-right{float:right;margin-left:1.6em;margin-right:0}.grid-fixed>[class*='col-']{height:100%;position:fixed;overflow-y:auto}.grid-fixed>.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.grid-fixed>.col-2-3,.grid-fixed>.col-8-12{width:66.6666666667%;float:left}.grid-fixed>.col-1-2,.grid-fixed>.col-6-12,.grid-fixed>.col-2-4{width:50%;float:left}.grid-fixed>.col-1-3,.grid-fixed>.col-4-12{width:33.3333333333%;float:left}.grid-fixed>.col-1-4,.grid-fixed>.col-3-12{width:25%;float:left}.grid-fixed>.col-1-5{width:20%;float:left}.grid-fixed>.col-2-5{width:40%;float:left}.grid-fixed>.col-3-5{width:60%;float:left}.grid-fixed>.col-4-5{width:80%;float:left}.grid-fixed>.col-1-12{width:8.3333333333%;float:left}.grid-fixed>.col-2-12{width:16.6666666667%;float:left}.grid-fixed>.col-11-12{width:91.6666666667%;float:left}.grid-fixed>.col-10-12{width:83.3333333333%;float:left}.grid-fixed>.col-9-12,.grid-fixed>.col-3-4{width:75%;float:left}.grid-fixed>.col-5-12{width:41.6666666667%;float:left}.grid-fixed>.col-7-12{width:58.3333333333%;float:left}.grid-fixed>.push-right{right:0}header.tab{display:none !important}[class*='box-'],.box{margin-bottom:1.6em;padding:1.6em}.sidebar{height:100%;position:fixed;overflow-y:auto}.sidebar .navigation-vertical{z-index:100;position:relative;margin-bottom:80px}.section-header{padding:1.0666666667em 1.6em 0.8em;min-height:68px}.section-header .list-horizontal,.section-header .filters{font-size:2.2rem;padding:0}.section-header [class^='button']{min-width:inherit;padding:0.4em 0.8em}.section-header [class^='button'] span{display:inline-block}.papa-air{padding:1.6em}.form-grid article{display:inline-block;width:31%;margin-right:2%}.filter-reports .col-2-3{text-align:right}.filter-reports .ms-ctn{display:inline-block;vertical-align:middle;min-width:400px;margin-left:0.4em}[class^='dashboard-tabs-']{display:block;margin-right:0}[class^='dashboard-tabs-'] a{text-align:center}.dashboard-tabs li{display:inline-block;width:20%}.fixed-bottom{position:fixed;bottom:0;width:100%;background:#FFF;padding:0.8em 0 0.4em 17%;right:0;text-align:left;box-sizing:border-box;-webkit-box-shadow:1px 0 10px rgba(50,50,50,0.5);-moz-box-shadow:1px 0 10px rgba(50,50,50,0.5);box-shadow:1px 0 10px rgba(50,50,50,0.5);z-index:99}}@media screen and (min-width: 0px) and (max-width: 799px){.desktop,.tablet{display:none}.desktop.d-ib,.desktop.d-b,.tablet.d-ib,.tablet.d-b{display:none !important}.mobile{display:block !important}.mobile.d-ib,.mobile.inline-block{display:inline-block !important}td.mobile,th.mobile{display:table-cell !important}.tabs{display:none !important}.header-spacing{height:68px;display:block}.header{position:fixed;top:0}.header .logo img{max-width:180px !important}.table-mobile{display:table !important}.table{display:block;overflow-x:auto;width:100%;position:relative}.table[data-fc-modules="table"]{display:table !important}.table[data-fc-modules="table-responsive"]{display:none}.table td,.table th{white-space:nowrap}}@media screen and (min-width: 800px) and (max-width: 978px){.desktop,.mobile{display:none}.desktop.d-ib,.desktop.d-b,.mobile.d-ib,.mobile.d-b{display:none !important}.tablet{display:block !important}.tablet.d-ib,.tablet.inline-block{display:inline-block !important}td.tablet,th.tablet{display:table-cell !important}[class*='box-'],.box{margin-bottom:1.6em;padding:1.6em}.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.col-2-3{width:66.6666666667%;float:left}.col-1-2,.col-2-4{width:50%;float:left}.col-1-3{width:33.3333333333%;float:left}.col-1-4{width:25%;float:left}.col-3-4{width:75%;float:left}.push-right{float:right;margin-left:1.6em;margin-right:0}.grid-fixed>[class*='col-']{height:100%;position:fixed;overflow-y:auto}.grid-fixed>.col-1-1{width:100%;float:left;margin-left:0;margin-right:0}.grid-fixed>.col-2-3,.grid-fixed>.col-8-12{width:66.6666666667%;float:left}.grid-fixed>.col-1-2,.grid-fixed>.col-6-12,.grid-fixed>.col-2-4{width:50%;float:left}.grid-fixed>.col-1-3,.grid-fixed>.col-4-12{width:33.3333333333%;float:left}.grid-fixed>.col-1-4,.grid-fixed>.col-3-12{width:25%;float:left}.grid-fixed>.col-1-5{width:20%;float:left}.grid-fixed>.col-2-5{width:40%;float:left}.grid-fixed>.col-3-5{width:60%;float:left}.grid-fixed>.col-4-5{width:80%;float:left}.grid-fixed>.col-1-12{width:8.3333333333%;float:left}.grid-fixed>.col-2-12{width:16.6666666667%;float:left}.grid-fixed>.col-11-12{width:91.6666666667%;float:left}.grid-fixed>.col-10-12{width:83.3333333333%;float:left}.grid-fixed>.col-9-12,.grid-fixed>.col-3-4{width:75%;float:left}.grid-fixed>.col-5-12{width:41.6666666667%;float:left}.grid-fixed>.col-7-12{width:58.3333333333%;float:left}.grid-fixed>.push-right{right:0}.tabs{display:none !important}.header-spacing{height:68px;display:block}.header{position:fixed;top:0}.header .logo img{max-width:180px !important}.section-header{padding:1.0666666667em 1.6em 0.8em;min-height:68px}.section-header .list-horizontal,.section-header .filters{font-size:2.2rem;padding:0}.section-header [class^='button']{min-width:inherit;padding:0.4em 0.8em}.section-header [class^='button'] span{display:inline-block}.papa-air{padding:1.6em}[class^='dashboard-tabs-']{display:block;margin-right:0}[class^='dashboard-tabs-'] a{text-align:center}.dashboard-tabs li{display:inline-block;width:20%}}
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/css/ui.css b/src/Elcodi/Admin/CoreBundle/Resources/public/css/ui.css
index a13c16b8..fb098828 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/css/ui.css
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/css/ui.css
@@ -1 +1 @@
-@import "//fonts.googleapis.com/css?family=Open+Sans:700,300";.opentip-container h1{font-family:'Open Sans', Tahoma, sans-serif;line-height:1.2em;font-weight:normal;margin-bottom:0.4em}.opentip-container h1 small{font-size:.6em;opacity:0.7}.opentip-container h1{font-size:1.65rem !important}.dynatable-search input:focus,.ms-ctn:focus,.fc-wysiwyg:focus{border-color:rgba(59,103,136,0.5);background:#e7eff5;outline:none}.dynatable-search input,.ms-ctn,.fc-wysiwyg{display:block;padding:0.8em 0.8em;border:1px solid rgba(50,50,50,0.3);background:#FFF;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";-moz-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)"}.autocompleter{width:100%;background:#FFF;position:absolute;left:0;z-index:100}.autocompleter,.autocompleter-hint{position:absolute}.autocompleter-list{-webkit-box-shadow:inset 0px 0px 6px rgba(50,50,50,0.1);-moz-box-shadow:inset 0px 0px 6px rgba(50,50,50,0.1);box-shadow:inset 0px 0px 6px rgba(50,50,50,0.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:0;padding:0;text-align:left}.autocompleter-item-selected{background:#FFF}.autocompleter-item{padding:0.4em 0.8em;color:#323232;font-size:0.85rem;cursor:pointer;border-bottom:1px solid #f7f7f7}.autocompleter-item:hover{background:#3b6788;color:#FFF}.autocompleter-item strong{background:#f9de8f;text-shadow:0 1px 0 #ffffff}.autocompleter-item span{color:#bbbbbb}.autocompleter-hint{color:#f7f7f7;text-align:left;top:-56px;font-weight:400;left:0;width:100%;padding:0.8em;font-size:1.1rem;display:none}.autocompleter-hint span{color:transparent}.autocompleter-hint-show{display:block}.autocompleter-closed{display:none}.carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.carousel .owl-animated-in{z-index:0}.carousel .owl-animated-out{z-index:1}.carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.carousel .owl-stage:after{content:'.';display:block;clear:both;visibility:hidden;line-height:0;height:0}.carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px, 0px, 0px)}.carousel .owl-controls .owl-nav .owl-prev,.carousel .owl-controls .owl-nav .owl-next{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel .owl-controls .owl-dot{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel.owl-loaded{display:block}.carousel.owl-loading{opacity:0;display:block}.carousel.owl-hidden{opacity:0}.carousel .owl-refresh .owl-item{display:none}.carousel .owl-item{position:relative;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.carousel.owl-rtl{direction:rtl}.carousel.owl-rtl .owl-item{float:right}.no-js .carousel{display:block}.carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.carousel .owl-item img{transform-style:preserve-3d}.carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.carousel .owl-video-play-icon{position:absolute;height:120px;width:120px;left:50%;top:50%;margin-left:-60px;margin-top:-10px;background:url("owl.video.play.png") no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease}.carousel .owl-video-play-icon:before{font-family:'fontawesome';content:"";font-size:10rem;font-weight:normal;color:#fff;text-shadow:1px 1px 1px #000}.carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3, 1.3);-moz-transition:scale(1.3, 1.3);-ms-transition:scale(1.3, 1.3);-o-transition:scale(1.3, 1.3);transition:scale(1.3, 1.3)}.carousel .owl-video-playing .owl-video-tn,.carousel .owl-video-playing .owl-video-play-icon{display:none}.carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:contain;background-size:cover;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease;-webkit-filter:blur(5px);-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}.carousel .owl-video-frame{position:relative;z-index:1}.carousel-theme:hover .owl-nav{display:block !important}.carousel-theme:hover .owl-nav [class*=owl-]{font-family:'FontAwesome';color:#fff;font-size:2.5rem;padding:0.4em;margin:0.4em;display:inline-block;cursor:pointer;opacity:0.5;text-shadow:0,0,10px,rgba(0,0,0,0.5);top:33%}.carousel-theme:hover .owl-nav [class*=owl-]:hover{opacity:0.8;text-decoration:none}.carousel-theme:hover .owl-nav .disabled{opacity:.5;cursor:default}.carousel-theme:hover .owl-prev{position:absolute;left:0}.carousel-theme:hover .owl-prev:before{content:""}.carousel-theme:hover .owl-next{position:absolute;right:0}.carousel-theme:hover .owl-next:before{content:""}.carousel-theme .owl-controls{margin-top:10px;text-align:center;-webkit-tap-highlight-color:transparent}.carousel-theme .owl-controls .owl-nav{display:none}.carousel-theme .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.carousel-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#d6d6d6;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-moz-transition:opacity 200ms ease;-ms-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.carousel-theme .owl-dots .owl-dot.active span,.carousel-theme .owl-dots .owl-dot:hover span{background:#869791}.cart{position:relative;padding:0.8em;background:#f7f7f7;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.cart .item-custom{display:block}#cart-list{position:absolute;min-width:300px;z-index:9999;color:#323232;font-family:'FreightSansMedium', sans-serif;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 3px rgba(50,50,50,0.5);-moz-box-shadow:0 1px 3px rgba(50,50,50,0.5);box-shadow:0 1px 3px rgba(50,50,50,0.5);background:-owg(#FFF);background:-webkit(#FFF);background:-moz(#FFF);background:-o(#FFF);background:#FFF}#cart-list .actions{padding:0.8em 0.4em 0.4em;text-align:right}#cart-list .itemRow,#cart-list .item-row{border-bottom:1px dotted #d1d1d1;padding:0.8em;overflow:hidden}#cart-list .itemRow div,#cart-list .item-row div{float:left}#cart-list .itemRow .item-total,#cart-list .item-row .item-total{float:right}#cart-list .itemRow:nth-child(even),#cart-list .item-row:nth-child(even){background:#f7f7f7}#cart-list .item-row{padding-left:4em}#cart-list .item-custom{width:3.2em}#cart-list .item-custom span{float:left;display:inline-block;text-align:right;width:20px}#cart-list .item-custom div{float:left;height:13px;margin-left:3px}#cart-list .simpleCart_increment,#cart-list .simpleCart_decrement{line-height:1;display:block;height:0.5333333333em}#cart-list .item-name{float:left;min-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hljs{display:block;overflow-x:auto;padding:0.8em;color:#323232;background:#FFF;border:1px dashed rgba(50,50,50,0.2)}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#099}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.tex .hljs-formula{color:#d14}.hljs-title,.hljs-id,.coffeescript .hljs-params,.hljs-preprocessor{color:#900;font-weight:bold}.javascript .hljs-title,.lisp .hljs-title,.clojure .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body{color:#008080}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in,.lisp .hljs-title,.clojure .hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa}#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#cboxWrapper{max-width:none}#cboxOverlay{position:fixed;width:100%;height:100%}#cboxMiddleLeft,#cboxBottomLeft{clear:left}#cboxContent{position:relative}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#cboxTitle{margin:0}#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0}#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box;moz-box-sizing:content-box;-webkit-box-sizing:content-box}#cboxOverlay{background:#323232}#colorbox{outline:0}#cboxContent{margin-top:1.6em;background:#323232}.cboxIframe{background:#fff}#cboxError{padding:3.2em;border:1px solid #9b9b9b}#cboxLoadedContent{border:0.4em solid #323232;background:#FFF}#cboxTitle{position:absolute;top:-1.6em;left:0;color:#9b9b9b;text-shadow:1px,1px,0,false,rgba(0,0,0,0.2)}#cboxCurrent{position:absolute;top:-1.6em;right:0px;color:#9b9b9b;text-shadow:1px,1px,0,false,rgba(0,0,0,0.2)}#cboxLoadingGraphic{text-indent:-9999px}#cboxLoadingGraphic:after{color:#323232;position:absolute;content:'\f110';font-family:FontAwesome;text-indent:0;top:50%;left:50%;font-size:1.2rem ;display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}#cboxPrevious,#cboxNext,#cboxSlideshow,#cboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}#cboxPrevious:active,#cboxNext:active,#cboxSlideshow:active,#cboxClose:active{outline:0}#cboxSlideshow{position:absolute;top:-1.6em;right:90px;color:#FFF}#cboxPrevious,#cboxNext{position:absolute;top:50%;margin-top:-1.6em;width:2.4em;height:3.2em;background:#323232;color:#FFF;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-indent:-9999px;opacity:0.5}#cboxPrevious:after,#cboxNext:after{position:absolute;font-family:FontAwesome;text-indent:0}#cboxPrevious:hover,#cboxNext:hover{opacity:1}#cboxPrevious{left:0;-webkit-border-radius:0 6.4em 6.4em 0;-moz-border-radius:0 6.4em 6.4em 0;-ms-border-radius:0 6.4em 6.4em 0;-o-border-radius:0 6.4em 6.4em 0;border-radius:0 6.4em 6.4em 0}#cboxPrevious:after{left:0.8em;content:'\f060'}#cboxNext{right:0;-webkit-border-radius:6.4em 0 0 6.4em;-moz-border-radius:6.4em 0 0 6.4em;-ms-border-radius:6.4em 0 0 6.4em;-o-border-radius:6.4em 0 0 6.4em;border-radius:6.4em 0 0 6.4em}#cboxNext:after{right:0.8em;content:'\f061'}#cboxClose{position:absolute;top:0.8em;right:0.8em;display:block;text-indent:-9999px;background:#FFF;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:6.4em;-moz-border-radius:6.4em;-ms-border-radius:6.4em;-o-border-radius:6.4em;border-radius:6.4em;width:1.6em;height:1.6em;opacity:0.5}#cboxClose:after{color:#323232;position:absolute;right:0.4em;font-family:FontAwesome;content:'\f00d';text-indent:0}#cboxClose:hover{opacity:1}.cboxIE #cboxTopLeft,.cboxIE #cboxTopCenter,.cboxIE #cboxTopRight,.cboxIE #cboxBottomLeft,.cboxIE #cboxBottomCenter,.cboxIE #cboxBottomRight,.cboxIE #cboxMiddleLeft,.cboxIE #cboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF)}#notification{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;top:-1000px;width:100%;padding:0 15%;z-index:10000;transition:1s ease-in-out;background-image:-owg(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:-webkit(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:-moz(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:-o(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%)}#notification .icon-times{position:absolute;right:0.8em;top:0.8em;color:#000;opacity:0.5}#notification .icon-times:hover{cursor:pointer;z-index:10001;opacity:0.8;text-decoration:none}#notification .box-background{position:relative;-webkit-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));-moz-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));-webkit-border-radius:0 0 1px 1px;-moz-border-radius:0 0 1px 1px;-ms-border-radius:0 0 1px 1px;-o-border-radius:0 0 1px 1px;border-radius:0 0 1px 1px}#notification [class*='msg']{padding-right:2.4em;-webkit-border-radius:0 0 1px 1px;-moz-border-radius:0 0 1px 1px;-ms-border-radius:0 0 1px 1px;-o-border-radius:0 0 1px 1px;border-radius:0 0 1px 1px}.black-panel{background:rgba(0,0,0,0.7);position:fixed;height:100%;width:100%;z-index:100;top:0}.header,.grid{transition:left 300ms ease-in-out,right 300ms ease-in-out}.side-panel-tab{position:fixed;margin:0;z-index:100}.side-panel-tab-left{left:0}.side-panel-tab-right{right:0}.side-panel-default{position:relative;z-index:1000;overflow-y:auto}.side-panel-default a[data-fc-modules='side-panel']{display:block;position:absolute;top:50%;padding:0.8em;-webkit-border-radius:1px 1px 0 0;-moz-border-radius:1px 1px 0 0;-ms-border-radius:1px 1px 0 0;-o-border-radius:1px 1px 0 0;border-radius:1px 1px 0 0;background:#6cc;color:#323232;box-sizing:border-box;text-align:center}.side-panel-default a[data-fc-modules='side-panel']:hover{text-decoration:none;opacity:0.9}.side-panel-default.side-panel-left{-webkit-box-shadow:inset -7px 0 9px -7px rgba(50,50,50,0.4);-moz-box-shadow:inset -7px 0 9px -7px rgba(50,50,50,0.4);box-shadow:inset -7px 0 9px -7px rgba(50,50,50,0.4)}.side-panel-default.side-panel-right{-webkit-box-shadow:inset 7px 0 9px -7px rgba(50,50,50,0.4);-moz-box-shadow:inset 7px 0 9px -7px rgba(50,50,50,0.4);box-shadow:inset 7px 0 9px -7px rgba(50,50,50,0.4)}.js-sortable{position:relative}.js-sortable ol,.js-sortable ul{min-height:0.4em;width:97%;margin-left:3%}.js-sortable>li{min-height:3.52em;vertical-align:middle;padding-top:0.4em;border-bottom:1px solid #d1d1d1;margin-bottom:0.4em}.js-sortable>li>ol,.js-sortable>li>ul{overflow:visible}.js-sortable ol>li,.js-sortable ul>li{position:relative;overflow:visible}.js-sortable ol>li:before,.js-sortable ul>li:before{content:"-- ";position:absolute;left:-0.8em;color:rgba(50,50,50,0.5);border-left:1px solid rgba(50,50,50,0.5);padding:0.4em 0;top:0}.js-sortable ol>li:last-of-type:before,.js-sortable ul>li:last-of-type:before{height:20%;overflow:hidden}.js-sortable li{display:block;cursor:pointer;z-index:500;padding:0.4em 0.8em;background:rgba(209,209,209,0.2);-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;margin-bottom:1px}.js-sortable .placeholder{position:relative;margin:0;padding:0;content:"(" attr(class) ")";border:0px none;background-color:#6cc;opacity:.1;min-height:2.4em;margin-bottom:2px;color:#323232}body.dragging,body.dragging *{cursor:move !important}.list .dragged{padding-left:1.6em}.dragged{position:absolute;display:block;top:0;opacity:.5;z-index:2000}.sortable-drop>li,.sortable-drop ol,.sortable-drop ul{position:relative;z-index:100}.doughnut-legend,.line-legend,.pie-legend,.bar-legend{display:block;overflow:hidden}.doughnut-legend li,.line-legend li,.pie-legend li,.bar-legend li{display:inline-block;margin:0.8em 1.6em 0.8em;font-size:0.9rem}.doughnut-legend span,.line-legend span,.pie-legend span,.bar-legend span{display:inline-block;width:0.9rem;height:0.9rem;vertical-align:middle;margin-right:0.4em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.doughnut-legend,.pie-legend{text-align:center}.line-legend,.bar-legend{text-align:left}.charts-no-data{display:inline-block;text-shadow:1px,1px,5px,#FFF;-webkit-transform:rotate(-8deg);-moz-transform:rotate(-8deg);-ms-transform:rotate(-8deg);-o-transform:rotate(-8deg);transform:rotate(-8deg)}.charts-no-data i{position:absolute;font-size:8rem;opacity:0.1;margin-top:-2.5rem;left:50%;margin-left:-4.3rem}.dynatable-search{right:1.6em;position:absolute;margin:0.4em 0.8em;min-width:40%;text-align:right}.dynatable-search:after{font-family:'FontAwesome';position:absolute;top:0.4em;right:0.8em;content:""}.dynatable-search input{position:absolute;top:0;right:0;padding-top:0.4em !important;padding-bottom:0.4em !important;width:70%}.dynatable-per-page{padding:0.8em;display:block;position:absolute}.dynatable-record-count{display:none;padding:5px 0}.dynatable-active-page a{background:#FFF !important;color:#323232 !important}.dynatable-pagination{float:right}.dynatable-pagination li:first-child{display:none}.dynatable-disabled-page,.dynatable-disabled-page:hover{background:none;color:#999}.table-dynamic{outline:1px solid #f7f7f7}.table-dynamic thead{background:#f7f7f7;border-color:#f7f7f7;outline:#f7f7f7}.table-dynamic thead th{height:70px;vertical-align:bottom}.dynatable-arrow{color:rgba(50,50,50,0.5);font-size:0.85rem;text-decoration:none !important;margin-left:0.4em;float:left}.dynatable-arrow:hover{text-decoration:none !important}.ms-ctn{padding-top:0.4em;padding-bottom:0.4em;position:relative;height:auto}.ms-ctn-readonly{cursor:pointer}.ms-ctn-disabled{cursor:not-allowed;background-color:#eeeeee}.ms-ctn-bootstrap-focus{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;border-bottom-left-radius:0;border-bottom-right-radius:0}.ms-ctn-bootstrap-focus .ms-res-ctn{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;border-bottom-left-radius:0;border-bottom-right-radius:0}.ms-ctn-focus{outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.ms-ctn input{border:0;box-shadow:none;-webkit-transition:none;outline:none;display:block;padding:0.2em 0;line-height:1.42857143;margin:1px 0;width:100%}.ms-ctn .ms-sel-ctn input{float:left;padding:0.2em 0;border:0px none;box-shadow:none;max-width:50%}.ms-ctn-disabled input{cursor:not-allowed;background-color:#eeeeee}.ms-ctn .ms-input-readonly{cursor:pointer}.ms-ctn .ms-empty-text{color:#DDD}.ms-ctn input:focus{border:0;box-shadow:none;-webkit-transition:none;background:#fff}.ms-ctn input::-ms-clear{width:0;height:0}.ms-ctn .ms-trigger{top:0;width:25px;height:100%;position:absolute;right:0;background:transparent;border-left:1px solid #d1d1d1;cursor:pointer}.ms-ctn .ms-trigger .ms-trigger-ico{position:absolute;width:0;height:0;vertical-align:top;border-top:4px solid rgba(50,50,50,0.5);border-right:4px solid transparent;border-left:4px solid transparent;content:'';margin-left:-4px;margin-top:-4px;left:50%;top:50%}.ms-ctn .ms-trigger:hover{cursor:pointer;background-color:rgba(59,103,136,0.2);color:#FFF}.ms-ctn .ms-trigger:hover .ms-trigger-ico{border-top-color:#FFF !important}.ms-ctn-disabled .ms-trigger{cursor:not-allowed;background-color:#eeeeee}.ms-ctn-bootstrap-focus{border-bottom:1px solid #CCC}.ms-res-ctn{width:100%;display:block;overflow-y:auto}.ms-res-ctn .ms-res-group{line-height:23px;text-align:left;padding:2px 5px;font-weight:bold;border-bottom:1px dotted #CCC;border-top:1px solid #CCC;background:#f3edff;color:#333}.ms-res-ctn .ms-res-item{line-height:25px;text-align:left;padding:2px 5px;color:#323232;cursor:pointer}.ms-res-ctn .ms-res-item-grouped{padding-left:15px}.ms-res-ctn .ms-res-odd{background:#f7f7f7}.ms-res-ctn .ms-res-item-active{background-color:rgba(59,103,136,0.2)}.ms-res-ctn .ms-res-item-disabled{color:#d1d1d1;cursor:default}.ms-sel-ctn{overflow:auto;line-height:18px;padding-right:25px}.ms-no-trigger .ms-sel-ctn{padding-right:0}.ms-sel-ctn .ms-sel-item{float:left;background:#f7f7f7;color:#323232;padding:0.8em 0.4em;border-radius:1px;margin:3px 0px 1px 0}.ms-sel-ctn .ms-sel-invalid{background:#FDF2F2 !important}.ms-ctn .ms-sel-item{float:left;background:#f7f7f7;color:#323232;padding:0.2em 0.4em;border-radius:1px;margin:1px 0.4em 1px 0}.ms-ctn .ms-sel-item:hover{cursor:default;background-color:rgba(59,103,136,0.2);color:#323232}.ms-sel-ctn .ms-sel-text{background:#fff;color:#666;padding-right:0;margin-left:0;font-size:14px;font-weight:normal}.ms-res-ctn .ms-res-item em{font-style:normal;background:#565656;color:#fff}.ms-sel-ctn .ms-sel-text:hover{background:#fff}.ms-sel-ctn .ms-sel-item-active{background:#757575}.ms-stacked .ms-sel-item{float:inherit}.ms-sel-ctn .ms-sel-item .ms-close-btn:after{cursor:pointer;float:right;margin:1px 0 0 0.4em;font-family:'FontAwesome';content:"";opacity:0.1}.ms-sel-ctn .ms-sel-item .ms-close-btn:hover:after{opacity:0.3}.ms-stacked .ms-sel-item .ms-close-btn{margin-left:0px}.ms-helper{color:#AAA;font-size:10px;position:absolute;top:-2.4em;right:0}.ms-ctn.input-lg .ms-trigger .ms-trigger-ico{margin-top:17px}.ms-ctn.input-sm .ms-trigger .ms-trigger-ico{margin-top:13px}.ms-ctn.input-lg .ms-sel-ctn .ms-sel-item{padding-top:2px;padding-bottom:3px}.ms-ctn.input-sm .ms-sel-ctn{line-height:15px}.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item{padding-top:1px;padding-bottom:1px;margin-top:0;margin-bottom:0}.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item .ms-close-btn{margin-top:4px}.ms-ctn .ms-sel-ctn{margin-left:-7px}.ms-ctn .ms-trigger:hover{width:24px;right:1px;border-radius:0 3px 3px 0}.ms-res-ctn.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.opentip-container,.opentip-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.opentip-container{position:absolute;max-width:300px;z-index:100;-webkit-transition:-webkit-transform 1s ease-in-out;-moz-transition:-moz-transform 1s ease-in-out;-o-transition:-o-transform 1s ease-in-out;-ms-transition:-ms-transform 1s ease-in-out;transition:transform 1s ease-in-out;pointer-events:none;-webkit-transform:translateX(0) translateY(0);-moz-transform:translateX(0) translateY(0);-o-transform:translateX(0) translateY(0);-ms-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0)}.opentip-container.ot-fixed.ot-hidden.stem-top.stem-center,.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-center,.opentip-container.ot-fixed.ot-hiding.stem-top.stem-center{-webkit-transform:translateY(-5px);-moz-transform:translateY(-5px);-o-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px)}.opentip-container.ot-fixed.ot-hidden.stem-top.stem-right,.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-right,.opentip-container.ot-fixed.ot-hiding.stem-top.stem-right{-webkit-transform:translateY(-5px) translateX(5px);-moz-transform:translateY(-5px) translateX(5px);-o-transform:translateY(-5px) translateX(5px);-ms-transform:translateY(-5px) translateX(5px);transform:translateY(-5px) translateX(5px)}.opentip-container.ot-fixed.ot-hidden.stem-middle.stem-right,.opentip-container.ot-fixed.ot-going-to-show.stem-middle.stem-right,.opentip-container.ot-fixed.ot-hiding.stem-middle.stem-right{-webkit-transform:translateX(5px);-moz-transform:translateX(5px);-o-transform:translateX(5px);-ms-transform:translateX(5px);transform:translateX(5px)}.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-right,.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-right,.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-right{-webkit-transform:translateY(5px) translateX(5px);-moz-transform:translateY(5px) translateX(5px);-o-transform:translateY(5px) translateX(5px);-ms-transform:translateY(5px) translateX(5px);transform:translateY(5px) translateX(5px)}.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-center,.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-center,.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-center{-webkit-transform:translateY(5px);-moz-transform:translateY(5px);-o-transform:translateY(5px);-ms-transform:translateY(5px);transform:translateY(5px)}.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-left,.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-left,.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-left{-webkit-transform:translateY(5px) translateX(-5px);-moz-transform:translateY(5px) translateX(-5px);-o-transform:translateY(5px) translateX(-5px);-ms-transform:translateY(5px) translateX(-5px);transform:translateY(5px) translateX(-5px)}.opentip-container.ot-fixed.ot-hidden.stem-middle.stem-left,.opentip-container.ot-fixed.ot-going-to-show.stem-middle.stem-left,.opentip-container.ot-fixed.ot-hiding.stem-middle.stem-left{-webkit-transform:translateX(-5px);-moz-transform:translateX(-5px);-o-transform:translateX(-5px);-ms-transform:translateX(-5px);transform:translateX(-5px)}.opentip-container.ot-fixed.ot-hidden.stem-top.stem-left,.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-left,.opentip-container.ot-fixed.ot-hiding.stem-top.stem-left{-webkit-transform:translateY(-5px) translateX(-5px);-moz-transform:translateY(-5px) translateX(-5px);-o-transform:translateY(-5px) translateX(-5px);-ms-transform:translateY(-5px) translateX(-5px);transform:translateY(-5px) translateX(-5px)}.opentip-container.ot-fixed .opentip{pointer-events:auto}.opentip-container.ot-hidden{display:none}.opentip-container .opentip{position:relative;font-size:13px;line-height:120%;padding:0.8em 1.6em;color:#323232;text-shadow:-1px -1px 0px rgba(255,255,255,0.2)}.opentip-container .opentip .header{margin:0;padding:0}.opentip-container .opentip .ot-close{pointer-events:auto;display:block;position:absolute;top:-12px;left:60px;color:rgba(0,0,0,0.5);background:transparent;text-decoration:none}.opentip-container .opentip .ot-close span{display:none}.opentip-container .opentip .ot-loading-indicator{display:none}.opentip-container.ot-loading .ot-loading-indicator{width:30px;height:30px;font-size:30px;line-height:30px;font-weight:bold;display:block}.opentip-container.ot-loading .ot-loading-indicator span{display:block;-webkit-animation:otloading 2s linear infinite;-moz-animation:otloading 2s linear infinite;-o-animation:otloading 2s linear infinite;-ms-animation:otloading 2s linear infinite;animation:otloading 2s linear infinite;text-align:center}.opentip-container.style-dark .opentip,.opentip-container.style-alert .opentip{color:#f7f7f7;text-shadow:1px 1px 0px rgba(0,0,0,0.2)}.opentip-container.style-glass .opentip{padding:15px 25px;color:#6cc;text-shadow:1px 1px 8px rgba(0,94,153,0.3)}.opentip-container.ot-hide-effect-fade{-webkit-transition:-webkit-transform 0.5s ease-in-out,opacity 1s ease-in-out;-moz-transition:-moz-transform 0.5s ease-in-out,opacity 1s ease-in-out;-o-transition:-o-transform 0.5s ease-in-out,opacity 1s ease-in-out;-ms-transition:-ms-transform 0.5s ease-in-out,opacity 1s ease-in-out;transition:transform 0.5s ease-in-out,opacity 1s ease-in-out;opacity:1;-ms-filter:none;filter:none}.opentip-container.ot-hide-effect-fade.ot-hiding{opacity:0;filter:alpha(opacity=0);-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'}.opentip-container.ot-show-effect-appear.ot-going-to-show,.opentip-container.ot-show-effect-appear.ot-showing{-webkit-transition:-webkit-transform 0.5s ease-in-out,opacity 1s ease-in-out;-moz-transition:-moz-transform 0.5s ease-in-out,opacity 1s ease-in-out;-o-transition:-o-transform 0.5s ease-in-out,opacity 1s ease-in-out;-ms-transition:-ms-transform 0.5s ease-in-out,opacity 1s ease-in-out;transition:transform 0.5s ease-in-out,opacity 1s ease-in-out}.opentip-container.ot-show-effect-appear.ot-going-to-show{opacity:0;filter:alpha(opacity=0);-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'}.opentip-container.ot-show-effect-appear.ot-showing{opacity:1;-ms-filter:none;filter:none}.opentip-container.ot-show-effect-appear.ot-visible{opacity:1;-ms-filter:none;filter:none}@-moz-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}.fc-wysiwyg{overflow:hidden;position:relative;padding-bottom:3.2em;min-height:100px;-webkit-transition:padding false false,0.4s ease-in false;-moz-transition:padding false false false,0.4s ease-in false false;-o-transition:padding false false false,0.4s ease-in false false;transition:padding,0.4s ease-in}.fc-wysiwyg:after{font-family:'fontawesome';content:'\f129';color:#3b6788;position:absolute;bottom:0.4em;left:0.8em;min-width:1.6em;-webkit-border-radius:200px;-moz-border-radius:200px;-ms-border-radius:200px;-o-border-radius:200px;border-radius:200px;text-align:center;background-color:rgba(255,255,255,0.7);opacity:0;-webkit-transition:opacity false false,0.4s ease-in false;-moz-transition:opacity false false false,0.4s ease-in false false;-o-transition:opacity false false false,0.4s ease-in false false;transition:opacity,0.4s ease-in}.fc-wysiwyg:before{content:attr(data-help);font-size:0.9rem;background:rgba(59,103,136,0.2);width:100%;padding:0.4em 0.8em 0.4em 3.2em;bottom:0;left:0;position:absolute;display:block;opacity:0;-webkit-transition:opacity false false,0.4s ease-in false;-moz-transition:opacity false false false,0.4s ease-in false false;-o-transition:opacity false false false,0.4s ease-in false false;transition:opacity,0.4s ease-in}.fc-wysiwyg:focus:before,.fc-wysiwyg:focus:after{opacity:1}.fc-wysiwyg:focus{background:#FFF}.fc-wysiwyg-switch-full-screen{display:block !important}.fc-wysiwyg-full-screen{position:fixed !important;border-top:3.2em solid #6cc !important;left:0;top:0;height:100% !important;width:100% !important;z-index:1000;overflow:auto !important}.fc-wysiwyg-switch{position:absolute;right:-0.4em;margin-top:-3.2em;font-size:0.85rem;z-index:1001;display:none}.fc-wysiwyg-switch-full-screen{position:fixed;top:0;margin-top:0 !important}.fc-wysiwyg-html{font-family:'Courier New', Courier, mono;font-size:0.9rem}.fc-wysiwyg-textarea{padding:0px !important;background:transparent;border:0px none !important;height:1px !important;min-height:1px !important}.fc-wysiwyg:focus{outline:none}.fc-wysiwyg fieldset{border:0}img{border:0}.fc-wysiwyg img:hover{cursor:pointer;opacity:0.9}.fc-wysiwyg{line-height:160%}.fc-wysiwyg blockquote{padding-left:1.6em;margin-left:-2.4em;border-left:0.8em solid #6cc}.fc-wysiwyg a{color:#3b6788}.fc-wysiwyg del{text-decoration:line-through}.fc-wysiwyg sub,.fc-wysiwyg sup{font-size:75%;position:relative;vertical-align:text-top \9}.fc-wysiwyg img{position:relative;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;-webkit-box-shadow:0px 0px 5px rgba(50,50,50,0.3);-moz-box-shadow:0px 0px 5px rgba(50,50,50,0.3);box-shadow:0px 0px 5px rgba(50,50,50,0.3)}.fc-wysiwyg img:hover{cursor:pointer;opacity:0.9}.fc-wysiwyg img.fotobonita{border:0.4em solid #FFF}:root .fc-wysiwyg sub,:root .fc-wysiwyg sup{vertical-align:baseline}.fc-wysiwyg sup{top:-0.5em}.fc-wysiwyg sub{bottom:-0.25em}.fc-wysiwyg hr{border:none;border-bottom:1px solid #f7f7f7;margin-bottom:1.6em;*color:pink;*filter:chroma(color=pink);height:10px;*margin:-7px 0 15px}.fc-wysiwyg small{font-size:0.8em;color:#9b9b9b}.fc-wysiwyg em,.fc-wysiwyg b,.fc-wysiwyg strong{font-weight:700}.fc-wysiwyg pre{white-space:pre-wrap;padding:0.85em;background:#f7f7f7}.fc-wysiwyg p,.fc-wysiwyg pre,.fc-wysiwyg ul,.fc-wysiwyg ol,.fc-wysiwyg dl,.fc-wysiwyg form,.fc-wysiwyg table,.fc-wysiwyg blockquote{margin-bottom:16px}.fc-wysiwyg h1,.fc-wysiwyg h2,.fc-wysiwyg h3,.fc-wysiwyg h4,.fc-wysiwyg h5,.fc-wysiwyg h6{margin-bottom:16px;font-weight:700;line-height:1.2}.fc-wysiwyg h1{font-size:2em}.fc-wysiwyg h2{font-size:1.8em}.fc-wysiwyg h3{font-size:1.6em}.fc-wysiwyg h4{font-size:1.4em}.fc-wysiwyg h5,.fc-wysiwyg h6{font-size:1.2em}.fc-wysiwyg ul{margin-left:0 !important}.fc-wysiwyg ul li{list-style:disc inside !important;padding-left:1.6em !important}.fc-wysiwyg ol{list-style:decimal inside !important;margin-left:0 !important}.fc-wysiwyg ol li{list-style:decimal inside !important;display:inline !important;padding-left:1.6em !important}.pen-ul{list-style:disc}.pen ol,.pen-ol{list-style:decimal}.pen li ul,.pen li ol{margin:0 2em 0 1.2em}.pen-ul ul,.pen-ul ol{margin:0 2em 0 1.2em}.pen-ol ul,.pen-ol ol{margin:0 2em 0 1.2em}.pen li ul,.pen-ul ul,.pen-ol ul{list-style:circle}.pen-menu,.pen-input{font-size:14px;line-height:1}.pen-menu{white-space:nowrap;box-shadow:1px 2px 3px -2px #323232;background:#323232;background-image:linear-gradient(to bottom, #323232, #4c4c4c);opacity:0.9;position:fixed;height:36px;border:1px solid #323232;border-radius:3px;display:none;z-index:1000}.pen-menu:after{top:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(51,51,51,0);border-top-color:#323232;border-width:6px;left:50%;margin-left:-6px}.pen-icon{font:normal 900 16px/20px Georgia serif;min-width:20px;display:inline-block;padding:8px 10px;overflow:hidden;color:#FFF;text-align:center;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.pen-icon:first-of-type{border-top-left-radius:3px;border-bottom-left-radius:3px}.pen-icon:last-of-type{border-top-right-radius:3px;border-bottom-right-radius:3px}.pen-icon:hover{background:#323232}.pen-icon.active{color:#1abf89;background:#323232;box-shadow:inset 2px 2px 4px #323232}.pen-input{position:absolute;width:100%;left:0;top:0;height:36px;line-height:20px;background:#333;color:#fff;border:none;text-align:center;display:none;font-family:arial, sans-serif}.pen-input:focus{outline:none}.pen-textarea{display:block;background:#f8f8f8;padding:20px}.fc-wysiwyg textarea{font-size:14px;border:none;background:none;width:100%;_height:200px;min-height:200px;resize:none}.pen-menu-full-screen{z-index:1001 !important}.pen-menu [class^='icon-']:before,.pen-menu [class*=' icon-']:before{font-family:'fontawesome';font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em}.pen-menu .icon-h2,.pen-menu .icon-h3,.pen-menu .icon-p{line-height:100%}.pen-menu .icon-location:before{content:""}.pen-menu .icon-fit:before{content:'\e80f'}.pen-menu .icon-bold:before{content:""}.pen-menu .icon-italic:before{content:""}.pen-menu .icon-justifyleft:before{content:""}.pen-menu .icon-justifycenter:before{content:""}.pen-menu .icon-justifyright:before{content:""}.pen-menu .icon-justifyfull:before{content:""}.pen-menu .icon-outdent:before{content:""}.pen-menu .icon-indent:before{content:""}.pen-menu .icon-mode:before{content:'\e813'}.pen-menu .icon-fullscreen:before{content:""}.pen-menu .icon-insertunorderedlist:before{content:""}.pen-menu .icon-insertorderedlist:before{content:""}.pen-menu .icon-strikethrough:before{content:""}.pen-menu .icon-underline:before{content:""}.pen-menu .icon-blockquote:before{content:""}.pen-menu .icon-undo:before{content:""}.pen-menu .icon-pre:before{content:'\e816'}.pen-menu .icon-unlink:before{content:""}.pen-menu .icon-superscript:before{content:'\e808'}.pen-menu .icon-subscript:before{content:'\e809'}.pen-menu .icon-inserthorizontalrule:before{content:'\e818'}.pen-menu .icon-pin:before{content:'\e812'}.pen-menu .icon-createlink:before{content:""}.pen{position:relative}.pen.hinted h1:before,.pen.hinted h2:before,.pen.hinted h3:before,.pen.hinted h4:before,.pen.hinted h5:before,.pen.hinted h6:before,.pen.hinted blockquote:before,.pen.hinted hr:before{color:#eee;position:absolute;right:100%;white-space:nowrap;padding-right:10px}.pen.hinted blockquote{border-left:0;margin-left:0;padding-left:0}.pen.hinted blockquote:before{color:#1abf89;content:'>';font-weight:bold;vertical-align:center}.pen.hinted h1:before{content:'#'}.pen.hinted h2:before{content:'##'}.pen.hinted h3:before{content:'###'}.pen.hinted h4:before{content:'####'}.pen.hinted h5:before{content:'#####'}.pen.hinted h6:before{content:'######'}.pen.hinted hr:before{content:'---';line-height:1.2;vertical-align:bottom}.pen.hinted pre:before,.pen.hinted pre:after{content:'```';display:block;color:#ccc}.pen.hinted ul{list-style:none}.pen.hinted ul li:before{content:'*';color:#999;line-height:1;vertical-align:bottom;margin-left:-1.2em;display:inline-block;width:1.2em}.pen.hinted b:before,.pen.hinted b:after{content:'**';color:#eee;font-weight:normal}.pen.hinted i:before,.pen.hinted i:after{content:'*';color:#eee}.pen.hinted a{text-decoration:none}.pen.hinted a:before{content:'[';color:#ddd}.pen.hinted a:after{content:"(" attr(href) ")";color:#ddd}
+@import "//fonts.googleapis.com/css?family=Open+Sans:700,300";.opentip-container h1{font-family:'Open Sans', Tahoma, sans-serif;line-height:1.2em;font-weight:normal;margin-bottom:0.4em}.opentip-container h1 small{font-size:.6em;opacity:0.7}.opentip-container h1{font-size:1.65rem !important}.dynatable-search input:focus,.ms-ctn:focus,.fc-wysiwyg:focus{border-color:rgba(59,103,136,0.5);background:#e7eff5;outline:none}.dynatable-search input,.ms-ctn,.fc-wysiwyg{display:block;padding:0.8em 0.8em;border:1px solid rgba(50,50,50,0.3);background:#FFF;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";-moz-box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)";box-shadow:"inset 0 2px 8px rgba(#323232, .2), 0 1px 1px rgba(#FFF, .5)"}.dynatable-search input.error,.error.ms-ctn,.error.fc-wysiwyg{background:rgba(163,31,36,0.1);border:1px solid #a31f24}.loading:before{content:"" !important;font-family:fontawesome !important;width:100% !important;font-size:3em !important;display:block !important;overflow:hidden !important;text-align:center !important;background:transparent !important;color:rgba(50,50,50,0.5) !important;padding:1.6em !important;-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.loading *{display:none !important}.autocompleter{width:100%;background:#FFF;position:absolute;left:0;z-index:100}.autocompleter,.autocompleter-hint{position:absolute}.autocompleter-list{-webkit-box-shadow:inset 0px 0px 6px rgba(50,50,50,0.1);-moz-box-shadow:inset 0px 0px 6px rgba(50,50,50,0.1);box-shadow:inset 0px 0px 6px rgba(50,50,50,0.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:0;padding:0;text-align:left}.autocompleter-item-selected{background:#FFF}.autocompleter-item{padding:0.4em 0.8em;color:#323232;font-size:0.85rem;cursor:pointer;border-bottom:1px solid #f7f7f7}.autocompleter-item:hover{background:#3b6788;color:#FFF}.autocompleter-item strong{background:#f9de8f;text-shadow:0 1px 0 #ffffff}.autocompleter-item span{color:#bbbbbb}.autocompleter-hint{color:#f7f7f7;text-align:left;top:-56px;font-weight:400;left:0;width:100%;padding:0.8em;font-size:1.1rem;display:none}.autocompleter-hint span{color:transparent}.autocompleter-hint-show{display:block}.autocompleter-closed{display:none}.carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.carousel .owl-animated-in{z-index:0}.carousel .owl-animated-out{z-index:1}.carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.carousel .owl-stage:after{content:'.';display:block;clear:both;visibility:hidden;line-height:0;height:0}.carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px, 0px, 0px)}.carousel .owl-controls .owl-nav .owl-prev,.carousel .owl-controls .owl-nav .owl-next{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel .owl-controls .owl-dot{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel.owl-loaded{display:block}.carousel.owl-loading{opacity:0;display:block}.carousel.owl-hidden{opacity:0}.carousel .owl-refresh .owl-item{display:none}.carousel .owl-item{position:relative;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.carousel.owl-rtl{direction:rtl}.carousel.owl-rtl .owl-item{float:right}.no-js .carousel{display:block}.carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.carousel .owl-item img{transform-style:preserve-3d}.carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.carousel .owl-video-play-icon{position:absolute;height:120px;width:120px;left:50%;top:50%;margin-left:-60px;margin-top:-10px;background:url("owl.video.play.png") no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease}.carousel .owl-video-play-icon:before{font-family:'fontawesome';content:"";font-size:10rem;font-weight:normal;color:#fff;text-shadow:1px 1px 1px #000}.carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3, 1.3);-moz-transition:scale(1.3, 1.3);-ms-transition:scale(1.3, 1.3);-o-transition:scale(1.3, 1.3);transition:scale(1.3, 1.3)}.carousel .owl-video-playing .owl-video-tn,.carousel .owl-video-playing .owl-video-play-icon{display:none}.carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:contain;background-size:cover;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease;-webkit-filter:blur(5px);-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}.carousel .owl-video-frame{position:relative;z-index:1}.carousel-theme:hover .owl-nav{display:block !important}.carousel-theme:hover .owl-nav [class*=owl-]{font-family:'FontAwesome';color:#fff;font-size:2.5rem;padding:0.4em;margin:0.4em;display:inline-block;cursor:pointer;opacity:0.5;text-shadow:0,0,10px,rgba(0,0,0,0.5);top:33%}.carousel-theme:hover .owl-nav [class*=owl-]:hover{opacity:0.8;text-decoration:none}.carousel-theme:hover .owl-nav .disabled{opacity:.5;cursor:default}.carousel-theme:hover .owl-prev{position:absolute;left:0}.carousel-theme:hover .owl-prev:before{content:""}.carousel-theme:hover .owl-next{position:absolute;right:0}.carousel-theme:hover .owl-next:before{content:""}.carousel-theme .owl-controls{margin-top:10px;text-align:center;-webkit-tap-highlight-color:transparent}.carousel-theme .owl-controls .owl-nav{display:none}.carousel-theme .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.carousel-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#d6d6d6;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-moz-transition:opacity 200ms ease;-ms-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.carousel-theme .owl-dots .owl-dot.active span,.carousel-theme .owl-dots .owl-dot:hover span{background:#869791}.cart{position:relative;padding:0.8em;background:#f7f7f7;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.cart .item-custom{display:block}#cart-list{position:absolute;min-width:300px;z-index:9999;color:#323232;font-family:'FreightSansMedium', sans-serif;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 3px rgba(50,50,50,0.5);-moz-box-shadow:0 1px 3px rgba(50,50,50,0.5);box-shadow:0 1px 3px rgba(50,50,50,0.5);background:-owg(#FFF);background:-webkit(#FFF);background:-moz(#FFF);background:-o(#FFF);background:#FFF}#cart-list .actions{padding:0.8em 0.4em 0.4em;text-align:right}#cart-list .itemRow,#cart-list .item-row{border-bottom:1px dotted #d1d1d1;padding:0.8em;overflow:hidden}#cart-list .itemRow div,#cart-list .item-row div{float:left}#cart-list .itemRow .item-total,#cart-list .item-row .item-total{float:right}#cart-list .itemRow:nth-child(even),#cart-list .item-row:nth-child(even){background:#f7f7f7}#cart-list .item-row{padding-left:4em}#cart-list .item-custom{width:3.2em}#cart-list .item-custom span{float:left;display:inline-block;text-align:right;width:20px}#cart-list .item-custom div{float:left;height:13px;margin-left:3px}#cart-list .simpleCart_increment,#cart-list .simpleCart_decrement{line-height:1;display:block;height:0.5333333333em}#cart-list .item-name{float:left;min-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hljs{display:block;overflow-x:auto;padding:0.8em;color:#323232;background:#FFF;border:1px dashed rgba(50,50,50,0.2)}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#099}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.tex .hljs-formula{color:#d14}.hljs-title,.hljs-id,.coffeescript .hljs-params,.hljs-preprocessor{color:#900;font-weight:bold}.javascript .hljs-title,.lisp .hljs-title,.clojure .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body{color:#008080}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in,.lisp .hljs-title,.clojure .hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa}#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#cboxWrapper{max-width:none}#cboxOverlay{position:fixed;width:100%;height:100%}#cboxMiddleLeft,#cboxBottomLeft{clear:left}#cboxContent{position:relative}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#cboxTitle{margin:0}#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0}#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box;moz-box-sizing:content-box;-webkit-box-sizing:content-box}#cboxOverlay{background:#323232}#colorbox{outline:0}#cboxContent{margin-top:1.6em;background:#323232}.cboxIframe{background:#fff}#cboxError{padding:3.2em;border:1px solid #9b9b9b}#cboxLoadedContent{border:0.4em solid #323232;background:#FFF}#cboxTitle{position:absolute;top:-1.6em;left:0;color:#9b9b9b;text-shadow:1px,1px,0,false,rgba(0,0,0,0.2)}#cboxCurrent{position:absolute;top:-1.6em;right:0px;color:#9b9b9b;text-shadow:1px,1px,0,false,rgba(0,0,0,0.2)}#cboxLoadingGraphic{text-indent:-9999px}#cboxLoadingGraphic:after{color:#323232;position:absolute;content:'\f110';font-family:FontAwesome;text-indent:0;top:50%;left:50%;font-size:1.2rem ;display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}#cboxPrevious,#cboxNext,#cboxSlideshow,#cboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}#cboxPrevious:active,#cboxNext:active,#cboxSlideshow:active,#cboxClose:active{outline:0}#cboxSlideshow{position:absolute;top:-1.6em;right:90px;color:#FFF}#cboxPrevious,#cboxNext{position:absolute;top:50%;margin-top:-1.6em;width:2.4em;height:3.2em;background:#323232;color:#FFF;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-indent:-9999px;opacity:0.5}#cboxPrevious:after,#cboxNext:after{position:absolute;font-family:FontAwesome;text-indent:0}#cboxPrevious:hover,#cboxNext:hover{opacity:1}#cboxPrevious{left:0;-webkit-border-radius:0 6.4em 6.4em 0;-moz-border-radius:0 6.4em 6.4em 0;-ms-border-radius:0 6.4em 6.4em 0;-o-border-radius:0 6.4em 6.4em 0;border-radius:0 6.4em 6.4em 0}#cboxPrevious:after{left:0.8em;content:'\f060'}#cboxNext{right:0;-webkit-border-radius:6.4em 0 0 6.4em;-moz-border-radius:6.4em 0 0 6.4em;-ms-border-radius:6.4em 0 0 6.4em;-o-border-radius:6.4em 0 0 6.4em;border-radius:6.4em 0 0 6.4em}#cboxNext:after{right:0.8em;content:'\f061'}#cboxClose{position:absolute;top:0.8em;right:0.8em;display:block;text-indent:-9999px;background:#FFF;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:6.4em;-moz-border-radius:6.4em;-ms-border-radius:6.4em;-o-border-radius:6.4em;border-radius:6.4em;width:1.6em;height:1.6em;opacity:0.5}#cboxClose:after{color:#323232;position:absolute;right:0.4em;font-family:FontAwesome;content:'\f00d';text-indent:0}#cboxClose:hover{opacity:1}.cboxIE #cboxTopLeft,.cboxIE #cboxTopCenter,.cboxIE #cboxTopRight,.cboxIE #cboxBottomLeft,.cboxIE #cboxBottomCenter,.cboxIE #cboxBottomRight,.cboxIE #cboxMiddleLeft,.cboxIE #cboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF)}#notification{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;top:-1000px;width:100%;padding:0 15%;z-index:10000;transition:1s ease-in-out;background-image:-owg(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:-webkit(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:-moz(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:-o(linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%));background-image:linear-gradient(top, rgba(0,0,0,0.1) 0%, transparent 100%)}#notification .icon-times{position:absolute;right:0.8em;top:0.8em;color:#000;opacity:0.5}#notification .icon-times:hover{cursor:pointer;z-index:10001;opacity:0.8;text-decoration:none}#notification .box-background{position:relative;-webkit-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));-moz-box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));box-shadow:-compass-space-list(false,0.2em,0.2em,0.2em,rgba(0,0,0,0.2));-webkit-border-radius:0 0 1px 1px;-moz-border-radius:0 0 1px 1px;-ms-border-radius:0 0 1px 1px;-o-border-radius:0 0 1px 1px;border-radius:0 0 1px 1px}#notification [class*='msg']{padding-right:2.4em;-webkit-border-radius:0 0 1px 1px;-moz-border-radius:0 0 1px 1px;-ms-border-radius:0 0 1px 1px;-o-border-radius:0 0 1px 1px;border-radius:0 0 1px 1px}.side-black-panel{background:rgba(0,0,0,0.7);position:fixed;height:100%;width:100%;z-index:100;top:0;-webkit-transition:opacity false false,1s false false,linear false false;-moz-transition:opacity false false false,1s false false false,linear false false false;-o-transition:opacity false false false,1s false false false,linear false false false;transition:opacity 1s linear}.side-panel-default{position:fixed;z-index:1000;overflow-y:auto;top:0;height:100%;width:300px}.side-panel-default.side-panel-left{left:0;-webkit-box-shadow:inset -7px 0 9px -7px rgba(50,50,50,0.4);-moz-box-shadow:inset -7px 0 9px -7px rgba(50,50,50,0.4);box-shadow:inset -7px 0 9px -7px rgba(50,50,50,0.4)}.side-panel-default.side-panel-right{right:0;-webkit-box-shadow:inset 7px 0 9px -7px rgba(50,50,50,0.4);-moz-box-shadow:inset 7px 0 9px -7px rgba(50,50,50,0.4);box-shadow:inset 7px 0 9px -7px rgba(50,50,50,0.4)}.side-panel-tab{position:fixed;margin:0;z-index:100}.side-panel-tab-left{left:0}.side-panel-tab-right{right:0}.js-sortable{position:relative}.js-sortable ol,.js-sortable ul{min-height:0.4em;width:97%;margin-left:3%}.js-sortable>li{min-height:3.52em;vertical-align:middle;padding-top:0.4em;border-bottom:1px solid #d1d1d1;margin-bottom:0.4em}.js-sortable>li>ol,.js-sortable>li>ul{overflow:visible}.js-sortable ol>li,.js-sortable ul>li{position:relative;overflow:visible}.js-sortable ol>li:before,.js-sortable ul>li:before{content:"-- ";position:absolute;left:-0.8em;color:rgba(50,50,50,0.5);border-left:1px solid rgba(50,50,50,0.5);padding:0.4em 0;top:0}.js-sortable ol>li:last-of-type:before,.js-sortable ul>li:last-of-type:before{height:20%;overflow:hidden}.js-sortable li{display:block;cursor:pointer;z-index:500;padding:0.4em 0.8em;background:rgba(209,209,209,0.2);-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;margin-bottom:1px}.js-sortable .placeholder{position:relative;margin:0;padding:0;content:"(" attr(class) ")";border:0px none;background-color:#6cc;opacity:.1;min-height:2.4em;margin-bottom:2px;color:#323232}body.dragging,body.dragging *{cursor:move !important}.list .dragged{padding-left:1.6em}.dragged{position:absolute;display:block;top:0;opacity:.5;z-index:2000}.sortable-drop>li,.sortable-drop ol,.sortable-drop ul{position:relative;z-index:100}.doughnut-legend,.line-legend,.pie-legend,.bar-legend{display:block;overflow:hidden}.doughnut-legend li,.line-legend li,.pie-legend li,.bar-legend li{display:inline-block;margin:0.8em 1.6em 0.8em;font-size:0.9rem}.doughnut-legend span,.line-legend span,.pie-legend span,.bar-legend span{display:inline-block;width:0.9rem;height:0.9rem;vertical-align:middle;margin-right:0.4em;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px}.doughnut-legend,.pie-legend{text-align:center}.line-legend,.bar-legend{text-align:left}.charts-no-data{display:inline-block;text-shadow:1px,1px,5px,#FFF;-webkit-transform:rotate(-8deg);-moz-transform:rotate(-8deg);-ms-transform:rotate(-8deg);-o-transform:rotate(-8deg);transform:rotate(-8deg)}.charts-no-data i{position:absolute;font-size:8rem;opacity:0.1;margin-top:-2.5rem;left:50%;margin-left:-4.3rem}.dynatable-search{right:1.6em;position:absolute;margin:0.4em 0.8em;min-width:40%;text-align:right;z-index:50}.dynatable-search:after{font-family:'FontAwesome';position:absolute;top:0.4em;right:0.8em;content:""}.dynatable-search input{position:absolute;top:0;right:0;padding-top:0.4em !important;padding-bottom:0.4em !important;width:70%}.dynatable-per-page{padding:0.8em;display:block;position:absolute;z-index:50}.dynatable-record-count{display:none;padding:5px 0}.dynatable-active-page a{background:#FFF !important;color:#323232 !important}.dynatable-pagination{float:right}.dynatable-pagination li:first-child{display:none}.dynatable-disabled-page,.dynatable-disabled-page:hover{background:none;color:#999}.table-dynamic{outline:1px solid #f7f7f7;display:table}.table-dynamic thead{background:#f7f7f7;border-color:#f7f7f7;outline:#f7f7f7}.table-dynamic thead th{height:70px;vertical-align:bottom}.dynatable-arrow{color:rgba(50,50,50,0.5);font-size:0.85rem;text-decoration:none !important;margin-left:0.4em;float:left}.dynatable-arrow:hover{text-decoration:none !important}.table-mobile{width:100%}.st-head-row{padding:0.4em;background:rgba(222,222,222,0.5);color:#323232;font-weight:normal;font-family:Tahoma, Arial, Verdana, sans-serif;font-size:0.9rem;border-top:2px solid #323232}.st-head-row.st-head-row-main{display:none}.st-key{width:49%;text-align:right !important;padding-right:1%}.st-val{width:49%;padding-left:1%}.ms-ctn{padding-top:0.4em;padding-bottom:0.4em;position:relative;height:auto}.ms-ctn-readonly{cursor:pointer}.ms-ctn-disabled{cursor:not-allowed;background-color:#eeeeee}.ms-ctn-bootstrap-focus{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;border-bottom-left-radius:0;border-bottom-right-radius:0}.ms-ctn-bootstrap-focus .ms-res-ctn{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6) !important;border-bottom-left-radius:0;border-bottom-right-radius:0}.ms-ctn-focus{outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.ms-ctn input{border:0;box-shadow:none;-webkit-transition:none;outline:none;display:block;padding:0.2em 0;line-height:1.42857143;margin:1px 0;width:100%}.ms-ctn .ms-sel-ctn input{float:left;padding:0.2em 0;border:0px none;box-shadow:none;max-width:50%}.ms-ctn-disabled input{cursor:not-allowed;background-color:#eeeeee}.ms-ctn .ms-input-readonly{cursor:pointer}.ms-ctn .ms-empty-text{color:#DDD}.ms-ctn input:focus{border:0;box-shadow:none;-webkit-transition:none;background:#fff}.ms-ctn input::-ms-clear{width:0;height:0}.ms-ctn .ms-trigger{top:0;width:25px;height:100%;position:absolute;right:0;background:transparent;border-left:1px solid #d1d1d1;cursor:pointer}.ms-ctn .ms-trigger .ms-trigger-ico{position:absolute;width:0;height:0;vertical-align:top;border-top:4px solid rgba(50,50,50,0.5);border-right:4px solid transparent;border-left:4px solid transparent;content:'';margin-left:-4px;margin-top:-4px;left:50%;top:50%}.ms-ctn .ms-trigger:hover{cursor:pointer;background-color:rgba(59,103,136,0.2);color:#FFF}.ms-ctn .ms-trigger:hover .ms-trigger-ico{border-top-color:#FFF !important}.ms-ctn-disabled .ms-trigger{cursor:not-allowed;background-color:#eeeeee}.ms-ctn-bootstrap-focus{border-bottom:1px solid #CCC}.ms-res-ctn{width:100%;display:block;overflow-y:auto}.ms-res-ctn .ms-res-group{line-height:23px;text-align:left;padding:2px 5px;font-weight:bold;border-bottom:1px dotted #CCC;border-top:1px solid #CCC;background:#f3edff;color:#333}.ms-res-ctn .ms-res-item{line-height:25px;text-align:left;padding:2px 5px;color:#323232;cursor:pointer}.ms-res-ctn .ms-res-item-grouped{padding-left:15px}.ms-res-ctn .ms-res-odd{background:#f7f7f7}.ms-res-ctn .ms-res-item-active{background-color:rgba(59,103,136,0.2)}.ms-res-ctn .ms-res-item-disabled{color:#d1d1d1;cursor:default}.ms-sel-ctn{overflow:auto;line-height:18px;padding-right:25px}.ms-no-trigger .ms-sel-ctn{padding-right:0}.ms-sel-ctn .ms-sel-item{float:left;background:#f7f7f7;color:#323232;padding:0.8em 0.4em;border-radius:1px;margin:3px 0px 1px 0}.ms-sel-ctn .ms-sel-invalid{background:#FDF2F2 !important}.ms-ctn .ms-sel-item{float:left;background:#f7f7f7;color:#323232;padding:0.2em 0.4em;border-radius:1px;margin:1px 0.4em 1px 0}.ms-ctn .ms-sel-item:hover{cursor:default;background-color:rgba(59,103,136,0.2);color:#323232}.ms-sel-ctn .ms-sel-text{background:#fff;color:#666;padding-right:0;margin-left:0;font-size:14px;font-weight:normal}.ms-res-ctn .ms-res-item em{font-style:normal;background:#565656;color:#fff}.ms-sel-ctn .ms-sel-text:hover{background:#fff}.ms-sel-ctn .ms-sel-item-active{background:#757575}.ms-stacked .ms-sel-item{float:inherit}.ms-sel-ctn .ms-sel-item .ms-close-btn:after{cursor:pointer;float:right;margin:1px 0 0 0.4em;font-family:'FontAwesome';content:"";opacity:0.1}.ms-sel-ctn .ms-sel-item .ms-close-btn:hover:after{opacity:0.3}.ms-stacked .ms-sel-item .ms-close-btn{margin-left:0px}.ms-helper{color:#AAA;font-size:10px;position:absolute;top:-2.4em;right:0}.ms-ctn.input-lg .ms-trigger .ms-trigger-ico{margin-top:17px}.ms-ctn.input-sm .ms-trigger .ms-trigger-ico{margin-top:13px}.ms-ctn.input-lg .ms-sel-ctn .ms-sel-item{padding-top:2px;padding-bottom:3px}.ms-ctn.input-sm .ms-sel-ctn{line-height:15px}.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item{padding-top:1px;padding-bottom:1px;margin-top:0;margin-bottom:0}.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item .ms-close-btn{margin-top:4px}.ms-ctn .ms-sel-ctn{margin-left:-7px}.ms-ctn .ms-trigger:hover{width:24px;right:1px;border-radius:0 3px 3px 0}.ms-res-ctn.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.opentip-container,.opentip-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.opentip-container{position:absolute;max-width:300px;z-index:100;-webkit-transition:-webkit-transform 1s ease-in-out;-moz-transition:-moz-transform 1s ease-in-out;-o-transition:-o-transform 1s ease-in-out;-ms-transition:-ms-transform 1s ease-in-out;transition:transform 1s ease-in-out;pointer-events:none;-webkit-transform:translateX(0) translateY(0);-moz-transform:translateX(0) translateY(0);-o-transform:translateX(0) translateY(0);-ms-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0)}.opentip-container.ot-fixed.ot-hidden.stem-top.stem-center,.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-center,.opentip-container.ot-fixed.ot-hiding.stem-top.stem-center{-webkit-transform:translateY(-5px);-moz-transform:translateY(-5px);-o-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px)}.opentip-container.ot-fixed.ot-hidden.stem-top.stem-right,.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-right,.opentip-container.ot-fixed.ot-hiding.stem-top.stem-right{-webkit-transform:translateY(-5px) translateX(5px);-moz-transform:translateY(-5px) translateX(5px);-o-transform:translateY(-5px) translateX(5px);-ms-transform:translateY(-5px) translateX(5px);transform:translateY(-5px) translateX(5px)}.opentip-container.ot-fixed.ot-hidden.stem-middle.stem-right,.opentip-container.ot-fixed.ot-going-to-show.stem-middle.stem-right,.opentip-container.ot-fixed.ot-hiding.stem-middle.stem-right{-webkit-transform:translateX(5px);-moz-transform:translateX(5px);-o-transform:translateX(5px);-ms-transform:translateX(5px);transform:translateX(5px)}.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-right,.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-right,.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-right{-webkit-transform:translateY(5px) translateX(5px);-moz-transform:translateY(5px) translateX(5px);-o-transform:translateY(5px) translateX(5px);-ms-transform:translateY(5px) translateX(5px);transform:translateY(5px) translateX(5px)}.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-center,.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-center,.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-center{-webkit-transform:translateY(5px);-moz-transform:translateY(5px);-o-transform:translateY(5px);-ms-transform:translateY(5px);transform:translateY(5px)}.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-left,.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-left,.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-left{-webkit-transform:translateY(5px) translateX(-5px);-moz-transform:translateY(5px) translateX(-5px);-o-transform:translateY(5px) translateX(-5px);-ms-transform:translateY(5px) translateX(-5px);transform:translateY(5px) translateX(-5px)}.opentip-container.ot-fixed.ot-hidden.stem-middle.stem-left,.opentip-container.ot-fixed.ot-going-to-show.stem-middle.stem-left,.opentip-container.ot-fixed.ot-hiding.stem-middle.stem-left{-webkit-transform:translateX(-5px);-moz-transform:translateX(-5px);-o-transform:translateX(-5px);-ms-transform:translateX(-5px);transform:translateX(-5px)}.opentip-container.ot-fixed.ot-hidden.stem-top.stem-left,.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-left,.opentip-container.ot-fixed.ot-hiding.stem-top.stem-left{-webkit-transform:translateY(-5px) translateX(-5px);-moz-transform:translateY(-5px) translateX(-5px);-o-transform:translateY(-5px) translateX(-5px);-ms-transform:translateY(-5px) translateX(-5px);transform:translateY(-5px) translateX(-5px)}.opentip-container.ot-fixed .opentip{pointer-events:auto}.opentip-container.ot-hidden{display:none}.opentip-container .opentip{position:relative;font-size:13px;line-height:120%;padding:0.8em 1.6em;color:#323232;text-shadow:-1px -1px 0px rgba(255,255,255,0.2)}.opentip-container .opentip .header{margin:0;padding:0}.opentip-container .opentip .ot-close{pointer-events:auto;display:block;position:absolute;top:-12px;left:60px;color:rgba(0,0,0,0.5);background:transparent;text-decoration:none}.opentip-container .opentip .ot-close span{display:none}.opentip-container .opentip .ot-loading-indicator{display:none}.opentip-container.ot-loading .ot-loading-indicator{width:30px;height:30px;font-size:30px;line-height:30px;font-weight:bold;display:block}.opentip-container.ot-loading .ot-loading-indicator span{display:block;-webkit-animation:otloading 2s linear infinite;-moz-animation:otloading 2s linear infinite;-o-animation:otloading 2s linear infinite;-ms-animation:otloading 2s linear infinite;animation:otloading 2s linear infinite;text-align:center}.opentip-container.style-dark .opentip,.opentip-container.style-alert .opentip{color:#f7f7f7;text-shadow:1px 1px 0px rgba(0,0,0,0.2)}.opentip-container.style-glass .opentip{padding:15px 25px;color:#6cc;text-shadow:1px 1px 8px rgba(0,94,153,0.3)}.opentip-container.ot-hide-effect-fade{-webkit-transition:-webkit-transform 0.5s ease-in-out,opacity 1s ease-in-out;-moz-transition:-moz-transform 0.5s ease-in-out,opacity 1s ease-in-out;-o-transition:-o-transform 0.5s ease-in-out,opacity 1s ease-in-out;-ms-transition:-ms-transform 0.5s ease-in-out,opacity 1s ease-in-out;transition:transform 0.5s ease-in-out,opacity 1s ease-in-out;opacity:1;-ms-filter:none;filter:none}.opentip-container.ot-hide-effect-fade.ot-hiding{opacity:0;filter:alpha(opacity=0);-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'}.opentip-container.ot-show-effect-appear.ot-going-to-show,.opentip-container.ot-show-effect-appear.ot-showing{-webkit-transition:-webkit-transform 0.5s ease-in-out,opacity 1s ease-in-out;-moz-transition:-moz-transform 0.5s ease-in-out,opacity 1s ease-in-out;-o-transition:-o-transform 0.5s ease-in-out,opacity 1s ease-in-out;-ms-transition:-ms-transform 0.5s ease-in-out,opacity 1s ease-in-out;transition:transform 0.5s ease-in-out,opacity 1s ease-in-out}.opentip-container.ot-show-effect-appear.ot-going-to-show{opacity:0;filter:alpha(opacity=0);-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'}.opentip-container.ot-show-effect-appear.ot-showing{opacity:1;-ms-filter:none;filter:none}.opentip-container.ot-show-effect-appear.ot-visible{opacity:1;-ms-filter:none;filter:none}@-moz-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes otloading{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}.fc-wysiwyg{overflow:hidden;position:relative;padding-bottom:3.2em;min-height:100px;-webkit-transition:padding false false,0.4s ease-in false;-moz-transition:padding false false false,0.4s ease-in false false;-o-transition:padding false false false,0.4s ease-in false false;transition:padding,0.4s ease-in}.fc-wysiwyg:after{font-family:'fontawesome';content:'\f129';color:#3b6788;position:absolute;bottom:0.4em;left:0.8em;min-width:1.6em;-webkit-border-radius:200px;-moz-border-radius:200px;-ms-border-radius:200px;-o-border-radius:200px;border-radius:200px;text-align:center;background-color:rgba(255,255,255,0.7);opacity:0;-webkit-transition:opacity false false,0.4s ease-in false;-moz-transition:opacity false false false,0.4s ease-in false false;-o-transition:opacity false false false,0.4s ease-in false false;transition:opacity,0.4s ease-in}.fc-wysiwyg:before{content:attr(data-help);font-size:0.9rem;background:rgba(59,103,136,0.2);width:100%;padding:0.4em 0.8em 0.4em 3.2em;bottom:0;left:0;position:absolute;display:block;opacity:0;-webkit-transition:opacity false false,0.4s ease-in false;-moz-transition:opacity false false false,0.4s ease-in false false;-o-transition:opacity false false false,0.4s ease-in false false;transition:opacity,0.4s ease-in}.fc-wysiwyg:focus:before,.fc-wysiwyg:focus:after{opacity:1}.fc-wysiwyg:focus{background:#FFF}.fc-wysiwyg-switch-full-screen{display:block !important}.fc-wysiwyg-full-screen{position:fixed !important;border-top:3.2em solid #6cc !important;left:0;top:0;height:100% !important;width:100% !important;z-index:1000;overflow:auto !important}.fc-wysiwyg-switch{position:absolute;right:-0.4em;margin-top:-3.2em;font-size:0.85rem;z-index:1001;display:none}.fc-wysiwyg-switch-full-screen{position:fixed;top:0;margin-top:0 !important}.fc-wysiwyg-html{font-family:'Courier New', Courier, mono;font-size:0.9rem}.fc-wysiwyg-textarea{padding:0px !important;background:transparent;border:0px none !important;height:1px !important;min-height:1px !important}.fc-wysiwyg:focus{outline:none}.fc-wysiwyg fieldset{border:0}img{border:0}.fc-wysiwyg img:hover{cursor:pointer;opacity:0.9}.fc-wysiwyg{line-height:160%}.fc-wysiwyg blockquote{padding-left:1.6em;margin-left:-2.4em;border-left:0.8em solid #6cc}.fc-wysiwyg a{color:#3b6788}.fc-wysiwyg del{text-decoration:line-through}.fc-wysiwyg sub,.fc-wysiwyg sup{font-size:75%;position:relative;vertical-align:text-top \9}.fc-wysiwyg img{position:relative;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;border-radius:1px;-webkit-box-shadow:0px 0px 5px rgba(50,50,50,0.3);-moz-box-shadow:0px 0px 5px rgba(50,50,50,0.3);box-shadow:0px 0px 5px rgba(50,50,50,0.3)}.fc-wysiwyg img:hover{cursor:pointer;opacity:0.9}.fc-wysiwyg img.fotobonita{border:0.4em solid #FFF}:root .fc-wysiwyg sub,:root .fc-wysiwyg sup{vertical-align:baseline}.fc-wysiwyg sup{top:-0.5em}.fc-wysiwyg sub{bottom:-0.25em}.fc-wysiwyg hr{border:none;border-bottom:1px solid #f7f7f7;margin-bottom:1.6em;*color:pink;*filter:chroma(color=pink);height:10px;*margin:-7px 0 15px}.fc-wysiwyg small{font-size:0.8em;color:#9b9b9b}.fc-wysiwyg em,.fc-wysiwyg b,.fc-wysiwyg strong{font-weight:700}.fc-wysiwyg pre{white-space:pre-wrap;padding:0.85em;background:#f7f7f7}.fc-wysiwyg p,.fc-wysiwyg pre,.fc-wysiwyg ul,.fc-wysiwyg ol,.fc-wysiwyg dl,.fc-wysiwyg form,.fc-wysiwyg table,.fc-wysiwyg blockquote{margin-bottom:16px}.fc-wysiwyg h1,.fc-wysiwyg h2,.fc-wysiwyg h3,.fc-wysiwyg h4,.fc-wysiwyg h5,.fc-wysiwyg h6{margin-bottom:16px;font-weight:700;line-height:1.2}.fc-wysiwyg h1{font-size:2em}.fc-wysiwyg h2{font-size:1.8em}.fc-wysiwyg h3{font-size:1.6em}.fc-wysiwyg h4{font-size:1.4em}.fc-wysiwyg h5,.fc-wysiwyg h6{font-size:1.2em}.fc-wysiwyg ul{margin-left:0 !important}.fc-wysiwyg ul li{list-style:disc inside !important;padding-left:1.6em !important}.fc-wysiwyg ol{list-style:decimal inside !important;margin-left:0 !important}.fc-wysiwyg ol li{list-style:decimal inside !important;display:inline !important;padding-left:1.6em !important}.pen-ul{list-style:disc}.pen ol,.pen-ol{list-style:decimal}.pen li ul,.pen li ol{margin:0 2em 0 1.2em}.pen-ul ul,.pen-ul ol{margin:0 2em 0 1.2em}.pen-ol ul,.pen-ol ol{margin:0 2em 0 1.2em}.pen li ul,.pen-ul ul,.pen-ol ul{list-style:circle}.pen-menu,.pen-input{font-size:14px;line-height:1}.pen-menu{white-space:nowrap;box-shadow:1px 2px 3px -2px #323232;background:#323232;background-image:linear-gradient(to bottom, #323232, #4c4c4c);opacity:0.9;position:fixed;height:36px;border:1px solid #323232;border-radius:3px;display:none;z-index:1000}.pen-menu:after{top:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(51,51,51,0);border-top-color:#323232;border-width:6px;left:50%;margin-left:-6px}.pen-icon{font:normal 900 16px/20px Georgia serif;min-width:20px;display:inline-block;padding:8px 10px;overflow:hidden;color:#FFF;text-align:center;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.pen-icon:first-of-type{border-top-left-radius:3px;border-bottom-left-radius:3px}.pen-icon:last-of-type{border-top-right-radius:3px;border-bottom-right-radius:3px}.pen-icon:hover{background:#323232}.pen-icon.active{color:#1abf89;background:#323232;box-shadow:inset 2px 2px 4px #323232}.pen-input{position:absolute;width:100%;left:0;top:0;height:36px;line-height:20px;background:#333;color:#fff;border:none;text-align:center;display:none;font-family:arial, sans-serif}.pen-input:focus{outline:none}.pen-textarea{display:block;background:#f8f8f8;padding:20px}.fc-wysiwyg textarea{font-size:14px;border:none;background:none;width:100%;_height:200px;min-height:200px;resize:none}.pen-menu-full-screen{z-index:1001 !important}.pen-menu [class^='icon-']:before,.pen-menu [class*=' icon-']:before{font-family:'fontawesome';font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em}.pen-menu .icon-h2,.pen-menu .icon-h3,.pen-menu .icon-p{line-height:100%}.pen-menu .icon-location:before{content:""}.pen-menu .icon-fit:before{content:'\e80f'}.pen-menu .icon-bold:before{content:""}.pen-menu .icon-italic:before{content:""}.pen-menu .icon-justifyleft:before{content:""}.pen-menu .icon-justifycenter:before{content:""}.pen-menu .icon-justifyright:before{content:""}.pen-menu .icon-justifyfull:before{content:""}.pen-menu .icon-outdent:before{content:""}.pen-menu .icon-indent:before{content:""}.pen-menu .icon-mode:before{content:'\e813'}.pen-menu .icon-fullscreen:before{content:""}.pen-menu .icon-insertunorderedlist:before{content:""}.pen-menu .icon-insertorderedlist:before{content:""}.pen-menu .icon-strikethrough:before{content:""}.pen-menu .icon-underline:before{content:""}.pen-menu .icon-blockquote:before{content:""}.pen-menu .icon-undo:before{content:""}.pen-menu .icon-pre:before{content:'\e816'}.pen-menu .icon-unlink:before{content:""}.pen-menu .icon-superscript:before{content:'\e808'}.pen-menu .icon-subscript:before{content:'\e809'}.pen-menu .icon-inserthorizontalrule:before{content:'\e818'}.pen-menu .icon-pin:before{content:'\e812'}.pen-menu .icon-createlink:before{content:""}.pen{position:relative}.pen.hinted h1:before,.pen.hinted h2:before,.pen.hinted h3:before,.pen.hinted h4:before,.pen.hinted h5:before,.pen.hinted h6:before,.pen.hinted blockquote:before,.pen.hinted hr:before{color:#eee;position:absolute;right:100%;white-space:nowrap;padding-right:10px}.pen.hinted blockquote{border-left:0;margin-left:0;padding-left:0}.pen.hinted blockquote:before{color:#1abf89;content:'>';font-weight:bold;vertical-align:center}.pen.hinted h1:before{content:'#'}.pen.hinted h2:before{content:'##'}.pen.hinted h3:before{content:'###'}.pen.hinted h4:before{content:'####'}.pen.hinted h5:before{content:'#####'}.pen.hinted h6:before{content:'######'}.pen.hinted hr:before{content:'---';line-height:1.2;vertical-align:bottom}.pen.hinted pre:before,.pen.hinted pre:after{content:'```';display:block;color:#ccc}.pen.hinted ul{list-style:none}.pen.hinted ul li:before{content:'*';color:#999;line-height:1;vertical-align:bottom;margin-left:-1.2em;display:inline-block;width:1.2em}.pen.hinted b:before,.pen.hinted b:after{content:'**';color:#eee;font-weight:normal}.pen.hinted i:before,.pen.hinted i:after{content:'*';color:#eee}.pen.hinted a{text-decoration:none}.pen.hinted a:before{content:'[';color:#ddd}.pen.hinted a:after{content:"(" attr(href) ")";color:#ddd}.magnifier-thumb-wrapper{position:relative;display:inline-block;top:0;left:0}.magnifier-lens{position:absolute;border:solid 1px #f7f7f7;z-index:1000;top:0;left:0;overflow:hidden}.magnifier-loader{position:absolute;top:0;left:0;border:solid 1px #f7f7f7;color:#fff;text-align:center;background:transparent;background:rgba(50,50,50,0.5);z-index:1000;-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F323232,endColorstr=#7F323232)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F323232, endColorstr=#7F323232)}.magnifier-loader-text{font:13px Arial;margin-top:10px}.magnifier-large{position:absolute;z-index:100}.magnifier-preview{padding:0;position:absolute;top:0;left:0;overflow:hidden;box-shadow:1px 1px 10px rgba(50,50,50,0.5)}.magnifier-preview img{position:absolute;top:0;left:0;max-width:inherit;height:inherit}.opaque{opacity:.5;filter:alpha(opacity=50);-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)}.hidden{display:none}.darkroom-container{position:relative}.darkroom-image-container{top:0;left:0}.darkroom-image-container img{display:none}.darkroom-button{display:inline-block;background:transparent;color:#FFF;font-weight:300;border:none;font-size:20px;outline:none;padding:0;height:40px;width:40px;box-sizing:border-box}.darkroom-button.darkroom-button-active{color:#33b5e5}.darkroom-button.darkroom-button-hidden{display:none}.darkroom-button:disabled{color:rgba(255,255,255,0.1)}.darkroom-button:disabled:hover{cursor:default;background:transparent}.darkroom-button.darkroom-button-success{color:#8eac5b}.darkroom-button.darkroom-button-warning{color:#df8426}.darkroom-button.darkroom-button-danger{color:#a31f24}.darkroom-button:hover{cursor:pointer;background:rgba(50,50,50,0.2)}.darkroom-button:active{cursor:pointer;background:#333}.darkroom-toolbar{position:absolute;top:-45px;left:0;background:#323232;height:40px;display:block;z-index:99;border-radius:2px;white-space:nowrap}.darkroom-toolbar:before{content:"";position:absolute;bottom:-7px;left:20px;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #323232}ul.darkroom-toolbar-actions{list-style:none;padding:0 5px;margin:0}.darkroom-toolbar-actions li{display:inline-block;padding:0;margin:0}ul.darkroom-toolbar-actions li.darkroom-button-group{border-right:1px solid rgba(255,255,255,0.3)}ul.darkroom-toolbar-actions li.darkroom-button-group:last-child{border-right:none}[class^='darkroom-icon']{font-style:normal}[class^='darkroom-icon']:before{font-family:"fontawesome"}.darkroom-icon-back:before{content:""}.darkroom-icon-forward:before{content:""}.darkroom-icon-rotate-left:before{content:""}.darkroom-icon-rotate-right:before{content:""}.darkroom-icon-crop:before{content:""}.darkroom-icon-accept:before{content:""}.darkroom-icon-cancel:before{content:""}.darkroom-icon-save:before{content:""}
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/on-off-table.js b/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/on-off-table.js
index c4b4af9f..e3e1e462 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/on-off-table.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/on-off-table.js
@@ -1,24 +1,60 @@
FrontendCore.define('on-off-table', ['devicePackage' ], function () {
return {
+ oMasterLanguage : '',
+ oMasterCurrency : '',
+ setMasterLanguage: function() {
+ this.oMasterLanguage = $('[name=language-master]:checked')[0];
+ },
+ setMasterCurrency: function() {
+ this.oMasterCurrency = $('[name=currency-master]:checked')[0];
+ },
onStart: function () {
- setTimeout( function() {
+ FrontendCore.requireAndStart('notification');
- $('#table-loading').fadeOut('fast', function() {
- $('#current-table').fadeIn();
- });
+ var self = this;
+
+ self.setMasterLanguage();
+ self.setMasterCurrency();
+
+ $('.switch input').each( function(){
- $('.switch input').change( function() {
+ var oTarget = this;
- var sUrl = this.checked === true ? document.getElementById('enable-' + this.id).value : document.getElementById('disable-' + this.id).value ;
+ $(oTarget).change( function() {
+
+ var oInput = this,
+ sValue = oInput.checked,
+ sUrl = this.checked === true ? document.getElementById('enable-' + this.id).value : document.getElementById('disable-' + this.id).value;
$.ajax({
- url: sUrl,
- type: 'post'
+ url: sUrl,
+ type: 'post'
+ }).done( function() {
+ self.setMasterLanguage();
+ self.setMasterCurrency();
+ }).fail( function( response ) {
+
+ if ( sValue === true ) {
+ oInput.checked = false;
+ } else {
+ oInput.checked = true;
+ }
+
+ if ( oInput.name === 'language-master' ) {
+ self.oMasterLanguage.checked = true;
+ }
+
+ if ( oInput.name === 'currency-master' ) {
+ self.oMasterCurrency.checked = true;
+ }
+
+ var sMessage = response.responseJSON.message !== undefined ? response.responseJSON.message : 'Sorry, something was wrong.';
+ FrontendMediator.publish( 'notification', { type : 'ko', message: sMessage } );
+
});
});
-
- } , 1500);
+ });
}
};
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/modal-content.js b/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/window-content.js
similarity index 92%
rename from src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/modal-content.js
rename to src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/window-content.js
index d09168cd..1bf00178 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/modal-content.js
+++ b/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/window-content.js
@@ -1,13 +1,13 @@
-FrontendCore.define('modal-content', ['devicePackage','modal' ], function () {
+FrontendCore.define('window-content', ['devicePackage','modal' ], function () {
return {
oModal: TinyCore.Module.instantiate( 'modal' ),
mediator : FrontendMediator,
onStart: function () {
- var aTargets = FrontendTools.getDataModules('modal-content'),
+ var aTargets = FrontendTools.getDataModules('window-content'),
self = this;
- FrontendTools.trackEvent('JS_Libraries', 'call', 'modal-content');
+ FrontendTools.trackEvent('JS_Libraries', 'call', 'window-content');
$(aTargets).each(function () {
self.autobind(this);
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.ca.yml b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.ca.yml
index a31a7e9e..333efe29 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.ca.yml
+++ b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.ca.yml
@@ -417,6 +417,13 @@ admin:
iso: ISO
name: Nom
status: Activa
+ saved:
+ enabled: "S'ha habilitat la divisa"
+ disabled: "S'ha deshabilitat la divisa"
+ master: "S'ha guardat la divisa principal"
+ error:
+ setting_disabled_master_currency: No es pot guardar com a principal una divisa desactivada
+ disable_master_currency: No pots desactivar la divisa principal
image:
single: Imatge
@@ -436,6 +443,13 @@ admin:
iso: ISO
master: Idioma principal
status: Actiu
+ saved:
+ enabled: "S'ha habilitat l'idioma"
+ disabled: "S'ha deshabilitat l'idioma"
+ master: "S'ha guardat l'idioma principal"
+ error:
+ setting_disabled_master_language: No es pot guardar com a principal un idioma desactivat
+ disable_master_language: "No pots desactivar l'idioma principal"
media:
single: Imatge
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml
index 21eda3c6..d61244a1 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml
+++ b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml
@@ -414,8 +414,16 @@ admin:
field:
symbol: Symbol
iso: ISO
+ master: Master currency
name: Name
status: Enabled
+ saved:
+ enabled: This currency has been enabled
+ disabled: This currancy has been disabled
+ master: Main currency saved
+ error:
+ setting_disabled_master_currency: "You can't set a disabled currency as master"
+ disable_master_currency: You can not disable your master currency
image:
single: Image
@@ -435,6 +443,13 @@ admin:
iso: ISO
master: Master language
status: Enabled
+ saved:
+ enabled: This language has been enabled
+ disabled: This language has been disabled
+ master: Main language saved
+ error:
+ setting_disabled_master_language: "You can't set a disabled language as master"
+ disable_master_language: You can not disable your master language
media:
single: Media
@@ -601,7 +616,7 @@ admin:
error:
no_category: Warning! This product has no associated category
no_manufacturer: Warning! This product has no associated manufacturer
- price_negative: Warning! The price cannot be negative
+ price_negative: Warning! The price can not be negative
tag:
in_home: Home
has_variants: Has variants
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.es.yml b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.es.yml
index 4464d238..b1ab85ab 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.es.yml
+++ b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.es.yml
@@ -417,6 +417,13 @@ admin:
iso: ISO
name: Nombre
status: Activo
+ saved:
+ enabled: La divisa ha sido habilitada
+ disabled: La divisa ha sido deshabilitada
+ master: Se ha guardado la divisa principal
+ error:
+ setting_disabled_master_currency: No se puede guardar como principal una divisa desactivada
+ disable_master_currency: No puedes desactivar tu divisa principal
image:
single: Imagen
@@ -436,6 +443,13 @@ admin:
iso: ISO
master: Idioma principal
status: Activo
+ saved:
+ enabled: El idioma ha sido habilitado
+ disabled: El idioma ha sido deshabilitado
+ master: Se ha guardado el idioma principal
+ error:
+ setting_disabled_master_language: No se puede guardar como principal un idioma desactivado
+ disable_master_language: No puedes desactivar tu idioma principal
media:
single: Imagen
diff --git a/src/Elcodi/Admin/CoreBundle/Resources/views/Forms/fields.html.twig b/src/Elcodi/Admin/CoreBundle/Resources/views/Forms/fields.html.twig
index ba496a01..f74d01ce 100644
--- a/src/Elcodi/Admin/CoreBundle/Resources/views/Forms/fields.html.twig
+++ b/src/Elcodi/Admin/CoreBundle/Resources/views/Forms/fields.html.twig
@@ -5,6 +5,7 @@
{% set attr = attr|merge({ class: 'form' }) %}
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
'|e }} {% endif %}{{ language|capitalize }}">
@@ -105,7 +105,7 @@
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
-
1 %}data-fc-modules="tabs" class="tabs-box" {% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading" {% endif %}>
{% for language in elcodi_languages %}
diff --git a/src/Elcodi/Admin/PageBundle/Resources/views/Page/editComponent.html.twig b/src/Elcodi/Admin/PageBundle/Resources/views/Page/editComponent.html.twig
index ab4b9e04..f7a7e12e 100644
--- a/src/Elcodi/Admin/PageBundle/Resources/views/Page/editComponent.html.twig
+++ b/src/Elcodi/Admin/PageBundle/Resources/views/Page/editComponent.html.twig
@@ -30,7 +30,7 @@
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
'|e }} {% endif %}{{ language|capitalize }}">
@@ -98,7 +98,7 @@
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
-
1 %}data-fc-modules="tabs" class="tabs-box" {% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading" {% endif %}>
{% for language in elcodi_languages %}
'|e }} {% endif %}{{ language|capitalize }}">
@@ -119,7 +119,7 @@
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
-
1 %}data-fc-modules="tabs" class="tabs-box" {% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading" {% endif %}>
{% for language in elcodi_languages %}
'|e }} {% endif %}{{ language|capitalize }}">
@@ -112,7 +112,7 @@
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
-
1 %}data-fc-modules="tabs" class="tabs-box" {% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading" {% endif %}>
{% for language in elcodi_languages %}
'|e }} {% endif %}{{ language|capitalize }}">
-
1 %}data-fc-modules="tabs" class="tabs-box"{% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading"{% endif %}>
{% for language in elcodi_languages %}
-
1 %}data-fc-modules="tabs" class="tabs-box" {% endif %}>
+
1 %}data-fc-modules="tabs" class="tabs-box loading" {% endif %}>
{% for language in elcodi_languages %}
'|e }} {% endif %}{{ language|capitalize }}">
diff --git a/src/Elcodi/Admin/UserBundle/Resources/views/Password/recover.html.twig b/src/Elcodi/Admin/UserBundle/Resources/views/Password/recover.html.twig
index 1700360c..b92331c7 100644
--- a/src/Elcodi/Admin/UserBundle/Resources/views/Password/recover.html.twig
+++ b/src/Elcodi/Admin/UserBundle/Resources/views/Password/recover.html.twig
@@ -1,8 +1,8 @@
{% extends 'AdminCoreBundle::layouts/center_box.html.twig' %}
+{% block center_height "450" %}
{% block content %}
-
{{ form_start(form, {
attr: {
class: 'form-horizontal',
diff --git a/src/Elcodi/Admin/UserBundle/Resources/views/Password/remember.html.twig b/src/Elcodi/Admin/UserBundle/Resources/views/Password/remember.html.twig
index c24b64aa..79e47e91 100644
--- a/src/Elcodi/Admin/UserBundle/Resources/views/Password/remember.html.twig
+++ b/src/Elcodi/Admin/UserBundle/Resources/views/Password/remember.html.twig
@@ -1,5 +1,6 @@
{% extends 'AdminCoreBundle::layouts/center_box.html.twig' %}
+{% block center_height "350" %}
{% block content %}
diff --git a/src/Elcodi/Admin/UserBundle/Resources/views/Password/sent.html.twig b/src/Elcodi/Admin/UserBundle/Resources/views/Password/sent.html.twig
index bf3ea248..eb870ddd 100644
--- a/src/Elcodi/Admin/UserBundle/Resources/views/Password/sent.html.twig
+++ b/src/Elcodi/Admin/UserBundle/Resources/views/Password/sent.html.twig
@@ -1,6 +1,8 @@
{% extends 'AdminCoreBundle::layouts/center_box.html.twig' %}
+{% block center_height "150" %}
+
{% block container %}