1var ud_text = "<dl class=\"textsize_change\">\n<dt>æåãµã¤ãº</dt>\n<dd class=\"smaller\"><a href=\"#\">å°</a></dd>\n<dd class=\"default\"><a href=\"#\">ä¸</a></dd>\n<dd class=\"larger\"><a href=\"#\">大</a></dd>\n</dl>";� 2if($('html').attr('lang') === 'en'){� 3var ud_text = "<dl class=\"textsize_change\">\n<dt>Change Textsize</dt>\n<dd class=\"smaller\"><a href=\"#\">A</a></dd>\n<dd class=\"default\"><a href=\"#\">A</a></dd>\n<dd class=\"larger\"><a href=\"#\">A</a></dd>\n</dl>";� 4}� 5if($('html').attr('lang') === 'zh'){� 6var ud_text = "<dl class=\"textsize_change\">\n<dt>åä½å¤§å°çåæ´</dt>\n<dd class=\"smaller\"><a href=\"#\">å°</a></dd>\n<dd class=\"default\"><a href=\"#\">ä¸</a></dd>\n<dd class=\"larger\"><a href=\"#\">大</a></dd>\n</dl>";� 7}� 8var txtresizer = {target: "#main",type:"fontSize",sizes: [ "0.8em", "1em", "1.2em" ],selectedIndex: 1};� 9var scrollSpeed = 800;� 10$(function(){� 11 /* UD */� 12 $("#UD").append(ud_text);� 13 $(".textsize_change a").textresizer(txtresizer); $('body').find('.color_change a').click(function(){var url = $(this).attr('href');$('link[title="change"]').attr({href: url});$.cookie('style', url,{expires:7,path:'/'});return false;}).end();if($.cookie('style')) $('link[title="change"]').attr({href: $.cookie('style')});� 14� 15 /* menuopen */� 16 $("#menuopen").click(function(){$("#menu").animate({width: 'toggle'});$(".menu_button>a").toggleClass("active");});� 17� 18 /* backtop */� 19 $("#back-top").hide();$(window).scroll(function(){if ($(this).scrollTop() > 100){$('#back-top').fadeIn();}else{$('#back-top').fadeOut();}});$('#back-top a').click(function(){$('body,html').animate({scrollTop: 0}, scrollSpeed, 'swing');return false;});� 20});� 21� 22/*! jQuery Cookie Plugin v1.4.1 https://github.com/carhartl/jquery-cookie Copyright 2006, 2014 Klaus Hartl Released under the MIT license */� 23(function (factory) {if (typeof define === 'function' && define.amd) {define(['jquery'], factory);} else if (typeof exports === 'object') {module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function ($) {var pluses = /\+/g;function encode(s) {return config.raw ? s : encodeURIComponent(s);}function decode(s) {return config.raw ? s : decodeURIComponent(s);}function stringifyCookieValue(value) {return encode(config.json ? JSON.stringify(value) : String(value));}function parseCookieValue(s) {if (s.indexOf('"') === 0) {s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');}try {s = decodeURIComponent(s.replace(pluses, ' '));return config.json ? JSON.parse(s) : s;} catch(e) {}}function read(s, converter) {var value = config.raw ? s : parseCookieValue(s);return $.isFunction(converter) ? converter(value) : value;}var config = $.cookie = function (key, value, options) {if (arguments.length > 1 && !$.isFunction(value)) {options = $.extend({}, config.defaults, options);if (typeof options.expires === 'number') {var days = options.expires, t = options.expires = new Date();t.setMilliseconds(t.getMilliseconds() + days * 864e+5);}return (document.cookie = [encode(key), '=', stringifyCookieValue(value),options.expires ? '; expires=' + options.expires.toUTCString() : '', options.path ? '; path=' + options.path : '',options.domain ? '; domain=' + options.domain : '',options.secure ? '; secure' : ''].join(''));}var result = key ? undefined : {},cookies = document.cookie ? document.cookie.split('; ') : [],i = 0,l = cookies.length;for (; i < l; i++) {var parts = cookies[i].split('='),name = decode(parts.shift()),cookie = parts.join('=');if (key === name) {result = read(cookie, value);break;}if (!key && (cookie = read(cookie)) !== undefined) {result[name] = cookie;}}return result;};config.defaults = {};$.removeCookie = function (key, options) {$.cookie(key, '', $.extend({}, options, { expires: -1 }));return !$.cookie(key);};}));� 24� 25/* jQuery Text Resizer Plugin v1.1.0 Copyright (c) 2009-2013 Mario J Vargas See the file MIT-LICENSE.txt for copying permission. Website: http://angstrey.com/ Documentation: http://angstrey.com/index.php/projects/jquery-text-resizer-plugin/ */� 26(function(e){"use strict";var t,n,r;r=function(e){return"object"==typeof window.JSON&&"function"==typeof window.JSON.stringify?JSON.stringify(e):e},n=function(e){window.console&&"function"==typeof window.console.log&&setTimeout(function(){var t,n=[],i;if("string"==typeof e)n.push("jquery.textresizer => "+e);else{n.push("jquery.textresizer => {");for(t in e)e.hasOwnProperty(t)&&(i=[" ",t,": ",r(e[t])].join(""),n.push(i));n.push("}")}console.log(n.join("\n"))},0)},t=function(e,n){this.$elements=e,this.settings=n||t.defaults}
26,t.defaults={debugMode:!1,type:"fontSize",target:"body",selectedIndex:-1,suppressClickThrough:!0},t.prototype.buildDefaultFontSizes=function(e){if(0===e)return;var t=8,r=[],i,s;this.settings.debugMode&&n("In buildDefaultFontSizes: numElms = "+e);if(this.settings.debugMode)for(i=0;i<e;i+=1)s=(t+i*2)/10,r.push(s+"em"),n("In buildDefaultFontSizes: mySizes["+i+"] = "+r[i]);else for(i=0;i<e;i+=1)s=(t+i*2)/10,r.push(s+"em");return r},t.prototype.serializeHash=function(t){return e.param(t).replace(/\+/g,"%20")},t.prototype.deserializeHash=function(e){var t,n,r,i={},s=/\&|\|/g,o=e.split(s);for(t=0,n=o.length;t<n;t+=1)r=o[t].split("="),i[r[0]]=window.decodeURIComponent(r[1]);return i},t.prototype.buildCookieID=function(e,t,n){return"JQUERY.TEXTRESIZER["+e+","+t+"]."+n},t.prototype.getCookie=function(t,n,r){var i=this.buildCookieID(t,n,r),s=e.cookie(i);return e.cookie(i+".valueType")==="dict"&&s?this.deserializeHash(s):s},t.prototype.setCookie=function(t,r,i,s){var o=this.buildCookieID(t,r,i),u={expires:365,path:"/"},a;"object"==typeof s?(e.cookie(o+".valueType","dict",u),a=this.serializeHash(s),e.cookie(o,a,u),this.settings.debugMode&&n("In setCookie: Cookie: "+o+": "+a)):(e.cookie(o,s,u),this.settings.debugMode&&n("In setCookie: Cookie (not hash): "+o+": "+s))},t.prototype.applyInlineCssProperties=function(e,t){e.css(t)},t.prototype.applyCssClass=function(t,n,r){e.each(r,function(){var n=this.toString();t.each(function(){var t=e(this);t.hasClass(n)&&t.removeClass(n)})}),t.addClass(n)},t.prototype.applySpecificFontSize=function(e,t){e.css("font-size",t)},t.prototype.applyFontSize=function(t){this.settings.debugMode&&n(["In applyFontSize(): target: ",this.settings.target," | ","newSize: ",r(t)," | ","type: ",this.settings.type].join(""));var i=e(this.settings.target);switch(this.settings.type){case"css":this.applyInlineCssProperties(i,t);break;case"cssClass":this.applyCssClass(i,t,this.settings.sizes);break;default:this.applySpecificFontSize(i,t)}},t.prototype.loadPreviousState=function(){var t=this.settings,r,i,s;e.cookie?(t.debugMode&&n("In loadPreviousState(): jquery.cookie: INSTALLED"),r=this.getCookie(t.selector,t.target,"selectedIndex"),i=parseInt(r,10),s=this.getCookie(t.selector,t.target,"size"),isNaN(i)||(t.selectedIndex=i),t.debugMode&&(n("In loadPreviousState: selectedIndex: "+i+"; type: "+typeof i),n("In loadPreviousState: prevSize: "+s+"; type: "+typeof s)),s&&this.applyFontSize(s)):t.debugMode&&n("In loadPreviousState(): jquery.cookie: NOT INSTALLED")},t.prototype.markActive=function(t){e(this.settings.selector).removeClass("textresizer-active"),e(t).addClass("textresizer-active")},t.prototype.saveState=function(t){if(e.cookie){var r=this.settings.selector,i=this.settings.target,s=this.settings.selectedIndex;this.settings.debugMode&&n("In saveState(): jquery.cookie: INSTALLED"),this.setCookie(r,i,"size",t),this.setCookie(r,i,"selectedIndex",s)}else this.settings.debugMode&&n("In saveState(): jquery.cookie: NOT INSTALLED")},t.prototype.attachResizerToElement=function(t,n){var r=this,i=r.settings,s=e(t),o=i.sizes[n];n===i.selectedIndex&&s.addClass("textresizer-active"),s.on("click",{index:n},function(e){var t=this;i.suppressClickThrough&&e.preventDefault(),i.selectedIndex=e.data.index,r.applyFontSize(o),r.saveState(o),r.markActive(t)})},t.prototype.init=function(){var r=this.$elements.size(),i=t.defaults.debugMode;i&&n("init() => selection count: "+r);if(0===r)return;this.settings=e.extend({selector:this.$elements.selector,sizes:this.buildDefaultFontSizes(r)},e.fn.textresizer.defaults,this.settings),i=this.settings.debugMode,i&&n(this.settings);if(r>this.settings.sizes.length){i&&n("ERROR: Number of defined sizes incompatible with number of buttons => elements: "+r+"; defined sizes: "+this.settings.sizes.length+"; target: "+this.settings.target);return}return this.loadPreviousState(),this},e.fn.textresizer=function(e){var n=(new t(this,e)).init();return this.each(function(e){n.attachResizerToElement(this,e)})},e.fn.textresizer.defaults=t.defaults})(window.jQuery);�
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.