!function(o){"use strict";o(document).ready(function(){o(document).on("click",".demo .settings",function(c){c.preventDefault(),"left: 0px;"===o(this).parent().attr("style")?o(this).parent().animate({left:"-200px"}):o(this).parent().animate({left:"0"})}),o.cookie("color")&&o("#color").attr("href","css/colors/"+o.cookie("color")),o(document).on("click",".demo .color",function(c){c.preventDefault(),o.cookie("color",o(this).data("color"),{expires:7,path:"/"}),o("#color").attr("href","css/colors/"+o(this).data("color"))}),o.cookie("box")&&o("html").addClass(o.cookie("box")),o(document).on("click",".demo .boxed",function(c){c.preventDefault(),o.cookie("box",o(this).data("box"),{expires:7,path:"/"}),o("html").removeAttr("class").addClass(o(this).data("box")),window.location.href="index.html"}),o.cookie("background")&&o.cookie("box")&&o("body").css({"background-image":"url(Theme/img/bg/"+o.cookie("background")+")"}),o(document).on("click",".demo .background",function(c){c.preventDefault(),o.cookie("box")&&(o.cookie("background",o(this).data("background"),{expires:7,path:"/"}),o("body").css({"background-image":"url(Theme/img/bg/"+o(this).data("background")+")"}))}),o(document).on("click",".demo .reset",function(c){c.preventDefault(),o("#color").attr("href","css/colors/yellow.css"),o("html").removeClass("boxed"),o("body").removeAttr("style"),o.removeCookie("color",{path:"/"}),o.removeCookie("box",{path:"/"}),o.removeCookie("background",{path:"/"})});o("body").append('<div class="demo"><a href="#" class="settings"><i class="fa fa-cog fa-spin"></i></a><h5>SELECT A COLOR</h5><a href="#" class="color" data-color="yellow.css" style="background-color:#ffb100"></a><a href="#" class="color" data-color="green2.css" style="background-color:#52bf00"></a><a href="#" class="color" data-color="red.css" style="background-color:#d81300"></a><a href="#" class="color" data-color="blue.css" style="background-color:#425cbb"></a><a href="#" class="color" data-color="Purple.css" style="background-color:#BF55EC"></a><a href="#" class="color" data-color="turquoise.css" style="background-color:#00b4d9"></a><a href="#" class="color" data-color="green.css" style="background-color:#029A83"></a><a href="#" class="color" data-color="pink.css" style="background-color:#f62459"></a><a href="#" class="color" data-color="orange.css" style="background-color:#ff5a14"></a><a href="#" class="color" data-color="grey.css" style="background-color:#ABB7B7"></a><hr /><a href="#" class="reset btn btn-sm btn-info p-l-30 p-r-30">Reset</a></div>')})}(jQuery);